/* ────────────────────────────────────────────────────────────
   Superior Safety Solutions — marketing site
   Palette "1a — Amber hi-vis" (client-chosen 2026-07-31). --navy is the
   SURFACE color (hero, about, page-header fills) — NOT ink. Plain ink/
   heading/body text is hardcoded #14171C throughout this file.
   --accent-dk/--cyan are always the same value (one "link" color).
   Mirrors "Superior Safety OS design brief/Website.dc.html".
   ──────────────────────────────────────────────────────────── */

:root {
    --navy: #0b2447;
    --night: #071a35;
    --accent: #ffb100;
    --accent-soft: #ffb100;
    --accent-dk: #10708c;
    --cta: #ffb100;
    --cta-hover: #e89e00;
    --slate: #3c4a5f;
    --cyan: #10708c;

    --paper: #f7f9fc;
    --ink-soft: #c4d0e0;
    --ink-faint: #8194ad;
    --line: #e4e9f0;
    --line-field: #dde3ec;
    --radius: 10px;
    --display: "Barlow Condensed", "Arial Narrow", sans-serif;
    --body: "Barlow", "Segoe UI", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--slate);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    /* Sticky footer: chrome + main + footer fill at least the viewport, so
       short pages (Contact) never leave a gap below the footer. */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; display: flex; flex-direction: column; }

/* On short pages the last section stretches to fill the leftover height. */
.contact-page { flex: 1 0 auto; display: flex; flex-direction: column; }
.contact-page .contact-grid { flex: 1 0 auto; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 {
    font-family: var(--display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.02;
    color: #14171c;
}
.h-light { color: #fff; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #14171c; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; }

.mono { font-family: var(--mono); }

.eyebrow {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--accent-dk);
    font-weight: 600;
    text-transform: uppercase;
}
.eyebrow-amber { color: var(--accent-soft); }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--body); font-weight: 700; font-size: 15px;
    padding: 14px 26px; border-radius: 6px; border: none; cursor: pointer;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn .material-symbols-outlined { font-size: 18px; }
.btn-amber { background: var(--cta); color: #14171c; }
.btn-amber:hover { background: var(--cta-hover); color: #14171c; transform: translateY(-1px); }
.btn-ghost {
    background: transparent; color: #fff; font-weight: 600;
    padding: 13px 24px; border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: var(--cta); color: var(--cta); }
.btn-block { width: 100%; justify-content: center; }

/* ── Top bar ──────────────────────────────────────────── */
.topbar { background: var(--night); color: var(--ink-soft); font-size: 13px; }
.topbar-row { height: 40px; display: flex; align-items: center; justify-content: space-between; }
.topbar-phones { display: flex; align-items: center; gap: 18px; }
.topbar-phones a { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); }
.topbar-phones a:hover { color: #fff; }
.topbar-phones .muted { opacity: 0.8; }
.topbar-phones .material-symbols-outlined,
.topbar-area .material-symbols-outlined { font-size: 16px; }
.topbar-area {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); color: var(--accent-soft);
    letter-spacing: 0.04em; text-transform: uppercase; font-size: 12px;
}
.topbar-portal {
    display: inline-flex; align-items: center; gap: 6px;
    margin-left: 8px; padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff; font-weight: 600;
}
.topbar-portal .material-symbols-outlined { font-size: 16px; color: var(--accent-soft); }
.topbar-portal:hover { color: var(--accent-soft); }

/* ── Header ───────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 40;
    background: var(--paper); border-bottom: 1px solid var(--line);
}
.header-row { height: 74px; display: flex; align-items: center; gap: 28px; }
.brand img { height: 46px; }
.site-nav { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 30px; }
.site-nav > a {
    font-weight: 600; font-size: 15px; color: #14171c;
    padding: 6px 0; border-bottom: 2px solid transparent;
    text-transform: uppercase; letter-spacing: 0.03em;
}
.site-nav > a:not(.btn):hover { border-bottom-color: var(--cta); }
.site-nav .btn-amber { padding: 11px 20px; font-size: 14px; }
.nav-toggle {
    display: none; margin-left: auto; background: none; border: none; cursor: pointer;
    color: #14171c; padding: 4px; line-height: 0;
}
.nav-toggle .material-symbols-outlined { font-size: 30px; }
.nav-call { display: none; }

/* ── Photo placeholder (design uses image-slots) ──────── */
.photo-slot {
    position: relative; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 10px;
    background:
        repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 14px, transparent 14px 28px),
        linear-gradient(135deg, #232833, #14171c);
    color: rgba(255, 255, 255, 0.55);
    border: 1px dashed rgba(255, 255, 255, 0.22);
}
.photo-slot .material-symbols-outlined { font-size: 40px; }
.photo-slot-label {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
    text-transform: uppercase;
}
/* Real photo inside a slot: fills the frame, no dashed border */
.photo-slot:has(.photo-real) { border: none; }
.photo-real {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; display: block;
}

/* ── Photo gallery (training in action) ───────────────── */
.gallery-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.gallery-grid img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: 10px; display: block;
    border: 1px solid var(--line);
}
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Hero ─────────────────────────────────────────────── */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hazard-band {
    position: absolute; top: 0; left: 0; right: 0; height: 10px; z-index: 2;
    background: repeating-linear-gradient(-45deg, var(--accent) 0 20px, var(--night) 20px 40px);
}
.hero-photo { position: absolute; inset: 0; opacity: 0.16; border: none; z-index: 0; }
.hero-slider .photo-real {
    opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-slider .photo-real.is-active { opacity: 1; }
.hero-inner { position: relative; z-index: 1; padding: 96px 32px 92px; }
.hero h1 {
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 4.1rem); font-weight: 800;
    max-width: 15ch; margin: 18px 0 0;
}
.hero .lede {
    font-size: 19px; line-height: 1.6; color: var(--ink-soft);
    margin: 22px 0 0; max-width: 560px;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.cred-strip {
    position: relative; z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 26, 53, 0.6);
}
.cred-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding: 20px 32px; }
.cred-label {
    font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
    color: var(--ink-faint); text-transform: uppercase;
}
.cred-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cred-badge {
    background: #fff; border-radius: 6px; height: 46px; width: 96px;
    display: inline-flex; align-items: center; justify-content: center; padding: 7px 12px;
}
.cred-badge img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; display: block; }

