/* =============================================
   EPOXY FLOORING RALEIGH - DARK GLASSMORPHISM
   Lovable-style: frosted glass, subtle glow, dark base
   ============================================= */

/* =============================================
   1. Custom Properties
   ============================================= */
:root {
    /* Brand core */
    --blue:      #2F8FE8;
    --blue-lt:   #6EC1FF;
    --blue-glow: rgba(47, 143, 232, 0.35);

    /* Dark palette */
    --bg-base:   #0B0D10;
    --bg-card:   #111318;
    --bg-raised: #181B22;
    --bg-subtle: #1E2129;

    /* Glass */
    --glass-bg:     rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover:  rgba(255, 255, 255, 0.09);
    --glass-blur:   16px;

    /* Text */
    --text-primary:   #F1F3F5;
    --text-secondary: #A1A8B3;
    --text-muted:     #737B88;

    /* System */
    --radius:    10px;
    --radius-lg: 16px;
    --shadow:    0 4px 24px rgba(0, 0, 0, 0.3);
    --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   2. Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; height: auto; display: block; }

/* Safe area insets for notched devices */
@supports (padding: env(safe-area-inset-bottom)) {
    .sticky-cta { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
    .site-footer { padding-bottom: env(safe-area-inset-bottom); }
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color .25s var(--ease);
}
a:hover { color: var(--blue-lt); }

ul, ol { list-style: none; }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

/* =============================================
   3. Typography
   ============================================= */
h1, h2, h3, h4 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; font-weight: 600; }

.section-title {
    text-align: center;
    margin-bottom: 16px;
}

.section-title.text-left { text-align: left; }
.section-title.text-white { color: var(--text-primary); }

.section-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* =============================================
   4. Glass Card Component
   ============================================= */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.glass-card:hover {
    background: var(--glass-hover);
    border-color: rgba(47, 143, 232, 0.18);
    box-shadow: 0 8px 32px rgba(47, 143, 232, 0.08), 0 1px 0 rgba(255,255,255,0.04) inset;
    transform: translateY(-2px);
}

/* =============================================
   5. Sections
   ============================================= */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-base); }
.section-darker { background: var(--bg-card); }

/* =============================================
   6. Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    min-height: 48px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .25s var(--ease);
    text-align: center;
    border: 2px solid transparent;
    line-height: 1.2;
    -webkit-appearance: none;
    appearance: none;
    touch-action: manipulation;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }

.btn-primary {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    box-shadow: 0 4px 16px var(--blue-glow), 0 1px 0 rgba(255,255,255,0.1) inset;
}

.btn-primary:hover {
    background: var(--blue-lt);
    border-color: var(--blue-lt);
    color: #fff;
    box-shadow: 0 8px 32px rgba(110, 193, 255, 0.4), 0 1px 0 rgba(255,255,255,0.15) inset;
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--glass-border);
}

.btn-ghost:hover {
    background: var(--glass-hover);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* =============================================
   7. Header & Nav
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(11, 13, 16, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}

.site-header.scrolled {
    background: rgba(11, 13, 16, 0.92);
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.site-header.scrolled .nav-list { opacity: 0; pointer-events: none; max-height: 0; overflow: hidden; }
.site-header.scrolled .hamburger { opacity: 0; pointer-events: none; }
.site-header.scrolled .logo-link img { height: 43px; }
.logo-link img { transition: height .3s var(--ease); }
.nav-list { transition: opacity .3s var(--ease); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.logo-link { display: flex; }
.logo-link img { height: 53px; width: auto; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-list a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color .25s var(--ease);
}

.nav-list a:hover { color: var(--text-primary); }

.nav-phone {
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    letter-spacing: 0.3px;
}

.nav-cta {
    padding: 10px 22px !important;
    font-size: 0.9rem !important;
    background: var(--blue) !important;
    color: #fff !important;
    border-color: var(--blue) !important;
    box-shadow: 0 4px 16px var(--blue-glow);
}

.nav-cta:hover {
    background: var(--blue-lt) !important;
    border-color: var(--blue-lt) !important;
    color: #fff !important;
    box-shadow: 0 6px 28px rgba(110, 193, 255, 0.35);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}

/* =============================================
   8. Hero
   ============================================= */
.hero {
    padding: 140px 0 90px;
    background: var(--bg-base);
    position: relative;
    overflow: hidden;
}

/* Ambient blue glow behind hero */
.hero-glow {
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--blue-lt);
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-copy h1 {
    margin-bottom: 18px;
    line-height: 1.15;
}

