@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #386641;
  --brand-strong: #2d5134;
  --brand-soft: #e8f1ea;
  --brand-muted: #c5d9c9;
  --brand-rgb: 56, 102, 65;
  --ink: #0f172a;
  --muted: #5b6b7c;
  --line: #dbe3dc;
  --bg: #f7faf7;
  --white: #ffffff;
  --danger: #be123c;
  --section-wash-start: #e7f0e9;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  --radius-sm: 9px;
  --container: 1120px;
  --header-h: 4rem;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Montserrat", "Manrope", sans-serif;
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 4 4L19 6' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
  border-radius: var(--radius-sm);
}

.wrapper {
  padding-top: var(--header-h);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus-visible {
  top: 0.75rem;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Header — поверх хиро, иначе белый текст на светлом фоне страницы */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #0a120e;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  color: rgba(255, 255, 255, 0.9);
}

.site-header .logo {
  color: var(--white);
}

.site-header .nav a {
  color: rgba(255, 255, 255, 0.82);
}

.site-header .nav a:hover {
  color: var(--white);
}

.site-header .nav-toggle {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
}

.site-header .nav-toggle span {
  background: var(--white);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 247, 0.97);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
  color: var(--ink);
}

.site-header.is-scrolled .logo {
  color: var(--ink);
}

.site-header.is-scrolled .nav a {
  color: var(--muted);
}

.site-header.is-scrolled .nav a:hover {
  color: var(--brand);
}

.site-header.is-scrolled .nav-toggle {
  border-color: var(--line);
  background: var(--bg);
}

.site-header.is-scrolled .nav-toggle span {
  background: var(--ink);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: inherit;
}

.logo-mark {
  display: block;
  height: 1.7rem;
  width: auto;
  color: inherit;
}

.logo-text {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--brand);
}

.site-header .nav a.nav-cta {
  padding: 0.55rem 0.95rem;
  background: var(--brand);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.site-header .nav a.nav-cta:hover {
  background: var(--brand-strong);
  color: var(--white);
}

.nav-toggle {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--line);
  background: var(--white);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav a {
  padding: 0.75rem 0.25rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

.mobile-nav[hidden] {
  display: none;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(180deg, #0b1410 0%, #14251b 52%, #1c3325 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-illustration {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.95;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  padding: calc(var(--header-h) + 0.5rem) 0 15rem;
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 4rem;
    padding: calc(var(--header-h) + 0.5rem) 0 17rem;
  }
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-muted);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.05rem, 4.4vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 24ch;
}

.hero-lead {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.9rem;
}

.hero-facts {
  list-style: none;
  margin: 1.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background-color: rgba(var(--brand-rgb), 0.55);
  background-image: var(--icon-check);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.68rem;
}

/* Мокап виджета бронирования */
.hero-widget {
  display: flex;
  justify-content: center;
}

@media (min-width: 980px) {
  .hero-widget {
    justify-content: flex-end;
  }
}

.widget-mock {
  position: relative;
  width: min(100%, 25rem);
  padding: 1.15rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(6, 12, 9, 0.45);
}

.widget-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.widget-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--brand);
}

.widget-title {
  font-weight: 700;
  font-size: 0.98rem;
}

.widget-badge {
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 999px;
  white-space: nowrap;
}

.widget-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.widget-field {
  display: grid;
  gap: 0.15rem;
  padding: 0.5rem 0.6rem;
  background: #f3f7f3;
  border-radius: var(--radius-sm);
}

.widget-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.widget-value {
  font-size: 0.86rem;
  font-weight: 600;
}

