@font-face{
  font-family:"Manrope";
  font-style:normal;
  font-weight:400 800;
  font-display:swap;
  src:url("/assets/manrope-cyrillic.woff2?v=20261020.2") 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 800;
  font-display:swap;
  src:url("/assets/manrope-latin.woff2?v=20261020.2") 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{
  --bg: #BFE7DA;
  --bg-2:#E9FFF7;
  --ink:#0E1514;
  --muted:#2C3B39;
  --line: rgba(14,21,20,.14);
  --accent:#FFC52D;
  --accent-2:#2BB673;
  --danger:#B0123B;
  --shadow: 0 14px 30px rgba(14,21,20,.10);
  --radius: 18px;
  --radius-lg: 26px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color:var(--ink);
  background: #E9FFF7;
  line-height:1.5;
  position: relative;
  isolation: isolate; 
}

/* Глобальный плавный фон без "стыков" */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  /* 1) длинный вертикальный градиент на всю страницу */
  background:
    linear-gradient(
      180deg,
      #BFE7DA 0%,
      #D6F3EA 22%,
      #E9FFF7 52%,
      #EAF8FF 78%,
      #F3FFF9 100%
    ),

    /* 2) мягкие пятна/свет без резких переходов */
    radial-gradient(900px 520px at 12% 6%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%),
    radial-gradient(900px 520px at 88% 14%, rgba(255,197,45,.14), rgba(255,197,45,0) 72%),
    radial-gradient(900px 520px at 22% 72%, rgba(43,182,115,.10), rgba(43,182,115,0) 75%);

  /* сгладить переходы, особенно на мобиле */
  filter: saturate(1.02) blur(0px);
  transform: translateZ(0);
}


a{ color:inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }
img{ max-width:100%; display:block; }

.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }

.skip{
  position:absolute; left:-9999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip:focus{
  left:12px; top:12px; width:auto; height:auto;
  padding:10px 12px; border-radius: 12px;
  background: rgba(255,255,255,.85);
  border:1px solid var(--line);
  z-index: 999;
}

/* Header */
.topbar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(191,231,218,.92);
  border-bottom:1px solid var(--line);
}
body { padding-top: 120px; } /* или той высоты, что у шапки */

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
  position: relative;
}

.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800;
  letter-spacing:.2px;
}
.logo{
  width:38px; height:38px; border-radius:12px;
  background: linear-gradient(145deg, var(--accent), #FFE08A);
  display:grid; place-items:center;
  box-shadow: 0 10px 18px rgba(255,197,45,.25);
  border:1px solid rgba(14,21,20,.12);
}
.logo svg{ width:22px; height:22px; }

.nav{
  font-weight:600;
}
.nav a{
  padding:8px 10px;
  border-radius: 12px;
}
.nav a:hover{
  background: rgba(255,255,255,.45);
  text-decoration:none;
}
.nav--desktop{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}

/* ===== Header: chips navigation ===== */

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}

/* desktop */
.nav--chips{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  font-weight:800;
}

.nav--chips a{
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(14,21,20,.14);
  background: rgba(255,255,255,.45);
  box-shadow: 0 10px 18px rgba(14,21,20,.06);
  line-height: 1;
}
/* Hover — только для устройств с мышью/трекпадом (чтобы на таче не "залипало") */
@media (hover: hover) and (pointer: fine) {
  .nav--chips a:hover{
    background: rgba(255,197,45,.18);
    text-decoration:none;
  }
}

/* Тач: используем :active (краткий отклик при нажатии) */
@media (hover: none) and (pointer: coarse) {
  .nav--chips a:active{
    background: rgba(255,197,45,.18);
    text-decoration:none;
  }
}


