/* The Veteran Home Team — menu site. Palette sampled from the logo. */
:root {
  --navy: #1E2D3D;
  --navy-dark: #15202d;
  --blue: #5BA8D6;
  --blue-hover: #4a95c1;
  --blue-light: #e8f4fb;
  --red: #B22234;
  --gold: #C9A55A;
  --cream: #faf7f1;
  --white: #ffffff;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --green: #16a34a;
  --green-light: #dcfce7;
  --radius: 12px;
  --photo-fallback: linear-gradient(135deg, #2b3f55 0%, #1E2D3D 55%, #15202d 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-800); line-height: 1.65; background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-hover); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 0.75rem; }
h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
p + p { margin-top: 0.9rem; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* BUTTONS */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 8px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; font: inherit; font-weight: 700; }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: #961c2b; }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-light); }
.btn-outline { border-color: var(--navy); color: var(--navy); margin-top: 1.25rem; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.block-btn { display: block; width: 100%; text-align: center; margin-top: 1.25rem; }

/* HEADER */
.brokerage-bar { background: var(--navy-dark); color: #cfd8e3; text-align: center; font-size: 0.75rem; padding: 0.45rem 1rem; letter-spacing: 0.3px; }
.site-header { background: var(--white); border-bottom: 1px solid var(--gray-200); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }

/* BRAND BANNER — art already carries the wordmark, so no overlay text on top of it */
.brand-hero { background: #02192e; }
.brand-hero img { width: 100%; height: auto; max-width: 1600px; margin: 0 auto; }
/* Home banner is capped by viewport height so the headline + buttons land above the fold;
   edges fade into the navy band when the cap leaves side space. */
.home-banner img { width: auto; max-height: max(180px, min(40vh, calc(100vh - 440px))); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.hero-intro { background: linear-gradient(180deg, #02192e 0%, var(--navy) 100%); color: var(--white); padding: 1.75rem 0 2.5rem; text-align: center; }
.hero-intro .eyebrow { margin-bottom: 0.6rem; }
.hero-intro h1 { color: var(--white); max-width: 820px; margin: 0 auto; font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.hero-intro .lede { margin: 0.75rem auto 0; font-size: 1.05rem; }
.hero-intro .hero-actions { justify-content: center; margin-top: 1.4rem; }
/* CITIES (Buy page) */
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.city-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.4rem; }
.city-card h3 { margin-bottom: 0.2rem; }
.city-card .card-stat { color: var(--red); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.6rem; }
.city-card p:last-child { color: var(--gray-600); font-size: 0.93rem; }
.card-link { display: inline-block; margin-top: 0.9rem; color: var(--red); font-weight: 700; text-decoration: none; font-size: 0.93rem; }
.card-link:hover { text-decoration: underline; }
.area-list a { color: inherit; text-decoration: none; }
.area-list li:hover { border-color: var(--navy); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
details.faq { border: 1px solid var(--gray-200); border-radius: 10px; margin-bottom: 0.75rem; background: var(--white); }
details.faq summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.25rem; font-weight: 700; color: var(--navy); position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 1.4rem; font-weight: 400; }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { padding: 0 1.25rem 1.1rem; color: var(--gray-600); }

/* GUIDES */
.guide-hero h1 span { color: var(--gold); }
.guide-hero .eyebrow a { color: inherit; text-decoration: none; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.pill { border: 1px solid rgba(201,165,90,0.5); color: var(--gold); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.8rem; font-weight: 700; }
.byline { margin-top: 1.25rem; font-size: 0.85rem; opacity: 0.75; }
.guide-layout { max-width: 820px; }
.guide-body { font-size: 1.04rem; }
.guide-body h2 { font-size: 1.6rem; margin: 2.25rem 0 0.75rem; }
.guide-body h2:first-child { margin-top: 0; }
.guide-body h3 { margin: 1.5rem 0 0.4rem; }
.guide-body p { margin-top: 0.8rem; }
.guide-body ul, .guide-body ol { margin: 0.8rem 0 0 1.3rem; }
.guide-body li + li { margin-top: 0.45rem; }
.guide-body .callout { background: var(--cream); border-left: 4px solid var(--navy); border-radius: 0 10px 10px 0; padding: 1.1rem 1.25rem; margin: 1.5rem 0; }
.guide-body .callout.gold { border-left-color: var(--gold); background: #fbf6ea; }
.guide-body .callout h3 { margin-top: 0; }
.guide-body .callout p:first-of-type { margin-top: 0.4rem; }
.guide-body .disclaimer { display: block; font-size: 0.8rem; color: var(--gray-600); margin-top: 0.5rem; max-width: none; }
.guide-body .stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin: 1.75rem 0; }
.guide-body .stat-box { background: var(--navy); color: var(--white); border-radius: 10px; padding: 1rem; text-align: center; }
.guide-body .stat-box .n { display: block; font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.guide-body .stat-box .l { display: block; font-size: 0.75rem; opacity: 0.85; margin-top: 0.2rem; }
.guide-body details.faq { margin-top: 0.75rem; }
.guide-body.gated { max-height: 560px; overflow: hidden; position: relative; }
.guide-body.gated::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 260px; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 85%); }
.gate { margin-top: -1rem; position: relative; }
.gate-card { border-top: 4px solid var(--red); box-shadow: 0 18px 44px rgba(21,32,45,0.14); }
.gate-card h2 { font-size: 1.5rem; }
.gate-lead { color: var(--gray-600); margin: 0.4rem 0 1.25rem; }
.opt { color: var(--gray-400); font-weight: 500; }

/* SELLER FUNNEL (/) */
.funnel-hero { background: linear-gradient(180deg, #02192e 0%, var(--navy) 100%); color: var(--white); padding: 3.5rem 0 4rem; }
.funnel-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.funnel-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4.2vw, 2.8rem); }
.funnel-points { list-style: none; margin-top: 1.5rem; }
.funnel-points li { padding-left: 1.9rem; position: relative; margin-top: 0.6rem; }
.funnel-points li::before { content: "\2605"; position: absolute; left: 0; color: var(--gold); }
.funnel-hero .form-card { color: var(--gray-800); box-shadow: 0 24px 60px rgba(0,0,0,0.35); border: 0; }
.form-title { font-size: 1.25rem; text-align: center; margin-bottom: 1.25rem; }
.footer-logo { width: 240px; height: auto; border-radius: 8px; margin-bottom: 1rem; }
#site-nav { margin-left: auto; }
#site-nav ul { list-style: none; display: flex; gap: 1.5rem; }
#site-nav a { white-space: nowrap; color: var(--gray-800); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.35rem 0; border-bottom: 2px solid transparent; }
#site-nav a:hover, #site-nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--red); }
.header-cta { padding: 0.6rem 1.1rem; font-size: 0.9rem; white-space: nowrap; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1.5px solid var(--gray-200); border-radius: 8px; padding: 0.45rem 0.9rem; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; }

/* PHOTO SLOTS — image if /assets/img/<slot>.jpg exists, gradient if not */
.photo { position: relative; background-size: cover; background-position: center; border-radius: var(--radius); min-height: 220px; overflow: hidden; }
.photo-label { display: none; position: absolute; left: 0.75rem; bottom: 0.6rem; font-size: 0.7rem; color: rgba(255,255,255,0.45); letter-spacing: 0.5px; text-transform: uppercase; }
.photo.portrait { aspect-ratio: 4 / 5; min-height: 0; border: 1px solid var(--gray-200); background-color: var(--white); }

/* HERO */
.hero { position: relative; }
.hero-photo { border-radius: 0; min-height: 600px; }
.hero-overlay, .page-hero-overlay { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(21,32,45,0.9) 0%, rgba(21,32,45,0.65) 55%, rgba(21,32,45,0.25) 100%); }
.hero-content { color: var(--white); width: 100%; }
.hero-content h1, .page-hero-overlay h1 { color: var(--white); max-width: 720px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; font-size: 0.8rem; margin-bottom: 1rem; }
.lede { font-size: 1.15rem; max-width: 620px; margin-top: 1rem; opacity: 0.92; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }
.page-hero { position: relative; }
.page-hero-photo { border-radius: 0; min-height: 440px; }
.page-hero-overlay .container { color: var(--white); width: 100%; }
.page-hero.slim { background: var(--navy); color: var(--white); padding: 4rem 0 3.5rem; border-bottom: 4px solid var(--red); }
.page-hero.slim h1 { color: var(--white); }

/* TRUST BAR */
.trust-bar { background: var(--navy); color: var(--white); padding: 1.75rem 0; border-top: 4px solid var(--red); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.trust-num { font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.trust-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

/* BLOCKS */
.block { padding: 5rem 0; }
.block.alt { background: var(--cream); }
.block-head { text-align: center; max-width: 720px; margin: 0 auto 2.75rem; }
.kicker { color: var(--red); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; font-size: 0.78rem; margin-bottom: 0.5rem; }
.lead { color: var(--gray-600); font-size: 1.05rem; }
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-2.top { align-items: start; }
.center-note { text-align: center; max-width: 720px; margin: 2rem auto 0; color: var(--gray-600); }
.role { color: var(--gray-600); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; }

/* PATH CARDS */
.path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.path-card { text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.path-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(21,32,45,0.12); }
.path-card .photo { border-radius: 0; min-height: 190px; }
.path-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.path-body p { color: var(--gray-600); font-size: 0.95rem; flex: 1; }
.path-link { color: var(--red); font-weight: 700; margin-top: 1rem; }
.path-tile { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 28px rgba(21,32,45,0.14); transition: transform .2s, box-shadow .2s; }
.path-tile:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(21,32,45,0.22); }
.path-tile img { width: 100%; height: auto; }

/* CARDS */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
.promo { display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: center; max-width: 900px; }
.promo img { width: 100%; max-width: 280px; height: auto; border-radius: var(--radius); box-shadow: 0 14px 34px rgba(21,32,45,0.18); }
.reviews-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 0.5rem; }
.reviews-card iframe { display: block; border: 0; min-height: 420px; }
.reviews-note { text-align: center; font-size: 0.85rem; color: var(--gray-600); margin-top: 1rem; }
.card { background: var(--white); border: 1px solid var(--gray-200); border-top: 3px solid var(--navy); border-radius: var(--radius); padding: 1.5rem; }
.card p { color: var(--gray-600); font-size: 0.95rem; }
.card-stat { color: var(--red) !important; font-size: 0.72rem !important; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.35rem; }

/* STEPS */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; }
.steps p { color: var(--gray-600); font-size: 0.95rem; }

/* COMPARE */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
.compare-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2rem; }
.compare-card.featured { border: 2px solid var(--navy); box-shadow: 0 12px 30px rgba(21,32,45,0.1); }
.compare-card ul { margin: 0.75rem 0 0 1.1rem; color: var(--gray-600); }
.compare-card li + li { margin-top: 0.4rem; }

/* AREAS */
.area-list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; max-width: 860px; margin: 0 auto; }
.area-list li { background: var(--white); border: 1px solid var(--gray-200); border-radius: 999px; padding: 0.45rem 1.1rem; font-weight: 600; color: var(--navy); font-size: 0.92rem; }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 620px; margin: 0 auto; text-align: center; }
.team-card h3 { margin-top: 1rem; }
.team-card p { color: var(--gray-600); font-size: 0.9rem; }

/* RATES WIDGET */
.rates { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 2rem; border-top: 4px solid var(--gold); }
.rates-kicker { text-transform: uppercase; letter-spacing: 1.2px; font-size: 0.75rem; font-weight: 700; color: var(--gold); }
.rates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0; }
.rates-num { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.rates-label { font-size: 0.85rem; opacity: 0.8; margin-top: 0.35rem; }
.rates-src { font-size: 0.75rem; opacity: 0.65; }

/* CALCULATOR */
.calc-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: start; }
.calc, .form-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 2rem; }
.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label, legend { display: block; font-size: 0.82rem; font-weight: 700; color: var(--gray-600); margin-bottom: 0.35rem; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; padding: 0.7rem 0.85rem; border: 1.5px solid var(--gray-200); border-radius: 8px; font: inherit; color: var(--gray-800); background: var(--white); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,168,214,0.18); }
.input-affix { display: flex; align-items: center; border: 1.5px solid var(--gray-200); border-radius: 8px; overflow: hidden; }
.input-affix:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(91,168,214,0.18); }
.input-affix input { border: 0 !important; box-shadow: none !important; }
.input-affix span { padding: 0 0.7rem; color: var(--gray-400); font-size: 0.9rem; white-space: nowrap; }
.hint { font-size: 0.75rem; color: var(--gray-400); margin-top: 0.3rem; }
.calc-result { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 2rem; position: sticky; top: 96px; }
.calc-total { font-size: 3rem; font-weight: 800; margin: 0.4rem 0 1.25rem; }
.calc-lines div { display: flex; justify-content: space-between; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.95rem; }
.calc-lines dt { opacity: 0.8; }
.calc-lines dd { font-weight: 700; }
.calc-loan { font-size: 0.85rem; opacity: 0.8; margin-top: 1rem; }
.disclaimer { font-size: 0.78rem; color: var(--gray-400); margin-top: 1.75rem; max-width: 900px; }

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.intent { border: 0; margin-bottom: 1.1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.intent legend { width: 100%; }
.intent label { display: inline-flex; align-items: center; gap: 0.4rem; border: 1.5px solid var(--gray-200); border-radius: 999px; padding: 0.4rem 0.9rem; cursor: pointer; font-weight: 600; font-size: 0.9rem; }
.intent label:has(input:checked) { border-color: var(--navy); background: var(--navy); color: var(--white); }
.intent input { accent-color: var(--red); }
.consent { display: flex; gap: 0.6rem; font-size: 0.75rem; color: var(--gray-600); line-height: 1.5; margin-top: 0.25rem; }
.consent input { margin-top: 0.2rem; flex-shrink: 0; }
.form-note { text-align: center; font-size: 0.75rem; color: var(--gray-400); margin-top: 0.75rem; }
.form-error { display: none; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; padding: 0.65rem 0.9rem; border-radius: 8px; font-size: 0.88rem; margin-bottom: 1rem; }
.thank-you { text-align: center; padding: 2rem 0; }
.thank-you .check { width: 64px; height: 64px; background: var(--green-light); color: var(--green); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; font-size: 2rem; }
.contact-info { background: var(--cream); border-radius: var(--radius); padding: 2rem; }
.contact-info dl div { padding: 0.75rem 0; border-bottom: 1px solid var(--gray-200); }
.contact-info dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); font-weight: 700; }
.contact-info dd { font-weight: 600; color: var(--navy); }
.contact-info > p { margin-top: 1.25rem; font-size: 0.95rem; }

