:root {
  --bg: #f6f1e8;
  --bg-2: #fffdf8;
  --paper: #ffffff;
  --ink: #1a1612;
  --ink-soft: #2f2a24;
  --mute: #5c564c;
  --gold: #b08d57;
  --gold-2: #6f5226;
  --gold-soft: rgba(176, 141, 87, 0.12);
  --line: rgba(42, 36, 28, 0.1);
  --shadow: 0 18px 50px rgba(42, 36, 28, 0.07);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Figtree", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
p, li, h1, h2, h3 { overflow-wrap: anywhere; word-break: break-word; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.gold { color: var(--gold-2); }
.mute { color: var(--mute); }
.eyebrow {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--gold-2);
  font-weight: 600;
}

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, 0.55);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 10px 40px rgba(42,36,28,0.04);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  position: relative;
}
.logo {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  flex: 0 0 auto;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}
.header .logo {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  gap: 0;
  padding: 4px 2px;
}
.logo span { white-space: nowrap; }
.logo .a { color: var(--gold-2); }
.logo .b { color: var(--ink); }
.header .logo .a {
  background: linear-gradient(180deg, #c4a574 0%, #8c6a35 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.header .logo .b { color: #2a241c; font-weight: 600; }
.logo .line { display: none; }
.header .logo {
  position: relative;
}
.header .logo::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, #c4a574, transparent 75%);
  border-radius: 2px;
}
.nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 26px;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-soft);
}
.nav a { padding: 6px 0; white-space: nowrap; }
.nav a:hover { color: var(--gold-2); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 1 auto;
  min-width: 0;
}
.phone { font-size: 14px; font-weight: 600; white-space: nowrap; }
.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  flex: 0 0 auto;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: center;
  white-space: normal;
  line-height: 1.3;
}
.btn:hover { background: var(--gold); color: #fff; }
.btn-solid { background: var(--gold-2); color: #fff; border-color: var(--gold-2); }
.btn-solid:hover { background: #6f5328; }
.btn-ghost { border-color: transparent; padding-left: 0; }
.btn-ghost:hover { background: transparent; color: var(--gold-2); }

.hero {
  position: relative;
  padding: 72px 0 64px;
  background:
    radial-gradient(720px 360px at 88% 0%, rgba(176,141,87,0.16), transparent 60%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: center;
}
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
}
h1 { font-size: clamp(32px, 4.2vw, 52px); max-width: none; }
.hero-title {
  margin-top: 18px;
  max-width: none;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.1;
  white-space: normal;
}
.lead { margin-top: 22px; max-width: 52ch; color: var(--ink-soft); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-card {
  border: 1px solid rgba(255,255,255,0.6);
  padding: 28px;
  background: rgba(255,255,255,0.52);
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  box-shadow: 0 18px 50px rgba(42,36,28,0.07), inset 0 1px 0 rgba(255,255,255,0.85);
  border-radius: 20px;
  min-width: 0;
}
.hero-card .stat {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(40px, 6vw, 56px);
  color: var(--gold-2);
  line-height: 1;
  margin-top: 8px;
}
.hero-card p { margin-top: 12px; color: var(--mute); font-size: 15px; }

section { padding: 72px 0; position: relative; z-index: 1; overflow: hidden; }
.section-head { max-width: 740px; margin-bottom: 36px; }
h2 { font-size: clamp(28px, 3.6vw, 46px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
.sub { margin-top: 14px; color: var(--ink-soft); }

.grid-4, .grid-3, .grid-2 {
  display: grid;
  gap: 16px;
}
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  border: 1px solid rgba(255,255,255,0.55);
  padding: 24px;
  background: rgba(255,255,255,0.58);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: 18px;
  min-width: 0;
  box-shadow: 0 10px 30px rgba(42,36,28,0.05), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: 0.25s ease;
}
.card:hover { box-shadow: var(--shadow); border-color: rgba(176,141,87,0.35); }
.card .n { color: var(--gold-2); font-size: 12px; letter-spacing: 0.16em; }
.card p { margin-top: 10px; color: var(--ink-soft); font-size: 15px; }
.card a.more {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.ivory { background: var(--bg-2); }
.ivory .card { background: #fff; }

.path {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.path-item {
  border: 1px solid var(--line);
  padding: 20px 16px;
  background: var(--paper);
  border-radius: 16px;
  min-width: 0;
  cursor: pointer;
}
.path-item.active, .path-item:hover { border-color: var(--gold); background: #fffaf2; }
.path-item small { color: var(--gold-2); letter-spacing: 0.12em; font-size: 11px; }
.path-item h3 { margin: 10px 0 8px; font-size: 22px; }
.path-item p { color: var(--ink-soft); font-size: 14px; }

.steps { display: grid; gap: 0; min-width: 0; }
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.step b {
  color: var(--gold-2);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
}

.price {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.price-card {
  border: 1px solid rgba(255,255,255,0.55);
  padding: 28px 24px;
  background: rgba(255,255,255,0.56);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: 20px;
  position: relative;
  min-width: 0;
}
.price-card.hit { border-color: var(--gold); box-shadow: var(--shadow); }
.price-card .tag {
  position: static;
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #fff;
  background: var(--gold-2);
  padding: 4px 8px;
  border-radius: 999px;
}
.price-card .sum {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 36px);
  margin: 12px 0 8px;
}
.price-card ul { margin: 16px 0 22px; padding-left: 18px; color: var(--ink-soft); }
.price-card li { margin: 8px 0; }

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--gold-2); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

.calc, .form-panel {
  border: 1px solid rgba(255,255,255,0.55);
  padding: 28px;
  background: rgba(255,255,255,0.56);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-width: 0;
}
label { display: block; font-size: 13px; color: var(--gold-2); margin: 14px 0 6px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 12px 14px;
  outline: none;
  border-radius: 12px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); background: #fff; }
.calc-out {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(176,141,87,0.35);
  background: var(--gold-soft);
  border-radius: 14px;
}

.faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin-top: 8px; color: var(--ink-soft); }

.page-hero { padding: 56px 0 20px; }
.crumbs { color: var(--mute); font-size: 13px; margin-bottom: 16px; }
.crumbs a:hover { color: var(--gold-2); }

footer {
  position: relative;
  z-index: 5;
  isolation: isolate;
  border-top: 1px solid rgba(255,255,255,0.4);
  padding: 48px 0 28px;
  color: var(--ink-soft);
  font-size: 14px;
  background: rgba(243, 236, 226, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
footer .logo { font-size: 30px; white-space: nowrap; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 24px;
}
.footer-grid > * { min-width: 0; }
footer a:hover { color: var(--gold-2); }
.legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--mute); font-size: 12px; }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 14px 16px;
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  z-index: 80; max-width: 720px; margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
}

.reveal { animation: up 0.6s ease both; }
@keyframes up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .header-inner { flex-wrap: nowrap; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fffdf8;
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 60;
  }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .phone { display: none; }
  .header-cta .btn-solid { display: none; }
  .hero-grid, .grid-3, .grid-2, .price { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 36px; }
  section { padding: 48px 0; }
  h1 { max-width: none; }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
}

@media (max-width: 640px) {
  .grid-4, .path { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px minmax(0, 1fr); }
  .calc, .form-panel, .hero-card, .price-card { padding: 20px 16px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}


@media (prefers-reduced-motion: no-preference) {
  .header { transition: box-shadow .35s ease, background .35s ease; }
  .header.is-scrolled { box-shadow: 0 10px 30px rgba(42,36,28,.08); background: rgba(255,253,248,.96); }
  .logo { transition: transform .35s ease; }
  .logo:hover { transform: translateY(-1px); }
  .logo .line { transition: width .35s ease; }
  .logo:hover .line { width: 100%; }
  .nav a {
    position: relative;
    transition: color .25s ease;
  }
  .nav a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1px; background: var(--gold-2);
    transform: scaleX(0); transform-origin: left;
    transition: transform .28s ease;
  }
  .nav a:hover::after, .nav a.is-current::after { transform: scaleX(1); }
  .btn { transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease; }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(140,106,53,.22); }
  .btn:active { transform: translateY(0); }
  .card, .price-card, .hero-card, .path-item, .calc, .form-panel {
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  }
  .card:hover, .price-card:hover, .hero-card:hover, .path-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(42,36,28,.1);
  }
  .rise {
    opacity: 0;
    transform: translateY(22px);
    animation: rise .7s ease forwards;
  }
  .rise-on {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .rise-on.is-in { opacity: 1; transform: none; }
  .hero-title { animation: rise .8s ease both; }
  .hero-card { animation: rise .9s ease .12s both; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

body::before {
  content: "";
  position: fixed; inset: -20% auto auto -10%;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 65%);
  pointer-events: none; z-index: 0;
}
.header, section, footer { position: relative; z-index: 1; }

/* user-glass */

.glass-effect, .header, .card, .hero-card, .price-card, .calc, .form-panel, .path-item, footer {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.header {
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card, .hero-card, .price-card, .calc, .form-panel, .path-item {
  border-radius: 15px;
}

.maps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.map-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 15px;
  overflow: hidden;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.12);
}
.map-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.map-card figcaption {
  padding: 14px 16px 16px;
}
.map-card figcaption strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
}
@media (max-width: 980px) {
  .maps { grid-template-columns: 1fr; }
  .map-card img { height: 200px; }
}