/* Глобальная страховка от горизонтального скролла (лучше clip, fallback hidden) */
html, body { max-width: 100%; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* Mobile: header layout + horizontal chips scroller */
@media (max-width: 640px){
  .topbar{
    overflow-x: clip; /* страховка */
  }

  .topbar__inner{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:10px 0;
    min-width: 0;
    /* НЕ ставим overflow:hidden здесь, иначе может подрезать чипы */
  }

  /* Чипы — на всю ширину вьюпорта, без отступа слева/справа */
  .nav--chips{
    width: 100vw;
    max-width: 100vw;
    min-width: 0;

    /* full-bleed внутри .container */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    display:flex;
    flex-wrap: nowrap;
    gap:5px;

    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;

    /* без отступов */
    padding: 0 0 10px;

    scrollbar-width: none;
  }
  .nav--chips::-webkit-scrollbar{ display:none; }

  .nav--chips a{
    flex: 0 0 auto;
    white-space: nowrap;
    min-height: 44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
}


/* Активный пункт (если включим через JS — см. ниже) */
.nav--chips a.is-active{
  background: linear-gradient(145deg, var(--accent), #FFE08A);
  border-color: rgba(14,21,20,.10);
}


/* Mobile nav default hidden */
.nav--mobile{
  display:none;
  position:absolute;
  right:0;
  top: calc(100% + 10px);
  width: min(320px, 100%);
  border-radius: 18px;
  background: rgba(255,255,255,.75);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 10px;
  z-index: 60;
}
.nav--mobile a{
  display:block;
  padding:12px 12px;
  border-radius: 14px;
}
.nav--mobile a:hover{
  background: rgba(255,197,45,.18);
}

.backdrop{
  position: fixed;
  inset: 0;
  background: rgba(14,21,20,.22);
  z-index: 50;
}

.burger{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border:1px solid rgba(14,21,20,.16);
  background: rgba(255,255,255,.45);
  box-shadow: 0 10px 22px rgba(14,21,20,.08);
  cursor:pointer;
}
.burger__lines{
  display:block;
  width:20px; height:2px;
  background: var(--ink);
  border-radius: 99px;
  margin: 0 auto;
  position: relative;
}
.burger__lines::before,
.burger__lines::after{
  content:"";
  position:absolute;
  left:0;
  width:20px; height:2px;
  background: var(--ink);
  border-radius: 99px;
}
.burger__lines::before{ top:-6px; }
.burger__lines::after{ top:6px; }

.cta{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  border:1px solid rgba(14,21,20,.16);
  background: rgba(255,255,255,.55);
  box-shadow: 0 10px 22px rgba(14,21,20,.08);
  font-weight:800;
  cursor:pointer;
  transition: none;
}
/* Hover для кнопок — только на устройствах с мышью/трекпадом */
@media (hover: hover) and (pointer: fine) {
  .btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 26px rgba(14,21,20,.10);
    text-decoration:none;
  }
}

/* Тач: короткий отклик при нажатии, без "залипания" */
@media (hover: none) and (pointer: coarse) {
  .btn:active{
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(14,21,20,.08);
    text-decoration:none;
  }
}

.btn--primary{
  background: linear-gradient(145deg, var(--accent), #FFE08A);
  border-color: rgba(14,21,20,.10);
}
.btn--ghost{ background: rgba(255,255,255,.28); }
.btn svg{ width:18px; height:18px; }

/* Hero */
.hero{ padding: 28px 0 18px; }
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}
.heroCard{
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.50);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 26px;
  overflow:hidden;
  position:relative;
}
.heroCard:before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(650px 240px at 18% 8%, rgba(255,197,45,.35), transparent 55%),
    radial-gradient(650px 240px at 68% 20%, rgba(43,182,115,.25), transparent 55%);
  pointer-events:none;
  opacity:.7;
}
.heroCard > *{ position:relative; }

.kicker{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  background: rgba(255,255,255,.60);
  border:1px solid var(--line);
  border-radius: 999px;
  font-weight:700;
  color: var(--muted);
}
.dot{
  width:10px; height:10px; border-radius:99px;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(43,182,115,.18);
}

h1{
  margin:14px 0 10px;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height:1.08;
  letter-spacing:-.6px;
}
.lead{
  margin:0 0 18px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 58ch;
}
.hero__actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top:14px; }

.metrics{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin-top: 18px;
}
.metric{
  background: rgba(255,255,255,.55);
  border:1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}
.metric b{ display:block; font-size: 18px; }
.metric span{ color:var(--muted); font-weight:600; font-size: 13px; }

