/* =========================================================
   Florida Home Brothers — site styles
   Palette: navy, teal, white, sand, warm coral/gold accents
   ========================================================= */
:root {
  /* Brand palette — from the FL Home Brothers logo (teal #02C7AF, gray #7E7D7D) */
  --navy-900: #1E2326;   /* darkest charcoal (footer, hero base) */
  --navy: #2B3135;       /* charcoal: headings, dark sections */
  --navy-700: #3A4146;
  --teal: #00796B;       /* accessible teal for text and buttons on white */
  --teal-500: #02C7AF;   /* logo teal */
  --teal-100: #E2F7F3;
  --teal-light: #5FE6D2; /* teal for text on dark backgrounds */
  --gray: #7E7D7D;       /* logo gray */
  --sand: #F2F5F5;
  --sand-200: #E6EAEA;
  --coral: #12D6BD;
  --coral-600: #02C7AF;
  --gold: #5FE6D2;
  --ink: #1F2629;
  --muted: #5F6669;
  --line: #E3E8E8;
  --white: #fff;
  --error: #B42318;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(30, 35, 38, .06), 0 2px 8px rgba(30, 35, 38, .05);
  --shadow: 0 10px 30px rgba(30, 35, 38, .10);
  --shadow-lg: 0 24px 60px rgba(30, 35, 38, .22);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-display); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .95em 1.6em; border-radius: 999px; font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--teal); color: #fff; }
.contact .btn-accent, .section-navy .btn-accent { box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.btn-accent { background: linear-gradient(135deg, var(--coral), var(--coral-600)); color: #10201E; box-shadow: 0 8px 22px rgba(2, 199, 175, .35); }
.btn-accent:hover { color: #10201E; box-shadow: 0 12px 28px rgba(2, 199, 175, .45); }
.btn-block { width: 100%; font-size: 1.08rem; padding: 1.05em 1.6em; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { width: auto; height: 52px; }
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.primary-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.primary-nav ul a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; }
.primary-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .2s ease; }
.primary-nav ul a:hover::after { transform: scaleX(1); }
.nav-cta { padding: .7em 1.2em; font-size: .92rem; }
.header-phone { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .primary-nav ul { gap: 16px; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 40px; max-width: 58vw; object-fit: contain; object-position: left center; }
  .header-phone { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-weight: 700; color: var(--navy); text-decoration: none; font-size: .95rem; }
  .header-phone svg { width: 18px; height: 18px; fill: var(--teal); }
  .nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 0; background: var(--sand); border-radius: 12px; cursor: pointer; padding: 0 11px; }
  .nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 24px; box-shadow: var(--shadow); border-top: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .primary-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .primary-nav ul a::after { display: none; }
  .nav-cta { margin-top: 18px; padding: 1em; font-size: 1rem; }
}
@media (max-width: 420px) {
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; background: var(--teal-100); border-radius: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--navy-900); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  /* PHOTO SWAP: replace hero-scene.svg with a real photo, e.g. url("../img/hero.jpg") */
  background: linear-gradient(100deg, rgba(30, 35, 38, .88) 0%, rgba(30, 35, 38, .55) 40%, rgba(30, 35, 38, .05) 70%), url("../img/hero-scene.svg") center bottom / cover no-repeat; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 80px 0 120px; }
