/* ==========================================================================
   Ultra-Premium Tech-Luxury Design System (Clínica Dental MEB)
   Diseñado por experto en marketing y UX/UI en salud dental
   ========================================================================== */

:root {
    /* Color Palette - Refined Tech-Luxury & Dental Health (Matched to Logo Colors) */
    --primary-color: #2aa9e0;       /* Exact Logo Electric Cyan - Medical precision and high-ticket appeal */
    --primary-hover: #1c8ec0;
    --logo-gray: #a0a0a2;           /* Exact Logo Matte Silver-Gray - Hygienic, premium clinical metal */
    --secondary-color: #3A3A3C;     /* Deep Slate-Charcoal (from logo gray) for luxury authority and headers */
    --secondary-hover: #232324;     /* Dark Graphite - Matte black anodized look */
    
    /* Luxury Neutrals */
    --bg-color: #FCFDFD;            /* Clinical Pure Off-White - Calming, hygienic, breathable */
    --bg-soft: #F4F6F7;             /* Soft Light Gray (from logo gray tint) for clean segmentation */
    --text-color: #4A4A4C;          /* Matte Charcoal Gray - Perfect readability, soft on the eyes, 0% harsh black */
    --text-light: #707072;          /* Slate Mineral Gray - Elegant secondary body weight */
    --text-muted: #a0a0a2;          /* Logo Silver Gray for placeholders and details */
    
    /* Typography System */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Premium Shadows & Glassmorphism - Neutral Gray based instead of Teal */
    --shadow-sm: 0 4px 20px -2px rgba(90, 90, 92, 0.03);
    --shadow-md: 0 12px 30px -10px rgba(90, 90, 92, 0.05), 0 4px 12px -5px rgba(90, 90, 92, 0.02);
    --shadow-lg: 0 30px 60px -15px rgba(90, 90, 92, 0.06), 0 10px 30px -10px rgba(42, 169, 224, 0.04);
    --shadow-lux: 0 50px 100px -20px rgba(90, 90, 92, 0.12), 0 20px 40px -15px rgba(42, 169, 224, 0.06);
    
    --border-premium: 1px solid rgba(160, 160, 162, 0.15);
    --border-glass: 1px solid rgba(255, 255, 255, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.85);
    
    /* Animation Curve - High-end slow ease-out for luxurious feel */
    --transition-lux: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
    font-size: 100%; 
    background-color: var(--bg-color);
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 3.25rem;
}

h3 {
    font-size: 1.85rem;
}

em {
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

p {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.85;
    letter-spacing: 0.01em;
}

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

/* Structural Layout */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding { 
    padding: 12rem 0; /* Expanded negative space to let design breathe */
}

.bg-soft { 
    background-color: var(--bg-soft); 
}

/* ==========================================================================
   Utility Typography
   ========================================================================== */
.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1.75rem;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.hero-subtitle::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1px;
    background-color: var(--primary-color);
    vertical-align: middle;
    margin-right: 12px;
}

/* ==========================================================================
   Animations & Intersection Observer
   ========================================================================== */
.reveal, .reveal-up, .reveal-right {
    opacity: 0;
    will-change: transform, opacity;
    transition: var(--transition-lux);
}
.reveal-up { transform: translateY(40px); }
.reveal-right { transform: translateX(-35px); }

.reveal.active, .reveal-up.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.15rem 2.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    border-radius: 50px; /* Modern pill style replaces rigid square edges for friendlier premium feel */
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(74, 74, 76, 0.25);
}

.btn-primary:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-lg {
    padding: 1.3rem 3.2rem;
    font-size: 0.9rem;
}

.btn-block { 
    width: 100%; 
    padding: 1.25rem; 
    font-size: 0.9rem;
}

