/* ============================================================
   Роман Халафян — иллюзионист · дизайн-система
   Палитра: сцена #0B0B0E · бархат #15151B · кость #EDEAE3
            дым #A29D93 · занавес #A31621
   Тип: Cormorant (дисплей) + Inter (текст)
   ============================================================ */

:root {
  --bg: #0B0B0E;
  --bg-raised: #131318;
  --bg-card: #17171d;
  --ink: #EDEAE3;
  --ink-dim: #A29D93;
  --ink-faint: #87847c;
  --line: rgba(237, 234, 227, 0.13);
  --line-soft: rgba(237, 234, 227, 0.07);
  --red: #A31621;
  --red-bright: #C42438;
  --font-display: "Cormorant", "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --w: min(1180px, calc(100vw - 48px));
  --sp: clamp(72px, 12vh, 140px);
}

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

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

body {
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

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

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

.wrap { width: var(--w); margin: 0 auto; }

/* ---------- атмосфера: сценический свет + киноплёнка ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.backdrop__glow {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.backdrop__glow--red {
  width: 110vmax;
  height: 110vmax;
  right: -55vmax;
  top: -30vmax;
  background: radial-gradient(circle, rgba(163, 22, 33, 0.11), transparent 62%);
}
.backdrop__glow--ivory {
  width: 90vmax;
  height: 90vmax;
  left: -45vmax;
  bottom: -45vmax;
  background: radial-gradient(circle, rgba(237, 234, 227, 0.05), transparent 60%);
}

.grain {
  position: fixed;
  inset: -60%;
  width: 220%;
  height: 220%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
  animation: grain-shift 1.6s steps(5) infinite;
}
@keyframes grain-shift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2.5%, 1.5%); }
  40% { transform: translate(1.5%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(2.5%, 2%); }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
}

/* ---------- типографика ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  max-width: 17ch;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  max-width: 20ch;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  font-weight: 500;
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--ink-dim);
  max-width: 56ch;
}

/* ярлык-«хлопушка»: аптек, красная засечка слева */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--red);
  flex: none;
}

/* метка «одна склейка» — таймкод-чип */
.onetake {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(11, 11, 14, 0.72);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 6px 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.onetake::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red-bright);
  animation: rec 2.4s ease-in-out infinite;
}
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .onetake::before { animation: none; } }

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 17px 30px;
  border: 1px solid var(--red);
  background: var(--red);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--red-bright); border-color: var(--red-bright); }

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

.btn:focus-visible, a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
}

/* ---------- шапка ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.topbar.is-solid {
  background: rgba(11, 11, 14, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
.topbar__in {
  width: var(--w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}
.brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--ink-dim);
  margin-top: 3px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.nav a { color: var(--ink-dim); transition: color 0.2s; }
.nav a:hover { color: var(--ink); }
.nav .btn { padding: 12px 22px; font-size: 0.72rem; }

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 13px 12px;
  margin: -8px -4px;
}
.burger svg { display: block; }

/* ---------- герой ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11,11,14,0.92) 0%, rgba(11,11,14,0.68) 46%, rgba(11,11,14,0.32) 100%),
    linear-gradient(to top, rgba(11,11,14,0.97) 0%, rgba(11,11,14,0.62) 46%, rgba(11,11,14,0.42) 100%);
}
.hero__in {
  position: relative;
  z-index: 2;
  width: var(--w);
  margin: 0 auto;
  padding: 140px 0 56px;
}
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 54px; }
.hero__note {
  font-size: 0.78rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}
.hero__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.hero__proof span { white-space: nowrap; }

/* пауза фонового видео */
.hero__pause {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(11, 11, 14, 0.55);
  color: var(--ink-dim);
  cursor: pointer;
  display: none;
  place-items: center;
  transition: color 0.2s, border-color 0.2s;
}
.hero__pause.is-visible { display: grid; }
.hero__pause:hover { color: var(--ink); border-color: var(--ink-dim); }