/* ── Stats ────────────────────────────────────────────── */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 38px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat-n {
    display: block; font-family: var(--display); font-weight: 800;
    font-size: 58px; color: #14171c; line-height: 0.9;
}
.stat-l {
    display: block; font-family: var(--mono); font-size: 12px;
    letter-spacing: 0.1em; color: #8a97a8; margin-top: 10px; text-transform: uppercase;
}

/* ── Sections ─────────────────────────────────────────── */
.section { padding: 88px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 800; margin-top: 12px; }
.section-sub { font-size: 17px; color: var(--slate); margin-top: 14px; }

/* ── Services ─────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    overflow: hidden; display: flex; flex-direction: column;
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.service-card:hover {
    border-color: var(--cta); box-shadow: 0 14px 34px rgba(11, 36, 71, 0.1);
    transform: translateY(-2px);
}
.service-photo { height: 172px; }
.service-photo .material-symbols-outlined { font-size: 52px; }
.service-tag {
    position: absolute; top: 12px; left: 12px; z-index: 1;
    font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
    text-transform: uppercase; background: var(--navy); color: var(--accent-soft);
    padding: 4px 9px; border-radius: 3px;
}
.service-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { font-size: 1.5rem; font-weight: 700; }
.service-body ul { list-style: none; margin: 14px 0 0; display: flex; flex-direction: column; gap: 9px; }
.service-body li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--slate); }
.service-body li::before {
    content: ""; width: 6px; height: 6px; border-radius: 2px;
    background: var(--accent); flex: none;
}
.service-link {
    margin-top: auto; padding-top: 18px; color: var(--cyan);
    font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px;
}
.service-link .material-symbols-outlined { font-size: 16px; }
.service-link:hover { gap: 10px; }
.service-photo-link { display: block; }
.service-body h3 a { color: inherit; }
.service-body h3 a:hover { color: var(--cyan); }
.services-note { text-align: center; margin-top: 28px; color: var(--slate); font-size: 15px; }
.services-note a { color: var(--cyan); font-weight: 600; }

/* ── Breadcrumbs (on navy page header) ────────────────── */
.crumbs {
    font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--ink-faint); margin-bottom: 10px;
}
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--cta); }
.crumbs span[aria-hidden] { opacity: 0.5; margin: 0 6px; }

/* ── "What we cover" card (service detail) ────────────── */
.covers-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-top: 18px; }
.covers-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dk); margin-bottom: 12px; }
.covers-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.covers-card li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--slate); }
.covers-card li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); flex: none; }

/* ── Pill row (other services) ────────────────────────── */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill {
    display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 24px;
    border: 1.5px solid rgba(255, 255, 255, 0.2); color: #fff; font-weight: 600; font-size: 15px;
    transition: border-color .12s ease, color .12s ease;
}
.pill:hover { border-color: var(--cta); color: var(--cta); }