/* ==========================================================================
   Navbar (Glassmorphic Concierge Header)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 0;
    background: rgba(252, 253, 253, 0.85); /* Breathable transparent off-white */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(74, 74, 76, 0.04);
    z-index: 1000;
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 0.85rem 0;
    background: rgba(252, 253, 253, 0.96);
    box-shadow: 0 10px 30px -10px rgba(74, 74, 76, 0.08);
    border-bottom: 1px solid rgba(74, 74, 76, 0.06);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    height: 52px;
    width: auto;
    transition: var(--transition-fast);
}

.site-logo:hover {
    opacity: 0.85;
    transform: scale(0.98);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.nav-link {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--secondary-color);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover { 
    color: var(--primary-color); 
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Nav booking button adjustments */
.navbar .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

/* ==========================================================================
   Hero Section (Odontología de Autor)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(30, 164, 227, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(74, 74, 76, 0.01) 0%, transparent 60%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1.15;
    margin-bottom: 2.25rem;
    color: var(--secondary-color);
}

.hero-content h1 br {
    display: block;
}

.hero-content p {
    font-size: 1.25rem;
    max-width: 88%;
    margin-bottom: 3.5rem;
    color: var(--text-light);
}

.hero-image-wrapper {
    position: relative;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slider {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; /* Constant aspect ratio across all devices for flawless framing */
    max-height: 520px; /* Cap the height on very large displays to keep layout compact */
    position: relative;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lux);
    transition: var(--transition-lux);
}

.hero-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.08); /* Start slightly scaled up for cinematic parallax zoom-in */
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    object-position: center; /* Centering fallback */
}

/* Custom focal points for MEB clinic assets to avoid cropping signs or clinical elements */
.hero-slider-img:nth-child(1) {
    object-position: 50% 30%; /* Focus slightly higher to capture the main clinic signage/facade */
}

.hero-slider-img:nth-child(2) {
    object-position: 50% 40%; /* Perfect center-up focus on the microscope precision procedure */
}

.hero-slider-img:nth-child(3) {
    object-position: 50% 50%; /* Exact center focus on the dentist, Medit 3D scanner and the screen model */
}

.hero-slider-img.active {
    opacity: 1;
    transform: scale(1); /* Smooth zoom-in/out transition to native size when active */
}

.hero-image-wrapper:hover .hero-slider {
    transform: translateY(-8px) scale(1.01);
}

.luxury-accent-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 100%;
    border: 1px solid rgba(30, 164, 227, 0.2);
    border-radius: 32px;
    z-index: 1;
    transform: translate(24px, 24px);
    transition: var(--transition-lux);
    pointer-events: none;
}

.hero-image-wrapper:hover .luxury-accent-box {
    transform: translate(12px, 12px);
    border-color: var(--primary-color);
}

/* ==========================================================================
   Philosophy Section
   ========================================================================== */
.philosophy {
    position: relative;
    border-bottom: var(--border-premium);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 10rem;
    align-items: center;
}

.philosophy-text h2 {
    font-size: 3.25rem;
    margin-bottom: 2.5rem;
    line-height: 1.25;
}

.philosophy-text p:last-child {
    margin-bottom: 0;
}

.philosophy-stats {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
    border-left: 1px solid rgba(74, 74, 76, 0.08);
    padding-left: 5rem;
}

.stat-item {
    position: relative;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--secondary-color);
    line-height: 1;
    margin-bottom: 0.75rem;
    font-weight: 300;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 500;
}

/* ==========================================================================
   Specialties Section
   ========================================================================== */
.specialties {
    position: relative;
}

.section-header {
    margin-bottom: 6rem;
}

.section-header h2 {
    font-size: 3.25rem;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.specialty-card {
    background: #ffffff;
    padding: 0;
    border-radius: 20px; /* rounded-2xl modern luxury standard */
    border: var(--border-premium);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-lux);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.specialty-image-box {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(74, 74, 76, 0.04);
}

.specialty-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-lux);
}

.specialty-card:hover .specialty-card-img {
    transform: scale(1.06);
}

.specialty-content {
    padding: 2.5rem 2.5rem 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.specialty-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: rgba(30, 164, 227, 0.15);
}