.hero-sub {
    font-size: 1.12rem;
    margin-bottom: 32px;
    max-width: 480px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.micro-trust {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.micro-urgency {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 6px;
    opacity: 0.8;
}

.hero-fee-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.92rem;
    color: var(--blue-lt);
    font-weight: 600;
    margin-top: 0;
    padding: 10px 18px;
    border: 1px solid rgba(47, 143, 232, 0.2);
    border-radius: var(--radius);
    background: rgba(47, 143, 232, 0.06);
}
.hero-fee-note strong {
    color: #fff;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--glass-border);
}

/* =============================================
   9. Trust Bar
   ============================================= */
.trust-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 28px 0;
    position: relative;
}

.trust-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(47,143,232,0.03) 50%, transparent 100%);
    pointer-events: none;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* =============================================
   10. Gallery
   ============================================= */
.gallery-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.gallery-track {
    display: flex;
    gap: 20px;
    animation: gallery-scroll 70s linear infinite;
    width: max-content;
}

.gallery-track:hover {
    animation-play-state: paused;
}

@keyframes gallery-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    flex-shrink: 0;
    width: 360px;
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.gallery-item:hover {
    border-color: rgba(47, 143, 232, 0.3);
    box-shadow: 0 8px 32px rgba(47, 143, 232, 0.12);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    opacity: 0;
    transition: opacity .35s var(--ease);
}

.gallery-overlay span {
    color: #fff;
    font-weight: 600;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* =============================================
   11. Services + Polyaspartic Banner
   ============================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.service-card {
    padding: 32px 24px;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(47,143,232,0.2), transparent);
    opacity: 0;
    transition: opacity .3s var(--ease);
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
    transform: translateY(-4px);
}

.service-icon { margin-bottom: 16px; }

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.polyaspartic-banner {
    background: linear-gradient(135deg, rgba(47, 143, 232, 0.1), rgba(110, 193, 255, 0.04));
    border: 1px solid rgba(47, 143, 232, 0.15);
    color: var(--text-primary);
    padding: 22px 32px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.98rem;
}

.polyaspartic-banner strong {
    font-size: 1rem;
    color: var(--blue-lt);
}

.polyaspartic-banner .divider { opacity: 0.4; }

/* =============================================
   12. Benefits / Why Choose Us
   ============================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.benefits-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--glass-border);
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 24px 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.benefits-list svg { flex-shrink: 0; margin-top: 3px; }

.trust-stars {
    color: #f5a623;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 2px;
}

/* =============================================
   13. Process
   ============================================= */
.process {
    position: relative;
    background: url('../images/applying_expoxy.jpg') center/cover no-repeat;
    padding: 100px 0;
}

.process-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 13, 16, 0.82);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.process-inner {
    position: relative;
    z-index: 1;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    counter-reset: none;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 300px;
    padding: 32px 24px;
    position: relative;
}

.step-number {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue), var(--blue-lt));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 20px var(--blue-glow);
}

.process-step p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* =============================================
   14. CTA Band
   ============================================= */
.cta-band {
    background: var(--bg-raised);
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

/* Subtle glow accent */
.cta-band::before {
    content: '';
    position: absolute;
    left: 50%;
    top: -100px;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, var(--blue-glow) 0%, transparent 70%);
    opacity: 0.2;
    pointer-events: none;
}

.cta-band-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    color: var(--text-primary);
    margin-bottom: 16px;
}

.cta-band p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 32px;
}

.cta-band-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* =============================================
   14b. Site Assessment Fee
   ============================================= */
.assessment-layout {
    max-width: 900px;
    margin: 0 auto;
}

.assessment-price-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(47, 143, 232, 0.08), rgba(47, 143, 232, 0.03));
    border: 1px solid rgba(47, 143, 232, 0.2);
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    margin-bottom: 36px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
}
.assessment-price-badge::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
    background: radial-gradient(ellipse, rgba(47,143,232,0.15), transparent 70%);
    pointer-events: none;
}
.assessment-price-badge .price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
    position: relative;
}
.assessment-price-badge .price-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 4px;
}
.assessment-price-badge .price-credit {
    font-size: 0.9rem;
    color: #27ae60;
    font-weight: 600;
    margin-top: 8px;
    padding: 4px 12px;
    background: rgba(39, 174, 96, 0.1);
    border-radius: var(--radius);
}

.assessment-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.assessment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.assessment-card {
    padding: 28px 24px;
}

.assessment-card h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.assessment-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.assessment-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.assessment-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.assessment-credit {
    padding: 24px 28px;
    margin-bottom: 28px;
    border-left: 3px solid var(--blue);
    background: rgba(47, 143, 232, 0.03);
}

.assessment-credit p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.assessment-credit strong {
    color: var(--text-primary);
}

