/* Westside Developers — global styles */

/* ── Design tokens ── */
:root {
    /* Brand colors: orange accent, slate navy, warm off-white */
    --color-primary: #1c2b3a;
    --color-accent: #e8450a;
    --color-accent-light: #ff6b35;
    --color-accent-subtle: #fff0ea;
    --color-hero-bg: #1c2b3a;
    --color-hero-text: #ffffff;
    --color-card-bg: #f7f4f0;
    --color-card-border: #eae4dc;
    --color-card-text: #1c2b3a;
    --color-card-sub: #5a5550;
    --color-footer-bg: #111820;
    --color-footer-text: #c8d4dc;
    --color-trust: #e8450a;
    --color-tagline: #c43a08;
    --color-nav-bg: #ffffff;
    --color-nav-text: #1c2b3a;
    --color-btn-text: #ffffff;
    /* Text-bearing orange: white on it = 5.3:1, it on cream = 4.6:1 (WCAG AA). #e8450a stays for decoration. */
    --color-accent-strong: #c43a08;
    --color-accent-strong-hover: #a33006;
    --color-hero-cream: #f7f1e8;
    --color-section-alt: #f2ede8;

    --font-display: 'acumin-pro-condensed', 'Arial Narrow', sans-serif;
    --font-body: 'acumin-pro', 'Helvetica Neue', Arial, sans-serif;
    --font-ui: 'acumin-pro', Arial, sans-serif;
    --font-sans: var(--font-body);

    --radius: 10px;
    --shadow: 0 10px 35px rgba(28, 27, 25, 0.08);
    --header-h: 72px;
    --mobile-cta-h: 52px;

    --color-bg: var(--color-section-alt);
    --color-surface: #ffffff;
    --color-text: var(--color-card-text);
    --color-muted: var(--color-card-sub);
    --color-ink: var(--color-primary);
    --color-border: var(--color-card-border);
    --color-accent-dark: color-mix(in srgb, var(--color-accent) 78%, black);

    --color-success-bg: #e8f5e9;
    --color-success-border: #c8e6c9;
    --color-success-text: #1b5e20;

    --color-footer-heading: var(--color-hero-text);
    --color-footer-border: color-mix(in srgb, var(--color-footer-text) 28%, transparent);
}

html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    padding-bottom: env(safe-area-inset-bottom);
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

a {
    color: var(--color-accent-strong);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--color-accent-strong-hover);
}

.container {
    width: min(1120px, 92vw);
    margin-inline: auto;
}

h1, h2, h3, h4, h5, h6,
.logo-main,
.page-hero h1,
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-ink);
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 2rem; }
h3 { font-size: 1.25rem; margin-top: 1.5rem; }

p { margin: 0 0 1rem; }

ul { padding-left: 1.25rem; }

.lead {
    font-size: 1.15rem;
    color: var(--color-muted);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: var(--font-ui);
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
    background: var(--color-accent-strong);
    color: var(--color-btn-text);
}

.btn-primary:hover {
    background: var(--color-accent-strong-hover);
    color: var(--color-btn-text);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-hero-text);
}

.page-hero .btn-outline--hero {
    border-color: var(--color-ink);
    color: var(--color-ink);
}

.page-hero .btn-outline--hero:hover {
    background: var(--color-ink);
    color: #ffffff;
}

.btn-lg {
    padding: 0.85rem 1.6rem;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
}

.btn-nav {
    background: var(--color-accent-strong);
    color: var(--color-btn-text) !important;
    border-radius: var(--radius);
    padding: 0.5rem 1rem !important;
}

.btn-nav:hover {
    background: var(--color-accent-strong-hover);
    color: var(--color-btn-text) !important;
}

