:root {
  --bg: #07111f;
  --bg-soft: #f3f6fb;
  --bg-card: #ffffff;
  --text: #101828;
  --muted: #667085;
  --line: #d9e2ec;
  --accent: #0f766e;
  --accent-dark: #0b5f59;
  --accent-soft: #dff7f2;
  --dark-card: rgba(255, 255, 255, 0.06);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --hot: #cf173d;
  --hot-dark: #aa1132;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg-soft);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 17, 31, 0.9);
  color: #fff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 0;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-logo {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  min-width: 28px !important;
  max-height: 28px !important;
  min-height: 28px !important;
  flex: 0 0 28px;
  object-fit: contain;
  filter: brightness(1.9);
  mix-blend-mode: screen;
  background: transparent !important;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: #d2dae6;
}

.nav a:hover,
.cta-phone:hover {
  color: #fff;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  flex-wrap: nowrap;
}

.topbar-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 19px;
  font-weight: 800;
  white-space: nowrap;
}

.cta-phone {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(16, 185, 129, 0.18), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0f2235 55%, #0f766e 140%);
  color: #fff;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 72px 0 56px;
}

.hero-inner-compact {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.7fr);
  padding: 56px 0 40px;
}

.hero-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(32px, 5.2vw, 54px);
  line-height: 1.04;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #d8e3ef;
  font-size: 13px;
  font-weight: 700;
}

.eyebrow-dark {
  color: var(--accent-dark);
  border-color: rgba(15, 118, 110, 0.16);
  background: var(--accent-soft);
}

.lead {
  margin: 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.55;
  color: #e4ebf3;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.button-primary {
  background: #fff;
  color: var(--bg);
}

.button-hero-primary {
  background: #01696f;
  color: #fff;
  padding: 16px 32px;
  box-shadow: 0 16px 36px rgba(1, 105, 111, 0.32);
}

.button-hot {
  background: #01696f;
  color: #fff;
  box-shadow: 0 16px 36px rgba(1, 105, 111, 0.32);
}

.button-hot:hover {
  background: #01595e;
}

.button-hero-secondary {
  min-height: 48px;
  padding: 12px 22px;
  background: transparent;
  color: #eef4f8;
  border-color: rgba(255, 255, 255, 0.28);
}

.button-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.button-dark {
  background: var(--bg);
  color: #fff;
}

.button-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.button-submit {
  width: 100%;
}

.quiz-submit {
  box-shadow: 0 18px 38px rgba(1, 105, 111, 0.26);
}

.button-service {
  margin-top: 18px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  background: #01696f;
  color: #fff;
  font-size: 14px;
}

