/*
Theme Name: Express Locksmith Theme
Theme URI: https://www.express-locksmith.services
Author: Express Locksmith Services
Description: Workshop Ticket theme for Express Locksmith Services. Fixed sidebar layout with asymmetric content, typewriter/forms aesthetic. Works with the Locksmith Developer Plugin.
Version: 1.0.0
Text Domain: express-locksmith
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    /* Primary — Navy */
    --primary: #1a2b47;
    --on-primary: #ffffff;
    --primary-container: #2c4568;
    --on-primary-container: #d6e2f2;
    --on-primary-fixed: #ffffff;
    --on-primary-fixed-variant: #d6e2f2;
    --primary-fixed: #d6e2f2;
    --primary-fixed-dim: #7a95bb;
    --inverse-primary: #7a95bb;

    /* Secondary */
    --secondary: #5a6069;
    --on-secondary: #ffffff;
    --secondary-container: #e8eaed;
    --on-secondary-container: #5a6069;
    --secondary-fixed: #e8eaed;
    --secondary-fixed-dim: #c4c8ce;
    --on-secondary-fixed: #2d3239;
    --on-secondary-fixed-variant: #464c54;

    /* Tertiary — Red stamp */
    --tertiary: #c0392b;
    --on-tertiary: #ffffff;
    --tertiary-container: #e74c3c;
    --on-tertiary-container: #fef2f2;
    --tertiary-fixed: #fed7d0;
    --tertiary-fixed-dim: #f5b7ad;
    --on-tertiary-fixed: #6d2017;
    --on-tertiary-fixed-variant: #8b2818;

    /* Error */
    --error: #c0392b;
    --on-error: #ffffff;
    --error-container: #fef2f2;
    --on-error-container: #6d2017;

    /* Surface — warm near-white "paper" */
    --surface: #f5f1e8;
    --on-surface: #1a1a1a;
    --on-surface-variant: #555045;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #ede7d9;
    --surface-container: #e3dcc8;
    --surface-container-high: #d4cbb0;
    --surface-container-highest: #c2b892;
    --surface-dim: #a69e78;
    --surface-bright: #f5f1e8;
    --surface-variant: #e3dcc8;
    --surface-tint: #1a2b47;
    --inverse-surface: #1a1a1a;
    --inverse-on-surface: #f5f1e8;

    /* Outline */
    --outline: #8b7e5a;
    --outline-variant: #c2b892;

    /* Background */
    --background: #f5f1e8;
    --on-background: #1a1a1a;

    /* Fonts — Typewriter mono + editorial serif */
    --font-mono: 'JetBrains Mono', 'Courier Prime', 'Courier New', monospace;
    --font-headline: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Lora', Georgia, 'Times New Roman', serif;

    /* Layout */
    --sidebar-w: 280px;
    --max-content-w: 1100px;
    --px: 2.5rem;

    /* Radius — Zero/minimal (industrial) */
    --radius-sm: 0;
    --radius-md: 0;
    --radius-lg: 2px;
    --radius-xl: 2px;
    --radius-2xl: 3px;
    --radius-3xl: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body); color: var(--on-surface);
    background: var(--surface); line-height: 1.7; font-size: 16px;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-headline); line-height: 1.15; }
::selection { background: var(--tertiary); color: #fff; }

/* ============================================================
   APP SHELL — Fixed sidebar + scrollable main content
   ============================================================ */
.app-shell {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
}

.site-sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: var(--sidebar-w); background: var(--primary); color: #fff;
    display: flex; flex-direction: column; z-index: 50;
    overflow-y: auto; overflow-x: hidden;
    border-right: 4px solid var(--tertiary);
}
.site-sidebar::-webkit-scrollbar { width: 4px; }
.site-sidebar::-webkit-scrollbar-track { background: var(--primary); }
.site-sidebar::-webkit-scrollbar-thumb { background: var(--primary-container); }

.site-main {
    grid-column: 2; min-width: 0;
    padding-bottom: 3rem;
}

