/* ==========================================================================
   Steddy Healthcare NP in Adult Health PLLC
   Design system — teal & white
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
    /* Brand — teal ramp */
    --teal-50:  #F1FAFA;
    --teal-100: #DCF1F1;
    --teal-200: #B6E2E3;
    --teal-300: #85CDCF;
    --teal-400: #4FB3B6;
    --teal-500: #189599;
    --teal-600: #0E7B80;
    --teal-700: #0B6165;
    --teal-800: #094A4E;
    --teal-900: #063336;

    /* Accent — drawn from the logo's gold hummingbird */
    --gold-400: #E3C766;
    --gold-500: #D4AF37;
    --gold-600: #B08F22;

    /* Neutrals */
    --white:      #FFFFFF;
    --ink:        #13272A;
    --ink-soft:   #3C555A;
    --muted:      #5F787D;
    --line:       #E2ECEC;
    --surface:    #F7FBFB;

    /* Semantic */
    --brand:        var(--teal-600);
    --brand-strong: var(--teal-700);
    --brand-deep:   var(--teal-900);
    --accent:       var(--gold-500);
    --success:      #1F7A4D;
    --danger:       #B42318;

    /* Type */
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Fluid type scale */
    --fs-xs:   0.8125rem;
    --fs-sm:   0.9375rem;
    --fs-base: 1.0625rem;
    --fs-lg:   clamp(1.125rem, 0.4vw + 1.05rem, 1.3125rem);
    --fs-h4:   clamp(1.125rem, 0.5vw + 1rem, 1.3125rem);
    --fs-h3:   clamp(1.3125rem, 0.9vw + 1.1rem, 1.625rem);
    --fs-h2:   clamp(1.75rem, 2.2vw + 1.15rem, 2.75rem);
    --fs-h1:   clamp(2.25rem, 4vw + 1.1rem, 4rem);

    /* Space */
    --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;
    --space-8: 4rem;
    --space-9: 6rem;

    /* Shape */
    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --radius-pill: 999px;

    /* Elevation — tinted to the brand so shadows never read as grey mud */
    --shadow-xs: 0 1px 2px rgba(9, 74, 78, 0.06);
    --shadow-sm: 0 2px 8px rgba(9, 74, 78, 0.07);
    --shadow-md: 0 10px 28px rgba(9, 74, 78, 0.09);
    --shadow-lg: 0 24px 60px rgba(9, 74, 78, 0.14);

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 260ms;

    --header-h: 84px;
    --container: 1180px;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    /* `clip`, not `hidden`: `hidden` makes the viewport a scroll container,
       which breaks position:sticky compositing on the header in Chrome. */
    overflow-x: clip;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

img,
svg,
video,
iframe { display: block; max-width: 100%; }

img { height: auto; }

a {
    color: var(--brand-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color var(--dur) var(--ease);
}

a:hover { color: var(--teal-500); }

ul, ol { padding: 0; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

:focus-visible {
    outline: 3px solid var(--teal-400);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--teal-200);
    color: var(--teal-900);
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--teal-900);
    text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { text-wrap: pretty; }

.lede {
    font-size: var(--fs-lg);
    color: var(--ink-soft);
    line-height: 1.6;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: var(--space-3);
}

.eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.eyebrow--center { justify-content: center; }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.container {
    width: min(100% - 2.5rem, var(--container));
    margin-inline: auto;
}

.container--narrow { width: min(100% - 2.5rem, 780px); }

.section {
    padding-block: clamp(3.5rem, 7vw, var(--space-9));
}

.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--surface { background: var(--surface); }
.section--tint    { background: var(--teal-50); }

.section--deep {
    background:
        radial-gradient(1100px 520px at 15% -10%, rgba(24, 149, 153, 0.45), transparent 60%),
        linear-gradient(160deg, var(--teal-800), var(--teal-900));
    color: rgba(255, 255, 255, 0.86);
}

.section--deep h2,
.section--deep h3 { color: var(--white); }

.section--deep .eyebrow { color: var(--teal-200); }

.section-head {
    max-width: 62ch;
    margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head p {
    margin-top: var(--space-4);
    font-size: var(--fs-lg);
    color: var(--muted);
}

.section--deep .section-head p { color: rgba(255, 255, 255, 0.75); }

.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }

/* min() keeps each track from overflowing narrow viewports. */
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.skip-link {
    position: absolute;
    left: var(--space-4);
    top: var(--space-4);
    z-index: 200;
    padding: var(--space-3) var(--space-5);
    background: var(--brand-strong);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform var(--dur) var(--ease);
}

.skip-link:focus { transform: translateY(0); color: var(--white); }

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0.8rem 1.6rem;
    border: 1.5px solid transparent;
    border-radius: var(--radius-pill);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--dur) var(--ease),
                color var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--brand);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
    background: var(--brand-strong);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    border-color: var(--teal-300);
    color: var(--brand-strong);
    background: transparent;
}

