/* ================================================
   EYE MATRIX UX ENHANCEMENTS
   Professional UI/UX improvements for optical store
   ================================================ */

/* ── 1. STICKY HEADER ENHANCEMENTS ── */
.phone-header-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #22d3ee, #60a5fa);
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(34, 211, 238, 0.3);
}

.phone-header-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.5);
    background: linear-gradient(135deg, #60a5fa, #22d3ee);
}

.whatsapp-header-btn {
    width: 48px;
    height: 48px;
    background-color: #25D366;
    border-radius: 50%;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-header-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.5);
}

/* Header scroll effect */
.sticky-top {
    transition: box-shadow 0.2s ease;
}

.navbar-scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

/* ── 2. HERO SECTION ── */
.hero-section {
    position: relative;
    min-height: calc(100vh - 76px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/eyematrixoptical-1200w.webp');
    background-image: image-set(
        url('/images/eyematrixoptical-480w.webp') 1x,
        url('/images/eyematrixoptical-1200w.webp') 2x
    );
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    margin-top: 0;
    padding-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-cta-group {
    margin-bottom: 2rem;
}

.hero-cta-group .btn {
    font-size: 1.1rem;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-cta-group .btn-primary {
    background: linear-gradient(135deg, #22d3ee, #60a5fa);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.4);
}

.hero-cta-group .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.6);
}

.hero-cta-group .btn-outline-light {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
}

.hero-cta-group .btn-outline-light:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.trust-badge {
    font-weight: 600;
    white-space: nowrap;
}

.trust-divider {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* Mobile hero adjustments */
@media (max-width: 767px) {
    .hero-section {
        min-height: calc(80vh - 62px);
        margin-top: 0;
        padding-top: 0;
        background-image: url('/images/eyematrixoptical-480w.webp');
        background-image: image-set(url('/images/eyematrixoptical-480w.webp') 1x, url('/images/eyematrixoptical-800w.webp') 2x);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta-group .btn {
        font-size: 1rem;
        padding: 0.75rem 2rem;
        width: 100%;
        max-width: 300px;
    }

    .trust-bar {
        font-size: 0.9rem;
    }
}

/* ── 3. FLOATING ACTION BUTTONS ── */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.2s ease;
    will-change: transform;
    animation: whatsappPulse 3s ease-in-out 3;
}

.whatsapp-fab:hover {
    transform: scale(1.15);
    animation: none;
}

/* Composited keyframes — transform only, no box-shadow paint */
@keyframes whatsappPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.call-fab {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background-color: #60a5fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.5);
    transition: transform 0.2s ease;
    will-change: transform;
}

.call-fab:hover {
    transform: scale(1.15);
}

/* Mobile FAB adjustments */
@media (max-width: 991px) {
    .whatsapp-fab,
    .call-fab {
        width: 54px;
        height: 54px;
        bottom: 20px;
    }

    .whatsapp-fab {
        right: 20px;
    }

    .call-fab {
        left: 20px;
    }
}

/* ── 4. TRUST COUNTERS — compact one-liner strip ── */
.trust-counters-section {
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.99), rgba(18, 18, 28, 0.99));
    padding: 0.65rem 0;
    border-top: 1px solid rgba(34, 211, 238, 0.2);
    border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}

.trust-bar-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.2rem 1.25rem;
}

.tbc-item {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
}

.counter-number {
    font-size: 1.15rem;
    font-weight: 800;
    color: #22d3ee;
    line-height: 1;
}

.tbc-suffix {
    font-size: 1rem;
    font-weight: 700;
    color: #22d3ee;
}

.tbc-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-left: 0.2rem;
}

.tbc-check {
    font-size: 1rem;
    color: #22d3ee;
    font-weight: 800;
}

.tbc-sep {
    color: rgba(255, 255, 255, 0.18);
    font-size: 1rem;
    line-height: 1;
}