.mobile-cta-bar {
    display: none;
    position: sticky;
    top: 0;
    z-index: 120;
    background: var(--color-primary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0.25rem 0.75rem;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.mobile-cta-bar .btn-call,
.mobile-cta-bar .btn-quote {
    flex: 1;
    text-align: center;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-cta-bar .btn-call {
    background: var(--color-accent-strong);
    color: #ffffff;
}

.mobile-cta-bar .btn-quote {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-nav-bg);
    color: var(--color-nav-text);
    border-bottom: 1px solid color-mix(in srgb, var(--color-nav-text) 12%, transparent);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.site-header.scrolled {
    box-shadow: var(--shadow);
    border-bottom-color: color-mix(in srgb, var(--color-nav-text) 18%, transparent);
}

.site-header a:not(.btn) {
    color: var(--color-nav-text);
}

.site-header a:not(.btn):hover {
    color: var(--color-accent-strong);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-mascot {
    height: 58px;
    width: auto;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-nav-text);
    letter-spacing: -0.5px;
}

.logo-tagline {
    font-family: var(--font-ui);
    font-size: 11px;
    letter-spacing: 2.5px;
    color: var(--color-tagline);
    text-transform: uppercase;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    font-weight: 700;
    color: var(--color-nav-text);
    text-decoration: none;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.nav-toggle-icon {
    width: 26px;
    height: 26px;
    color: var(--color-nav-text);
}

.nav-toggle-close {
    display: none;
}

.nav-toggle.is-open .nav-toggle-bars {
    display: none;
}

.nav-toggle.is-open .nav-toggle-close {
    display: block;
}

.main-nav {
    border-top: 1px solid color-mix(in srgb, var(--color-nav-text) 10%, transparent);
    background: var(--color-nav-bg);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.25rem 1.5rem;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Shared by <a> links and <button> dropdown triggers — reset button UA styles so both render identically */
.nav-link {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 3.7rem;
    margin: 0;
    padding: 0;
    color: var(--color-nav-text);
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: inherit;
    text-transform: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: pointer;
}

.nav-link.btn-nav {
    min-height: 0;
    background: var(--color-accent-strong);
    border-radius: var(--radius);
}

.nav-link.btn-nav:hover {
    background: var(--color-accent-strong-hover);
}

@media (min-width: 960px) {
    /* Header already shows the Free Estimate CTA on desktop */
    .nav-item--cta {
        display: none;
    }
}

.nav-link:hover,
.dropdown-menu a:hover {
    color: var(--color-accent-strong);
}

.nav-link.active,
.dropdown-menu a.active {
    color: var(--color-accent-strong);
}

.dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 220px;
    background: var(--color-nav-bg);
    border: 1px solid color-mix(in srgb, var(--color-nav-text) 14%, transparent);
    border-top: 2px solid var(--color-accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 50;
}

.has-dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.45rem 1rem;
    color: var(--color-nav-text);
    text-decoration: none;
    font-weight: 500;
}

.caret-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.75rem;
    height: 0.75rem;
    font-size: 0.65rem;
    line-height: 1;
    opacity: 0.85;
    transition: transform 0.2s;
}



.dropdown-open .caret-icon {
    transform: rotate(180deg);
}

.section-alt {
    background: var(--color-section-alt);
}

.trust-bar {
    background: var(--color-hero-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-bar-item {
    color: var(--color-trust);
}

#main-content {
    min-height: 40vh;
}

.page-hero {
    background: var(--color-hero-cream);
    color: var(--color-ink);
    border-bottom: 1px solid var(--color-card-border);
    padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.page-hero .container {
    max-width: 720px;
}

.page-hero h1 {
    color: var(--color-ink);
    margin: 0 0 1rem;
}

.page-hero .hero-sub {
    font-size: 1.15rem;
    color: var(--color-card-sub);
    margin-bottom: 1.5rem;
}

/* .page-hero buttons use the default orange .btn-primary */

.page-hero--service .container {
    max-width: min(920px, 92vw);
}

.page-hero-inner {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 4vw, 2.5rem);
}

.page-hero-willy {
    flex-shrink: 0;
    width: auto;
    height: auto;
    max-height: min(240px, 30vh);
    max-width: min(280px, 38vw);
    object-fit: contain;
    pointer-events: none;
}

.page-hero-copy {
    flex: 1;
    min-width: 0;
}

@media (max-width: 640px) {
    .page-hero--service .page-hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .page-hero--service .page-hero-willy {
        max-height: 180px;
        max-width: min(220px, 58vw);
        order: -1;
    }
}

.page-hero--home {
    position: relative;
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.page-hero--home .container {
    max-width: none;
    width: min(1120px, 92vw);
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "photo" "card";
    gap: 2rem;
    align-items: center;
}

.home-hero-copy { grid-area: copy; }
.home-hero-photo { grid-area: photo; }
.home-hero-card { grid-area: card; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 0;
}

.home-hero-photo {
    position: relative;
    margin: 0 auto;
    width: 100%;
    max-width: 420px;
}

.home-hero-photo img:not(.home-hero-willy) {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 6px solid #ffffff;
    box-shadow: 0 14px 40px rgba(28, 43, 58, 0.18);
}

.home-hero-willy {
    position: absolute;
    left: -14px;
    bottom: 28px;
    width: 76px;
    height: 76px;
    padding: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 6px 18px rgba(28, 43, 58, 0.2);
}

.home-hero-photo figcaption {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-card-sub);
}

@media (min-width: 900px) {
    .home-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        grid-template-areas: "copy photo" "card photo";
        column-gap: 3rem;
        row-gap: 1.75rem;
    }

    .home-hero-photo img:not(.home-hero-willy) {
        transform: rotate(1.5deg);
    }

    .home-hero-card {
        align-self: start;
    }
}

.home-hero-card {
    background: #ffffff;
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(28, 43, 58, 0.08);
    padding: 1.25rem 1.5rem;
    color: var(--color-ink);
}

.home-hero-card-serving {
    margin: 1rem 0 0;
    font-size: 0.95rem;
    color: var(--color-card-sub);
}

.home-hero-card h2 {
    color: var(--color-ink);
    font-size: 1.15rem;
    margin: 0 0 0.75rem;
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-pills span {
    background: var(--color-hero-cream);
    border: 1px solid var(--color-card-border);
    color: var(--color-ink);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.section-title {
    color: var(--color-card-text);
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: var(--color-accent);
    margin-top: 10px;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--color-card-sub);
}

.about-willy-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-willy-image img {
    max-width: 220px;
    width: 100%;
    height: auto;
}

@media (max-width: 640px) {
    .about-willy-inner {
        flex-direction: column;
        text-align: center;
    }
}

.content-section {
    padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.content-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
}

@media (min-width: 960px) {
    .content-with-sidebar {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
    }
}

.main-content {
    min-width: 0;
    background: var(--color-surface);
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
}

.sidebar .quote-sidebar {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}

.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.quote-sidebar-title {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
}

.quote-sidebar-text {
    font-size: 0.95rem;
    color: var(--color-muted);
}

.quote-sidebar-phone {
    margin: 1rem 0;
}

.sidebar-phone-link {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-ink);
    text-decoration: none;
}

.service-list {
    margin: 0;
    padding-left: 1.25rem;
}

.service-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 1.5rem;
}

@media (min-width: 600px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.service-card {
    background: #ffffff;
    border: 1px solid #ddd3c6;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.service-card-body h3 {
    margin: 0 0 0.5rem;
    color: var(--color-card-text);
}

.service-card-body p {
    color: var(--color-card-sub);
}

.service-card picture,
.gallery-grid picture {
    display: block;
}

.service-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.service-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

.gallery-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.gallery-grid figure {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.blog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-list li {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--color-border);
}

.blog-list a {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-ink);
    text-decoration: none;
}

.blog-list a:hover {
    color: var(--color-accent-strong);
}

.blog-meta {
    font-size: 0.9rem;
    color: var(--color-muted);
}

.testimonial-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.testimonial-card {
    margin: 0;
    padding: 1.25rem;
    background: var(--color-surface);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow);
}

.testimonial-card cite {
    display: block;
    margin-top: 0.75rem;
    font-style: normal;
    font-weight: 600;
    color: var(--color-muted);
}

/* Unresolved client facts — visible on staging so nothing false ships. Resolve all before cutover. */
mark.todo {
    background: #fff3b0;
    color: #5c4400;
    border: 1px dashed #c9a400;
    border-radius: 3px;
    padding: 0 0.2em;
    font-size: 0.9em;
}

.link-block {
    margin-top: 2.5rem;
}

.about-team-photo {
    margin: 0 auto 1.75rem;
    max-width: 420px;
}

.about-team-photo picture,
.about-team-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* .page-hero--light: kept as a hook; all page heroes are light now */

.eyebrow {
    margin: 0 0 0.5rem;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
}

.section-white {
    background: var(--color-surface);
}

/* ── About page ── */
.about-hero .container {
    max-width: none;
}

.about-hero-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.about-hero-photo {
    margin: 0;
    justify-self: center;
    width: 100%;
    max-width: 440px;
}

.about-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 6px solid var(--color-surface);
}

