/*
Theme Name: 247 Locksmith Near Me Theme
Theme URI: https://www.247locksmithnearme.com
Author: 247 Locksmith Near Me
Description: Custom high-performance theme for 247 Locksmith Near Me. Deep navy and electric blue design with modern rounded aesthetics. Works with the Locksmith Developer Plugin.
Version: 1.0.0
Text Domain: 247-locksmith
Requires at least: 6.0
Requires PHP: 7.4
*/

/* ============================================================
   DESIGN SYSTEM — Navy + Electric Blue
   Fonts: DM Sans (headlines) + Inter (body)
   ============================================================ */
:root {
    /* Primary — Electric Blue */
    --primary: #1a6ddb;
    --on-primary: #ffffff;
    --primary-container: #3b82f6;
    --on-primary-container: #002966;
    --on-primary-fixed: #001a40;
    --on-primary-fixed-variant: #0050c8;
    --primary-fixed: #d4e3ff;
    --primary-fixed-dim: #a4c4ff;
    --inverse-primary: #a4c4ff;

    /* Secondary — Vibrant Orange */
    --secondary: #ff6500;
    --on-secondary: #ffffff;
    --secondary-container: #ff8533;
    --on-secondary-container: #4d1e00;
    --secondary-fixed: #ffdcc7;
    --secondary-fixed-dim: #ffb380;
    --on-secondary-fixed: #2b1100;
    --on-secondary-fixed-variant: #cc5100;

    /* Tertiary — Green for availability/trust */
    --tertiary: #10b981;
    --on-tertiary: #ffffff;
    --tertiary-container: #34d399;
    --on-tertiary-container: #065f46;
    --tertiary-fixed: #a7f3d0;
    --tertiary-fixed-dim: #6ee7b7;
    --on-tertiary-fixed: #022c22;
    --on-tertiary-fixed-variant: #047857;

    /* Error */
    --error: #dc2626;
    --on-error: #ffffff;
    --error-container: #fee2e2;
    --on-error-container: #991b1b;

    /* Surface — Clean whites with blue tint */
    --surface: #f8fafc;
    --on-surface: #0f172a;
    --on-surface-variant: #475569;
    --surface-container-lowest: #ffffff;
    --surface-container-low: #f1f5f9;
    --surface-container: #e2e8f0;
    --surface-container-high: #cbd5e1;
    --surface-container-highest: #94a3b8;
    --surface-dim: #e2e8f0;
    --surface-bright: #f8fafc;
    --surface-variant: #e2e8f0;
    --surface-tint: #1a6ddb;
    --inverse-surface: #1e293b;
    --inverse-on-surface: #f1f5f9;

    /* Outline */
    --outline: #64748b;
    --outline-variant: #cbd5e1;

    /* Background */
    --background: #f8fafc;
    --on-background: #0f172a;

    /* Fonts */
    --font-headline: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --max-w: 1280px;
    --px: 1.5rem;

    /* Radius — More rounded than reference */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.625rem;
    --radius-xl: 0.875rem;
    --radius-2xl: 1.25rem;
    --radius-3xl: 1.75rem;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--on-surface);
    background: var(--surface);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    width: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.site-footer, .hero, section, .container:not(.header-inner), .mobile-nav {
    max-width: 100vw;
    overflow-x: hidden;
}
.site-header .header-inner {
    overflow: visible !important;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-headline); line-height: 1.15; }
