/* ==========================================================================
   Comfort Mechanical Solutions — Design System
   Stack: Static HTML + Phosphor Icons + Inter (body) / Outfit (display)
   ========================================================================== */
:root {
    /* Brand — matches Comfort Mechanical Solutions logo (red flame / teal flame / black wordmark) */
    --color-primary: #0F0F10;        /* Near-black (matches "SOLUTIONS" wordmark) */
    --color-primary-light: #1E1F23;
    --color-accent: #C0392B;         /* Brand red, WCAG AA on white (5.85:1) — primary CTA + emergency */
    --color-accent-hover: #9C2A1F;   /* Darker hover state (7.46:1) */
    --color-accent-cool: #20BFBF;    /* Logo teal (cooling) — secondary accent */
    --color-accent-cool-hover: #17A6A6;
    --color-emergency: #C0392B;      /* Emergency = brand red, unified for WCAG AA */
    --color-emergency-hover: #9C2A1F;
    --color-success: #16A34A;

    /* Neutrals */
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-bg: #FFFFFF;
    --color-bg-alt: #F9FAFB;
    --color-bg-dark: #0F0F10;
    --color-border: #E5E7EB;
    --color-white: #FFFFFF;

    /* Type */
    --font-heading: 'Outfit', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.25vw, 1.625rem); }
h4 { font-size: 1.125rem; }
p { color: var(--color-text); }
a { color: inherit; text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-accent-hover); }
ul, ol { list-style: none; }
img, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--space-lg); }
.container-narrow { max-width: 800px; }
.section { padding: var(--space-2xl) 0; }
.section-sm { padding: var(--space-xl) 0; }
.bg-light { background: var(--color-bg-alt); }
.bg-dark { background: var(--color-bg-dark); color: var(--color-white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--color-white); }
.text-center { text-align: center; }
.text-accent { color: var(--color-accent-hover); }
.eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent-hover);
    margin-bottom: var(--space-md);
}
.bg-dark .eyebrow, .bg-dark .text-accent, .hero .eyebrow, .lead-section .eyebrow { color: var(--color-accent); }

/* Skip link — visible only on keyboard focus */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    z-index: 999;
    padding: 0.75rem 1.25rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    text-decoration: none;
    transition: top var(--transition-fast);
}
.skip-link:focus { top: 0; color: var(--color-white); }

/* Global focus ring for keyboard navigation (does not appear on mouse click) */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}
.hero a:focus-visible,
.lead-section a:focus-visible,
.site-footer a:focus-visible,
.bg-dark a:focus-visible {
    outline-color: var(--color-accent);
    outline-offset: 3px;
}
.lead { font-size: 1.125rem; color: var(--color-text-light); max-width: 60ch; }
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-header .lead { margin: var(--space-md) auto 0; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    border: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
}
.btn i { font-size: 1.25em; }
.btn-primary { background: var(--color-accent); color: var(--color-white); }
.btn-primary:hover { background: var(--color-accent-hover); color: var(--color-white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-cool { background: var(--color-accent-cool); color: var(--color-white); }
.btn-cool:hover { background: var(--color-accent-cool-hover); color: var(--color-white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-emergency { background: var(--color-emergency); color: var(--color-white); }
.btn-emergency:hover { background: var(--color-emergency-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-primary); border-color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.btn-outline-light { background: transparent; color: var(--color-white); border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: var(--color-white); color: var(--color-primary); }
.btn-block { width: 100%; }
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }

/* ==========================================================================
   Header
   ========================================================================== */
/* ==========================================================================
   Site Header
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    flex-wrap: nowrap;
}
/* Logo */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.logo-img {
    height: 60px;
    width: auto;
    max-height: 60px;
}

/* -------------------------------------------------------
   Main Nav — desktop
------------------------------------------------------- */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    justify-content: center;
}
.nav-link {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-text);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}
.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: rgba(211,47,47,0.06);
}

/* -------------------------------------------------------
   Services Dropdown
------------------------------------------------------- */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-text);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    transition: color 0.15s, background 0.15s;
    font-family: inherit;
    line-height: 1;
}
.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--color-primary);
    background: rgba(211,47,47,0.06);
}
.dropdown-caret {
    font-size: 0.65rem;
    transition: transform 0.2s;
    display: inline-block;
}
.nav-dropdown.is-open .dropdown-caret {
    transform: rotate(180deg);
}