.btn--outline:hover {
    background: var(--teal-50);
    border-color: var(--brand);
    color: var(--brand-strong);
}

.btn--ghost-light {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    background: transparent;
}

.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
}

.btn--light {
    background: var(--white);
    color: var(--teal-800);
}

.btn--light:hover { background: var(--teal-50); color: var(--teal-900); }

.btn--lg { padding: 1rem 2.1rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.btn-row--center { justify-content: center; }

.textlink {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--brand-strong);
    text-decoration: none;
}

.textlink .icon {
    width: 1.05em; height: 1.05em;
    transition: transform var(--dur) var(--ease);
}

.textlink:hover .icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.topbar {
    background: var(--teal-900);
    color: rgba(255, 255, 255, 0.82);
    font-size: var(--fs-xs);
}

.topbar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding-block: 0.55rem;
}

.topbar__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    list-style: none;
    margin: 0;
}

.topbar li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.topbar .icon { width: 1em; height: 1em; color: var(--teal-300); }

.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--white); text-decoration: underline; }

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow var(--dur) var(--ease);
}

.header.is-stuck { box-shadow: var(--shadow-sm); }

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-5);
    min-height: var(--header-h);
}

.logo { display: inline-flex; flex: none; }

.logo img {
    height: 52px;
    width: auto;
    transition: transform var(--dur) var(--ease);
}

.logo:hover img { transform: scale(1.03); }

.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.6vw, 1.6rem);
    list-style: none;
    margin: 0;
}

.nav__list a {
    position: relative;
    display: block;
    padding: 0.5rem 0.15rem;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink-soft);
    text-decoration: none;
}

.nav__list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.1rem;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--dur) var(--ease);
}

.nav__list a:hover,
.nav__list a[aria-current="page"] { color: var(--teal-900); }

.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    background: var(--teal-50);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--teal-800);
    cursor: pointer;
}

.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon--close { display: block; }

@media (max-width: 960px) {
    .nav-toggle { display: inline-flex; }
    .header__actions .btn { display: none; }

    .nav {
        position: fixed;
        inset: calc(var(--header-h)) 0 auto 0;
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        transition: transform var(--dur) var(--ease),
                    opacity var(--dur) var(--ease),
                    visibility var(--dur);
    }

    .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

    .nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: var(--space-4) 1.25rem var(--space-6);
    }

    .nav__list li + li { border-top: 1px solid var(--line); }

    .nav__list a {
        padding: 1rem 0.25rem;
        font-size: 1.0625rem;
    }

    .nav__list a::after { display: none; }

    .nav__cta {
        margin-top: var(--space-4);
        padding-inline: 0.25rem;
    }
}

@media (min-width: 961px) {
    .nav__cta { display: none; }
}

/* --------------------------------------------------------------------------
   7. Hero — slideshow
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    isolation: isolate;
    min-height: min(88vh, 760px);
    display: grid;
    align-items: center;
    overflow: hidden;
    background: var(--teal-900);
}

.hero__slides {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 1400ms var(--ease), transform 9000ms linear;
}

.hero__slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero__slide img,
.hero__slide picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(100deg,
            rgba(4, 40, 43, 0.92) 0%,
            rgba(6, 51, 54, 0.80) 30%,
            rgba(9, 74, 78, 0.42) 62%,
            rgba(9, 74, 78, 0.12) 100%);
}

.hero__inner {
    padding-block: clamp(4rem, 10vw, 7rem);
    max-width: 45rem;
    color: var(--white);
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--teal-100);
    backdrop-filter: blur(6px);
}

.hero h1 {
    margin-top: var(--space-5);
    color: var(--white);
    font-size: var(--fs-h1);
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-400);
}

.hero__text {
    margin-top: var(--space-5);
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.88);
    max-width: 40ch;
}

.hero .btn-row { margin-top: var(--space-6); }

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-6);
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    list-style: none;
    font-size: var(--fs-sm);
    color: rgba(255, 255, 255, 0.82);
}

.hero__meta li {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.hero__meta .icon { color: var(--gold-400); }

.hero__dots {
    position: absolute;
    left: 50%;
    bottom: clamp(1.25rem, 3vw, 2.25rem);
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-3);
    z-index: 2;
}

.hero__dot {
    width: 36px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}

.hero__dot[aria-selected="true"] {
    background: var(--gold-400);
    width: 56px;
}

/* Interior page banner */
.page-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(3.25rem, 8vw, 6rem);
    background:
        radial-gradient(900px 400px at 88% 0%, rgba(24, 149, 153, 0.5), transparent 62%),
        linear-gradient(150deg, var(--teal-800), var(--teal-900));
    color: var(--white);
    overflow: hidden;
}

