/* ============================================================================
   CAPSTONE REALTORS — DESIGN SYSTEM
   Premium luxury real-estate aesthetic · white / charcoal / gold / beige
   Self-contained, no framework, no build step.
   ============================================================================ */

:root {
  /* Palette */
  --ink:        #16181d;
  --ink-2:      #20242c;
  --charcoal:   #2b2f38;
  --gold:       #b8924e;
  --gold-2:     #c9a35c;
  --gold-soft:  #e7d4ab;
  --beige:      #f3ede2;
  --sand:       #efe6d6;
  --cream:      #faf7f0;
  --paper:      #ffffff;
  --text:       #1f2228;
  --muted:      #6f6a60;
  --muted-2:    #908a7e;
  --line:       #e8e1d3;
  --line-2:     rgba(255,255,255,0.12);

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Tokens */
  --radius:    14px;
  --radius-sm: 10px;
  --maxw:      1180px;
  --shadow:    0 24px 60px -30px rgba(22, 24, 29, 0.45);
  --shadow-sm: 0 10px 30px -18px rgba(22, 24, 29, 0.35);
  --gold-grad: linear-gradient(135deg, #cfa863 0%, #b8924e 55%, #a07c3a 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.contents { display: contents; }       /* lets injected children join the grid */
.center { text-align: center; }
.hide-mobile { }
.show-mobile { display: none; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  padding: 14px 28px; border-radius: 50px;
  font-family: var(--sans); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.04em; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 16px 34px; font-size: 0.92rem; }
.btn--sm { padding: 10px 20px; font-size: 0.8rem; }
.btn--block { width: 100%; }

.btn--gold        { --btn-bg: var(--gold); --btn-fg: #1c1a14; background: var(--gold-grad); }
.btn--gold:hover  { color: #1c1a14; }
.btn--dark        { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--ghost       { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.45); }
.btn--ghost:hover { background: rgba(255,255,255,0.08); }
.btn--ghost-dark       { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(22,24,29,0.28); }
.btn--ghost-dark:hover { background: rgba(22,24,29,0.05); }
.btn--outline-light       { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.55); }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); }

/* WhatsApp glyph */
.i-wa { width: 18px; height: 18px; display: inline-block;
  background: currentColor; -webkit-mask: var(--wa) center/contain no-repeat; mask: var(--wa) center/contain no-repeat; }
.i-wa--lg { width: 26px; height: 26px; }
:root { --wa: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M.057 24l1.687-6.163a11.867 11.867 0 01-1.587-5.945C.16 5.335 5.495 0 12.05 0a11.82 11.82 0 018.413 3.488 11.82 11.82 0 013.48 8.414c-.003 6.557-5.338 11.892-11.893 11.892a11.9 11.9 0 01-5.688-1.448L.057 24zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884a9.86 9.86 0 001.611 5.385l-.999 3.648 3.877-1.732zM17.472 14.382c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413z'/%3E%3C/svg%3E"); }

/* Phone glyph */
.i-phone { width: 17px; height: 17px; display: inline-block; flex: none;
  background: currentColor; -webkit-mask: var(--phone) center/contain no-repeat; mask: var(--phone) center/contain no-repeat; }
:root { --phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.62 10.79a15.15 15.15 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 1.05-.24 11.36 11.36 0 0 0 3.55.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.36 11.36 0 0 0 .57 3.55 1 1 0 0 1-.24 1.05z'/%3E%3C/svg%3E"); }

/* Hero "Call" CTA — keep the number on one line */
.hero__call { white-space: nowrap; }
.hero__call [data-phone] { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0,0,0,0.28); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__badge {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: var(--ink); color: var(--gold-2);
  font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.02em;
  border-radius: 11px; box-shadow: inset 0 0 0 1px rgba(201,163,92,0.35);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 1.04rem; font-weight: 700; letter-spacing: 0.01em; }
.brand__text em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.brand--light .brand__text strong { color: #fff; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { font-size: 0.9rem; font-weight: 500; color: var(--text); position: relative; padding: 4px 0; }
.nav > a:not(.btn)::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--gold); transition: width 0.28s; }
.nav > a:not(.btn):hover { color: var(--gold); }
.nav > a:not(.btn):hover::after, .nav > a.is-active::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(201,163,92,0.18), transparent 60%),
    linear-gradient(160deg, #14161b 0%, #1c1f27 45%, #23222a 100%);
  color: #fff;
  padding: clamp(70px, 11vw, 130px) 0 clamp(64px, 9vw, 110px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__skyline { position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; }
.hero::after { /* subtle grain/vignette */
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(120% 90% at 50% 120%, rgba(0,0,0,0.4), transparent 55%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 860px; }
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.4rem, 5.4vw, 4.3rem); line-height: 1.08; letter-spacing: 0.4px;
  margin: 18px 0 20px;
}
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #e3ddd1; max-width: 660px; font-weight: 300; }
.hero__sub strong { color: var(--gold-2); font-weight: 500; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 30px; }
.hero__trust {
  display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 26px;
  border-top: 1px solid var(--line-2);
}
.hero__trust li { position: relative; padding-left: 22px; font-size: 0.9rem; color: #d9d3c7; }
.hero__trust li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold-grad); box-shadow: 0 0 0 3px rgba(201,163,92,0.18);
}

/* ---------------------------------------------------------------- Sections */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.section--cream { background: var(--cream); }
.section--ink {
  background:
    radial-gradient(1000px 420px at 85% -20%, rgba(201,163,92,0.16), transparent 60%),
    linear-gradient(160deg, #15171c, #1d212a 100%);
  background-color: #15171c; color: #fff;
}
.section__head { max-width: 680px; margin: 0 auto clamp(40px, 6vw, 60px); text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.76rem; font-weight: 600; letter-spacing: 0.26em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold-2); }
.section__title {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.14; letter-spacing: 0.3px;
}
.section__title--light { color: #fff; }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.section__lead--light { color: #c7c2b6; }
.center .btn { margin-top: 8px; }

.fineprint { margin-top: 26px; text-align: center; font-size: 0.82rem; color: var(--muted-2); }
.fineprint--light { color: #8d887d; margin-top: 18px; }

/* ---------------------------------------------------------------- Grids */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------------------------------------------------------------- Cards (generic) */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--beige); color: var(--gold); margin-bottom: 18px;
}
.card__icon svg { width: 24px; height: 24px; }
.card__title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; line-height: 1.25; }
.card__text { color: var(--muted); font-size: 0.95rem; }