/* SIDEBAR: Logo block */
.sidebar-logo {
    padding: 1.75rem 1.5rem 1.5rem;
    border-bottom: 1px dashed rgba(255,255,255,0.15);
    text-align: center;
}
.sidebar-logo img { max-height: 48px; width: auto; margin: 0 auto 0.5rem; filter: brightness(0) invert(1); }
.sidebar-logo-text {
    font-family: var(--font-headline); font-size: 1.375rem;
    font-weight: 700; color: #fff; line-height: 1.15; letter-spacing: -0.01em;
}
.sidebar-logo-tag {
    display: block; font-family: var(--font-mono); font-size: 0.625rem;
    font-weight: 400; text-transform: uppercase; letter-spacing: 0.25em;
    color: var(--tertiary-fixed-dim); margin-top: 0.5rem;
}

/* SIDEBAR: Status display (open/closed, date) */
.sidebar-status {
    margin: 1rem 1.5rem;
    padding: 0.875rem;
    border: 1px dashed rgba(255,255,255,0.2);
    font-family: var(--font-mono); font-size: 0.6875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}
.sidebar-status-row { display: flex; justify-content: space-between; align-items: center; }
.sidebar-status-label { letter-spacing: 0.05em; }
.sidebar-status-value { color: #fff; font-weight: 700; letter-spacing: 0.02em; }
.sidebar-status-value.open { color: #a7f3d0; }
.sidebar-status-value.open::before { content: '● '; color: #a7f3d0; }

/* SIDEBAR: Navigation */
.sidebar-nav {
    flex: 1; padding: 0.75rem 0; display: flex; flex-direction: column;
}
.sidebar-nav-section {
    padding: 0.75rem 1.5rem 0.25rem;
    font-family: var(--font-mono); font-size: 0.6rem;
    color: rgba(255,255,255,0.4); text-transform: uppercase;
    letter-spacing: 0.2em;
}
.sidebar-nav a {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.625rem 1.5rem; color: rgba(255,255,255,0.75);
    font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
    border-left: 3px solid transparent;
    transition: all 0.15s ease;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,255,255,0.06); color: #fff;
    border-left-color: var(--tertiary);
}
.sidebar-nav a .material-symbols-outlined {
    font-size: 1.125rem; color: var(--tertiary-fixed-dim); flex-shrink: 0;
}
.sidebar-nav a:hover .material-symbols-outlined,
.sidebar-nav a.active .material-symbols-outlined { color: var(--tertiary-container); }

/* SIDEBAR: Phone CTA block at bottom */
.sidebar-phone {
    margin: 1rem 1.25rem 1.25rem;
    padding: 1.25rem;
    background: var(--tertiary);
    color: #fff;
    position: relative;
}
.sidebar-phone::before, .sidebar-phone::after {
    content: ''; position: absolute; width: 10px; height: 10px;
    border: 2px solid rgba(255,255,255,0.4);
}
.sidebar-phone::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.sidebar-phone::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.sidebar-phone-label {
    font-family: var(--font-mono); font-size: 0.625rem;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.75); margin-bottom: 0.375rem;
}
.sidebar-phone-number {
    display: block;
    font-family: var(--font-headline); font-size: 1.375rem; font-weight: 700;
    color: #fff; letter-spacing: -0.01em;
}
.sidebar-phone-hours {
    display: block; margin-top: 0.5rem;
    font-family: var(--font-mono); font-size: 0.625rem;
    color: rgba(255,255,255,0.75); letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* SIDEBAR: Social / trust at bottom */
.sidebar-trust {
    padding: 0.875rem 1.5rem 1.5rem;
    border-top: 1px dashed rgba(255,255,255,0.15);
}
.sidebar-trust-label {
    font-family: var(--font-mono); font-size: 0.5625rem;
    color: rgba(255,255,255,0.5); text-transform: uppercase;
    letter-spacing: 0.2em; margin-bottom: 0.625rem;
}
.sidebar-trust-row {
    display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.sidebar-trust-row .material-symbols-outlined {
    font-size: 0.9375rem; color: var(--tertiary-fixed-dim);
}
.sidebar-trust-row > span {
    display: inline-flex; align-items: center; gap: 0.25rem;
    font-family: var(--font-mono); font-size: 0.625rem; color: rgba(255,255,255,0.7);
    letter-spacing: 0.05em;
}

/* ============================================================
   MOBILE — sidebar becomes drawer
   ============================================================ */
.mobile-topbar { display: none; }
.sidebar-close { display: none; }

@media (max-width: 900px) {
    .app-shell { grid-template-columns: 1fr; }
    .site-sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        width: 300px; max-width: 85vw;
    }
    .site-sidebar.open { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,0.3); }
    .site-main { grid-column: 1; }
    .sidebar-close {
        display: flex; position: absolute; top: 1rem; right: 1rem;
        background: rgba(255,255,255,0.1); border: none;
        width: 36px; height: 36px; align-items: center; justify-content: center;
        color: #fff; cursor: pointer;
    }
    .mobile-topbar {
        display: flex; justify-content: space-between; align-items: center;
        padding: 0.875rem 1.25rem;
        background: var(--primary); color: #fff;
        border-bottom: 3px solid var(--tertiary);
        position: sticky; top: 0; z-index: 40;
    }
    .mobile-topbar .m-logo {
        font-family: var(--font-headline); font-size: 1.125rem; font-weight: 700; color: #fff;
    }
    .mobile-topbar .m-actions { display: flex; gap: 0.5rem; align-items: center; }
    .mobile-topbar .m-phone {
        padding: 0.5rem 0.875rem; background: var(--tertiary); color: #fff;
        font-size: 0.8125rem; font-weight: 700;
        display: flex; align-items: center; gap: 0.375rem;
    }
    .mobile-topbar .m-toggle {
        background: rgba(255,255,255,0.1); border: none; width: 40px; height: 40px;
        display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer;
    }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    max-width: var(--max-content-w); margin: 0 auto;
    padding-left: var(--px); padding-right: var(--px);
}
@media (max-width: 640px) { :root { --px: 1.25rem; } }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-mono { font-family: var(--font-mono); }
.font-headline { font-family: var(--font-headline); }
.font-body { font-family: var(--font-body); }

.prose-content h2 { font-family: var(--font-headline); font-size: 1.625rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--primary); }
.prose-content h3 { font-family: var(--font-headline); font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; }
.prose-content h4 { font-family: var(--font-headline); font-size: 1.0625rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.prose-content p { margin: 0 0 1.25rem; }
.prose-content ul, .prose-content ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
.prose-content li { margin-bottom: 0.5rem; }
.prose-content strong { color: var(--on-surface); font-weight: 700; }
.prose-content a { color: var(--tertiary); text-decoration: underline; text-underline-offset: 3px; }
.prose-content blockquote { border-left: 4px double var(--tertiary); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--surface-container-low); font-style: italic; }