::selection { background: var(--primary-container); color: #fff; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding-left: var(--px); padding-right: var(--px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.font-headline { font-family: var(--font-headline); }
.prose-content h2 { font-family: var(--font-headline); font-size: 1.375rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--on-surface); }
.prose-content h3 { font-family: var(--font-headline); font-size: 1.125rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--on-surface); }
.prose-content h4 { font-family: var(--font-headline); font-size: 1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--on-surface); }
.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(--primary); text-decoration: underline; text-underline-offset: 2px; }
.prose-content a:hover { color: var(--primary-container); }
.prose-content blockquote { border-left: 3px solid var(--primary-container); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--surface-container-low); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.font-body { font-family: var(--font-body); }
.text-display { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.text-h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.text-h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.15; }
.text-h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.2; }
.text-h4 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); font-weight: 700; line-height: 1.3; }
.text-body-lg { font-size: 1.125rem; line-height: 1.7; }
.text-body { font-size: 1rem; line-height: 1.6; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-xs { font-size: 0.75rem; line-height: 1.4; }
.text-label {
    font-family: var(--font-body);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.02em; }
.tracking-wide { letter-spacing: 0.05em; }
.italic { font-style: italic; }
.font-black { font-weight: 900; }
.font-extrabold { font-weight: 800; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

/* ============================================================
   COLORS
   ============================================================ */
.text-primary { color: var(--primary); }
.text-primary-container { color: var(--primary-container); }
.text-secondary { color: var(--secondary); }
.text-secondary-container { color: var(--secondary-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); }

/* ============================================================
   BUTTONS — Pill-shaped, modern
   ============================================================ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    font-family: var(--font-headline); font-weight: 700;
    letter-spacing: 0.01em; border: none; cursor: pointer;
    transition: all 0.2s ease; text-decoration: none;
    border-radius: 9999px;
}
.btn-primary {
    background: var(--primary-container); color: #fff;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 14px rgba(59,130,246,0.35);
}
.btn-primary:hover { background: #2563eb; box-shadow: 0 8px 24px rgba(59,130,246,0.4); transform: translateY(-1px); }
.btn-dark {
    background: var(--on-surface); color: #fff;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
}
.btn-dark:hover { background: #1e3a5f; }
.btn-outline {
    background: transparent; border: 2px solid var(--primary-container);
    color: var(--primary-container); padding: 0.875rem 2rem;
    font-size: 0.875rem;
}
.btn-outline:hover { background: var(--primary-container); color: #fff; }
.btn-phone {
    background: var(--secondary); color: #fff;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 14px rgba(255,101,0,0.3);
}
.btn-phone:hover { background: #e55a00; box-shadow: 0 8px 24px rgba(255,101,0,0.35); transform: translateY(-1px); }
.btn-secondary {
    background: var(--secondary); color: #fff;
    padding: 0.875rem 2rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 14px rgba(255,101,0,0.3);
}
.btn-secondary:hover { background: #e55a00; box-shadow: 0 8px 24px rgba(255,101,0,0.35); transform: translateY(-1px); }
.btn-lg { padding: 1.25rem 3rem; font-size: 1.125rem; }

/* ============================================================
   HEADER — Clean white with blue accents
   ============================================================ */
.site-header {
    position: sticky; top: 0; width: 100%; z-index: 50;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15,23,42,0.06);
    overflow: visible;
}
.site-header .header-inner {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.875rem var(--px); max-width: var(--max-w); margin: 0 auto; gap: 1.5rem;
}
.site-header .site-logo {
    font-family: var(--font-headline); font-size: 1.25rem; font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--on-surface); flex-shrink: 0;
}
.site-header .site-logo img { height: 40px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 2rem; flex-shrink: 1; min-width: 0; }
.site-header nav > a,
.site-header nav > .nav-dropdown-wrap > a {
    font-family: var(--font-headline); font-weight: 600; font-size: 0.8125rem;
    color: var(--on-surface-variant);
    transition: color 0.2s; white-space: nowrap;
}
.site-header nav > a:hover, .site-header nav > a.active,
.site-header nav > .nav-dropdown-wrap:hover > a {
    color: var(--primary-container);
}
.site-header nav > a.active { border-bottom: 2px solid var(--primary-container); color: var(--primary); }
.nav-dropdown-wrap { position: relative; }
.header-search { flex-shrink: 1; min-width: 0; }
.header-phone {
    display: flex; flex-direction: column; align-items: flex-end; flex-shrink: 0;
}
.header-phone .phone-label { font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--secondary); }
.header-phone .phone-number { font-family: var(--font-headline); font-size: 1.125rem; font-weight: 800; color: var(--on-surface); }
.header-actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--on-surface); }
.menu-toggle .material-symbols-outlined { font-size: 1.75rem; }

@media (max-width: 1200px) {
    .header-cta-btn { display: none !important; }
}
@media (max-width: 900px) {
    .site-header nav { display: none; }
    .header-search { display: none !important; }
    .header-phone { display: none !important; }
    .menu-toggle { display: block; }
}
@media (max-width: 768px) {
    .header-actions .btn { display: none !important; }
    .header-search { display: none !important; }
    .header-phone { display: none !important; }
    .site-header nav { display: none !important; }
    .site-header .header-inner { gap: 0.75rem; padding: 0.75rem 1rem; }
}

/* ============================================================
   MOBILE BOTTOM NAV — Navy glass
   ============================================================ */
