:root {
  color-scheme: dark;
  --bg: #000;
  --surface: #0d1315;
  --surface-2: #131c1e;
  --line: #1f2d2f;
  --teal: #6cc4c9;
  --teal-deep: #2e7d82;
  --text: #ecf1f1;
  --muted: #8c9c9c;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
  --r: 14px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--bg) radial-gradient(1200px 700px at 85% -10%, #0b282a33, transparent 70%);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.15; margin: 0; }
h2 { font-size: clamp(28px, 4.2vw, 48px); letter-spacing: -0.01em; }
h3 { font-size: 18px; font-weight: 400; }
p { margin: 0; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
main, .footer { position: relative; z-index: 1; }

/* Огромное вертикальное слово на фоне — как в референсе */
.watermark {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-around; align-items: center;
  font: 600 min(34vh, 40vw)/0.8 var(--display);
  color: transparent; -webkit-text-stroke: 1px #6cc4c91c;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  background: var(--teal); color: #001a18; border: 1px solid var(--teal);
  font: 700 15px/1.2 var(--body); text-decoration: none; cursor: pointer; text-align: center;
  transition: background .2s, box-shadow .2s;
}
.btn:hover { box-shadow: 0 0 28px #6cc4c966; }
.btn--ghost { background: transparent; color: var(--teal); }
.btn--ghost:hover { background: #6cc4c914; }
.btn--small { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* ---------- Шапка ---------- */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: #000c; backdrop-filter: blur(10px); border-bottom: 1px solid #ffffff0d; }
.nav__in { display: flex; align-items: center; gap: 32px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: 40px; width: auto; }
.nav__links { display: flex; gap: 24px; margin-left: auto; }
.nav__links a { color: var(--text); text-decoration: none; font-size: 15px; }
.nav__links a:hover { color: var(--teal); }
.nav__links a[aria-current] { color: var(--teal); }
.burger { display: none; }

@media (max-width: 960px) {
  .nav__in { gap: 12px; }
  .nav__in > .btn { margin-left: auto; }
  .burger {
    display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line);
    border-radius: 50%; background: none; cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.5px; background: var(--text); position: relative; content: ""; }
  .burger span::before { position: absolute; top: -6px; }
  .burger span::after { position: absolute; top: 6px; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #000; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  }
  .nav__links a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid #ffffff0a; }
  .menu-open .nav__links { display: flex; }
}
.nav__cta-short { display: none; }
@media (max-width: 420px) { .nav__cta-long { display: none; } .nav__cta-short { display: inline; } .nav__cta { padding-inline: 14px; } }

/* ---------- Главный экран ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px 56px; align-items: center;
  padding-top: clamp(40px, 8vw, 96px); padding-bottom: 40px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 66px); letter-spacing: -0.02em; }
.lead { margin-top: 24px; font-size: clamp(17px, 1.6vw, 20px); color: #c3cfcf; max-width: 32em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.advantages {
  grid-column: 1 / -1; list-style: none; margin: 32px 0 0; padding: 28px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line);
}
.advantages strong { display: block; font: 400 16px/1.3 var(--display); color: var(--teal); margin-bottom: 6px; }
.advantages span { color: var(--muted); font-size: 15px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .advantages { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .advantages { grid-template-columns: 1fr; } }

/* ---------- Секции ---------- */
.section { padding-top: clamp(72px, 10vw, 128px); }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 40px; }
.head p { color: var(--muted); max-width: 34em; }
.head::after { content: ""; grid-column: 1; width: 72px; height: 2px; background: var(--teal); order: -0; }
@media (max-width: 760px) { .head { grid-template-columns: 1fr; } }
.section h3 + .muted { margin: 6px 0 20px; }
.videos { display: grid; gap: 16px; }
.video { margin: 0; }
.video iframe, .video__ph { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); }
.video__ph { display: grid; place-items: center; background: radial-gradient(80% 100% at 30% 20%, #13373b, #050a0b); }
.play { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid var(--teal); display: grid; place-items: center; }
.play::after { content: ""; border-left: 16px solid var(--teal); border-block: 10px solid transparent; margin-left: 4px; }
.video figcaption { margin-top: 8px; color: var(--muted); font-size: 15px; }

/* ---------- Как мы работаем ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps li { counter-increment: s; position: relative; padding: 64px 20px 0 0; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--teal); color: var(--teal); font: 400 17px var(--display); background: var(--bg);
  z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: linear-gradient(90deg, var(--teal), var(--line)); }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 64px; }
  .steps li::after { top: 44px; left: 22px; right: auto; bottom: -28px; width: 1px; height: auto; background: var(--line); }
}
.form input, .form select {
  display: block; width: 100%; margin-top: 8px; min-height: 48px; padding: 10px 14px;
  background: #050909; color: var(--text); border: 1px solid var(--line); border-radius: 10px; font: 16px var(--body);
}
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 300 26px var(--display); color: var(--teal); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); padding-bottom: 20px; max-width: 46em; }

/* ---------- Заявка ---------- */
.request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 48px; align-items: start; }
.request__lead { color: var(--muted); margin-top: 16px; max-width: 30em; }
.request__next { list-style: none; counter-reset: n; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
.request__next li { counter-increment: n; display: flex; align-items: center; gap: 14px; }
.request__next li::before {
  content: counter(n); flex: 0 0 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--teal); color: var(--teal); font: 400 14px var(--display);
}
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: var(--surface); border: 1px solid #6cc4c940; box-shadow: 0 0 80px -30px #6cc4c966; }
.form__field { display: grid; gap: 8px; align-content: start; }
.form__field label { font-size: 14px; font-weight: 500; color: var(--text); }
.form__opt { font-weight: 400; color: var(--muted); }
.form__field input, .form__field select { margin-top: 0; }
.form input:focus-visible, .form select:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px #6cc4c933; border-radius: 10px; }
.form input[aria-invalid] { border-color: #ff7a7a; }
.form__err { font-size: 13px; color: #ff9a9a; }
.form__err:empty { display: none; }
.form__wide { grid-column: 1 / -1; }
.form__estimate { padding: 12px 14px; border-radius: 10px; background: #6cc4c912; border: 1px solid #6cc4c94d; font-size: 14px; }
.form__error { color: #ff9a9a; font-size: 14px; }
.form__error:empty { display: none; }
.form__legal { font-size: 12px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form--done { display: block; }
.form--done[hidden], .form[hidden] { display: none; }
.form--done h3 { font-size: 24px; color: var(--teal); margin-bottom: 12px; }
.form--done p { color: var(--muted); }
@media (max-width: 860px) { .request { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 520px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Финальный призыв ---------- */
.cta-final {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px;
  padding: clamp(28px, 5vw, 56px); border-radius: 24px; border: 1px solid #6cc4c94d;
  background: radial-gradient(120% 140% at 0% 0%, #0f3539, var(--surface) 60%);
}
.cta-final h2 { font-size: clamp(24px, 3.2vw, 36px); }
.cta-final p { margin-top: 10px; color: var(--muted); max-width: 32em; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Подвал ---------- */
.footer {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-top: 96px;
  padding-top: 48px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line); font-size: 15px;
}
.logo--footer { height: 52px; width: auto; }
.footer__brand p { margin-top: 14px; color: var(--muted); max-width: 22em; }
.footer__nav, .footer__contacts { display: grid; gap: 10px; align-content: start; }
.footer a { color: var(--text); text-decoration: none; width: fit-content; }
.footer a:hover { color: var(--teal); }
.footer__copy { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .footer { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
/* ---------- Выпускной вечер и почасовые услуги ---------- */
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ev { padding: 22px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.ev:nth-child(-n+3) { border-color: #6cc4c94d; }
.ev h3 { font-size: 18px; }
.ev__price { font: 400 26px/1.15 var(--display); color: var(--teal); font-variant-numeric: tabular-nums; }
.ev__price small { display: block; margin-top: 4px; font: 400 14px var(--body); color: var(--muted); }
.ev__text { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .events { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .events { grid-template-columns: 1fr; } }

/* ================= LUMI Prod ================= */
.logo { gap: 10px; text-decoration: none; }
.logo__tag {
  font: 400 13px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--teal);
  padding: 6px 10px 5px; border: 1px solid #6cc4c966; border-radius: 999px;
}
.logo--footer { display: inline-flex; align-items: center; gap: 12px; }
.nav__links .nav__ext { color: var(--muted); }
@media (max-width: 1100px) and (min-width: 961px) { .nav__ext { display: none; } }

.eyebrow { font: 400 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 20px; }

/* Коллаж из трёх кадров разных направлений */
.hero__collage {
  display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
  aspect-ratio: 1 / 1; max-height: 640px;
}
.hero__ph { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; min-height: 0; }
.hero__ph--1 { grid-row: 1 / span 2; box-shadow: 0 0 0 1px #6cc4c933, 0 30px 90px -20px #6cc4c980; }
.hero__ph--2 { object-position: center 60%; }

/* Услуги */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: #6cc4c966; box-shadow: 0 0 50px -20px #6cc4c980; }
.svc__ph { aspect-ratio: 4 / 3; overflow: hidden; }
.svc__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc:hover .svc__ph img { transform: scale(1.04); }
.svc__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.svc__body > p:first-of-type { color: var(--muted); font-size: 15px; flex: 1; }
.svc__price { font: 400 18px/1.2 var(--display); color: var(--teal); margin-top: 6px; }
.svc__price small { font: 400 13px var(--body); color: var(--muted); }
.svc__link { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; width: fit-content; }
.svc__link:hover { color: var(--teal); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .services { gap: 10px; }
  .svc__ph { aspect-ratio: 1; }
  .svc__body { padding: 12px 12px 14px; gap: 4px; }
  .svc h3 { font-size: 15px; }
  .svc__body > p:first-of-type { display: none; }
  .svc__price { font-size: 14px; flex: 1; }
  .svc__price small { display: block; }
  .svc__link { font-size: 14px; }
}

/* Портфолио: фильтр + колонки (кадры целиком, без обрезки) */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 500 14px var(--body); cursor: pointer; }
.filters button:hover { border-color: #6cc4c966; }
.filters button[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #001a18; }
.gallery { columns: 4 240px; column-gap: 12px; }
@media (max-width: 600px) { .gallery { columns: 2; column-gap: 8px; } .gal { margin-bottom: 8px; } }
.gal { display: block; width: 100%; padding: 0; margin: 0 0 12px; border: 0; background: var(--surface); border-radius: 10px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.gal img { width: 100%; height: auto; transition: transform .4s, opacity .3s; }
.gal:hover img { transform: scale(1.03); }
.gal:focus-visible { outline-offset: 2px; }
.video__title { margin: 56px 0 16px; }

/* Цены */
.prices__note { margin-top: 20px; padding: 18px 22px; border-radius: 14px; border: 1px dashed #6cc4c966; color: var(--muted); max-width: 820px; }
@media (min-width: 901px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.form textarea {
  display: block; width: 100%; min-height: 96px; padding: 10px 14px; resize: vertical;
  background: #050909; color: var(--text); border: 1px solid var(--line); border-radius: 10px; font: 16px var(--body);
}
.form textarea:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px #6cc4c933; }

/* Лайтбокс с листанием */
.lightbox { width: min(1100px, 94vw); padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible; text-align: center; }
.lightbox::backdrop { background: #000e; }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 8px; object-fit: contain; }
.lightbox p { margin-top: 12px; color: var(--muted); }
.lightbox__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #000; color: var(--text); font-size: 24px; cursor: pointer; }
.lightbox__nav {
  position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line); background: #000a; color: var(--text); font: 300 28px/1 var(--display); cursor: pointer;
}
.lightbox__nav:hover { border-color: var(--teal); color: var(--teal); }
.lightbox__nav--prev { left: -64px; } .lightbox__nav--next { right: -64px; }
@media (max-width: 1240px) { .lightbox__nav--prev { left: 8px; } .lightbox__nav--next { right: 8px; } }
.more { display: flex; justify-content: center; margin-top: 12px; }
.more:has([hidden]) { display: none; }

/* О нас */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 56px; padding: clamp(28px, 5vw, 56px); border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.about h2 { font-size: clamp(26px, 3.4vw, 40px); }
.about__text { color: #c3cfcf; font-size: 17px; }
.about__team { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__team li { padding-top: 14px; border-top: 1px solid #6cc4c966; }
.about__team strong { display: block; font: 400 17px/1.3 var(--display); }
.about__team span { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .about__team { grid-template-columns: 1fr; } }
