/* ============================================================
   Виктория Райдос — лендинг
   Дизайн по макету первого экрана (1200 / 360) и брендбуку «Сила только в нас».
   ============================================================ */

:root {
  --bg: #040404;
  --bg-2: #0B0A09;
  --white: #FEFEFE;
  --text: #DBD9D1;
  --text-2: rgba(219, 217, 209, .72);
  --muted: rgba(219, 217, 209, .5);
  --gold: #ECC989;
  --gold-soft: #F2E3C4;
  --gold-line: rgba(236, 201, 137, .22);
  --gold-line-2: rgba(236, 201, 137, .45);
  --persimmon: #E6682D;
  --ok: #4FC08D;
  --err: #F0705A;

  --grad-gold: linear-gradient(90deg, #F6C281 0%, #C39A67 50%, #97774F 100%);
  --grad-gold-border: linear-gradient(90deg, #F8C483, #C79D69);

  --font-display: "Tenor Sans", "Trebuchet MS", Arial, sans-serif;
  --font-body: "Raleway", "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 6px;
  --card-radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 500; color: var(--white); }
[hidden] { display: none !important; }
svg { flex: none; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 60px; }

/* ---------- Кнопки (как в макете) ---------- */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 58px; padding: 0 40px;
  border: 0; border-radius: var(--radius);
  background: var(--grad-gold);
  color: #040404;
  font: 400 20px/1 var(--font-body);
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: filter .25s, box-shadow .25s, transform .2s;
}
.btn-gold:hover { filter: brightness(1.1); box-shadow: 0 10px 40px -10px rgba(246, 194, 129, .55); transform: translateY(-1px); }
.btn-outline {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  border-radius: var(--radius);
  background: transparent;
  color: var(--gold-soft);
  font: 400 16px/1 var(--font-body);
  text-decoration: none; text-align: center; white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: color .25s;
}
.btn-outline::before {             /* золотая градиентная рамка 1px */
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1px;
  background: var(--grad-gold-border);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn-outline::after { content: ""; position: absolute; inset: 0; z-index: -2; border-radius: inherit; background: var(--grad-gold); opacity: 0; transition: opacity .25s; }
.btn-outline:hover { color: #040404; }
.btn-outline:hover::after { opacity: 1; }
.btn-block { width: 100%; }
.btn-gold:focus-visible, .btn-outline:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Шапка ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s, backdrop-filter .3s, box-shadow .3s;
}
.topbar.is-scrolled {
  background: rgba(4, 4, 4, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--gold-line);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1200px; margin: 0 auto;
  padding: 40px 60px 0;
  height: 48px;
  box-sizing: content-box;
  transition: padding .3s, height .3s;
}
.topbar.is-scrolled .topbar__inner { padding-top: 12px; padding-bottom: 12px; height: 48px; }
.topbar__logo { display: block; flex: none; }
.logo-stacked { width: 70px; height: auto; transition: width .3s; }
.topbar.is-scrolled .logo-stacked { width: 52px; }
.logo-line { display: none; width: 153px; height: auto; }
.nav { display: flex; gap: 41px; margin-left: auto; margin-right: 72px; }
.nav a { font-size: 14px; font-weight: 300; color: var(--text); text-decoration: none; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--gold); }
.topbar .btn-outline { width: 192px; }

/* ============================================================
   1. HERO — пиксель-в-пиксель по макету 1200×832, масштабируется через --u
   ============================================================ */
.hero {
  --u: min(1px, calc(100vw / 1200));
  position: relative;
  overflow: hidden;
  background: var(--bg) url("img/marble.webp") center / cover no-repeat;
}
.hero::after {                          /* лёгкое затемнение, чтобы фото и текст читались */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 4, 4, .55) 0%, rgba(4, 4, 4, .15) 45%, rgba(4, 4, 4, 0) 100%);
  pointer-events: none;
}
.hero__frame { position: relative; z-index: 1; max-width: 1200px; height: calc(832 * var(--u)); margin: 0 auto; }