.about-hero-photo figcaption {
    margin-top: 0.6rem;
    font-size: 0.9rem;
    text-align: center;
    color: var(--color-card-sub);
}

@media (min-width: 900px) {
    .about-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    }

    .about-hero-photo img {
        transform: rotate(1.5deg);
    }
}

.about-intro > * {
    max-width: 65ch;
}

.about-intro p {
    font-size: 1.05rem;
}

.about-tagline {
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--color-accent);
    font-family: var(--font-display);
    font-size: 1.35rem !important;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-ink);
}

.team-grid {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
    text-align: center;
}

.team-card picture {
    display: block;
}

.team-photo {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--color-section-alt);
    box-shadow: 0 0 0 1px var(--color-card-border);
}

.team-card h3 {
    margin: 0;
}

.team-role {
    margin: 0.15rem 0 0.6rem;
    font-weight: 700;
    color: var(--color-accent-dark);
}

.team-card p:last-child {
    max-width: 32ch;
    margin-inline: auto;
}

.values-strip {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.values-strip li {
    background: var(--color-surface);
    border: 1px solid var(--color-card-border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
}

.values-strip strong {
    display: block;
    color: var(--color-ink);
}

.values-strip span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.92rem;
    color: var(--color-card-sub);
}

.about-cta {
    margin-top: 0;
}

.about-cta .cta-strip-inner {
    justify-content: flex-start;
}

.about-cta-copy {
    flex: 1 1 300px;
}

.about-cta-willy {
    width: 64px;
    height: auto;
    flex: 0 0 auto;
}

.cta-strip .cta-phone {
    color: var(--color-hero-text);
    font-weight: 700;
}

.area-facts {
    margin-top: 2.5rem;
}

.area-facts h2 {
    margin-top: 0;
}

.area-facts-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.area-facts-list {
    margin: 0;
}

.area-facts-name {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.area-facts-list dd {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
}

.area-facts-list dd span {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.area-facts-source {
    margin: 1rem 0 0;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.table-scroll {
    overflow-x: auto;
    margin-top: 1rem;
}

.county-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: var(--color-surface);
}

.county-table caption {
    text-align: left;
    font-weight: 700;
    padding-bottom: 0.5rem;
}

.county-table th,
.county-table td {
    text-align: left;
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.county-table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.link-block-county {
    font-size: 1.05rem;
    margin: 1.25rem 0 0.5rem;
}

.dropdown-menu .dropdown-divider {
    height: 1px;
    margin: 0.4rem 1rem;
    background: color-mix(in srgb, var(--color-nav-text) 18%, transparent);
}

.dropdown-menu .dropdown-all {
    font-weight: 600;
}

.link-grid {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.5rem 1.25rem;
}

.link-grid a {
    font-weight: 600;
}

.process-steps {
    padding-left: 1.4rem;
}

.process-steps li {
    margin-bottom: 0.6rem;
}

.area-cta {
    margin-top: 2.5rem;
}

.area-cta h2 {
    margin-top: 0;
}

.area-cta-phone {
    font-weight: 700;
}

.home-about {
    max-width: 820px;
    font-size: 1.1rem;
}

.contact-card-title {
    font-size: 1.25rem;
    margin-top: 0;
}

.contact-email-plain {
    font-size: 0.95rem;
    color: var(--color-muted);
}

.footer-hours {
    margin: 0 0 1rem;
}

.faq-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.faq-section h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.faq-item {
    margin-bottom: 1.25rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item h3 {
    font-size: 1.08rem;
    margin: 0 0 0.35rem;
    color: var(--color-ink);
}

.faq-item p {
    margin: 0;
    font-size: 0.98rem;
    color: var(--color-muted);
}

.contact-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.form-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 600px) {
    .form-grid.cols-2 {
        grid-template-columns: 1fr 1fr;
    }
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    font-family: inherit;
    font-size: 1rem;
    background: var(--color-surface);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

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

.form-success {
    padding: 1rem;
    background: var(--color-success-bg);
    border: 1px solid var(--color-success-border);
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--color-success-text);
}

@keyframes willy-run {
    0% {
        transform: translateX(-30px) scaleX(1);
    }

    49% {
        transform: translateX(30px) scaleX(1);
    }

    50% {
        transform: translateX(30px) scaleX(-1);
    }

    99% {
        transform: translateX(-30px) scaleX(-1);
    }

    100% {
        transform: translateX(-30px) scaleX(1);
    }
}

.willy-loader-wrap {
    text-align: center;
    padding: 1rem 0 0;
}

.willy-loader-wrap p {
    margin: 0.5rem 0 0;
    font-weight: 600;
}

.willy-loader {
    height: 60px;
    width: auto;
    animation: willy-run 1s ease-in-out infinite;
}

.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    padding: 3rem 0 2rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-col .footer-heading {
    color: var(--color-footer-heading);
    margin: 0 0 1rem;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.45rem;
}

.footer-col a {
    color: var(--color-footer-text);
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--color-footer-heading);
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-footer-heading);
    margin: 0 0 0.75rem;
}

.footer-brand p {
    color: color-mix(in srgb, var(--color-footer-text) 92%, transparent);
    font-size: 0.95rem;
}

.footer-brand .footer-address {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.footer-willy {
    height: 70px;
    width: auto;
    margin: 0.75rem 0;
}

.footer-phone a {
    font-weight: 700;
    color: var(--color-footer-heading);
    text-decoration: none;
}

.footer-trust {
    border-top: 1px solid var(--color-footer-border);
    padding: 1.25rem 0;
}

.footer-trust-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
    align-items: center;
    justify-content: center;
}

.footer-trust-inner img {
    display: block;
    height: auto;
    max-height: 52px;
    width: auto;
    max-width: min(220px, 42vw);
    object-fit: contain;
    flex-shrink: 0;
}

.footer-legal {
    border-top: 1px solid var(--color-footer-border);
    padding: 1rem 0 2rem;
    font-size: 0.85rem;
    font-family: var(--font-ui);
    color: color-mix(in srgb, var(--color-footer-text) 82%, transparent);
}

.footer-legal a {
    color: var(--color-footer-text);
}

.footer-legal-name {
    display: inline-block;
}

.two-col-list {
    columns: 2;
    gap: 2rem;
}

@media (max-width: 640px) {
    .two-col-list {
        columns: 1;
    }
}

.cta-strip {
    background: var(--color-primary);
    color: var(--color-hero-text);
    padding: 2rem 0;
    margin-top: 2rem;
}

.cta-strip h2 {
    color: var(--color-hero-text);
    margin: 0 0 0.5rem;
}

.cta-strip .btn-primary {
    background: var(--color-accent-strong);
    color: #ffffff;
}

.cta-strip-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (max-width: 959px) {
    .header-cta {
        display: none;
    }

    .mobile-cta-bar {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        border-top: none;
        max-height: calc(100vh - var(--header-h) - var(--mobile-cta-h));
        overflow-y: auto;
    }

    .main-nav.nav-open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0 1rem;
    }

    .nav-item {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-link {
        width: 100%;
        min-height: 3rem;
        padding: 0.6rem 0;
    }

    .nav-link.btn-nav {
        justify-content: center;
        margin-top: 0.5rem;
        padding: 0.75rem 1rem !important;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 3px solid color-mix(in srgb, var(--color-nav-text) 22%, transparent);
        margin: 0 0 0.5rem 0.5rem;
        display: none;
    }

    .has-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }
}

@media (min-width: 960px) {
    .main-nav .container {
        padding-inline: 0;
    }
}

.error-404 {
    text-align: center;
    padding: 4rem 1rem;
}

.error-willy {
    height: 260px;
    width: auto;
    transform: scaleX(-1);
    margin-bottom: 2rem;
}

.error-404 h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

.error-404 .lead {
    margin-bottom: 1.5rem;
}

.error-404 .btn {
    margin: 0.35rem;
}

@media (max-width: 768px) {
    .logo-mascot {
        height: 42px;
    }

    .logo-main {
        font-size: 19px;
    }

    .logo-tagline {
        display: none;
    }
}


/* ── About: two-person team grid + memorial block (quiet treatment: no CTA, no mascot) ── */
.team-grid--two {
    max-width: 720px;
    margin-inline: auto;
}

.memorial {
    background: var(--color-hero-cream, #f7f1e8);
    border-top: 1px solid var(--color-card-border);
    border-bottom: 1px solid var(--color-card-border);
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.memorial-inner {
    display: grid;
    gap: 1.5rem 2.5rem;
    justify-items: center;
    text-align: center;
    max-width: 820px;
}

.memorial-inner picture {
    display: block;
}

.memorial-photo {
    display: block;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #ffffff;
    box-shadow: 0 0 0 1px var(--color-card-border);
}

.memorial-text h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.memorial-dates {
    margin: 0.3rem 0 0;
    font-family: var(--font-ui);
    font-size: 1rem;
    color: var(--color-ink);
}

.memorial-sub {
    margin: 0.2rem 0 1rem;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-card-sub);
}

.memorial-text p:last-child {
    margin-bottom: 0;
    font-size: 1.05rem;
    text-align: left;
}

@media (min-width: 720px) {
    .memorial-inner {
        grid-template-columns: auto minmax(0, 1fr);
        justify-items: start;
        align-items: center;
        text-align: left;
    }
}

.section-white .values-strip li {
    background: var(--color-hero-cream, #f7f1e8);
}