/* Dropdown menu panel */
.nav-dropdown-menu {
    /* Hidden by default — shown via .is-open class */
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06);
    padding: 0.875rem;
    min-width: 500px;
    list-style: none;
    margin: 0;
    z-index: 300;
}
.nav-dropdown.is-open .nav-dropdown-menu {
    /* Show as 2-column grid when open */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.125rem;
    animation: dropdownFade 0.15s ease;
}
@keyframes dropdownFade {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0);    }
}
.nav-dropdown-menu li {
    margin: 0;
    list-style: none;
}
.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1a1a2e;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.12s, color 0.12s;
}
.nav-dropdown-menu a:hover {
    background: rgba(211,47,47,0.07);
    color: var(--color-primary);
}

/* Header CTA phone button */
.header-cta {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--color-primary);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.55rem 1.1rem;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
}
.btn-cta:hover {
    background: #b71c1c;
    transform: translateY(-1px);
}
.cta-phone-text {
    white-space: nowrap;
}
.cta-mobile-text { display: none; white-space: nowrap; }

/* Hamburger toggle button */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 6px;
    padding: 0.4rem;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}
.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #1F2937;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    background-color: var(--color-primary);
    background-image: linear-gradient(135deg, rgba(15,15,16,0.78) 0%, rgba(30,31,35,0.72) 100%), var(--hero-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: var(--space-2xl) 0;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 15%, rgba(231,76,60,0.22) 0%, transparent 45%),
        radial-gradient(circle at 15% 85%, rgba(32,191,191,0.18) 0%, transparent 45%);
    pointer-events: none;
}

/* Per-page hero backgrounds */
.hero-home          { --hero-image: url('images/hero-fleet-vans.jpg'); }
.hero-commercial    { --hero-image: url('images/hero-crane-rtu-daytime.jpg'); }
.hero-residential   { --hero-image: url('images/hero-residential-carrier-condenser.jpg'); }
.hero-multifamily   { --hero-image: url('images/hero-multifamily-vrf-rooftop.jpg'); }
.hero-prosper       { --hero-image: url('images/hero-attic-ductwork-vaulted.jpg'); }
.hero-windsong      { --hero-image: url('images/hero-attic-ductwork-vaulted.jpg'); }
.hero-ac-repair     { --hero-image: url('images/hero-residential-carrier-condenser.jpg'); }
.hero-ac-replacement { --hero-image: url('images/hero-residential-carrier-condenser.jpg'); }
.hero-storage       { --hero-image: url('images/hero-storage-facility-rtu-lift.jpg'); }
.hero-emergency     { --hero-image: url('images/hero-emergency-crane-sky.jpg'); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr; gap: var(--space-xl); align-items: center; }
.hero h1 { color: var(--color-white); margin-bottom: var(--space-md); }
.hero .lead { color: rgba(255,255,255,0.85); margin-bottom: var(--space-lg); max-width: 56ch; font-size: 1.1875rem; }
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-bottom: var(--space-lg);
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-white);
}
.hero-badge i { color: var(--color-accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-meta {
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.12);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-md);
}
.hero-meta-item { color: rgba(255,255,255,0.85); }
.hero-meta-item strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-accent); }
.hero-meta-item span { font-size: 0.8rem; line-height: 1.3; }

/* ==========================================================================
   Trust strip (under hero)
   ========================================================================== */
.trust-strip {
    background: var(--color-bg-alt);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}
.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
}
.trust-item i { color: var(--color-accent); font-size: 1.25rem; }

/* ==========================================================================
   Cards / Grid
   ========================================================================== */
.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--color-accent); }
.card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(231,76,60,0.1);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-text-light); font-size: 0.9375rem; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: var(--space-md);
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9375rem;
}
.card-link:hover { color: var(--color-accent-hover); gap: 0.625rem; }

/* ==========================================================================
   Value props / split sections
   ========================================================================== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}
.split-content .eyebrow { margin-bottom: var(--space-sm); }
.split-content h2 { margin-bottom: var(--space-md); }
.split-list { margin-top: var(--space-lg); }
.split-list li {
    display: flex;
    gap: 0.75rem;
    padding: 0.625rem 0;
    align-items: flex-start;
}
.split-list i { color: var(--color-accent); font-size: 1.25rem; margin-top: 0.125rem; flex-shrink: 0; }
.split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 4rem;
}

/* ==========================================================================
   Service list (long)
   ========================================================================== */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-md); }
.service-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-primary);
}
.service-pill i { color: var(--color-accent); font-size: 1.375rem; flex-shrink: 0; }
.service-pill:hover { border-color: var(--color-accent); transform: translateX(2px); box-shadow: var(--shadow-sm); color: var(--color-primary); }

/* ==========================================================================
   Service area chips
   ========================================================================== */
.area-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-chips a {
    display: inline-flex;
    align-items: center;
    padding: 0.4375rem 0.875rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: all var(--transition-fast);
}
.area-chips a:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: 0.75rem;
    background: var(--color-white);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}