/* Problem card variant */
.card--problem { border-left: 3px solid var(--gold-soft); }
.card--problem .card__title { font-size: 1.18rem; }

/* ---------------------------------------------------------------- Solution steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: transform 0.3s, box-shadow 0.3s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step__n {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 700;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.step__title { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.step__text { font-size: 0.9rem; color: var(--muted); }

/* ---------------------------------------------------------------- Micro-market cards */
.mm-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--paper); height: 100%;
  display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.mm-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.mm-card__top {
  height: 116px; position: relative;
  background: linear-gradient(135deg, #20242c 0%, #2c313b 100%);
  display: flex; align-items: flex-end; padding: 18px 22px;
}
.mm-card__top::before { /* gold corridor accent */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(140% 120% at 100% 0%, rgba(201,163,92,0.32), transparent 55%);
}
.mm-card__top h3 { position: relative; font-family: var(--serif); color: #fff; font-size: 1.4rem; font-weight: 600; }
.mm-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.mm-card__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold); background: var(--beige); padding: 4px 11px; border-radius: 50px;
}
.mm-card__buyer { font-size: 0.82rem; color: var(--ink); font-weight: 600; }
.mm-card__buyer span { display: block; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
.mm-card__note { font-size: 0.92rem; color: var(--muted); }

/* ---------------------------------------------------------------- Lead form */
.lead__inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.lead__lead { color: #c7c2b6; margin-top: 16px; font-size: 1.05rem; }
.lead__assure { margin-top: 24px; display: grid; gap: 12px; }
.lead__assure li { position: relative; padding-left: 26px; color: #d9d3c7; font-size: 0.92rem; }
.lead__assure li::before { content: '✓'; position: absolute; left: 0; color: var(--gold-2); font-weight: 700; }
.lead__assure a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }

.lead__form { background: var(--paper); color: var(--text); border-radius: 18px; padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--sans); font-size: 0.95rem; color: var(--text); background: #fff;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #b7b1a4; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,78,0.14);
}
.field textarea { resize: vertical; }
.field.invalid input, .field.invalid select { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }
.err { color: #c0392b; font-size: 0.78rem; margin-top: 5px; min-height: 0; display: none; }
.field.invalid .err { display: block; }

.consent .check { display: flex; gap: 11px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); font-weight: 400; line-height: 1.5; cursor: pointer; }
.consent .check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.consent label { margin-bottom: 0; }

.lead__actions { margin-top: 22px; }
.lead__or { text-align: center; color: var(--muted-2); font-size: 0.82rem; margin: 12px 0; position: relative; }
.lead__or::before, .lead__or::after { content: ''; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--line); }
.lead__or::before { left: 0; } .lead__or::after { right: 0; }

