/* Every color below is sampled straight from the EM Investments logo. */
:root {
  --black: #000000;
  --night: #0b0a06;        /* mountains */
  --night-2: #10100e;      /* sky near the moon */
  --charcoal: #1f201b;     /* face of the E/M letters */
  --gold: #e7c784;         /* "INVESTMENTS" lettering */
  --gold-soft: #dbc394;
  --cream: #fff2d3;        /* brightest highlights */
  --cream-2: #eee1c4;      /* divider lines */
  --moon: #b69773;         /* moon edge glow */
  --bronze: #967240;       /* moon surface */
  --bronze-2: #7b5e37;     /* water reflection */
  --bronze-3: #725e43;
  --text: #eee1c4;
  --muted: #b69773;
  --line: rgba(231, 199, 132, 0.18);
  --gold-grad: linear-gradient(135deg, #fff2d3 0%, #e7c784 35%, #b69773 70%, #7b5e37 100%);
  --gold-grad-flat: linear-gradient(90deg, #7b5e37, #e7c784, #fff2d3, #e7c784, #7b5e37);
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black); color: var(--text); font-family: var(--font-body);
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--cream); line-height: 1.18; letter-spacing: 0.02em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }
section { padding: 110px 0; position: relative; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.gold-text {
  background: var(--gold-grad-flat); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: 250% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--gold-grad); }
.section-lead { color: var(--moon); font-size: 1.08rem; max-width: 600px; }
.section-head { margin-bottom: 56px; }
.section-head-center { text-align: center; }
.section-head-center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold-grad); }

/* Buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 4px; font-family: var(--font-display); font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; cursor: pointer; border: 0; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 18px 32px; font-size: 0.86rem; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold-grad); color: var(--black); box-shadow: 0 10px 30px rgba(231, 199, 132, 0.18); }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 242, 211, 0.75), transparent);
  transform: skewX(-20deg); transition: left 0.7s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(231, 199, 132, 0.35); }
.btn-gold:hover::after { left: 140%; }
.btn-outline { background: transparent; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.btn-outline:hover { background: rgba(231, 199, 132, 0.08); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--gold); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.btn-dark-outline { background: transparent; color: var(--black); box-shadow: inset 0 0 0 1.5px var(--black); }
.btn-dark-outline:hover { background: rgba(0, 0, 0, 0.08); transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: background-color 0.3s ease;
}
.site-header.scrolled { background: rgba(0, 0, 0, 0.92); }
.site-header .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em; color: var(--black);
  background: radial-gradient(circle at 35% 30%, var(--cream), var(--gold) 45%, var(--bronze) 100%);
  box-shadow: 0 0 22px rgba(231, 199, 132, 0.35);
}
.brand-text { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 600; color: var(--cream); font-size: 1rem; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.2; }
.brand-text small { font-size: 0.6rem; letter-spacing: 0.5em; color: var(--gold); }
.main-nav { display: flex; gap: 34px; }
.main-nav a { text-decoration: none; font-size: 0.86rem; font-weight: 600; color: var(--cream-2); letter-spacing: 0.04em; position: relative; padding: 4px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform 0.3s ease; }
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { text-decoration: none; font-weight: 700; color: var(--gold); font-size: 0.92rem; letter-spacing: 0.04em; white-space: nowrap; }

/* Stars (canvas drawn by script.js; CSS fallback dots) */
.stars {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
  background-image:
    radial-gradient(1px 1px at 12% 18%, rgba(255, 242, 211, 0.8), transparent),
    radial-gradient(1px 1px at 72% 12%, rgba(255, 242, 211, 0.7), transparent),
    radial-gradient(1.5px 1.5px at 38% 42%, rgba(231, 199, 132, 0.8), transparent),
    radial-gradient(1px 1px at 88% 58%, rgba(255, 242, 211, 0.6), transparent),
    radial-gradient(1px 1px at 22% 78%, rgba(255, 242, 211, 0.5), transparent);
}
.stars canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Hero */
.hero {
  padding: 90px 0 120px; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 72% 40%, rgba(150, 114, 64, 0.22), transparent 70%), var(--black);
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--black));
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 14px; }
.hero-sub { font-family: var(--font-accent); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--gold); margin-bottom: 22px; }
.lead { font-size: 1.1rem; color: var(--cream-2); max-width: 540px; margin-bottom: 34px; opacity: 0.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 46px; }
.hero-trust { list-style: none; display: grid; grid-template-columns: repeat(4, auto); gap: 0; border-top: 1px solid var(--line); padding-top: 26px; max-width: 640px; }
.hero-trust li { padding-right: 16px; }
.hero-trust li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.hero-trust b { display: block; font-family: var(--font-display); color: var(--gold); font-size: 1.05rem; letter-spacing: 0.04em; white-space: nowrap; }
.hero-trust span { font-size: 0.76rem; color: var(--muted); white-space: nowrap; }