.text-display { font-family: var(--font-headline); font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 700; letter-spacing: -0.015em; line-height: 1.05; }
.text-h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.1; }
.text-h2 { font-size: clamp(1.625rem, 3vw, 2.375rem); font-weight: 700; line-height: 1.15; }
.text-h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; line-height: 1.25; }
.text-h4 { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); font-weight: 600; line-height: 1.3; }
.text-body-lg { font-size: 1.125rem; line-height: 1.8; }
.text-body { font-size: 1rem; line-height: 1.7; }
.text-sm { font-size: 0.875rem; line-height: 1.6; }
.text-xs { font-size: 0.75rem; line-height: 1.5; }

.text-label {
    font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 400;
    text-transform: uppercase; letter-spacing: 0.2em; color: var(--on-surface-variant);
}
.text-stamp {
    font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
}

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.font-black { font-weight: 900; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }
.text-primary { color: var(--primary); }
.text-primary-container { color: var(--primary-container); }
.text-on-surface { color: var(--on-surface); }
.text-on-surface-variant { color: var(--on-surface-variant); }
.text-tertiary { color: var(--tertiary); }
.text-white { color: #fff; }
.bg-surface { background: var(--surface); }
.bg-surface-container { background: var(--surface-container); }
.bg-surface-container-low { background: var(--surface-container-low); }
.bg-surface-container-lowest { background: var(--surface-container-lowest); }
.bg-surface-container-high { background: var(--surface-container-high); }
.bg-on-surface { background: var(--on-surface); }
.bg-primary-container { background: var(--primary-container); }

/* ============================================================
   WORKSHOP TICKET — signature component for headers
   Looks like a carbon-paper work order with ruled header
   ============================================================ */
.ticket-header {
    border-top: 3px solid var(--primary);
    border-bottom: 3px solid var(--primary);
    padding: 1.125rem 0;
    margin: 2.5rem 0 2rem;
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--on-surface-variant);
    letter-spacing: 0.2em; text-transform: uppercase;
    display: flex; justify-content: space-between; align-items: center;
    gap: 1.5rem;
}
.ticket-header::before, .ticket-header::after {
    content: '';
    flex: 1; max-width: 60px; height: 1px;
    background: var(--outline-variant);
}
.ticket-stamp {
    display: inline-block; padding: 0.25rem 0.625rem;
    border: 2px solid var(--tertiary); color: var(--tertiary);
    font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.2em;
    transform: rotate(-2deg);
}