.opt { color: var(--muted-2); font-weight: 400; font-size: 0.78rem; }
.lead__error {
  margin: 14px 0 0; padding: 12px 14px; border-radius: 10px;
  background: #fdecea; border: 1px solid #f3b9b2; color: #a5281b; font-size: 0.86rem; line-height: 1.5;
}
.lead__compliance { margin-top: 16px; font-size: 0.76rem; line-height: 1.55; color: var(--muted-2); text-align: center; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

.lead__success { text-align: center; padding: 18px 8px 6px; animation: fade-up 0.5s ease both; }
.lead__success-icon {
  width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--gold-grad); color: #1c1a14; display: grid; place-items: center;
  font-size: 1.7rem; font-weight: 700;
}
.lead__success h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.lead__success p { color: var(--muted); margin-bottom: 20px; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- Quality quote */
.quality { background: var(--beige); }
.quality__inner { max-width: 920px; margin: 0 auto; text-align: center; position: relative; }
.quality__mark { font-family: var(--serif); font-size: 6rem; line-height: 0.5; color: var(--gold-soft); margin-bottom: 18px; }
.quality__quote { font-family: var(--serif); font-weight: 500; font-size: clamp(1.5rem, 3.2vw, 2.4rem); line-height: 1.32; color: var(--ink); }
.quality__by { margin-top: 20px; color: var(--muted); font-size: 0.95rem; }

/* ---------------------------------------------------------------- Why choose us */
.why__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.why__text .btn { margin-top: 26px; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why__list li {
  position: relative; padding: 16px 16px 16px 50px; background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 0.92rem; color: var(--ink);
}
.why__list li::before {
  content: '✓'; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-grad); color: #1c1a14; font-size: 0.72rem; font-weight: 700;
}

/* ---------------------------------------------------------------- Ticks list */
.ticks { display: grid; gap: 10px; margin: 22px 0 26px; }
.ticks--2col { grid-template-columns: 1fr 1fr; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink); font-size: 0.95rem; }
.ticks li::before {
  content: '✓'; position: absolute; left: 0; top: 1px; width: 19px; height: 19px;
  display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #1c1a14; font-size: 0.66rem; font-weight: 700;
}

