/* =====================================================================
   Wallstreet Realty — Official Design System
   Palette: Warm Black · Paper White · Champagne/Taupe Gold (navy secondary)
   Type: Manrope (display) · Inter (body). Mobile-first.
   Tokens aligned to the WSR Design System handoff.
   ===================================================================== */

:root {
  /* Brand colors — official tokens (names kept for stability) */
  --black:        #0E0D0B;   /* ink-900 — luxe warm black (footer, dark surfaces) */
  --ink:          #0E0D0B;   /* primary text + dark sections / hero */
  --charcoal:     #1A1714;   /* ink-800 — cards on dark, steps */
  --slate:        #5B554B;   /* ink-500 — secondary text */
  --line:         #E7E1D7;   /* ink-100 — borders, dividers */
  --paper:        #FAF7F1;   /* warm paper page background */
  --white:        #FFFFFF;

  /* Champagne / taupe gold (brand metallic — never bright/yellow) */
  --gold:         #A98D62;   /* champagne-500 — primary brand gold */
  --gold-soft:    #CCB084;   /* champagne-300 — accents on dark */
  --gold-deep:    #8C6F45;   /* champagne-600 — text-safe gold on light */
  --gold-tint:    #F7F2E9;   /* champagne-50 — tint chips */

  /* Navy — secondary brand color (premium, used sparingly) */
  --navy:         #1F3A5F;   /* navy-600 */
  --navy-deep:    #0E1A2B;   /* navy-900 */

  /* Type */
  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 22px 54px -16px rgba(20,17,12,.22);   /* warm-tinted elevation */
  --shadow-soft: 0 10px 28px -10px rgba(20,17,12,.16);
  --t: .35s cubic-bezier(.22,1,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p  { color: var(--slate); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
  margin-bottom: 1rem;
}
.gold { color: var(--gold); }
.serif { font-family: var(--font-head); }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink p { color: #CFC8BC; }
.center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5.5vw, 64px); }
.center.section-head { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: 15px 30px;
  font-size: .92rem; font-weight: 600; letter-spacing: .02em;
  border-radius: 12px; border: 1.5px solid transparent;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: 0 10px 28px rgba(169,141,98,.34); }
.btn-gold:hover { background: var(--gold-soft); box-shadow: 0 16px 38px rgba(169,141,98,.45); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--charcoal); box-shadow: var(--shadow-soft); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.32); }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-lg { padding: 18px 38px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--t);
}
.site-header.scrolled { box-shadow: var(--shadow-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; letter-spacing: .01em; }
.brand .brand-mark { height: 34px; width: auto; display: block; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-size: .56rem; letter-spacing: .26em; color: var(--slate); text-transform: uppercase; font-weight: 600; margin-top: 1px; }
.site-footer .brand small { color: var(--text-on-dark-muted, #A39B8D); }

.nav-links { display: none; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 9px 13px; font-size: .9rem; font-weight: 500; color: var(--ink);
  border-radius: 8px; transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--gold-deep); background: var(--gold-tint); }
.nav-links a.active { color: var(--gold-deep); }
.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; background: transparent; border: 0;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform var(--t), opacity var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 14px 22px 26px; border-bottom: 1px solid var(--line); background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 8px; font-size: 1.02rem; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background:
    linear-gradient(100deg, rgba(14,13,11,.88) 0%, rgba(14,13,11,.64) 48%, rgba(14,13,11,.40) 100%),
    radial-gradient(1100px 560px at 82% -12%, rgba(169,141,98,.30), transparent 62%),
    radial-gradient(900px 500px at 5% 110%, rgba(26,23,20,.85), transparent 60%),
    var(--ink);
  padding: clamp(80px, 13vw, 160px) 0 clamp(70px, 11vw, 130px);
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px; opacity: .5;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero h1 .gold { color: var(--gold); }
.hero p { color: #E8E2D6; max-width: 560px; margin-top: 1.3rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero .btn-row { margin-top: 2.2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 30px 48px; margin-top: 3rem; }
.hero-stats .stat strong { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--gold); line-height: 1; }
.hero-stats .stat span { font-size: .82rem; letter-spacing: .04em; color: #CFC8BC; text-transform: uppercase; }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

.card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;       /* equal-height + bottom-aligned CTAs */
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
/* Push a trailing button row to a shared bottom baseline across the grid. */
.card > p:last-child:has(.btn) { margin-top: auto !important; padding-top: 6px; }
.card::after {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.card:hover::after { transform: scaleX(1); }
.card .ico {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold-deep); margin-bottom: 18px; font-size: 1.4rem;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .96rem; }

.section--ink .card { background: var(--charcoal); border-color: #2c2e33; }
.section--ink .card:hover { border-color: var(--gold-deep); }
.section--ink .card h3 { color: var(--white); }
.section--ink .card p { color: #B8B0A2; }

/* ---------- Split / media ---------- */
.split { display: grid; gap: 44px; align-items: start; grid-template-columns: 1fr; }
.split .media {
  position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 4/3; border: 1px solid rgba(204,176,132,.30); background: var(--paper);
}
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split .media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(14,13,11,.28));
}
.split .media .media-caption {
  position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.split .media .media-caption::before { content: ""; width: 18px; height: 2px; background: var(--gold); display: inline-block; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--ink); }
.check-list li::before {
  content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-tint); color: var(--gold-deep); font-size: .75rem; font-weight: 700;
  display: grid; place-items: center; margin-top: 3px;
}
.section--ink .check-list li { color: #e4e6e9; }

/* ---------- Pricing card ---------- */
.pricing-grid { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;        /* equal height + bottom-aligned CTA */
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; transition: transform var(--t), box-shadow var(--t);
}
.price-card .btn { margin-top: auto; }
.price-card.featured {
  background: var(--ink); color: var(--white); border-color: var(--ink); position: relative;
  box-shadow: var(--shadow);
}
.price-card.featured p, .price-card.featured li { color: #CFC8BC; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card .tag {
  position: absolute; top: 20px; right: 20px; background: var(--gold); color: var(--black);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.price-card .amount { font-family: var(--font-head); font-size: 3rem; line-height: 1; margin: 6px 0 4px; }
.price-card.featured .amount { color: var(--gold); }
.price-card .per { font-size: .9rem; color: var(--slate); }
.price-card ul { margin: 22px 0 26px; }
.price-card li { display: flex; gap: 10px; padding: 8px 0; font-size: .95rem; border-bottom: 1px solid rgba(0,0,0,.05); }
.price-card.featured li { border-bottom-color: rgba(255,255,255,.08); }
.price-card li::before { content: "✓"; color: var(--gold); font-weight: 700; }

/* ---------- Comparison table ---------- */
.compare { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.compare table { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--white); }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.compare th { font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
.compare td:first-child { font-weight: 600; color: var(--ink); }
.compare .col-us { background: var(--gold-tint); color: var(--ink); font-weight: 600; }
.compare th.col-us { color: var(--gold-deep); }
.compare tr:last-child td { border-bottom: 0; }
.yes { color: var(--gold-deep); font-weight: 700; }
.no { color: #b94a48; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: transparent; border: 0; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 4px; font-size: 1.05rem; font-weight: 600; color: var(--ink); font-family: var(--font-body);
}
.faq-q .pm { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: transform var(--t), background var(--t), color var(--t), border-color var(--t); }
.faq-item.open .faq-q .pm { transform: rotate(45deg); background: var(--gold); border-color: var(--gold); color: var(--black); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a p { padding: 0 4px 22px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(169,141,98,.28), transparent 55%),
    var(--ink);
  color: var(--white); border-radius: var(--radius); padding: clamp(40px, 6vw, 70px);
  text-align: center;
}
.cta-band h2 { color: var(--white); max-width: 18ch; margin: 0 auto; }
.cta-band p { color: #CFC8BC; max-width: 540px; margin: 16px auto 0; }
.cta-band .btn-row { margin-top: 30px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-soft); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 600; letter-spacing: .03em; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: .98rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink);
  transition: border-color var(--t), background var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(169,141,98,.14);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--slate); margin-top: 6px; }

/* ---------- Embed placeholder ---------- */
.embed-slot {
  border: 2px dashed var(--gold-soft); border-radius: var(--radius); background: var(--gold-tint);
  padding: clamp(40px, 7vw, 80px) 24px; text-align: center; color: var(--gold-deep);
}
.embed-slot strong { display: block; font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); margin-bottom: 8px; }
.embed-slot code { background: var(--white); padding: 2px 8px; border-radius: 6px; font-size: .85rem; color: var(--gold-deep); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: 1fr; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step,decimal-leading-zero);
  font-family: var(--font-head); font-size: 2.2rem; color: var(--gold); display: block; margin-bottom: 10px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #CFC8BC; padding: clamp(54px, 7vw, 84px) 0 32px; }
.footer-grid { display: grid; gap: 38px; grid-template-columns: 1fr; }
.site-footer .brand { color: var(--white); margin-bottom: 14px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { display: block; padding: 6px 0; color: #B8B0A2; font-size: .94rem; transition: color var(--t); }
.site-footer a:hover { color: var(--gold); }
.footer-about p { font-size: .94rem; color: #A39B8D; max-width: 320px; }
.footer-bottom { border-top: 1px solid #211E18; margin-top: 44px; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .82rem; color: #8C8475; }
.footer-disclaimer { font-size: .76rem; color: #6E665A; margin-top: 14px; line-height: 1.7; }

/* ---------- Home hero: two-column with framed visual ---------- */
.hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.hero-visual { display: none; }                 /* desktop enhancement; mobile stacks copy only */
.hero-photo {
  position: relative; z-index: 1; border-radius: 22px; overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: 0 34px 80px rgba(14,13,11,.50);
  border: 1px solid rgba(204,176,132,.45);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  background: var(--gold); color: var(--black); font-weight: 700; font-size: .78rem;
  padding: 8px 14px; border-radius: 100px; box-shadow: 0 10px 24px rgba(169,141,98,.40);
}
.hero-glass {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  background: rgba(14,13,11,.55); backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 15px 18px;
}
.hero-glass .hg-label { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); font-weight: 700; }
.hero-glass strong { display: block; font-family: var(--font-head); font-size: 1.45rem; color: #fff; margin: 3px 0 2px; }
.hero-glass p { color: #cfd3da; font-size: .86rem; margin: 0; }

/* ---------- Home hero photo variant ---------- */
.hero--home {
  background:
    linear-gradient(100deg, rgba(14,13,11,.90) 0%, rgba(14,13,11,.66) 46%, rgba(14,13,11,.34) 100%),
    radial-gradient(1100px 560px at 82% -12%, rgba(169,141,98,.26), transparent 62%),
    url("https://images.unsplash.com/photo-1512917774080-9991f1c4c750?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat,
    var(--ink);
}

/* ---------- Recruiting hero photo variant ---------- */
.hero--recruit {
  background:
    linear-gradient(100deg, rgba(14,13,11,.92) 0%, rgba(14,13,11,.70) 46%, rgba(14,13,11,.42) 100%),
    radial-gradient(1100px 560px at 82% -12%, rgba(169,141,98,.26), transparent 62%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80") center/cover no-repeat,
    var(--ink);
}

/* ---------- Elevated featured pricing card ---------- */
.price-card.featured {
  box-shadow: 0 28px 70px rgba(14,13,11,.22);
  outline: 1px solid rgba(169,141,98,.40); outline-offset: -1px;
}
.price-card.featured .amount { text-shadow: 0 2px 18px rgba(169,141,98,.25); }

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 48px; padding: 26px 22px; }
.trust .trust-item { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; color: var(--ink); }
.trust .trust-item span:first-child { color: var(--gold-deep); font-size: 1.1rem; }

/* ---------- IDX mount (branded placeholder) ---------- */
.idx-mount {
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.idx-mount .idx-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  padding: 18px; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.06);
}
.idx-mount .idx-bar .pill {
  flex: 1 1 160px; min-width: 120px; background: rgba(255,255,255,.07);
  color: #c9cfd8; border: 1px solid rgba(255,255,255,.12); border-radius: 100px;
  padding: 12px 18px; font-size: .9rem;
}
.idx-mount .idx-bar .pill.go { flex: 0 0 auto; background: var(--gold); color: var(--black); border-color: var(--gold); font-weight: 700; }
.idx-mount .idx-body { padding: clamp(40px, 7vw, 76px) 24px; text-align: center; }
.idx-mount .idx-body .badge {
  display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep); background: var(--gold-tint); padding: 7px 14px; border-radius: 100px; margin-bottom: 16px;
}
.idx-mount .idx-body strong { display: block; font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ink); margin-bottom: 10px; }
.idx-mount .idx-body p { max-width: 540px; margin: 0 auto; }
.idx-mount .idx-body code { background: var(--paper); padding: 2px 8px; border-radius: 6px; font-size: .85rem; color: var(--gold-deep); }
/* Quick-filter chips under the search bar */
.idx-mount .idx-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: var(--paper); }
.idx-mount .idx-filters .chip {
  font-size: .82rem; font-weight: 600; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 100px; padding: 8px 14px; transition: border-color var(--t), color var(--t);
}
.idx-mount .idx-filters .chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.idx-mount .idx-filters .chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
/* Results skeleton (preview only — illustrative, not live listings) */
.idx-skeleton { display: grid; grid-template-columns: 1fr; gap: 18px; padding: 24px; }
.skel-card { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--white); }
.skel-card .skel-img { aspect-ratio: 16/10; background: linear-gradient(100deg, #eee7d8 30%, #f6f1e6 50%, #eee7d8 70%); background-size: 200% 100%; animation: shimmer 1.6s infinite linear; }
.skel-card .skel-meta { padding: 14px; }
.skel-line { height: 11px; border-radius: 6px; background: linear-gradient(100deg, #ece6da 30%, #f7f2e8 50%, #ece6da 70%); background-size: 200% 100%; animation: shimmer 1.6s infinite linear; margin-bottom: 9px; }
.skel-line.w-60 { width: 60%; } .skel-line.w-40 { width: 40%; } .skel-line.w-80 { width: 80%; }
.skel-line.price { height: 16px; width: 35%; background: var(--gold-tint); animation: none; }
@keyframes shimmer { to { background-position: -200% 0; } }
.idx-foot { text-align: center; padding: 0 24px 26px; font-size: .82rem; color: var(--slate); }
@media (min-width: 680px) { .idx-skeleton { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .idx-skeleton { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 7vw, 80px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 160%; background: radial-gradient(circle, rgba(169,141,98,.20), transparent 60%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: #E8E2D6; max-width: 600px; margin-top: 1rem; }
.breadcrumb { font-size: .8rem; letter-spacing: .04em; color: var(--gold); margin-bottom: 1rem; text-transform: uppercase; }
/* Interior hero with a framed visual (compact, landscape) */
.page-hero .hero-grid { align-items: center; }
.page-hero .hero-photo { aspect-ratio: 5 / 4; box-shadow: 0 28px 64px rgba(14,13,11,.50); }
.page-hero .hero-glass strong { font-size: 1.25rem; }

/* ---------- Logo strip ---------- */
.logos { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; justify-content: center; opacity: .8; }
.logos span { font-family: var(--font-head); font-size: 1.3rem; color: var(--slate); }

/* ---------- Responsive ---------- */
@media (min-width: 680px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.reverse .media { order: 2; }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }

  /* Home hero two-column + framed visual */
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 60px; }
  .hero-visual { display: block; position: relative; }
  .hero-visual::before {
    content: ""; position: absolute; left: 30px; right: -16px; top: 26px; bottom: -16px;
    border: 1px solid rgba(204,176,132,.50); border-radius: 26px; z-index: 0; pointer-events: none;
  }
}

/* ====================================================================
   Batch D — final polish: micro-interactions & consistency
   ==================================================================== */

/* Image zoom on hover (framed media + hero photos) */
.hero-photo img, .split .media img { transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.hero-photo:hover img, .split .media:hover img { transform: scale(1.05); }

/* Card icon fills gold + lifts on card hover */
.card .ico { transition: transform var(--t), background var(--t), color var(--t); }
.card:hover .ico { transform: translateY(-2px) scale(1.06); background: var(--gold); color: var(--black); }

/* Steps gain depth + gold edge on hover */
.step { transition: transform var(--t), box-shadow var(--t), border-color var(--t); }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); border-color: var(--gold-soft); }

/* Button press feedback */
.btn:active { transform: translateY(-1px); }

/* FAQ question hover */
.faq-q:hover { color: var(--gold-deep); }

/* Featured pricing card — stronger soft glow on hover (recruiting emphasis) */
.price-card.featured:hover { box-shadow: 0 36px 84px rgba(14,13,11,.34), 0 0 0 1px rgba(169,141,98,.55); }

/* Trust strip items subtle hover */
.trust .trust-item { transition: color var(--t); }
.trust .trust-item:hover { color: var(--gold-deep); }

/* Tighten IDX body spacing now that a results preview follows it */
.idx-mount .idx-body { padding: clamp(34px, 5vw, 56px) 24px clamp(18px, 3vw, 28px); }

/* Accessible focus ring (keyboard only) */
a:focus-visible, button:focus-visible, .btn:focus-visible, .faq-q:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-photo:hover img, .split .media:hover img { transform: none; }
}