.hero h1 { color: #fff; margin-bottom: .3em; text-wrap: balance; }
.hero-sub { font-size: clamp(1.15rem, 2vw, 1.4rem); color: #E4E9EA; font-weight: 500; margin-bottom: 1.4em; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--teal); margin: 0 0 .9em; }
.eyebrow-light { color: var(--gold); }
.hero-points { list-style: none; padding: 0; margin: 0 0 2em; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 1.05rem; }
.hero-points svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: rgba(2, 199, 175, .25); fill: #5FE6D2; flex: none; }
.hero-call { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.hero-call span { color: #CDD4D6; }
.hero-call a { color: #fff; font-weight: 700; text-decoration: none; }
.hero-call a:hover { color: var(--gold); }

/* ---------- Offer form ---------- */
.offer-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 30px 28px 24px; position: relative; scroll-margin-top: calc(var(--header-h) + 16px); }
.offer-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: linear-gradient(90deg, var(--teal), var(--teal-500), var(--gold)); }
.offer-card-head h2 { font-size: 1.55rem; margin-bottom: .25em; }
.offer-card-head p { color: var(--muted); font-size: .95rem; margin-bottom: 1.2em; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; color: var(--navy); }
.req { color: var(--error); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select {
  width: 100%; font: inherit; font-size: 16px; /* 16px prevents iOS zoom */
  padding: 12px 14px; border: 1.5px solid #D3D9DB; border-radius: 10px; background: #FBFCFD; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%232B3135' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 22px; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 121, 107, .15); background: #fff; }
.field.has-error input, .field.has-error select { border-color: var(--error); background: #FFF8F7; }
.field-error { color: var(--error); font-size: .82rem; margin: 5px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; line-height: 1.5; color: #3F474B; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--teal); }
.fine-print { font-size: .74rem; line-height: 1.5; color: var(--muted); margin: 12px 0 0; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.form-status.is-info { background: #FFF6E8; border: 1px solid #F2D3A2; color: #6B4A12; }
.form-status.is-error { background: #FDECEA; border: 1px solid #F5C2BC; color: var(--error); }
.form-status.is-success { background: var(--teal-100); border: 1px solid #B6E0DD; color: #00594F; }
.form-status a { font-weight: 700; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); color: #fff; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-inner > div { padding: 22px 12px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .1); }
.trust-inner > div:first-child { border-left: 0; }
.trust-inner strong { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--gold); line-height: 1.1; }
.trust-inner span { font-size: .85rem; color: #CDD4D6; letter-spacing: .02em; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tint { background: linear-gradient(180deg, #F2F8F8, #fff); }
.section-sand { background: var(--sand); }
.section-navy { background: radial-gradient(1200px 500px at 85% 0%, rgba(2, 199, 175, .25), transparent 60%), var(--navy); color: #E4E9EA; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { text-wrap: balance; }
.section-head-light h2 { color: #fff; }
.lead { font-size: 1.1rem; color: var(--muted); }
.section-head-light .lead { color: #CDD4D6; }

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

.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
.icon-wrap { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-100), #fff); border: 1px solid #CDE9E7; margin-bottom: 18px; }
.icon-wrap svg { width: 26px; height: 26px; fill: var(--teal); }

/* Steps */
.steps { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal-500) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; box-shadow: 0 0 0 8px #fff, var(--shadow); }
.step p { color: var(--muted); max-width: 320px; margin-inline: auto; }

/* Property types */
.ptype { background: #fff; border-radius: var(--radius); padding: 26px 22px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.ptype::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.ptype:hover { border-color: #CDE9E7; transform: translateY(-3px); }
.ptype:hover::after { transform: scaleX(1); }
.ptype svg { width: 34px; height: 34px; fill: var(--teal-500); margin-bottom: 14px; }
.ptype h3 { font-size: 1.1rem; }
.ptype p { color: var(--muted); font-size: .93rem; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-media { margin: 0; position: relative; }
.about-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-media::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--teal-500); border-radius: var(--radius-lg); z-index: -1; opacity: .5; }
.about-media { isolation: isolate; }
.about-copy p { color: #464E52; }
.checklist { list-style: none; padding: 0; margin: 1.4em 0 2em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 32px; font-weight: 600; color: var(--navy); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Areas */
.county-chips { list-style: none; margin: -16px auto 36px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; }
.county-chips li { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(95, 230, 210, .35); color: #E4E9EA; font-size: .82rem; font-weight: 600; letter-spacing: .04em; }
.county-chips li::after { content: " County"; color: #B4BEC1; font-weight: 500; }
.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.region { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 22px 22px 22px 56px; position: relative; transition: background .2s ease, border-color .2s ease; }
.region:hover { background: rgba(255, 255, 255, .09); border-color: rgba(95, 230, 210, .45); }
.region::before { content: ""; position: absolute; left: 22px; top: 24px; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%235FE6D2' d='M12 2a7 7 0 0 0-7 7c0 5.2 7 13 7 13s7-7.8 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.region h3, .region h4 { color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; margin: 0 0 .3em; }
.region-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--teal-light); margin: 0 0 .5em; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.region-cities { font-size: .92rem; color: #CDD4D6; margin: 0; }
.region-cities a, .region-cta { color: var(--teal-light); font-weight: 600; }
.region-core { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, rgba(2, 199, 175, .22), rgba(2, 199, 175, .06)); border-color: rgba(95, 230, 210, .55); }
.region-core h3 { font-size: 1.5rem; }
.region-core .region-cities { font-size: 1.02rem; color: #fff; font-weight: 600; }
.region-note { font-size: .9rem; color: #B4BEC1; margin: .7em 0 .9em; max-width: 560px; }
.region-cta { display: inline-block; text-decoration: none; }
.region-cta:hover { color: #fff; }
.core-badge { background: var(--teal-500); color: #10201E; padding: 3px 9px; border-radius: 999px; letter-spacing: .08em; }
.region-more { grid-column: span 2; border-style: dashed; }
.footer-counties { color: #8E989C; font-size: .88rem; }
.footer-areas strong { color: #fff; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s ease, border-color .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: #CDE9E7; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; color: var(--navy); position: relative; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--teal-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2300796B' d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Contact */
.contact { background: linear-gradient(120deg, var(--teal) 0%, #005A50 55%, var(--navy) 100%); color: #E6F4F2; }
.contact-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.contact h2 { color: #fff; }
.contact-actions { display: grid; gap: 14px; justify-items: stretch; }
.contact-phone { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius); background: #fff; color: var(--navy); text-decoration: none; box-shadow: var(--shadow); transition: transform .15s ease; }
.contact-phone:hover { transform: translateY(-2px); color: var(--navy); }
.contact-phone svg { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--navy); fill: #fff; flex: none; }
.contact-phone span { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; line-height: 1.1; }
.contact-phone small { display: block; font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); font-weight: 700; margin-bottom: 4px; }
.contact-meta { text-align: center; font-size: .9rem; color: #C5E6E1; margin: 0; }

/* Footer */
.site-footer { background: var(--navy-900); color: #AEB7BA; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr 1fr 1.3fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { width: 190px; height: auto; background: #fff; padding: 10px; border-radius: 12px; margin-bottom: 14px; }
.site-footer h3 { font-family: var(--font-body); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #E4E9EA; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-areas { line-height: 1.9; }
.disclosures { border-top: 1px solid rgba(255, 255, 255, .1); padding: 28px 0 36px; font-size: .8rem; line-height: 1.6; color: #8E989C; }
.disclosures strong { color: #CDD4D6; }
.copyright { margin-top: 1em; }

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


/* ---------- Service-area links (homepage) ---------- */
.areas-subhead { font-family: var(--font-body); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; margin: 8px 0 14px; display: flex; align-items: center; gap: 10px; }
.regions-core { margin-bottom: 36px; }
.region-link { padding: 0; }
.region-link::before { top: 26px; }
.region-link a { display: block; padding: 22px 22px 20px 56px; color: inherit; text-decoration: none; border-radius: inherit; height: 100%; }
.region-link .region-label { display: block; }
.region-title { display: block; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.2rem; line-height: 1.25; margin-bottom: .5em; }
.region-go { display: inline-block; color: var(--teal-light); font-weight: 600; font-size: .92rem; }
.region-link:hover, .region-link:focus-within { background: linear-gradient(135deg, rgba(2, 199, 175, .22), rgba(2, 199, 175, .06)); border-color: rgba(95, 230, 210, .6); }
.region-link a:hover .region-go { color: #fff; }
.region-link a:focus-visible { outline-offset: -3px; }

/* ---------- Footer city links ---------- */
.footer-cities { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px 16px !important; margin-bottom: 14px !important; }
.footer-cities a[aria-current="page"] { color: var(--teal-light); font-weight: 700; }

/* ---------- City landing pages ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 18px; padding: 0; font-size: .85rem; color: #CDD4D6; }
.breadcrumb li + li::before { content: "›"; margin: 0 8px; color: #8E989C; }
.breadcrumb a { color: #E4E9EA; text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-light); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--teal-light); font-weight: 600; }
.hero-city h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }

.city-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; }
.prose p { color: #3F474B; font-size: 1.04rem; }
.prose h2 { text-wrap: balance; }
.text-link { font-weight: 700; color: var(--teal); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.city-aside { background: var(--sand); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; position: sticky; top: calc(var(--header-h) + 20px); }
.city-aside h3 { font-size: 1.25rem; }
.city-aside .checklist { margin: 1em 0 1.4em; }
.aside-call { text-align: center; margin: 12px 0 0; font-size: .92rem; color: var(--muted); }
.aside-call a { font-weight: 700; }

.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ptype-cta { background: var(--navy); border-color: var(--navy); display: flex; flex-direction: column; align-items: flex-start; }
.ptype-cta h3 { color: #fff; }
.ptype-cta p { color: #CDD4D6; margin-bottom: 18px; }
.ptype-cta .btn { margin-top: auto; background: var(--teal-500); color: #10201E; }
.ptype-cta .btn:hover { background: #fff; color: var(--navy); }
.ptype-cta::after { display: none; }

.faq-more { text-align: center; margin-top: 28px; color: var(--muted); }

.nearby-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.nearby-links a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.nearby-links a span:first-child { font-family: var(--font-body); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); }
.nearby-links a span[aria-hidden] { color: var(--teal-500); font-family: var(--font-body); }
.nearby-links a:hover { border-color: var(--teal-500); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.section-head .lead a { color: var(--teal); font-weight: 600; }

@media (max-width: 1080px) {
  .nearby-links { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .city-intro { grid-template-columns: 1fr; gap: 32px; }
  .city-aside { position: static; }
}
@media (max-width: 720px) {
  .card-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nearby-links { grid-template-columns: 1fr; }
  .region-link a { padding: 20px 18px 18px 50px; }
}


/* ---------- Situations dropdown (desktop) ---------- */
.has-sub { position: relative; }
.has-sub > a { display: inline-flex; align-items: center; gap: 2px; }
.caret { width: 18px; height: 18px; fill: currentColor; transition: transform .2s ease; }
.sub-menu { position: absolute; top: calc(100% + 10px); left: -18px; min-width: 260px; list-style: none; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 120; display: grid !important; gap: 0 !important; }
.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.sub-menu a { display: block; padding: 9px 12px !important; border-radius: 8px; font-size: .92rem !important; font-weight: 600; color: var(--ink); white-space: nowrap; }
.sub-menu a::after { display: none !important; }
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--teal-100); color: var(--teal); }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret, .has-sub:focus-within .caret { transform: rotate(180deg); }
@media (max-width: 960px) {
  .sub-menu { display: none !important; }
  .caret { display: none; }
}

/* ---------- Situation cards ---------- */
.sit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sit-grid-3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 56px; }
.sit-card { display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sit-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-500)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.sit-card:hover, .sit-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #BDEDE5; color: var(--ink); }
.sit-card:hover::after, .sit-card:focus-visible::after { transform: scaleX(1); }
.sit-icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-100), #fff); border: 1px solid #CDEDE8; margin-bottom: 6px; }
.sit-icon svg { width: 26px; height: 26px; fill: var(--teal); }
.sit-title { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.25; color: var(--navy); }
.sit-desc { font-size: .92rem; color: var(--muted); line-height: 1.55; }
.sit-go { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: .9rem; color: var(--teal); }
.sit-more { text-align: center; margin: 32px auto 0; color: var(--muted); max-width: 720px; }
.sit-more a { font-weight: 700; }
.section-sand .sit-card { border-color: var(--sand-200); }
.card-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: .9rem; color: var(--teal); text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* ---------- Situation page blocks ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.table-wrap:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.compare tbody th { color: var(--navy); font-weight: 700; background: #FAFCFC; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare td { color: #3F474B; }
.option-list { list-style: none; counter-reset: opt; margin: 0; padding: 0; display: grid; gap: 14px; }
.option-list li { counter-increment: opt; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.option-list li::before { content: counter(opt); position: absolute; left: 20px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-100); color: var(--teal); font-weight: 700; font-family: var(--font-display); }
.option-list h3 { font-size: 1.08rem; margin-bottom: .25em; }
.option-list p { margin: 0; color: var(--muted); }
.checklist-grid { grid-template-columns: 1fr 1fr; gap: 14px 28px !important; margin: 0 !important; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.feature p a, .faq p a { color: var(--teal); font-weight: 600; }
.notice { display: flex; gap: 14px; align-items: flex-start; margin-top: 32px; padding: 18px 20px; background: var(--sand); border-left: 4px solid var(--teal); border-radius: 0 12px 12px 0; }
.notice svg { width: 22px; height: 22px; fill: var(--teal); flex: none; margin-top: 2px; }
.notice p { margin: 0; font-size: .92rem; color: #3F474B; }
.section-head-tight { margin-bottom: 28px; }
.nearby-links-6 { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 1080px) {
  .sit-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .sit-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .checklist-grid { grid-template-columns: 1fr; }
  .nearby-links-6 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sit-grid, .sit-grid-3, .nearby-links-6 { grid-template-columns: 1fr; }
  .option-list li { padding: 16px 16px 16px 62px; }
  .option-list li::before { left: 16px; }
}

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--navy); color: #fff; padding: 64px 0 48px; }
.legal-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.legal-hero p { color: #CDD4D6; margin: 0; }
.legal { padding: 56px 0 80px; }
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.callout { background: var(--sand); border-left: 4px solid var(--teal); padding: 16px 20px; border-radius: 0 10px 10px 0; }

.simple-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; background: linear-gradient(180deg, #F2F8F8, #fff); }
.simple-page .badge { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; background: var(--teal); box-shadow: 0 0 0 10px var(--teal-100); }
.simple-page .badge svg { width: 38px; height: 38px; fill: #fff; }
.simple-page p { color: var(--muted); max-width: 560px; margin-inline: auto; }
.simple-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .regions { grid-template-columns: repeat(2, 1fr); }
  .region-core { grid-row: auto; }
  .region-more { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 64px; }
  .hero-bg { background: linear-gradient(180deg, rgba(30, 35, 38, .78) 0%, rgba(30, 35, 38, .45) 40%, rgba(30, 35, 38, .85) 100%), url("../img/hero-scene.svg") 55% bottom / cover no-repeat; }
  .hero-copy { text-align: left; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-media { max-width: 560px; }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-inner > div:nth-child(3) { border-left: 0; }
  .trust-inner > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { top: 34px; bottom: 34px; left: 50%; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--teal-500) 0 8px, transparent 8px 16px); display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(30, 35, 38, .08); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; height: 48px; border-radius: 12px; font-weight: 700; text-decoration: none; }
  .mobile-bar-call { background: var(--navy); color: #fff; }
  .mobile-bar-offer { background: linear-gradient(135deg, var(--coral), var(--coral-600)); color: #10201E; }
  .mobile-bar-call:hover { color: #fff; } .mobile-bar-offer:hover { color: #10201E; }
}
@media (max-width: 600px) {
  .card-grid-3, .card-grid-4, .regions { grid-template-columns: 1fr; }
  .region-core, .region-more { grid-column: auto; }
  .region { padding: 20px 18px 20px 50px; }
  .region::before { left: 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .offer-card { padding: 26px 20px 20px; margin-inline: -4px; }
  .hero-call { border-radius: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-media::before { inset: 14px -10px -14px 10px; }
}
.copyright a, .disclosures a { text-decoration: underline; text-underline-offset: 2px; }