.widget-rooms {
  list-style: none;
  margin: 0.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.widget-room {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.widget-room.is-selected {
  border-color: var(--brand);
  background: rgba(var(--brand-rgb), 0.06);
}

.widget-room-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.widget-room-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.widget-pick {
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.widget-room.is-selected .widget-pick {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.widget-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
}

.widget-sum {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.widget-pay {
  padding: 0.6rem 1.2rem;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
}

.nowrap {
  white-space: normal;
}

@media (min-width: 640px) {
  .nowrap {
    white-space: nowrap;
  }
}

.widget-toast {
  position: absolute;
  bottom: -1.25rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  background: var(--white);
  color: var(--brand-strong);
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid var(--brand-muted);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(6, 12, 9, 0.28);
  animation: toastIn 0.45s ease-out 0.9s both;
}

.widget-toast svg {
  color: var(--brand);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(var(--brand-rgb), 0.32);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-block {
  width: 100%;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: clamp(3.5rem, 8vw, 6rem);
  color: var(--section-wash-start);
  pointer-events: none;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-tint {
  background: linear-gradient(
      180deg,
      rgba(var(--brand-rgb), 0.05),
      rgba(var(--brand-rgb), 0.02)
    ),
    var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.section-head h2,
.lead-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.section-head p,
.lead-copy p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

/* Audience carousel */
.audience-carousel {
  position: relative;
}

.audience-viewport {
  overflow: hidden;
  width: 100%;
}

.audience-track {
  display: flex;
  gap: 1.25rem;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.audience-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 var(--audience-card-w, 25%);
  width: var(--audience-card-w, 25%);
  padding: 0 0 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.audience-item:hover {
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.13);
  transform: translateY(-2px);
}

.audience-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--white);
  line-height: 0;
}

.audience-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.audience-item h3 {
  margin: 0.9rem 1rem 0;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.audience-item p {
  margin: 0.4rem 1rem 0;
  max-width: 26ch;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.audience-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--brand);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
  transform: translateY(-50%);
}

.audience-nav--prev {
  left: -0.6rem;
}

.audience-nav--next {
  right: -0.6rem;
}

.audience-nav:hover {
  background: var(--brand);
  color: var(--white);
}

.audience-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.audience-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
}

.audience-dots button {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--brand-muted);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.audience-dots button[aria-current="true"] {
  width: 1.5rem;
  background: var(--brand);
}

/* Features */
.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  transition: border-color 0.2s ease, box-shadow 0.25s ease,
    transform 0.25s ease;
}

.feature:hover {
  border-color: var(--brand-muted);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.feature-icon {
  width: 2.4rem;
  height: 2.4rem;
  padding: 0.45rem;
  color: var(--brand);
  background: linear-gradient(
    145deg,
    rgba(var(--brand-rgb), 0.16),
    rgba(var(--brand-rgb), 0.05)
  );
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.feature-icon svg,
.benefit-icon svg {
  width: 100%;
  height: 100%;
}

.feature h3,
.step h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.feature p,
.step p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Soft green wash — alternating sections */
.section-wash {
  position: relative;
  background-color: var(--section-wash-start);
  background-image: radial-gradient(
      ellipse 70% 50% at 0% 70%,
      rgba(var(--brand-rgb), 0.14),
      transparent 60%
    ),
    radial-gradient(
      ellipse 65% 50% at 100% 100%,
      rgba(var(--brand-rgb), 0.12),
      transparent 58%
    ),
    linear-gradient(
      180deg,
      var(--section-wash-start) 0%,
      var(--section-wash-start) 18%,
      var(--bg) 48%,
      #eef5ef 78%,
      #e3ede5 100%
    );
}

/* Hero wave → «Для кого»: один цвет без шва */
#audience.section-wash {
  margin-top: -2px;
  padding-top: calc(3.5rem + 2px);
  border-top: none;
  box-shadow: none;
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
  position: relative;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
  }
}

.step {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.9rem;
  padding: 1.45rem 1.35rem 1.55rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(var(--brand-rgb), 0.14);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
  transition: box-shadow 0.25s ease, transform 0.25s ease,
    border-color 0.25s ease;
}

.step:hover {
  border-color: rgba(var(--brand-rgb), 0.3);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 2;
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 899px) {
  .step:not(:last-child)::after {
    left: 50%;
    bottom: -1.2rem;
    transform: translateX(-50%) rotate(45deg);
  }
}

@media (min-width: 900px) {
  .step:not(:last-child)::after {
    top: 50%;
    right: -1.4rem;
    transform: translateY(-50%) rotate(-45deg);
  }
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 3rem;
  padding: 0.4rem 0.65rem;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.04em;
  line-height: 1;
  border-radius: var(--radius-sm);
  background: linear-gradient(
    135deg,
    rgba(var(--brand-rgb), 0.16),
    rgba(var(--brand-rgb), 0.06)
  );
}

/* Screens */
.screen-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.08);
}

.screen-row:last-child {
  border-bottom: none;
}

@media (min-width: 1100px) {
  .screen-row {
    gap: 3rem;
    padding: 2.75rem 0;
  }

  .screen-row--image-left {
    grid-template-columns: 1.9fr 1fr;
  }

  .screen-row--image-right {
    grid-template-columns: 1fr 1.9fr;
  }

  .screen-row--image-right .screen-image {
    order: 2;
  }

  .screen-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .screen-row .screen-image {
    order: 1;
  }

  .screen-row .screen-content {
    order: 2;
  }
}

@media (max-width: 767px) {
  .screen-row {
    gap: 1.1rem;
    padding: 1.4rem 0;
  }

  .screen-row .screen-image {
    order: 1;
  }

  .screen-row .screen-content {
    order: 2;
  }

  .screen-content h3 {
    font-size: 1.15rem;
  }

  .screen-content p {
    font-size: 0.95rem;
  }
}

.screen-image {
  margin: 0;
}

.screen-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--brand-muted);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screen-zoom:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  background: #eef2ee;
  border-bottom: 1px solid var(--line);
}