/* ============================================================
   BUTTONS — Industrial, no rounded corners
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-family: var(--font-body); font-weight: 700; letter-spacing: 0.02em;
    border: none; cursor: pointer; transition: all 0.15s ease; text-decoration: none;
    font-size: 0.9375rem; padding: 0.875rem 1.75rem;
    position: relative;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #0f1d33; }
.btn-dark { background: var(--on-surface); color: #fff; }
.btn-dark:hover { background: #2d3748; }
.btn-outline {
    background: transparent; color: var(--primary);
    box-shadow: inset 0 0 0 2px var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-phone { background: var(--tertiary); color: #fff; }
.btn-phone:hover { background: #8b2818; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* ============================================================
   INDEX CARDS — for services (Rolodex-style)
   ============================================================ */
.index-card {
    background: #fff;
    border: 1px solid var(--outline-variant);
    border-top: 3px solid var(--tertiary);
    padding: 1.5rem 1.5rem 1.5rem;
    position: relative;
    transition: all 0.2s ease;
    display: flex; flex-direction: column;
    min-height: 220px;
}
.index-card::before {
    /* Corner tab with service number */
    content: attr(data-num);
    position: absolute; top: -1px; right: -1px;
    background: var(--tertiary); color: #fff;
    padding: 0.25rem 0.625rem;
    font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.1em;
}
.index-card::after {
    /* Punch-hole at top */
    content: ''; position: absolute; top: 12px; left: 20px;
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--outline-variant);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}
.index-card:hover {
    border-color: var(--primary); transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.index-card-icon {
    margin-top: 1.25rem; margin-bottom: 1rem;
    width: 2.5rem; height: 2.5rem;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.index-card-icon .material-symbols-outlined { font-size: 1.75rem; }
.index-card-title {
    font-family: var(--font-headline); font-size: 1.1875rem; font-weight: 700;
    color: var(--on-surface); line-height: 1.2; margin-bottom: 0.5rem;
}
.index-card-desc {
    font-size: 0.875rem; color: var(--on-surface-variant);
    line-height: 1.65; flex: 1; margin-bottom: 0.875rem;
}
.index-card-hours {
    font-family: var(--font-mono); font-size: 0.6875rem;
    color: var(--tertiary); letter-spacing: 0.1em;
    text-transform: uppercase; padding-top: 0.625rem;
    border-top: 1px dashed var(--outline-variant);
    margin-bottom: 0.875rem;
}
.index-card-cta {
    font-family: var(--font-body); font-weight: 700; font-size: 0.8125rem;
    color: var(--primary); display: inline-flex; align-items: center; gap: 0.25rem;
    text-transform: uppercase; letter-spacing: 0.08em;
}
.index-card:hover .index-card-cta { color: var(--tertiary); }

/* ============================================================
   INDEX CARD CAROUSEL — horizontal scroll
   ============================================================ */
.card-rack {
    display: grid; grid-auto-flow: column;
    grid-auto-columns: 280px; gap: 1rem;
    overflow-x: auto; padding-bottom: 1.25rem;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--px);
    margin: 0 calc(-1 * var(--px));
    padding-left: var(--px); padding-right: var(--px);
}
.card-rack > * { scroll-snap-align: start; }
.card-rack::-webkit-scrollbar { height: 6px; }
.card-rack::-webkit-scrollbar-track { background: var(--surface-container-low); }
.card-rack::-webkit-scrollbar-thumb { background: var(--primary); }

/* ============================================================
   SERVICE REQUEST SLIP — form styled as work-order ticket
   ============================================================ */
.work-order {
    background: #fff;
    border: 1px solid var(--primary);
    padding: 0; position: relative;
}
.work-order-head {
    background: var(--primary); color: #fff;
    padding: 0.875rem 1.25rem;
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-mono); font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 0.2em;
}
.work-order-head .wo-num {
    font-family: var(--font-mono); font-size: 0.6875rem;
    color: var(--tertiary-fixed-dim);
}
.work-order-body { padding: 1.5rem; }
.work-order-title {
    font-family: var(--font-headline); font-size: 1.375rem; font-weight: 700;
    color: var(--primary); margin-bottom: 0.25rem; line-height: 1.2;
}
.work-order-sub {
    font-family: var(--font-mono); font-size: 0.6875rem;
    color: var(--on-surface-variant); text-transform: uppercase;
    letter-spacing: 0.15em; margin-bottom: 1.25rem;
}
.work-order-body .ldp-form label {
    font-family: var(--font-mono); font-size: 0.6875rem;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: var(--on-surface-variant); display: block; margin-bottom: 0.25rem;
}
.work-order-foot {
    padding: 0.75rem 1.25rem;
    border-top: 1px dashed var(--outline-variant);
    font-family: var(--font-mono); font-size: 0.625rem;
    color: var(--on-surface-variant); text-transform: uppercase;
    letter-spacing: 0.15em; display: flex; justify-content: space-between;
}