.sideCard{
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.50);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  overflow:hidden;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(255,197,45,.18);
  border: 1px solid rgba(14,21,20,.12);
  padding: 10px 12px;
  border-radius: 16px;
  font-weight:800;
}
.badge small{ font-weight:700; color: var(--muted); }
.sideCard__illu{
  flex:1;
  border-radius: 18px;
  background:
    radial-gradient(420px 260px at 20% 20%, rgba(255,197,45,.65), transparent 55%),
    radial-gradient(520px 300px at 70% 30%, rgba(43,182,115,.35), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.25));
  border:1px dashed rgba(14,21,20,.18);
  display:grid;
  place-items:center;
  min-height: 220px;
  position:relative;
  overflow:hidden;
}
.videoPreview{
  display:block;
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  aspect-ratio: 16/9;
  background: #fff;
  transition: box-shadow .18s;
  border:1px solid rgba(14,21,20,.15);
  box-shadow: 0 10px 18px rgba(14,21,20,.06);
  cursor:pointer;
  user-select:none;
}
.videoPreview:hover,
.videoPreview:focus{
  box-shadow: 0 18px 38px rgba(14,21,20,.13);
}

.videoPreview__img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.videoPreview__play{
  position:absolute;
  left:50%; top:50%;
  transform: translate(-50%, -50%);
  width:58px; height:58px;
  border-radius:50%;
  background:rgba(0,0,0,.56);
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
  display:flex; align-items:center; justify-content:center;
}
.videoPreview__play::before{
  content:"";
  display:block;
  width:0; height:0;
  border-left:20px solid #fff;
  border-top:13px solid transparent;
  border-bottom:13px solid transparent;
}
.videoPreview__label{
  position:absolute;
  left:12px; bottom:10px;
  background:rgba(0,0,0,0.38);
  color:#fff;
  font-weight:700;
  font-size:14px;
  padding:7px 15px;
  border-radius:12px;
  letter-spacing:0.2px;
  box-shadow:0 2px 10px rgba(0,0,0,0.10);
  pointer-events:none;
}

.bubble{
  position:absolute;
  border-radius: 999px;
  border:1px solid rgba(14,21,20,.12);
  background: rgba(255,255,255,.45);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 18px rgba(14,21,20,.08);
  padding: 10px 12px;
  font-weight:800;
  max-width: calc(100% - 24px);
}
.bubble.one{ top:16px; left:16px; }
.bubble.two{ bottom:16px; right:16px; }
.sideCard p{ margin:0; color:var(--muted); font-weight:600; }

section{ padding: 28px 0; }
.sectionTitle{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:16px; flex-wrap:wrap;
  margin-bottom: 14px;
}
h2{
  margin:0;
  font-size: clamp(22px, 2.2vw, 28px);
  letter-spacing:-.3px;
}
.sub{
  margin:0;
  color:var(--muted);
  font-weight:600;
  max-width: 70ch;
}

.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:12px; }
.card{
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
  border:1px solid var(--line);
  box-shadow: 0 10px 22px rgba(14,21,20,.07);
  padding: 16px;
}
.card h3{ margin: 8px 0 6px; font-size: 16px; letter-spacing:-.2px; }
.card p{ margin:0; color:var(--muted); font-weight:600; font-size: 14px; }

.iconRow{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom: 6px; }
.icon{
  width:40px; height:40px;
  border-radius: 14px;
  background: rgba(255,197,45,.22);
  border:1px solid rgba(14,21,20,.12);
  display:grid; place-items:center;
}
.icon svg{ width:22px; height:22px; }
.check{
  width:34px; height:34px;
  border-radius: 999px;
  background: var(--accent);
  border:1px solid rgba(14,21,20,.12);
  display:grid; place-items:center;
  box-shadow: 0 12px 18px rgba(255,197,45,.18);
}
.check svg{ width:18px; height:18px; }