.hero__content { position: absolute; z-index: 3; left: calc(60 * var(--u)); top: calc(148 * var(--u)); width: calc(720 * var(--u)); }
.hero__badge { display: flex; align-items: center; gap: calc(20 * var(--u)); color: var(--gold); font-size: calc(24 * var(--u)); line-height: 1.3; font-weight: 300; }
.hero__badge img { width: calc(30 * var(--u)); height: auto; }
.hero__title { margin-top: calc(56 * var(--u)); font-family: var(--font-display); font-weight: 400; color: var(--white); }
.hero__title-1 { display: block; max-width: calc(560 * var(--u)); font-size: calc(62 * var(--u)); line-height: 1.06; letter-spacing: .01em; }
.hero__title-2 { display: block; max-width: calc(420 * var(--u)); margin-top: calc(16 * var(--u)); font-size: calc(46 * var(--u)); line-height: 1.11; letter-spacing: .02em; }
.hero__lead { margin-top: calc(16 * var(--u)); font-size: calc(24 * var(--u)); line-height: 1.2; color: var(--text); font-weight: 300; }
.hero__btn { margin-top: calc(41 * var(--u)); width: calc(267 * var(--u)); min-height: calc(58 * var(--u)); padding: 0; font-size: calc(24 * var(--u)); }

