/* TILTVISA — Ezando-style system. Tokens + layout. */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/onest-400-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/onest-400-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: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/onest-600-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/onest-600-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: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/onest-700-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/onest-700-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: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/onest-800-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/onest-800-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 {
  --bg-dark: #101014;
  --card-dark: #1a1a20;
  --card-dark-2: #22222a;
  --bg-light: #f7f4ec;
  --card-light: #ffffff;
  --ink: #16130e;
  --ink-inv: #fdfcf8;
  --accent: #ff6b35;
  --accent-2: #ffb43c;
  --accent-grad: linear-gradient(100deg, var(--accent-2), var(--accent));
  --accent-soft: rgba(255, 122, 61, 0.14);
  --muted-on-dark: #a8a8b0;
  --muted-on-light: #6e6a60;
  --line-on-dark: rgba(255, 255, 255, 0.1);
  --line-on-light: rgba(22, 19, 14, 0.12);
  --r-panel: 28px;
  --r-card: 20px;
  --r-pill: 999px;
  --font: "Onest", "Golos Text", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

section[id] { scroll-margin-top: 96px; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Theme panels ---------- */

.panel-dark {
  background: var(--bg-dark);
  color: var(--ink-inv);
  border-radius: var(--r-panel);
  margin: 12px;
}
.panel-dark + .panel-dark { margin-top: 0; }

.section { padding: 96px 0; }

.section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
}

.muted { color: var(--muted-on-light); }
.panel-dark .muted { color: var(--muted-on-dark); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 24px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn:active { transform: scale(0.98); }

.btn .btn-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* accent pill (primary CTA) */
.btn-light { background: var(--accent-grad); color: var(--ink); }
.btn-light .btn-arrow { background: var(--ink); color: var(--ink-inv); }
.btn-light:hover { filter: brightness(1.06); }

/* dark pill on light */
.btn-dark { background: var(--ink); color: var(--ink-inv); }
.btn-dark .btn-arrow { background: var(--accent-grad); color: var(--ink); }

/* ghost pill on dark */
.btn-ghost {
  border: 1px solid var(--line-on-dark);
  color: var(--ink-inv);
  padding: 15px 28px;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  pointer-events: none;
}
.header-bar {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(17, 17, 19, 0.72);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-pill);
  padding: 8px 8px 8px 22px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.3s var(--ease);
}
.site-header.scrolled .header-bar { background: rgba(11, 11, 12, 0.88); }

.wordmark {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink-inv);
}
.wordmark sup { font-size: 0.55em; font-weight: 600; }

.nav-pill {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-pill);
  padding: 5px;
}
.nav-pill a {
  padding: 8px 18px;
  border-radius: var(--r-pill);
  font-size: 0.95rem;
  color: var(--muted-on-dark);
  transition: color 0.2s, background 0.2s;
}
.nav-pill a:hover { color: var(--ink-inv); background: rgba(255, 255, 255, 0.08); }

.header-right { display: flex; align-items: center; gap: 10px; }

.lang-switch {
  padding: 10px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-on-dark);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-inv);
  transition: background 0.2s;
}
.lang-switch:hover { background: rgba(255, 255, 255, 0.08); }

.header-cta { padding: 10px 20px; border-radius: var(--r-pill); background: var(--accent-grad); color: var(--ink); font-weight: 600; font-size: 0.9rem; transition: filter 0.2s; }
.header-cta:hover { filter: brightness(1.06); }

/* burger (mobile only) */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex: 0 0 auto;
}
.burger span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-inv);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.site-header.nav-open .burger { background: var(--accent-grad); border-color: transparent; }
.site-header.nav-open .burger span { background: var(--ink); }
.site-header.nav-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.site-header.nav-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; padding: 130px 0 72px; }