.page-hero__art {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.22;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.page-hero h1 { color: var(--white); }

.page-hero p {
    margin-top: var(--space-4);
    max-width: 58ch;
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.82);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
    list-style: none;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a { color: rgba(255, 255, 255, 0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: clamp(1.5rem, 2.5vw, 2rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                border-color var(--dur) var(--ease);
}

.card--link:hover,
.card--link:focus-within {
    transform: translateY(-4px);
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
}

.card p { color: var(--muted); font-size: var(--fs-sm); }

.card .textlink { margin-top: auto; padding-top: var(--space-2); }

.card__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    background: var(--teal-50);
    color: var(--brand);
    border: 1px solid var(--teal-100);
}

.card__icon .icon { width: 26px; height: 26px; }

.card--accent .card__icon {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.28);
    color: var(--gold-600);
}

/* Stretched link keeps the whole card clickable without nesting anchors */
.card--link .textlink::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

/* Feature list on tinted backgrounds */
.feature {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.feature__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--gold-400);
}

.feature h3 { font-size: var(--fs-h4); margin-bottom: var(--space-2); }
.feature p { font-size: var(--fs-sm); }

.section--deep .feature p { color: rgba(255, 255, 255, 0.72); }

/* Stat strip */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: var(--space-5);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Lifts the stat bar so it straddles the hero edge on wider screens. */
@media (min-width: 900px) {
    .section--overlap {
        position: relative;
        z-index: 3;
        padding-top: 0;
        margin-top: -3.5rem;
    }
}

.stat { text-align: center; }

.stat__value {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 600;
    color: var(--brand);
    line-height: 1;
}

.stat__label {
    margin-top: var(--space-2);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* --------------------------------------------------------------------------
   9. Split / media sections
   -------------------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}

.split--reverse > *:first-child { order: 2; }

@media (max-width: 720px) {
    .split--reverse > *:first-child { order: 0; }
}

.split__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--teal-100);
}

.split__media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-height: 460px;
    object-fit: cover;
}

.split__media--portrait img { aspect-ratio: 4 / 5; max-height: 620px; }

.split__badge {
    position: absolute;
    left: var(--space-5);
    bottom: var(--space-5);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.6rem 1.1rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
    color: var(--teal-800);
    box-shadow: var(--shadow-sm);
}

.split__badge .icon { color: var(--accent); }

.prose > * + * { margin-top: var(--space-4); }
.prose p { color: var(--ink-soft); }
.prose h2 + p,
.prose h3 + p { margin-top: var(--space-4); }
.prose h3 { margin-top: var(--space-6); }

.prose ul,
.prose ol { padding-left: 1.25rem; color: var(--ink-soft); }
.prose ul { list-style: none; padding-left: 0; }

.prose ul li {
    position: relative;
    padding-left: 1.85rem;
    margin-bottom: var(--space-3);
}

.prose ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal-300);
    box-shadow: 0 0 0 4px var(--teal-50);
}

.prose ol li { margin-bottom: var(--space-3); }

blockquote.pull {
    margin: var(--space-6) 0;
    padding: var(--space-5) var(--space-6);
    border-left: 3px solid var(--accent);
    background: var(--teal-50);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    font-style: italic;
    color: var(--teal-800);
}

/* --------------------------------------------------------------------------
   10. Services
   -------------------------------------------------------------------------- */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: var(--space-3);
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0.9rem 1.1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink-soft);
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.service-list li:hover { border-color: var(--teal-300); background: var(--teal-50); }

.service-list .icon { color: var(--brand); width: 18px; height: 18px; }

.service-detail { scroll-margin-top: calc(var(--header-h) + 2rem); }

.service-detail + .service-detail { margin-top: clamp(2.5rem, 5vw, 4rem); }

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    list-style: none;
    margin-top: var(--space-4);
}

.chip {
    padding: 0.35rem 0.85rem;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--teal-700);
}