.specialty-card:hover::before {
    transform: scaleX(1);
}

.specialty-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.specialty-card:hover h3 {
    color: var(--primary-color);
}

.specialty-card p {
    margin-bottom: 0;
}

.specialty-line {
    width: 48px;
    height: 1px;
    background-color: var(--primary-color);
    margin-top: 3rem;
    transition: var(--transition-fast);
}

.specialty-card:hover .specialty-line {
    width: 80px;
    background-color: var(--secondary-color);
    height: 2px;
}

/* ==========================================================================
   Testimonial Section (Luxury Magazine Feature)
   ========================================================================== */
.testimonial {
    text-align: center;
    background: radial-gradient(circle at center, #4F4F52 0%, var(--secondary-color) 100%);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.testimonial::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(30, 164, 227, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(30, 164, 227, 0.08) 0%, transparent 45%);
    pointer-events: none;
}

.testimonial-container {
    max-width: 860px;
    position: relative;
    z-index: 2;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 9rem;
    line-height: 0;
    color: rgba(30, 164, 227, 0.25);
    margin-bottom: 3.5rem;
    display: inline-block;
}

.testimonial blockquote {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 4rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.author-info strong {
    display: block;
    font-size: 1.15rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    font-family: var(--font-body);
    color: #ffffff;
    font-weight: 600;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--primary-color);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

/* ==========================================================================
   Contact Section (Boutique Valuation Form)
   ========================================================================== */
.contact-section {
    background-color: var(--bg-soft);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Balanced 1fr 1fr columns */
    gap: 4.5rem; /* Balanced gap */
    background: #ffffff;
    padding: 4.5rem; /* Expanded breathing room padding */
    border-radius: 28px;
    border: var(--border-premium);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form {
    min-height: 480px; /* Crucial: stops layout vertical shifting during quiz steps */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-wrapper::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(30, 164, 227, 0.05) 0%, transparent 70%);
    top: -50px;
    right: -50px;
    pointer-events: none;
}

.contact-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-text h2 {
    font-size: 3.25rem;
    margin-bottom: 2rem;
}

.contact-text p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.contact-form-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    position: relative;
}

.input-luxury {
    margin-bottom: 2.5rem;
}

.input-luxury input {
    width: 100%;
    padding: 1.15rem 1rem 1.15rem 0.5rem;
    border: none;
    border-bottom: 1px solid rgba(74, 74, 76, 0.15);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-color);
    background: transparent;
    transition: var(--transition-fast);
}

.input-luxury input::placeholder {
    color: var(--text-light);
    opacity: 0.7;
    font-weight: 300;
    transition: var(--transition-fast);
}

.input-luxury input:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
    background-color: rgba(30, 164, 227, 0.01);
}

.input-luxury input:focus::placeholder {
    opacity: 0.4;
    transform: translateX(5px);
}

/* Solid focus ring style simulation on bottom border */
.input-luxury::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-luxury:focus-within::after {
    transform: scaleX(1);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: 7rem 0;
    background: #EAF5FA; /* Elegant Azul Cyan Claro / Soft Tint - highly clean, clinical and prestigious visual closure */
    text-align: center;
    color: var(--secondary-color); /* Deep slate-charcoal text for perfect contrast */
    border-top: 1px solid rgba(42, 169, 224, 0.15);
}

.footer-logo {
    /* Removed brightness/invert filters to show the original beautiful dark-cyan branding logo */
    opacity: 0.95;
    margin-bottom: 2.5rem;
    height: 52px;
    transition: var(--transition-fast);
}

.footer-logo:hover {
    opacity: 0.8;
}

.footer p {
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    color: #5A5A5C; /* Elegant dark-gray readability color */
    font-weight: 400;
    line-height: 2;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1200px) {
    h1 { font-size: 3.85rem; }
    h2 { font-size: 2.85rem; }
    .hero-container { gap: 4rem; }
    .philosophy-grid { gap: 6rem; }
    .contact-wrapper { gap: 4rem; padding: 4.5rem; }
}

