/* ==========================================================================
   Internet Agency — internetagency.co.za
   Static template stylesheet. Mobile-first. No frameworks, no dependencies.
   Organised for a future PHP template split (header/footer shared partials).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Colour */
    --navy-950: #0b1526;
    --navy-900: #10203a;
    --navy-800: #14213d;
    --navy-700: #1e3055;
    --accent-500: #fca311;
    --accent-600: #e08e00;
    --amber-soft: #fff4de;

    --ink: #182338;         /* Headings on light */
    --body-clr: #3e4c63;    /* Body text on light */
    --muted: #5c6b82;       /* Secondary text */
    --line: #dfe5ee;        /* Borders */
    --tint: #f4f6fa;        /* Tinted section background */
    --white: #ffffff;

    --success: #1b7f4d;
    --danger: #b42318;
    --danger-bg: #fdecea;

    /* Typography */
    --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --fs-300: 0.8125rem;
    --fs-400: 0.9375rem;
    --fs-500: 1rem;
    --fs-600: 1.125rem;
    --fs-700: clamp(1.25rem, 2.2vw, 1.5rem);
    --fs-800: clamp(1.5rem, 3.2vw, 2rem);
    --fs-900: clamp(1.9rem, 4.6vw, 3rem);
    --fs-hero: clamp(2.15rem, 5.4vw, 3.55rem);

    /* Spacing & shape */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-7: 3rem;
    --section-pad: clamp(3.5rem, 8vw, 6rem);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;

    --shadow-sm: 0 1px 2px rgba(16, 32, 58, 0.06), 0 2px 8px rgba(16, 32, 58, 0.06);
    --shadow-md: 0 6px 24px rgba(16, 32, 58, 0.10);
    --shadow-lg: 0 16px 48px rgba(16, 32, 58, 0.16);

    --container: 72rem;
    --header-h: 4.25rem;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-500);
    line-height: 1.65;
    color: var(--body-clr);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin: 0 0 var(--space-4);
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -0.02em;
    font-weight: 700;
    text-wrap: balance;
}

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

a {
    color: var(--navy-700);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
a:hover { color: var(--navy-900); }

ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25em; }

img, svg, video { max-width: 100%; height: auto; }

strong { color: var(--ink); }

::selection { background: var(--accent-500); color: var(--navy-900); }

/* Focus visibility — never removed, always obvious */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent-600);
    outline-offset: 2px;
    border-radius: 4px;
}
.section--dark :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible { outline-color: var(--accent-500); }

main:focus { outline: none; }

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 100;
    background: var(--navy-900);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-weight: 600;
}
.skip-link:focus {
    top: 0;
    color: var(--white);
}

/* --------------------------------------------------------------------------
   3. Layout utilities
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.section { padding-block: var(--section-pad); }
.section--tint { background: var(--tint); }
.section--dark {
    background: var(--navy-900);
    color: #c7d2e4;
}
.section--dark h2,
.section--dark h3 { color: var(--white); }

.section__head { max-width: 46rem; margin-bottom: var(--space-6); }
.section__head--center {
    margin-inline: auto;
    text-align: center;
}
.section__title { font-size: var(--fs-800); }

.lead { font-size: var(--fs-600); color: var(--muted); }
.section--dark .lead { color: #b3c1d9; }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); }

.split {
    display: grid;
    gap: var(--space-6);
    align-items: center;
}
@media (min-width: 56.25em) {
    .split { grid-template-columns: 1fr 1fr; gap: var(--space-7); }
    .split--reverse .split__media { order: -1; }
}

/* --------------------------------------------------------------------------
   4. Type helpers
   -------------------------------------------------------------------------- */
.eyebrow {
    display: inline-block;
    margin-bottom: var(--space-3);
    font-size: var(--fs-300);
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--navy-700);
}
.section--dark .eyebrow { color: var(--accent-500); }

.text-accent { color: var(--navy-700); }

/* Marker underline for hero keyword */
.mark {
    background-image: linear-gradient(to top, rgba(252, 163, 17, 0.38) 0 38%, transparent 38%);
    color: inherit;
}