.hero__visual { position: absolute; inset: 0; pointer-events: none; }
.hero__ring {
  position: absolute; left: calc(558 * var(--u)); top: calc(163 * var(--u));
  width: calc(578 * var(--u)); aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(170deg, #D9AE75 0%, rgba(206, 166, 115, .75) 25%, rgba(120, 95, 60, .35) 60%, rgba(90, 75, 50, .2) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}
.hero__glow { position: absolute; left: calc(508 * var(--u)); top: calc(38 * var(--u)); width: calc(623 * var(--u)); height: calc(864 * var(--u)); max-width: none; opacity: .55; mix-blend-mode: screen; }
.hero__photo { position: absolute; left: calc(508 * var(--u)); top: calc(35 * var(--u)); width: calc(621 * var(--u)); height: auto; max-width: none; }

.hero__sign { position: absolute; z-index: 3; left: calc(60 * var(--u)); top: calc(737 * var(--u)); }
.hero__line { display: block; width: calc(250 * var(--u)); height: 1px; background: linear-gradient(90deg, #E4B478, rgba(107, 84, 56, .6) 60%, transparent); }
.hero__sign img { width: calc(186 * var(--u)); height: auto; margin-top: calc(9 * var(--u)); margin-left: calc(-2 * var(--u)); }
.hero__eye { position: absolute; z-index: 3; left: calc(1074 * var(--u)); top: calc(727 * var(--u)); width: calc(68 * var(--u)); height: auto; }

/* ============================================================
   ОБЩИЕ СЕКЦИИ
   ============================================================ */
.section { position: relative; padding-block: 112px; }
.section--dark2 { background: var(--bg-2); }
.section--marble { background: var(--bg) url("img/marble.webp") center / cover no-repeat; }
.section--marble::before { content: ""; position: absolute; inset: 0; background: rgba(4, 4, 4, .78); }
.section--marble > .container { position: relative; }

.head { max-width: 760px; margin-bottom: 56px; }
.head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--gold); font-size: 18px; font-weight: 300; }
.kicker img { width: 22px; height: auto; }
.kicker--center { justify-content: center; }
.title { font: 400 52px/1.08 var(--font-display); color: var(--white); letter-spacing: .01em; text-wrap: balance; }
.title--sm { font-size: 38px; }
.lead { margin-top: 20px; font-size: 20px; line-height: 1.5; color: var(--text); max-width: 640px; }

/* ---------- Полоса доверия ---------- */
.trust { background: var(--bg); border-block: 1px solid var(--gold-line); }
.trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1200px; margin: 0 auto; padding-inline: 60px; }
.trust__list li { display: flex; align-items: center; gap: 16px; padding: 28px 20px; }
.trust__list li + li { border-left: 1px solid var(--gold-line); }
.trust__list svg { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.trust__list span { font-size: 14px; line-height: 1.35; color: var(--text-2); }
.trust__list b { display: block; margin-bottom: 2px; font: 400 17px/1.2 var(--font-display); color: var(--white); }

/* ---------- 2. Для кого ---------- */
.states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.state {
  position: relative;
  padding: 30px 28px 30px;
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, rgba(236, 201, 137, .06), rgba(236, 201, 137, .015));
  border: 1px solid var(--gold-line);
  transition: border-color .3s, transform .3s;
}
.state:hover { border-color: var(--gold-line-2); transform: translateY(-2px); }
.state__star { width: 22px; height: auto; }
.state h3 { margin-top: 18px; font: 400 23px/1.2 var(--font-display); color: var(--white); }
.state p { margin-top: 8px; font-size: 16px; color: var(--text-2); }

.combo {
  display: flex; align-items: center; gap: 28px;
  margin-top: 24px; padding: 26px 34px;
  border-radius: var(--card-radius);
  background: radial-gradient(ellipse at 0% 50%, rgba(246, 194, 129, .16), transparent 60%), var(--bg-2);
  border: 1px solid var(--gold-line-2);
}
.combo__eye { width: 56px; height: auto; flex: none; }
.combo__text { flex: 1; }
.combo__title { font: 400 24px/1.25 var(--font-display); color: var(--white); }
.combo__text p:last-child { margin-top: 4px; font-size: 17px; }
.combo__text b { color: var(--gold); }

/* ---------- 3. Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.step {
  position: relative;
  padding: 30px 30px 32px;
  border-radius: var(--card-radius);
  background: rgba(4, 4, 4, .6);
  border: 1px solid var(--gold-line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.step__n { display: block; font: 400 44px/1 var(--font-display); color: transparent; -webkit-text-stroke: 1px var(--gold); }
.step h3 { margin-top: 18px; font: 400 23px/1.2 var(--font-display); color: var(--white); }
.step p { margin-top: 8px; font-size: 16px; color: var(--text-2); }
.step--accent { border-color: var(--gold); background: linear-gradient(160deg, rgba(246, 194, 129, .18), rgba(4, 4, 4, .7) 60%); }
.step--accent .step__n { color: var(--gold); -webkit-text-stroke: 0; }

.note {
  display: flex; align-items: center; gap: 18px;
  margin-top: 32px; padding: 22px 26px 22px 30px;
  border-radius: var(--card-radius);
  border: 1px solid var(--gold-line-2);
  background: rgba(4, 4, 4, .65);
}
.note img { width: 26px; height: auto; }
.note p { flex: 1; font-size: 18px; }
.note .btn-gold { min-height: 52px; font-size: 18px; padding: 0 32px; }

/* ---------- 4. Гарантия ---------- */
.guarantee {
  position: relative; overflow: hidden;
  padding-block: 110px;
  text-align: center;
  background: radial-gradient(ellipse 45% 70% at 50% 50%, rgba(246, 194, 129, .16), transparent 70%), var(--bg);
  border-block: 1px solid var(--gold-line);
}
.guarantee::before {                    /* кольцо как на первом экране */
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 620px; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%;
  background: linear-gradient(170deg, rgba(217, 174, 117, .8), rgba(120, 95, 60, .15));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  opacity: .6;
}
.guarantee__inner { position: relative; max-width: 900px; }
.guarantee__eye { width: 60px; height: auto; margin: 0 auto 26px; }
.guarantee__quote { font: 400 40px/1.3 var(--font-display); color: var(--white); text-wrap: balance; }
.guarantee__sign { margin-top: 26px; color: var(--gold); font-size: 18px; }

/* Переключатель тарифов нужен только на телефоне (стили — в @media ниже) */
.plan-tabs { display: none; }

/* ---------- Карусели / горизонтальные ленты ---------- */
.carousel__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * 24px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar, .scroller::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__bar { height: 2px; margin-top: 32px; background: var(--gold-line); overflow: hidden; }
.carousel__bar span { display: block; height: 100%; width: 30%; background: var(--grad-gold-border); transition: transform .15s; }

.arrows { display: flex; gap: 12px; }
.arrows.is-idle { visibility: hidden; }
.arrow {
  position: relative;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 1px solid var(--gold-line-2);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, opacity .25s;
}
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.arrow--prev svg { transform: rotate(180deg); }
.arrow:hover:not(:disabled) { background: var(--grad-gold); border-color: transparent; color: #040404; }
.arrow:disabled { opacity: .3; cursor: default; }

/* ---------- 6. Отзывы ---------- */
.review {
  display: flex; flex-direction: column;
  padding: 26px 26px 0;
  border-radius: var(--card-radius);
  background: linear-gradient(180deg, rgba(236, 201, 137, .07), rgba(236, 201, 137, .02));
  border: 1px solid var(--gold-line);
  overflow: hidden;
}
.review__tag { align-self: flex-start; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--gold-line-2); color: var(--gold); font-size: 13px; }
.review__quote { margin-top: 16px; min-height: 3.9em; font: 400 20px/1.3 var(--font-display); color: var(--white); }
/* скриншоты разного размера — одинаковое «окно» телефона, верх скриншота, затемнение и кнопка */
.review__shot {
  position: relative; display: block;
  margin: 22px -26px 0; padding: 0;
  height: 340px;
  border: 0; border-top: 1px solid var(--gold-line);
  background: #111;
  cursor: zoom-in;
  overflow: hidden;
}
.review__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.review__shot::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, transparent, rgba(11, 10, 9, .96)); }
.review__shot span {
  position: absolute; z-index: 1; left: 50%; bottom: 20px; transform: translateX(-50%);
  padding: 10px 20px; border-radius: 999px;
  background: rgba(4, 4, 4, .75); border: 1px solid var(--gold-line-2);
  color: var(--gold-soft); font-size: 14px; white-space: nowrap;
}
.review__shot:hover img { transform: scale(1.03); }