.how{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; }
.steps{ display:grid; gap:10px; margin-top: 10px; }
.step{
  display:flex; gap:12px;
  background: rgba(255,255,255,.55);
  border:1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  align-items:flex-start;
}
.step b{
  min-width: 28px; height: 28px;
  display:grid; place-items:center;
  border-radius: 999px;
  background: rgba(43,182,115,.18);
  border:1px solid rgba(14,21,20,.10);
}
.step div{ color:var(--muted); font-weight:600; }
.note{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(14,21,20,.14);
  color: var(--muted);
  font-weight:600;
  font-size: 14px;
}

/* FAQ */
details{
  background: rgba(255,255,255,.55);
  border:1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 10px 22px rgba(14,21,20,.06);
}
details + details{ margin-top: 10px; }

summary{
  cursor:pointer;
  font-weight:800;
  list-style:none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
}
summary::-webkit-details-marker{ display:none; }

.chev{
  width:34px; height:34px; border-radius:999px;
  border:1px solid rgba(14,21,20,.12);
  background: rgba(255,255,255,.45);
  display:grid; place-items:center;
  transition: transform .12s ease;
}
details[open] .chev{ transform: rotate(180deg); }
details p{ margin:10px 0 0; color:var(--muted); font-weight:600; }

.faqMedia{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.faqMedia img{
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.faqMedia figcaption{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

/* Contacts */
.contact{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:12px;
  align-items:start;
}
.list{ display:grid; gap:10px; margin-top: 10px; }
.li{
  display:flex; gap:12px; align-items:flex-start;
  padding: 12px;
  border-radius: 18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.55);
}
.li .miniIcon{
  width:38px; height:38px; border-radius: 14px;
  display:grid; place-items:center;
  border:1px solid rgba(14,21,20,.12);
  background: rgba(43,182,115,.16);
  flex:0 0 auto;
}
.li b{ display:block; }
.li span{ color:var(--muted); font-weight:600; font-size: 14px; }

form{ display:grid; gap:10px; }
label{ font-weight:800; font-size: 13px; }
input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border:1px solid rgba(14,21,20,.18);
  background: rgba(255,255,255,.62);
  outline:none;
  font: inherit;
}
input:focus, textarea:focus, select:focus{
  box-shadow: 0 0 0 4px rgba(255,197,45,.25);
  border-color: rgba(14,21,20,.22);
}
textarea{ min-height: 92px; resize: vertical; }
.formRow{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; }
.hint{ color:var(--muted); font-weight:600; font-size: 12px; margin:0; }
.privacy{ font-size: 12px; color: var(--muted); font-weight:600; }
.error{
  display:none;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(176,18,59,.10);
  border:1px solid rgba(176,18,59,.22);
  color: var(--danger);
  font-weight:800;
  font-size: 13px;
}
.hp{
  position:absolute;
  left:-9999px;
  opacity:0;
}

/* Footer */
footer{
  padding: 18px 0 28px;
  color: rgba(14,21,20,.72);
  font-weight:600;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.18);
}
.footerGrid{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.footerFine{ font-size:12px; }
.footerLegal{
  margin-top:10px;
  font-size:12px;
  line-height:1.6;
}
.footerLegal a{
  color:inherit;
  text-decoration-thickness:1px;
  text-underline-offset:2px;
}
.footerLinks{
  display:flex;
  flex-wrap:wrap;
  gap:6px 14px;
  margin-top:8px;
}
.footerLinks a{ font-weight:700; }

.legalPage{ min-height:100%; }
.legalMain{ padding:38px 0 52px; }
.legalDocument{ max-width:880px; margin:0 auto; padding:28px; }
.legalDocument h1{ margin:0 0 8px; font-size:clamp(30px,4vw,46px); line-height:1.08; }
.legalDocument h2{ margin:26px 0 8px; font-size:22px; }
.legalDocument p, .legalDocument li{ color:var(--muted); font-weight:600; }
.legalDocument ul{ padding-left:22px; }
.legalMeta{ margin:0 0 22px; font-size:14px; }

/* Payment CTA */
.homePaymentCta{ padding:28px 0 36px; }
.homePaymentCta__card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  padding:22px;
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  background:rgba(255,255,255,.55);
  box-shadow:var(--shadow);
}
.homePaymentCta__card h2{ margin:0 0 6px; }
.homePaymentCta__card p{ margin:0; color:var(--muted); font-weight:600; }
.homePaymentCta__card .btn{ flex:0 0 auto; }