@media (max-width: 992px) {
    .section-padding { padding: 9rem 0; }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5rem;
    }
    
    .hero-content h1 {
        margin-bottom: 1.75rem;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    
    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .hero-image, .hero-slider {
        height: auto; /* Fluid aspect ratio scaling */
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    
    .philosophy-stats {
        border-left: none;
        border-top: 1px solid rgba(74, 74, 76, 0.08);
        padding-left: 0;
        padding-top: 5rem;
        flex-direction: row;
        justify-content: space-around;
    }
    
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 4.5rem 3.5rem;
    }

    .contact-text {
        text-align: center;
        align-items: center;
    }

    .contact-text h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }

    .clinic-facade-wrapper {
        max-width: 520px;
        margin: 2.5rem auto 0 auto;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.65rem; }
    
    .navbar {
        padding: 1rem 0;
    }
    
    .nav-links {
        display: none; /* Mobile menu hidden by default - kept static structure as requested */
    }
    
    .section-padding { padding: 7rem 0; }
    
    .hero {
        padding-top: 120px;
        padding-bottom: 50px;
    }
    
    .hero-image, .hero-slider {
        height: auto; /* Fluid aspect ratio scaling */
    }
    
    .luxury-accent-box {
        transform: translate(16px, 16px);
    }
    
    .philosophy-stats {
        flex-direction: column;
        gap: 3.5rem;
        align-items: center;
        text-align: center;
    }
    
    .specialties-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .specialty-card {
        padding: 0;
    }

    .specialty-content {
        padding: 2rem 2rem 2.5rem 2rem;
    }
    
    .specialty-image-box {
        height: 190px;
    }
    
    .testimonial blockquote {
        font-size: 1.75rem;
        line-height: 1.55;
    }
    
    .contact-wrapper {
        padding: 3rem 1.5rem;
        gap: 3rem;
    }

    .contact-text h2 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }

    .quiz-step-title {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .quiz-form-buttons {
        flex-direction: column-reverse;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .quiz-form-buttons .btn-primary,
    .quiz-form-buttons .btn-outline {
        width: 100%;
        margin-top: 0;
        text-align: center;
        padding: 0.95rem 1.5rem;
    }
}

/* ==========================================================================
   Smile Slider, FAQs Accordion, & WhatsApp Concierge Styles
   ========================================================================== */

/* Philosophy Section Layout Adjustments */
.philosophy-stats-row {
    display: flex;
    gap: 4rem;
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(74, 74, 76, 0.08);
}

.philosophy-stats-row .stat-item {
    flex: 1;
}

/* Smile Slider Styles */
.philosophy-slider-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.smile-slider {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lux);
    border: var(--border-premium);
    user-select: none;
    -webkit-user-select: none;
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* Before Image Filter & Overlay */
.img-before {
    width: 50%; /* Initial width */
    z-index: 10;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.img-before img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-width: none !important; /* Prevents browser from scaling/squishing the image when parent is clipped */
    filter: none; /* No filter needed since we are now using a real clinical before-and-after pair */
}

.img-after {
    z-index: 5;
}

.img-after img {
    filter: brightness(1.02) contrast(1.02);
}

.slider-badge {
    position: absolute;
    bottom: 20px;
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 600;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20;
}

.badge-before {
    left: 20px;
    background: rgba(74, 74, 76, 0.75);
    color: #ffffff;
}

.badge-after {
    right: 20px;
    background: rgba(30, 164, 227, 0.85);
    color: #ffffff;
}

/* Handle */
.slider-handle {
    position: absolute;
    top: 0;
    left: 50%; /* Matches img-before width */
    width: 4px;
    height: 100%;
    background-color: #ffffff;
    z-index: 30;
    cursor: ew-resize;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.handle-line {
    flex: 1;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.8);
}

.handle-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0 6px 16px rgba(74, 74, 76, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    cursor: ew-resize;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, color 0.25s ease;
}

.slider-handle:hover .handle-button,
.slider-handle:active .handle-button {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: #ffffff;
}

.handle-button svg {
    width: 14px;
    height: 14px;
}

.handle-button svg:first-child {
    margin-right: -2px;
}

.handle-button svg:last-child {
    margin-left: -2px;
}

/* FAQs Section & Accordion */
.faqs-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    border: var(--border-premium);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 164, 227, 0.12);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.25rem 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 400;
    padding-right: 2rem;
    transition: var(--transition-fast);
}