/* ---------- 7. Цены ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; padding-top: 16px; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  padding: 36px 32px 32px;
  border-radius: var(--card-radius);
  background: rgba(4, 4, 4, .72);
  border: 1px solid var(--gold-line);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.plan--best { padding-block: 36px 32px; border-color: var(--gold); background: linear-gradient(170deg, rgba(246, 194, 129, .2), rgba(4, 4, 4, .85) 55%); box-shadow: 0 30px 80px -30px rgba(246, 194, 129, .35); }
.plan__badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); padding: 7px 16px; border-radius: var(--radius); background: var(--grad-gold); color: #040404; font-size: 14px; font-weight: 500; white-space: nowrap; }
.plan__name { font: 400 28px/1.15 var(--font-display); color: var(--white); }
.plan__desc { margin-top: 6px; font-size: 15px; color: var(--text-2); }
.plan__price { margin-top: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--gold-line); font: 400 50px/1 var(--font-display); color: var(--gold); }
.plan__price s { margin-right: 8px; font-size: 22px; color: var(--muted); text-decoration-thickness: 1px; }
.plan__sub { margin-top: 20px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 400; }
.plan__list { display: grid; gap: 8px; margin: 12px 0 18px; }
.plan__term { margin-bottom: 24px; padding-top: 14px; border-top: 1px solid var(--gold-line); font-size: 15px; color: var(--white); font-weight: 400; }
.always { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: -24px 0 40px; }
.always li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text); }
.always svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.plan__list li { position: relative; padding-left: 26px; font-size: 15px; color: var(--text); }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; background: url("img/star-gold.svg") center / contain no-repeat; }
.plan .btn-gold, .plan .btn-outline { margin-top: auto; min-height: 52px; font-size: 17px; }

.question {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
  margin-top: 28px; padding: 28px 34px;
  border-radius: var(--card-radius);
  background: rgba(4, 4, 4, .72);
  border: 1px dashed var(--gold-line-2);
}
.question__price { display: grid; place-items: center; width: 110px; height: 110px; border-radius: 50%; border: 1px solid var(--gold); font: 400 32px/1 var(--font-display); color: var(--gold); }
.question h3 { font: 400 23px/1.25 var(--font-display); color: var(--white); }
.question p { margin-top: 8px; font-size: 15.5px; color: var(--text-2); }

/* ---------- 8. Форма + FAQ ---------- */
.request { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; }
.form-card {
  position: relative; overflow: hidden;
  padding: 44px;
  border-radius: 18px;
  background: var(--bg-2);
  border: 1px solid var(--gold-line-2);
}
.form-card__glow { position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(246, 194, 129, .22), transparent 70%); pointer-events: none; }
.form-card > *:not(.form-card__glow) { position: relative; }
.form-card__lead { margin-top: 14px; font-size: 16.5px; color: var(--text-2); }