@media (max-width: 480px) {
    .tbc-sep { display: none; }
    .trust-bar-compact { gap: 0.3rem 0.75rem; }
}

/* ── 5. SERVICE CARDS SECTION ── */
.service-cards-section {
    padding: 5rem 0;
    background: var(--background-color);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3rem;
}

.service-card {
    background: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: transform 0.2s ease, border-color 0.2s ease;
    will-change: transform;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(34, 211, 238, 0.3);
    box-shadow: 0 12px 30px rgba(34, 211, 238, 0.15);
    background: rgba(40, 40, 40, 0.9);
}

.service-icon {
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-align: center;
}

.service-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

@media (max-width: 767px) {
    .service-cards-section {
        padding: 3rem 0;
    }

    .section-heading {
        font-size: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* ── 6. APPOINTMENT FORM SECTION ── */
.appointment-form-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--background-color) 0%, rgba(20, 20, 20, 1) 100%);
}

.appointment-form .form-control {
    background-color: rgba(30, 30, 30, 0.8);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #fff;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.appointment-form .form-control:focus {
    background-color: rgba(40, 40, 40, 0.9);
    border-color: #22d3ee;
    box-shadow: 0 0 0 0.25rem rgba(34, 211, 238, 0.15);
    color: #fff;
}

.appointment-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.appointment-form .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.appointment-form .form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

.appointment-form .form-control.is-valid {
    border-color: #22d3ee;
    background-image: none;
}

.appointment-form .invalid-feedback {
    color: #ff6b6b;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.appointment-form .btn-primary {
    background: linear-gradient(135deg, #22d3ee, #60a5fa);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.appointment-form .btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.5);
}

.appointment-form .btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .appointment-form-section {
        padding: 3rem 0;
    }
}

/* ── 7. ACCESSIBILITY ENHANCEMENTS ── */
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.visually-hidden-focusable:focus,
.visually-hidden-focusable:focus-within {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
}

/* Focus visible styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #22d3ee;
    outline-offset: 2px;
}

/* ── 8. LOADING/LAZY IMAGE STYLES ── */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([src]) {
    opacity: 1;
}

/* ── 9. RESPONSIVE UTILITIES ── */
@media (max-width: 991px) {
    .d-lg-none {
        display: none !important;
    }
}

/* ── 10. FEATURED CONTENT SECTION (GLASSMORPHISM) ── */
.featured-content-section {
    background: linear-gradient(135deg, rgba(10, 10, 18, 0.99), rgba(20, 20, 32, 0.99));
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

.featured-content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(34, 211, 238, 0.05), transparent 40%),
                radial-gradient(circle at 80% 50%, rgba(96, 165, 250, 0.05), transparent 40%);
    pointer-events: none;
}

.featured-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(34, 211, 238, 0.14);
    border-radius: 14px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
    transform: translateY(-5px);
    border-color: rgba(34, 211, 238, 0.35);
    box-shadow: 0 16px 32px rgba(34, 211, 238, 0.12);
}

.featured-card-icon {
    width: 42px;
    height: 42px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22d3ee;
    margin-bottom: 0.9rem;
    flex-shrink: 0;
}

.featured-card-title {
    color: #22d3ee;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    font-family: 'Outfit', system-ui, sans-serif;
}

.featured-card p {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.featured-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #22d3ee;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: gap 0.2s, color 0.2s;
}

.featured-card-link:hover {
    gap: 0.6rem;
    color: #60a5fa;
}

/* ── 11. QUICK FACTS SECTION — compact grid ── */
.quick-facts-section {
    background: rgba(8, 8, 14, 0.98);
    padding: 1.75rem 0;
    border-top: 1px solid rgba(34, 211, 238, 0.1);
    border-bottom: 1px solid rgba(34, 211, 238, 0.1);
}

.qf-heading {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.65); /* raised from 0.35 → 0.65 for WCAG AA (8.9:1) */
    margin-bottom: 0.9rem;
    font-family: 'Outfit', system-ui, sans-serif;
}