.faq-item:hover .faq-question {
    color: var(--primary-color);
}

.faq-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--bg-soft);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.faq-icon {
    position: relative;
    width: 12px;
    height: 12px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--secondary-color);
    transition: var(--transition-fast);
}

/* Horizontal line */
.faq-icon::before {
    top: 5px;
    left: 0;
    width: 12px;
    height: 2px;
}

/* Vertical line */
.faq-icon::after {
    top: 0;
    left: 5px;
    width: 2px;
    height: 12px;
}

.faq-item.active .faq-icon-wrapper {
    background-color: var(--primary-color);
}

.faq-item.active .faq-icon::before {
    background-color: #ffffff;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
    background-color: #ffffff;
}

/* Animating height with CSS Grid trick for ultra-smooth rendering */
.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-content {
    grid-template-rows: 1fr;
}

.faq-content-inner {
    overflow: hidden;
}

.faq-content-inner p {
    padding: 0 2.5rem 2.25rem 2.5rem;
    font-size: 1.05rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
}

/* WhatsApp Concierge Widget */
.whatsapp-concierge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1); /* Premium micro-interaction transition */
}

/* Dynamic Shift: Prevents the widget from covering the Google Map in the footer */
@media (min-width: 992px) {
    .whatsapp-concierge.shifted {
        transform: translateX(-360px); /* Seamlessly slides to the left gutter on desktop */
    }
}

@media (max-width: 992px) {
    .whatsapp-concierge.shifted {
        opacity: 0;
        pointer-events: none;
        transform: translateY(20px) scale(0.92); /* Elegant fade-out to maximize mobile screen space for map interaction */
    }
}

.concierge-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(74, 74, 76, 0.2);
    position: relative;
    transition: var(--transition-fast);
    outline: none;
}

.concierge-trigger:hover {
    transform: scale(1.05) translateY(-3px);
    background-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(30, 164, 227, 0.35);
}

.whatsapp-icon-svg {
    width: 24px;
    height: 24px;
}

/* Pulsing Outer Ring to Draw Attention Subtly */
.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: ringPulse 2s infinite ease-out;
    opacity: 0;
    pointer-events: none;
}

@keyframes ringPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #E53E3E; /* Soft notification red */
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid #ffffff;
}

/* Welcome Card */
.concierge-card {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 340px;
    max-width: 90vw; /* Perfect responsive scaling for tiny mobile screens */
    background: #ffffff;
    border-radius: 20px;
    border: var(--border-premium);
    box-shadow: var(--shadow-lux);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
}

.concierge-card.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.concierge-header {
    background-color: #ffffff;
    color: var(--secondary-color);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(160, 160, 162, 0.12);
}

.concierge-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.profile-pic {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(42, 169, 224, 0.08);
    border: 1px solid rgba(42, 169, 224, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.concierge-avatar-svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.concierge-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.online-indicator {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #38A169; /* Soft online green */
    border: 2px solid #ffffff;
}

.profile-info h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.2;
}

.profile-info span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-top: 0.15rem;
}

.concierge-close {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    outline: none;
}