.hero-photo {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 20, 0.5) 0%, rgba(16, 16, 20, 0.14) 40%, var(--bg-dark) 97%),
    linear-gradient(90deg, rgba(16, 16, 20, 0.78) 0%, rgba(16, 16, 20, 0.24) 58%, rgba(16, 16, 20, 0.02) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  width: 62vw;
  height: 62vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.hero-bg::before {
  top: -28%;
  right: -12%;
  background: radial-gradient(circle, rgba(255, 150, 70, 0.3), rgba(255, 180, 60, 0.1) 45%, transparent 68%);
  animation: drift-a 16s ease-in-out infinite alternate;
}
.hero-bg::after {
  bottom: -34%;
  left: -16%;
  background: radial-gradient(circle, rgba(64, 190, 200, 0.16), rgba(255, 255, 255, 0.03) 50%, transparent 70%);
  animation: drift-b 20s ease-in-out infinite alternate;
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-9%, 12%, 0) scale(1.12); }
}
@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to { transform: translate3d(10%, -9%, 0) scale(0.95); }
}

/* subtle grain over dark panels */
.noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* hero load-in */
.hero h1, .hero-sub, .hero-ctas { opacity: 0; transform: translateY(26px); animation: rise 0.9s var(--ease) forwards; }
.hero h1 { animation-delay: 0.08s; }
.hero-sub { animation-delay: 0.18s; }
.hero-ctas { animation-delay: 0.28s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero .container { position: relative; }

.hero h1 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  max-width: 15ch;
}

.hero-sub {
  margin-top: 26px;
  font-size: 1.15rem;
  max-width: 44ch;
  color: var(--muted-on-dark);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 64px;
}
.hero-stat {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)), var(--card-dark);
  border: 1px solid var(--line-on-dark);
  border-top-color: rgba(255, 255, 255, 0.18);
  border-radius: var(--r-card);
  padding: 22px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.hero-stat:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.24); }
.hero-stat b {
  display: block;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat span { font-size: 0.95rem; color: var(--muted-on-dark); }

/* ---------- Visa table (light) ---------- */

#visas {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(46% 34% at 88% 8%, rgba(255, 165, 70, 0.16), transparent 70%),
    radial-gradient(40% 30% at 4% 92%, rgba(64, 190, 200, 0.1), transparent 70%);
}

.visas-head { max-width: 60ch; margin-bottom: 48px; }
.visas-head p { margin-top: 16px; font-size: 1.05rem; }

.table-scroll { overflow-x: auto; }

.visa-table { min-width: 760px; display: grid; gap: 10px; }

.visa-row {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  background: var(--card-light);
  border-radius: var(--r-card);
  padding: 22px 28px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.visa-row:not(.visa-headrow):hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(58, 36, 19, 0.12);
}
.visa-row.visa-headrow {
  background: none;
  padding-top: 0;
  padding-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted-on-light);
}
.visa-name b { display: block; font-weight: 700; font-size: 1.08rem; }
.visa-name span { font-size: 0.9rem; color: var(--muted-on-light); }
.visa-cell { font-weight: 600; }
.visa-cell small { display: block; font-weight: 400; font-size: 0.85rem; color: var(--muted-on-light); }

.visa-row.row-flagship {
  background: linear-gradient(115deg, #1c1c22 0%, #2a2018 55%, #3a2413 100%);
  color: var(--ink-inv);
  padding-top: 30px;
  padding-bottom: 30px;
  border: 1px solid rgba(255, 140, 70, 0.35);
  position: relative;
  overflow: hidden;
}
.visa-row.row-flagship::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 60, 0.4), transparent 70%);
  pointer-events: none;
}
.visa-row.row-flagship > * { position: relative; z-index: 1; }
.visa-row.row-flagship::before {
  content: "DTV";
  z-index: 0;
  position: absolute;
  right: -10px;
  bottom: -0.28em;
  font-size: 130px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(255, 170, 80, 0.14);
  pointer-events: none;
}
.row-flagship .visa-name span:not(.flag-tag),
.row-flagship .visa-cell small { color: var(--muted-on-dark); }
.row-flagship .flag-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--accent-grad);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  margin-bottom: 10px;
  color: #201409;
}

