:root {
  --bg: #FFFFFF;
  --bg-soft: #EFF8FB;
  --ink: #17303A;
  --ink-soft: #46626F;
  --sky: #2AA8D8;
  --sky-deep: #147499;
  --sky-soft: #D9EEF7;
  --mint: #7DD8C8;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 12px 32px rgba(23, 48, 58, 0.10);
  --shadow-lift: 0 18px 44px rgba(23, 48, 58, 0.14);
  --header-h: 84px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Onest", "Nunito", "Segoe UI", Arial, sans-serif;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p, li {
  color: var(--ink);
}

a {
  color: var(--sky-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

::selection {
  background: var(--mint);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  font-family: "Onest", "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out;
}

.btn-primary {
  background: var(--sky);
  color: #0C2530;
  box-shadow: 0 8px 20px rgba(42, 168, 216, 0.35);
}

.btn-primary:hover {
  background: #45B6E0;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(42, 168, 216, 0.42);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-lg {
  width: 100%;
  min-height: 56px;
  font-size: 1.05rem;
}

.card {
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.bubbles {
  position: relative;
  overflow: hidden;
}

.bubbles::before,
.bubbles::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.15;
  pointer-events: none;
}

.bubbles::before {
  width: 340px;
  height: 340px;
  top: -120px;
  right: -100px;
}

.bubbles::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -70px;
}

.bubbles > .container {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.25s ease-out;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
  transition: min-height 0.25s ease-out;
}

.site-header.is-compact {
  box-shadow: 0 6px 20px rgba(23, 48, 58, 0.10);
}

.site-header.is-compact .header-inner {
  min-height: 64px;
}

.site-header.is-compact .logo-tagline,
.site-header.is-compact .phone-note {
  display: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 38px;
  height: 38px;
  flex: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: "Onest", "Nunito", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.logo-tagline {
  font-size: 0.74rem;
  color: var(--ink-soft);
  max-width: 190px;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 10px 2px;
}

.site-nav a:hover {
  color: var(--sky-deep);
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  color: var(--ink);
}

.phone-number {
  font-family: "Onest", "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.phone-note {
  font-size: 0.72rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.header-cta {
  white-space: nowrap;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: 0;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  background: var(--bg-soft);
  padding: 64px 0 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}

.hero-sub {
  margin-top: 18px;
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 34em;
}

.hero-bullets {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 18px;
  max-width: 34em;
}

.hero-bullets li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bullet-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--bg);
  color: var(--sky-deep);
  box-shadow: var(--shadow);
}

.bullet-icon svg {
  width: 22px;
  height: 22px;
}

.hero-form-wrap {
  position: relative;
}

.order-card {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.field input[type="text"],
.field input[type="tel"],
.field input[type="number"] {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1.5px solid #C9DEE8;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
  caret-color: var(--sky-deep);
}

.field input::placeholder {
  color: #6E8894;
}

.field input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(42, 168, 216, 0.2);
}

.field input.is-invalid {
  border-color: #D24B4B;
}

.field-error {
  font-size: 0.84rem;
  color: #B23A3A;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.consent input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--sky);
  cursor: pointer;
}

.form-note {
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

.section {
  padding: 88px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-sub {
  margin-top: 14px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--sky-soft);
  color: var(--sky-deep);
  margin-bottom: 18px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-icon-mint {
  background: rgba(125, 216, 200, 0.25);
  color: #157A68;
}

.when-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.when-card h3 {
  margin-bottom: 10px;
}

.when-card p {
  color: var(--ink-soft);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  text-align: center;
  align-items: center;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.price-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.price-card .card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 14px;
}

.price-card .card-icon svg {
  width: 34px;
  height: 34px;
}

.price-card h3 {
  font-size: 1.02rem;
  min-height: 2.5em;
  display: flex;
  align-items: center;
}

.price-caption {
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-top: 4px;
}

.price-value {
  font-family: "Onest", "Nunito", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--sky-deep);
  margin-top: auto;
  padding-top: 10px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 4px;
}

.step-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(23, 48, 58, 0.10);
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}

.step-btn:hover {
  background: var(--sky);
  color: #0C2530;
}

.step-count {
  min-width: 36px;
  text-align: center;
  font-family: "Onest", "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.area-input {
  margin-top: 14px;
  width: 100%;
  display: grid;
  gap: 6px;
  text-align: left;
}

.area-input label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.area-input input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #C9DEE8;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.area-input input:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(42, 168, 216, 0.2);
}

.calc-summary {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--bg-soft);
  box-shadow: none;
  border: 1.5px solid var(--sky-soft);
}

.calc-summary-text {
  flex: 1;
  min-width: 0;
}

.calc-empty,
.calc-items {
  font-size: 1rem;
}