.concierge-close:hover {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.concierge-body {
    padding: 1.5rem;
    background-color: #FCFDFD;
}

.concierge-message {
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.concierge-time {
    font-size: 0.7rem;
    color: var(--text-light);
    font-style: italic;
}

.concierge-footer {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    background-color: #FCFDFD;
}

.concierge-btn {
    display: flex;
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 500;
    color: #ffffff !important;
    background-color: var(--primary-color);
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(42, 169, 224, 0.15);
    transition: var(--transition-fast);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.concierge-btn::before {
    display: none; /* Deactivate standard button hover shift to avoid absolute container glitches */
}

.concierge-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(42, 169, 224, 0.3);
}

.concierge-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.concierge-btn:hover svg {
    transform: translateX(4px);
}

/* Responsive adjustments for Smile Slider & Columns */
@media (max-width: 992px) {
    .philosophy-stats-row {
        gap: 2rem;
        margin-top: 2.5rem;
        padding-top: 2rem;
        justify-content: center;
        text-align: center;
    }
    
    .smile-slider {
        height: 380px;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .philosophy-stats-row {
        flex-direction: column;
        gap: 2rem;
    }
    
    .faq-trigger {
        padding: 1.75rem 2rem;
    }
    
    .faq-question {
        font-size: 1.2rem;
    }
    
    .faq-content-inner p {
        padding: 0 2rem 1.75rem 2rem;
    }
    
    .whatsapp-concierge {
        bottom: 20px;
        right: 20px;
    }
    
    .concierge-card {
        width: 300px;
        bottom: 75px;
    }
}

/* ==========================================================================
   Interactive Dental Quiz Form Styles
   ========================================================================== */
.quiz-progress-wrapper {
    width: 100%;
    height: 4px;
    background-color: var(--bg-soft);
    border-radius: 2px;
    margin-bottom: 2.5rem;
    overflow: hidden;
}

.quiz-progress-bar {
    height: 100%;
    width: 25%; /* Initial progress for Step 1 */
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step {
    display: none;
    animation: fadeStep 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step.active {
    display: block;
}

@keyframes fadeStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-step-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-weight: 400;
}

.quiz-step-subtitle {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quiz-option-card {
    display: block;
    position: relative;
    cursor: pointer;
}

.quiz-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
    border: var(--border-premium);
    background-color: var(--bg-soft);
    transition: var(--transition-fast);
    box-sizing: border-box;
    width: 100%;
}

.option-check-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(160, 160, 162, 0.45);
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-fast);
    background-color: #ffffff;
}

.quiz-option-card:hover .option-content {
    background-color: #ffffff;
    border-color: rgba(42, 169, 224, 0.3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.quiz-option-card:hover .option-check-circle {
    border-color: var(--primary-color);
}

.quiz-option-card input[type="radio"]:checked + .option-content {
    background-color: rgba(42, 169, 224, 0.04); /* Premium brand cyan tint */
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.quiz-option-card input[type="radio"]:checked + .option-content .option-check-circle {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}

.quiz-option-card input[type="radio"]:checked + .option-content .option-check-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
}

.option-text-group {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex: 1;
    min-width: 0;
}

.option-title {
    display: block;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
    transition: var(--transition-fast);
}

.quiz-option-card input[type="radio"]:checked + .option-content .option-title {
    color: var(--primary-color);
}

.option-desc {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 300;
    line-height: 1.4;
}

/* Step Buttons */
.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(74, 74, 76, 0.2);
    color: var(--secondary-color);
    padding: 0.8rem 2rem;
    font-size: 0.8rem;
    margin-top: 1rem;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.btn-outline:hover {
    background-color: var(--bg-soft);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.quiz-form-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.quiz-form-buttons .btn-primary {
    flex: 1;
    border-radius: 50px;
    padding: 1rem 2rem;
}

.quiz-form-buttons .btn-outline {
    margin-top: 0;
}

/* ==========================================================================
   Real Facade & Premium Grid Footer Styles
   ========================================================================== */

/* Navbar phone number link */
.nav-phone {
    font-weight: 600;
    color: var(--primary-color) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.nav-phone:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-1px);
}

/* Clinic Facade Card */
.clinic-facade-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: var(--border-premium);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-color);
    transition: var(--transition-lux);
}

.clinic-facade-wrapper:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.clinic-facade-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: var(--transition-lux);
}

.clinic-facade-wrapper:hover .clinic-facade-img {
    transform: scale(1.03);
}

.facade-caption {
    padding: 1rem 1.25rem;
    background-color: var(--bg-soft);
    border-top: 1px solid rgba(160, 160, 162, 0.1);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.5;
}

/* Premium Grid Footer */
.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr; /* 3 balanced columns on desktop to fit logo, details and Google map */
    gap: 4.5rem;
    text-align: left;
    margin-bottom: 4rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand p {
    font-size: 0.95rem;
    color: #5A5A5C; /* Soft dark gray readable color */
    line-height: 1.8;
    margin-top: 1.5rem;
    max-width: 90%;
    font-weight: 300;
}

.footer-contact h4,
.footer-map h4 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--secondary-color); /* Deep logo slate-charcoal */
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-contact h4::after,
.footer-map h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color); /* Cyan brand underline */
}