/* Category jump nav */
.jumpnav {
    position: sticky;
    top: var(--header-h);
    z-index: 40;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.jumpnav ul {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    padding-block: var(--space-3);
    list-style: none;
    scrollbar-width: thin;
}

.jumpnav a {
    display: block;
    padding: 0.45rem 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    font-weight: 600;
    white-space: nowrap;
    color: var(--ink-soft);
    text-decoration: none;
}

.jumpnav a:hover {
    background: var(--teal-600);
    border-color: var(--teal-600);
    color: var(--white);
}

/* --------------------------------------------------------------------------
   11. Accordion (FAQ + service detail)
   -------------------------------------------------------------------------- */
.accordion {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}

.accordion__item + .accordion__item { border-top: 1px solid var(--line); }

.accordion__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    width: 100%;
    padding: clamp(1rem, 2vw, 1.35rem) clamp(1.1rem, 2.5vw, 1.75rem);
    background: none;
    border: 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: var(--fs-h4);
    font-weight: 600;
    color: var(--teal-900);
    cursor: pointer;
    transition: background var(--dur) var(--ease);
}

.accordion__trigger:hover { background: var(--teal-50); }

.accordion__trigger .icon {
    flex: none;
    color: var(--brand);
    transition: transform var(--dur) var(--ease);
}

.accordion__trigger[aria-expanded="true"] { background: var(--teal-50); }
.accordion__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.accordion__panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 320ms var(--ease);
}

.accordion__panel[data-open="true"] { grid-template-rows: 1fr; }

.accordion__panel > div { overflow: hidden; }

.accordion__body {
    padding: 0 clamp(1.1rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--ink-soft);
    font-size: var(--fs-sm);
}

.accordion__body > * + * { margin-top: var(--space-3); }

.accordion__body ul { list-style: none; padding-left: 0; }

.accordion__body ul li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: var(--space-2);
}

.accordion__body ul li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    top: 0.6em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--teal-300);
}

/* --------------------------------------------------------------------------
   12. Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}

.quote-card__mark {
    width: 34px;
    height: 34px;
    color: var(--teal-200);
    fill: currentColor;
    stroke: none;
}

.quote-card blockquote {
    font-size: var(--fs-base);
    color: var(--ink-soft);
    line-height: 1.7;
}

.quote-card figcaption {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-top: auto;
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
}

.avatar {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    flex: none;
    border-radius: 50%;
    background: var(--teal-100);
    color: var(--teal-700);
    font-family: var(--font-display);
    font-weight: 600;
}

.quote-card cite {
    display: block;
    font-style: normal;
    font-weight: 600;
    font-size: var(--fs-sm);
    color: var(--ink);
}

.quote-card figcaption span {
    display: block;
    font-size: var(--fs-xs);
    color: var(--muted);
}

.stars { display: flex; gap: 2px; color: var(--gold-500); }
.stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }

/* --------------------------------------------------------------------------
   13. Insurance
   -------------------------------------------------------------------------- */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
    gap: var(--space-3);
    list-style: none;
}

.logo-grid li {
    display: grid;
    place-items: center;
    padding: 1.1rem 0.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--teal-800);
    text-align: center;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.logo-grid li:hover { border-color: var(--teal-300); box-shadow: var(--shadow-sm); }

.notice {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-left: 3px solid var(--brand);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    color: var(--ink-soft);
}

.notice .icon { flex: none; color: var(--brand); margin-top: 0.15em; }

.notice--warn {
    background: #FEF6EE;
    border-color: #F6DFC4;
    border-left-color: var(--gold-600);
}

.notice--warn .icon { color: var(--gold-600); }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
}

@media (min-width: 900px) {
    .contact-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

.info-card {
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
}

.info-card + .info-card { margin-top: var(--space-5); }

.info-card h3 {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--fs-h4);
}

.info-card h3 .icon { color: var(--brand); }

.info-list {
    list-style: none;
    margin-top: var(--space-4);
    font-size: var(--fs-sm);
    color: var(--ink-soft);
}

.info-list li {
    display: flex;
    gap: var(--space-3);
    padding-block: var(--space-2);
}

.info-list li + li { border-top: 1px dashed var(--line); }

.info-list .icon { flex: none; color: var(--teal-400); margin-top: 0.2em; }

.info-list strong { color: var(--ink); }

.hours {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-4);
    font-size: var(--fs-sm);
}

.hours th,
.hours td {
    padding: 0.6rem 0;
    text-align: left;
    border-bottom: 1px dashed var(--line);
}