.visas-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ---------- DTV section (dark) ---------- */

.dtv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 56px;
}
.dtv-tile {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01)), var(--card-dark);
  border: 1px solid var(--line-on-dark);
  border-top-color: rgba(255, 255, 255, 0.16);
  border-radius: var(--r-card);
  padding: 28px 24px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease), border-color 0.3s;
}
.dtv-tile:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.26); }
.dtv-tile.tile-photo {
  padding: 0;
  overflow: hidden;
  position: relative;
  border: 0;
}
.dtv-tile.tile-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.dtv-tile b { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.dtv-tile p { color: var(--muted-on-dark); font-size: 0.95rem; margin-top: 14px; }
.dtv-tile.tile-invert { background: var(--ink-inv); border: 0; }
.dtv-tile.tile-invert b { color: var(--ink); }
.dtv-tile.tile-invert p { color: var(--muted-on-light); }

.dtv-photo-band {
  margin-top: 12px;
  border-radius: var(--r-card);
  overflow: hidden;
  height: clamp(240px, 38vw, 420px);
}
.dtv-photo-band img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }

/* steps */
.steps { margin-top: 96px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: step; }
.step {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 20px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step { border-top-color: rgba(255, 140, 70, 0.28); }
.step h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted-on-dark); }

/* ---------- Services accordion (dark) ---------- */

.services { border-top: 1px solid var(--line-on-dark); }

.acc-item { border-bottom: 1px solid var(--line-on-dark); }

.acc-head {
  width: 100%;
  display: grid;
  grid-template-columns: 110px 1fr 48px;
  align-items: center;
  gap: 24px;
  padding: 34px 0;
  text-align: left;
}
.acc-num {
  font-weight: 800;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: -0.02em;
  color: var(--ink-inv);
}
.acc-item.open .acc-num,
.acc-head:hover .acc-num { color: var(--ink-inv); }

.acc-title-wrap h3 { font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 700; }
.acc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acc-tag {
  font-size: 0.82rem;
  color: var(--muted-on-dark);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--r-pill);
  padding: 6px 14px;
}

.acc-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 400;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.acc-item.open .acc-toggle { background: var(--accent-grad); color: var(--ink); border-color: transparent; transform: rotate(45deg); }

