/* ==========================================================================
   Woolfords Plumbing — woolfordsplumbing.com.au
   Colours derived from the existing vehicle signage and uniform:
   dark sign panel, logo blue, uniform turquoise, red/orange banner,
   orange flame accent.
   ========================================================================== */

:root {
    /* Brand */
    --ink:          #12161b;   /* sign panel background */
    --ink-2:        #1a1f26;
    --navy:         #123457;   /* deep brand navy */
    --navy-2:       #0d2842;
    --blue:         #1c7cc0;   /* logo lettering blue */
    --blue-dark:    #14608f;
    --sky:          #2fb0da;   /* uniform turquoise */
    --sky-soft:     #e6f4fa;
    --red:          #b93a22;   /* signage banner red */
    --cta:          #c33f22;   /* primary action */
    --cta-dark:     #9e3018;
    --flame:        #ef8a2b;   /* flame accent in the logo */

    /* Neutrals */
    --white:        #ffffff;
    --off-white:    #f7f9fa;
    --light-bg:     #eef5f8;
    --border:       #dce3e8;
    --border-soft:  #e8edf1;

    /* Text */
    --text:         #1d242b;
    --text-muted:   #5c6871;
    --text-invert:  #ffffff;
    --text-invert-muted: rgba(255,255,255,.72);

    /* Layout */
    --container:    1200px;
    --container-narrow: 860px;

    --radius-sm:    8px;
    --radius-md:    14px;
    --radius-lg:    22px;

    --shadow-sm:    0 1px 2px rgba(18,22,27,.06), 0 2px 6px rgba(18,22,27,.05);
    --shadow-md:    0 2px 6px rgba(18,22,27,.06), 0 12px 28px rgba(18,22,27,.08);
    --shadow-lg:    0 8px 20px rgba(18,22,27,.10), 0 28px 60px rgba(18,22,27,.14);

    --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
    --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --header-h:     72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--blue-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--cta); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 5.2vw, 3.75rem); letter-spacing: -0.005em; text-transform: uppercase; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 3.8vw, 2.85rem); text-transform: uppercase; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--cta); color: #fff; padding: .75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--light { background: var(--off-white); }
.section--tint { background: var(--light-bg); }
.section--dark { background: var(--navy); color: var(--text-invert); }
.section--ink { background: var(--ink); color: var(--text-invert); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--dark p, .section--ink p { color: var(--text-invert-muted); }

.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0; }
.section--dark .section-head p, .section--ink .section-head p { color: var(--text-invert-muted); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: .78rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--blue);
    margin-bottom: .75rem;
}
.section--dark .eyebrow, .section--ink .eyebrow { color: var(--sky); }
.lead { font-size: 1.12rem; color: var(--text-muted); }
.section--dark .lead, .section--ink .lead { color: var(--text-invert-muted); }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: 15px 26px; border-radius: var(--radius-sm);
    font-weight: 700; font-size: 1rem; line-height: 1.2;
    text-decoration: none; border: 2px solid transparent; cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
    min-height: 52px;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-dark); color: #fff; }

.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); color: #fff; }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); background: var(--white); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--off-white); color: var(--navy); }

.btn--lg { padding: 18px 32px; font-size: 1.08rem; min-height: 60px; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.topbar {
    background: var(--ink); color: rgba(255,255,255,.72);
    font-size: .82rem; border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__list li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.topbar svg { width: 14px; height: 14px; color: var(--sky); flex: none; }
.topbar a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; }
.topbar a:hover { color: #fff; }

.site-header {
    position: sticky; top: 0; z-index: 90;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,.10);
    transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.22); }
.site-header .container { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; padding: 8px 0; }
.brand:hover { color: inherit; }
.brand__mark { width: 40px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
    font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
    font-size: 1.62rem; color: #fff; letter-spacing: .01em;
}
.brand__tag {
    font-size: .63rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--sky); margin-top: 3px;
}