.calc-items strong {
  font-family: "Onest", "Nunito", sans-serif;
}

.calc-discount {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #157A68;
  font-weight: 500;
}

.calc-summary-total {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex: none;
}

.calc-total {
  font-family: "Onest", "Nunito", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calc-total-old {
  font-size: 1rem;
  color: var(--ink-soft);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.price-footnote {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}

.step::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -24px;
  width: 24px;
  height: 2px;
  background: var(--sky);
  opacity: 0.5;
}

.step:last-child::after {
  display: none;
}

.step-time {
  display: inline-block;
  font-family: "Onest", "Nunito", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--sky-deep);
  background: var(--sky-soft);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.step-icon {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(125, 216, 200, 0.25);
  color: #157A68;
  margin-bottom: 14px;
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.safety-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.safety-copy p {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.safety-footnote {
  padding: 18px 22px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
}

.safety-list {
  list-style: none;
  display: grid;
  gap: 20px;
}

.safety-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.safety-card .card-icon {
  margin-bottom: 0;
  flex: none;
}

.safety-card h3 {
  margin-bottom: 6px;
}

.safety-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.honesty-inner .section-head {
  max-width: 780px;
}

.honesty-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.honesty-card h3 {
  margin-bottom: 10px;
  color: var(--sky-deep);
}

.honesty-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.honesty-footnote {
  margin-top: 32px;
  font-family: "Onest", "Nunito", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  max-width: 40em;
}

.stats-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px;
}

.stat-value {
  font-family: "Onest", "Nunito", sans-serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--sky-deep);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  margin-top: 10px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-card blockquote p {
  font-size: 0.96rem;
  color: var(--ink);
}

.review-card figcaption {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.review-avatar {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-family: "Onest", "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.review-meta {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.review-meta strong {
  color: var(--ink);
}

.faq-inner {
  max-width: 820px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--bg-soft);
  border-radius: 20px;
  overflow: hidden;
}

.faq-item h3 {
  font-size: 1rem;
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: 0;
  font: inherit;
  font-family: "Onest", "Nunito", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  min-height: 56px;
}

.faq-chevron {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--sky-deep);
  transition: transform 0.25s ease-out;
}

.faq-toggle[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 24px 22px;
}

.faq-panel p {
  color: var(--ink-soft);
}

.order-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.site-footer {
  background: var(--bg-soft);
  padding: 56px 0 32px;
  border-top: 1px solid var(--sky-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
  gap: 40px;
}

.footer-about p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 26em;
}

.footer-heading {
  font-family: "Onest", "Nunito", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-contacts p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 0;
}

.footer-nav a:hover {
  color: var(--sky-deep);
}

.footer-legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--sky-soft);
}

.footer-legal p {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.page-simple {
  min-height: 60vh;
  padding: 80px 0;
}

.page-simple .container {
  max-width: 760px;
}

.page-simple h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}

.page-simple p {
  margin-bottom: 14px;
  color: var(--ink-soft);
}

.page-simple .btn {
  margin-top: 20px;
}

.thanks-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(125, 216, 200, 0.3);
  color: #157A68;
  margin-bottom: 28px;
}

.thanks-icon svg {
  width: 40px;
  height: 40px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1100px) {
  .price-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .header-cta {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    box-shadow: 0 18px 30px rgba(23, 48, 58, 0.14);
    padding: 8px 24px 16px;
    display: none;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--sky-soft);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .burger {
    display: flex;
    margin-left: auto;
  }

  .header-contacts {
    margin-left: auto;
  }

  .site-nav {
    margin-left: 0;
  }

  .header-phone {
    align-items: flex-start;
  }

  .phone-note {
    display: none;
  }

  .logo-tagline {
    display: none;
  }

  .hero {
    padding: 44px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section {
    padding: 64px 0;
  }

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

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

  .step::after {
    display: none;
  }

  .safety-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .honesty-list {
    grid-template-columns: 1fr;
  }

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

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

  .order-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calc-summary {
    flex-direction: column;
    align-items: stretch;
  }

  .calc-summary-total {
    align-items: stretch;
    text-align: left;
  }

  .calc-total {
    font-size: 1.7rem;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    gap: 12px;
  }

  .phone-number {
    font-size: 0.92rem;
  }

  .card {
    padding: 22px;
  }

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

  .price-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding: 4px 4px 18px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .price-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
  }

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

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

  .btn {
    min-height: 50px;
  }
}