.faq-item[open] { border-color: var(--color-accent); }
.faq-question {
    padding: 1.125rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--color-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-accent);
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer { padding: 0 1.5rem 1.25rem; color: var(--color-text); font-size: 0.9375rem; }
.faq-answer p + p { margin-top: 0.75rem; }

/* ==========================================================================
   Owner-led story block
   ========================================================================== */
.owner-block {
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: center;
}
.owner-block .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-cool) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 3rem;
}
.owner-block h2 { color: var(--color-white); margin-bottom: var(--space-sm); }
.owner-block p { color: rgba(255,255,255,0.85); }
.owner-block .quote { font-size: 1.125rem; font-style: italic; margin: var(--space-md) 0; }
.owner-block .signature { font-family: var(--font-heading); font-weight: 600; color: var(--color-accent); }

/* ==========================================================================
   Lead form (WebMCP-ready)
   ========================================================================== */
.lead-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: var(--color-white);
}
.lead-section h2 { color: var(--color-white); }
.lead-section .lead { color: rgba(255,255,255,0.85); }
.lead-form-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}
.lead-form {
    background: var(--color-white);
    color: var(--color-text);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-xl);
}
.lead-form h3 { margin-bottom: var(--space-md); }
.form-row { margin-bottom: var(--space-md); }
.form-row label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.375rem;
}
.form-row input, .form-row select, .form-row textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-white);
    transition: border-color var(--transition-fast);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(231,76,60,0.15);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.form-note { font-size: 0.8125rem; color: var(--color-text-light); margin-top: var(--space-sm); }
.form-status { min-height: 1.25em; font-size: 0.9375rem; font-weight: 600; margin-top: var(--space-sm); }
.form-status.is-success { color: var(--color-success); }
.form-status.is-error { color: var(--color-emergency); }

.form-consent {
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.form-consent-text {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.5;
}
.form-consent-text a {
    color: var(--color-text);
    text-decoration: underline;
}

/* ==========================================================================
   About page — owner portrait, bio prose, pull quote
   ========================================================================== */
.about-hero { padding: var(--space-2xl) 0; }
.about-hero .split { gap: var(--space-2xl); }
.owner-portrait {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-cool) 100%);
    aspect-ratio: 1 / 1;
    max-width: 480px;
    margin-left: auto;
    box-shadow: var(--shadow-xl);
}
.owner-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.owner-portrait--placeholder { display: flex; align-items: center; justify-content: center; }
.owner-portrait-monogram {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(4rem, 10vw, 8rem);
    color: rgba(255,255,255,0.92);
    letter-spacing: -0.05em;
    line-height: 1;
}

.bio-prose { font-size: 1.0625rem; line-height: 1.75; color: var(--color-text); }
.bio-prose p { margin-bottom: var(--space-md); }
.bio-prose p:last-child { margin-bottom: 0; }
.bio-prose strong { color: var(--color-primary); }

.pull-quote {
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    max-width: 720px;
    margin: 0 auto;
}
.pull-quote > i.ph-fill { font-size: 3rem; color: var(--color-accent); display: block; margin-bottom: var(--space-md); }
.pull-quote p {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
    letter-spacing: -0.01em;
    margin: 0;
}
.pull-quote .pull-quote-attribution {
    margin-top: var(--space-md);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--color-text-light);
    letter-spacing: normal;
}

@media (max-width: 960px) {
    .owner-portrait { margin: 0 auto; max-width: 360px; }
}

/* ==========================================================================
   Four Deliverables — callout line + deliverable card
   ========================================================================== */
.callout-line-section { padding: var(--space-lg) 0; background: var(--color-bg); }
.callout-line {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.4;
    color: var(--color-primary);
    text-align: center;
    padding: var(--space-md) 0;
    border-top: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    margin: 0 auto;
    max-width: 56rem;
}
.callout-line strong { color: var(--color-accent-hover); }

.deliverable-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    position: relative;
    transition: all var(--transition-base);
}
.deliverable-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--color-accent); }
.deliverable-card .deliverable-number {
    position: absolute;
    top: -12px;
    left: var(--space-lg);
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}
.deliverable-card.is-lead { border-width: 2px; border-color: var(--color-accent); }
.deliverable-card.is-lead .deliverable-number { background: var(--color-accent-hover); }
.deliverable-card h3 { margin-bottom: var(--space-sm); margin-top: 0.25rem; }
.deliverable-card .deliverable-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(231,76,60,0.1);
    color: var(--color-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}
.deliverable-card.is-lead .deliverable-icon { background: rgba(231,76,60,0.18); }
.deliverable-card p { color: var(--color-text); font-size: 0.9375rem; line-height: 1.6; }

