/* Sunstate Plumbing & Gas — site styles. Palette drawn from the logo: navy, sun orange, water blue. */
:root {
  --navy: #0b2653; --navy-deep: #071a3a; --navy-soft: #13356f;
  --orange: #f47c20; --orange-dark: #d9640f; --orange-text: #b4530a; --yellow: #ffc72c;
  --blue: #1a6fc9; --blue-light: #e9f2fc;
  --ink: #0f172a; --muted: #4b5563; --line: #e4e8ef; --bg: #ffffff; --bg-alt: #f5f7fb;
  --radius: 14px; --shadow: 0 10px 30px rgba(11, 38, 83, .10); --shadow-sm: 0 2px 8px rgba(11, 38, 83, .08);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --header-h: 76px; --logo-hang: 36px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* overflow-x on body propagates to the viewport (html stays visible), so sticky and the nav-open scroll lock keep working */
body { margin: 0; overflow-x: clip; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--bg); }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; font-weight: 800; }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container.narrow { max-width: 820px; }
/* Grid and flex children must be allowed to shrink below their content's intrinsic width on small screens */
.grid > *, .split > *, .hero-grid > *, .contact-grid > *, .service-layout > *, .footer-grid > *, .cta-inner > *, .feature > *, .contact-methods li > *, .footer-contact li > * { min-width: 0; }
a[href^="mailto:"], .form-thanks, .review blockquote { overflow-wrap: anywhere; }
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text); margin-bottom: .6rem; }
.lead { font-size: 1.2rem; color: var(--muted); }
.muted { color: var(--muted); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.35rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: background .15s, color .15s, transform .15s, box-shadow .15s; }
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--orange); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(244, 124, 32, .35); }
.btn-primary:hover { background: var(--yellow); color: var(--navy-deep); transform: translateY(-1px); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-light { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.0625rem; }

/* Announcement bar */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, .9); font-size: .9rem; padding: .45rem 0; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: .5rem; text-align: center; }
.topbar .ic { width: 18px; height: 18px; flex: none; color: var(--yellow); }
.topbar strong { color: #fff; }
.topbar a { color: var(--yellow); font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) { .topbar { font-size: .85rem; padding: .4rem 0; } .topbar .ic { display: none; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
/* Logo hangs below the header on a white plate at the top of the page, then tucks into the bar on scroll */
.brand { position: relative; z-index: 1; align-self: flex-start; display: flex; align-items: center; justify-content: center; height: calc(var(--header-h) + var(--logo-hang)); margin-bottom: calc(-1 * var(--logo-hang)); padding: 0 18px 6px; background: #fff; border-radius: 0 0 20px 20px; box-shadow: 0 12px 28px rgba(11, 38, 83, .18); transition: height .25s ease, margin .25s ease, box-shadow .25s ease, padding .25s ease; }
.brand img { width: auto; height: calc(var(--header-h) + var(--logo-hang) - 22px); transition: height .25s ease; }
.site-header.scrolled .brand, .nav-open .site-header .brand { height: var(--header-h); margin-bottom: 0; padding: 0; box-shadow: none; }
.site-header.scrolled .brand img, .nav-open .site-header .brand img { height: calc(var(--header-h) - 20px); }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a:not(.btn) { display: block; padding: .55rem .9rem; border-radius: 8px; color: var(--navy); font-weight: 600; text-decoration: none; }
.main-nav a:not(.btn):hover, .main-nav a[aria-current="page"] { background: var(--blue-light); color: var(--navy); }
.main-nav { display: flex; align-items: center; gap: 1rem; }
.header-actions { display: none; align-items: center; gap: .5rem; }
.nav-toggle { display: none; position: relative; z-index: 2; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle .bar { display: block; height: 3px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
@media (max-width: 900px) {
  :root { --header-h: 64px; --logo-hang: 24px; }
  .brand { padding: 0 12px 4px; border-radius: 0 0 14px 14px; }
  .header-actions { display: flex; }
  .nav-toggle { display: flex; }
  .header-call { display: none; } /* phone has the sticky bottom Call bar instead */
  /* Fixed, not absolute: an off-screen fixed panel doesn't widen the page (touch devices pan past body overflow-x). --nav-top is the header's bottom edge, set in main.js */
  .main-nav { position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 16px 2rem; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility 0s .25s; overflow-y: auto; z-index: 49; }
  .nav-open .main-nav { transform: none; visibility: visible; transition: transform .25s; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a:not(.btn) { padding: .9rem .75rem; font-size: 1.125rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-call { margin-top: 1rem; }
  .nav-open .nav-toggle .bar:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
  .nav-open .nav-toggle .bar:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle .bar:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }
  .nav-open { overflow: hidden; }
}

/* Hero */
.hero { background: radial-gradient(900px 500px at 85% -10%, rgba(244, 124, 32, .45), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(30, 123, 216, .35), transparent 60%), linear-gradient(160deg, var(--navy-soft), var(--navy-deep)); color: #fff; padding: calc(clamp(2rem, 3.5vw, 2.75rem) + var(--logo-hang)) 0 clamp(2rem, 3.5vw, 2.75rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .75rem; }
.hero .eyebrow { color: var(--yellow); }
.hero .lead { color: rgba(255, 255, 255, .86); font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.25rem; }
.hero-note { color: rgba(255, 255, 255, .7); font-size: .95rem; margin: 0; }
.hero-note a { color: #fff; }
/* #quote is the estimate card (heading + form); land it just below the sticky header */
#quote { scroll-margin-top: calc(var(--header-h) + 16px); }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.hero-card h2 { font-size: 1.3rem; margin-bottom: .15rem; }
.hero-card > p { color: var(--muted); margin-bottom: .75rem; font-size: .925rem; }
/* Denser form inside the hero so the next section shows above the fold */
.hero-card .contact-form label { margin-bottom: .6rem; font-size: .9rem; }
.hero-card .contact-form input, .hero-card .contact-form select, .hero-card .contact-form textarea { padding: .55rem .75rem; margin-top: .2rem; }
.hero-card .contact-form textarea { min-height: 76px; }
.hero-card .contact-form label:has(input[name="address"]) { display: none; } /* optional field lives on the contact page */
.hero-card .contact-form .btn-lg { padding: .8rem 1.5rem; font-size: 1rem; }
.hero-card .form-note { margin-top: .6rem; font-size: .85rem; }
.hero-actions { margin: 1.5rem 0 1rem; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-card { padding: 1.4rem; } }
@media (max-width: 600px) { .hero-actions { flex-direction: column; } .hero-actions .btn { width: 100%; } }

/* Trust strip */
.trust-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-strip li { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.trust-strip .ic { width: 32px; height: 32px; color: var(--orange); flex: none; }
.trust-strip strong { display: block; color: var(--navy); line-height: 1.2; }
.trust-strip span { font-size: .9rem; color: var(--muted); line-height: 1.3; }
.trust-wrap { padding: 1.5rem 0; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .trust-strip { grid-template-columns: 1fr; gap: .6rem; } .trust-strip li { padding: .75rem 1rem; } }

/* Cards */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfd8e6; color: var(--ink); }
.service-card .icon { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-light); color: var(--navy); display: grid; place-items: center; margin-bottom: 1rem; }
.service-card .icon .ic { width: 30px; height: 30px; }
.service-card h3 { margin-bottom: .35rem; }
.service-card p { color: var(--muted); margin-bottom: 1rem; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: .35rem; color: var(--orange-text); font-weight: 700; }
.service-card:hover .card-link { color: var(--orange-dark); }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .ic { width: 44px; height: 44px; flex: none; color: var(--orange); padding: 9px; background: #fff4ea; border-radius: 12px; }
.feature h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.feature p { color: var(--muted); margin: 0; }

/* Service detail cards (services hub) */
.service-detail { display: flex; flex-direction: column; padding: 1.75rem; }
.service-detail header { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.1rem; }
.service-detail .icon { width: 56px; height: 56px; flex: none; border-radius: 14px; background: var(--blue-light); color: var(--navy); display: grid; place-items: center; }
.service-detail .icon .ic { width: 30px; height: 30px; }
.service-detail h2 { font-size: 1.45rem; margin: .1rem 0 .15rem; }
.service-detail h2 a { color: var(--navy); text-decoration: none; }
.service-detail h2 a:hover { color: var(--blue); }
.service-detail header p { margin: 0; color: var(--muted); }
.service-detail .check-list { flex: 1; margin-bottom: 1.5rem; }
.service-detail .actions { display: flex; flex-wrap: wrap; gap: .6rem; }
@media (max-width: 480px) { .service-detail { padding: 1.35rem; } .service-detail .actions .btn { width: 100%; } }

/* Lists */
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .55rem; }
.check-list li { display: flex; gap: .6rem; align-items: flex-start; }
.check-list .ic { width: 22px; height: 22px; flex: none; color: var(--orange); margin-top: 2px; }
.check-list.cols { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 600px) { .check-list.cols { grid-template-columns: 1fr; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; padding: .45rem .9rem; border-radius: 999px; font-size: .95rem; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.split-top { align-items: start; }
.about-aside { position: sticky; top: 92px; display: grid; gap: 1.25rem; }
.about-aside .trust-strip { grid-template-columns: 1fr; gap: .5rem; margin-bottom: 1.25rem; }
.about-aside .trust-strip li { background: var(--bg-alt); border: 0; padding: .75rem 1rem; }
.about-aside .btn { width: 100%; }
.about-aside .btn + .btn { margin-top: .6rem; }
.about-aside .chips li { background: var(--bg-alt); border: 0; }

/* Reviews */
.review { display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: var(--yellow); margin-bottom: .75rem; }
.stars .ic { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.review blockquote { margin: 0 0 1rem; font-size: 1.05rem; flex: 1; }
.review cite { font-style: normal; font-weight: 700; color: var(--navy); display: block; }
.review small { color: var(--muted); }

/* Team */
.team-card { text-align: center; }
.team-card img { border-radius: var(--radius); margin: 0 auto 1rem; aspect-ratio: 4/5; object-fit: cover; }
.team-card h3 { margin-bottom: .15rem; }
.team-card p { color: var(--muted); margin: 0; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-soft)); color: #fff; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .25rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Forms */
.contact-form label { display: block; font-weight: 600; font-size: .9375rem; color: var(--navy); margin-bottom: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea { display: block; width: 100%; margin-top: .3rem; padding: .7rem .85rem; font: inherit; font-size: 1rem; border: 1.5px solid #cbd3df; border-radius: 10px; background: #fff; color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 123, 216, .2); }
.contact-form.was-validated :invalid { border-color: #d14343; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.req { color: var(--orange-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button { width: 100%; margin-top: .25rem; }
.form-note { font-size: .9rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }
.form-status { color: #b42318; font-weight: 600; margin: 0; }
.form-status:not(:empty) { margin-top: .5rem; }
.contact-form { margin: 0; }
.form-thanks { text-align: center; padding: 1.5rem 0; }
.form-thanks h3 { color: var(--navy); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-methods { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; }
.contact-methods li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.contact-methods .ic { width: 40px; height: 40px; flex: none; color: var(--orange); background: #fff4ea; border-radius: 10px; padding: 8px; }
.contact-methods strong { display: block; color: var(--navy); }
.contact-methods a { font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.contact-methods small { display: block; color: var(--muted); }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(160deg, var(--navy-soft), var(--navy-deep)); color: #fff; padding: calc(clamp(2.5rem, 5vw, 4rem) + var(--logo-hang)) 0 clamp(2.5rem, 5vw, 4rem); }
.page-hero h1 { color: #fff; margin-bottom: .5rem; }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 760px; margin: 0; }
.page-hero .hero-actions { margin: 1.5rem 0 0; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; font-size: .9rem; color: rgba(255, 255, 255, .7); }
.breadcrumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .5; }
.breadcrumbs a { color: rgba(255, 255, 255, .85); }

/* Service detail */
.service-layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .service-layout { grid-template-columns: 1fr; } }
.sidebar { position: sticky; top: 92px; display: grid; gap: 1.25rem; }
.sidebar .card h3 { font-size: 1.15rem; }
.sidebar-links { list-style: none; padding: 0; margin: 0; }
.sidebar-links li + li { border-top: 1px solid var(--line); }
.sidebar-links a { display: block; padding: .6rem 0; text-decoration: none; font-weight: 600; color: var(--navy); }
.sidebar-links a[aria-current="page"] { color: var(--orange-text); }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 1.25rem; background: #fff; margin-bottom: .75rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--orange); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); padding: 3.5rem 0 6rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand img { width: 170px; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 1rem; }
.footer-heading { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .ic { width: 20px; height: 20px; flex: none; color: var(--orange); margin-top: 3px; }
.social { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.social .ic { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.license { color: var(--yellow); font-weight: 700; }
@media (min-width: 901px) { .site-footer { padding-bottom: 3rem; } }

/* Mobile sticky contact bar */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: 1.2fr 1fr 1fr; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(11, 38, 83, .12); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: .55rem .25rem; font-size: .8rem; font-weight: 700; color: var(--navy); text-decoration: none; }
  .mobile-bar .ic { width: 22px; height: 22px; }
  .mobile-bar-call { background: var(--orange); color: var(--navy-deep) !important; }
  /* Tucked away while the hero's Call button is on screen (main.js); visibility drops after the slide so the shadow and links go too */
  .mobile-bar.is-hidden { transform: translateY(100%); visibility: hidden; }
  .mobile-bar.animate { transition: transform .25s ease, visibility 0s .25s; }
  .mobile-bar.animate:not(.is-hidden) { transition: transform .25s ease; }
}

/* 404 */
.error-page { text-align: center; padding: calc(5rem + var(--logo-hang)) 0 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .service-card { transition: none; } }

/* Linked chips (service areas) */
.chips a { display: block; margin: -.45rem -.9rem; padding: .45rem .9rem; border-radius: 999px; color: inherit; text-decoration: none; }
.chips a:hover { background: var(--blue-light); color: var(--navy); }

/* Area hub + articles */
.area-group + .area-group { margin-top: 2.5rem; }
.area-group h2 { scroll-margin-top: 96px; }
.byline { color: rgba(255, 255, 255, .75); font-size: .95rem; margin: 1rem 0 0; }
.inline-cta { background: var(--bg-alt); border-left: 4px solid var(--orange); border-radius: 0 12px 12px 0; padding: 1.1rem 1.25rem; margin: 2rem 0 0; }
.inline-cta p:last-child { margin: 0; }