.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { margin: 0; position: relative; }
.main-nav a {
    display: block; padding: 10px 13px; border-radius: var(--radius-sm);
    color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: .95rem;
    white-space: nowrap;
}
.main-nav a:hover, .main-nav a:focus-visible { background: rgba(255,255,255,.10); color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--sky); }

.has-sub > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px); opacity: .7;
}
.subnav {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 258px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg); padding: 8px; list-style: none; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.subnav li { margin: 0; }
.subnav a { color: var(--text); padding: 10px 12px; font-weight: 600; font-size: .93rem; }
.subnav a:hover { background: var(--light-bg); color: var(--navy); }
.subnav a[aria-current="page"] { box-shadow: none; background: var(--light-bg); color: var(--navy); }

.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.header-phone {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--cta); color: #fff; text-decoration: none;
    padding: 11px 18px; border-radius: var(--radius-sm); font-weight: 700; font-size: 1rem;
    transition: background-color .18s ease;
}
.header-phone:hover { background: var(--cta-dark); color: #fff; }
.header-phone svg { width: 18px; height: 18px; }

.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: var(--radius-sm);
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.2);
    color: #fff; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 55%, var(--ink) 100%);
    color: #fff; padding: 66px 0 74px;
}
.hero::after {
    content: ""; position: absolute; right: -180px; top: -140px;
    width: 620px; height: 620px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(47,176,218,.22), rgba(47,176,218,0) 62%);
    pointer-events: none;
}
.hero__grid {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__sub {
    font-family: var(--font-display); text-transform: uppercase;
    font-size: clamp(1.05rem, 2.2vw, 1.45rem); font-weight: 600; letter-spacing: .06em;
    color: var(--sky); margin: 0 0 1rem;
}
.hero p.hero__copy { font-size: 1.1rem; color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 1.75rem; }
.hero .btn-row { margin-bottom: 1.5rem; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 0; padding: 0; font-size: .92rem; color: rgba(255,255,255,.78); }
.hero__meta li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.hero__meta svg { width: 16px; height: 16px; color: var(--sky); flex: none; }

.hero__media { position: relative; }
.figure-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); background: var(--ink-2);
    border: 1px solid rgba(255,255,255,.12);
}
.figure-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure-card--hero { aspect-ratio: 4 / 3.35; }
.figure-card figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 34px 20px 16px; font-size: .86rem; color: rgba(255,255,255,.9);
    background: linear-gradient(to top, rgba(10,14,18,.82), rgba(10,14,18,0));
}

/* Placeholder shown until the real photograph is added to /images */
.photo-fallback {
    position: absolute; inset: 0; display: none;
    align-items: center; justify-content: center; flex-direction: column; gap: 14px;
    background:
        radial-gradient(circle at 30% 25%, rgba(47,176,218,.28), rgba(47,176,218,0) 60%),
        linear-gradient(160deg, #17324f, #101820);
    color: rgba(255,255,255,.55); text-align: center; padding: 26px;
}
.photo-fallback svg { width: 74px; height: 82px; opacity: .9; }
.photo-fallback span { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; }
.is-missing .photo-fallback { display: flex; }
.is-missing img { visibility: hidden; }
.is-missing figcaption { display: none; }

.hero__badge {
    position: absolute; left: -22px; bottom: -16px; z-index: 3;
    background: #fff; color: var(--navy); border-radius: var(--radius-md);
    padding: 15px 19px 15px 17px; box-shadow: var(--shadow-lg); max-width: 252px;
    border-left: 5px solid var(--cta);
}
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; }
.hero__badge span { font-size: .82rem; color: var(--text-muted); }

/* Inner page hero */
.page-hero {
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, var(--ink) 100%);
    color: #fff; padding: 54px 0 58px; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ""; position: absolute; right: -160px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(47,176,218,.18), rgba(47,176,218,0) 62%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero p { color: rgba(255,255,255,.82); font-size: 1.08rem; max-width: 60ch; margin-bottom: 1.5rem; }