/* --------------------------------------------------------------------------
   5. Buttons & pills
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.65rem 1.4rem;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: var(--fs-500);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent-500); color: var(--navy-900); }
.btn--primary:hover { background: var(--accent-600); color: var(--navy-900); }

.btn--dark { background: var(--navy-800); color: var(--white); }
.btn--dark:hover { background: var(--navy-950); color: var(--white); }

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

.btn--light { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.btn--light:hover { background: var(--tint); color: var(--navy-900); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.65); }
.btn--outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); color: var(--white); }

.btn--lg { min-height: 52px; padding: 0.85rem 1.75rem; font-size: 1.0625rem; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.tag {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    background: var(--amber-soft);
    color: #7a5200;
    font-size: var(--fs-300);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-3);
    list-style: none;
    margin: 0;
    padding: 0;
}
.chip-list li {
    padding: 0.45rem 0.95rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: var(--fs-400);
    font-weight: 600;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--navy-900);
    text-decoration: none;
}
.brand:hover { color: var(--navy-900); }
.brand > span:last-child { font-weight: 800; }
.brand__name { color: var(--accent-600); }
.site-footer .brand__name { color: var(--accent-500); }
.brand small {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-link {
    display: block;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--body-clr);
    text-decoration: none;
}
.nav-link:hover {
    background: var(--tint);
    color: var(--navy-900);
}
.nav-link[aria-current="page"] {
    color: var(--navy-900);
    background: var(--amber-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-left: auto;
}
.header-phone {
    font-weight: 700;
    white-space: nowrap;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--navy-900);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 61.24em) {
    html:not(.js) .site-nav {
        order: 3;
        flex-basis: 100%;
        padding-bottom: 0.75rem;
    }
    .js .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
        padding: 0.5rem 1rem 1rem;
    }
    .js .nav-open .site-nav { display: block; }
    .js .site-nav ul { flex-direction: column; gap: 0.25rem; }
    .js .nav-link { padding: 0.85rem 0.75rem; font-size: 1.05rem; }
    .js .nav-toggle { display: inline-flex; }
    .js .brand { margin-right: auto; }
}
@media (min-width: 61.25em) {
    .site-nav { margin-inline: auto; }
}

@media (max-width: 40em) {
    .header-phone { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero (home)
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(52rem 30rem at 115% -12%, rgba(252, 163, 17, 0.14), transparent 60%),
        radial-gradient(44rem 28rem at -14% 118%, rgba(30, 48, 85, 0.08), transparent 60%),
        var(--tint);
    padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hero__inner {
    display: grid;
    gap: var(--space-7);
    align-items: center;
}
@media (min-width: 64em) {
    .hero__inner { grid-template-columns: 1.05fr 0.95fr; }
}

.hero__copy h1 { font-size: var(--fs-hero); }

.hero__sub {
    max-width: 34rem;
    font-size: var(--fs-600);
    color: var(--muted);
}

.hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-4);
    margin-top: var(--space-5);
    padding: 0;
    list-style: none;
    font-size: var(--fs-400);
    font-weight: 600;
    color: var(--ink);
}
.hero__chips li { display: inline-flex; align-items: center; gap: 0.45rem; }

.hero__media { position: relative; }

.hero__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 0.95rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-size: var(--fs-400);
    font-weight: 700;
    color: var(--ink);
}
.float-chip svg { flex: none; }
.float-chip--tl { top: -1rem; right: 6%; }
.float-chip--bl { bottom: -1rem; left: 4%; }

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--success);
    flex: none;
}

.stars { color: var(--accent-600); letter-spacing: 0.1em; }

@media (max-width: 40em) {
    .float-chip--tl { right: 2%; top: -0.75rem; }
    .float-chip--bl { left: 2%; bottom: -0.75rem; }
}

/* --------------------------------------------------------------------------
   8. Trust strip
   -------------------------------------------------------------------------- */
.trustbar {
    border-block: 1px solid var(--line);
    background: var(--white);
    padding-block: var(--space-4);
}
.trustbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: var(--space-6);
    row-gap: var(--space-2);
    text-align: center;
}
.trustbar p {
    margin: 0;
    font-size: var(--fs-300);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.trustbar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: var(--space-5);
    row-gap: var(--space-1);
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: 600;
    color: var(--ink);
    font-size: var(--fs-400);
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-4);
    border-radius: var(--radius-md);
    background: var(--amber-soft);
    color: var(--navy-800);
}
.icon-badge--dark { background: var(--navy-800); color: var(--accent-500); }