/* появление героя */
.hero .reveal-load {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.hero .reveal-load:nth-child(2) { animation-delay: 0.12s; }
.hero .reveal-load:nth-child(3) { animation-delay: 0.24s; }
.hero .reveal-load:nth-child(4) { animation-delay: 0.36s; }
.hero .reveal-load:nth-child(5) { animation-delay: 0.48s; }
.hero .reveal-load:nth-child(6) { animation-delay: 0.6s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero .reveal-load { animation: none; opacity: 1; transform: none; }
}

/* ---------- секции ---------- */

.section { padding: var(--sp) 0; }
.section--raised { background: var(--bg-raised); }
.section__head { margin-bottom: clamp(36px, 6vh, 64px); }
.section__head .eyebrow { margin-bottom: 18px; }
.section__head h2 { margin-bottom: 16px; }

/* скролл-появление */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- видеогалерея ---------- */

.films {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.film {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  cursor: pointer;
  padding: 0;
  text-align: left;
  color: var(--ink);
}
.film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity 0.4s ease;
}
.film:hover img { transform: scale(1.04); }
.film::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,14,0.88), transparent 46%);
}
.film__meta {
  position: absolute;
  z-index: 2;
  inset: auto 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.film__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
}
.film__sub { font-size: 0.75rem; color: var(--ink-dim); letter-spacing: 0.05em; }
.film__badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
}
.film__play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  border-radius: 50%;
  border: 1px solid rgba(237,234,227,0.5);
  background: rgba(11,11,14,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.film:hover .film__play { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.film__play svg { margin-left: 3px; }

.films__note {
  margin-top: 22px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* реакции — лента */
.reactions { margin-top: clamp(48px, 8vh, 80px); }
.reactions__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.reactions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.reaction {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  overflow: hidden;
}
.reaction iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.reaction__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  background: var(--bg-card);
  border: none;
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
}
.reaction__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.reaction__cover:hover img { transform: scale(1.04); }
.reaction__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,14,0.85), transparent 42%);
}
.reaction__cover .film__play { z-index: 2; }
.reaction__cover:hover .film__play { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.reaction__label {
  position: absolute;
  z-index: 2;
  left: 14px;
  bottom: 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

/* ---------- сегменты ---------- */

.segments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.segment {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: clamp(26px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.3s ease;
}
.segment:hover { border-color: rgba(163, 22, 33, 0.5); }
.segment .eyebrow { color: var(--ink-faint); }
.segment h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  max-width: 18ch;
}
.segment p { color: var(--ink-dim); font-size: 0.95rem; }
.segment__facts {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-dim);
}
.segment__facts li {
  list-style: none;
  padding-left: 18px;
  position: relative;
}
.segment__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--red);
}

/* ---------- программы: тайминг вечера ---------- */

.timeline {
  position: relative;
  padding-left: clamp(28px, 5vw, 72px);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--red) 6%, var(--red) 94%, transparent);
}
.slot {
  position: relative;
  padding: clamp(26px, 3.4vw, 40px) 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(210px, 0.6fr);
  gap: 12px 40px;
  align-items: start;
}
.slot:last-child { border-bottom: none; }
.slot::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(28px, 5vw, 72px) + 2px);
  top: clamp(34px, 4vw, 50px);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--red);
}
.slot--flagship::before { background: var(--red); }
.slot__time {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.slot h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
}
.slot h3 .tag {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  padding: 4px 9px;
  border-radius: 2px;
  transform: translateY(-4px);
}
.slot__desc { color: var(--ink-dim); font-size: 0.95rem; max-width: 58ch; margin-top: 10px; }
.slot__aside {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}
.slot__price {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 500;
  white-space: nowrap;
}
.slot__dur { font-size: 0.78rem; color: var(--ink-dim); letter-spacing: 0.05em; }

.pricing-frame {
  margin-top: clamp(40px, 6vh, 64px);
  border: 1px solid var(--line-soft);
  background: var(--bg-card);
  padding: clamp(26px, 3.4vw, 44px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pricing-frame p { font-size: 0.9rem; color: var(--ink-dim); }
.pricing-frame strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

/* ---------- надёжность ---------- */

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: clamp(48px, 7vh, 72px);
}
.step {
  counter-increment: step;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #D0556A;
  margin-bottom: 10px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { font-size: 0.85rem; color: var(--ink-dim); }

.protocol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.protocol__item {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: 24px 26px;
  font-size: 0.9rem;
  color: var(--ink-dim);
}
.protocol__item strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

/* ---------- отзывы ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.quote {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: clamp(26px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.7rem);
  font-weight: 500;
  line-height: 1.3;
}
.quote cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-top: auto;
}
.quote--guest blockquote { font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-family: var(--font-body); font-weight: 400; color: var(--ink-dim); line-height: 1.55; }

/* ---------- обо мне ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.about__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__body h2 { margin-bottom: 22px; }
.about__body p { color: var(--ink-dim); margin-bottom: 16px; max-width: 58ch; }
.about__facts {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
}
.about__facts div {
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
  font-size: 0.85rem;
  color: var(--ink-dim);
}
.about__facts strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

/* ---------- Дубай ---------- */

.dubai {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.dubai__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.dubai__photo img { width: 100%; height: 100%; object-fit: cover; }
.dubai__body .eyebrow { margin-bottom: 18px; }
.dubai__body h2 { margin-bottom: 18px; }
.dubai__body p { color: var(--ink-dim); margin-bottom: 14px; max-width: 56ch; }
.dubai__offer {
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}
.dubai__offer li {
  list-style: none;
  padding-left: 20px;
  position: relative;
  color: var(--ink-dim);
}
.dubai__offer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 1px;
  background: var(--red);
}

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--line-soft);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 500;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.4rem;
  color: var(--ink-dim);
  transition: transform 0.3s ease;
  flex: none;
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--red-bright); }
.faq details p {
  padding: 0 0 24px;
  color: var(--ink-dim);
  max-width: 62ch;
  font-size: 0.95rem;
}