.button-service-light {
  background: #fff;
  color: var(--bg);
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.hero-visual-compact {
  justify-items: end;
}

.hero-photo-card,
.hero-card,
.card,
.form-card,
.service-card,
.gallery-main-card,
.results-panel,
.step-card,
.contact-cta {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-photo-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-photo-card-compact {
  width: min(100%, 420px);
  min-height: 390px;
}

.hero-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(7, 17, 31, 0.76);
  backdrop-filter: blur(8px);
}

.hero-badge strong,
.trust-item strong,
.step-card strong {
  display: block;
}

.hero-badge strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.hero-card,
.card,
.form-card,
.service-card,
.results-panel,
.step-card,
.contact-cta {
  background: var(--bg-card);
  border: 1px solid var(--line);
}

.hero-card {
  padding: 24px;
  color: var(--text);
}

.hero-card h3,
.card h3,
.service-content h3,
.step-card h3,
.form-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.hero-card p,
.card p,
.service-content p,
.step-card p,
.mini-note,
.form-note,
.footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section {
  padding: 68px 0;
}

.section-compact {
  padding: 24px 0 12px;
}

.section-highlight {
  background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
}

.section-search {
  padding-top: 56px;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(27px, 3.5vw, 40px);
  line-height: 1.1;
}

.section-subtitle {
  margin: 0 0 32px;
  max-width: 760px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.trust-grid-main {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.trust-item {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.trust-item strong {
  margin-bottom: 8px;
  font-size: 36px;
  color: var(--accent-dark);
}

.trust-item span {
  display: block;
  line-height: 1.7;
  color: var(--muted);
}

.service-grid,
.grid-3,
.steps-grid,
.quiz-layout,
.intent-grid,
.faq-grid,
.offer-grid {
  display: grid;
  gap: 20px;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.service-card.accent-card {
  grid-column: span 2;
}

.service-card {
  overflow: hidden;
}

.service-card-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
}

.service-media {
  min-height: 0;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card:not(.service-card-wide) .service-media img {
  height: auto;
  aspect-ratio: 16 / 10;
}

.service-content {
  padding: 22px;
}

.feature-list {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.accent-card {
  background: linear-gradient(145deg, #0d1b2a 0%, #10314c 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.accent-card .tag {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.accent-card p {
  color: #d7e3f0;
}

.dark-band {
  background: var(--bg);
  color: #fff;
}

.dark-band .section-subtitle {
  color: #c8d4e0;
}

.gallery-shell {
  display: grid;
  gap: 18px;
}

.offer-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-more-cta {
  margin: 126px 0 0;
  display: flex;
  justify-content: center;
}

.offer-more-cta .button {
  position: relative;
  overflow: hidden;
  width: clamp(320px, 52vw, 560px);
  font-size: 26px;
  min-height: 82px;
  padding: 22px 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.offer-more-cta .button::after {
  content: "";
  position: absolute;
  top: -15%;
  left: -42%;
  width: 32%;
  height: 130%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: offerCtaShine 2.9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes offerCtaShine {
  0% {
    left: -42%;
  }
  55% {
    left: 118%;
  }
  100% {
    left: 118%;
  }
}

#offers {
  padding-bottom: 36px;
}

#offers + .section {
  padding-top: 36px;
}

.offer-price {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ffe8ee;
  color: var(--hot);
  font-size: 13px;
  font-weight: 800;
}

.offer-card,
.faq-card,
.ad-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.offer-card {
  overflow: hidden;
}

.offer-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #d6dce4;
}

.offer-copy {
  padding: 20px;
}

.offer-copy h3,
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.offer-copy p,
.faq-card p,
.ad-point p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.gallery-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.gallery-main-card {
  margin: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-main-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-main-card figcaption {
  padding: 18px 20px 22px;
  color: #d5e0ea;
  line-height: 1.6;
}

.gallery-nav {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 24px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-thumb {
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-align: left;
  cursor: pointer;
}

.gallery-thumb.is-active {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.gallery-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 10px;
}

.gallery-thumb span {
  display: block;
  font-size: 13px;
  line-height: 1.4;
}

.results-panel {
  padding: 28px;
}

.results-panel-single {
  box-shadow: none;
}

.ad-panel {
  padding: 32px;
}

.ad-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.ad-point {
  padding: 22px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid #e2eaf3;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 20px;
}

.compact-cards .card {
  box-shadow: none;
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  padding: 26px;
}

.step-card strong {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
}

.quiz-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.92fr);
  align-items: start;
}

.form-card {
  padding: 28px;
}

.form-card-strong {
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.quiz-progress {
  margin-bottom: 18px;
}

.quiz-progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--muted);
}

.quiz-progress-bar {
  height: 8px;
  border-radius: 999px;
  background: #e8eef5;
  overflow: hidden;
}

.quiz-progress-bar span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: linear-gradient(90deg, #01696f 0%, #0f766e 100%);
  transition: width 0.25s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.is-active {
  display: grid;
  gap: 14px;
}

.quiz-step-header h4 {
  margin: 0 0 6px;
  font-size: 20px;
}

.quiz-step-header p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quiz-options-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.quiz-option {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  text-align: left;
}

.quiz-option.is-selected {
  border-color: #01696f;
  background: #eef8f8;
  box-shadow: 0 12px 30px rgba(1, 105, 111, 0.12);
}

.quiz-option strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.quiz-option span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
  font-size: 13px;
}

.field-hidden {
  display: none;
}

.quiz-nav {
  display: flex;
  gap: 12px;
}

.quiz-back,
.quiz-submit {
  display: none;
}

.quiz-back.is-visible,
.quiz-next.is-visible,
.quiz-submit.is-visible {
  display: inline-flex;
}

.field,
.field-select,
.field-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  background: #fff;
}

.field:focus,
.field-select:focus,
.field-textarea:focus {
  outline: 2px solid rgba(15, 118, 110, 0.12);
  border-color: var(--accent);
}

.field-textarea {
  min-height: 130px;
  resize: vertical;
}

.mini-note {
  margin-bottom: 18px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-card {
  padding: 22px;
}

.form-note {
  font-size: 13px;
}

.success,
.error {
  font-size: 14px;
  line-height: 1.6;
}

.success {
  color: var(--accent-dark);
}

.error {
  color: #b42318;
}

.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  display: none;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #01696f;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 20px 40px rgba(1, 105, 111, 0.32);
}

.promo-strip {
  background: linear-gradient(180deg, #f8fbff 0%, #f1f5fb 100%);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.promo-item {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e3e8f2;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.promo-item strong {
  display: block;
  margin-bottom: 4px;
  color: #0d1b2a;
}

.promo-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.footer {
  padding: 22px 0 42px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .hero-inner,
  .service-card-wide,
  .quiz-layout,
  .steps-grid,
  .grid-3,
  .service-grid,
  .trust-grid,
  .gallery-thumbs,
  .faq-grid,
  .offer-grid,
  .ad-points {
    grid-template-columns: 1fr;
  }

  .gallery-stage {
    grid-template-columns: 1fr;
  }

  .offer-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .quiz-options-grid,
  .quiz-options-grid-2 {
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    display: inline-flex;
  }

  .hero-photo-card {
    min-height: 420px;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .topbar-contacts {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .topbar-phone {
    display: inline-flex;
    min-height: 40px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .cta-phone {
    display: none;
  }

  .topbar-contacts .cta-phone {
    display: none !important;
  }

  .brand {
    font-size: 25px;
    gap: 0;
  }

  .brand-logo {
    width: 23px !important;
    height: 23px !important;
    max-width: 23px !important;
    min-width: 23px !important;
    max-height: 23px !important;
    min-height: 23px !important;
    flex-basis: 23px;
  }

  .hero {
    padding-top: 0;
  }

  .hero-copy h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .lead {
    font-size: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button-hero-secondary {
    display: none;
  }

  .quiz-submit.is-visible,
  .quiz-next.is-visible,
  .quiz-back.is-visible {
    width: 100%;
    justify-content: center;
  }

  .contact-cta,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .offer-actions,
  .quiz-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .offer-more-cta .button {
    width: 100%;
    font-size: 20px;
    min-height: 66px;
  }

  .offer-more-cta {
    margin-top: 96px;
  }

  #offers {
    padding-bottom: 24px;
  }

  #offers + .section {
    padding-top: 24px;
  }

  .sticky-cta {
    display: inline-flex;
  }

  .section {
    padding: 56px 0;
  }

  .section-compact {
    padding: 18px 0 8px;
  }

  .hero-inner {
    padding: 44px 0 30px;
  }

  .hero-photo-card {
    min-height: 280px;
  }

  .hero-photo-card-compact {
    width: 100%;
    min-height: 260px;
  }

  .offer-copy h3 {
    font-size: 20px;
  }

  .offer-copy p {
    line-height: 1.55;
  }

  .gallery-thumbs {
    display: none;
  }

  .gallery-carousel {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
  }

  .gallery-nav {
    width: 38px;
    height: 38px;
  }
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #01696f;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

.hero-badge-soft {
  background: rgba(7, 17, 31, 0.48);
}

.calculator-switcher {
  display: inline-flex;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px;
  border-radius: 18px;
  background: #e8eef5;
}

.calc-tab {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.calc-tab.is-active {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.calc-panel {
  display: none;
}

.calc-panel.is-active {
  display: block;
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 20px;
}

.calc-main {
  padding: 24px;
}

.calc-head {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.calc-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-field,
.calc-check {
  display: grid;
  gap: 10px;
}

.calc-field span,
.calc-check span {
  font-size: 14px;
  font-weight: 700;
}

.calc-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.step-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  cursor: pointer;
}

.calc-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.calc-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.calc-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.price-card {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
}

.price-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.price-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.05;
  color: var(--accent-dark);
}

.price-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.price-card-accent {
  background: linear-gradient(180deg, #eef8f8 0%, #ffffff 100%);
}

.calc-side img {
  aspect-ratio: 4 / 4;
}

.gallery-carousel {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.card-benefits-large {
  padding: 24px;
}

@media (max-width: 1100px) {
  .calc-layout,
  .calc-controls,
  .calc-checks,
  .calc-results {
    grid-template-columns: 1fr;
  }

  .gallery-carousel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .calculator-switcher {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .topbar-contacts .cta-phone {
    display: none !important;
  }
}