/* ============================================================
   FORMS
   ============================================================ */
.ldp-form input, .ldp-form select, .ldp-form textarea {
    width: 100%; padding: 0.75rem 1rem;
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant); border-radius: 0;
    font-family: var(--font-body); font-size: 1rem; color: var(--on-surface);
    transition: border-color 0.2s; outline: none;
}
.ldp-form input:focus, .ldp-form select:focus, .ldp-form textarea:focus {
    border-color: var(--primary); background: #fff;
    box-shadow: inset 0 0 0 1px var(--primary);
}
.ldp-form input::placeholder, .ldp-form textarea::placeholder {
    color: var(--on-surface-variant); opacity: 0.5;
}

/* ============================================================
   TALLY STATS — |||| |||| || style
   ============================================================ */
.tally-board {
    background: var(--primary); color: #fff;
    padding: 2rem; display: grid;
    grid-template-columns: repeat(3, 1fr); gap: 0;
    border: 1px solid var(--primary); position: relative;
}
.tally-board::before {
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px; bottom: -1px;
    border: 3px double rgba(255,255,255,0.2); pointer-events: none;
}
.tally {
    padding: 0 1.25rem; border-right: 1px dashed rgba(255,255,255,0.2);
    text-align: center;
}
.tally:last-child { border-right: none; }
.tally-label {
    font-family: var(--font-mono); font-size: 0.625rem;
    text-transform: uppercase; letter-spacing: 0.2em;
    color: rgba(255,255,255,0.6); margin-bottom: 0.625rem;
}
.tally-value {
    font-family: var(--font-headline); font-size: 2.5rem; font-weight: 700;
    color: #fff; line-height: 1; letter-spacing: -0.01em;
}
.tally-unit {
    display: block; margin-top: 0.375rem;
    font-family: var(--font-mono); font-size: 0.625rem;
    color: var(--tertiary-fixed-dim); letter-spacing: 0.15em;
    text-transform: uppercase;
}
@media (max-width: 640px) {
    .tally-board { grid-template-columns: 1fr; gap: 1.25rem; }
    .tally { border-right: none; border-bottom: 1px dashed rgba(255,255,255,0.2); padding-bottom: 1.25rem; }
    .tally:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ============================================================
   DIRECTORY LIST — areas/locations
   ============================================================ */
.directory {
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    font-family: var(--font-mono);
}
.directory-row {
    display: grid;
    grid-template-columns: 60px 1fr 1fr auto;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px dotted var(--outline-variant);
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    align-items: center;
    color: var(--on-surface);
}
.directory-row:last-child { border-bottom: none; }
.directory-row:hover { background: var(--surface-container-low); }
.directory-row .dir-state {
    font-weight: 700; color: var(--tertiary);
    letter-spacing: 0.15em;
}
.directory-row .dir-city {
    font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600;
    color: var(--on-surface); letter-spacing: 0;
}
.directory-row .dir-phone {
    color: var(--on-surface-variant); font-weight: 600;
}
.directory-row .dir-hours {
    color: var(--primary); font-weight: 700; font-size: 0.6875rem;
    padding: 0.125rem 0.5rem; border: 1px solid currentColor;
    text-transform: uppercase; letter-spacing: 0.1em;
}
@media (max-width: 640px) {
    .directory-row { grid-template-columns: 50px 1fr auto; }
    .directory-row .dir-phone { display: none; }
}

/* ============================================================
   FAQ ACCORDION — Q&A letter markers
   ============================================================ */
.faq-item {
    background: #fff; border: 1px solid var(--outline-variant);
    padding: 1.25rem 1.5rem; margin-bottom: -1px; transition: all 0.2s;
}
.faq-item[open] {
    border-color: var(--primary); border-left: 3px solid var(--tertiary);
    background: var(--surface-container-low); position: relative; z-index: 1;
}
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-headline); font-weight: 700; font-size: 1.0625rem;
    cursor: pointer; list-style: none; color: var(--on-surface); gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform 0.2s; color: var(--tertiary); }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .faq-answer { margin-top: 1rem; color: var(--on-surface-variant); line-height: 1.8; }