/* ---------- заявка ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 90px);
}
.contact__intro h2 { margin-bottom: 20px; }
.contact__intro p { color: var(--ink-dim); margin-bottom: 14px; max-width: 48ch; }
.contact__direct {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.contact__sla {
  margin-top: 26px;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
}
.field input, .field select, .field textarea {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 14px 16px;
  transition: border-color 0.25s;
  border-radius: 0;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23A29D93'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--red);
  outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.form__note { font-size: 0.72rem; color: var(--ink-faint); }
.form__note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- футер ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer a { color: var(--ink-dim); font-size: 0.88rem; transition: color 0.2s; }
.footer a:hover { color: var(--ink); }
.footer__brand p { color: var(--ink-dim); font-size: 0.88rem; max-width: 34ch; margin-top: 14px; }
.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* ---------- лайтбокс ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 7, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox.is-open { display: flex; }
.lightbox__body {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__body video {
  max-height: 88vh;
  max-width: 100%;
  outline: none;
  background: #000;
}
.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 110;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(11,11,14,0.6);
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lightbox__close:hover { border-color: var(--red-bright); color: var(--red-bright); }
body.no-scroll { overflow: hidden; }

/* ---------- партнёрам ---------- */

.page-head {
  padding: 170px 0 var(--sp);
}
.page-head .eyebrow { margin-bottom: 22px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 22px; }

.terms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.term {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  padding: 28px;
}
.term strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.term p { font-size: 0.88rem; color: var(--ink-dim); }

.copyblock {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: clamp(24px, 3vw, 40px);
  position: relative;
}
.copyblock p { color: var(--ink-dim); font-size: 0.95rem; margin-bottom: 12px; }
.copyblock p:first-of-type { color: var(--ink); }
.copyblock .btn { margin-top: 16px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.spec-table th, .spec-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.spec-table th {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.spec-table td:last-child { white-space: nowrap; font-family: var(--font-display); font-size: 1.15rem; }
.spec-table td { color: var(--ink-dim); }
.spec-table td strong { color: var(--ink); font-weight: 600; }

/* ---------- адаптив ---------- */

@media (max-width: 1020px) {
  .films, .reactions__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .protocol { grid-template-columns: repeat(2, 1fr); }
  .pricing-frame { grid-template-columns: 1fr; gap: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .terms { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(11, 11, 14, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-size: 1.1rem;
    z-index: 55;
  }
  .burger { display: block; position: relative; z-index: 56; }
  .segments, .quotes { grid-template-columns: 1fr; }
  .about, .dubai, .contact { grid-template-columns: 1fr; }
  .dubai__photo { order: -1; }
  .slot { grid-template-columns: 1fr; }
  .slot__aside { text-align: left; flex-direction: row; align-items: baseline; gap: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .terms { grid-template-columns: 1fr; }
  .spec-table td:last-child { white-space: normal; }
}

@media (max-width: 520px) {
  .hero__in { padding-top: 120px; }
  .hero h1 { font-size: clamp(2.2rem, 9.5vw, 2.6rem); margin-bottom: 18px; }
  .hero .lead { margin-bottom: 26px; }
  .hero__cta { margin-bottom: 28px; gap: 10px; }
  .hero__proof { font-size: 0.82rem; gap: 8px 18px; padding-top: 20px; }
  .films, .reactions__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .reaction__label { font-size: 0.55rem; left: 10px; bottom: 10px; }
  .film__title { font-size: 0.95rem; }
  .film__badge .onetake { font-size: 0.5rem; padding: 4px 6px; }
  .steps, .protocol { grid-template-columns: 1fr; }
  .about__facts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
