/* ==========================================================================
   BLACKHAWK PROTECTIVE COATINGS - MASTER STYLESHEET
   Dark Industrial High-Performance Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@500;600;700&display=swap');

/* --- CSS VARIABLES & TOKENS --- */
:root {
    --accent-color: #5DAFE9;
    --accent-hover: #459EE0;
    --bg-dark: #121417;
    --card-bg: #1C2025;
    --border-color: #2E343D;

    /* Semantic Aliases & Translucent Accents */
    --accent: var(--accent-color);
    --bg-card: var(--card-bg);
    --bg-card-hover: #242a32;
    --bg-glass: rgba(18, 20, 23, 0.88);
    --accent-glow: rgba(93, 175, 233, 0.28);
    
    --text-primary: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #0d0f12;
    
    --border-subtle: rgba(93, 175, 233, 0.2);
    --border-dark: var(--border-color);
    --border-radius: 12px;
    
    --font-heading: 'Oswald', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- RESET & BASICS --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, .brand-logo {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.15;
    color: #ffffff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.text-accent {
    color: var(--accent);
}

.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 50px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- BUTTONS & CTAs --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(93, 175, 233, 0.45);
}

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

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(93, 175, 233, 0.1);
    transform: translateY(-2px);
}

.btn-phone {
    background: rgba(93, 175, 233, 0.14);
    color: var(--accent-color);
    border: 1px solid var(--border-subtle);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.btn-phone:hover {
    background: var(--accent-hover);
    color: #ffffff;
    border-color: var(--accent-hover);
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-dark);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px;
    gap: clamp(8px, 1.2vw, 1rem);
}

.brand-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}

.site-logo {
    height: clamp(62px, 6vw, 82px);
    width: auto;
    max-height: 86px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.7));
    transition: transform 0.2s ease;
    display: block;
}

.brand-logo:hover .site-logo {
    transform: scale(1.03);
}

.footer-logo-img {
    max-width: 220px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
    transition: transform 0.2s ease;
}

.footer-logo-img:hover {
    transform: scale(1.02);
}

.brand-logo svg {
    display: none;
}

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

.mobile-drawer-cta {
    display: none;
}

/* --- DESKTOP FLOATING CAPSULE NAVIGATION (1081px+) --- */
@media (min-width: 1081px) {
    .nav-menu {
        display: flex;
        align-items: center;
        background: rgba(20, 23, 28, 0.75);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 9999px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: var(--transition-fast);
    }

    .nav-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-body);
        font-weight: 600;
        text-transform: uppercase;
        color: var(--text-muted);
        border-radius: 9999px;
        white-space: nowrap;
        border: 1px solid transparent;
        transition: var(--transition-fast);
    }

    .nav-link:hover {
        background: rgba(93, 175, 233, 0.12);
        color: #ffffff;
        border-color: rgba(93, 175, 233, 0.25);
    }

    .nav-link.active {
        background: var(--accent);
        color: #ffffff;
        font-weight: 700;
        box-shadow: 0 2px 12px var(--accent-glow);
        border-color: var(--accent);
    }
}

/* Tier 1: Wide Desktop (1400px+) */
@media (min-width: 1400px) {
    .nav-menu {
        gap: 4px;
        padding: 5px 7px;
    }
    .nav-link {
        padding: 7px 15px;
        font-size: 0.85rem;
        letter-spacing: 0.6px;
    }
}

/* Tier 2: Standard Desktop (1240px - 1399px) */
@media (min-width: 1240px) and (max-width: 1399px) {
    .nav-menu {
        gap: 2px;
        padding: 4px 5px;
    }
    .nav-link {
        padding: 6px 12px;
        font-size: 0.82rem;
        letter-spacing: 0.5px;
    }
}

/* Tier 3: Compact Desktop (1081px - 1239px) */
@media (min-width: 1081px) and (max-width: 1239px) {
    .nav-menu {
        gap: 1px;
        padding: 3px 4px;
    }
    .nav-link {
        padding: 5px 9px;
        font-size: 0.78rem;
        letter-spacing: 0.4px;
    }
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
    flex-shrink: 0;
}