.horizon { position: absolute; left: 0; bottom: 0; width: 100%; height: 150px; z-index: 0; pointer-events: none; }
.hero-art { position: relative; display: flex; justify-content: center; perspective: 1200px; }
.moon-glow {
  position: absolute; width: 115%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(231, 199, 132, 0.34) 0%, rgba(150, 114, 64, 0.16) 38%, transparent 66%);
  animation: glow 7s ease-in-out infinite; pointer-events: none;
}
@keyframes glow { 0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(0.96); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); } }
.hero-logo {
  position: relative; width: 100%; max-width: 500px; aspect-ratio: 1; object-fit: contain;
  border-radius: 6px; border: 1px solid rgba(231, 199, 132, 0.35);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.8), 0 0 0 8px rgba(231, 199, 132, 0.05), 0 0 60px rgba(231, 199, 132, 0.12);
  transition: transform 0.2s ease-out; will-change: transform;
}

/* Tagline band */
.tagline-band { position: relative; background: var(--black); padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tagline-inner { display: flex; align-items: center; justify-content: center; gap: 24px; }
.tagline-inner p { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.3em; font-size: clamp(0.72rem, 1.6vw, 1rem); color: var(--gold); text-align: center; }
.rule { flex: 1; max-width: 220px; height: 1px; background: linear-gradient(90deg, transparent, var(--cream-2)); position: relative; }
.rule:last-child { background: linear-gradient(90deg, var(--cream-2), transparent); }
.rule::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }
.rule:first-child::after { right: -3px; }
.rule:last-child::after { left: -3px; }

/* Gold-bordered cards */
.buy { background: linear-gradient(180deg, var(--black), var(--night-2) 60%, var(--black)); }
.buy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.buy-card {
  position: relative; padding: 36px 28px; border-radius: 6px;
  background: linear-gradient(var(--night), var(--night)) padding-box, linear-gradient(160deg, rgba(231, 199, 132, 0.5), rgba(123, 94, 55, 0.1) 60%, rgba(231, 199, 132, 0.3)) border-box;
  border: 1px solid transparent; transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.buy-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(231, 199, 132, 0.1); }
.icon-ring {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; margin-bottom: 24px; color: var(--gold);
  background: radial-gradient(circle at 35% 30%, rgba(231, 199, 132, 0.18), transparent 70%); box-shadow: inset 0 0 0 1px rgba(231, 199, 132, 0.4);
}
.icon-ring svg { width: 26px; height: 26px; }
.buy-card h3 { font-size: 1.1rem; margin-bottom: 10px; letter-spacing: 0.06em; }
.buy-card p { color: var(--muted); font-size: 0.93rem; }

/* Situations */
.situations { background: var(--black); overflow: hidden; }
.situations::before {
  content: ""; position: absolute; left: -12%; top: 50%; width: 560px; aspect-ratio: 1; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(150, 114, 64, 0.2), transparent 65%); pointer-events: none;
}
.situations-grid { position: relative; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.situations-copy .section-lead { margin-bottom: 32px; }
.situation-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.situation-list li {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 6px;
  background: rgba(31, 32, 27, 0.55); border: 1px solid var(--line); transition: border-color 0.3s ease, background-color 0.3s ease;
}
.situation-list li:hover { border-color: rgba(231, 199, 132, 0.55); background: rgba(31, 32, 27, 0.9); }
.dot { width: 10px; height: 10px; margin-top: 7px; flex-shrink: 0; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 12px rgba(231, 199, 132, 0.6); }
.situation-list b { display: block; font-family: var(--font-display); color: var(--cream); font-size: 1rem; letter-spacing: 0.04em; margin-bottom: 2px; }
.situation-list span { color: var(--muted); font-size: 0.88rem; }

/* Process */
.process { background: linear-gradient(180deg, var(--black), var(--night-2)); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 16.6%; right: 16.6%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.6;
}
.step { text-align: center; padding: 0 10px; }
.step-num {
  position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 28px; border-radius: 50%;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--black);
  background: radial-gradient(circle at 35% 30%, var(--cream), var(--gold) 40%, var(--bronze) 85%, var(--bronze-2));
  box-shadow: 0 0 0 8px var(--night-2), 0 0 0 9px rgba(231, 199, 132, 0.35), 0 0 40px rgba(231, 199, 132, 0.3);
}
.step h3 { font-size: 1.15rem; margin-bottom: 12px; }
.step p { color: var(--muted); max-width: 320px; margin: 0 auto; }