.hours th { font-weight: 500; color: var(--ink-soft); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.hours tr:last-child th,
.hours tr:last-child td { border-bottom: 0; }

.map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.map iframe { width: 100%; height: 380px; border: 0; }

/* Form */
.form-card {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: var(--space-4);
}

.field { display: flex; flex-direction: column; gap: var(--space-2); }
.field--full { grid-column: 1 / -1; }

.field label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--ink);
}

.field .req { color: var(--danger); }

.field .hint {
    font-size: var(--fs-xs);
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.75rem 0.95rem;
    background: var(--white);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field textarea { resize: vertical; min-height: 130px; }

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230E7B80' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal-400);
    box-shadow: 0 0 0 4px var(--teal-100);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--danger); }

.field-error {
    display: none;
    font-size: var(--fs-xs);
    font-weight: 500;
    color: var(--danger);
}

.field-error.is-visible { display: block; }

.consent {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    font-size: var(--fs-xs);
    color: var(--muted);
    line-height: 1.55;
}

.consent input {
    width: 18px; height: 18px;
    flex: none;
    margin-top: 0.15rem;
    accent-color: var(--brand);
}

/* Honeypot — off-screen rather than display:none, which some bots detect. */
.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    display: none;
    margin-top: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 500;
}

.form-status.is-visible { display: block; }

.form-status.is-success {
    background: #EAF7F0;
    border: 1px solid #BFE3D0;
    color: var(--success);
}

.form-status.is-error {
    background: #FEF3F2;
    border: 1px solid #FCD9D5;
    color: var(--danger);
}

/* Emergency banner */
.emergency {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    justify-content: center;
    padding: var(--space-3) var(--space-5);
    background: #FEF3F2;
    border-block: 1px solid #FCD9D5;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #912018;
    text-align: center;
}

.emergency .icon { flex: none; }

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background:
        radial-gradient(760px 380px at 12% 110%, rgba(212, 175, 55, 0.22), transparent 62%),
        linear-gradient(135deg, var(--teal-700), var(--teal-900));
    color: var(--white);
    text-align: center;
}

.cta h2 { color: var(--white); max-width: 20ch; margin-inline: auto; }

.cta p {
    margin: var(--space-4) auto 0;
    max-width: 56ch;
    font-size: var(--fs-lg);
    color: rgba(255, 255, 255, 0.82);
}

.cta .btn-row { margin-top: var(--space-6); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.footer {
    background: var(--teal-900);
    color: rgba(255, 255, 255, 0.68);
    font-size: var(--fs-sm);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr));
    gap: clamp(2rem, 4vw, 3rem);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}

.footer__brand img {
    height: 56px;
    width: auto;
    padding: 0.6rem 0.85rem;
    background: var(--white);
    border-radius: var(--radius-sm);
}

.footer__brand p { margin-top: var(--space-4); max-width: 34ch; }

.footer h4 {
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.footer ul { list-style: none; display: grid; gap: var(--space-3); }

.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }

.footer__contact li {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.footer__contact .icon { flex: none; color: var(--teal-300); margin-top: 0.2em; }

.socials { display: flex; gap: var(--space-3); margin-top: var(--space-5); }

.socials a {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.socials a:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--teal-900);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-5);
    align-items: center;
    justify-content: space-between;
    padding-block: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: var(--fs-xs);
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2) var(--space-5);
    list-style: none;
}

.footer__disclaimer {
    padding-bottom: var(--space-6);
    font-size: var(--fs-xs);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   17. Utilities & motion
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal:nth-child(2) { transition-delay: 90ms; }
.reveal:nth-child(3) { transition-delay: 180ms; }
.reveal:nth-child(4) { transition-delay: 270ms; }

.text-center { text-align: center; }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }

.legal-doc h2 {
    margin-top: var(--space-7);
    font-size: var(--fs-h3);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--line);
}

.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 { margin-top: var(--space-5); font-size: var(--fs-h4); }
.legal-doc p,
.legal-doc li { color: var(--ink-soft); font-size: var(--fs-sm); }
.legal-doc > * + * { margin-top: var(--space-4); }

@media print {
    .header, .topbar, .footer, .cta, .nav-toggle, .hero__dots { display: none !important; }
    body { color: #000; }
    a::after { content: " (" attr(href) ")"; font-size: 0.8em; }
}

@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;
        scroll-behavior: auto !important;
    }

    .reveal { opacity: 1; transform: none; }
    .hero__slide { transform: none; }
}