.browser-bar i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #cfd8cf;
}

.screen-zoom img {
  width: 100%;
  height: auto;
  background: #f8fafc;
}

.screen-content {
  display: flex;
  flex-direction: column;
  align-self: center;
  gap: 0.6rem;
}

.screen-content h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.screen-content p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 46ch;
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(94vw, 1180px);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(8, 13, 10, 0.88);
}

.lightbox[open] {
  animation: lightboxIn 0.25s ease;
}

@keyframes lightboxIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-img {
  max-width: 100%;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: -3.1rem;
  right: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* Benefits */
.benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 800px) {
  .benefits-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
  }

  .benefits-layout .section-head {
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--header-h) + 0.5rem);
    align-self: start;
  }

  .benefits-layout .section-head h2 {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
  }
}

.benefit-item {
  position: relative;
  padding: 1.1rem 1.2rem 1.15rem 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(var(--brand-rgb), 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.benefit-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    var(--brand) 0%,
    rgba(var(--brand-rgb), 0.35) 100%
  );
}

.benefit-item:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), 0.3);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.benefit-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.benefit-icon {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--brand);
  background: linear-gradient(
    145deg,
    rgba(var(--brand-rgb), 0.16),
    rgba(var(--brand-rgb), 0.05)
  );
  display: grid;
  place-items: center;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.benefits-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.benefits-list p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 500px;
}

.benefit-item:nth-child(2) {
  background: linear-gradient(
      135deg,
      rgba(var(--brand-rgb), 0.04),
      transparent 55%
    ),
    rgba(255, 255, 255, 0.9);
}

.benefit-item:nth-child(4) {
  background: linear-gradient(
      135deg,
      rgba(var(--brand-rgb), 0.06),
      transparent 50%
    ),
    rgba(255, 255, 255, 0.92);
}

.benefit-item:nth-child(4)::before {
  background: var(--brand);
}

/* Lead form */
.section-lead {
  background: radial-gradient(
      700px 280px at 10% 0%,
      rgba(var(--brand-rgb), 0.12),
      transparent 60%
    ),
    var(--white);
  border-top: 1px solid var(--line);
}

.lead-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .lead-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
}

.lead-form {
  display: grid;
  gap: 0.95rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
}

.lead-form label span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
}

.lead-form input {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.15);
}

.lead-form input.is-invalid {
  border-color: var(--danger);
}

.field-error {
  display: block;
  min-height: 0;
  font-size: 0.82rem;
  color: var(--danger);
}

.field-error:empty {
  display: none;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-note.is-success {
  color: var(--brand-strong);
  font-weight: 600;
}

.form-note.is-error {
  color: var(--danger);
}

/* Footer */
.site-footer {
  background: #162019;
  color: rgba(255, 255, 255, 0.82);
  padding: 0;
  overflow: hidden;
  margin-top: -2.5rem;
}

.footer-scape {
  position: relative;
  height: clamp(11rem, 26vw, 16rem);
  line-height: 0;
  background: transparent;
}

.footer-scape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--brand-muted);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.3);
  user-select: none;
}

@media (max-width: 800px) {
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .footer-legal {
    font-size: 0.85rem;
    gap: 0.35rem 0.75rem;
  }

  .footer-legal p {
    width: 100%;
    text-align: center;
  }
}

.footer-scape::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 38%;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.82) 22%,
    rgba(247, 250, 247, 0.35) 55%,
    rgba(247, 250, 247, 0) 100%
  );
}

.footer-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: clamp(2.5rem, 6vw, 4rem);
  color: #162019;
  pointer-events: none;
  line-height: 0;
}

.footer-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-body {
  position: relative;
  z-index: 2;
  padding: 1.75rem 0 1.5rem;
  background: #162019;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand p {
  margin: 0.5rem 0 0;
  max-width: 30ch;
  color: rgba(255, 255, 255, 0.66);
}

.footer-brand p:first-of-type {
  margin-top: 0.85rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.site-footer .logo {
  color: var(--white);
}

.footer-contacts,
.footer-nav {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer-contacts h3,
.footer-nav h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.footer-contacts a:hover,
.footer-nav a:hover {
  color: var(--brand-muted);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
}

/* Reveal animations — работают только при включённом JS */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media print {
  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}

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

  .widget-toast {
    animation: none;
  }

  .audience-track {
    transition: none;
  }

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

  .lightbox[open] {
    animation: none;
  }

  .btn:hover,
  .feature:hover,
  .step:hover,
  .benefit-item:hover,
  .audience-item:hover,
  .screen-zoom:hover {
    transform: none;
  }
}