.faq-item .faq-q-mark, .faq-item .faq-a-mark {
    font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700;
    color: var(--tertiary); letter-spacing: 0.15em;
    padding: 0.125rem 0.375rem; border: 1px solid var(--tertiary);
    flex-shrink: 0;
}
.faq-item .faq-a-mark { color: var(--primary); border-color: var(--primary); }

/* ============================================================
   SECTIONS / SPACING (main content)
   ============================================================ */
.section { padding: 4rem 0; }
.section-sm { padding: 2.5rem 0; }
.section-lg { padding: 6rem 0; }

/* ============================================================
   AVAILABILITY DOT
   ============================================================ */
.availability-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
}
.pulse-dot { position: relative; display: inline-flex; width: 0.5625rem; height: 0.5625rem; }
.pulse-dot::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: var(--dot-color, #c0392b); opacity: 0.75;
    animation: pulse-ring 2s infinite;
}
.pulse-dot::after {
    content: ''; position: relative; display: inline-flex;
    width: 0.5625rem; height: 0.5625rem; border-radius: 50%;
    background: var(--dot-color, #c0392b);
}
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(192,57,43,0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(0,0,0,0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
.availability-badge .badge-text {
    font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 700;
    color: var(--on-surface); text-transform: uppercase; letter-spacing: 0.15em;
}

/* ============================================================
   CARDS — regular cards used throughout inner pages
   ============================================================ */
.card {
    background: #fff; padding: 1.75rem;
    border: 1px solid var(--outline-variant);
    position: relative; transition: all 0.2s ease;
}
.card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.card-icon {
    width: 2.75rem; height: 2.75rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1rem; color: var(--primary);
    border: 2px solid var(--primary);
}
.card-icon .material-symbols-outlined { font-size: 1.375rem; color: var(--primary); }
.card-border-primary { border-top: 3px solid var(--primary); }
.card-border-tertiary { border-top: 3px solid var(--tertiary); }
.card-border-dark { border-top: 3px solid var(--on-surface); }
.card-dark { background: var(--primary); color: #fff; border: none; border-top: 3px solid var(--tertiary); }
.card-dark p { color: rgba(255,255,255,0.8); }
.card-dark .card-icon { border-color: var(--tertiary-container); color: var(--tertiary-container); }
.card-dark .card-icon .material-symbols-outlined { color: var(--tertiary-container); }

/* ============================================================
   CTA RIBBON — Red banner with ticket-style feel
   ============================================================ */
.cta-ribbon {
    background: var(--tertiary); color: #fff;
    padding: 2.25rem 0;
    position: relative;
    border-top: 4px solid rgba(255,255,255,0.15);
    border-bottom: 4px solid rgba(255,255,255,0.15);
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.02) 20px, rgba(255,255,255,0.02) 40px);
}
.cta-ribbon .cta-inner {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 1.5rem;
}

/* ============================================================
   NEARBY PILLS — Stamp style
   ============================================================ */
.nearby-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nearby-pill {
    padding: 0.375rem 0.875rem;
    background: #fff; border: 1px solid var(--outline-variant);
    border-left: 3px solid var(--tertiary);
    font-family: var(--font-mono); font-size: 0.75rem;
    font-weight: 700; color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.1em;
    transition: all 0.15s;
}
.nearby-pill:hover {
    background: var(--primary); color: #fff;
    border-left-color: var(--tertiary-container);
}

/* ============================================================
   FOOTER — minimal single row since sidebar carries most info
   ============================================================ */
.site-footer {
    background: var(--primary); color: rgba(255,255,255,0.65);
    padding: 2rem 0;
    border-top: 4px solid var(--tertiary);
    font-family: var(--font-mono); font-size: 0.75rem;
    letter-spacing: 0.08em;
}
.site-footer .container {
    display: flex; flex-wrap: wrap; justify-content: space-between;
    align-items: center; gap: 1rem;
}
.site-footer a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.site-footer a:hover { color: var(--tertiary-fixed-dim); }
.site-footer .footer-links {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
}

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   BRAND LOGOS MARQUEE (for contact/service pages)
   ============================================================ */
.brand-scroll-wrap { overflow: hidden; position: relative; }
.brand-scroll-wrap::before, .brand-scroll-wrap::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 3rem; z-index: 2; pointer-events: none;
}
.brand-scroll-wrap::before { left: 0; background: linear-gradient(to right, #1a1a1a, transparent); }
.brand-scroll-wrap::after { right: 0; background: linear-gradient(to left, #1a1a1a, transparent); }
.brand-scroll {
    display: flex; gap: 3rem; align-items: center;
    animation: brandScroll 25s linear infinite; width: max-content;
}
.brand-scroll:hover { animation-play-state: paused; }
@keyframes brandScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   NAV DROPDOWN (for sub-services in sidebar)
   ============================================================ */
.sidebar-submenu {
    padding-left: 2rem; display: none;
}
.sidebar-submenu.open { display: block; }
.sidebar-submenu a {
    padding: 0.45rem 1.5rem; font-size: 0.825rem;
    color: rgba(255,255,255,0.55);
    border-left: 2px solid rgba(255,255,255,0.1);
}
.sidebar-submenu a:hover { color: #fff; border-left-color: var(--tertiary); }

/* ============================================================
   MATERIAL SYMBOLS
   ============================================================ */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block; line-height: 1; text-transform: none;
    letter-spacing: normal; word-wrap: normal; white-space: nowrap; direction: ltr;
}
.icon-filled { font-variation-settings: 'FILL' 1; }

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
    body { padding-bottom: 0; }
    .section { padding: 3rem 0; }
    input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select { font-size: 16px !important; }
    .ticket-header { flex-direction: column; gap: 0.5rem; }
    .ticket-header::before, .ticket-header::after { display: none; }
    .contact-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .text-display { font-size: 2.25rem !important; }
    .hero-2col { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .hero-3col { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
    .asym-60-40, .asym-40-60 { grid-template-columns: 1fr !important; gap: 2rem !important; }
    div[style*="grid-template-columns"][style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-sidebar, .mobile-topbar, .site-footer, .cta-ribbon { display: none; }
    .site-main { grid-column: 1 / -1; }
    body { font-size: 12pt; color: #000; background: #fff; }
    .app-shell { grid-template-columns: 1fr; }
}