.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.acc-item.open .acc-body { grid-template-rows: 1fr; }
.acc-body-inner { overflow: hidden; }
.acc-body-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
  padding: 0 0 34px 134px;
}
.acc-photo {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.acc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.acc-item.open .acc-photo img { transform: scale(1.03); }
.acc-body p {
  max-width: 58ch;
  color: var(--muted-on-dark);
}

/* ---------- Gallery (light) ---------- */

.gallery { padding-bottom: 32px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.gallery-item {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.gallery-item:nth-child(even) { transform: translateY(26px); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Payment (light) ---------- */

.pay-head { max-width: 56ch; }
.pay-head p { margin-top: 16px; font-size: 1.05rem; }

.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 48px; }
.pay-card {
  background: var(--card-light);
  border-radius: var(--r-card);
  padding: 32px 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pay-card .pay-glyph {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.pay-card h3 { font-size: 1.15rem; font-weight: 700; margin-top: 26px; }
.pay-card p { font-size: 0.95rem; color: var(--muted-on-light); margin-top: 8px; }
.pay-card .pay-glyph {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pay-card.pay-featured { background: linear-gradient(130deg, #241d15, #3a2413 70%, #4a2a12); color: var(--ink-inv); border: 1px solid rgba(255, 140, 70, 0.35); }
.pay-card.pay-featured p { color: var(--muted-on-dark); }
.pay-card.pay-featured .pay-glyph { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; }

.pay-note { margin-top: 28px; font-size: 0.95rem; color: var(--muted-on-light); max-width: 60ch; }

/* ---------- FAQ (light) ---------- */

.faq { border-top: 1px solid var(--line-on-light); }

.faq-item { border-bottom: 1px solid var(--line-on-light); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding: 26px 0;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 700;
}
.faq-q .acc-toggle { border-color: var(--line-on-light); }
.faq-item.open .faq-q .acc-toggle { background: var(--accent-grad); color: var(--ink); border-color: transparent; transform: rotate(45deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; }
.faq-a p { max-width: 62ch; color: var(--muted-on-light); padding-bottom: 26px; }

/* ---------- Reviews (video) ---------- */

.reviews-sub { margin-top: 16px; max-width: 56ch; font-size: 1.05rem; }

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

.review-card {
  background: var(--card-light);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(58, 36, 19, 0.14); }

.review-video {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-dark);
}
.review-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(16, 16, 20, 0.05) 40%, rgba(16, 16, 20, 0.45) 100%);
  transition: opacity 0.3s var(--ease);
}
.review-video.playing .review-play { opacity: 0; pointer-events: none; }

.review-play-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-grad);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  padding-left: 4px;
  box-shadow: 0 10px 30px rgba(16, 16, 20, 0.35);
  transition: transform 0.25s var(--ease);
}
.review-play:hover .review-play-icon { transform: scale(1.08); }

.review-card figcaption { padding: 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.review-card blockquote { font-size: 0.98rem; line-height: 1.5; }
.review-card footer { margin-top: auto; font-size: 0.9rem; }
.review-card footer b { display: block; font-weight: 700; }
.review-card footer span { color: var(--muted-on-light); }

/* ---------- Legal / company (dark) ---------- */

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
/* пока скан лицензии скрыт — не оставляем пустую половину */
.legal-grid:has(.legal-doc[hidden]) { grid-template-columns: 1fr; max-width: 760px; }
.legal-info .section-title { max-width: 14ch; }
.legal-info > .muted { margin-top: 20px; max-width: 46ch; font-size: 1.05rem; }

.legal-facts { margin: 40px 0; display: grid; gap: 1px; background: var(--line-on-dark); border-radius: var(--r-card); overflow: hidden; }
.legal-facts > div {
  background: var(--card-dark);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  align-items: baseline;
}
.legal-facts dt { font-size: 0.9rem; color: var(--muted-on-dark); }
.legal-facts dd { font-weight: 600; }
.legal-facts dd .muted { font-weight: 400; font-size: 0.9rem; }

.legal-doc {
  background: var(--card-dark);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--r-card);
  padding: 16px;
}
.legal-doc img { width: 100%; height: auto; border-radius: 12px; display: block; }
.legal-doc figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted-on-dark);
}

@media (max-width: 1024px) {
  .legal-grid { grid-template-columns: 1fr; gap: 40px; }
  .legal-info .section-title { max-width: none; }
}
@media (max-width: 768px) {
  .legal-facts > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .legal-info .btn { width: 100%; justify-content: space-between; }
}

/* ---------- Final CTA / footer (dark) ---------- */

.final { position: relative; overflow: hidden; padding-bottom: 0; }

.final-photo { position: absolute; inset: 0; pointer-events: none; }
.final-photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.final-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 16, 20, 0.72) 0%, rgba(16, 16, 20, 0.42) 45%, var(--bg-dark) 96%),
    linear-gradient(90deg, rgba(16, 16, 20, 0.72) 0%, rgba(16, 16, 20, 0.2) 65%);
}

.final-inner { position: relative; text-align: left; padding-bottom: 120px; }
.final h2 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  font-size: clamp(2.4rem, 6vw, 5rem);
  max-width: 16ch;
}
.final p { margin-top: 20px; font-size: 1.1rem; color: var(--muted-on-dark); max-width: 46ch; }
.final .hero-ctas { margin-top: 36px; }

.final::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  max-width: 800px;
  max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 140, 60, 0.22), transparent 68%);
  filter: blur(50px);
  pointer-events: none;
}

