:root {
  --bg: #0d0c0a;
  --bg-alt: #131210;
  --surface: #1a1815;
  --line: rgba(214, 178, 110, .16);
  --line-soft: rgba(255, 255, 255, .07);
  --text: #efe9dd;
  --muted: #a39c8d;
  --gold: #d6b26e;
  --gold-hi: #ecd29c;
  --ok: #8fbf8a;
  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }

h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.3; }
h1 em { font-style: italic; color: var(--gold); }

.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #1a1408; }
.btn--gold:hover { background: var(--gold-hi); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--full { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 12, 10, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.header__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { font: 600 1.7rem/1 var(--serif); letter-spacing: .01em; }
.logo span { color: var(--gold); font-style: italic; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; font-size: .92rem; color: var(--muted); }
.nav a { transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav__cta { display: none; }
.header__phone { font-weight: 600; font-size: .95rem; white-space: nowrap; }
.header__phone:hover { color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 100px); }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(214, 178, 110, .16), transparent 70%);
  pointer-events: none;
}
.hero__in { position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center; }
.lead { margin-top: 26px; max-width: 580px; font-size: 1.1rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 18px 44px; margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line-soft); }
.hero__facts b { display: block; font: 500 1.9rem/1.1 var(--serif); color: var(--gold); }
.hero__facts span { font-size: .85rem; color: var(--muted); }

.panel {
  background: linear-gradient(160deg, #1f1c17, #151310);
  border: 1px solid var(--line); border-radius: 24px; padding: 26px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.panel__head { display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line-soft); }
.panel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(143, 191, 138, .18); }
.panel__list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: .93rem; }
.panel__list i { font-style: normal; font-size: .75rem; color: var(--ok); border: 1px solid rgba(143, 191, 138, .3); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.panel__foot { margin-top: 18px; font: italic 500 1.15rem var(--serif); color: var(--gold); text-align: center; }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }
.section__head { max-width: 720px; margin-bottom: 52px; }
.section__sub { margin-top: 18px; color: var(--muted); font-size: 1.05rem; }

/* Services */
.services { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  grid-column: span 2; position: relative;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 32px 28px; transition: border-color .25s, transform .25s;
}
.card--wide { grid-column: span 3; }
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card__num { font: italic 500 1.5rem/1 var(--serif); color: var(--gold); }
.card h3 { margin: 16px 0 10px; font-size: 1.3rem; }
.card > p { color: var(--muted); font-size: .96rem; }
.ticks { margin-top: 20px; display: grid; gap: 9px; font-size: .93rem; }
.ticks li { position: relative; padding-left: 22px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--gold); }

/* Case */
.case { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.case__text p:not(.eyebrow) { color: var(--muted); margin-top: 20px; max-width: 560px; }
.case__text .case__quote { font: italic 500 1.45rem/1.35 var(--serif); color: var(--text); border-left: 2px solid var(--gold); padding-left: 20px; margin-top: 28px; }
.case__text .btn { margin-top: 32px; }
.case__card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 12px 30px 30px; }
.case__row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.case__row span { color: var(--muted); }
.case__row b { font-weight: 600; text-align: right; }
.case__years { display: flex; align-items: center; gap: 14px; margin-top: 26px; font: 500 1.3rem var(--serif); color: var(--gold); }
.case__years i { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(214, 178, 110, .2)); }

.case__text .case__ticks { margin-top: 24px; color: var(--text); }

.shots { margin-top: clamp(48px, 6vw, 80px); }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; }
.shots__main { position: relative; padding: 0 0 40px; margin-right: clamp(0px, 7vw, 90px); }
.browser { background: #1b1916; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .85); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a362f; }
.browser__bar span { margin-left: 10px; font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser figcaption { padding: 12px 16px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line-soft); }
.phone {
  position: absolute; right: calc(-1 * clamp(0px, 7vw, 90px)); bottom: 0; width: clamp(110px, 19%, 210px);
  border: 5px solid #26231e; outline: 1px solid var(--line); border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9);
}
.shots__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }

/* Why */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-soft); }
.why__item { padding: 36px 36px 36px 0; border-bottom: 1px solid var(--line-soft); }
.why__item:nth-child(even) { padding: 36px 0 36px 36px; border-left: 1px solid var(--line-soft); }
.why__item h3 { font: 500 1.7rem/1.2 var(--serif); margin-bottom: 12px; }
.why__item p { color: var(--muted); max-width: 460px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 28px 24px; }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); font: 500 1.3rem var(--serif); margin-bottom: 20px; }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .93rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq .section__head { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line-soft); }
details { border-bottom: 1px solid var(--line-soft); }
summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-weight: 600; font-size: 1.05rem; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--gold); }
summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--sans); color: var(--gold); transition: transform .25s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 40px 24px 0; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__text > p:not(.eyebrow) { color: var(--muted); margin-top: 20px; max-width: 460px; }
.contact__links { margin-top: 36px; }
.contact__phone { font: 500 clamp(1.8rem, 3.4vw, 2.5rem)/1.1 var(--serif); color: var(--gold); }
.contact__phone:hover { color: var(--gold-hi); }
.contact__msg { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { padding: 10px 20px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 600; transition: border-color .2s, color .2s; }
.chip:not([href]) { color: var(--muted); }
.chip[href]:hover { border-color: var(--gold); color: var(--gold); }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.form input[type="text"], .form input[type="tel"], .form textarea {
  width: 100%; background: var(--bg); color: var(--text);
  border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px;
  font: 400 1rem/1.4 var(--sans); transition: border-color .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input::placeholder, .form textarea::placeholder { color: #6b665c; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form .invalid { border-color: #d98a7a !important; }
.form__agree { grid-template-columns: auto 1fr; align-items: start; gap: 10px !important; font-weight: 400 !important; cursor: pointer; }
.form__agree input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--gold); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__note { font-size: .9rem; min-height: 1.4em; }
.form__note.ok { color: var(--ok); }
.form__note.err { color: #d98a7a; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .88rem; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer .logo { color: var(--text); font-size: 1.4rem; }
.footer__copy { margin-left: auto; }

.footer a:not(.logo), .form__agree a { text-decoration: underline; text-underline-offset: 3px; }
.footer a:not(.logo):hover, .form__agree a:hover { color: var(--gold); }

/* Document page */
.header__phone--doc { display: block !important; margin-left: auto; font-weight: 500; color: var(--muted); }
.doc { max-width: 780px; padding: clamp(48px, 7vw, 88px) 0 clamp(64px, 8vw, 110px); }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.doc__date { color: var(--muted); margin-top: 14px; font-size: .9rem; }
.doc h2 { font: 600 1.25rem/1.3 var(--sans); letter-spacing: 0; margin: 44px 0 14px; }
.doc p { color: var(--muted); margin-top: 12px; }
.doc main ul, .doc ul { list-style: none; margin-top: 12px; display: grid; gap: 8px; color: var(--muted); }
.doc ul li { position: relative; padding-left: 22px; }
.doc ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--gold); }
.doc a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.doc mark { background: rgba(214, 178, 110, .18); color: var(--gold-hi); padding: 1px 6px; border-radius: 4px; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1020px) {
  .hero__in, .case, .faq, .contact { grid-template-columns: 1fr; gap: 40px; }
  .card, .card--wide { grid-column: span 3; }
  .card:last-child { grid-column: span 6; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 24px;
    font-size: 1.05rem; color: var(--text);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 15px 0; border-bottom: 1px solid var(--line-soft); }
  .nav__cta { display: block; color: var(--gold); border-bottom: 0 !important; }
  .header__phone { margin-left: auto; }
  .burger { display: block; }
}
@media (max-width: 640px) {
  .container { width: min(1160px, 100% - 32px); }
  .header__phone { display: none; }
  .burger { margin-left: auto; }
  .card, .card--wide, .card:last-child { grid-column: span 6; }
  .steps, .why, .shots__row { grid-template-columns: 1fr; }
  .shots__main { margin-right: 0; padding-bottom: 0; }
  .phone { position: relative; right: auto; width: 46%; margin: -40px auto 0 !important; }
  .why__item, .why__item:nth-child(even) { padding: 28px 0; border-left: 0; }
  .hero__facts { gap: 18px 32px; }
  .form, .panel { padding: 22px; }
  .case__card { padding: 6px 22px 24px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
