/* MiamiBathroomRemodelingServices.com - design system matched to the approved design board.
   Palette: navy #0B3D4E, teal #0F6B7A, cyan #2BB6C3, light #F1F7F9, gold #E2B04B. Display: Playfair Display. Body: Inter. */
@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-display-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/assets/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0B3D4E; --navy-2: #08303e; --teal: #0F6B7A; --teal-d: #0c5764; --cyan: #2BB6C3; --light: #F1F7F9; --gold: #E2B04B; --gold-d: #c9962f;
  --ink: #18323b; --muted: #4d6670; --line: #d7e5ea; --white: #fff;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 10px; --r-lg: 16px; --shadow: 0 10px 30px rgba(11, 61, 78, .10); --shadow-sm: 0 3px 12px rgba(11, 61, 78, .08);
  --wrap: 1200px; --gut: clamp(16px, 4vw, 32px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, .h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 3.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.35rem); }
h3, .h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.narrow-wide { max-width: 1040px; }
.ico { width: 1.2em; height: 1.2em; flex: none; }
.eyebrow { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 .8rem; display: flex; align-items: center; gap: .4em; }
.lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); color: var(--muted); max-width: 40em; }
.h1-accent { color: var(--teal); display: block; }
.small { font-size: .88rem; color: var(--muted); }
main:focus { outline: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 46px; padding: .7em 1.25em; border-radius: 6px; font: 700 .9rem/1.2 var(--sans);
  letter-spacing: .03em; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--call { background: var(--gold); color: var(--navy); text-transform: uppercase; box-shadow: 0 4px 14px rgba(226, 176, 75, .35); }
.btn--call:hover { background: var(--gold-d); color: var(--navy); }
.btn--outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--outline:hover { background: var(--teal); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--lg { min-height: 52px; padding: .85em 1.5em; font-size: .95rem; }
.btn__num { font-weight: 600; letter-spacing: 0; text-transform: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4rem 0; }
.cta-row--center { justify-content: center; }
.more { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--teal); }
.more .ico { transition: transform .2s; }
.more:hover .ico { transform: translateX(3px); }
.center-link { text-align: center; margin-top: 2rem; }
.qualifier { display: flex; gap: .6em; align-items: flex-start; font-size: .9rem; color: var(--muted); max-width: 38em; margin: .4rem 0 0; }
.qualifier .ico { color: var(--teal); margin-top: .15em; }

/* Topbar + header (centered logo, nav below, gold CALL NOW right) */
.topbar { background: var(--navy); color: #d8ecf0; font-size: .78rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; min-height: 34px; align-items: center; }
.topbar p { margin: 0; }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 12px; position: relative; }
.logo { grid-column: 2; display: block; line-height: 0; }
.logo__img { width: 210px; height: auto; }
.header__cta { grid-column: 3; justify-self: end; }
.header__icon, .burger { display: none; }
.nav { grid-column: 1 / -1; }
.nav__list { list-style: none; display: flex; justify-content: center; gap: 4px; margin: 8px 0 0; padding: 0; }
.nav__item { position: static; }
.nav__row { display: flex; align-items: center; }
.nav__link { display: block; padding: 12px 12px 14px; color: var(--navy); font-weight: 600; font-size: .92rem; text-decoration: none; border-bottom: 3px solid transparent; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--teal); border-bottom-color: var(--teal); }
.nav__toggle { background: none; border: 0; color: var(--navy); padding: 6px 4px; margin-left: -8px; cursor: pointer; display: inline-flex; border-radius: 4px; }
.nav__toggle .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.nav__cta { display: none; }
.mega { position: absolute; left: var(--gut); right: var(--gut); top: 100%; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow); padding: 24px 28px 18px; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility 0s .18s; z-index: 60; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.mega--2 { left: 50%; right: auto; width: min(560px, calc(100vw - 2 * var(--gut))); transform: translate(-50%, 6px); }
.nav__item.is-open > .mega { visibility: visible; opacity: 1; transform: translateY(0); transition: opacity .18s, transform .18s; }
.nav__item.is-open > .mega--2 { transform: translate(-50%, 0); }
.mega__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px 28px; }
.mega--2 .mega__cols { grid-template-columns: repeat(2, 1fr); }
.mega__title { display: flex; gap: .5em; align-items: center; font: 600 .78rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 0 0 .6rem; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 5px 0; color: var(--ink); text-decoration: none; font-size: .92rem; }
.mega li a:hover { color: var(--teal); text-decoration: underline; }
.mega__foot { border-top: 1px solid var(--line); margin: 16px 0 0; padding-top: 12px; }
.mega__foot a { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; }