.svc-card h3 { font-size: 1.15rem; }
.svc-card .tag { margin-bottom: var(--space-3); }
.svc-card p { font-size: var(--fs-400); color: var(--muted); }
.svc-card__meta {
    margin-top: auto;
    font-size: var(--fs-400);
    font-weight: 700;
    color: var(--navy-700);
}
.card-link {
    display: inline-block;
    margin-top: var(--space-3);
    font-weight: 700;
    text-decoration-thickness: 2px;
}

.value-card h3 { font-size: 1.05rem; }
.value-card p { font-size: var(--fs-400); color: var(--muted); margin: 0; }

.stat-card {
    text-align: center;
    padding: var(--space-5) var(--space-4);
}
.stat-card strong {
    display: block;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.1;
    color: var(--navy-900);
    letter-spacing: -0.03em;
}
.stat-card span { font-size: var(--fs-400); color: var(--muted); font-weight: 600; }

/* Check lists */
.check-list {
    list-style: none;
    margin: 0 0 var(--space-5);
    padding: 0;
}
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.7rem;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.22em;
    width: 1.15em;
    height: 1.15em;
    border-radius: 50%;
    background: var(--accent-500) url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2314213d" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M4.5 12.5l5 5 10-11"/%3E%3C/svg%3E') center / 62% no-repeat;
}

/* --------------------------------------------------------------------------
   10. Work cards (portfolio)
   -------------------------------------------------------------------------- */
.work-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}
.work-card__img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
}
.work-card__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    padding: var(--space-5);
    flex: 1;
}
.work-card__body h3 { margin: 0; font-size: 1.15rem; }
.work-card__tag { align-self: flex-start; }
.work-card__body p { font-size: var(--fs-400); color: var(--muted); margin: 0; }
.work-card__result {
    margin-top: auto;
    padding-top: var(--space-3);
    font-size: var(--fs-400);
    font-weight: 700;
    color: var(--success);
}

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
    position: relative;
    padding-top: var(--space-6);
}
.quote-card::before {
    content: "\201C";
    position: absolute;
    top: -0.35rem;
    left: var(--space-4);
    font-size: 4.5rem;
    line-height: 1;
    color: var(--accent-500);
    font-family: Georgia, serif;
}
.quote-card blockquote {
    margin: 0 0 var(--space-4);
    font-size: var(--fs-500);
    color: var(--ink);
    font-weight: 500;
}
.quote-card figcaption {
    font-size: var(--fs-400);
    color: var(--muted);
}
.quote-card figcaption strong {
    display: block;
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   12. Steps
   -------------------------------------------------------------------------- */
.steps {
    list-style: none;
    counter-reset: step;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-5);
}
@media (min-width: 56.25em) {
    .steps { grid-template-columns: repeat(4, 1fr); }
}
.steps li {
    counter-increment: step;
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: calc(var(--space-5) + 0.5rem) var(--space-5) var(--space-5);
}
.steps li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: -1.1rem;
    left: var(--space-5);
    width: 2.4rem;
    height: 2.4rem;
    display: grid;
    place-items: center;
    background: var(--navy-900);
    color: var(--accent-500);
    border-radius: 50%;
    font-weight: 800;
    font-size: var(--fs-400);
}
.steps h3 { font-size: 1.05rem; margin-bottom: var(--space-2); }
.steps p { margin: 0; font-size: var(--fs-400); color: var(--muted); }

/* --------------------------------------------------------------------------
   13. Tables (pricing)
   -------------------------------------------------------------------------- */
.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}
table.pricing {
    width: 100%;
    border-collapse: collapse;
    min-width: 34rem;
}
table.pricing caption {
    text-align: left;
    padding: var(--space-4) var(--space-5) 0;
    font-weight: 700;
    color: var(--ink);
}
table.pricing th,
table.pricing td {
    padding: 0.9rem var(--space-5);
    text-align: left;
    border-top: 1px solid var(--line);
    vertical-align: top;
}
table.pricing thead th {
    border-top: 0;
    background: var(--tint);
    font-size: var(--fs-400);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
table.pricing tbody th {
    font-weight: 700;
    color: var(--ink);
}
table.pricing td { font-size: var(--fs-400); }
table.pricing tbody tr:nth-child(even) { background: #fafbfd; }
.price-note {
    font-size: var(--fs-300);
    color: var(--muted);
    margin-top: var(--space-3);
}

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form-grid {
    display: grid;
    gap: var(--space-4);
}
@media (min-width: 40em) {
    .form-grid--2col { grid-template-columns: 1fr 1fr; }
    .form-grid--2col .field--full { grid-column: 1 / -1; }
}

.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
    font-size: var(--fs-400);
    color: var(--ink);
}
.req {
    color: var(--danger);
    font-weight: 700;
}
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
    width: 100%;
    min-height: 46px;
    padding: 0.65rem 0.85rem;
    font: inherit;
    color: var(--ink);
    background: var(--white);
    border: 1px solid #c3ccd9;
    border-radius: var(--radius-sm);
}
.field textarea { min-height: 8.5rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--navy-700); }