/* ---------------------------------------------------------------- NRI */
.nri__inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 50px; align-items: center; }
.nri__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.nri__card {
  background: linear-gradient(160deg, #1b1e25, #262b34); color: #fff;
  border-radius: 20px; padding: 44px 32px; text-align: center; box-shadow: var(--shadow);
  border: 1px solid rgba(201,163,92,0.25);
}
.nri__globe { font-size: 3.4rem; margin-bottom: 14px; }
.nri__card-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.nri__card-sub { color: var(--gold-2); font-size: 0.9rem; letter-spacing: 0.05em; margin-top: 4px; }
.nri__flags { font-size: 1.5rem; margin-top: 20px; letter-spacing: 6px; }

/* ---------------------------------------------------------------- Final CTA */
.cta {
  background:
    radial-gradient(900px 380px at 50% -30%, rgba(201,163,92,0.22), transparent 60%),
    linear-gradient(160deg, #15171c, #20242c);
  color: #fff; text-align: center;
}
.cta__inner { max-width: 780px; margin: 0 auto; }
.cta__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.14; }
.cta__sub { color: #c7c2b6; font-size: 1.1rem; margin: 18px 0 30px; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------------------------------------------------------------- Footer */
.footer { background: #101216; color: #a7a298; padding-top: 64px; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer__about { margin: 18px 0 20px; max-width: 320px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(255,255,255,0.06); color: #cfc9bd; transition: background 0.25s, color 0.25s, transform 0.25s;
}
.footer__social a:hover { background: var(--gold); color: #1c1a14; transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; font-weight: 600; }
.footer__col a { display: block; padding: 6px 0; color: #a7a298; transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-2); }
.footer__contact a, .footer__addr { display: flex; flex-direction: column; }
.footer__contact a span, .footer__addr span { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #6f6a60; margin-bottom: 2px; }
.footer__contact a b, .footer__addr b { color: #ded8cc; font-weight: 500; }
.footer__addr { padding: 6px 0; margin: 0; }
.footer__disclaimer { padding-top: 26px; padding-bottom: 8px; }
.footer__disclaimer p { font-size: 0.8rem; color: #7c776d; line-height: 1.7; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 22px; }
.footer__bar { border-top: 1px solid rgba(255,255,255,0.07); margin-top: 18px; padding: 20px 0; }
.footer__bar-inner { display: flex; justify-content: space-between; gap: 12px; font-size: 0.8rem; color: #6f6a60; }

/* ---------------------------------------------------------------- Floating WhatsApp */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff; padding: 13px 18px 13px 15px; border-radius: 50px;
  box-shadow: 0 14px 34px -12px rgba(37,211,102,0.7); font-weight: 600; font-size: 0.9rem;
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float__label { white-space: nowrap; }

/* ---------------------------------------------------------------- Developer ecosystem */
.devs__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.dev-logo {
  display: grid; place-items: center; height: 82px; padding: 12px; text-align: center;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--charcoal); transition: background .25s, border-color .25s, box-shadow .25s, transform .25s;
}
.dev-logo span { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.15; }
.dev-logo img { max-height: 44px; max-width: 100%; width: auto; object-fit: contain; }
.dev-logo:hover { background: #fff; border-color: var(--gold-soft); box-shadow: var(--shadow-sm); transform: translateY(-3px); color: var(--ink); }

/* ---------------------------------------------------------------- Compare cards */
.cmp-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; height: 100%;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cmp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.cmp-card__title { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1.22; margin-bottom: 10px; }
.cmp-card__rows { margin-bottom: 20px; }
.cmp-row { padding: 12px 0; border-top: 1px solid var(--line); }
.cmp-row:first-child { border-top: none; }
.cmp-row span { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.cmp-row p { font-size: .92rem; color: var(--muted); }
.cmp-card__cta { margin-top: auto; }

/* ---------------------------------------------------------------- Market snapshot */
.snap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.snap-table { width: 100%; border-collapse: collapse; min-width: 660px; }
.snap-table th, .snap-table td { text-align: left; padding: 15px 18px; font-size: .92rem; }
.snap-table thead th {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
  background: var(--cream); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.snap-table tbody td { border-bottom: 1px solid var(--line); color: var(--muted); }
.snap-table tbody tr:last-child td { border-bottom: none; }
.snap-table tbody td strong { color: var(--ink); font-weight: 600; }
.snap__note { margin-top: 16px; font-size: .86rem; line-height: 1.6; color: var(--ink-2); background: var(--cream); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; padding: 12px 16px; }
.snap__note a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.snap__note:empty { display: none; }
.snap__updated { margin-top: 14px; font-size: .82rem; color: var(--muted-2); }
.snap__updated span { color: var(--ink); }

/* ---------------------------------------------------------------- Blog / insight cards */
.blog-card {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; height: 100%; color: inherit;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.blog-card__media { position: relative; height: 130px; background: linear-gradient(135deg, #20242c 0%, #2c313b 100%); }
.blog-card__media::before { content: ''; position: absolute; inset: 0; background: radial-gradient(140% 120% at 100% 0%, rgba(201,163,92,0.32), transparent 55%); }
.blog-card__tag {
  position: absolute; left: 16px; bottom: 14px; z-index: 1; font-size: .66rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: #1c1a14; background: var(--gold);
  padding: 5px 12px; border-radius: 50px;
}
.blog-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card__title { font-family: var(--serif); font-size: 1.26rem; font-weight: 600; line-height: 1.25; margin-bottom: 8px; }
.blog-card__excerpt { font-size: .92rem; color: var(--muted); margin-bottom: 16px; }
.blog-card__more { margin-top: auto; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.blog-card:hover .blog-card__more { color: var(--ink); }

/* ---------------------------------------------------------------- Blog article pages */
.blog-hero {
  color: #fff; padding: clamp(54px, 9vw, 96px) 0 clamp(34px, 6vw, 58px);
  background:
    radial-gradient(900px 380px at 85% -20%, rgba(201,163,92,0.16), transparent 60%),
    linear-gradient(160deg, #15171c, #20242c);
}
.blog-hero__inner { max-width: 820px; margin: 0 auto; }
.blog-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.14; margin: 14px 0 16px; }
.blog-hero__desc { color: #c7c2b6; font-size: 1.12rem; max-width: 680px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .82rem; color: #9c968b; }
.blog-meta span { display: inline-flex; align-items: center; }
.blog-meta span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; margin-right: 9px; }

.blog-wrap { max-width: 820px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) 24px; }
.blog-article { }

.blog-toc { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin-bottom: 40px; }
.blog-toc__label { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.blog-toc ol { list-style: none; counter-reset: toc; display: grid; gap: 9px; }
.blog-toc li { counter-increment: toc; }
.blog-toc a { color: var(--ink-2); font-size: .95rem; }
.blog-toc a::before { content: counter(toc, decimal-leading-zero); color: var(--gold); font-family: var(--serif); font-weight: 700; margin-right: 10px; }
.blog-toc a:hover { color: var(--gold); }

.blog-content { color: var(--text); }
.blog-content p { margin-bottom: 16px; }
.blog-content > p, .blog-content li { font-size: 1.05rem; line-height: 1.75; color: #3a3d44; }
.blog-content h2 {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2;
  margin: 42px 0 14px; padding-top: 26px; border-top: 1px solid var(--line);
}
.blog-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.blog-content h3 { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--ink); margin: 26px 0 8px; }
.blog-content ul { list-style: none; margin: 0 0 18px; padding: 0; }
.blog-content ul li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.blog-content ul li::before { content: ''; position: absolute; left: 4px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.blog-content ol { margin: 0 0 18px; padding-left: 22px; }
.blog-content ol li { margin-bottom: 9px; padding-left: 6px; }
.blog-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.blog-content a:hover { color: var(--ink); }
.blog-content strong { color: var(--ink); font-weight: 600; }

.blog-table { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.blog-content table { width: 100%; border-collapse: collapse; min-width: 540px; }
.blog-content th, .blog-content td { text-align: left; padding: 13px 16px; font-size: .92rem; }
.blog-content thead th { background: var(--cream); color: var(--gold); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.blog-content tbody td { border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
.blog-content tbody tr:last-child td { border-bottom: none; }
.blog-content tbody td:first-child { color: var(--ink); font-weight: 500; }

.blog-sources { background: var(--cream); border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; padding: 24px 26px; margin: 38px 0; }
.blog-sources h2 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; color: var(--ink); }
.blog-sources ul { list-style: none; display: grid; gap: 11px; }
.blog-sources li { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.blog-sources a { color: var(--gold); word-break: break-word; }

.blog-cta {
  text-align: center; color: #fff; border-radius: var(--radius); margin: 40px 0;
  padding: clamp(34px, 5vw, 52px) 28px;
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(201,163,92,0.22), transparent 60%),
    linear-gradient(160deg, #15171c, #20242c);
}
.blog-cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; margin: 0 0 10px; }
.blog-cta p { color: #c7c2b6; max-width: 540px; margin: 0 auto 22px; }
.blog-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.blog-disclaimer { font-size: .8rem; color: var(--muted-2); line-height: 1.65; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 36px; }

.more-insights { background: var(--cream); border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------- Thank-you page */
.ty {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 24px; color: #fff;
  background:
    radial-gradient(900px 380px at 50% -20%, rgba(201,163,92,0.22), transparent 60%),
    linear-gradient(160deg, #15171c, #20242c);
}
.ty__card { max-width: 640px; }
.ty__title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 4vw, 2.7rem); line-height: 1.18; margin: 8px 0 16px; }
.ty__sub { color: #c7c2b6; font-size: 1.08rem; }
.ty__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 30px 0 26px; }
.ty__note { font-size: 0.78rem; color: #8d887d; line-height: 1.6; max-width: 560px; margin: 0 auto; }
.ty__foot { margin-top: 34px; font-size: 0.8rem; color: #6f6a60; }

/* ---------------------------------------------------------------- Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps   { grid-template-columns: repeat(2, 1fr); }
  .lead__inner { grid-template-columns: 1fr; gap: 34px; }
  .why__inner, .nri__inner { grid-template-columns: 1fr; gap: 36px; }
  .why__text .btn.hide-mobile { display: none; }
  .show-mobile { display: block; }   /* reveal stacked CTA once layout collapses */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .devs__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 8px 24px 22px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); transform: translateY(-130%); transition: transform 0.35s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 14px; }
  .nav__toggle { display: flex; }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .why__list { grid-template-columns: 1fr; }
  .ticks--2col { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bar-inner { flex-direction: column; text-align: center; }

  /* 16px controls prevent iOS Safari from auto-zooming on focus */
  .field input, .field select, .field textarea { font-size: 16px; }

  .hide-mobile { display: none !important; }
  .show-mobile { display: block; }
  .wa-float__label { display: none; }
  .wa-float { padding: 14px; }
  .hero__trust { gap: 8px 18px; }

  .devs__grid { grid-template-columns: repeat(3, 1fr); }

  /* Snapshot table → stacked cards (no horizontal scroll on phones) */
  .snap { overflow: visible; border: none; background: transparent; }
  .snap-table { min-width: 0; display: block; }
  .snap-table thead { display: none; }
  .snap-table tbody, .snap-table tr, .snap-table td { display: block; width: 100%; }
  .snap-table tr {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    margin-bottom: 14px; padding: 4px 18px 10px; box-shadow: var(--shadow-sm);
  }
  /* First cell = card header (the micro-market name) */
  .snap-table td:first-child {
    font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--ink);
    padding: 14px 0 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
  }
  .snap-table td:first-child::before { display: none; }
  /* Remaining cells = small gold label stacked over the value (no cramping) */
  .snap-table td { padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: .95rem; line-height: 1.5; }
  .snap-table tr td:last-child { border-bottom: none; }
  .snap-table td::before {
    content: attr(data-label); display: block; margin-bottom: 3px;
    font-size: .64rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold);
  }
  .snap-table td a { word-break: break-word; }

  /* Blog pages on mobile */
  .blog-wrap { padding-left: 20px; padding-right: 20px; }
  .blog-content > p, .blog-content li { font-size: 1rem; }
  .blog-toc { padding: 18px 20px; }
  .blog-sources { padding: 20px; }
  .blog-cta__btns .btn { width: 100%; }
}

@media (max-width: 420px) {
  .brand__text em { display: none; }
  .btn--lg { width: 100%; }
  .hero__cta .btn, .cta__btns .btn { width: 100%; }
  .devs__grid { grid-template-columns: repeat(2, 1fr); }
}