.qf-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    max-width: 960px;
    margin: 0 auto;
}

.qf-item {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.45rem 0.65rem;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(34, 211, 238, 0.08);
    border-radius: 6px;
    transition: border-color 0.2s;
}

.qf-item:hover {
    border-color: rgba(34, 211, 238, 0.2);
}

.qf-key {
    color: #22d3ee;
    font-weight: 700;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    flex-shrink: 0;
    padding-top: 1px;
    min-width: 52px;
}

.qf-val {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.75rem;
    line-height: 1.35;
}

.qf-val a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.qf-val a:hover {
    color: #22d3ee;
}

@media (max-width: 900px) {
    .qf-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 600px) {
    .qf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 380px) {
    .qf-grid { grid-template-columns: 1fr; }
}

/* ── 12. FAQ SECTION ── */
.faq-section {
    background: linear-gradient(180deg, rgba(15, 15, 20, 0.98), rgba(20, 20, 25, 0.98));
    padding: 5rem 0;
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(34, 211, 238, 0.05), transparent 50%);
    pointer-events: none;
}

.faq-section .section-heading {
    background: linear-gradient(135deg, #22d3ee, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.accordion-item {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(34, 211, 238, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.2s ease;
    margin-bottom: 1rem !important;
}

.accordion-item:hover {
    border-color: rgba(34, 211, 238, 0.25) !important;
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.1);
}

.accordion-button {
    background-color: transparent !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem !important;
    transition: color 0.15s ease;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(34, 211, 238, 0.05) !important;
    color: #22d3ee !important;
    box-shadow: none !important;
}