/* Home hero: large photo right, fading behind text on the left */
.hero { position: relative; background: var(--light); overflow: hidden; }
.hero__media { position: absolute; inset: 0 0 0 30%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--light) 0%, rgba(241, 247, 249, .9) 18%, rgba(241, 247, 249, .25) 42%, rgba(241, 247, 249, 0) 58%); }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__inner { position: relative; min-height: clamp(520px, 44vw, 640px); display: flex; align-items: center; }
.hero__text { max-width: 600px; padding: 64px 0 40px; }
.hero h1 { margin-bottom: .45em; }
.badges { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 34px; margin: 0; padding: 0 0 34px; }
.badges li { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; color: var(--navy); max-width: 11em; line-height: 1.25; }
.badges .ico { width: 42px; height: 42px; padding: 9px; border: 1.6px solid var(--teal); border-radius: 50%; color: var(--teal); background: rgba(255, 255, 255, .8); }

.paths { background: var(--navy); }
.paths__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); }
.paths__list a { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; border-right: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.paths__list li:last-child a { border-right: 0; }
.paths__list a:hover { background: var(--teal); color: #fff; }
.paths__list .ico { color: var(--gold); }

/* Inner hero (split, image right) */
.phero { background: var(--light); overflow: hidden; }
.phero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; padding-top: 34px; padding-bottom: 44px; }
.phero__text { min-width: 0; }
.phero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
.phero__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.phero__img { width: 100%; height: 100%; object-fit: cover; }
.quick { margin-top: 1.2rem; background: #fff; border-left: 4px solid var(--gold); border-radius: var(--r); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.quick p:last-child { margin: 0; }
.quick__label, .answer-box__label { display: flex; gap: .5em; align-items: center; font: 700 .78rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.shero { background: var(--light); padding: 34px 0 48px; }
.shero--center { text-align: center; }
.shero--center .lead { margin-left: auto; margin-right: auto; }
.shero--center .eyebrow, .shero--center .chips { justify-content: center; }
.shero--center .crumbs ol { justify-content: center; }
.shero h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }

/* Article + area heroes */
.ahero { background: var(--light); padding: 30px 0 0; }
.ahero__media { margin: 26px 0 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow); }
.ahero__img { width: 100%; height: 100%; object-fit: cover; }
.ahero h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.9rem); max-width: 22em; }
.ahero--area { position: relative; padding: 0; overflow: hidden; color: var(--ink); }
.ahero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ahero--area::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(241, 247, 249, .97) 0%, rgba(241, 247, 249, .9) 38%, rgba(241, 247, 249, .25) 70%, rgba(241, 247, 249, 0) 100%); }
.ahero__inner { position: relative; z-index: 1; min-height: 440px; padding-top: 28px; padding-bottom: 48px; display: flex; flex-direction: column; justify-content: center; }
.ahero__inner > * { max-width: 620px; }

.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .82rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #9db3bb; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }

/* Sections */
.section { padding: clamp(52px, 6vw, 84px) 0; }
.section--tight { padding: clamp(36px, 4vw, 56px) 0; }
.section--light { background: var(--light); }
.section--navy { background: var(--navy); color: #d9eaee; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--cyan); }
.section__head { margin-bottom: 2rem; max-width: 760px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .eyebrow { justify-content: center; }
.section__lead { color: var(--muted); font-size: 1.05rem; }
.section__head--center .section__lead { margin: 0 auto; max-width: 640px; }
.section--navy .section__lead { color: #bcd7de; }
.minor-h { margin-top: 2.2rem; font-size: 1.15rem; }

/* Cards (image top, serif title, teal Learn More) */
.cards { display: grid; gap: 24px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 18px 18px 20px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.15rem; margin-bottom: .5em; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card h3 a:focus-visible { outline: none; }
.card:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.card p { font-size: .9rem; color: var(--muted); flex: 1; }
.card__more { display: inline-flex; align-items: center; justify-content: center; gap: .4em; color: var(--teal); font-weight: 600; font-size: .9rem; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }
.split__img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }
.split__text { min-width: 0; }
.answer { font-size: 1.08rem; }
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-sm); }
.section--light .card-soft { background: #fff; }

/* Lists */
.list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.list li { display: flex; gap: .7em; align-items: flex-start; margin-bottom: .6em; }
.list .ico { margin-top: .2em; width: 1.25em; height: 1.25em; padding: 3px; border-radius: 50%; }
.list--check .ico { background: var(--gold); color: var(--navy); stroke-width: 3; }
.list--x .ico { background: #e9eef0; color: #8a3b3b; stroke-width: 3; }
.list--alert .ico { color: var(--gold-d); }
.linklist { list-style: none; padding: 0; margin: 0; }
.linklist li { border-bottom: 1px solid var(--line); }
.linklist a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 2px; text-decoration: none; font-weight: 600; color: var(--navy); }
.linklist a:hover { color: var(--teal); }
.linklist .ico { color: var(--teal); }
.linklist--grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }

/* Tiles (options), factors */
.tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; text-align: center; box-shadow: var(--shadow-sm); }
.tile h3 { font-size: 1.08rem; }
.tile p { font-size: .92rem; color: var(--muted); margin: 0; }
.tile__icon { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 12px; background: var(--light); color: var(--teal); margin-bottom: 12px; flex: none; }
.tile__icon .ico { width: 30px; height: 30px; }
.factors { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px; }
.factor { background: #fff; border-radius: var(--r); padding: 22px; border-top: 3px solid var(--cyan); box-shadow: var(--shadow-sm); }
.factor h3 { font-size: 1.08rem; }
.factor p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Dark teal image band with gold checks */
.band { position: relative; overflow: hidden; background: var(--navy); color: #e6f2f4; }
.band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 61, 78, .97) 0%, rgba(11, 61, 78, .9) 40%, rgba(15, 107, 122, .45) 75%, rgba(15, 107, 122, .2) 100%); }
.band__inner { position: relative; z-index: 1; padding-top: clamp(56px, 7vw, 92px); padding-bottom: clamp(56px, 7vw, 92px); }
.band__text { max-width: 560px; }
.band h2 { color: #fff; }
.band .eyebrow { color: var(--gold); }
.band p { color: #d0e5ea; }
.band .list li { color: #fff; }
.band .btn--outline { border-color: rgba(255, 255, 255, .75); color: #fff; }
.band .btn--outline:hover { background: #fff; color: var(--navy); }

/* Process (numbered, horizontal with arrows) */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; counter-reset: s; }
.process li { position: relative; text-align: center; padding: 0 6px; }
.process__n { display: inline-flex; width: 58px; height: 58px; border-radius: 50%; align-items: center; justify-content: center; background: var(--navy); color: #fff;
  font: 700 1.4rem/1 var(--serif); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--teal); margin-bottom: 14px; position: relative; z-index: 1; }
.process h3 { font-size: 1.08rem; }
.process p { font-size: .93rem; color: var(--muted); margin: 0; }
.process--line li:not(:last-child)::after { content: ""; position: absolute; top: 29px; left: calc(50% + 40px); right: calc(-50% + 40px); border-top: 2px solid var(--teal); }
.process--line li:not(:last-child)::before { content: ""; position: absolute; top: 24px; right: calc(-50% + 36px); border: 6px solid transparent; border-left: 9px solid var(--teal); }
.section--navy .process__n { background: var(--gold); color: var(--navy); border-color: var(--navy); box-shadow: 0 0 0 2px var(--gold); }
.section--navy .process p { color: #c4dce2; }
.process--stack { grid-template-columns: 1fr; gap: 0; max-width: 820px; }
.process--stack li { text-align: left; display: grid; grid-template-columns: 58px 1fr; column-gap: 22px; padding: 0 0 28px; }
.process--stack .process__n { grid-row: span 2; }
.process--stack li:not(:last-child)::after { content: ""; position: absolute; left: 28px; top: 62px; bottom: 4px; border-left: 2px solid var(--line); }

/* Notes, callouts */
.elig-note { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); }
.elig-note .tile__icon { width: 48px; height: 48px; margin: 0; }
.elig-note__title { font: 700 1.05rem/1.3 var(--serif); color: var(--navy); margin-bottom: .4rem; }
.elig-note p { font-size: .93rem; }
.callout { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; background: var(--light); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin: 1.6rem 0; }
.callout p { margin: 0 auto 0 0; font-weight: 600; color: var(--navy); flex: 1 1 240px; }
.callout .btn--ghost { border-color: var(--teal); color: var(--teal); }
.callout .btn--ghost:hover { background: var(--teal); color: #fff; }
.note { display: flex; gap: 12px; background: #fff8e8; border: 1px solid #f1dcac; border-radius: var(--r); padding: 16px 18px; margin-bottom: 1.4rem; }
.note .ico { color: var(--gold-d); margin-top: .2em; }
.note p { margin: 0; }
.review-flag { background: #fff8e8; border: 1px dashed var(--gold-d); border-radius: var(--r); padding: 14px 18px; margin: 0 0 1.6rem; font-size: .94rem; }
.review-flag--gold { border-style: solid; }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; background: #fff; font-size: .94rem; }
.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-weight: 600; }
.compare tbody th { color: var(--navy); width: 24%; }
.compare tbody tr:nth-child(even) { background: #f8fbfc; }

/* Area pages */
.svc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-list a { display: grid; grid-template-columns: 48px 1fr 20px; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 16px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); height: 100%; }
.svc-list a:hover { border-color: var(--teal); }
.svc-list .tile__icon { width: 48px; height: 48px; margin: 0; grid-row: span 2; }
.svc-list strong { color: var(--navy); font-family: var(--serif); font-size: 1.05rem; }
.svc-list span:not(.tile__icon) { font-size: .9rem; color: var(--muted); grid-column: 2; }
.svc-list a > .ico { grid-column: 3; grid-row: 1 / span 2; color: var(--teal); }
.chips { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips--plain li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy);
  text-decoration: none; font-size: .88rem; font-weight: 600; }
.chips a:hover { border-color: var(--teal); color: var(--teal); }
.chips .ico { color: var(--teal); width: 1em; height: 1em; }
.area-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.area-card a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.area-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.area-card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.area-card__name { display: block; padding: 12px 14px; font: 600 1.02rem/1.3 var(--serif); color: var(--navy); text-align: center; }

/* Home extras */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.2rem 0; }
.fit__col h3 { font-size: 1.02rem; }
.prob-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.prob-grid a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--navy); font-weight: 600; box-shadow: var(--shadow-sm); }
.prob-grid a span { flex: 1; }
.prob-grid a:hover { border-color: var(--teal); color: var(--teal); }
.prob-grid .ico:first-child { color: var(--gold-d); }
.prob-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prob-col h3 { display: flex; gap: .5em; align-items: center; font-size: 1.12rem; }
.prob-col h3 .ico { color: var(--teal); }
.coverage .split__img { aspect-ratio: 16 / 10; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.post__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font: 600 .74rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .5rem; }
.post h3 { font-size: 1.12rem; }
.post h3 a { color: var(--navy); text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post h3 a:focus-visible { outline: none; }
.post p { font-size: .9rem; color: var(--muted); flex: 1; }
.post .card__more { justify-content: flex-start; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.prose { font-size: 1.04rem; max-width: 720px; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); margin-top: 1.8em; }
.block:first-of-type h2 { margin-top: 1em; }
.answer-box { background: var(--light); border-left: 4px solid var(--teal); border-radius: var(--r); padding: 18px 20px; }
.answer-box p:last-child { margin: 0; }
.takeaways { margin-top: 2.4rem; background: var(--navy); color: #e6f2f4; border-radius: var(--r-lg); padding: 26px 28px 12px; }
.takeaways h2 { color: #fff; margin-top: 0; }
.aside { position: sticky; top: 140px; display: grid; gap: 20px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow-sm); }
.side-box__title, .side-call__title { font: 700 1.05rem/1.3 var(--serif); color: var(--navy); margin-bottom: .7rem; }
.toc { margin: 0; padding-left: 1.2em; font-size: .92rem; }
.toc li { margin-bottom: .45em; }
.side-box .linklist a { font-size: .92rem; padding: 9px 0; }
.side-call { background: var(--light); border-radius: var(--r); padding: 20px; border-top: 4px solid var(--gold); display: grid; gap: 10px; justify-items: start; }
.side-call p { margin: 0; font-size: .92rem; }

/* FAQ accordion */
.faq__grid { display: grid; grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.faq__head { position: sticky; top: 140px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; font: 600 1.02rem/1.4 var(--sans); }
.faq__btn { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center; background: none; border: 0; padding: 18px 2px; text-align: left; font: inherit; color: var(--navy); cursor: pointer; }
.faq__btn:hover { color: var(--teal); }
.faq__toggle { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--light); }
.section--light .faq__toggle { background: #fff; }
.faq__toggle::before, .faq__toggle::after { content: ""; position: absolute; left: 7px; right: 7px; top: 12px; height: 2px; background: var(--teal); transition: transform .2s; }
.faq__toggle::after { transform: rotate(90deg); }
.faq__btn[aria-expanded="true"] .faq__toggle::after { transform: rotate(0); }
.faq__a { padding: 0 2px 16px; color: var(--muted); }

/* Forms */
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--wide, .field--radios, .field--check { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; color: var(--navy); font-size: .93rem; padding: 0; }
.req { font-weight: 400; font-size: .78rem; color: #8a3b3b; margin-left: 4px; }
.opt { font-weight: 400; font-size: .78rem; color: var(--muted); margin-left: 4px; }
input, select, textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #b9cfd6; border-radius: 8px; padding: 11px 12px; min-height: 46px; width: 100%; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); outline: 3px solid rgba(43, 182, 195, .35); outline-offset: 0; }
[aria-invalid="true"] { border-color: #b03a3a; }
.field__hint { font-size: .82rem; color: var(--muted); margin: 0; }
.field__err { font-size: .84rem; color: #a12f2f; margin: 0; font-weight: 600; }
.field--radios label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin-right: 22px; color: var(--ink); min-height: 34px; }
.field--radios input, .field--check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--teal); flex: none; }
.field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink); font-size: .9rem; }
.field--check input { margin-top: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form__note { font-size: .86rem; color: var(--muted); margin: 18px 0; }
.form__status, .checker__result { margin-top: 16px; }
.form__status:empty, .checker__result:empty { display: none; }
.status { border-radius: var(--r); padding: 14px 16px; font-size: .95rem; }
.status p:last-child { margin: 0; }
.status--ok { background: #e7f6f1; border: 1px solid #9fd8c4; }
.status--warn { background: #fff8e8; border: 1px solid #f1dcac; }
.status--no { background: #fbeeee; border: 1px solid #e8bcbc; }
.checker { display: grid; gap: 16px; }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.contact__aside { display: grid; gap: 20px; }
.contact__phone { margin: 0; font-weight: 700; color: var(--navy); display: flex; gap: 8px; align-items: center; }
.contact__phone--pending { font-weight: 600; font-size: .92rem; color: var(--muted); }
.contact__phone .ico { color: var(--teal); }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal ul { margin-bottom: 1em; }
.smap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.smap h2 { font-size: 1.2rem; }
.smap ul { list-style: none; padding: 0; margin: 0; }
.smap li { margin-bottom: .4em; font-size: .93rem; }

/* Footer */
.footer { background: var(--navy-2); color: #bcd3da; font-size: .92rem; }
.footer a { color: #e2eff2; text-decoration: none; }
.footer a:hover { color: var(--gold); text-decoration: underline; }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; padding-top: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__cta p { margin: 0; }
.footer__cta-title { font: 700 1.5rem/1.2 var(--serif); color: #fff; margin-bottom: 6px !important; }
.footer__cta .cta-row { margin: 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 32px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; line-height: 0; }
.footer__logo img { width: 190px; }
.footer__brand p { font-size: .88rem; line-height: 1.6; }
.footer__col h2 { font: 700 .82rem/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: .84rem; }
.footer__disclaimer--pending { background: rgba(226, 176, 75, .12); border: 1px dashed var(--gold); border-radius: 8px; padding: 10px 14px; color: #f3dca8; }
.footer__bottom { background: #062631; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 16px; padding-bottom: 16px; font-size: .84rem; }
.footer__bottom p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* Sticky mobile call bar (only rendered once a phone number is configured) */
.callbar { display: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1180px) {
  .nav__link { padding: 12px 9px 14px; font-size: .88rem; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; max-width: 640px; }
}
@media (max-width: 1023px) {
  html { scroll-padding-top: 76px; }
  .topbar__right { display: none; }
  .header__inner { grid-template-columns: auto 1fr auto auto; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .logo { grid-column: 1; }
  .logo__img { width: 168px; }
  .header__cta { grid-column: 3; }
  .burger { grid-column: 4; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); cursor: pointer; }
  .burger .ico { width: 24px; height: 24px; }
  .burger .ico--close { display: none; }
  .burger[aria-expanded="true"] .ico--open { display: none; }
  .burger[aria-expanded="true"] .ico--close { display: block; }
  .nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 72px); bottom: 0; background: #fff; overflow-y: auto; padding: 8px var(--gut) 32px; border-top: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility 0s .2s; overscroll-behavior: contain; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .nav__list { flex-direction: column; gap: 0; margin: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__row { justify-content: space-between; }
  .nav__link { padding: 15px 2px; font-size: 1rem; border: 0; flex: 1; }
  .nav__link[aria-current="page"] { border: 0; }
  .nav__toggle { width: 46px; height: 46px; justify-content: center; margin: 0; }
  .nav__toggle .ico { width: 20px; height: 20px; }
  .mega, .mega--2 { position: static; width: auto; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 14px 10px; display: none; visibility: visible; opacity: 1; transition: none; }
  .nav__item.is-open > .mega, .nav__item.is-open > .mega--2 { display: block; transform: none; }
  .mega::before { display: none; }
  .mega__cols, .mega--2 .mega__cols { grid-template-columns: 1fr; gap: 14px; }
  .mega li a { padding: 8px 0; }
  .nav__cta { display: grid; gap: 10px; margin-top: 20px; }
  body.nav-open { overflow: hidden; }
  .hero__media { inset: 0 0 0 0; }
  .hero__media::after { background: linear-gradient(180deg, rgba(241, 247, 249, .55) 0%, rgba(241, 247, 249, .9) 45%, var(--light) 75%); }
  .hero__inner { min-height: 0; }
  .hero__text { padding: 56px 0 20px; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .paths__list { grid-template-columns: repeat(3, 1fr); }
  .paths__list a { border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .cards--4, .area-grid { grid-template-columns: repeat(2, 1fr); }
  .posts, .prob-grid { grid-template-columns: repeat(2, 1fr); }
  .phero__grid { grid-template-columns: 1fr; gap: 28px; }
  .phero__media { aspect-ratio: 16 / 9; }
  .layout, .contact { grid-template-columns: 1fr; }
  .aside { position: static; }
  .faq__grid { grid-template-columns: 1fr; gap: 12px; }
  .faq__head { position: static; }
  .process--line li::after, .process--line li::before { display: none; }
  .prob-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .header__cta { display: none; }
  .header__icon { grid-column: 3; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 8px; background: var(--gold); color: var(--navy); }
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .fit, .form__grid, .svc-list, .linklist--grid, .prob-cols { grid-template-columns: 1fr; }
  .ahero__inner { min-height: 0; padding-top: 22px; }
  .ahero--area::after { background: linear-gradient(180deg, rgba(241, 247, 249, .7) 0%, rgba(241, 247, 249, .95) 50%); }
  .ahero__media { aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .compare { min-width: 560px; }
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(11, 61, 78, .97); }
  .callbar__btn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; border-radius: 8px; background: var(--gold); color: var(--navy); font-weight: 700; text-decoration: none; }
  body:has(.callbar) { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .topbar__inner { justify-content: center; text-align: center; }
  .cards--4, .posts, .prob-grid, .area-grid { grid-template-columns: 1fr; }
  .paths__list { grid-template-columns: 1fr 1fr; }
  .badges { gap: 14px; }
  .cta-row .btn { width: 100%; }
  .callout .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .elig-note { flex-direction: column; }
  .tile { padding: 20px 16px; }
}
@media (max-width: 360px) {
  .logo__img { width: 140px; }
  .burger, .header__icon { width: 42px; height: 42px; }
  .badges { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .topbar, .header, .footer, .band, .callbar, .cta-row { display: none !important; }
}

/* footer overrides (link colours must not leak into buttons) */
.footer .btn { text-decoration: none; }
.footer .btn--call, .footer .btn--call:hover { color: var(--navy); }
.footer .btn--ghost:hover { color: var(--navy); }
.footer__legal a { text-decoration: underline; }
.table-wrap:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.faq__grid > *, .split > *, .layout > *, .contact > * { min-width: 0; }
p, li, h1, h2, h3, td, th, label { overflow-wrap: break-word; }
@media (max-width: 400px) { .footer__brand p, .legal p, .shero .lead, .process p { overflow-wrap: anywhere; } }
@media (max-width: 560px) { .paths__list a { justify-content: flex-start; text-align: left; padding-left: 14px; } }

/* object-position for cropped photos (generated by build.py) */
.op-p01 { object-position: 40% 50%; }
.op-p02 { object-position: 50% 50%; }
.op-p03 { object-position: 60% 50%; }
.op-p04 { object-position: 50% 50%; }
.op-p05 { object-position: 50% 50%; }
.op-p06 { object-position: 45% 50%; }
.op-p07 { object-position: 50% 50%; }
.op-p08 { object-position: 50% 50%; }
.op-p09 { object-position: 60% 50%; }
.op-p10 { object-position: 50% 50%; }
.op-p11 { object-position: 50% 50%; }
.op-p12 { object-position: 50% 50%; }
.op-p13 { object-position: 50% 50%; }
.op-p14 { object-position: 50% 50%; }
.op-p15 { object-position: 50% 60%; }
.op-p16 { object-position: 50% 50%; }
.op-p17 { object-position: 50% 55%; }
.op-p18 { object-position: 50% 50%; }
.op-p19 { object-position: 50% 50%; }
.op-p20 { object-position: 50% 50%; }
.op-p21 { object-position: 50% 50%; }
.op-p22 { object-position: 50% 50%; }
.op-p23 { object-position: 50% 50%; }
.op-p24 { object-position: 50% 50%; }
.op-p25 { object-position: 50% 50%; }
.op-p26 { object-position: 50% 50%; }
.op-p27 { object-position: 50% 50%; }
.op-p28 { object-position: 50% 50%; }
.op-p29 { object-position: 50% 50%; }
.op-p30 { object-position: 50% 50%; }