/* Why */
.why { background: var(--night-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: center; }
.why-quote { position: relative; padding-left: 8px; }
.quote-mark { display: block; font-family: var(--font-accent); font-size: 8rem; line-height: 0.6; color: var(--gold); opacity: 0.5; margin-bottom: 16px; }
.why-quote p { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--cream); line-height: 1.25; margin-bottom: 18px; }
.why-quote small { font-family: var(--font-accent); font-style: italic; font-size: 1.2rem; color: var(--gold); }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.why-item { background: var(--night-2); padding: 32px 28px; transition: background-color 0.3s ease; }
.why-item:hover { background: var(--charcoal); }
.why-item h3 { font-size: 1.02rem; color: var(--gold); margin-bottom: 10px; letter-spacing: 0.05em; }
.why-item p { color: var(--cream-2); opacity: 0.8; font-size: 0.93rem; }

/* Offer form */
.offer { background: radial-gradient(ellipse 60% 70% at 20% 30%, rgba(150, 114, 64, 0.18), transparent 70%), var(--black); overflow: hidden; }
.stars-soft { opacity: 0.6; }
.offer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: start; }
.offer-copy { position: sticky; top: 110px; }
.offer-copy .section-lead { margin-bottom: 36px; }
.offer-copy em { font-family: var(--font-accent); font-size: 1.2em; color: var(--gold); }
.contact-card { padding: 28px; border-radius: 6px; background: rgba(31, 32, 27, 0.6); border: 1px solid var(--line); }
.contact-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.contact-name { font-family: var(--font-display); font-size: 1.3rem; color: var(--cream); margin: 4px 0 16px; }
.contact-line { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--gold); font-weight: 600; min-width: 0; }
.contact-line + .contact-line { border-top: 1px solid var(--line); }
.contact-line svg { width: 20px; height: 20px; flex-shrink: 0; }
.email-text { overflow-wrap: anywhere; }
.contact-line:hover { color: var(--cream); }
.promise-list { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.promise-list li { position: relative; padding-left: 34px; color: var(--cream-2); font-size: 0.97rem; }
.promise-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E");
}
.promise-list li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 6px; height: 10px; border: solid var(--black); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.offer-form {
  position: relative; padding: 40px; border-radius: 8px;
  background: linear-gradient(var(--night), var(--night)) padding-box, linear-gradient(160deg, rgba(231, 199, 132, 0.6), rgba(123, 94, 55, 0.15) 50%, rgba(231, 199, 132, 0.45)) border-box;
  border: 1px solid transparent; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
}
.form-step-label { font-family: var(--font-display); font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin: 6px 0 14px; }
.form-step-label:not(:first-child) { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row-3 { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
.field { display: block; margin-bottom: 14px; min-width: 0; }
.field span { display: block; font-size: 0.78rem; font-weight: 600; color: var(--cream-2); margin-bottom: 6px; letter-spacing: 0.02em; }
.field input, .field select {
  width: 100%; padding: 13px 14px; border-radius: 4px; border: 1px solid rgba(231, 199, 132, 0.22);
  background: var(--black); color: var(--cream); font: inherit; font-size: 0.95rem; transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px;
}
.field select option { background: var(--night); color: var(--cream); }
.field input::placeholder { color: rgba(182, 151, 115, 0.6); }
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231, 199, 132, 0.15); }
.field.invalid input, .field.invalid select { border-color: #b69773; box-shadow: 0 0 0 3px rgba(182, 151, 115, 0.3); }

.timeline { border: 0; margin: 10px 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.timeline legend { font-size: 0.78rem; font-weight: 600; color: var(--cream-2); margin-bottom: 10px; }
.timeline label { position: relative; cursor: pointer; }
.timeline input { position: absolute; opacity: 0; pointer-events: none; }
.timeline span {
  display: block; text-align: center; padding: 11px 6px; border-radius: 4px; font-size: 0.84rem; font-weight: 600;
  border: 1px solid rgba(231, 199, 132, 0.25); color: var(--cream-2); transition: all 0.2s ease; white-space: nowrap;
}
.timeline label:hover span { border-color: var(--gold); }
.timeline input:checked + span { background: var(--gold-grad); color: var(--black); border-color: transparent; }
.timeline input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.timeline.invalid span { border-color: #b69773; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.74rem; color: var(--muted); margin-bottom: 12px; cursor: pointer; line-height: 1.55; }
.consent input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--gold); }
.consent a { color: var(--gold); }
.form-error { min-height: 1.2em; color: var(--gold); font-size: 0.86rem; font-weight: 600; margin: 8px 0 12px; }
.form-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

.form-success {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px; border-radius: 8px; background: radial-gradient(circle at 50% 30%, rgba(150, 114, 64, 0.3), transparent 60%), var(--night);
  animation: fade-in 0.5s ease;
}
.form-success[hidden] { display: none; }
.offer-form.submitted > :not(.form-success) { display: none; }
.offer-form.submitted .form-success { position: static; min-height: 420px; }
.success-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; margin-bottom: 22px; color: var(--black); background: var(--gold-grad); box-shadow: 0 0 50px rgba(231, 199, 132, 0.45); }
.success-icon svg { width: 36px; height: 36px; }
.form-success h3 { font-size: 1.8rem; margin-bottom: 12px; }
.form-success p { color: var(--cream-2); max-width: 360px; margin-bottom: 26px; }
@keyframes fade-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* CTA band */
.cta-band { background: var(--gold-grad); padding: 90px 0; text-align: center; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; top: 0; left: -40%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 242, 211, 0.5), transparent); animation: sweep 7s ease-in-out infinite;
}
@keyframes sweep { 0%, 60% { left: -40%; } 100% { left: 120%; } }
.cta-inner { position: relative; }
.cta-band h2 { color: var(--black); }
.cta-band p { color: var(--charcoal); font-weight: 600; font-size: 1.08rem; margin-bottom: 30px; letter-spacing: 0.02em; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* Footer */
.site-footer { background: var(--black); padding: 70px 0 30px; border-top: 1px solid var(--line); }
.site-footer .footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-brand p { font-family: var(--font-accent); font-style: italic; font-size: 1.15rem; color: var(--gold); margin-top: 16px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.foot-col h4 { font-size: 0.8rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.foot-col a, .foot-col span { color: var(--cream-2); text-decoration: none; font-size: 0.92rem; opacity: 0.85; }
.foot-col a:hover { color: var(--gold); opacity: 1; }
.site-footer .foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 0.8rem; color: var(--muted); }
.foot-bottom a { color: var(--muted); }

/* Mobile call bar */
.mobile-bar { display: none; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero-trust { grid-template-columns: repeat(2, auto); row-gap: 20px; justify-content: start; }
  .hero-trust li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 1060px) {
  .main-nav { display: none; }
  .buy-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  section { padding: 80px 0; }
  .hero { padding: 50px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; }
  .hero-logo { max-width: 380px; }
  .situations-grid, .why-grid, .offer-grid { grid-template-columns: 1fr; gap: 44px; }
  .offer-copy { position: static; }
  .horizon { height: 90px; }
  .steps { grid-template-columns: 1fr; gap: 44px; }
  .steps::before { display: none; }
  .site-footer .footer-inner { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .header-phone { display: none; }
  .hero-trust { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .hero-trust li:nth-child(3) { padding-left: 0; border-left: 0; }
  .situation-list, .why-list { grid-template-columns: 1fr; }
  .offer-form { padding: 28px 20px; }
  .field-row, .field-row-3 { grid-template-columns: 1fr; gap: 0; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: auto 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mobile-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border-radius: 4px; text-decoration: none;
    font-family: var(--font-display); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
  }
  .mobile-bar svg { width: 18px; height: 18px; }
  .mobile-bar-call { color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
  .mobile-bar-offer { background: var(--gold-grad); color: var(--black); }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header-actions .btn { padding: 11px 14px; font-size: 0.7rem; letter-spacing: 0.1em; }
  .brand-mark { width: 38px; height: 38px; font-size: 0.82rem; }
  .brand-text { font-size: 0.84rem; letter-spacing: 0.1em; }
  .hero-actions .btn { width: 100%; }
  .buy-grid { grid-template-columns: 1fr; }
  .tagline-inner { gap: 12px; }
  .tagline-inner p { letter-spacing: 0.18em; }
  .rule { max-width: 40px; }
  .site-footer .footer-inner { grid-template-columns: 1fr; }
  .contact-line { font-size: 0.9rem; }
  .cta-actions .btn { width: 100%; }
}
@media (max-width: 380px) {
  .brand-text { display: none; }
  .mobile-bar a { padding: 14px 12px; font-size: 0.72rem; letter-spacing: 0.06em; }
  .hero-trust span { white-space: normal; }
}

/* ===== Local SEO market pages (built by seo/build.py) ===== */
.hero-market { padding: 70px 0 100px; }
.hero-market h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero-hub .lead { max-width: 640px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: var(--muted); margin-bottom: 22px; letter-spacing: 0.04em; }
.crumbs a { color: var(--gold); text-decoration: none; }
.crumbs a:hover { color: var(--cream); }
.local { background: var(--night-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.local-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: start; }
.local-copy p { color: var(--cream-2); opacity: 0.88; margin-bottom: 18px; font-size: 1.02rem; max-width: 640px; }
.local-copy .btn { margin-top: 10px; }
.local-areas { padding: 32px; border-radius: 8px; background: rgba(31, 32, 27, 0.6); border: 1px solid var(--line); }
.local-areas h3 { font-size: 0.95rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.area-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.area-chips li { padding: 8px 14px; border-radius: 30px; border: 1px solid var(--line); background: var(--night); color: var(--cream-2); font-size: 0.88rem; }
.area-note { margin-top: 20px; color: var(--muted); font-size: 0.88rem; }
.investors { background: radial-gradient(ellipse 60% 80% at 85% 50%, rgba(150, 114, 64, 0.2), transparent 70%), var(--black); padding: 90px 0; }
.investors-inner { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 50px; align-items: center; padding: 50px; border-radius: 10px; border: 1px solid var(--line); background: rgba(16, 16, 14, 0.7); }
.investors-inner .eyebrow { margin-bottom: 14px; }
.investors-actions { display: grid; gap: 14px; }
.investors-actions .btn { width: 100%; }
.faq { background: var(--night-2); border-top: 1px solid var(--line); }
.faq-inner { max-width: 860px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 6px; background: var(--night); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 56px 22px 24px; font-family: var(--font-display); color: var(--cream); font-size: 1.02rem; letter-spacing: 0.02em; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.5rem; font-family: var(--font-body); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 24px 22px; color: var(--cream-2); opacity: 0.85; }
.markets-near { background: var(--black); border-top: 1px solid var(--line); }
.market-sub { font-size: 0.9rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 10px 0 18px; }
.market-sub + .market-grid { margin-bottom: 44px; }
.market-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.market-grid a { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: 6px; border: 1px solid var(--line); background: rgba(31, 32, 27, 0.5); text-decoration: none; transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease; min-width: 0; }
.market-grid a:hover { border-color: rgba(231, 199, 132, 0.6); background: rgba(31, 32, 27, 0.9); transform: translateY(-2px); }
.market-grid b { font-family: var(--font-display); color: var(--cream); font-weight: 600; font-size: 1rem; letter-spacing: 0.03em; }
.market-grid span { color: var(--muted); font-size: 0.8rem; }
.markets-all { margin-top: 30px; }
.markets-all a { color: var(--gold); font-weight: 600; text-decoration: none; }
.site-footer .footer-inner-wide { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
@media (max-width: 1060px) {
  .market-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .local-grid, .investors-inner { grid-template-columns: 1fr; gap: 36px; }
  .investors-inner { padding: 34px 24px; }
  .market-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .footer-inner-wide { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .market-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .market-grid a { padding: 14px; }
  .market-grid b { font-size: 0.88rem; }
  .local-areas { padding: 24px 20px; }
  .faq-item summary { padding: 18px 48px 18px 18px; font-size: 0.95rem; }
  .faq-item p { padding: 0 18px 18px; }
  .site-footer .footer-inner-wide { grid-template-columns: 1fr; }
}
