:root {
  --bg: #0b0b0c;
  --bg-2: #111113;
  --surface: #16161a;
  --line: rgba(212, 175, 95, 0.18);
  --gold: #d4af5f;
  --gold-2: #f0d68e;
  --gold-3: #a8833a;
  --text: #ece8df;
  --muted: #a39e93;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.gold {
  background: linear-gradient(100deg, var(--gold-3), var(--gold-2) 45%, var(--gold) 70%, var(--gold-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.1em;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }

.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px; border-radius: 999px;
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 50%, var(--gold-3));
  color: #17130a;
  box-shadow: 0 8px 28px -10px rgba(212, 175, 95, .6);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(212, 175, 95, .75); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--full { width: 100%; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(11, 11, 12, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand { flex-shrink: 0; }
.brand__logo { width: 48px; height: 48px; object-fit: cover; mix-blend-mode: lighten; transform: scale(1.35);
  -webkit-mask-image: radial-gradient(circle closest-side, #000 60%, transparent 75%); mask-image: radial-gradient(circle closest-side, #000 60%, transparent 75%); }
.brand__name { white-space: nowrap; }
.brand__name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.1; color: var(--muted); }
.brand__name b { color: var(--text); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 30px; font-size: .93rem; }
.nav a { color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--gold-2); }
.nav .nav__phone {
  color: var(--gold); font-weight: 600; padding: 9px 18px;
  border: 1px solid var(--line); border-radius: 999px;
}
.nav .nav__phone:hover { border-color: var(--gold); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: var(--gold); margin: 5px 0; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(212, 175, 95, .16), transparent 62%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 1.4em 0 2.2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { list-style: none; padding: 0; margin: 3.2em 0 0; display: flex; gap: 40px; flex-wrap: wrap; }
.hero__facts li { display: flex; flex-direction: column; max-width: 240px; padding-left: 16px; border-left: 1px solid var(--gold-3); }
.hero__facts b { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-2); font-weight: 600; }
.hero__facts span { font-size: .9rem; color: var(--muted); }

.emblem { position: relative; aspect-ratio: 1; max-width: 480px; margin-left: auto; }
.emblem::before {
  content: ""; position: absolute; inset: 6%; border-radius: 50%;
  border: 1px solid var(--line);
  box-shadow: 0 0 120px -20px rgba(212, 175, 95, .35), inset 0 0 80px -30px rgba(212, 175, 95, .25);
}
.emblem img { position: relative; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 62%, transparent 74%); mask-image: radial-gradient(circle closest-side, #000 62%, transparent 74%); animation: float 7s ease-in-out infinite; }

@keyframes float { 50% { transform: translateY(-12px); } }

/* Sections */
.section { padding: 110px 0; position: relative; }
.section--dark { background: var(--bg-2); border-block: 1px solid rgba(255, 255, 255, .04); }
.section__head { max-width: 640px; margin-bottom: 56px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  padding: 34px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), rgba(22, 22, 26, .4));
  border: 1px solid rgba(255, 255, 255, .06);
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.card__icon {
  width: 54px; height: 54px; border-radius: 50%; margin-bottom: 22px;
  display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(212, 175, 95, .06);
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.about__text p { color: var(--muted); font-size: 1.07rem; }
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.values li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.values li:last-child { border-bottom: 0; }
.values__num { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); line-height: 1; min-width: 40px; }
.values b { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.values p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding-top: 34px; }
.step::before { content: ""; position: absolute; top: 26px; left: 64px; right: -22px; height: 1px; background: linear-gradient(90deg, var(--gold-3), transparent); }
.step:last-child::before { display: none; }
.step__n {
  position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 1.5rem/1 var(--serif); color: var(--gold-2);
  border: 1px solid var(--gold-3); background: var(--bg);
}
.step h3 { margin-top: 52px; }
.step p { color: var(--muted); font-size: .97rem; }

/* FAQ */
.faq { max-width: 860px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--serif); font-size: 1.45rem; font-weight: 600;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font: 300 1.8rem/1 var(--sans); color: var(--gold); transition: transform .3s;
}
.faq__list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__list details p { color: var(--muted); padding-right: 40px; margin-bottom: 24px; }

/* Contacts */
.contacts { background: radial-gradient(ellipse at 20% 100%, rgba(212, 175, 95, .1), transparent 55%); }
.contacts__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 2.2em 0 0; display: grid; gap: 26px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-list__label { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact-list a, .contact-list__value { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; transition: color .2s; word-break: break-word; }
.contact-list a:hover { color: var(--gold-2); }

.contact-list__maps { display: flex; gap: 18px; margin-top: 6px; }
.contact-list .contact-list__maps a { font: 600 .9rem/1.4 var(--sans); color: var(--gold); border-bottom: 1px solid var(--line); }
.contact-list .contact-list__maps a:hover { color: var(--gold-2); border-color: var(--gold); }

.map { margin-top: 64px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--surface); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
@media (max-width: 560px) { .map { height: 300px; margin-top: 40px; } }

.form {
  padding: 40px; border-radius: 20px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8);
}
.form h3 { font-size: 1.9rem; margin-bottom: 1em; }
.form label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.form input, .form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 14px 16px;
  background: var(--bg); color: var(--text);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 10px;
  font: 400 1rem/1.4 var(--sans); resize: vertical;
  transition: border-color .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form input.is-invalid { border-color: #c96a5a; }
.form__note { font-size: .8rem; color: var(--muted); margin: 14px 0 0; }
.form__error { font-size: .85rem; color: #e08b7b; margin: 8px 0 0; min-height: 1em; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand--footer .brand__logo { width: 40px; height: 40px; }
.footer__copy { margin: 0; color: var(--muted); font-size: .88rem; }

/* Floating call button (mobile) */
.call-fab {
  display: none; position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-3));
  box-shadow: 0 10px 30px -8px rgba(212, 175, 95, .7);
}
.call-fab svg { width: 26px; height: 26px; fill: #17130a; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .emblem img { animation: none; }
}

/* Responsive */
@media (max-width: 1020px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step:nth-child(2)::before { display: none; }
  .nav { gap: 22px; }
}

@media (max-width: 1080px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px; background: rgba(11, 11, 12, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .35s ease; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .nav .nav__phone { margin-top: 16px; text-align: center; border: 1px solid var(--gold-3); }
  .header.menu-open { background: rgba(11, 11, 12, .97); }

}

@media (max-width: 880px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 24px); }
  .hero__inner { grid-template-columns: 1fr; gap: 12px; }
  .hero__emblem { order: -1; }
  .emblem { max-width: 260px; margin: 0 auto; }
  .about, .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 80px 0; }
  .call-fab { display: grid; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .brand__name { font-size: 1.1rem; }
  .brand__logo { width: 40px; height: 40px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .step::before { display: none; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { gap: 20px; }
  .form { padding: 26px 20px; }
  .contact-list a, .contact-list__value { font-size: 1.5rem; }
  .faq__list summary { font-size: 1.25rem; }
  .footer__inner { flex-direction: column; text-align: center; }
}