.breadcrumbs { font-size: .85rem; margin-bottom: 1.1rem; color: rgba(255,255,255,.6); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: .5rem; }
.breadcrumbs li + li::before { content: "/"; color: rgba(255,255,255,.35); }
.breadcrumbs a { color: rgba(255,255,255,.82); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink); border-bottom: 4px solid var(--sky); }
.trust-strip ul {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 26px;
    list-style: none; margin: 0; padding: 20px 0;
}
.trust-strip li {
    display: flex; align-items: center; gap: 11px; margin: 0;
    color: #fff; font-weight: 700; font-size: 1rem;
    font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em;
}
.trust-strip svg { width: 26px; height: 26px; color: var(--sky); flex: none; }

/* ---------- Cards ---------- */
.card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 26px; display: flex; flex-direction: column;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--text-muted); font-size: .97rem; margin-bottom: 1rem; }
.card__icon {
    width: 50px; height: 50px; border-radius: 12px; background: var(--sky-soft);
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.card__icon svg { width: 26px; height: 26px; color: var(--blue); }
.card__link {
    margin-top: auto; font-weight: 700; font-size: .95rem; color: var(--blue-dark);
    text-decoration: none; display: inline-flex; align-items: center; gap: .4rem;
}
.card__link svg { width: 15px; height: 15px; transition: transform .18s ease; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card:hover { border-color: var(--sky); box-shadow: var(--shadow-md); transform: translateY(-2px); }
a.card:hover .card__link svg, .card:hover .card__link svg { transform: translateX(3px); }

/* Problem chips */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.problem {
    display: flex; align-items: center; gap: 14px; text-decoration: none;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 16px 18px; color: var(--text); font-weight: 600; font-size: 1rem;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.problem:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); color: var(--navy); transform: translateY(-2px); }
.problem svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.problem span { flex: 1; }
.problem::after {
    content: ""; width: 7px; height: 7px; flex: none;
    border-right: 2px solid var(--text-muted); border-top: 2px solid var(--text-muted);
    transform: rotate(45deg); opacity: .55;
}

/* ---------- Feature list (old-fashioned service) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 34px; }
.value h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.value p { font-size: .97rem; margin-bottom: 0; }
.value__num {
    font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
    color: var(--sky); letter-spacing: .1em; display: block; margin-bottom: .55rem;
}
.value { border-top: 2px solid rgba(255,255,255,.18); padding-top: 18px; }

/* ---------- Split content ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split--media-first .split__media { order: -1; }
.split__body h2 { margin-bottom: .6rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding-left: 32px; margin-bottom: .7rem; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: .34em; width: 20px; height: 20px;
    border-radius: 50%; background: var(--sky-soft);
}
.checklist li::after {
    content: ""; position: absolute; left: 6px; top: .62em; width: 8px; height: 4px;
    border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
    transform: rotate(-45deg);
}
.section--dark .checklist li::before, .section--ink .checklist li::before { background: rgba(47,176,218,.22); }
.section--dark .checklist li::after, .section--ink .checklist li::after { border-color: var(--sky); }

/* ---------- Reviews ---------- */
.review {
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md);
    padding: 26px 26px 22px; position: relative; display: flex; flex-direction: column;
}
.review::before {
    content: "\201C"; font-family: Georgia, serif; font-size: 3.8rem; line-height: 1;
    color: var(--cta); opacity: .2; position: absolute; top: 8px; right: 20px; z-index: 0;
}
.review blockquote { margin: 0 0 18px; padding-right: 38px; font-size: 1.02rem; color: var(--text); position: relative; z-index: 1; }
.review figcaption { margin-top: auto; font-size: .9rem; }
.review__name { font-weight: 700; color: var(--navy); display: block; }
.review__meta { color: var(--text-muted); }
.review__source {
    display: inline-block; margin-top: 8px; font-size: .74rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted);
    background: var(--light-bg); border-radius: 100px; padding: 3px 10px;
}