.mobile-nav {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 50;
    background: rgba(15,23,42,0.95); backdrop-filter: blur(20px);
    padding: 0.75rem 1rem; padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
    justify-content: space-around; align-items: center;
}
.mobile-nav a {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); padding: 0.5rem; text-decoration: none;
    transition: color 0.2s;
}
.mobile-nav a span.nav-label {
    font-family: var(--font-body); font-size: 0.625rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.25rem;
}
.mobile-nav a.active {
    color: var(--primary-container); background: rgba(59,130,246,0.15);
    border-radius: var(--radius-xl); padding: 0.5rem 0.75rem;
}
@media (max-width: 768px) {
    .mobile-nav { display: flex; }
    body { padding-bottom: 5rem; }
    .contact-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
}

/* ============================================================
   AVAILABILITY DOT — Green pulse
   ============================================================ */
.availability-badge {
    display: inline-flex; align-items: center; gap: 0.625rem;
    padding: 0.5rem 1.125rem; border-radius: 9999px;
    background: rgba(16,185,129,0.15); backdrop-filter: blur(12px);
    border: 1px solid rgba(16,185,129,0.2);
}
.pulse-dot {
    position: relative; display: inline-flex; width: 0.625rem; height: 0.625rem;
}
.pulse-dot::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: var(--dot-color, #10b981); opacity: 0.75;
    animation: pulse-ring 2s infinite;
}
.pulse-dot::after {
    content: ''; position: relative; display: inline-flex;
    width: 0.625rem; height: 0.625rem; border-radius: 50%;
    background: var(--dot-color, #10b981);
}
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16,185,129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px 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 {
    color: #fff; font-weight: 700; font-size: 0.6875rem;
    text-transform: uppercase; letter-spacing: 0.1em;
}

/* ============================================================
   CARDS — Soft shadows, rounded
   ============================================================ */
.card {
    background: var(--surface-container-lowest);
    padding: 2rem; border-radius: var(--radius-2xl);
    border: 1px solid var(--outline-variant);
    transition: all 0.25s ease;
}
.card:hover {
    box-shadow: 0 12px 40px rgba(15,23,42,0.08);
    transform: translateY(-3px);
    border-color: var(--primary-container);
}
.card-icon {
    width: 3.5rem; height: 3.5rem; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-xl); margin-bottom: 1.25rem;
    background: rgba(59,130,246,0.08); transition: background 0.25s;
}
.card:hover .card-icon { background: var(--primary-container); }
.card-icon .material-symbols-outlined { font-size: 1.75rem; color: var(--primary); transition: color 0.25s; }
.card:hover .card-icon .material-symbols-outlined { color: #fff; }
.card-border-primary { border-left: 4px solid var(--primary-container); }
.card-border-tertiary { border-left: 4px solid var(--tertiary); }
.card-border-dark { border-left: 4px solid var(--on-surface); }
.card-dark {
    background: var(--on-surface); color: #fff;
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 4px solid var(--secondary);
}
.card-dark p { color: rgba(255,255,255,0.6); }
.card-border-secondary { border-left: 4px solid var(--secondary); }

/* ============================================================
   FORMS
   ============================================================ */
.ldp-form input, .ldp-form select, .ldp-form textarea {
    width: 100%; padding: 0.875rem 1rem;
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-lg);
    font-family: var(--font-body); font-size: 1rem; color: var(--on-surface);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.ldp-form input:focus, .ldp-form select:focus, .ldp-form textarea:focus {
    border-color: var(--primary-container);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.ldp-form input::placeholder, .ldp-form textarea::placeholder {
    color: var(--on-surface-variant); opacity: 0.6;
}

/* ============================================================
   FAQ ACCORDION — Clean borders
   ============================================================ */
.faq-item {
    background: var(--surface-container-lowest);
    border: 1px solid var(--outline-variant);
    border-radius: var(--radius-xl); padding: 1.25rem 1.5rem;
    margin-bottom: 0.75rem; transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--primary-container); background: rgba(59,130,246,0.02); }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-headline); font-weight: 600; font-size: 1.0625rem;
    cursor: pointer; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { transition: transform 0.2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item .faq-answer {
    margin-top: 1rem; color: var(--on-surface-variant); line-height: 1.7;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.section-lg { padding: 8rem 0; }
.section-dark { background: var(--on-surface); color: #fff; }
.section-dark p { color: rgba(255,255,255,0.6); }

/* Hero — gradient overlay */
.hero {
    position: relative; min-height: 600px; display: flex; align-items: center;
    overflow: hidden; padding: 5rem 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.95), rgba(15,23,42,0.7), rgba(15,23,42,0.4));
}
.hero-content { position: relative; z-index: 10; }

/* Trust Bar */
.trust-bar {
    background: var(--surface-container-low); padding: 1.5rem 0; overflow: hidden;
    border-bottom: 1px solid var(--outline-variant);
}
.trust-bar .trust-inner {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 2rem 3rem;
}
.trust-item {
    display: flex; align-items: center; gap: 0.5rem;
    opacity: 0.65; transition: opacity 0.3s;
}
.trust-item:hover { opacity: 1; }
.trust-item span.trust-text { font-size: 0.8125rem; font-weight: 600; }

/* Nearby Pills */
.nearby-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.625rem; }
.nearby-pill {
    padding: 0.5rem 1.25rem; border-radius: 9999px;
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    font-weight: 500; font-size: 0.875rem;
    transition: all 0.2s;
}
.nearby-pill:hover {
    background: var(--primary-container); color: #fff; border-color: var(--primary-container);
}

