/* ASAP Plumbing Services — site styles
   One stylesheet for every page. Fonts are self-hosted (SIL OFL, see /assets/fonts/LICENSE.txt). */

/* ---------- Fonts ---------- */
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("../fonts/opensans-400-700-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700-italic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --navy-900: #091222;
  --navy-850: #0b1529;
  --navy-800: #04122c;
  --navy-750: #13213b;
  --navy-700: #0e2a4e;
  --navy-text: #051d3e;
  --blue-700: #1a4c8c;
  --blue-600: #1c519c;
  --blue-500: #0e59a9;
  --sky: #6bbbf0;
  --gold: #fab505;
  --red: #ca232a;
  --red-dark: #bd2433;
  --red-link: #e13535;
  --red-cta: #d4482e;
  --text: #555;
  --text-strong: #424242;
  --muted-on-dark: #9ba8c0;
  --grey-50: #f4f4f4;
  --grey-100: #f0f0f0;
  --lilac-50: #eeedf3;
  --white: #fff;
  --container: 1170px;
  --gutter: 16px;
  --heading: "Poppins", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.75 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-link); }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--heading); color: var(--navy-text); line-height: 1.25; margin: 0 0 .6em; }
h2 { font-size: clamp(26px, 3.2vw, 32px); font-weight: 600; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.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: 8px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy-800); padding: 8px 14px; font: 600 15px var(--heading); text-decoration: none; }
.skip-link:focus { top: 8px; }
.center { text-align: center; }

.btn { position: relative; display: inline-block; padding: 16px 32px; background: var(--red); color: var(--white); font: 600 15px/1 var(--heading); text-transform: uppercase; text-decoration: none; border: 2px solid var(--red); border-radius: 3px; transition: background .2s, color .2s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline { background: var(--white); color: #d63343; border: 1px solid #d63343; text-transform: none; font-weight: 400; font-size: 16px; padding: 12px 24px; }
.btn-outline:hover { background: #d63343; color: var(--white); }
.underline::after { content: ""; display: block; width: 40px; height: 3px; margin-top: 14px; background: var(--blue-500); }
.center .underline::after, .underline.center::after { margin-left: auto; margin-right: auto; }

/* ---------- Header ---------- */
.site-header { background: var(--navy-800); border-top: 1px dashed rgba(255,255,255,.12); position: relative; z-index: 20; }
.header-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 26px; padding-bottom: 22px; }
.brand img { width: 158px; height: 45px; }
.header-contact { display: flex; align-items: center; }
.header-appt { display: flex; align-items: center; gap: 14px; padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.12); color: var(--white); text-decoration: none; font: 600 16px/1.2 var(--heading); text-transform: uppercase; }
.header-appt:hover { color: var(--sky); }
.header-appt img { width: 48px; height: 46px; }
.header-phone { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.header-phone img { width: 44px; height: auto; }
.header-phone .label { display: block; color: var(--sky); font: 400 18px/1.2 var(--heading); }
.header-phone .number { display: block; color: var(--gold); font: 700 28px/1.2 var(--heading); }
.header-phone:hover .number { color: var(--white); }

.site-header { padding-bottom: 8px; }
.nav-bar { position: relative; z-index: 2; }
.nav-inner { display: flex; align-items: stretch; background: linear-gradient(90deg, var(--blue-600), var(--blue-500)); min-height: 76px; }
.nav-brand { display: none; }
.menu-toggle { display: none; }
.main-nav { flex: 1; display: flex; }
.main-nav ul { list-style: none; margin: 0; padding: 0 0 0 20px; display: flex; flex-wrap: wrap; align-items: center; }
.main-nav a { display: block; padding: 24px 14px; color: var(--white); font: 600 15px/1.2 var(--heading); text-transform: uppercase; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--sky); }
.nav-request { display: flex; align-items: center; padding: 0 34px 0 56px; background: var(--red-dark); color: var(--white); font: 600 17px/1.2 var(--heading); letter-spacing: .03em; text-transform: uppercase; text-decoration: none; clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%); }
.nav-request:hover { background: var(--red); color: var(--white); }