.accordion-button::after {
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.accordion-button:hover {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(34, 211, 238, 0.15) !important;
    border-color: transparent !important;
}

.accordion-body {
    background-color: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 1.5rem !important;
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-collapse {
    border: none !important;
}

@media (max-width: 767px) {
    .faq-section {
        padding: 3rem 0;
    }

    .accordion-button {
        font-size: 0.95rem;
        padding: 1rem !important;
    }

    .accordion-body {
        padding: 1.25rem !important;
        font-size: 0.95rem;
    }
}

/* ── 13. ENHANCED SECTION BACKGROUNDS ── */
.py-5.bg-dark,
section.bg-dark {
    background: linear-gradient(135deg, rgba(15, 15, 20, 0.98), rgba(25, 25, 35, 0.98)) !important;
}

/* ── 14. IMPROVED FORM STYLING FOR BOTTOM CTA ── */
.text-center.my-5.p-5 {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(96, 165, 250, 0.08)) !important;
    border: 1px solid rgba(34, 211, 238, 0.2) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transition: border-color 0.2s ease;
}

.text-center.my-5.p-5:hover {
    border-color: rgba(34, 211, 238, 0.3) !important;
    box-shadow: 0 12px 40px rgba(34, 211, 238, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.text-center.my-5.p-5 h3 {
    color: #fff !important;
    font-weight: 700;
}

.text-center.my-5.p-5 p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* ── 15. SECTION DIVIDER ENHANCEMENT ── */
.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #22d3ee, #60a5fa);
    border-radius: 2px;
    margin: 0 auto;
    box-shadow: 0 2px 10px rgba(34, 211, 238, 0.4);
}

/* ── 16. CARD BACKGROUNDS ENHANCEMENT ── */
.card,
.p-4.rounded-4,
.border-start.border-4 {
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(34, 211, 238, 0.15) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover,
.p-4.rounded-4:hover,
.border-start.border-4:hover {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(34, 211, 238, 0.25) !important;
    box-shadow: 0 8px 24px rgba(34, 211, 238, 0.1);
}

/* ── 17. TEXT IMPROVEMENTS ── */
.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.85) !important;
}

.lead {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ── 18. BUTTON ENHANCEMENTS ── */
.btn-outline-primary {
    border-color: #22d3ee !important;
    color: #22d3ee !important;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #22d3ee, #60a5fa) !important;
    border-color: #22d3ee !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
    transform: translateY(-2px);
}

.btn-primary.btn-lg {
    background: linear-gradient(135deg, #22d3ee, #60a5fa) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
    transition: transform 0.2s ease;
}

.btn-primary.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 211, 238, 0.5);
}

/* ── 19. PERFORMANCE OPTIMIZATIONS ── */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Disable expensive backdrop-filter on mobile — major GPU/main-thread cost */
@media (max-width: 767px) {
    .service-card,
    .accordion-item,
    .card,
    .p-4.rounded-4,
    .text-center.my-5.p-5,
    .nav-dropdown,
    .back-to-top {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

/* Hint compositor for will-change on scroll-animated elements */
.whatsapp-fab,
.call-fab,
.back-to-top {
    will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ── WhatsApp CTA Button ── */
.btn-whatsapp {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #003d1a !important; /* dark green on bright green = 6.5:1 contrast (WCAG AA) */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}
.btn-whatsapp:hover,
.btn-whatsapp:focus,
.btn-whatsapp:active {
    background-color: #1ebe5d !important;
    border-color: #1ebe5d !important;
    color: #003d1a !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ── Google Business Profile Rating Section ── */
.gbp-rating-section {
    padding: 1.5rem 0;
    background: rgba(6, 8, 14, 0.97);
    border-top: 1px solid rgba(34, 211, 238, 0.08);
    border-bottom: 1px solid rgba(34, 211, 238, 0.08);
}
.gbp-rating-strip {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}
.gbp-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    padding-right: 2rem;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.gbp-score {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.gbp-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.gbp-stars {
    color: #FBBC05;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.gbp-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.gbp-count {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}
.gbp-link {
    font-size: 0.72rem;
    color: #22d3ee;
    text-decoration: none;
    white-space: nowrap;
}
.gbp-link:hover { text-decoration: underline; }
.gbp-reviews-row {
    display: flex;
    gap: 1rem;
    flex: 1;
    min-width: 0;
    flex-wrap: wrap;
}
.gbp-review-card {
    flex: 1;
    min-width: 180px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 0.65rem 0.85rem;
}
.gbp-rv-stars {
    color: #FBBC05;
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
}
.gbp-rv-text {
    font-size: 0.74rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin-bottom: 0.3rem;
    font-style: italic;
}
.gbp-rv-author {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.35);
    font-weight: 600;
}
@media (max-width: 767px) {
    .gbp-badge { border-right: none; padding-right: 0; }
    .gbp-reviews-row { display: none; }
}

/* ── Call FAB — visible on mobile, hidden on desktop ── */
@media (min-width: 992px) {
    .call-fab { display: none !important; }
}

/* ── Nav Dropdowns — hover-open on desktop ── */
@media (min-width: 992px) {
    /* Anchor point: dropdown's top:100% resolves against the <li> */
    .navbar .nav-item.dropdown {
        position: relative;
    }
    /* Ensure menus are hidden by default; JS adds .show on mouseenter */
    .navbar .nav-item.dropdown > .dropdown-menu {
        display: none;
    }
    .navbar .nav-item.dropdown > .dropdown-menu.show {
        display: block !important;
    }
    /* Caret rotates when menu is open */
    .navbar .nav-item.dropdown > .dropdown-toggle::after {
        transition: transform 0.2s ease;
    }
    .navbar .nav-item.dropdown.show > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* ── Nav Dropdowns ── */
.nav-dropdown,
.nav-dropdown li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.nav-dropdown li::before,
.nav-dropdown li::marker {
    display: none !important;
    content: none !important;
}
.nav-dropdown {
    /* Explicit absolute positioning so the menu drops below the nav link */
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    /* z-index must exceed sticky-top (1020) to paint above the header */
    z-index: 1050 !important;
    background: rgba(8, 10, 18, 0.98) !important;
    border: 1px solid rgba(34, 211, 238, 0.22) !important;
    border-radius: 10px !important;
    /* backdrop-filter intentionally omitted — it would create a nested stacking
       context inside the navbar's own backdrop-filter stacking context and trap
       the dropdown inside the header's paint layer */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(34, 211, 238, 0.1) !important;
    min-width: 220px;
    padding: 0.5rem 0;
    margin-top: 2px !important;
}
.nav-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    border-radius: 6px;
    margin: 0 0.35rem;
    transition: background 0.15s ease, color 0.15s ease;
}
.nav-dropdown .dropdown-item:hover,
.nav-dropdown .dropdown-item:focus {
    background: rgba(34, 211, 238, 0.12) !important;
    color: #22d3ee !important;
}
.nav-dropdown .dropdown-item .text-info {
    color: #22d3ee !important;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.nav-dropdown .dropdown-item:hover .text-info {
    opacity: 1;
}
.nav-dropdown .dropdown-divider {
    border-color: rgba(34, 211, 238, 0.12) !important;
    margin: 0.25rem 0.5rem;
}

/* ═══════════════════════════════════════════════
   FOOTER — complete redesign
   ═══════════════════════════════════════════════ */
.site-footer {
    background-color: #050505;
    border-top: 1px solid rgba(34, 211, 238, 0.15);
    padding-top: 3rem;
    padding-bottom: 0;
    margin-top: 4rem;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22d3ee 40%, #60a5fa 60%, transparent);
}

/* Brand strip — centred at the top */
.footer-brand-strip {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 2.5rem;
}
.footer-brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #22d3ee;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}
.footer-brand-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55); /* raised from 0.38 → 0.55 for WCAG AA (6.5:1) */
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

/* Social icons row */
.footer-social-row {
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}
.fsoc-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.fsoc-icon:hover {
    background: rgba(34, 211, 238, 0.15);
    border-color: rgba(34, 211, 238, 0.5);
    color: #22d3ee;
    transform: translateY(-2px);
}
.fsoc-wa { background: rgba(37,211,102,0.12) !important; border-color: rgba(37,211,102,0.3) !important; color: #25D366 !important; }
.fsoc-wa:hover { background: rgba(37,211,102,0.25) !important; border-color: #25D366 !important; color: #25D366 !important; }

/* Four-column link grid */
.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 991px) {
    .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2rem; }
}
@media (max-width: 575px) {
    .footer-cols { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Column headings */
.footer-col-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #22d3ee;
    margin-bottom: 0.85rem;
    margin-top: 0;
}

/* Link lists */
.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-link-list li {
    margin-bottom: 0.45rem;
}
.footer-link-list a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.15s ease, padding-left 0.15s ease;
    display: inline-block;
}
.footer-link-list a:hover {
    color: #22d3ee;
    padding-left: 4px;
}

/* Locations list (no links, plain text) */
.footer-locations-list li {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    padding-left: 14px;
    position: relative;
}
.footer-locations-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #22d3ee;
    opacity: 0.6;
}

/* Address block */
.footer-address {
    font-style: normal;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.75;
    margin-bottom: 1rem;
}

/* Phone / WhatsApp links */
.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}
.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-contact-link:hover { color: #22d3ee; }
.footer-wa-link { color: #25D366 !important; }
.footer-wa-link:hover { color: #1ebe5d !important; }

/* Store hours */
.footer-hours {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.32);
    margin: 0;
}

/* Bottom copyright bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.25);
}
.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-links a,
.footer-bottom a {
    color: rgba(255,255,255,0.35) !important;
    text-decoration: none;
    transition: color 0.15s ease;
}
.footer-bottom-links a:hover,
.footer-bottom a:hover {
    color: #22d3ee !important;
}
@media (max-width: 575px) {
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
}