/* ---------- Suburb pills ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1.5rem; }
.pill-list li { margin: 0; }
.pill {
    display: inline-block; background: #fff; border: 1px solid var(--border);
    border-radius: 100px; padding: 8px 17px; font-size: .93rem; font-weight: 600; color: var(--text);
}
.section--dark .pill, .section--ink .pill { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--ink) 100%);
    color: #fff; padding: 62px 0; position: relative; overflow: hidden;
}
.cta-band::after {
    content: ""; position: absolute; left: -140px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(47,176,218,.18), rgba(47,176,218,0) 62%);
}
.cta-band .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { color: rgba(255,255,255,.82); margin-bottom: 0; max-width: 46ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.detail-list { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.detail-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.detail-list svg { width: 22px; height: 22px; color: var(--blue); flex: none; margin-top: 3px; }
.detail-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); font-weight: 700; }
.detail-list a { color: var(--navy); font-weight: 700; text-decoration: none; font-size: 1.06rem; }
.detail-list a:hover { color: var(--cta); }

.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .req { color: var(--cta); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 14px; font: inherit; font-size: 1rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--off-white); color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--sky); outline: none; box-shadow: 0 0 0 3px rgba(47,176,218,.2); }
.field textarea { min-height: 118px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .88rem; color: var(--text-muted); margin: 14px 0 0; }
.form-status { margin-top: 14px; padding: 13px 15px; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok { background: #e8f5ec; border: 1px solid #bfe0c9; color: #1d5c32; }
.form-status--err { background: #fdeeea; border: 1px solid #f3c9bd; color: #8b2f16; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
    cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative;
    font-weight: 700; font-size: 1.06rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; position: absolute; right: 8px; top: 50%; width: 11px; height: 11px;
    border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
    transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p:last-child { margin-bottom: 20px; }
.faq details p { color: var(--text-muted); }

/* ---------- Prose ---------- */
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.prose h3 { margin-top: 1.8rem; }
.prose > :first-child { margin-top: 0; }
.prose ul { padding-left: 1.25em; }
.prose ul li { color: var(--text-muted); }