.contact-cards { display: grid; gap: var(--space-md); }
.contact-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}
.contact-card .icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    background: rgba(231,76,60,0.15);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
}
.contact-card h4 { color: var(--color-white); margin-bottom: 0.25rem; }
.contact-card p, .contact-card a { color: rgba(255,255,255,0.85); font-size: 0.9375rem; }
.contact-card a { font-weight: 600; }
.contact-card a:hover { color: var(--color-accent); }

/* ==========================================================================
   Emergency banner
   ========================================================================== */
.emergency-banner {
    background: var(--color-emergency);
    color: var(--color-white);
    padding: 0.75rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: center;
}
.emergency-banner a { color: var(--color-white); font-weight: 700; text-decoration: underline; }
.emergency-banner i { margin-right: 0.375rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: var(--color-bg-dark);
    color: rgba(255,255,255,0.75);
    padding: var(--space-xl) 0 var(--space-lg);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}
.site-footer h4 { color: var(--color-white); font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-md); }
.site-footer ul li { margin-bottom: 0.5rem; }
.site-footer ul li a { color: rgba(255,255,255,0.75); font-size: 0.9375rem; }
.site-footer ul li a:hover { color: var(--color-accent); }
.site-footer .logo { color: var(--color-white); margin-bottom: var(--space-md); }
.site-footer .logo small { color: rgba(255,255,255,0.6); }
.footer-tagline { font-size: 0.9375rem; margin-bottom: var(--space-md); max-width: 32ch; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.9375rem; }
.footer-contact-item i { color: var(--color-accent); }
.footer-legal {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: var(--space-md);
}
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-legal-links li { margin: 0; }
.footer-legal-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.875rem;
    text-decoration: underline;
}
.footer-legal-links a:hover { color: var(--color-accent); }
.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.875rem;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumbs {
    padding: var(--space-md) 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    font-size: 0.875rem;
    color: var(--color-text-light);
}
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.breadcrumbs li::after { content: '/'; margin-left: 0.5rem; color: var(--color-text-light); }
.breadcrumbs li:last-child::after { content: ''; }
.breadcrumbs a { color: var(--color-primary); font-weight: 500; }
.breadcrumbs li:last-child { color: var(--color-text); font-weight: 500; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
    .split, .lead-form-wrap, .owner-block { grid-template-columns: 1fr; }
    .owner-block { text-align: center; justify-items: center; }
    .owner-block .avatar { margin: 0 auto; }
}
@media (max-width: 900px) {
    /* Compact header for mobile */
    .header-inner {
        gap: 0.5rem;
        padding: 0.6rem 0;
    }
    .logo-img { height: 50px; width: auto; max-height: 50px; }

    /* Nav: hidden off-screen, opens as full-width panel */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        padding: 1rem 1.25rem 1.5rem;
        border-top: 2px solid var(--color-primary);
        border-bottom: 1px solid var(--color-border);
        gap: 0.25rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        z-index: 250;
    }
    .main-nav.is-open { display: flex; }
    .nav-link { width: 100%; padding: 0.65rem 0.875rem; border-radius: 6px; font-size: 1rem; }

    /* Services accordion on mobile */
    .nav-dropdown { width: 100%; }
    .nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 0.65rem 0.875rem;
        border-radius: 6px;
        font-size: 1rem;
    }
    .nav-dropdown-menu {
        position: static !important;
        transform: none !important;
        min-width: 0 !important;
        width: 100%;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--color-primary);
        border-radius: 0 !important;
        padding: 0.25rem 0 0.25rem 1rem;
        background: #f9f9fb;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
        display: none !important;
        animation: none !important;
    }
    .nav-dropdown.is-open .nav-dropdown-menu {
        display: flex !important;
        flex-direction: column;
    }
    .nav-dropdown-menu a { padding: 0.5rem 0.875rem; font-size: 0.95rem; white-space: normal; }

    /* Phone CTA: show compact "Call Now" */
    .header-cta { flex-shrink: 0; }
    .cta-phone-text { display: none; }
    .btn-cta { padding: 0.5rem 0.875rem; font-size: 0.875rem; }

    /* Show hamburger */
    .nav-toggle { display: flex !important; flex-shrink: 0; }

    /* General responsive fixes */
    .section { padding: var(--space-xl) 0; }
    .form-row-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .split, .lead-form-wrap, .owner-block { grid-template-columns: 1fr; }
    .owner-block { text-align: center; justify-items: center; }
    .owner-block .avatar { margin: 0 auto; }
}
@media (max-width: 480px) {
    .container { padding: 0 var(--space-md); }
    .hero { padding: var(--space-xl) 0; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .logo-img { height: 44px; width: 44px; max-height: 44px; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
    .site-header, .site-footer, .lead-section, .emergency-banner { display: none; }
}