.field [aria-invalid="true"] { border-color: var(--danger); }

.field-hint {
    margin: 0.3rem 0 0;
    font-size: var(--fs-300);
    color: var(--muted);
}
.field-error {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin: 0.35rem 0 0;
    font-size: var(--fs-300);
    font-weight: 700;
    color: var(--danger);
}

.consent {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: var(--fs-400);
}
.consent input {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.2rem;
    accent-color: var(--navy-800);
    flex: none;
}

.hp-field {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-md);
    background: #e9f7ef;
    border: 1px solid #bfe6cf;
    color: #14532d;
}
.form-status strong { color: #14532d; }

/* Domain checker */
.domain-form {
    display: grid;
    gap: var(--space-3);
    grid-template-columns: 1fr;
}
@media (min-width: 40em) {
    .domain-form { grid-template-columns: 2fr 1fr auto; align-items: end; }
}
.domain-result {
    margin-top: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-md);
    background: var(--amber-soft);
    border: 1px solid #f2d9a0;
    color: #6b4a00;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   15. FAQ accordion (native details/summary — works without JS)
   -------------------------------------------------------------------------- */
.faq-list {
    display: grid;
    gap: var(--space-3);
    max-width: 52rem;
}
.faq {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}
.faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "";
    flex: none;
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2.5px solid var(--navy-700);
    border-bottom: 2.5px solid var(--navy-700);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    margin-top: -0.2rem;
}
.faq[open] summary::after {
    transform: rotate(225deg);
    margin-top: 0.2rem;
}
.faq__answer {
    padding: 0 var(--space-5) var(--space-5);
    color: var(--body-clr);
    font-size: var(--fs-400);
}
.faq__answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
    background:
        radial-gradient(40rem 22rem at 110% 130%, rgba(252, 163, 17, 0.22), transparent 60%),
        var(--navy-900);
    color: #c7d2e4;
    padding-block: clamp(3rem, 7vw, 5rem);
}
.cta-band__inner {
    display: grid;
    gap: var(--space-5);
    text-align: center;
    justify-items: center;
}
.cta-band h2 {
    font-size: var(--fs-800);
    color: var(--white);
    max-width: 30rem;
}
.cta-band p { max-width: 36rem; }
.cta-band .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   17. Breadcrumb & page hero
   -------------------------------------------------------------------------- */
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-300);
}
.breadcrumb li { display: flex; align-items: center; gap: 0.35rem; }
.breadcrumb li + li::before {
    content: "/";
    color: var(--muted);
}
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--navy-900); }
.breadcrumb [aria-current="page"] {
    color: var(--navy-900);
    font-weight: 700;
}

.page-hero {
    background: var(--tint);
    border-bottom: 1px solid var(--line);
    padding-block: clamp(2.25rem, 5vw, 4rem);
}
.page-hero h1 { font-size: var(--fs-900); max-width: 18ch; }
.page-hero .lead { max-width: 42rem; margin-bottom: 0; }
.page-hero .breadcrumb { margin-bottom: var(--space-4); }

/* --------------------------------------------------------------------------
   18. Service detail rows (services page)
   -------------------------------------------------------------------------- */
.svc-row {
    padding-block: var(--space-6);
    border-bottom: 1px solid var(--line);
}
.svc-row:last-of-type { border-bottom: 0; }
.svc-row__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}
.svc-row__head h2 {
    margin: 0;
    font-size: var(--fs-700);
}
.svc-row__grid {
    display: grid;
    gap: var(--space-5);
}
@media (min-width: 56.25em) {
    .svc-row__grid { grid-template-columns: 1.4fr 1fr; gap: var(--space-7); }
}
.svc-row aside {
    background: var(--tint);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    align-self: start;
}
.svc-row aside h3 {
    font-size: var(--fs-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
}
.svc-row aside ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--fs-400);
}
.svc-row aside li {
    padding: 0.45rem 0;
    border-top: 1px dashed var(--line);
    display: flex;
    justify-content: space-between;
    gap: var(--space-3);
}
.svc-row aside li:first-child { border-top: 0; }
.svc-row aside li b { color: var(--navy-900); white-space: nowrap; }