/* ---------- Home: hero ---------- */
.hero { position: relative; min-height: 720px; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy-700); }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.4); }
.hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 60px; }
.hero h1 { color: var(--white); font-size: clamp(36px, 5vw, 55px); font-weight: 700; line-height: 1; margin-bottom: 24px; }
.hero h1 span { display: block; font-weight: 400; }
.hero p { font-size: 18px; line-height: 28px; max-width: 760px; margin-bottom: 32px; }

.promise-strip { background: var(--grey-100); }
.promise-strip .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.promise-strip p { margin: 0; font: 600 22px/1.3 var(--heading); color: #666b72; }
.promise-strip p + p { color: #082650; }

.reviews-inline { padding: 24px 0 0; min-height: 40px; overflow: hidden; }

.intro { padding: 70px 0 50px; text-align: center; }
.intro h2 { margin-bottom: 18px; }
.intro h2 span { display: block; font-weight: 500; }
.intro p { max-width: 900px; margin: 0 auto; }

/* ---------- Home: services offered ---------- */
.offered { background: var(--navy-700); color: rgba(255,255,255,.5); padding: 64px 36px 70px; text-align: center; }
.offered h2 { color: var(--white); }
.offered > p { margin-bottom: 0; }
.offered .rule { width: 80px; height: 1px; background: rgba(255,255,255,.3); margin: 18px auto 40px; border: 0; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; text-align: center; }
.card { position: relative; background: var(--white); border-bottom: 3px solid var(--red-link); color: var(--text); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 201 / 237; object-fit: cover; }
.card .body { padding: 22px 14px 20px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 14px; line-height: 1.6; flex: 1; }
.card a { font: 600 15px var(--heading); color: var(--red-link); text-decoration: none; }
.card a:hover { text-decoration: underline; }

.more-range { margin: 50px auto 0; box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.more-range h3 { background: var(--blue-600); color: var(--white); margin: 0; padding: 16px 22px; font-size: 23px; border-radius: 3px 3px 0 0; }
.more-range ul { list-style: none; margin: 0; padding: 10px 22px 14px; background: var(--grey-50); }
.more-range li { padding: 9px 0 9px 22px; border-bottom: 1px solid #e3e3e3; font-size: 17px; position: relative; }
.more-range li:last-child { border-bottom: 0; }
.more-range li::before { content: ""; position: absolute; left: 0; top: 50%; width: 11px; height: 2px; background: var(--text); }
.more-range + .center { padding: 34px 0 70px; }

/* ---------- Home: history / why / projects ---------- */
.history { background: var(--navy-750) url("../img/water-bg.webp") center / cover no-repeat; color: rgba(255,255,255,.9); padding: 80px 0; }
.history .container { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: center; }
.history h2 { color: var(--white); }
.history p + h2 { margin-top: 30px; }
.history img { width: 336px; height: 274px; object-fit: cover; justify-self: center; }

.why { background: var(--lilac-50) url("../img/service-van.webp") right center / min(52%, 813px) auto no-repeat; padding: 80px 0; min-height: 520px; }
.why .text { max-width: 520px; }
.why h2 { margin-bottom: 20px; }
.why h3 { color: var(--text-strong); font-size: 20px; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 4px; color: var(--text-strong); font: italic 700 19px/1.6 var(--body); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 16px; height: 9px; border: solid var(--blue-500); border-width: 0 0 3px 3px; transform: rotate(-45deg); }

.projects { padding: 70px 0; }
.projects h2 { color: #242424; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 40px 0 0; padding: 0; }
.gallery img { width: 100%; aspect-ratio: 370 / 286; object-fit: cover; }

.dedicated { background: var(--blue-700); color: var(--white); padding: 60px 0 56px; }
.dedicated h2 { color: var(--white); }
.dedicated p { margin: 0; max-width: 1000px; }

/* ---------- Call-to-action band (every page) ---------- */
.cta-band { background: var(--navy-750); border-top: 3px solid var(--red); margin-top: 60px; }
.dedicated + .cta-band { margin-top: 0; }
.cta-band .container { display: flex; align-items: center; gap: 40px; min-height: 140px; }
.cta-band img { width: 177px; height: 174px; margin-top: -60px; align-self: flex-end; }
.cta-band p { margin: 0; color: var(--white); font: 600 28px/1.3 var(--heading); }
.cta-band .call { display: block; font: italic 700 30px/1.3 var(--heading); color: var(--white); text-decoration: none; }
.cta-band .call span { color: var(--red-cta); }
.cta-band .call:hover span { color: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-850); color: var(--muted-on-dark); padding: 60px 0 0; font-size: 15px; line-height: 1.7; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 1.5fr; gap: 30px; padding-bottom: 50px; }
.site-footer h2 { color: var(--white); font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.site-footer a { color: var(--muted-on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-badge { display: grid; gap: 10px; align-items: center; }
.footer-badge .hours { color: var(--white); font: 600 22px/1.3 var(--heading); margin: 0; text-align: center; }
.footer-badge .hours span { display: block; font: italic 600 18px/1.4 var(--heading); }
.footer-badge .accept { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin: 14px 0 0; color: var(--white); font: 600 18px var(--heading); justify-content: center; }
.footer-bottom { background: var(--navy-900); color: rgba(155,168,192,.5); padding: 22px 0; font-size: 14px; }
.footer-bottom p { margin: 0; }

/* ---------- Inner pages ---------- */
.page { padding: 90px 0 30px; }
.page h1 { font-size: clamp(28px, 3.4vw, 34px); font-weight: 600; }
.lead { max-width: 1000px; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; list-style: none; margin: 36px 0 0; padding: 0; }
.service-tile { position: relative; background: var(--white); box-shadow: 0 4px 20px rgba(0,0,0,.08); border-bottom: 3px solid var(--red-link); text-align: center; display: flex; flex-direction: column; }
.service-tile img { width: 100%; aspect-ratio: 370 / 286; object-fit: cover; }
.service-tile .body { padding: 22px 18px; flex: 1; display: flex; flex-direction: column; }
.service-tile h2 { font-size: 18px; margin-bottom: 10px; }
.service-tile h2 a { color: inherit; text-decoration: none; }
.service-tile p { font-size: 14px; line-height: 1.6; flex: 1; }
.service-tile .more { font: 600 14px var(--heading); color: var(--red-link); text-decoration: none; }

.with-sidebar { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.service-menu { list-style: none; margin: 0 0 30px; padding: 0; border: 1px solid #eee; }
.service-menu a { display: block; padding: 11px 18px; border-bottom: 1px solid #eee; border-left: 3px solid var(--red); color: var(--navy-text); font: 600 14px var(--heading); text-decoration: none; background: var(--white); }
.service-menu li:last-child a { border-bottom: 0; }
.service-menu a:hover { color: var(--red); }
.service-menu a[aria-current="page"] { background: var(--red); color: var(--white); }
.service-menu a[aria-current="page"]::before { content: "\2192\00a0\00a0"; }
.help-box { background: var(--blue-500); color: var(--white); text-align: center; }
.help-box img { width: 100%; }
.help-box .body { padding: 22px 18px 30px; }
.help-box p { margin: 0; font: 600 20px/1.3 var(--heading); }
.help-box p strong { display: block; font-size: 26px; margin: 10px 0 18px; }
.help-box .btn { font-size: 13px; padding: 13px 22px; }

.service-main > img { width: 100%; aspect-ratio: 840 / 375; object-fit: cover; margin-bottom: 26px; }
.service-main h2 { font-size: 24px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; margin-top: 34px; }
.split.reverse > img { order: 2; }
.split img { width: 100%; }

.about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; margin-top: 20px; }
.about-grid ul { list-style: none; margin: 0; padding: 0; }
.about-grid li::before { content: "- "; }
.about-grid h2 { font-size: 22px; }
.about-grid img { border: 1px solid #eee; padding: 20px; justify-self: center; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; list-style: none; margin: 36px 0 0; padding: 0; }
.testimonial { margin: 0; padding: 30px 26px 50px; box-shadow: 0 4px 20px rgba(0,0,0,.08); position: relative; text-align: center; font-size: 15px; }
.testimonial::after { content: "\201C"; position: absolute; right: 22px; bottom: -14px; font: 700 80px/1 Georgia, serif; color: #b9cbe6; }
.testimonial figcaption { margin-bottom: 14px; color: var(--navy-text); font: 600 15px/1.4 var(--heading); }
.testimonial figcaption span { display: block; font: 400 13px var(--body); color: #888; }
.testimonial blockquote { margin: 0; white-space: pre-line; }

.articles { display: grid; grid-template-columns: 1fr 300px; gap: 50px; align-items: start; }
.post-card { position: relative; margin-bottom: 50px; }
.post-card img { width: 100%; aspect-ratio: 900 / 360; object-fit: cover; margin-bottom: 18px; }
.post-card h2 { font-size: 24px; }
.post-card h2 a, .recent a { color: var(--navy-text); text-decoration: none; }
.post-card h2 a:hover, .recent a:hover { color: var(--red); }
.post-meta { font-size: 14px; color: #888; margin-bottom: 12px; }
.recent { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.recent li { padding: 10px 0; border-bottom: 1px solid #eee; }
.sidebar h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose > img { width: 100%; aspect-ratio: 900 / 360; object-fit: cover; margin-bottom: 24px; }
.policy h2 { font-size: 19px; margin-top: 1.8em; }

.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 0; align-items: stretch; box-shadow: 0 10px 40px rgba(0,0,0,.08); margin-top: 10px; }
.contact-card { background: linear-gradient(180deg, #1e40a8, #2b3fae); color: var(--white); padding: 40px 26px; }
.contact-card h1, .contact-card h2 { color: var(--white); font-size: 22px; }
.contact-card dl { margin: 24px 0 0; }
.contact-card dl > div { display: grid; grid-template-columns: 32px 1fr; gap: 0 14px; padding: 16px; border: 1px solid rgba(255,255,255,.15); margin-bottom: 14px; }
.contact-card dt { grid-column: 2; font: 600 16px var(--heading); }
.contact-card dd { grid-column: 2; margin: 0; font-size: 14px; line-height: 1.6; }
.contact-card dl img { grid-row: 1 / span 2; width: 28px; height: auto; opacity: .85; filter: brightness(0) invert(1); }
.contact-card a { color: var(--white); }
.reach { padding: 44px 40px; }
.reach h2 { font-size: 28px; }
.reach-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0 18px; }
.reach-actions a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 22px 12px; text-align: center; border-radius: 4px; text-decoration: none; font: 600 16px/1.3 var(--heading); color: var(--white); background: var(--blue-500); }
.reach-actions a span { font: 400 13px/1.4 var(--body); opacity: .9; }
.reach-actions a:first-child { background: var(--red); }
.reach-actions a:hover { filter: brightness(1.1); color: var(--white); }
.reach .note { font-size: 14px; color: #777; margin: 0; }
.map { margin-top: 50px; }
.map iframe { display: block; width: 100%; height: 450px; border: 0; }
.map p { font-size: 14px; margin-top: 10px; }

.appointment { display: grid; grid-template-columns: 1fr 270px; gap: 40px; align-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 22px 10px; font-size: 14px; }
  .nav-request { padding: 0 20px 0 44px; font-size: 15px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .why { background-size: 46% auto; }
  .why .text { max-width: 50%; }
}

@media (max-width: 900px) {
  .header-top { flex-direction: column; gap: 14px; padding-top: 18px; padding-bottom: 16px; }
  .header-top > .brand { display: none; }
  .header-contact { flex-direction: column; align-items: flex-start; gap: 10px; }
  .header-appt { border-right: 0; padding-right: 0; margin-right: 0; }
  .header-phone .number { font-size: 26px; }
  .nav-bar { margin-bottom: 0; padding-bottom: 0; }
  .nav-inner { flex-wrap: wrap; background: var(--blue-600); min-height: 0; padding: 12px var(--gutter); align-items: center; }
  .nav-brand { display: block; flex: 1; }
  .nav-brand img { width: 158px; height: 45px; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: transparent; border: 0; padding: 0; cursor: pointer; }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 30px; height: 2px; background: var(--white); position: relative; content: ""; }
  .menu-toggle span::before { position: absolute; top: -9px; }
  .menu-toggle span::after { position: absolute; top: 9px; }
  .main-nav { flex-basis: 100%; display: none; }
  .nav-inner.open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0; }
  .main-nav a { padding: 12px 4px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav-request { flex-basis: calc(100% + 2 * var(--gutter)); justify-content: center; clip-path: none; padding: 14px; margin: 6px calc(-1 * var(--gutter)) -12px; }
  .hero { min-height: 560px; }
  .hero .container { padding-top: 60px; }
  .promise-strip .container { flex-direction: column; text-align: center; }
  .promise-strip p { font-size: 19px; }
  .offered { padding: 50px 20px; margin: 0 calc(-1 * var(--gutter)); }
  .history .container { grid-template-columns: 1fr; gap: 30px; }
  .why { background-image: none; min-height: 0; padding: 56px 0; }
  .why .text { max-width: none; }
  .site-header { padding-bottom: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .cta-band .container { flex-direction: column; text-align: center; gap: 12px; padding-bottom: 28px; }
  .cta-band img { align-self: center; width: 130px; height: auto; margin-top: -40px; }
  .cta-band p { font-size: 24px; }
  .cta-band .call { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page { padding-top: 40px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .with-sidebar { grid-template-columns: 1fr; }
  .with-sidebar > aside { order: 2; }
  .split, .about-grid { grid-template-columns: 1fr; }
  .split.reverse > img { order: 0; }
  .testimonials { grid-template-columns: 1fr; }
  .articles { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .reach { padding: 32px 22px; }
  .appointment { grid-template-columns: 1fr; }
  .appointment > aside { max-width: 320px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  /* Tablets and phones in landscape: keep the call/schedule links on one row */
  .header-top { padding-top: 10px; padding-bottom: 10px; }
  .header-contact { flex-direction: row; align-items: center; gap: 36px; }
  .header-appt img { width: 36px; height: auto; }
  .header-phone img { width: 32px; }
  .header-phone .number { font-size: 22px; }
  .header-phone .label { font-size: 15px; }
  .nav-inner { padding-top: 6px; padding-bottom: 6px; }
  .nav-request { padding: 10px; margin-bottom: -6px; }
  .hero { min-height: 480px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding-bottom: 12px; }
  .card { flex: 0 0 78%; scroll-snap-align: center; }
  .gallery { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .reach-actions { grid-template-columns: 1fr; }
  .map iframe { height: 340px; }
  .history img { width: 100%; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Tables (policy pages) ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; }
.table-wrap th, .table-wrap td { border: 1px solid #e3e3e3; padding: 8px 10px; text-align: left; vertical-align: top; }
.table-wrap th { background: var(--grey-50); color: var(--navy-text); font-family: var(--heading); font-weight: 600; }
.policy h3 { font-size: 17px; margin-top: 1.2em; }