.footer-demo { margin-top: 10px; font-size: 0.82rem; line-height: 1.6; color: var(--ink-soft, #6b7c85); }
.footer-demo a { color: inherit; }
@media (max-width: 1024px) { .when-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .when-grid { grid-template-columns: 1fr; } }

.card-photo {
  display: block;
  margin: 12px 0 14px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-soft);
}

.card-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section-photo {
  margin: 26px 0 0;
}

.section-photo picture {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
}

.section-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-photo figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section-photo-banner {
  margin-top: 40px;
}

.section-photo-banner img {
  aspect-ratio: 16 / 9;
}

.section-photo-banner figcaption {
  text-align: center;
  max-width: 34em;
  margin-inline: auto;
}

.section-photo-wide {
  margin: 26px 0;
}

.section-photo-wide img {
  aspect-ratio: 3 / 2;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.compare-frame {
  --pos: 50%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
  touch-action: pan-y;
}

.compare-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.compare-top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}

.compare-tag {
  position: absolute;
  top: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  pointer-events: none;
}

.compare-tag-before {
  left: 14px;
}

.compare-tag-after {
  right: 14px;
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 1px rgba(23, 48, 58, 0.12);
  pointer-events: none;
}

.compare-line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
}

.compare-range {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -22px;
  width: calc(100% + 44px);
  height: 100%;
  margin: 0;
  padding: 0;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: col-resize;
  touch-action: pan-y;
}

.compare-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: col-resize;
}

.compare-range::-moz-range-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: col-resize;
}

.compare-range:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

.compare figcaption {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.compare figcaption b {
  color: var(--ink);
  font-weight: 700;
}

.compare-note {
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 46em;
}

@media (max-width: 860px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.timeline {
  margin-top: 32px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px 22px;
}

.timeline-bar {
  display: grid;
  grid-template-columns: 1.4fr 2fr 3fr 6fr;
  gap: 6px;
  list-style: none;
}

.timeline-seg {
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.seg-start {
  background: var(--bg-soft);
}

.seg-come {
  background: var(--sky-soft);
}

.seg-work {
  background: rgba(42, 168, 216, 0.42);
}

.seg-dry {
  background: rgba(125, 216, 200, 0.45);
}

.timeline-hours {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
}

.timeline-name {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.timeline-note {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.split-bars {
  margin-top: 32px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.split-title {
  font-size: 1.14rem;
  margin-bottom: 18px;
}

.split-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.split-row {
  display: grid;
  grid-template-columns: 34px minmax(140px, 200px) 1fr auto;
  align-items: center;
  gap: 14px;
}

.split-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--sky-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-icon svg {
  width: 19px;
  height: 19px;
}

.split-name {
  font-size: 0.95rem;
  color: var(--ink);
}

.split-track {
  height: 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}

.split-fill {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky), var(--mint));
}

.split-value {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  min-width: 3.4em;
  text-align: right;
}

.split-note {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .timeline-bar {
    grid-template-columns: 1fr;
  }

  .split-row {
    grid-template-columns: 34px 1fr auto;
    grid-template-areas:
      "icon name value"
      "track track track";
    gap: 10px 12px;
  }

  .split-icon { grid-area: icon; }
  .split-name { grid-area: name; }
  .split-value { grid-area: value; }
  .split-track { grid-area: track; }
}

@media (max-width: 560px) {
  .timeline,
  .split-bars {
    padding: 22px;
  }
}

.stain-scale {
  margin-top: 36px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.stain-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--sky) 48%, #C3D2D8);
}

.stain-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.stain-label {
  font-family: "Onest", "Nunito", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}

.stain-full .stain-label {
  color: #17836F;
}

.stain-partial .stain-label {
  color: var(--sky-deep);
}

.stain-none .stain-label {
  color: var(--ink-soft);
}

.stain-col ul {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

.stain-col li {
  position: relative;
  padding-left: 16px;
}

.stain-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

.week-chart {
  margin-top: 28px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px 28px;
}

.week-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.week-dot {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--sky);
}

.week-dot:nth-child(3n) {
  background: var(--mint);
}

.week-note {
  margin-top: 14px;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .stain-track {
    display: none;
  }

  .stain-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stain-col {
    border-left: 4px solid var(--sky-soft);
    padding-left: 16px;
  }

  .stain-full {
    border-left-color: var(--mint);
  }

  .stain-partial {
    border-left-color: var(--sky);
  }

  .stain-none {
    border-left-color: #C3D2D8;
  }
}

@media (max-width: 560px) {
  .stain-scale {
    padding: 22px;
  }

  .week-chart {
    padding: 20px;
  }
}

.site-nav a {
  white-space: nowrap;
}

.logo-tagline {
  max-width: 150px;
}

@media (max-width: 900px) {
  .burger {
    flex: 0 0 48px;
  }

  .header-contacts,
  .logo {
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .header-inner {
    gap: 10px;
  }

  .logo-name {
    font-size: 1.05rem;
  }

  .phone-number {
    font-size: 0.82rem;
  }

  .burger {
    flex: 0 0 40px;
    width: 40px;
    padding: 10px;
  }
}
