@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #1a1f1c; --ink-soft: #2d3530;
  --paper: #f8f4ed; --paper-warm: #fdfaf3;
  --accent: #1f4f37; --accent-deep: #0f2e1f;
  --accent-soft: rgba(31, 79, 55, .08);
  --gold: #c19958; --gold-warm: #dba85a;
  --muted: #6b6f6c;
  --line: rgba(26, 31, 28, .12);
  --line-warm: rgba(193, 153, 88, .25);
  --card: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 46, 31, .04);
  --shadow-md: 0 4px 12px rgba(15, 46, 31, .06);
  --shadow-lg: 0 12px 32px rgba(15, 46, 31, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0; padding: 0;
  background: var(--paper); color: var(--ink);
  font: 16px/1.65 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-deep); }
::selection { background: var(--gold-warm); color: var(--paper-warm); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ── Header ─── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 237, .92);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.header-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand {
  font: 600 19px/1 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .2px; color: var(--ink);
  display: flex; align-items: center; gap: 6px;
}
.brand a { color: inherit; }
.brand .dot { color: var(--gold); font-size: 22px; line-height: 0; transform: translateY(2px); }
.brand .sub { color: var(--accent); font-weight: 600; margin-left: 4px; }

/* ── Desktop nav ─── */
.nav-links {
  display: flex; align-items: center; gap: 28px;
  font: 500 14px/1 'Inter', sans-serif;
  letter-spacing: .2px;
}
.nav-links a {
  color: var(--ink-soft); padding: 6px 0; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: var(--paper-warm) !important;
  padding: 9px 18px !important; border-radius: 100px;
  font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent-deep); color: #fff !important; }

.menu-toggle {
  display: none;
  background: var(--accent); color: var(--paper-warm);
  border: 0; padding: 10px; cursor: pointer;
  border-radius: 6px; margin: 0;
}
.menu-toggle svg { display: block; }

/* ── Mobile menu ─── */
@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; z-index: 110; position: relative; }

  .nav-links {
    position: fixed;
    top: 60px; right: 0; bottom: 0; left: 0;
    background: var(--accent-deep);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 36px 28px 48px;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    z-index: 100;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    width: 100%; display: block;
    color: rgba(248, 244, 237, .92);
    font: 500 19px/1 'Cormorant Garamond', Georgia, serif;
    padding: 22px 0;
    border-bottom: 1px solid rgba(248, 244, 237, .14);
    letter-spacing: .3px;
    text-align: left;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { color: var(--gold-warm); }
  .nav-links a.active { color: var(--gold-warm); }

  .nav-links .nav-cta {
    background: var(--gold-warm) !important;
    color: var(--accent-deep) !important;
    border: 0 !important;
    border-radius: 100px !important;
    text-align: center;
    margin-top: 28px;
    padding: 16px 24px !important;
    font-weight: 700 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    letter-spacing: .3px;
  }
  .nav-links .nav-cta:hover {
    background: #fff !important;
    color: var(--accent-deep) !important;
  }

  body.menu-open { overflow: hidden; }
}

/* ── Hero ─── */
.hero { position: relative; padding: 88px 0 64px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(193, 153, 88, .08), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(31, 79, 55, .06), transparent 60%);
}
.hero .wrap { position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent);
  font: 600 11.5px/1 'Inter', sans-serif;
  letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 24px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px; background: var(--gold);
}

h1 {
  font: 600 clamp(36px, 6vw, 72px)/1.05 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.02em;
  margin: 0 0 24px; color: var(--ink);
  max-width: 18ch;
}
h1 em { font-style: italic; color: var(--accent); font-weight: 500; }

h2 {
  font: 600 clamp(26px, 3.5vw, 38px)/1.2 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -0.01em;
  margin: 48px 0 20px; color: var(--ink);
  max-width: 24ch;
}

h3 {
  font: 600 19px/1.35 'Cormorant Garamond', Georgia, serif;
  margin: 28px 0 10px; color: var(--ink);
}