.anchor-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin: var(--space-5) 0 0;
    padding: 0;
    list-style: none;
}
.anchor-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: var(--fs-400);
    font-weight: 600;
    text-decoration: none;
    color: var(--navy-800);
}
.anchor-links a:hover { border-color: var(--navy-700); color: var(--navy-900); }
.anchor-links--center { justify-content: center; }

/* --------------------------------------------------------------------------
   19. Contact page
   -------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    gap: var(--space-6);
}
@media (min-width: 56.25em) {
    .contact-layout { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-7); align-items: start; }
}

.contact-card {
    background: var(--navy-900);
    color: #c7d2e4;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}
.contact-card h2 { color: var(--white); font-size: var(--fs-700); }
.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: var(--space-4);
}
.contact-list li {
    display: grid;
    grid-template-columns: 2.4rem 1fr;
    gap: var(--space-2) var(--space-3);
    align-items: start;
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list .icon-badge {
    margin: 0;
    width: 2.4rem;
    height: 2.4rem;
    background: rgba(252, 163, 17, 0.16);
    color: var(--accent-500);
    border-radius: var(--radius-sm);
}
.contact-list a { color: var(--white); font-weight: 600; }
.contact-list a:hover { color: var(--accent-500); }
.contact-list .label {
    display: block;
    font-size: var(--fs-300);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #93a5c1;
    font-weight: 700;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--fs-400);
}
.hours-table th,
.hours-table td {
    text-align: left;
    padding: 0.35rem 0;
    font-weight: 400;
}
.hours-table th { color: var(--white); font-weight: 600; padding-right: 1rem; }
.hours-table td:last-child { text-align: right; color: #c7d2e4; }

.address-plain { font-style: normal; }

.form-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(var(--space-5), 4vw, var(--space-6));
    box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   20. Footer
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--navy-950);
    color: #9fb0cb;
    padding-top: var(--space-7);
    font-size: var(--fs-400);
}
.footer-grid {
    display: grid;
    gap: var(--space-6);
    padding-bottom: var(--space-6);
}
@media (min-width: 48em) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.site-footer h2 {
    font-size: var(--fs-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: var(--space-4);
}
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: var(--space-4); }

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.footer-col a {
    color: #c7d2e4;
    text-decoration: none;
}
.footer-col a:hover { color: var(--accent-500); text-decoration: underline; }

.footer-contact { font-style: normal; display: grid; gap: 0.55rem; }
.footer-contact a { color: #c7d2e4; text-decoration: none; }
.footer-contact a:hover { color: var(--accent-500); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-block: var(--space-4);
}
.footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-2) var(--space-5);
    font-size: var(--fs-300);
    color: #8095b5;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #a9bad4; }

/* --------------------------------------------------------------------------
   21. 404 page
   -------------------------------------------------------------------------- */
.notfound {
    text-align: center;
    padding-block: clamp(4rem, 12vw, 8rem);
}
.notfound__code {
    font-size: clamp(5rem, 18vw, 9rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--navy-900);
}
.notfound__code span { color: var(--accent-500); }
.notfound h1 {
    font-size: var(--fs-800);
}
.notfound p { max-width: 34rem; margin-inline: auto; }
.notfound .btn-row { justify-content: center; margin-top: var(--space-5); }
.notfound nav {
    margin-top: var(--space-6);
    font-size: var(--fs-400);
}

/* --------------------------------------------------------------------------
   22. Misc
   -------------------------------------------------------------------------- */
.media-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
}

.note-strip {
    background: var(--amber-soft);
    border: 1px solid #f2d9a0;
    color: #6b4a00;
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-5);
    font-size: var(--fs-400);
}
.mt-5 { margin-top: var(--space-5); }

.page-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

.stats-row { margin-bottom: var(--space-5); }
.block-cta {
    text-align: center;
    margin-top: var(--space-6);
}
.block-cta--start { text-align: left; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