.footer-contact-item {
    font-size: 0.95rem;
    color: #4A4A4C !important; /* Dark slate-gray text */
    margin-bottom: 1.25rem !important;
    font-weight: 300;
    line-height: 1.6;
}

.footer-link {
    color: var(--secondary-color); /* Deep branding gray */
    font-weight: 500;
    transition: var(--transition-fast);
    text-decoration: underline;
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-map {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.map-container {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(42, 169, 224, 0.25); /* Soft logo-colored frame border */
    transition: var(--transition-lux);
    position: relative; /* Added relative positioning for absolute child */
}

.map-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 164, 227, 0.08);
    border-color: var(--primary-color); /* Cyan highlight border */
}

.map-overlay-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(42, 169, 224, 0.35);
    border-radius: 30px;
    padding: 0.45rem 0.85rem;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.map-overlay-badge::before {
    content: '📍';
    font-size: 0.75rem;
}

.map-overlay-badge:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 169, 224, 0.3);
}

.map-overlay-badge:active {
    transform: translateY(0);
}

/* GPS Navigation Panel - Luxury Micro-chips */
.gps-navigation-panel {
    width: 100%;
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
}

.gps-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8A8A8C;
}

.gps-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    width: 100%;
}

.gps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.gps-btn .gps-icon {
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    stroke-width: 2.5px;
}

/* Specific Platform Styling & Highlights */
.gps-btn.gps-google {
    background: rgba(66, 133, 244, 0.1);
    border: 1px solid rgba(66, 133, 244, 0.3);
    color: #8ab4f8;
}

.gps-btn.gps-google:hover {
    background: #4285F4;
    border-color: #4285F4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.gps-btn.gps-waze {
    background: rgba(51, 204, 255, 0.1);
    border: 1px solid rgba(51, 204, 255, 0.3);
    color: #66dbff;
}

.gps-btn.gps-waze:hover {
    background: #33CCFF;
    border-color: #33CCFF;
    color: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 204, 255, 0.4);
}

.gps-btn.gps-apple {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #E5E5EA;
}

.gps-btn.gps-apple:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.gps-btn:hover .gps-icon {
    transform: scale(1.18);
}

.gps-btn:active {
    transform: translateY(0);
}

.footer-bottom {
    padding-top: 2.5rem;
    border-top: 1px solid rgba(42, 169, 224, 0.15); /* Soft cyan divider */
}

.footer-bottom p {
    font-size: 0.8rem !important;
    color: #8A8A8C !important; /* Lighter elegant gray */
    margin: 0;
}

/* Footer Responsive adjustments */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .footer-brand,
    .footer-map {
        align-items: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-contact h4::after,
    .footer-map h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .map-container {
        max-width: 480px; /* Elegant horizontal cap on smaller devices */
        height: 220px;
    }

    .gps-navigation-panel {
        align-items: center;
    }

    .gps-buttons {
        justify-content: center;
    }
}