.nav-cta .btn-phone,
.nav-cta .btn-primary {
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-cta .btn-phone {
    padding: 8px clamp(10px, 1vw, 16px);
    font-size: clamp(0.8rem, 0.88vw, 0.88rem);
}

.nav-cta .btn-primary {
    padding: 10px clamp(12px, 1.2vw, 20px);
    font-size: clamp(0.84rem, 0.92vw, 0.92rem);
}

.mobile-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.mobile-toggle:hover,
.mobile-toggle:focus-visible,
.mobile-toggle.active {
    background: rgba(93, 175, 233, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    outline: none;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding-top: 186px;
    padding-bottom: 100px;
    background: radial-gradient(circle at 50% 20%, rgba(93, 175, 233, 0.15) 0%, transparent 60%),
                linear-gradient(180deg, var(--bg-dark) 0%, #161920 100%);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(93, 175, 233, 0.14);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 20px;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 35px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-image-wrap {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.hero-image-wrap img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* Hero Section Video Presentation */
.hero-video-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-ambient-glow {
    position: absolute;
    width: 340px;
    height: 500px;
    background: radial-gradient(ellipse at center, rgba(93, 175, 233, 0.3) 0%, rgba(93, 175, 233, 0.08) 55%, transparent 75%);
    filter: blur(40px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.hero-video-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 9 / 16;
    border-radius: 26px;
    overflow: hidden;
    background: #080a0d;
    box-shadow: 
        0 25px 50px -10px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 35px rgba(93, 175, 233, 0.22);
    border: 3px solid rgba(34, 40, 52, 0.95);
    transform: translateZ(0);
}

.hero-video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    cursor: pointer;
}

.hero-video-controls {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(12, 15, 20, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 6px 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* --- STATS BAR --- */
.stats-bar {
    background: var(--bg-card);
    border-y: 1px solid var(--border-dark);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-right: 1px solid var(--border-dark);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- INTERACTIVE BEFORE/AFTER SLIDER --- */
.ba-section {
    background: var(--bg-dark);
}

.ba-slider-container {
    position: relative;
    width: 100%;
    max-width: 960px;
    height: 480px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
    user-select: none;
}

.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.ba-img.before {
    background-image: url('../assets/bedliner_before.jpg');
}

.ba-img.after {
    background-image: url('../assets/bedliner_after.jpg');
    width: var(--slider-pos, 50%);
    border-right: 3px solid var(--accent);
    box-shadow: 5px 0 15px rgba(0,0,0,0.5);
}

.ba-badge {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(13, 15, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: #ffffff;
    z-index: 10;
}

.ba-badge.coated-badge, .ba-badge.after-badge { left: 20px; color: var(--accent); }
.ba-badge.unprotected-badge, .ba-badge.before-badge { right: 20px; color: #ff6b6b; }

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-pos, 50%);
    width: 4px;
    background: var(--accent);
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none;
}

.ba-handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(93, 175, 233, 0.65);
    font-size: 1.1rem;
    font-weight: 700;
}

.ba-input-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 30;
}

/* --- SERVICES CARDS GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 32px;
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-subtle);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 54px;
    height: 54px;
    background: rgba(93, 175, 233, 0.14);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.card-link {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    font-weight: 600;
}

.card-link:hover {
    gap: 10px;
}

/* --- DETAILED SERVICES PAGE STYLES --- */
.page-hero {
    padding-top: 166px;
    padding-bottom: 60px;
    background: radial-gradient(circle at 50% 0%, rgba(93, 175, 233, 0.16) 0%, transparent 70%), var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
    text-align: center;
}

.service-detail-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.service-detail-card:nth-child(even) {
    direction: rtl;
}

.service-detail-card:nth-child(even) .service-detail-content {
    direction: ltr;
}

.service-detail-content h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.service-detail-content p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.specs-list {
    list-style: none;
    margin-bottom: 24px;
}

.specs-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.specs-list svg {
    fill: var(--accent);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.service-detail-image img {
    border-radius: 8px;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border: 1px solid var(--border-dark);
}

/* --- COLOR & TEXTURE SWATCH GRID --- */
.swatch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.swatch-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 16px;
    text-align: center;
    transition: var(--transition-fast);
}

.swatch-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.swatch-color {
    height: 100px;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.color-black { background: #121212; }
.color-gunmetal { background: #2c343e; }
.color-tan { background: #8c7653; }
.color-gray { background: #525a65; }
.color-olive { background: #3d4a37; }
.color-custom { background: linear-gradient(135deg, #121417 0%, var(--accent-color) 50%, #2c343e 100%); }

.swatch-card h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.swatch-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- CTA BANNER --- */
.cta-banner {
    background: linear-gradient(135deg, #1a1e28 0%, #0d0f12 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--border-radius);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta-banner p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- TESTIMONIALS --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 30px;
}

.stars {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.client-info h4 {
    font-size: 1rem;
    color: #ffffff;
}

.client-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- QUOTE PAGE LAYOUT --- */
.quote-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.quote-form-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    background: #0d0f12;
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(93, 175, 233, 0.28);
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 8px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #0d0f12;
    border: 1px solid var(--border-dark);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.custom-checkbox:hover {
    border-color: var(--border-subtle);
}

.custom-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 32px;
    margin-bottom: 24px;
}

.sidebar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 12px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.info-icon {
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-text h5 {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.info-text p {
    color: var(--text-primary);
    font-weight: 500;
}

.form-success-message {
    display: none;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
}

.form-error-message {
    display: none;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-weight: 500;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- FOOTER --- */
footer {
    background: #07080a;
    border-top: 1px solid var(--border-dark);
    padding: 60px 0 30px 0;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 320px;
    font-size: 0.9rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-dark);
    padding-top: 25px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- IN-SHOP VIDEO SHOWCASE & REELS --- */
.video-showcase-section {
    position: relative;
    background: radial-gradient(circle at 30% 50%, rgba(93, 175, 233, 0.12) 0%, transparent 65%),
                linear-gradient(180deg, var(--bg-dark) 0%, #15181f 100%);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    overflow: hidden;
}

.video-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.video-presentation-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-ambient-glow {
    position: absolute;
    width: 360px;
    height: 540px;
    background: radial-gradient(ellipse at center, rgba(93, 175, 233, 0.28) 0%, rgba(13, 110, 253, 0.08) 55%, transparent 75%);
    filter: blur(45px);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.portrait-device-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    overflow: hidden;
    background: #080a0d;
    box-shadow: 
        0 25px 60px -10px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.14),
        0 0 35px rgba(93, 175, 233, 0.22);
    border: 3px solid rgba(34, 40, 52, 0.95);
    transform: translateZ(0);
}

.portrait-device-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
    cursor: pointer;
}

.video-live-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(12, 15, 20, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #ffffff;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.video-live-badge .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ff3344;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff3344;
    animation: livePulse 1.8s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.8); }
}

.video-controls-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(12, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    padding: 8px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.video-ctrl-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

.video-ctrl-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}

.video-ctrl-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.08);
}

.video-clip-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

/* Video Showcase Right Column Details */
.video-showcase-content h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    margin-bottom: 16px;
    line-height: 1.2;
}

.video-showcase-content p.lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.video-clip-switcher {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.clip-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    color: var(--text-muted);
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clip-tab-btn:hover {
    border-color: var(--accent);
    color: #ffffff;
    background: rgba(93, 175, 233, 0.08);
}

.clip-tab-btn.active {
    background: rgba(93, 175, 233, 0.15);
    border-color: var(--accent);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(93, 175, 233, 0.25);
}

.video-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: grid;
    gap: 16px;
}

.video-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.video-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(93, 175, 233, 0.12);
    border: 1px solid rgba(93, 175, 233, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.video-feature-text h4 {
    margin: 0 0 4px 0;
    font-size: 1.02rem;
    color: #ffffff;
}

.video-feature-text p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* Gallery Video Reel 2-Up Grid */
.video-reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    justify-items: center;
    margin-top: 40px;
}

.video-reel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 24px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-fast);
}

.video-reel-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-3px);
}

.video-reel-card h3 {
    margin: 16px 0 8px 0;
    font-size: 1.15rem;
}

.video-reel-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Responsive adjustments for video section */
@media (max-width: 900px) {
    .video-showcase-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .video-presentation-container {
        order: -1;
    }
    .portrait-device-frame {
        max-width: 320px;
    }
}

/* --- RESPONSIVE BREAKPOINTS --- */

/* Mobile Navigation Breakpoint: 1080px & down */
@media (max-width: 1080px) {
    header .container {
        width: 94%;
        max-width: 100%;
        padding: 0 4px;
    }

    .nav-wrapper {
        gap: clamp(8px, 1.8vw, 16px);
    }

    .site-logo {
        height: clamp(52px, 5.5vw, 66px);
    }

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

    .nav-cta {
        gap: clamp(6px, 1.2vw, 10px);
    }

    .nav-cta .btn-phone {
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .nav-cta .btn-primary {
        padding: 8px clamp(10px, 1.4vw, 16px);
        font-size: clamp(0.78rem, 1.2vw, 0.86rem);
    }

    .nav-menu {
        position: fixed;
        top: 96px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        background: linear-gradient(180deg, var(--bg-dark) 0%, #161a20 100%);
        border-bottom: 2px solid var(--border-color);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 22px 20px 30px 20px;
        list-style: none;
        
        /* Smooth slide-down and fade drawer transition */
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                    visibility 0.25s;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 13px 18px;
        font-family: var(--font-heading);
        font-size: 1.1rem;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--text-primary);
        background: rgba(28, 32, 37, 0.55);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        transition: var(--transition-fast);
        width: 100%;
    }

    .nav-link:hover,
    .nav-link:focus-visible {
        background: rgba(93, 175, 233, 0.12);
        border-color: var(--accent);
        color: var(--accent);
        transform: translateX(4px);
    }

    .nav-link.active {
        background: rgba(93, 175, 233, 0.18);
        border-color: var(--accent);
        color: var(--accent);
        font-weight: 700;
    }

    /* Mobile Drawer Dedicated CTAs */
    .mobile-drawer-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 14px;
        padding-top: 18px;
        border-top: 1px solid var(--border-color);
        width: 100%;
    }

    .mobile-drawer-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 13px;
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding-top: 116px;
        padding-bottom: 50px;
    }
    .hero-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .hero-content {
        display: contents;
    }
    .hero-tag {
        order: 1;
        margin-bottom: 14px;
        align-self: center;
    }
    .hero-video-container {
        order: 2;
        margin-top: 0;
        margin-bottom: 22px;
        width: 100%;
    }
    .hero-video-frame {
        max-width: 290px;
    }
    .hero-content h1 {
        order: 3;
        text-align: center;
        font-size: clamp(1.85rem, 5.5vw, 2.4rem);
        margin-bottom: 14px;
    }
    .hero-content p {
        order: 4;
        text-align: center;
        margin-bottom: 22px;
    }
    .hero-actions {
        order: 5;
        justify-content: center;
        margin-bottom: 20px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-dark);
    }
    .stat-item:nth-child(3), .stat-item:nth-child(4) {
        border-bottom: none;
    }
    .quote-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .service-detail-card, .service-detail-card:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
    }
}

@media (max-width: 768px) {
    header .container {
        width: 95%;
        padding: 0 4px;
    }

    /* Hide phone button in top bar to keep header compact; available in drawer */
    .nav-cta .btn-phone {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }
    .form-row, .form-row-3 {
        grid-template-columns: 1fr;
    }
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    .ba-slider-container {
        height: 320px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    header .container {
        width: 96%;
        padding: 0 2px;
    }

    .nav-wrapper {
        gap: 8px;
    }

    .brand-logo {
        font-size: clamp(0.88rem, 3.2vw, 1.05rem);
        gap: 6px;
    }

    .brand-logo svg {
        width: 24px;
        height: 24px;
    }

    .nav-cta {
        gap: 6px;
    }

    .nav-cta .btn-primary {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .mobile-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }
}

@media (max-width: 440px) {
    .nav-wrapper {
        height: 88px;
    }

    .nav-menu {
        top: 88px;
        max-height: calc(100vh - 88px);
    }

    .site-logo {
        height: 50px;
    }

    .nav-cta {
        gap: 6px;
    }

    .nav-cta .btn-primary {
        padding: 7px 10px;
        font-size: 0.74rem;
        letter-spacing: 0.5px;
    }

    .mobile-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .hero {
        padding-top: 102px;
    }

    .hero-tag {
        font-size: 0.76rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }

    .hero-video-frame {
        max-width: 260px;
    }
}

@media (max-width: 340px) {
    .nav-wrapper {
        height: 82px;
    }

    .nav-menu {
        top: 82px;
        max-height: calc(100vh - 82px);
    }

    .site-logo {
        height: 42px;
    }

    .nav-cta .btn-primary {
        padding: 6px 8px;
        font-size: 0.68rem;
    }

    .mobile-toggle {
        width: 34px;
        height: 34px;
        font-size: 1.15rem;
    }

    .hero {
        padding-top: 96px;
    }

    .hero-video-frame {
        max-width: 235px;
    }
}

/* ================= LEGAL / POLICY PAGES ================= */
.legal-content {
    max-width: 920px;
    margin: 0 auto;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 36px 40px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-card);
}

.legal-card h2 {
    font-size: 1.35rem;
    color: var(--accent);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-dark);
    letter-spacing: 0.5px;
}

.legal-card h3 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 20px 0 10px;
}

.legal-card p, .legal-card li {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-card ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-card li {
    list-style-type: disc;
    margin-bottom: 8px;
}

.legal-card a {
    color: var(--accent);
    text-decoration: underline;
}

.legal-card a:hover {
    color: var(--accent-hover);
}

.legal-meta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(93, 175, 233, 0.12);
    border: 1px solid rgba(93, 175, 233, 0.3);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.legal-highlight-box {
    background: rgba(93, 175, 233, 0.08);
    border-left: 3px solid var(--accent);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    margin: 18px 0;
}

.legal-highlight-box p {
    color: #fff;
    margin-bottom: 0;
    font-weight: 500;
}

/* ================= SMS CONSENT CHECKBOXES ================= */
.consent-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0 24px 0;
}

.consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #0d0f12;
    border: 1px solid var(--border-dark);
    padding: 14px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.consent-checkbox:hover {
    border-color: var(--border-subtle);
}

.consent-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.consent-checkbox span {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.consent-checkbox span a {
    color: var(--accent);
    text-decoration: underline;
    font-weight: 600;
}

.consent-checkbox span a:hover {
    color: var(--accent-hover);
}

@media (max-width: 600px) {
    .legal-card {
        padding: 24px 20px;
    }
}