p { margin: 0 0 16px; max-width: 65ch; color: var(--ink-soft); }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 36ch; }
.lead-wide { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; }

ul { padding-left: 20px; }
ul li { margin-bottom: 8px; color: var(--ink-soft); }

/* ── Cards ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 32px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
@media (max-width: 800px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 26px 24px; border-radius: 6px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: var(--shadow-sm);
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform .35s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-warm);
}
.card:hover::before { transform: scaleY(1); }
.card .label {
  display: inline-block;
  color: var(--accent); font: 600 10.5px/1 'Inter', sans-serif;
  text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 14px;
  padding: 5px 10px; background: var(--accent-soft); border-radius: 100px;
}
.card .title {
  font: 600 18px/1.3 'Cormorant Garamond', Georgia, serif;
  margin-bottom: 8px; color: var(--ink);
}
.card .desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* ── Sections ─── */
section { padding: 56px 0; }
section.tight { padding: 32px 0; }
section.divider {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { text-align: left; margin-bottom: 32px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-top: 0; }

/* ── Form ─── */
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 36px; border-radius: 8px;
  margin: 28px 0 60px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 600px) { .form-card { padding: 24px 20px; } }

label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink); letter-spacing: .02em;
  margin: 18px 0 8px; text-transform: uppercase;
}
input, select, textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 4px;
  font: 15px/1.5 'Inter', sans-serif;
  background: var(--paper-warm); color: var(--ink);
  transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 140px; resize: vertical; }

.checkbox {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 20px 0; font-size: 13.5px;
  color: var(--muted); line-height: 1.55;
}
.checkbox input { width: auto; margin-top: 4px; flex-shrink: 0; }