/* Payment page */
.paymentPage{ min-height:100%; }
.paymentHeader__back{ white-space:nowrap; }
.paymentMain{ min-height:calc(100vh - 260px); }
.paymentHero{ padding:36px 0 18px; }
.paymentHero h1{
  margin:16px 0 8px;
  font-size:clamp(34px, 5vw, 58px);
  line-height:1.04;
  letter-spacing:-1.4px;
}
.paymentHero .lead{ max-width:760px; }
.paymentSection{ padding:12px 0 48px; }
.paymentLayout{
  display:grid;
  grid-template-columns:minmax(260px, .72fr) minmax(0, 1.28fr);
  gap:18px;
  align-items:start;
}
.paymentSummary{
  position:sticky;
  top:112px;
  display:grid;
  gap:8px;
  padding:22px;
}
.paymentSummary__label,
.paymentSummary__region{
  color:var(--muted);
  font-weight:700;
}
.paymentAmount{
  font-size:clamp(34px, 5vw, 52px);
  line-height:1.05;
  letter-spacing:-1px;
}
.paymentCard{ padding:22px; }
.paymentCard h2{ margin:0 0 6px; }
.paymentForm{ margin-top:20px; }
.paymentForm > div:not(.paymentNotice):not(.error){ display:grid; gap:6px; }
.paymentFieldset{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:0;
  padding:0;
  border:0;
}
.paymentFieldset legend{
  grid-column:1 / -1;
  margin-bottom:4px;
  font-size:13px;
  font-weight:800;
}
.priceOption{ cursor:pointer; }
.priceOption input{
  position:absolute;
  inline-size:1px;
  block-size:1px;
  opacity:0;
  pointer-events:none;
}
.priceOption__body{
  min-height:78px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(14,21,20,.18);
  background:rgba(255,255,255,.48);
}
.priceOption__body span{ color:var(--muted); font-size:13px; }
.priceOption__body b{ font-size:20px; }
.priceOption input:checked + .priceOption__body{
  border-color:rgba(14,21,20,.38);
  background:linear-gradient(145deg, rgba(255,197,45,.38), rgba(255,224,138,.46));
  box-shadow:0 0 0 3px rgba(255,197,45,.18);
}
.priceOption input:focus-visible + .priceOption__body{
  outline:3px solid rgba(14,21,20,.34);
  outline-offset:2px;
}
.paymentConsent{
  display:grid;
  grid-template-columns:22px 1fr;
  align-items:start;
  gap:9px;
  padding:4px 0;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}
.paymentConsent input{
  width:18px;
  height:18px;
  margin:1px 0 0;
  accent-color:var(--accent-2);
}
.paymentForm.was-validated .is-invalid > input:not([type="checkbox"]){
  border-color:var(--danger);
  background:rgba(176,18,59,.045);
  box-shadow:0 0 0 3px rgba(176,18,59,.13);
}
.paymentForm.was-validated .is-invalid > input:not([type="checkbox"]):hover,
.paymentForm.was-validated .is-invalid > input:not([type="checkbox"]):focus{
  border-color:var(--danger);
  box-shadow:0 0 0 4px rgba(176,18,59,.19);
}
.paymentForm.was-validated .is-invalid > label,
.paymentForm.was-validated .paymentConsent.is-invalid{
  color:var(--danger);
}
.paymentForm.was-validated .paymentConsent.is-invalid{
  border-radius:12px;
  outline:2px solid rgba(176,18,59,.30);
  outline-offset:3px;
  background:rgba(176,18,59,.045);
}
.paymentForm.was-validated .paymentConsent.is-invalid input{
  accent-color:var(--danger);
}
.paymentConsent__link{
  color:var(--ink);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:2px;
}
.paymentConsent__link:hover{ text-decoration-thickness:2px; }
.requiredMark{
  color:var(--danger);
  font-weight:800;
}
.paymentSubmit{ width:100%; }
.paymentSubmit[disabled]{
  cursor:wait;
  opacity:.76;
}
.paymentNotice{
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(43,182,115,.28);
  background:rgba(43,182,115,.11);
}
.paymentNotice[hidden]{ display:none; }
.paymentNotice p{ margin:6px 0 0; color:var(--muted); font-weight:600; font-size:14px; }