/* ── About ────────────────────────────────────────────── */
.about { background: var(--navy); color: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-copy p { color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin-top: 16px; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; margin-top: 12px; max-width: 18ch; }
.about-stats { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.about-n { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--accent-soft); }
.about-l { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.about-media { position: relative; }
.about-photo { height: 400px; border-radius: 14px; overflow: hidden; }
.about-badge {
    position: absolute; bottom: -18px; left: -18px; max-width: 220px;
    background: var(--accent); color: #14171c; padding: 16px 20px; border-radius: 10px;
    font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.05;
    text-transform: uppercase;
}

/* ── Testimonials ─────────────────────────────────────── */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 28px 26px; position: relative;
}
.quote-card::before {
    content: "\201C"; font-family: var(--display); font-weight: 800;
    font-size: 56px; color: var(--accent); line-height: 0.6; display: block; height: 26px;
}
.quote-card p { font-size: 16px; line-height: 1.6; color: var(--slate); margin: 0 0 20px; }
.quote-card footer {
    display: flex; align-items: center; gap: 12px;
    border-top: 1px solid #edeff3; padding-top: 16px;
}
.avatar {
    width: 40px; height: 40px; border-radius: 50%; flex: none;
    background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: var(--display); font-weight: 700;
}
.q-name { display: block; font-weight: 600; font-size: 15px; color: #14171c; }
.q-role { display: block; font-family: var(--mono); font-size: 11px; color: #8a97a8; text-transform: uppercase; }

/* ── Contact / CTA ────────────────────────────────────── */
.contact { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.contact-grid {
    padding: 80px 32px; display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: start;
}
.contact-intro h2 { font-size: clamp(2.2rem, 4.5vw, 3rem); font-weight: 800; margin-top: 12px; }
.contact-sub { font-size: 18px; line-height: 1.6; color: var(--ink-soft); margin-top: 18px; }
.contact-info { list-style: none; margin: 30px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info li { display: flex; align-items: center; gap: 14px; }
.contact-ic {
    width: 44px; height: 44px; flex: none; border-radius: 10px; background: #232833;
    display: flex; align-items: center; justify-content: center; color: var(--accent-soft);
}
.contact-k { display: block; font-family: var(--mono); font-size: 11px; color: var(--ink-faint); text-transform: uppercase; }
.contact-v { display: block; font-size: 18px; font-weight: 600; }

/* form card */
.quote-card-form { background: #fff; border-radius: 14px; padding: 28px; color: #14171c; }
.quote-card-form h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { margin-bottom: 12px; }
.field label, .chips legend { font-size: 12px; font-weight: 600; color: #8a97a8; display: block; margin-bottom: 4px; }
.field input, .field textarea {
    width: 100%; font-family: var(--body); font-size: 15px; padding: 11px;
    border: 1.5px solid var(--line-field); border-radius: 7px; min-height: 46px; color: #14171c;
}
.field textarea { min-height: 74px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--cyan); outline: none; }
.chips { border: none; margin: 6px 0 14px; }
.chips legend { margin-bottom: 6px; }
.chip { display: inline-block; margin: 0 8px 8px 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
    display: inline-block; font-size: 13px; font-weight: 600; padding: 7px 13px;
    border-radius: 20px; border: 1.5px solid var(--line-field); background: #fff; color: var(--slate);
    transition: all .12s ease;
}
.chip input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--cta); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 12px; font-size: 14px; font-weight: 600; min-height: 1.2em; }
.form-status.is-ok { color: #1a7f4b; }
.form-status.is-err { color: #c0392b; }

/* ── Footer ───────────────────────────────────────────── */
.site-footer { background: #050f22; color: var(--ink-faint); padding: 44px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-logo { height: 42px; filter: brightness(0) invert(1); opacity: 0.9; margin-bottom: 16px; }
.footer-grid p { font-size: 14px; line-height: 1.6; max-width: 340px; }
.footer-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: #fff; margin-bottom: 14px; text-transform: uppercase; }
.footer-grid a, .footer-grid span.mono { display: block; font-size: 14px; margin-bottom: 9px; }
.footer-grid a:hover { color: var(--cta); }
.footer-legal {
    border-top: 1px solid #232833; margin-top: 32px; padding-top: 18px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px;
}

/* ── Active nav ───────────────────────────────────────── */
.site-nav > a.is-active { border-bottom-color: var(--cta); }

/* ── Sub-page header ──────────────────────────────────── */
.page-header { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 74px 0 58px; }
.page-header h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.4rem); font-weight: 800; margin-top: 16px; }
.page-header-sub { color: var(--ink-soft); font-size: 18px; line-height: 1.6; margin-top: 14px; max-width: 60ch; }

/* ── Buttons on light backgrounds ─────────────────────── */
.section-cta { text-align: center; margin-top: 42px; }
.btn-ghost.btn-dark { color: #14171c; border-color: rgba(11, 36, 71, 0.25); }
.btn-ghost.btn-dark:hover { border-color: var(--cta); color: var(--cta); }

/* ── Body copy on light ───────────────────────────────── */
.body-copy { color: var(--slate); font-size: 17px; line-height: 1.7; margin-top: 16px; }
.about-grid-light .eyebrow { color: var(--accent-dk); }
.photo-slot-light {
    background:
        repeating-linear-gradient(45deg, rgba(11,36,71,0.03) 0 14px, transparent 14px 28px),
        #eef1f6;
    color: #9aa6b6; border-color: rgba(11, 36, 71, 0.16);
}

/* ── Value / step cards (on navy sections) ────────────── */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card {
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px; padding: 28px 26px;
}
.value-card > .material-symbols-outlined { font-size: 34px; color: var(--accent-soft); }
.value-card h3 { color: #fff; margin-top: 12px; font-size: 1.35rem; }
.value-card p { color: var(--ink-soft); margin-top: 8px; font-size: 15px; }
.step-num {
    display: inline-flex; width: 44px; height: 44px; border-radius: 50%;
    background: var(--accent); color: #14171c;
    font-family: var(--display); font-weight: 800; font-size: 22px;
    align-items: center; justify-content: center;
}

/* ── Contact CTA band ─────────────────────────────────── */
.cta-band { position: relative; background: var(--night); color: #fff; overflow: hidden; }
.cta-inner { position: relative; z-index: 1; padding: 56px 32px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; margin-top: 10px; }
.cta-sub { color: var(--ink-soft); margin-top: 12px; max-width: 52ch; }

/* ── Reveal animation ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Responsive ───────────────────────────────────────── */

/* Tall screens: vertically center the Contact page content in the filled band. */
@media (min-width: 901px) {
    .contact-page .contact-grid { align-content: center; }
}

/* Tablet: tighten oversized spacing, keep two-up service cards. */
@media (max-width: 1024px) {
    .wrap { padding: 0 26px; }
    .section { padding: 72px 0; }
    .quote-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .about-grid, .contact-grid { gap: 44px; }
    .about-photo { height: 340px; }
}

/* Below the nav collapse point: animated dropdown menu panel. */
@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-top: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(7, 26, 53, 0.16);
        padding: 8px 22px 22px;
        visibility: hidden; opacity: 0; transform: translateY(-10px);
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .site-nav.open { visibility: visible; opacity: 1; transform: none; }
    .site-nav > a {
        padding: 15px 6px; border-bottom: 1px solid var(--line);
        font-size: 16px; font-weight: 600; color: #14171c;
    }
    .site-nav > a.is-active { color: var(--cta); }
    .nav-quote { justify-content: center; margin-top: 16px; padding: 15px; font-size: 15px; border-radius: 8px; }
    .nav-call {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        margin-top: 12px; font-family: var(--mono); font-weight: 600; font-size: 15px; color: #14171c;
    }
    .nav-call .material-symbols-outlined { font-size: 18px; color: var(--accent-dk); }

    .services-grid, .about-grid, .quote-grid, .contact-grid, .footer-grid, .value-grid { grid-template-columns: 1fr; }
    .about-badge { position: static; margin-top: 22px; max-width: none; }
    .contact-grid, .about-grid { gap: 40px; }
    .about-grid-light .about-media { order: 2; }

    .hero-inner { padding: 76px 22px 64px; }
    .page-header { padding: 60px 0 48px; }
    .section-head { margin-bottom: 36px; }
    .cta-inner {
        padding: 64px 22px 56px; flex-direction: column; align-items: center;
        text-align: center; gap: 26px;
    }
    .cta-inner .cta-sub { margin-left: auto; margin-right: auto; }
    .cta-inner .btn { width: 100%; max-width: 340px; justify-content: center; }
    .about-photo { height: 300px; }
    .footer-grid { gap: 28px; }
}

/* Phones. */
@media (max-width: 560px) {
    .wrap { padding: 0 18px; }
    .topbar-row { justify-content: center; }
    .topbar-phones { gap: 20px; }
    .topbar-phones .muted { display: inline-flex; }
    .topbar-area { display: none; }
    .header-row { height: 64px; gap: 16px; }
    .brand img { height: 36px; }

    .stats-row { grid-template-columns: 1fr; }
    .stat { padding: 26px 20px; border-right: none; border-bottom: 1px solid var(--line); }
    .stat:last-child { border-bottom: none; }
    .stat-n { font-size: 46px; }

    /* Credential badges: centered label + tidy 2-up chips. */
    .cred-row { justify-content: center; gap: 12px 16px; padding: 20px 18px; }
    .cred-label { flex-basis: 100%; text-align: center; }
    .cred-badges { justify-content: center; gap: 10px; }
    .cred-badge { height: 42px; width: 84px; }

    .form-row { grid-template-columns: 1fr; }
    .quote-card-form { padding: 22px; }
    .contact-grid { padding: 48px 18px; }
    .contact-v { font-size: 16px; }

    .hero-inner { padding: 60px 18px 52px; }
    .section { padding: 56px 0; }
    .about-photo { height: 240px; }
    .footer-legal { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