button {
  padding: 14px 32px;
  background: var(--accent); color: var(--paper-warm);
  border: 0; border-radius: 4px;
  font: 600 15px/1 'Inter', sans-serif;
  letter-spacing: .2px;
  cursor: pointer; margin-top: 16px;
  transition: background .2s, transform .15s;
  box-shadow: var(--shadow-sm);
}
button:hover { background: var(--accent-deep); transform: translateY(-1px); }
button:active { transform: translateY(0); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.btn-secondary {
  display: inline-block; padding: 14px 32px;
  background: transparent; color: var(--accent) !important;
  border: 1.5px solid var(--accent);
  border-radius: 4px; font: 600 15px/1 'Inter', sans-serif;
  letter-spacing: .2px; cursor: pointer;
  margin-top: 16px;
  transition: background .2s, color .2s;
}
.btn-secondary:hover {
  background: var(--accent); color: var(--paper-warm) !important;
}

.msg { padding: 16px 18px; border-radius: 4px; margin-top: 18px; font-size: 14px; line-height: 1.5; }
.msg.ok { background: rgba(31, 79, 55, .08); color: var(--accent-deep); border: 1px solid rgba(31, 79, 55, .25); }
.msg.err { background: rgba(180, 40, 40, .08); color: #b42828; border: 1px solid rgba(180, 40, 40, .25); }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.muted-hint { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.45; }

/* ── Footer ─── */
footer.site {
  background: var(--accent-deep);
  color: rgba(248, 244, 237, .82);
  padding: 56px 0 32px;
  margin-top: 80px;
  font-size: 14px;
}
footer.site .footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { footer.site .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

footer.site h4 {
  color: var(--gold-warm);
  font: 600 12px/1 'Inter', sans-serif;
  letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 16px;
}
footer.site a { color: rgba(248, 244, 237, .82); border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
footer.site a:hover { color: #fff; border-color: var(--gold-warm); }
footer.site p { color: rgba(248, 244, 237, .72); font-size: 13.5px; line-height: 1.6; }
footer.site .legal {
  border-top: 1px solid rgba(248, 244, 237, .12);
  padding-top: 24px; font-size: 12.5px; line-height: 1.55;
  color: rgba(248, 244, 237, .55);
}

/* ── Pill ─── */
.pill {
  display: inline-block; padding: 5px 14px; border-radius: 100px;
  background: rgba(193, 153, 88, .15); color: var(--gold-warm);
  font: 600 11.5px/1 'Inter', sans-serif;
  letter-spacing: .12em; text-transform: uppercase;
}

/* ── Timeline ─── */
.timeline {
  position: relative; padding-left: 40px; margin: 36px 0;
  border-left: 1.5px solid var(--accent);
}
.step { position: relative; margin-bottom: 44px; }
.step::before {
  content: ""; position: absolute; left: -49px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 1.5px var(--accent);
}
.step .when {
  display: inline-block; color: var(--accent);
  font: 600 11px/1 'Inter', sans-serif;
  text-transform: uppercase; letter-spacing: .18em;
  margin-bottom: 8px;
  padding: 4px 10px; background: var(--accent-soft);
  border-radius: 100px;
}
.step .what {
  font: 600 22px/1.3 'Cormorant Garamond', Georgia, serif;
  margin-bottom: 10px; color: var(--ink);
}
.step ul { padding-left: 20px; margin: 10px 0; }
.step ul li { margin-bottom: 8px; }
.step .where {
  font-size: 13px; color: var(--muted); margin-top: 12px;
  padding: 10px 14px; background: var(--paper-warm);
  border-left: 2px solid var(--gold); border-radius: 0 4px 4px 0;
}

/* ── Callout ─── */
.callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 18px 22px; margin: 24px 0;
  border-radius: 0 4px 4px 0;
  font-size: 15.5px; line-height: 1.55;
  color: var(--ink-soft);
}
.callout strong { color: var(--accent-deep); }

/* ── Stats ─── */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  margin: 32px 0; padding: 32px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; gap: 20px; } }
.stat-num {
  font: 600 48px/1 'Cormorant Garamond', Georgia, serif;
  color: var(--accent); margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ── Process ─── */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 32px 0;
}
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process { grid-template-columns: 1fr; } }
.process-step {
  position: relative; padding: 24px 20px;
  background: var(--paper-warm); border-radius: 6px;
  border-top: 2px solid var(--gold);
}
.process-step .num {
  font: 600 32px/1 'Cormorant Garamond', Georgia, serif;
  color: var(--gold); margin-bottom: 8px;
}
.process-step .title {
  font: 600 16px/1.3 'Cormorant Garamond', Georgia, serif;
  margin-bottom: 6px; color: var(--ink);
}
.process-step .desc { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ── Утилиты ─── */
.text-center { text-align: center; }
.cta-row {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 28px;
}
.cta-row a { display: inline-block; }

/* ── FAQ details ─── */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  margin-bottom: 12px;
  transition: box-shadow .2s, border-color .2s;
}
details[open] { box-shadow: var(--shadow-sm); border-color: var(--line-warm); }
details summary {
  padding: 20px 56px 20px 22px;
  cursor: pointer;
  font: 600 16.5px/1.4 'Cormorant Garamond', Georgia, serif;
  color: var(--ink); list-style: none; position: relative;
  transition: color .2s;
}
details summary::-webkit-details-marker { display: none; }
details summary:hover { color: var(--accent); }
details summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--accent); font-size: 22px; font-weight: 300;
  transition: transform .25s ease;
}
details[open] summary::after { content: "−"; }
details > div { padding: 0 22px 22px; color: var(--muted); }
details > div p { color: var(--ink-soft); }
details > div ul li { color: var(--ink-soft); }

/* Containing-block fix for mobile menu — without this, fixed nav is clipped by header's backdrop-filter */
@media (max-width: 800px) {
  header.site {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: var(--paper-warm) !important;
  }
}

/* Mobile padding — give content more breathing room */
@media (max-width: 600px) {
  .wrap, .wrap-narrow { padding: 0 28px; }
  h1 { max-width: none; }
  h2 { max-width: none; }
  .lead { max-width: none; }
  .lead-wide { max-width: none; }
  p { max-width: none; }
  .form-card { padding: 28px 24px; }
}
@media (max-width: 380px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
}