/* Refund policy */
.refundSection{ padding:0 0 48px; }
.refundPolicy{ padding:22px; }
.refundPolicy .sectionTitle{ margin-bottom:18px; }
.refundPolicy__steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}
.refundPolicy__steps li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:14px;
  border-radius:18px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.48);
}
.refundPolicy__number{
  flex:0 0 auto;
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(14,21,20,.10);
  background:rgba(255,197,45,.28);
  font-weight:800;
}
.refundPolicy__steps b{ display:block; margin-bottom:4px; }
.refundPolicy__steps p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
}
.refundPolicy__legal{
  margin-top:14px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(43,182,115,.28);
  background:rgba(43,182,115,.10);
}
.refundPolicy__legal h3{ margin:0 0 6px; font-size:16px; }
.refundPolicy__legal p{
  margin:0;
  color:var(--muted);
  font-size:13px;
  font-weight:600;
}
.refundPolicy__fine{
  margin:12px 0 0;
  color:var(--muted);
  font-size:12px;
  font-weight:600;
}

/* Payment status pages */
.paymentStatusMain{
  min-height:calc(100vh - 270px);
  display:grid;
  align-items:center;
  padding:42px 0 64px;
}
.paymentStatusCard{
  max-width:700px;
  margin:0 auto;
  padding:clamp(24px, 5vw, 44px);
  text-align:center;
}
.paymentStatusIcon{
  width:70px;
  height:70px;
  margin:0 auto 18px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(176,18,59,.22);
  background:rgba(176,18,59,.10);
  color:var(--danger);
  font-size:34px;
  font-weight:800;
}
.paymentStatusIcon--success{
  background:rgba(43,182,115,.16);
  color:#137A49;
}
.paymentStatusCard h1{
  margin:0 0 10px;
  font-size:clamp(30px, 5vw, 46px);
  line-height:1.1;
  letter-spacing:-.8px;
}
.paymentStatusCard p{
  max-width:58ch;
  margin:0 auto;
  color:var(--muted);
  font-weight:600;
}
.paymentStatusCard .paymentStatusOrder{
  margin-top:12px;
  font-size:13px;
  letter-spacing:.02em;
}
.paymentStatusActions{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:24px;
}

/* Responsive */
@media (max-width: 940px){
  .hero__grid{ grid-template-columns: 1fr; }
  .metrics{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .how{ grid-template-columns: 1fr; }
  .contact{ grid-template-columns: 1fr; }
  .formRow{ grid-template-columns: 1fr; }
  .paymentLayout{ grid-template-columns:1fr; }
  .paymentSummary{ position:static; }
  .refundPolicy__steps{ grid-template-columns:1fr; }
}

@media (max-width: 640px){
  .container{ width: min(var(--max), calc(100% - 28px)); }

  .nav--desktop{ display:none; }
  .burger{ display:inline-grid; place-items:center; }

  /* кнопки в шапке — строго в колонку */
  .topbar__inner{
    display:grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand burger"
      "cta cta"
      "menu menu";
    align-items:center;
    gap:10px;
  }
  .brand{ grid-area: brand; }
  .burger{ grid-area: burger; justify-self:end; }
  .cta{
    grid-area: cta;
    width:100%;
    display:grid;
    grid-template-columns: 1fr;
    gap:10px;
  }
  .btn{
    width:100%;
    min-height:44px;
    white-space: normal;
  }
  .btn--primary{ order:1; }
  .btn--ghost{ order:2; }

  .nav--mobile{ grid-area: menu; }
  .heroCard{ padding: 18px; }
  .sideCard{ padding: 16px; }
  .sideCard__illu{ min-height: 190px; }
  .bubble{ font-size: 13px; padding: 8px 10px; }

  .faqMedia{ grid-template-columns: 1fr; }
  .homePaymentCta__card{ align-items:stretch; flex-direction:column; }
  .homePaymentCta__card .btn{ width:100%; }
  .paymentHeader{
    flex-direction:row;
    align-items:center;
  }
  .paymentHeader__back{
    width:auto;
    min-height:40px;
    padding:9px 12px;
    font-size:13px;
  }
  .paymentHero{ padding-top:22px; }
  .paymentFieldset{ grid-template-columns:1fr; }
  .paymentStatusActions{ display:grid; }
  .paymentStatusActions .btn--primary{ order:0; }
}

@media (max-width: 420px){
  .container{ width: min(var(--max), calc(100% - 22px)); }
  h1{ letter-spacing: -0.3px; }
  .metric b{ font-size: 16px; }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
}

/* ===== Header / Burger / Drawer ===== */

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:12px 0;
}