/* CTA BAND */
.cta-band { background: var(--navy); color: var(--white); text-align: center; padding: 4.5rem 1.25rem; border-top: 4px solid var(--red); }
.cta-band h2 { color: var(--white); }
.cta-band p { opacity: 0.85; max-width: 580px; margin: 0 auto 1.75rem; }
.cta-band .cta-call { margin: 1.25rem auto 0; font-size: 0.9rem; opacity: 0.7; }
.cta-band .cta-call a { color: var(--gold); }

/* FOOTER */
.site-footer { background: var(--navy-dark); color: #c7d2de; padding: 3.5rem 0 1.5rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr; gap: 2rem; }
.site-footer h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; }
.site-footer li + li { margin-top: 0.4rem; }
.site-footer a { color: #c7d2de; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.legal { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.75rem; opacity: 0.7; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .card-grid, .path-grid, .city-grid { grid-template-columns: 1fr 1fr; }
  .guide-body .stat-row { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .calc-layout, .contact-layout, .funnel-grid { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .brand img { height: 44px; }
  .header-cta { padding: 0.55rem 0.9rem; }
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-200); }
  #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem; }
  #site-nav li a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--gray-200); }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .block { padding: 3.5rem 0; }
  .split-2, .card-grid, .path-grid, .city-grid, .steps, .compare, .team-grid, .field-row { grid-template-columns: 1fr; }
  .split-2 { gap: 2rem; }
  .trust-grid { grid-template-columns: 1fr 1fr; row-gap: 1.25rem; }
  .hero-photo { min-height: 560px; }
  .hero-overlay, .page-hero-overlay { background: linear-gradient(180deg, rgba(21,32,45,0.75) 0%, rgba(21,32,45,0.92) 100%); }
  .footer-grid { grid-template-columns: 1fr; }
  .card-grid.two, .team-grid { grid-template-columns: 1fr; }
  .promo { grid-template-columns: 1fr; gap: 1.75rem; }
  .promo img { margin: 0 auto; }
  .home-banner img { width: 100%; max-height: none; -webkit-mask-image: none; mask-image: none; }
  .page-banner img { height: 190px; width: 100%; object-fit: cover; object-position: 66% 50%; }
  .calc, .form-card, .calc-result, .rates { padding: 1.5rem; }
  .calc-total { font-size: 2.4rem; }
}

/* CITY PAGES */
.city-card h3 a { color: inherit; text-decoration: none; }
.city-card h3 a:hover { color: var(--red); }
.guide-hero .hero-actions { margin-top: 1.5rem; }
.callout-cta { margin-top: 2.5rem; background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 1.75rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; border-top: 4px solid var(--red); }
.callout-cta h3 { color: var(--white); }
.callout-cta p { opacity: 0.85; font-size: 0.95rem; }
.callout-actions { display: flex; flex-direction: column; gap: 0.6rem; }
.callout-actions .btn-outline { margin-top: 0; border-color: var(--white); color: var(--white); text-align: center; }
.callout-actions .btn-outline:hover { background: var(--white); color: var(--navy); }
@media (max-width: 640px) { .callout-cta { grid-template-columns: 1fr; } }