.assessment-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* =============================================
   15. Booking (Calendly)
   ============================================= */
.calendly-inline-widget {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

/* =============================================
   16. FAQ
   ============================================= */
.faq-container { max-width: 760px; }

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.faq-item {
    overflow: hidden;
    transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.faq-item:hover {
    border-color: rgba(47, 143, 232, 0.2);
}

.faq-item summary {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    transition: color .2s var(--ease);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--blue);
    font-weight: 700;
    transition: transform .25s var(--ease);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after { content: '−'; }

.faq-item[open] {
    border-color: rgba(47, 143, 232, 0.2);
    box-shadow: 0 4px 20px rgba(47, 143, 232, 0.05);
    background: rgba(47, 143, 232, 0.02);
}

.faq-item p {
    padding: 0 24px 20px;
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* =============================================
   16b. Testimonials
   ============================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 36px 28px 32px;
    text-align: center;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 4rem;
    line-height: 1;
    color: var(--blue);
    opacity: 0.15;
    font-family: Georgia, serif;
}

.testimonial-stars {
    color: #f5a623;
    font-size: 1.2rem;
    margin-bottom: 16px;
    letter-spacing: 3px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* =============================================
   16c. Service Areas
   ============================================= */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.area-tag {
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all .3s var(--ease);
    cursor: default;
}

.area-tag:hover {
    border-color: rgba(47, 143, 232, 0.25);
    color: var(--blue-lt);
    background: rgba(47, 143, 232, 0.05);
    box-shadow: 0 4px 16px rgba(47, 143, 232, 0.06);
    transform: translateY(-1px);
}

/* =============================================
   17. Footer
   ============================================= */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
    padding: 56px 0 0;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(47,143,232,0.25) 50%, transparent 90%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-brand img { height: 120px; width: auto; margin-bottom: 12px; }

.footer-brand p,
.footer-areas p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-contact h4,
.footer-areas h4 {
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-contact p { margin-bottom: 6px; }
.footer-contact a { color: var(--text-muted); }
.footer-contact a:hover { color: var(--blue-lt); }

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.footer-copy {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.82rem;
}

/* =============================================
   18. Sticky Mobile CTA
   ============================================= */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 200;
    background: rgba(11, 13, 16, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 12px 16px;
    gap: 10px;
    justify-content: center;
}

.sticky-cta.visible { display: flex; }

.btn-sticky {
    flex: 1;
    max-width: 200px;
    padding: 12px 16px;
    font-size: 0.9rem;
    text-align: center;
}

/* =============================================
   19. Media Queries
   ============================================= */

/* =============================================
   Large Desktop (1400px+)
   ============================================= */
@media (min-width: 1400px) {
    .container { max-width: 1280px; }
    .hero-grid { gap: 80px; }
    .services-grid { gap: 28px; }
}

/* =============================================
   Tablet landscape (max 1024)
   ============================================= */
@media (max-width: 1024px) {
    .nav-list { gap: 18px; }
    .nav-list a { font-size: 0.88rem; }
    .nav-cta { padding: 8px 16px !important; font-size: 0.85rem !important; }
}

/* =============================================
   Tablet portrait (max 960)
   ============================================= */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-image { order: -1; }
    .hero-copy { text-align: center; }
    .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-ctas { justify-content: center; }
    .hero-badge { margin-left: auto; margin-right: auto; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item { width: 300px; }

    .benefits-grid { grid-template-columns: 1fr; gap: 32px; }
    .benefits-copy .section-title { text-align: center; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .assessment-grid { grid-template-columns: 1fr; }
    .assessment-copy .section-title { text-align: center; }

    .process-steps { flex-direction: column; align-items: center; gap: 20px; }

    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
}

/* =============================================
   Mobile (max 768)
   ============================================= */
@media (max-width: 768px) {
    html { scroll-padding-top: 60px; }
    .section { padding: 56px 0; }
    .hero { padding: 100px 0 56px; }

    h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
    h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }

    .hero-glow {
        width: 300px;
        height: 300px;
        top: -80px;
        right: -40px;
    }

    .header-inner {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .logo-link {
        flex: 1;
    }

    .logo-link img { height: 48px; }

    .site-header.scrolled .logo-link img { height: 38px; }

    .hamburger { display: flex; z-index: 101; }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(11, 13, 16, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border-left: none;
        transition: right .35s var(--ease);
        padding: 100px 32px 32px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }

    .main-nav.nav-open { right: 0; }

    .nav-list {
        flex-direction: column;
        gap: 28px;
        align-items: center;
        width: 100%;
    }

    .nav-list a {
        font-size: 1.2rem;
        padding: 12px 0;
    }

    .nav-cta {
        padding: 14px 32px !important;
        font-size: 1rem !important;
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .trust-grid { gap: 12px; }
    .trust-item { font-size: 0.82rem; gap: 6px; }
    .trust-item svg { width: 18px; height: 18px; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { padding: 24px 20px; }

    .gallery-item { width: 260px; }
    .gallery-item img { height: 200px; }

    .assessment-layout { text-align: center; }
    .assessment-copy .section-title { text-align: center; }
    .assessment-card { padding: 24px 20px; }
    .assessment-credit { text-align: left; }
    .assessment-ctas { justify-content: center; }

    .assessment-price-badge { padding: 20px 24px; }
    .assessment-price-badge .price-amount { font-size: 2.5rem; }

    .hero-fee-note { font-size: 0.88rem; }

    .testimonial-card { padding: 28px 20px; }
    .testimonial-card::before { font-size: 3rem; top: 10px; left: 16px; }

    .area-tag { padding: 10px 18px; font-size: 0.88rem; }

    .polyaspartic-banner {
        flex-direction: column;
        gap: 6px;
        padding: 20px;
    }
    .polyaspartic-banner .divider { display: none; }

    .process { padding: 64px 0; }
    .process-step { padding: 24px 20px; }

    .cta-band-inner h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }

    .calendly-inline-widget { min-height: 600px; }

    .faq-container { padding: 0; }

    .footer-brand img { height: 90px; }
    .site-footer { padding-bottom: 80px; }
}

/* =============================================
   Small mobile (max 480)
   ============================================= */
@media (max-width: 480px) {
    .section { padding: 48px 0; }
    .hero { padding: 90px 0 48px; }
    .hero-sub { font-size: 0.95rem; }

    .hero-ctas { flex-direction: column; gap: 12px; }
    .hero-ctas .btn { width: 100%; }

    .cta-band-actions { flex-direction: column; align-items: center; }
    .cta-band-actions .btn { width: 100%; max-width: 320px; }

    .assessment-ctas { flex-direction: column; }
    .assessment-ctas .btn { width: 100%; }

    .assessment-price-badge { padding: 16px 20px; }
    .assessment-price-badge .price-amount { font-size: 2.2rem; }

    .hero-fee-note { font-size: 0.82rem; padding: 6px 12px; }

    .btn-lg { padding: 14px 28px; font-size: 1rem; }

    .gallery-item { width: 240px; }
    .gallery-item img { height: 180px; }

    .logo-link img { height: 43px; }
    .footer-brand img { height: 80px; }
}

/* =============================================
   Tiny mobile (max 360)
   ============================================= */
@media (max-width: 360px) {
    h1 { font-size: 1.5rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .gallery-item { width: 220px; }
    .area-tag { padding: 8px 14px; font-size: 0.82rem; }
}

/* =============================================
   Hide sticky CTA on desktop
   ============================================= */
@media (min-width: 769px) {
    .sticky-cta { display: none !important; }
}

/* =============================================
   Landscape phones - prevent sections from being too tall
   ============================================= */
@media (max-height: 500px) and (orientation: landscape) {
    .hero { padding: 80px 0 40px; min-height: auto; }
    .section { padding: 40px 0; }
    .main-nav { padding-top: 60px; }
    .nav-list { gap: 16px; }
    .nav-list a { font-size: 1rem; padding: 8px 0; }
}

/* =============================================
   Prefers reduced motion
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
    html { scroll-behavior: auto; }
    .gallery-track { animation: none; }
    .reveal { opacity: 1; transform: none; }
}

/* =============================================
   Print styles
   ============================================= */
@media print {
    .site-header, .sticky-cta, .hamburger, .hero-glow, .process-overlay { display: none !important; }
    body { background: #fff; color: #000; }
    .glass-card { background: #f9f9f9; border: 1px solid #ddd; }
    a { color: #000; text-decoration: underline; }
    .section, .hero { padding: 24px 0; }
}

/* =============================================
   19b. Lightbox
   ============================================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 16px;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    transition: opacity .2s, transform .2s;
    touch-action: manipulation;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 0.7;
}

.lightbox-close {
    top: 20px;
    right: 24px;
    font-size: 2.5rem;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    line-height: 1;
    padding: 8px 16px;
    min-height: 48px;
    min-width: 48px;
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 2rem;
        padding: 12px;
    }
    .lightbox-close { font-size: 2rem; top: 12px; right: 16px; }
    .lightbox-content img { max-height: 65vh; }
}

/* Make gallery items clickable */
.gallery-item { cursor: pointer; }

/* =============================================
   20. Scroll Reveal Animation
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