.ghost-type {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.24em;
  font-weight: 800;
  font-size: clamp(6rem, 19vw, 17rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-align: center;
  color: rgba(255, 255, 255, 0.05);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.site-footer { border-top: 1px solid var(--line-on-dark); padding: 28px 0 40px; position: relative; }
.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted-on-dark);
}
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: var(--ink-inv); }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .acc-body, .faq-a, .btn, .acc-toggle { transition: none; }
  .hero-bg::before, .hero-bg::after { animation: none; }
  .hero h1, .hero-sub, .hero-ctas { animation: none; opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  .burger { display: flex; }

  /* nav → выпадающая панель под шапкой */
  .nav-pill {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(13, 13, 16, 0.985);
    border: 1px solid var(--line-on-dark);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }
  .site-header.nav-open .nav-pill { opacity: 1; visibility: visible; transform: none; }
  .nav-pill a { padding: 14px 18px; border-radius: 14px; font-size: 1.05rem; color: var(--ink-inv); }

  .section { padding: 80px 0; }
  .hero { padding-top: 112px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; margin-top: 72px; }
  .dtv-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(even) { transform: translateY(18px); }
  .acc-head { grid-template-columns: 80px 1fr 44px; }
  .acc-body-grid { grid-template-columns: 260px 1fr; gap: 24px; padding-left: 104px; }
  .acc-body p { max-width: none; }
  .hero-stats { gap: 10px; }
  .hero-stat { padding: 18px 20px; }
  .final-inner { padding-bottom: 96px; }
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .panel-dark { margin: 8px; border-radius: 22px; }
  .hero { padding-top: 104px; }
  .hero-stats { grid-template-columns: 1fr; margin-top: 44px; }
  .pay-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; max-width: 420px; }
  .review-video { aspect-ratio: 9 / 16; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(even) { transform: translateY(14px); }
  .steps { grid-template-columns: 1fr; margin-top: 56px; }
  .acc-head { grid-template-columns: 56px 1fr 44px; gap: 14px; padding: 26px 0; }
  .acc-body-grid { grid-template-columns: 1fr; gap: 18px; padding-left: 0; }
  .header-cta { display: none; }
  .final-inner { padding-bottom: 80px; }
  /* таблица виз → карточки, без горизонтального скролла */
  .table-scroll { overflow-x: visible; }
  .visa-table { min-width: 0; gap: 12px; }
  .visa-headrow { display: none; }

  .visa-row {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 20px 22px;
    align-items: stretch;
  }
  .visa-name { padding-bottom: 16px; }
  .visa-name b { font-size: 1.3rem; }

  .visa-cell {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-top: 1px solid var(--line-on-light);
  }
  .visa-cell::before {
    content: attr(data-label);
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--muted-on-light);
  }
  .row-flagship .visa-cell { border-top-color: rgba(255, 255, 255, 0.12); }
  .row-flagship .visa-cell::before { color: var(--muted-on-dark); }

  .visa-row.row-flagship { padding-top: 22px; padding-bottom: 22px; }
  .visa-row.row-flagship::before { font-size: 74px; right: 8px; bottom: -0.22em; }
  .visa-row:not(.visa-headrow):hover { transform: none; box-shadow: none; }
  .pay-card { min-height: 180px; padding: 26px 22px; }
  .faq-q { font-size: 1.05rem; gap: 14px; }
  .ghost-type { font-size: clamp(4rem, 21vw, 8rem); }
}

/* ---------- Small mobile ---------- */

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .panel-dark { margin: 6px; border-radius: 18px; }
  .header-bar { padding: 6px 6px 6px 16px; }
  .wordmark { font-size: 1.15rem; }
  .hero { padding-top: 92px; padding-bottom: 48px; }
  .hero-ctas .btn { width: 100%; justify-content: space-between; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .dtv-grid { grid-template-columns: 1fr; }
  .dtv-tile { min-height: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(even) { transform: none; }
  .section-title { font-size: clamp(1.9rem, 8.5vw, 2.4rem); }
  .visas-cta .btn { width: 100%; justify-content: space-between; }
}