.choice {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin-top: 22px; padding: 14px 18px;
  border-radius: 10px;
  background: rgba(246, 194, 129, .1);
  border: 1px solid var(--gold-line-2);
  font-size: 15px;
}
.choice b { color: var(--gold); font-weight: 500; }
.choice a { margin-left: auto; color: var(--gold-soft); font-size: 14px; }
.choice-empty { display: inline-block; margin-top: 18px; color: var(--gold); font-size: 15px; }
.choice.is-flash { animation: flash .9s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(246, 194, 129, .6); } 100% { box-shadow: 0 0 0 14px rgba(246, 194, 129, 0); } }
.form { display: grid; gap: 18px; margin-top: 24px; }
.field__label { display: block; margin-bottom: 8px; font-size: 15px; font-weight: 400; color: var(--text); }
.field__optional { color: var(--muted); }
.field__hint { margin-top: 7px; font-size: 13px; color: var(--muted); }

.control {
  position: relative;
  display: flex; align-items: stretch;
  border-radius: var(--radius);
  background: rgba(254, 254, 254, .04);
  border: 1px solid rgba(236, 201, 137, .3);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.control:focus-within { border-color: var(--gold); background: rgba(254, 254, 254, .06); box-shadow: 0 0 0 3px rgba(236, 201, 137, .12); }
.control__input {
  flex: 1; min-width: 0; width: 100%;
  padding: 16px 50px 16px 18px;
  border: 0; outline: 0; background: transparent;
  color: var(--white);
  font: 400 17px/1.4 var(--font-body);
  font-variant-numeric: lining-nums;
  border-radius: inherit;
}
.control__input::placeholder { color: rgba(219, 217, 209, .38); }
textarea.control__input { resize: vertical; min-height: 84px; }
.control__check {
  position: absolute; right: 16px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px;
  fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transform: scale(.6);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
}
.control--textarea .control__check { top: 16px; margin-top: 0; }
.control.is-valid { border-color: var(--ok); }
.control.is-valid:focus-within { box-shadow: 0 0 0 3px rgba(79, 192, 141, .18); }
.control.is-valid .control__check { opacity: 1; transform: scale(1); }

.country { position: relative; flex: none; display: flex; align-items: center; border-right: 1px solid rgba(236, 201, 137, .2); }
.country__code { display: flex; align-items: center; gap: 8px; padding: 0 14px 0 18px; font-size: 17px; font-weight: 400; color: var(--white); white-space: nowrap; }
.country__code::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold); transform: translateY(-2px) rotate(45deg); }
.country__select { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.country__select option { color: #040404; }
.control--phone .control__input { padding-left: 14px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 6px; min-height: 60px; font-size: 20px; }
.form__submit[disabled] { opacity: .7; cursor: progress; filter: none; }
.form.is-sent .form__submit[disabled] { background: var(--ok); color: #040404; opacity: 1; cursor: default; }
.form__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.form__trust li { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--text-2); }
.form__trust svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.form__error { color: var(--err); font-size: 15px; font-weight: 400; }

.form__success { display: flex; gap: 14px; margin-top: 22px; padding: 18px 20px; border-radius: 10px; background: rgba(79, 192, 141, .1); border: 1px solid var(--ok); }
.form__success-icon { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: rgba(79, 192, 141, .18); fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.form__success-title { font-weight: 500; color: var(--white); }
.form__success p:not(.form__success-title) { font-size: 15.5px; color: var(--text); }

.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq__item { border-radius: 10px; background: var(--bg-2); border: 1px solid var(--gold-line); transition: border-color .25s; }
.faq__item[open] { border-color: var(--gold-line-2); }
.faq__item summary {
  position: relative;
  padding: 18px 54px 18px 22px;
  font-size: 17px; font-weight: 400; color: var(--white);
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 22px; height: 22px; margin-top: -11px;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat;
  transition: transform .25s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; font-size: 16px; color: var(--text-2); }

/* ---------- Футер ---------- */
.footer { padding-block: 36px; border-top: 1px solid var(--gold-line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer img { width: 170px; height: auto; }
.footer p { font-size: 14px; color: var(--muted); }

/* ---------- Лайтбокс ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4, 4, 4, .94); }
.lightbox__scroll { height: 100%; overflow-y: auto; padding: 60px 16px 40px; }
.lightbox__img { width: min(100%, 560px); margin: 0 auto; border-radius: 10px; }
.lightbox__close { position: fixed; top: 10px; right: 14px; z-index: 1; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(236, 201, 137, .15); color: var(--gold); font-size: 30px; line-height: 1; cursor: pointer; }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1180px) {
  .nav { gap: 26px; margin-right: 32px; }
  .nav a { font-size: 14px; }
}

@media (max-width: 1100px) {
  .container, .trust__list { padding-inline: 40px; }
  .topbar__inner { padding-inline: 40px; }
  .nav { display: none; }
  .title { font-size: 44px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__list li:nth-child(3) { border-left: 0; }
  .trust__list li:nth-child(n+3) { border-top: 1px solid var(--gold-line); }
  .request { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------- Первый экран: мобильный макет 360, масштаб до 1.6 ---------- */
@media (max-width: 900px) {
  .topbar__inner { padding: 30px 20px 16px; height: 34px; }
  .topbar.is-scrolled .topbar__inner { padding-top: 10px; padding-bottom: 10px; }
  .logo-stacked { display: none; }
  .logo-line { display: block; }
  .topbar .btn-outline { width: auto; min-height: 40px; padding: 0 16px; font-size: 14px; }

  .hero {
    --m: clamp(1px, calc(100vw / 360), 1.6px);
    background-position: 30% center;
  }
  .hero::after { background: linear-gradient(180deg, rgba(4, 4, 4, .35), rgba(4, 4, 4, 0) 45%); }
  .hero__frame { height: auto; display: flex; flex-direction: column; }
  .hero__content { position: relative; left: auto; top: auto; width: auto; padding: calc(96 * var(--m)) 20px 0; }
  .hero__badge { gap: calc(10 * var(--m)); font-size: calc(16 * var(--m)); line-height: 1.3; }
  .hero__badge img { width: calc(25 * var(--m)); }
  .hero__badge span { max-width: calc(230 * var(--m)); }
  .hero__title { margin-top: calc(14 * var(--m)); }
  .hero__title-1 { max-width: none; font-size: calc(40 * var(--m)); line-height: 1.04; }
  .hero__title-2 { max-width: calc(280 * var(--m)); margin-top: calc(4 * var(--m)); font-size: calc(30 * var(--m)); line-height: 1.05; }
  .hero__lead { margin-top: calc(8 * var(--m)); font-size: calc(15 * var(--m)); }
  .hero__btn { margin-top: calc(20 * var(--m)); width: calc(150 * var(--m)); min-height: calc(36 * var(--m)); font-size: calc(15 * var(--m)); }

  .hero__visual { position: relative; inset: auto; height: calc(450 * var(--m)); margin-top: calc(6 * var(--m)); overflow: hidden; }
  .hero__ring { left: 50%; top: calc(46 * var(--m)); width: calc(342 * var(--m)); transform: translateX(-50%); }
  .hero__glow { left: 50%; top: 0; width: calc(330 * var(--m)); height: calc(460 * var(--m)); transform: translateX(-50%); }
  .hero__photo { left: 50%; top: calc(-22 * var(--m)); width: calc(400 * var(--m)); transform: translateX(-47%); }
  .hero__sign { display: none; }
  .hero__eye { left: auto; right: 20px; top: auto; bottom: calc(40 * var(--m)); width: calc(42 * var(--m)); z-index: 4; }

  .section { padding-block: 80px; }
  .head--row { align-items: flex-end; }
  .states { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guarantee__quote { font-size: 32px; }
  .guarantee::before { width: 440px; }
  .question { grid-template-columns: auto 1fr; }
  .question .btn-outline { grid-column: 1 / -1; }
}

/* ---------- Телефоны ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 74px; }
  .container, .trust__list { padding-inline: 20px; }
  .section { padding-block: 64px; }
  .head { margin-bottom: 32px; }
  .kicker { font-size: 15px; margin-bottom: 14px; }
  .kicker img { width: 18px; }
  .title { font-size: 32px; }
  .title--sm { font-size: 28px; }
  .lead { font-size: 16.5px; margin-top: 14px; }

  .trust__list li { flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 14px; }
  .trust__list li:nth-child(odd) { padding-left: 0; }
  .trust__list svg { width: 26px; height: 26px; }
  .trust__list b { font-size: 15px; }
  .trust__list span { font-size: 13px; }

  .states { grid-template-columns: 1fr 1fr; gap: 10px; }
  .state { padding: 18px 16px; }
  .state__star { width: 16px; }
  .state h3 { margin-top: 10px; font-size: 17px; }
  .state p { font-size: 13.5px; }
  .always { margin: -12px 0 24px; gap: 8px; flex-direction: column; }
  .always li { font-size: 14.5px; }
  .combo { flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; }
  .combo__eye { width: 44px; }
  .combo__title { font-size: 20px; }
  .combo .btn-gold { width: 100%; }

  /* горизонтальная лента остаётся только у отзывов */
  .carousel__track {
    grid-auto-columns: 84%;
    gap: 12px;
    margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px;
  }

  /* «Как проходит работа» — плитки 2×3 с описаниями */
  .steps {
    display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: row; gap: 6px;
    margin: 0; padding: 0; overflow: visible; border: 0;
  }
  .step { padding: 12px 12px 14px; border: 1px solid var(--gold-line); border-radius: 12px; background: rgba(4, 4, 4, .5); }
  .step__n { font-size: 20px; -webkit-text-stroke: 1px var(--gold); }
  .step h3 { margin-top: 4px; font-size: 14.5px; line-height: 1.18; }
  .step p { margin-top: 4px; font-size: 11.8px; line-height: 1.3; }
  .step--accent { border-color: var(--gold); }
  .step--accent .step__n { color: var(--gold); -webkit-text-stroke: 0; }

  /* плашка с призывом — в столбик, текст на всю ширину */
  .note { flex-direction: column; align-items: stretch; gap: 12px; padding: 18px; }
  .note p { flex: none; width: 100%; font-size: 15px; }
  .note img { width: 22px; }
  .note .btn-gold { width: 100%; min-height: 50px; font-size: 17px; }

  /* Услуги — переключатель тарифов, одна карточка на экране */
  .plan-tabs {
    display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 4px;
    margin-bottom: 14px; padding: 4px;
    border: 1px solid var(--gold-line-2); border-radius: 10px;
  }
  .plan-tabs__btn { min-height: 44px; padding: 0 4px; border: 0; border-radius: 7px; background: transparent; color: var(--text); font-size: 13.5px; cursor: pointer; }
  .plan-tabs__btn.is-active { background: var(--grad-gold); color: #040404; }
  .plans { display: grid; grid-template-columns: 1fr; grid-auto-flow: row; gap: 0; margin: 0; padding: 0; overflow: visible; }
  .plan { display: none; }
  .plan.is-active { display: flex; }
  .plan__badge { position: static; transform: none; align-self: flex-start; margin-bottom: 12px; }
  .plan__list li { font-size: 13.2px; line-height: 1.35; padding-left: 22px; }
  .plan__list { gap: 6px; margin: 10px 0 14px; }
  .plan__sub { margin-top: 14px; }
  .plan__term { margin-bottom: 18px; padding-top: 10px; font-size: 14px; }
  .plan__price { margin-top: 14px; padding-bottom: 14px; }
  .plan__desc { font-size: 14px; }

  .guarantee { padding-block: 72px; }
  .guarantee__quote { font-size: 25px; }
  .guarantee::before { width: 330px; }


  .arrow { width: 46px; height: 46px; }
  .review { padding: 22px 20px 0; }
  .review__quote { font-size: 18px; }
  .review__shot { margin-inline: -20px; height: 300px; }

  .plan { padding: 22px 18px 20px; }
  .plan--best { padding-block: 26px 22px; }
  .plan__price { font-size: 42px; }
  .question { grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; }
  .question__price { width: 84px; height: 84px; font-size: 26px; }
  .question h3 { font-size: 20px; }

  .form-card { padding: 28px 20px; margin-inline: -4px; }
  .form__submit { font-size: 18px; }
  .faq__item summary { font-size: 16px; padding: 16px 50px 16px 18px; }
  .faq__a { padding: 0 18px 18px; font-size: 15.5px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .topbar .btn-outline { padding: 0 12px; font-size: 14px; }
  .logo-line { width: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