/* ---------- Related links ---------- */
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 15px 18px; text-decoration: none; color: var(--navy); font-weight: 600;
}
.related-links a:hover { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.related-links a::after { content: "→"; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.66); padding: 56px 0 0; font-size: .95rem; }
.site-footer h3 {
    color: #fff; font-family: var(--font-display); text-transform: uppercase;
    font-size: 1.05rem; letter-spacing: .06em; margin-bottom: 1rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer li svg { width: 17px; height: 17px; color: var(--sky); flex: none; margin-top: 4px; }
.site-footer .footer-grid > div:last-child li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand { margin-bottom: 16px; padding: 0; }
.footer-brand p { max-width: 34ch; }
.footer-phone {
    display: inline-flex; align-items: center; gap: 9px; margin-top: 6px;
    font-family: var(--font-display); font-size: 1.55rem; text-transform: uppercase;
    color: #fff !important; font-weight: 700; text-decoration: none !important;
}
.footer-phone svg { width: 22px; height: 22px; color: var(--sky); }
.footer-bottom {
    margin-top: 44px; border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 26px;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem;
}
.footer-bottom ul { display: flex; gap: 20px; }
.footer-bottom li { margin: 0; }

/* ---------- Sticky mobile CTA ---------- */
.nav-close { display: none; }
.main-nav .nav-drawer-cta { display: none; }

.mobile-bar {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: var(--ink); border-top: 1px solid rgba(255,255,255,.14);
    padding: 9px 10px calc(9px + env(safe-area-inset-bottom));
    gap: 9px;
}
.mobile-bar a {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 52px; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; font-size: 1rem;
}
.mobile-bar svg { width: 19px; height: 19px; }
.mobile-bar__call { background: var(--cta); color: #fff; }
.mobile-bar__quote { background: rgba(255,255,255,.10); color: #fff; border: 1px solid rgba(255,255,255,.28); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1040px) {
    .hero__grid { gap: 36px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .main-nav a { padding: 10px 10px; font-size: .92rem; }
}

@media (max-width: 900px) {
    .site-header .container { min-height: 66px; }
    .nav-toggle { display: flex; order: 3; }
    .header-cta { margin-left: auto; }
    .header-phone span { display: none; }
    .header-phone { padding: 12px 14px; }

    .main-nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
        background: var(--navy); z-index: 120; padding: 84px 20px 40px;
        overflow-y: auto; transform: translateX(100%); transition: transform .26s ease;
        box-shadow: -12px 0 40px rgba(0,0,0,.3); margin-left: 0;
    }
    .main-nav.is-open { transform: translateX(0); }
    body.nav-open .site-header { z-index: 130; }
    .nav-close {
        display: flex; align-items: center; justify-content: center;
        position: absolute; top: 18px; right: 18px; width: 44px; height: 44px;
        background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.22);
        border-radius: var(--radius-sm); color: #fff; cursor: pointer;
    }
    .nav-close svg { width: 22px; height: 22px; }
    .main-nav .nav-drawer-cta {
        display: flex; align-items: center; justify-content: center; gap: .55rem;
        margin-top: 22px; min-height: 54px; border-radius: var(--radius-sm);
        background: var(--cta); color: #fff; font-weight: 700; text-decoration: none;
    }
    .main-nav .nav-drawer-cta svg { width: 19px; height: 19px; }
    .main-nav .nav-drawer-cta:hover { background: var(--cta-dark); color: #fff; }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .main-nav a { padding: 13px 14px; font-size: 1.02rem; border-radius: var(--radius-sm); }
    .main-nav a[aria-current="page"] { box-shadow: none; background: rgba(255,255,255,.12); }
    .has-sub > a::after { display: none; }
    .subnav {
        position: static; opacity: 1; visibility: visible; transform: none;
        background: transparent; border: 0; box-shadow: none; padding: 2px 0 6px 12px; min-width: 0;
        border-left: 2px solid rgba(255,255,255,.18); margin-left: 14px;
    }
    .subnav a { color: rgba(255,255,255,.8); font-size: .95rem; padding: 10px 12px; }
    .subnav a:hover, .subnav a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
    .nav-backdrop {
        position: fixed; inset: 0; background: rgba(8,12,16,.55); z-index: 110;
        opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
    }
    .nav-backdrop.is-open { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }

    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { order: -1; }
    .hero__badge { display: none; }
    .figure-card--hero { aspect-ratio: 16 / 11; }

    .split { grid-template-columns: 1fr; gap: 34px; }
    .split--media-first .split__media { order: 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 34px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .value-grid { grid-template-columns: repeat(2, 1fr); }
    .problem-grid { grid-template-columns: repeat(2, 1fr); }
    .related-links { grid-template-columns: repeat(2, 1fr); }

    .mobile-bar { display: flex; }
    body { padding-bottom: 74px; }
    .topbar__list li:not(:first-child) { display: none; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .section { padding: 52px 0; }
    .section--tight { padding: 40px 0; }
    .hero { padding: 40px 0 52px; }
    .page-hero { padding: 40px 0 44px; }
    .brand__name { font-size: 1.4rem; }
    .brand__mark { width: 34px; height: 38px; }
    .brand__tag { font-size: .58rem; letter-spacing: .13em; }

    .grid-2, .grid-3, .grid-4, .value-grid, .problem-grid, .related-links { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .btn, .btn--lg { width: 100%; }
    .btn-row { flex-direction: column; }
    .cta-band .container { flex-direction: column; align-items: flex-start; }
    .cta-band__actions { width: 100%; }
    .trust-strip ul { justify-content: flex-start; gap: 12px 20px; }
    .trust-strip li { font-size: .92rem; }
    .trust-strip svg { width: 22px; height: 22px; }
    .form-card { padding: 22px; }
    .footer-bottom { flex-direction: column; }
    .footer-bottom ul { flex-wrap: wrap; gap: 14px; }
}

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

@media print {
    .site-header, .mobile-bar, .topbar, .cta-band, .nav-backdrop { display: none !important; }
    body { padding-bottom: 0; }
}