/* CTA Strip — Orange-to-Blue gradient */
.cta-strip {
    background: linear-gradient(135deg, #ff6500, #ff8533 40%, #3b82f6); padding: 3rem 0;
}
.cta-strip .cta-inner {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 2rem;
}
.cta-strip-dark { background: var(--on-surface); }

/* ============================================================
   GRID HELPERS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
@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; }
    .container > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .container > div > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .cta-inner { flex-direction: column !important; text-align: center; gap: 1.5rem !important; }
    .cta-inner .btn { width: 100%; justify-content: center; }
    .section { padding: 3rem 0; }
    .hero-content { padding: 3rem 0 !important; }
    .hero-stats {
        flex-direction: row !important; flex-wrap: wrap !important;
        justify-content: center !important; text-align: center;
        gap: 1rem 2rem !important; margin-top: 2rem !important;
        padding-top: 1.25rem !important; width: 100%;
    }
    .hero-stats > div { text-align: center; }
    .hero-stats > div[style*="width:1px"] { display: none !important; }
    .hero { padding-bottom: 0 !important; }
    input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
        font-size: 16px !important;
    }
    .mobile-menu-overlay input { font-size: 16px !important; touch-action: manipulation; }
    .hero-content > div > div[style*="display:flex"][style*="flex-wrap"] {
        flex-direction: column !important; align-items: stretch !important;
    }
    .hero-content > div > div[style*="display:flex"][style*="flex-wrap"] > a {
        text-align: center; justify-content: center;
    }
    .container > div[style*="flex-wrap"]:not(.hero-stats),
    .container > div[style*="display:flex"]:not(.hero-stats),
    .container > div[style*="display: flex"]:not(.hero-stats) {
        flex-direction: column !important;
    }
    .hero-content[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important; gap: 2rem !important;
    }
    .text-display { font-size: 2.25rem !important; }
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    .btn-lg { width: 100%; justify-content: center; text-align: center; }
    #state-panel { position: static !important; }
    .ldp-form-grid { grid-template-columns: 1fr !important; }
    section > .container[style*="gap:4rem"] { gap: 2rem !important; }
    .site-footer .container > div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 2rem !important; }
    div[style*="grid-template-columns: repeat(4"],
    div[style*="grid-template-columns:repeat(4"],
    div[style*="grid-template-columns: repeat(3"],
    div[style*="grid-template-columns:repeat(3"],
    div[style*="grid-template-columns: repeat(2"],
    div[style*="grid-template-columns:repeat(2"] {
        grid-template-columns: 1fr !important;
    }
    div[style*="position:sticky"],
    div[style*="position: sticky"] {
        position: static !important;
    }
    div[style*="flex:0 0 420px"],
    div[style*="flex:0 0 380px"] {
        flex: 1 1 100% !important; min-width: 100% !important;
    }
    .container { padding-left: 1rem; padding-right: 1rem; }
    section > .container[style*="gap:4rem"],
    section > .container[style*="gap: 4rem"] {
        flex-direction: row !important; flex-wrap: wrap !important;
        gap: 1.5rem 2rem !important; justify-content: center !important;
    }
    section > .container[style*="gap:4rem"] > div,
    section > .container[style*="gap: 4rem"] > div {
        flex: 0 0 auto !important; text-align: center;
    }
    section > .container[style*="gap:4rem"] .font-headline,
    section > .container[style*="gap: 4rem"] .font-headline {
        font-size: 1.75rem !important;
    }
    section[style*="background:var(--on-surface)"] .brand-scroll-wrap,
    div[style*="flex-wrap:wrap"][style*="justify-content:center"][style*="gap:2.5rem"] {
        gap: 1.5rem 2rem !important;
    }
    /* Trust section: stack on mobile */
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:3rem"] {
        grid-template-columns: 1fr !important; gap: 2rem !important;
    }
    div[style*="grid-template-columns:1fr 1fr"][style*="gap:1rem"][style*="margin-top"] {
        justify-items: start;
    }
    .payment-icons { justify-content: center; }
    .site-footer { text-align: center; }
    .site-footer .footer-logo { display: flex; justify-content: center; }
    .site-footer p { max-width: 100% !important; }
    .site-footer div[style*="display:flex"][style*="gap:1rem"] { justify-content: center; }
    .site-footer h4 { text-align: center; }
    .site-footer ul { align-items: center; }
    .site-footer a[style*="display:flex"] { justify-content: center; }
}