.nav--desktop{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  font-weight:600;
}

.burger{
  display:none;
  width:44px; height:44px;
  border-radius: 14px;
  border:1px solid rgba(14,21,20,.16);
  background: rgba(255,255,255,.55);
  box-shadow: 0 10px 22px rgba(14,21,20,.08);
  cursor:pointer;
  position: relative;
}

.burger__lines{
  display:block;
  width:20px; height:2px;
  background: var(--ink);
  border-radius: 99px;
  margin: 0 auto;
  position: relative;
  transition: transform .18s ease, background .18s ease;
}
.burger__lines::before,
.burger__lines::after{
  content:"";
  position:absolute;
  left:0;
  width:20px; height:2px;
  background: var(--ink);
  border-radius: 99px;
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}
.burger__lines::before{ top:-6px; }
.burger__lines::after{ top:6px; }

/* Overlay */
.overlay{
  position: fixed;
  inset: 0;
  background: rgba(14,21,20,.28);
  z-index: 80;
}

/* Drawer */
.drawer{
  position: fixed;
  top: 0; right: 0;
  height: 100dvh;
  width: min(360px, 86vw);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 90;

  transform: translateX(100%);
  transition: transform .2s ease;
  padding: 14px;
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 6px 2px 10px;
  border-bottom: 1px solid var(--line);
}

.drawer__title{
  font-weight: 800;
  letter-spacing: -.2px;
}

.drawer__close{
  width:44px; height:44px;
  border-radius: 14px;
  border:1px solid rgba(14,21,20,.16);
  background: rgba(255,255,255,.55);
  cursor:pointer;
  font-size: 26px;
  line-height: 1;
}

.nav--drawer{
  display:grid;
  gap:8px;
  padding-top: 10px;
}
.nav--drawer a{
  display:block;
  padding: 12px 12px;
  border-radius: 14px;
  font-weight: 800;
  background: rgba(255,255,255,.55);
  border: 1px solid var(--line);
}
.nav--drawer a:hover{
  background: rgba(255,197,45,.18);
  text-decoration: none;
}

/* Open state */
html.menu-open .drawer{ transform: translateX(0); }
html.menu-open .overlay{ display:block; }
html.menu-open{ overflow:hidden; }

/* Animate burger to X when open */
html.menu-open .burger__lines{ background: transparent; }
html.menu-open .burger__lines::before{ top:0; transform: rotate(45deg); }
html.menu-open .burger__lines::after{ top:0; transform: rotate(-45deg); }

/* Responsive */
@media (max-width: 940px){
  .nav--desktop{ display:none; }
  .burger{ display:inline-grid; place-items:center; }
}
.videoPreview.is-playing img,
.videoPreview.is-playing .videoPreview__play,
.videoPreview.is-playing .videoPreview__label {
  display: none;
}
/* video tag */
.videoPreview video {
  width: 100%; height: 100%;
  min-height: 100%; min-width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 18px;
  background: #000;
}

.realvideo {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;       /* в "карточке", не при fullscreen */
  object-fit: cover;        /* чтобы в блоке thumbnail было красиво */
  border-radius: 18px;      /* как карточка */ 
  background: #000;
}

/* при fullscreen: убираем aspect, растягиваем, НЕ обрезаем */
.realvideo:fullscreen,
.realvideo:-webkit-full-screen,
.realvideo:-moz-full-screen,
.realvideo:-ms-fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  aspect-ratio: unset !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: #000 !important;
}

