/* =========================================================
   Your Local Trade — styles
   ========================================================= */
:root {
  --ink: #15191d;
  --ink-2: #22282e;
  --ink-3: #2e353c;
  --text: #1c2228;
  --muted: #5d6873;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --blue: #2aa9e0;
  --blue-dark: #1584b6;
  --blue-soft: #e5f5fc;
  --gold: #ffb420;
  --green: #22a565;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 12px 40px -12px rgba(16, 24, 32, .18);
  --shadow-sm: 0 4px 14px -6px rgba(16, 24, 32, .14);
  --max: 1200px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --script: 'Caveat', 'Brush Script MT', cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-weight: 700; color: var(--blue); letter-spacing: 0; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--ink); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 14px; }
.section-dark .eyebrow { color: var(--blue); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section-dark .lead { color: #b9c3cc; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s, color .15s; font-family: inherit; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(42, 169, 224, .7); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #c7d0d8; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar-items { display: flex; gap: 22px; align-items: center; }
.topbar-items span { display: inline-flex; gap: 6px; align-items: center; }
.topbar .icon { width: 16px; height: 16px; color: var(--blue); }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink-2); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.04); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; line-height: 1; }
.logo-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--blue); display: grid; place-items: center; color: #fff; }
.logo-mark .icon { width: 22px; height: 22px; }
.logo-text small { display: block; font-size: .78rem; font-weight: 500; color: #a9b4bd; letter-spacing: .01em; }
.logo-text strong { display: block; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.logo-text strong em { font-style: normal; color: var(--blue); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: #dbe2e8; transition: background .15s, color .15s; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-toggle .icon { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% -10%, rgba(42,169,224,.28), transparent 60%), linear-gradient(180deg, var(--ink-2), var(--ink)); color: #fff; overflow: hidden; }
.hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .script { display: block; font-size: 1.12em; line-height: .95; margin-top: 4px; }
.hero .lead { color: #c3ccd4; font-size: 1.2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #c3ccd4; font-size: .92rem; }
.hero-badges span { display: inline-flex; gap: 8px; align-items: center; }
.hero-badges .icon { width: 18px; height: 18px; color: var(--blue); }

.search-card { background: #fff; color: var(--text); border-radius: 22px; padding: 10px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); margin-top: 30px; max-width: 680px; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 14px; background: var(--bg-soft); }
.search-field .icon { color: var(--muted); width: 20px; height: 20px; }
.search-field label { display: block; font-size: .7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.search-field input, .search-field select { width: 100%; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--text); padding: 0; outline: none; appearance: none; -webkit-appearance: none; }
.search-field > div { flex: 1; min-width: 0; }
.search-card .btn { height: 100%; border-radius: 14px; padding: 0 26px; }

/* Hero preview card */
.preview { position: relative; }
.preview-card { background: #fff; color: var(--text); border-radius: 22px; padding: 22px; box-shadow: var(--shadow); transform: rotate(1.2deg); }
.preview-card h4 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.preview-card h4 small { font-weight: 600; color: var(--muted); font-size: .78rem; }
.preview-row { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); margin-bottom: 10px; }
.preview-row:first-of-type { border-color: var(--blue); background: var(--blue-soft); }
.rank { width: 32px; height: 32px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex: none; }
.preview-row:first-of-type .rank { background: var(--blue); }
.preview-row b { display: block; font-size: .95rem; }
.preview-row small { color: var(--muted); font-size: .8rem; }
.preview-row .stars { margin-left: auto; }
.floating-chip { position: absolute; background: #fff; color: var(--text); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow); font-size: .82rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.floating-chip .icon { width: 18px; height: 18px; color: var(--green); }
.chip-1 { top: -18px; left: -26px; transform: rotate(-3deg); }
.chip-2 { bottom: -22px; right: -10px; transform: rotate(2deg); }

.stars { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .88rem; white-space: nowrap; }
.stars svg { width: 16px; height: 16px; fill: var(--gold); stroke: none; }
.stars small { color: var(--muted); font-weight: 500; }

/* ---------- Trade pills ---------- */
.trade-strip { background: var(--blue); }
.trade-strip .container { display: flex; gap: 10px; overflow-x: auto; padding-top: 16px; padding-bottom: 16px; scrollbar-width: none; }
.trade-strip .container::-webkit-scrollbar { display: none; }
.trade-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background .15s; }
.trade-pill:hover { background: rgba(255,255,255,.28); }
.trade-pill .icon { width: 18px; height: 18px; }

/* ---------- Grids & cards ---------- */
.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); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; }
.icon-box { width: 54px; height: 54px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-dark); display: grid; place-items: center; margin-bottom: 18px; }
.icon-box .icon { width: 26px; height: 26px; }
.section-dark .card { background: var(--ink-2); border-color: var(--ink-3); }
.section-dark .card p { color: #aab5bf; }
.section-dark .icon-box { background: rgba(42,169,224,.14); color: var(--blue); }

.section-head { margin-bottom: 48px; }
.section-head.split { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }

/* Steps */
.step { position: relative; padding-top: 34px; }
.step-num { position: absolute; top: -18px; left: 28px; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step:nth-child(2) .step-num { background: var(--blue); }

/* Trade tiles */
.trade-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-weight: 700; transition: all .2s; }
.trade-tile:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.trade-tile .icon-box { margin: 0; width: 46px; height: 46px; border-radius: 13px; }
.trade-tile small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }

/* Region chips */
.state-block { margin-bottom: 34px; }
.state-block h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; }
.state-block h3 span { font-size: .75rem; padding: 3px 8px; background: var(--ink); color: #fff; border-radius: 6px; letter-spacing: .06em; }
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem; transition: all .15s; }
.chip:hover, .chip.active { border-color: var(--blue); color: var(--blue-dark); background: var(--blue-soft); }
.chip .icon { width: 15px; height: 15px; }

/* Split feature */
.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 22px; height: 22px; color: #fff; background: var(--green); border-radius: 50%; padding: 4px; margin-top: 2px; stroke-width: 3; }
.panel { background: var(--ink-2); border-radius: 24px; padding: 32px; color: #fff; position: relative; overflow: hidden; }
.panel::before { content: ''; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; background: radial-gradient(circle, rgba(42,169,224,.35), transparent 70%); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; }
.stat { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 20px; }
.stat strong { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: #fff; }
.stat span { color: #aab5bf; font-size: .88rem; }

/* Stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-band strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: var(--blue); }
.stats-band span { color: #aab5bf; font-weight: 500; }

/* Testimonials */
.quote-card { display: flex; flex-direction: column; gap: 18px; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--text); }
.quote-by { display: flex; gap: 12px; align-items: center; margin-top: auto; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.quote-by small { display: block; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq summary { cursor: pointer; padding: 20px 24px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; color: var(--blue); font-weight: 500; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--blue), var(--blue-dark)); color: #fff; border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1px); background-size: 20px 20px; mask-image: linear-gradient(90deg, transparent, #000); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; font-size: 1.1rem; }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--ink-2), var(--ink)); color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 300px at 90% 0%, rgba(42,169,224,.25), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero .lead { color: #c3ccd4; }
.crumbs { font-size: .85rem; color: #93a0ab; margin-bottom: 14px; }
.crumbs a:hover { color: #fff; }

/* ---------- Directory ---------- */
.dir-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 18px 0 10px; }
.filters h4:first-child { margin-top: 0; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line); font: inherit; background: #fff; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42,169,224,.15); }
.toggle { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; margin-bottom: 10px; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--blue); }

.results-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.results-head h2 { font-size: 1.5rem; margin: 0; }
.results-head p { margin: 0; color: var(--muted); }
.notice { background: #fff8e6; border: 1px solid #ffe2a3; color: #7a5500; border-radius: 12px; padding: 10px 14px; font-size: .85rem; margin-bottom: 18px; }

.listing { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; transition: box-shadow .2s, border-color .2s; }
.listing:hover { box-shadow: var(--shadow); border-color: transparent; }
.listing.top { border: 2px solid var(--blue); }
.listing-rank { width: 64px; height: 64px; border-radius: 18px; background: var(--ink); color: #fff; display: grid; place-items: center; text-align: center; line-height: 1; }
.listing-rank b { font-size: 1.5rem; display: block; }
.listing-rank small { font-size: .62rem; font-weight: 600; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }
.listing.top .listing-rank { background: var(--blue); }
.listing h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); letter-spacing: .02em; }
.badge .icon { width: 13px; height: 13px; }
.badge.blue { background: var(--blue-soft); color: var(--blue-dark); }
.badge.green { background: #e4f6ed; color: #17784a; }
.badge.gold { background: #fff3d6; color: #8a5a00; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .88rem; margin: 6px 0 10px; align-items: center; }
.listing-meta span { display: inline-flex; gap: 5px; align-items: center; }
.listing-meta .icon { width: 15px; height: 15px; }
.listing p { color: var(--muted); font-size: .92rem; margin: 0 0 10px; }
.listing-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.listing-actions { display: flex; flex-direction: column; gap: 8px; }
.empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

/* ---------- Forms / Quote ---------- */
.form-shell { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.form-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 36px; border: 1px solid var(--line); }
.progress { display: flex; gap: 8px; margin-bottom: 28px; }
.progress span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); transition: background .3s; }
.progress span.on { background: var(--blue); }
.step-label { font-size: .8rem; font-weight: 700; color: var(--blue-dark); text-transform: uppercase; letter-spacing: .1em; }
.form-step { display: none; }
.form-step.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.option-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; }
.option label { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border: 1.5px solid var(--line); border-radius: 14px; text-align: center; font-size: .85rem; font-weight: 600; cursor: pointer; transition: all .15s; height: 100%; }
.option label .icon { color: var(--blue-dark); }
.option input:checked + label { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 3px rgba(42,169,224,.15); }
.option input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }
.option-list { display: grid; gap: 10px; margin: 20px 0; }
.option-list .option label { flex-direction: row; justify-content: flex-start; padding: 16px 18px; text-align: left; font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.form-error { color: #c62828; font-size: .88rem; font-weight: 600; margin-top: 6px; min-height: 1.2em; }
.fine { font-size: .8rem; color: var(--muted); }
.success { text-align: center; padding: 20px 0; }
.success .big-check { width: 84px; height: 84px; border-radius: 50%; background: #e4f6ed; color: var(--green); display: grid; place-items: center; margin: 0 auto 20px; }
.success .big-check .icon { width: 42px; height: 42px; stroke-width: 3; }
.aside-card { background: var(--ink-2); color: #fff; border-radius: 22px; padding: 28px; position: sticky; top: 100px; }
.aside-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 16px; }
.aside-card li { display: flex; gap: 12px; color: #c3ccd4; font-size: .93rem; }
.aside-card li b { color: #fff; display: block; }
.aside-card .icon { color: var(--blue); margin-top: 2px; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--blue); position: relative; box-shadow: var(--shadow); }
.price-card .tag { position: absolute; top: -13px; left: 28px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; color: var(--text); }
.price small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price-card .check-list { margin: 20px 0 26px; flex: 1; }
.price-card .check-list li { color: var(--muted); font-size: .93rem; }
.price-card .check-list .icon { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #aab5bf; padding: 72px 0 28px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.footer-bottom { border-top: 1px solid var(--ink-3); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(10,14,18,.6); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 24px; max-width: 560px; width: 100%; max-height: 90vh; overflow: auto; padding: 32px; position: relative; animation: fade .25s ease; }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--bg-soft); border: 0; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav a { padding: 10px 10px; font-size: .9rem; }
}
@media (max-width: 960px) {
  .hero .container, .split-feature, .form-shell, .dir-layout { grid-template-columns: 1fr; }
  .preview { max-width: 460px; margin: 20px auto 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .filters, .aside-card { position: static; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--ink-2); flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-top: 1px solid var(--ink-3); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; }
  .menu-toggle { display: block; }
  .header-cta .btn-outline { display: none; }
  .topbar-items span:nth-child(n+2) { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-4.trades { grid-template-columns: 1fr 1fr; }
  .search-card { grid-template-columns: 1fr; }
  .search-card .btn { padding: 16px; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .listing { grid-template-columns: auto 1fr; }
  .listing-actions { grid-column: 1 / -1; flex-direction: row; }
  .listing-actions .btn { flex: 1; }
  .listing-rank { width: 52px; height: 52px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-cta .btn { padding: 10px 14px; font-size: .85rem; }
  .logo-text strong { font-size: 1.2rem; }
  .topbar { display: none; }
  .chip-1 { left: 0; }
  .chip-2 { right: 0; }
}

/* ---------- Zones / brochure spots ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.guide-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: box-shadow .2s, border-color .2s; }
.guide-tile:hover { box-shadow: var(--shadow); border-color: transparent; }
.guide-tile .head { display: flex; align-items: center; gap: 12px; }
.guide-tile .head .icon-box { margin: 0; width: 44px; height: 44px; border-radius: 12px; }
.guide-tile .head small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.guide-tile .biz { font-size: 1.1rem; font-weight: 800; line-height: 1.25; }
.guide-tile .tagline { color: var(--muted); font-size: .88rem; margin: 0; }
.guide-tile .phone { display: inline-flex; align-items: center; gap: 8px; font-size: 1.25rem; font-weight: 800; color: var(--blue-dark); letter-spacing: -.01em; }
.guide-tile .phone .icon { width: 20px; height: 20px; }
.guide-tile.open { border-style: dashed; background: var(--bg-soft); }
.guide-tile .actions { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }

.zone-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.zone-card h3 { margin: 0 0 4px; }
.zone-card .subs { color: var(--muted); font-size: .86rem; margin-bottom: 14px; }
.zone-meter { height: 8px; border-radius: 8px; background: #dff1fa; overflow: hidden; display: flex; margin: 10px 0 6px; }
.zone-meter i { display: block; height: 100%; }
.zone-meter .m-sold { background: var(--ink); }
.zone-meter .m-res { background: var(--gold); }
.zone-summary { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; margin-bottom: 14px; }
.zone-summary .left { color: var(--blue-dark); }
.spot-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.spot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: .82rem; font-weight: 600; border: 1px solid var(--line); }
.spot em { font-style: normal; font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.spot.sold { background: var(--bg-soft); color: var(--muted); }
.spot.sold em { background: var(--ink); color: #fff; }
.spot.reserved em { background: #fff3d6; color: #8a5a00; }
.spot.available { border-color: var(--blue); }
.spot.available em { background: var(--blue); color: #fff; }
a.spot.available:hover { background: var(--blue-soft); }
.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.disclosure { font-size: .82rem; color: var(--muted); border-left: 3px solid var(--blue); padding: 6px 12px; background: var(--bg-soft); border-radius: 0 8px 8px 0; }
.fridge { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fridge-art { position: relative; height: 380px; }
.fold { position: absolute; top: 20px; width: 34%; height: 320px; border-radius: 6px; box-shadow: var(--shadow); padding: 16px 12px; display: flex; flex-direction: column; gap: 7px; overflow: hidden; }
.fold.f1 { left: 4%; background: #fff; transform: skewY(4deg); }
.fold.f2 { left: 33%; background: #f7fafc; z-index: 2; }
.fold.f3 { left: 62%; background: var(--ink-2); color: #fff; transform: skewY(-4deg); padding-left: 9%; }
.fold b { font-size: .62rem; white-space: nowrap; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-dark); }
.fold .bar { height: 30px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 8px; font-size: .62rem; font-weight: 700; color: var(--muted); }
.fold .bar::before { content: ''; width: 12px; height: 12px; border-radius: 4px; background: var(--blue); flex: none; }
.fold.f3 .big { font-size: 1.1rem; font-weight: 800; line-height: 1.05; margin-top: 18px; }
.fold.f3 .big span { font-family: var(--script); color: var(--blue); font-size: 1.3em; display: block; }
.magnet { position: absolute; top: 4px; left: 47%; width: 30px; height: 30px; border-radius: 50%; background: #e2463b; z-index: 3; box-shadow: 0 4px 8px rgba(0,0,0,.25); }
@media (max-width: 960px) { .fridge { grid-template-columns: 1fr; } .fridge-art { max-width: 460px; width: 100%; margin: 0 auto; } }
@media (max-width: 640px) { .spot-list { grid-template-columns: 1fr; } .fridge-art { height: 330px; } .fold { height: 280px; } }

/* ---------- Ad funnel (quiz landing pages) ---------- */
.fx-top { background: var(--ink); color: #fff; }
.fx-top .container { display: flex; justify-content: space-between; align-items: center; height: 68px; gap: 16px; }
.fx-top .trust { display: flex; gap: 18px; font-size: .85rem; color: #c3ccd4; }
.fx-top .trust span { display: inline-flex; gap: 6px; align-items: center; }
.fx-top .trust .icon { width: 16px; height: 16px; color: var(--blue); }
.fx-hero { background: radial-gradient(900px 400px at 10% -10%, rgba(42,169,224,.25), transparent 60%), linear-gradient(180deg, var(--ink-2), var(--ink)); color: #fff; padding: 48px 0 72px; }
.fx-hero .container { display: grid; grid-template-columns: 1fr 520px; gap: 48px; align-items: start; }
.fx-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); padding: 8px 14px 8px 8px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #dbe2e8; margin-bottom: 20px; }
.fx-badge .ib { width: 30px; height: 30px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; color: #fff; }
.fx-badge .ib .icon { width: 17px; height: 17px; }
.fx-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.06; }
.fx-hero h1 .hl { color: var(--blue); }
.fx-hero h1 .script { font-size: 1.2em; color: #fff; }
.fx-hero .lead { color: #c3ccd4; }
.fx-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.fx-points li { display: flex; gap: 12px; align-items: flex-start; color: #dbe2e8; }
.fx-points .icon { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 24px; height: 24px; stroke-width: 3; flex: none; }
.fx-card { background: #fff; color: var(--text); border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); overflow: hidden; }
.fx-progress { height: 6px; background: var(--line); }
.fx-progress i { display: block; height: 100%; width: 20%; background: var(--blue); transition: width .35s ease; }
.fx-meta { display: flex; justify-content: space-between; align-items: center; padding: 16px 28px 0; font-size: .8rem; font-weight: 700; color: var(--muted); }
.fx-meta button { background: none; border: 0; color: var(--muted); font: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 4px; }
.fx-meta button:hover { color: var(--text); }
.fx-body { padding: 14px 28px 30px; }
.fx-step { display: none; }
.fx-step.active { display: block; animation: fade .3s ease; }
.fx-step h2 { font-size: 1.55rem; margin-bottom: 6px; }
.fx-step .hint { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.fx-big { display: flex; gap: 10px; }
.fx-big input { flex: 1; min-width: 0; font: inherit; font-size: 1.1rem; font-weight: 600; padding: 16px 18px; border-radius: 14px; border: 2px solid var(--line); outline: none; }
.fx-big input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(42,169,224,.15); }
.fx-msg { min-height: 1.4em; margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.fx-msg .icon { width: 18px; height: 18px; }
.fx-msg.ok { color: #17784a; }
.fx-msg.err { color: #c62828; }
.fx-options { display: grid; gap: 10px; }
.fx-opt { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 16px 18px; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 600; font-size: 1rem; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.fx-opt span { color: var(--line); transition: color .15s; display: flex; }
.fx-opt .icon { width: 20px; height: 20px; }
.fx-opt:hover { border-color: var(--blue); background: var(--blue-soft); }
.fx-opt:hover span, .fx-opt.picked span { color: var(--blue-dark); }
.fx-opt.picked { border-color: var(--blue); background: var(--blue-soft); }
.fx-opt:active { transform: scale(.99); }
.fx-body .field { margin-bottom: 12px; }
.fx-body .field small { font-weight: 500; color: var(--muted); }
.fx-body textarea { min-height: 80px; }
.fx-secure { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: .8rem; color: var(--muted); margin-top: 12px; }
.fx-secure .icon { width: 15px; height: 15px; }
.fx-done { padding: 36px 28px; text-align: center; }
.fx-done .big-check { width: 80px; height: 80px; border-radius: 50%; background: #e4f6ed; color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.fx-done .big-check .icon { width: 40px; height: 40px; stroke-width: 3; }
.fx-done ol { text-align: left; background: var(--bg-soft); border-radius: 14px; padding: 18px 18px 18px 38px; margin: 20px 0 0; color: var(--muted); display: grid; gap: 8px; }
.fx-done ol b { color: var(--text); }
.fx-urgent { background: #fdecea; color: #8f241b; border-radius: 12px; padding: 12px 14px; font-size: .88rem; margin-top: 16px; text-align: left; }
.fx-foot { background: var(--ink); color: #8d99a4; font-size: .82rem; padding: 28px 0; }
.fx-foot .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fx-foot a { color: #c3ccd4; }
@media (max-width: 960px) {
  .fx-hero .container { grid-template-columns: 1fr; gap: 28px; }
  .fx-hero { padding: 28px 0 56px; }
  .fx-top .trust span:nth-child(n+2) { display: none; }
  .fx-points { display: none; }
}
@media (max-width: 640px) {
  .fx-body { padding: 12px 18px 24px; }
  .fx-meta { padding: 14px 18px 0; }
  .fx-big { flex-direction: column; }
  .fx-step h2 { font-size: 1.35rem; }
  .fx-top .trust { display: none; }
}
.fx-meta button[hidden] { display: none; }