/* ============================================================
   FOOTER — Navy dark
   ============================================================ */
.site-footer {
    background: #0f172a; color: rgba(255,255,255,0.5);
    padding: 4rem 0 6rem;
}
.site-footer h4 {
    color: var(--primary-container); font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em; margin-bottom: 1.5rem;
}
.site-footer a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-logo {
    font-family: var(--font-headline); font-size: 1.5rem; font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
}
.payment-icons {
    display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
}
.payment-icons img { height: 28px; width: auto; opacity: 0.6; transition: opacity 0.2s; }
.payment-icons img:hover { opacity: 1; }

/* ============================================================
   NAV DROPDOWN — Modern with blue accents
   ============================================================ */
.nav-dropdown-wrap > a { padding-bottom: 0; }
.nav-dropdown {
    visibility: hidden; opacity: 0; position: absolute; top: calc(100% + 0.75rem); left: 50%; transform: translateX(-50%);
    background: #fff; border: 1px solid rgba(15,23,42,0.08);
    border-radius: 16px; box-shadow: 0 20px 60px rgba(15,23,42,0.12), 0 2px 8px rgba(15,23,42,0.05);
    padding: 0.5rem; min-width: 240px; z-index: 100;
    transition: opacity 0.15s, visibility 0.15s;
    pointer-events: none;
}
.nav-dropdown::after {
    content: ''; position: absolute; top: -20px; left: 0; right: 0; height: 20px;
}
.nav-dropdown::before {
    content: ''; position: absolute; top: -6px; left: 50%;
    width: 12px; height: 12px; background: #fff;
    border: 1px solid rgba(15,23,42,0.08); border-bottom: none; border-right: none;
    transform: translateX(-50%) rotate(45deg); z-index: 1;
}
.nav-dropdown a {
    display: flex !important; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem !important; border-radius: 10px;
    color: #0f172a !important; font-weight: 600 !important;
    font-size: 0.875rem !important; text-transform: none !important;
    letter-spacing: 0 !important; transition: background 0.15s;
    opacity: 1 !important; font-family: var(--font-body) !important;
    white-space: nowrap;
}
.nav-dropdown a:hover {
    background: rgba(59,130,246,0.06) !important;
    color: var(--primary) !important;
}
.nav-dropdown a .material-symbols-outlined { color: var(--primary-container); font-size: 1.25rem; }
.nav-dropdown-wrap:hover .nav-dropdown {
    visibility: visible; opacity: 1; pointer-events: auto;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mob-nav-link {
    display: block; padding: 0.875rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
    color: #fff; font-family: var(--font-headline); font-weight: 700;
    font-size: 1rem; text-decoration: none;
}
.mob-nav-link:hover { color: var(--primary-container); }

/* ============================================================
   BRAND LOGOS MARQUEE
   ============================================================ */
.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, #0f172a, transparent); }
.brand-scroll-wrap::after { right: 0; background: linear-gradient(to left, #0f172a, transparent); }
.brand-scroll {
    display: flex; gap: 3rem; align-items: center;
    animation: brandScroll 20s linear infinite;
    width: max-content;
}
.brand-scroll:hover { animation-play-state: paused; }
@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   FOOTER LOGO
   ============================================================ */
.footer-logo img { height: 40px; width: auto; filter: brightness(0) invert(1); }
.footer-logo a { display: inline-block; }

@media (max-width: 640px) {
    .payment-icons { justify-content: center; }
}

/* ============================================================
   HOMEPAGE HERO
   ============================================================ */
.homepage-hero { min-height: 780px; }
@media (max-width: 640px) {
    .homepage-hero { min-height: auto !important; }
    .homepage-hero .hero-content { padding: 3rem 0 2rem !important; }
}

/* ============================================================
   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; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .site-header, .site-footer, .mobile-nav, .cta-strip { display: none; }
    .hero { min-height: auto; padding: 2rem 0; }
    body { font-size: 12pt; color: #000; }
}
