:root {
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Theme: Premium Dark Medical Ecosistema */
    --bg-dark: #030712;
    --bg-card: rgba(17, 24, 39, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(5, 236, 226, 0.15);
    
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;

    /* Accents & Gradients */
    --accent-cyan: #05ECE2;
    --accent-mint: #09F784;
    --accent-blue: #3b82f6;
    --accent-violet: #8b5cf6;
    
    --gradient-primary: linear-gradient(135deg, #05ECE2 0%, #00F2FE 50%, #3b82f6 100%);
    --gradient-blue: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #05ECE2 0%, #09F784 100%);
    
    --glass-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    --glow-shadow: 0 0 25px rgba(5, 236, 226, 0.3);
    --glow-shadow-blue: 0 0 25px rgba(59, 130, 246, 0.3);
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Premium Upgrade Tokens */
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(5, 10, 24, 0.55);
    --neon-border: linear-gradient(90deg, rgba(5, 236, 226, 0.3) 0%, rgba(59, 130, 246, 0.1) 100%);
    --hairline-width: 0.5px;
    --noise-opacity: 0.035;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: initial; /* Lenis handles smooth scrolling */
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
}



/* 1. Cinematic Light Reveal Splash */
#premium-cinematic-splash {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: #000000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.splash-logo-container {
    position: relative;
    width: 340px;
    height: auto;
}

.splash-cinematic-logo {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

/* Layer 1: Very dim base */
.splash-cinematic-logo.base-logo {
    opacity: 0.04;
    position: relative;
}

/* Layer 2: The light sweep mask */
.splash-cinematic-logo.light-mask-logo {
    opacity: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 50%, transparent 100%);
    -webkit-mask-size: 300% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-image: linear-gradient(90deg, transparent 0%, black 50%, transparent 100%);
    mask-size: 300% 100%;
    mask-repeat: no-repeat;
    filter: brightness(1.5) drop-shadow(0 0 5px rgba(5, 236, 226, 0.4));
}

/* Layer 3: The final intense glow */
.splash-cinematic-logo.glow-logo {
    opacity: 0;
    filter: brightness(1.8) drop-shadow(0 0 20px rgba(5, 236, 226, 0.8)) drop-shadow(0 0 40px rgba(59, 130, 246, 0.5));
}

/* 1.5. Scrollytelling Section (Chamber Tour) */
.scrollytelling-section {
    position: relative;
    width: 100%;
    height: auto; /* Let ScrollTrigger calculate the pinning spacer dynamically */
    background-color: #020308;
    overflow: visible;
}

.scrolly-mobile-layout {
    display: none;
}

.scrolly-fixed-viewport {
    position: sticky;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 5;
}

/* 16:9 Proportional cover wrapper to keep video matching hotspots layout perfectly at any aspect ratio */
.scrolly-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw; /* 9 / 16 = 56.25% */
    min-height: 100vh;
    min-width: 177.78vh; /* 16 / 9 = 177.78% */
    z-index: 1;
    overflow: hidden;
}

#scrolly-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Bilateral dark vignette to guarantee maximum text readability */
.scrolly-video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(2, 3, 8, 0.15) 0%, rgba(2, 3, 8, 0.65) 100%),
                linear-gradient(to right, rgba(2, 3, 8, 0.85) 0%, rgba(2, 3, 8, 0.25) 40%, rgba(2, 3, 8, 0.2) 60%, rgba(2, 3, 8, 0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Floating Cinematic Content Container */
.scrolly-content-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 10%;
    padding-right: 10%;
    pointer-events: none;
}

/* Navigation dots con anillo SVG de progreso */
.scrolly-progress-nav {
    position: absolute;
    left: 4%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.scrolly-dot {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(2, 3, 8, 0.6);
    backdrop-filter: blur(8px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.scrolly-dot:hover {
    transform: scale(1.12);
}

/* SVG ring track */
.dot-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    border-radius: 50%;
    overflow: visible;
}

.dot-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 2;
}

.dot-ring-fill {
    fill: none;
    stroke: #05ECE2;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 94.25; /* 2π × 15 */
    stroke-dashoffset: 94.25;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    filter: drop-shadow(0 0 4px rgba(5, 236, 226, 0.7));
}

.scrolly-dot.active .dot-ring-fill {
    stroke-dashoffset: 0;
}

.dot-inner {
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
    transition: color 0.4s;
    position: relative;
    z-index: 1;
}

.scrolly-dot.active .dot-inner {
    color: #05ECE2;
}

/* Editorial Minimalist Text container */
.scrolly-text-wrapper {
    position: relative;
    width: 520px;
    height: 280px;
    pointer-events: auto;
}

.scrolly-text-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    gap: 2.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                transform 0.8s cubic-bezier(0.25, 1, 0.5, 1),
                visibility 0.8s;
}

.scrolly-text-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 5;
}

/* Desktop layout: Dynamically alternate sides to prevent clashing with hotspots */
@media (min-width: 992px) {
    .scrolly-text-wrapper {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }
    
    .scrolly-text-item {
        position: absolute;
        top: 50%;
        transform: translateY(-50%) translateY(30px);
        width: 400px;
        height: auto;
        pointer-events: auto;
    }
    
    .scrolly-text-item.active {
        transform: translateY(-50%) translateY(0);
    }
    
    /* Paso 1: Estructura y Acceso (index 0) -> Texto a la IZQUIERDA (6%) */
    .scrolly-text-item[data-step="0"] {
        left: 6%;
        right: auto;
    }
    
    /* Paso 2: Consola de Monitoreo (index 1) -> Texto a la DERECHA (6%) */
    .scrolly-text-item[data-step="1"] {
        left: auto;
        right: 6%;
    }

    /* Paso 3: Interior / Cabina (index 2) -> Texto a la IZQUIERDA (6%), hotspot en el centro-derecha */
    .scrolly-text-item[data-step="2"] {
        left: 6%;
        right: auto;
    }
}

.scrolly-step-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 300;
    color: rgba(5, 236, 226, 0.7);
    line-height: 0.9;
    letter-spacing: -2px;
}

.scrolly-step-line {
    width: 1px;
    background: linear-gradient(to bottom, #05ECE2 0%, rgba(5, 236, 226, 0.3) 50%, transparent 100%);
    height: 100%;
}

.scrolly-step-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.scrolly-step-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #05ECE2;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.scrolly-text-item h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.8rem;
    line-height: 1.25;
}

.scrolly-text-item p {
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 420px;
}

/* Feature bullet list inside scrolly cards */
.scrolly-features {
    list-style: none;
    padding: 0;
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.scrolly-features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
}

.scrolly-features li i {
    color: #05ECE2;
    font-size: 1rem;
    flex-shrink: 0;
}

/* Hotspots nested in 16:9 proportional wrapper */
.scrolly-hotspots-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}

.scrolly-spot {
    position: absolute;
    width: 30px;
    height: 30px;
    pointer-events: auto;
    cursor: pointer;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.spot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(5, 236, 226, 0.25);
    box-shadow: 0 0 20px rgba(5, 236, 226, 0.8);
    border: 2px solid #05ECE2;
    box-sizing: border-box;
}

.scrolly-spot::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(5, 236, 226, 0.4);
    animation: hotspotRipple 2.2s infinite linear;
}

@keyframes hotspotRipple {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

.spot-tooltip {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: rgba(3, 7, 18, 0.88);
    border: 1px solid rgba(5, 236, 226, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-display);
    color: #ffffff;
    white-space: nowrap;
    opacity: 1; /* Permanently visible when parent spot is shown */
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.scrolly-spot:hover .spot-tooltip {
    border-color: #05ECE2;
    box-shadow: 0 10px 25px rgba(5, 236, 226, 0.25), 0 0 10px rgba(5, 236, 226, 0.3);
}

.canvas-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(5, 236, 226, 0.08) 0%, transparent 70%);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 3;
}

/* Subtle Scroll Down Indicator inside Scrollytelling Viewport */
.scrolly-scroll-indicator {
    position: absolute;
    bottom: 3.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 12;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.scrolly-scroll-indicator .indicator-text {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(5, 236, 226, 0.85);
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.scrolly-scroll-indicator .indicator-arrow {
    font-size: 1.2rem;
    color: #05ECE2;
    filter: drop-shadow(0 2px 8px rgba(5, 236, 226, 0.4));
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-6px); }
    60% { transform: translateY(-3px); }
}

/* Scrollytelling Mobile Responsiveness (Inmersive Fullscreen with Fixed Info Panel) */
@media (max-width: 991px) {
    .scrollytelling-section {
        display: block;
        position: relative;
        overflow: visible;
        background-color: #020308;
    }
    
    .scrolly-fixed-viewport {
        position: sticky;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        display: block;
        z-index: 5;
        background-color: #020308;
    }
    
    .scrolly-video-wrapper {
        width: 100vw;
        height: 60vh; /* Changed from 100vh to reduce extreme zoom and crop on mobile */
        position: absolute;
        inset: 0;
        transform: none;
        top: 0;
        left: 0;
        min-width: 100%;
        min-height: 100%;
        overflow: hidden;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
    
    #scrolly-canvas {
        width: 100%;
        height: 100%;
        display: block;
    }
    
    /* Radial and linear dark vignette overlay on mobile for bulletproof contrast */
    .scrolly-video-overlay {
        background: linear-gradient(to bottom, rgba(2, 3, 8, 0.2) 0%, rgba(2, 3, 8, 0.6) 50%, rgba(2, 3, 8, 0.95) 90%, #020308 100%);
    }
    
    /* Fullscreen editorial overlay pushing content to bottom */
    .scrolly-content-overlay {
        width: 100%;
        height: 100%;
        position: absolute;
        inset: 0;
        z-index: 10;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        padding: 0 1.5rem 7.5rem 1.5rem; /* Increased bottom padding to clear floating mobile buttons */
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
    
    /* Horizontal progress dots floating elegantly above the text wrapper */
    .scrolly-progress-nav {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        gap: 1.2rem;
        margin-bottom: 2.5rem; /* Increased margin to prevent dots from overlapping texts */
        justify-content: center;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .scrolly-text-wrapper {
        width: 100%;
        max-width: 500px;
        height: auto;
        min-height: 160px; /* Allows text to breathe without overlapping */
        pointer-events: auto;
    }
    
    .scrolly-text-item {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        top: auto;
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
        align-items: center;
        justify-content: flex-end;
        transform: translateY(20px);
        background: transparent;
        border: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0;
        padding: 0;
    }

    .scrolly-text-item.active {
        transform: translateY(0);
    }

    .scrolly-step-number {
        display: none; /* Keep layout clean and clutter-free */
    }

    .scrolly-step-line {
        display: none;
    }

    .scrolly-step-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .scrolly-step-tag {
        font-size: 0.68rem;
        letter-spacing: 1.5px;
        color: #05ECE2;
        text-transform: uppercase;
        margin-bottom: 0.2rem;
        font-weight: 700;
    }

    .scrolly-text-item h3 {
        font-size: 1.25rem;
        margin-bottom: 0.3rem;
        color: #ffffff;
        font-weight: 700;
        line-height: 1.25;
    }

    .scrolly-text-item p {
        font-size: 0.80rem;
        line-height: 1.45;
        color: rgba(255, 255, 255, 0.7);
        max-width: 100%;
        margin: 0 auto;
    }

    /* Hide hotspots on mobile to optimize performance and prevent click hijacking */
    .scrolly-hotspots-container {
        display: none !important;
    }
    
    /* Position indicator higher on mobile to clear the text panel */
    .scrolly-scroll-indicator {
        bottom: 15rem;
    }
}

/* 2. Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 2rem;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.9rem 2rem;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(5, 236, 226, 0.3);
    box-shadow: 0 0 10px rgba(5, 236, 226, 0.1);
}

.brand-names {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.brand-sub {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.vcard-link-btn {
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.vcard-link-btn:hover {
    background: rgba(5, 236, 226, 0.08);
    border-color: var(--accent-cyan);
    color: #ffffff !important;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cta-nav-btn {
    background: var(--gradient-primary);
    border: none;
    color: var(--bg-dark);
    padding: 0.6rem 1.3rem;
    border-radius: 30px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(5, 236, 226, 0.15);
}

.cta-nav-btn:active {
    transform: scale(0.96);
}

/* 3. Hamburger Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 4. Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 5rem 2rem;
    overflow: hidden;
}

.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.15) brightness(0.45);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(3, 7, 18, 0.15) 0%, 
        rgba(3, 7, 18, 0.40) 70%, 
        var(--bg-dark) 100%);
}

.particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: all;
}

/* 4.1 Upgraded Premium Visuals (Active Clinical Blueprints) */


.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: var(--hairline-width) solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: -1;
}

.hero-container-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 8rem auto 0 auto; /* Added margin-top to push texts lower and clear the face */
    z-index: 2;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.8rem;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(5, 236, 226, 0.05);
    border: 1px solid rgba(5, 236, 226, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulseDot 2s infinite alternate;
}

@keyframes pulseDot {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

.hero-tagline {
    font-size: 0.75rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    font-weight: 600;
    margin-bottom: -0.5rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #ffffff 50%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    max-width: 900px;
}

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.65);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    -webkit-background-clip: text;
}

.hero-desc {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    max-width: 640px;
}

.hero-ctas {
    display: flex;
    gap: 1.2rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.primary-btn {
    padding: 1rem 1.8rem;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    border: none;
    border-radius: 40px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    box-shadow: var(--glow-shadow);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.primary-btn:active {
    transform: scale(0.96);
}

.secondary-btn {
    padding: 1rem 1.8rem;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 40px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-interactive-blueprint {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.blueprint-card {
    width: 100%;
    max-width: 420px;
    height: 480px;
    border-radius: 24px;
    background: rgba(4, 9, 24, 0.7);
    border: 1px solid rgba(5, 236, 226, 0.15);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 0 30px rgba(5, 236, 226, 0.05);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

.blueprint-grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(5, 236, 226, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(5, 236, 226, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.blueprint-scan-line {
    position: absolute;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(5, 236, 226, 0.3) 50%, transparent 100%);
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    animation: scanLaserLine 8s linear infinite;
}

@keyframes scanLaserLine {
    0% { top: -5%; }
    100% { top: 105%; }
}

.blueprint-layer {
    position: absolute;
    inset: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.blueprint-layer svg {
    width: 100%;
    height: 100%;
}

.blueprint-tag {
    position: absolute;
    font-family: monospace;
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: rgba(5, 236, 226, 0.6);
}

.blueprint-tag.tag-top {
    top: 1.5rem;
    left: 1.5rem;
}

.blueprint-tag.tag-bottom {
    bottom: 1.5rem;
    right: 1.5rem;
}

.ecg-divider-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.ecg-divider-svg {
    width: 100%;
    height: 100%;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-decoration: none;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* 5. Section Layouts */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6.5rem 2rem;
    position: relative;
    z-index: 10;
}

.bg-dark-deep {
    background-color: #02040a;
}

.grid-two-cols {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.grid-two-cols.inverse-cols {
    grid-template-columns: 0.9fr 1.1fr;
}

.text-block {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.section-tag {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    font-weight: 700;
}

.section-tag.tag-blue {
    color: var(--accent-blue);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
}

.text-glow-blue {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.15);
}

.section-p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services and benefits details */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.service-item-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.service-item-detail i {
    font-size: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 0.2rem;
}

.service-item-detail h3 {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.service-item-detail p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Showcase Image Wrappers */
.image-showcase {
    position: relative;
    width: 100%;
}

.image-wrapper-glow, .image-wrapper-glow-blue {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.image-wrapper-glow::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 40px rgba(5, 236, 226, 0.1);
    pointer-events: none;
}

.image-wrapper-glow-blue::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 40px rgba(59, 130, 246, 0.1);
    pointer-events: none;
}

.feature-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.feature-img:hover {
    transform: scale(1.03);
}

/* O2 Rehab Chamber Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.benefit-box {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 1.2rem;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: var(--transition-smooth);
}

.benefit-box:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.02);
}

.benefit-box i {
    font-size: 1.5rem;
    color: var(--accent-blue);
}

.benefit-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.benefit-box p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* 6. CLINICAL TOOL: Quiz de Dolor (Desktop View) */
.text-center-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.quiz-desk-panel {
    border-radius: 20px;
    padding: 2.5rem;
    background: var(--bg-card);
}

.quiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.pain-zones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.zone-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.3rem 1rem;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.zone-card i {
    font-size: 1.8rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.zone-icon {
    width: 2.2rem;
    height: 2.2rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.zone-card span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.zone-card.selected {
    background: rgba(5, 236, 226, 0.06);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(5, 236, 226, 0.08);
}

.zone-card.selected i,
.zone-card.selected .zone-icon {
    color: var(--accent-cyan);
}

.zone-card.selected span {
    color: #ffffff;
}

.intensity-selector {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.intensity-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
}

.intensity-label-row span:last-child {
    color: var(--accent-cyan);
    font-weight: 700;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-cyan);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(5, 236, 226, 0.5);
    transition: transform 0.1s ease;
}

.range-slider::-webkit-slider-thumb:active {
    transform: scale(1.25);
}

.quiz-result-box {
    background: rgba(6, 11, 26, 0.45);
    border: var(--hairline-width) solid var(--glass-border);
    border-top: 3px solid var(--accent-cyan);
    border-radius: 16px;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 300px;
    box-shadow: var(--glass-shadow);
}

.diagnostic-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.8rem;
}

.diagnostic-led {
    width: 8px;
    height: 8px;
    background-color: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: diagnosticLedPulse 2s infinite alternate;
}

@keyframes diagnosticLedPulse {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

.diagnostic-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-secondary);
}

.diagnostic-body {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    flex-grow: 1;
}

.diagnostic-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 0;
}

.diagnostic-placeholder i {
    font-size: 2.5rem;
    color: rgba(5, 236, 226, 0.2);
}

.diagnostic-placeholder p {
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 260px;
}

.diagnostic-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.diagnostic-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diagnostic-value {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
}

.diagnostic-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.diagnostic-badge.mild {
    background: rgba(9, 247, 132, 0.1);
    border: 1px solid rgba(9, 247, 132, 0.2);
    color: var(--accent-mint);
}

.diagnostic-badge.moderate {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.diagnostic-badge.severe {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.result-action-btn {
    margin-top: 1rem;
    background: var(--gradient-primary);
    border: none;
    color: var(--bg-dark);
    padding: 1rem;
    border-radius: 80px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    box-shadow: var(--glow-shadow);
}

.result-action-btn:active {
    transform: scale(0.97);
}

/* 7. CLINICAL TOOL: Comparative Pricing Packages */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.price-card {
    border-radius: 20px;
    padding: 2.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 480px;
    position: relative;
    overflow: hidden;
}

.price-card.featured {
    border-color: rgba(5, 236, 226, 0.35);
    box-shadow: 0 15px 40px rgba(5, 236, 226, 0.05);
}

.card-glow-accent {
    position: absolute;
    top: -50px; left: -50px; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(5, 236, 226, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--gradient-accent);
    color: var(--bg-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-header {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.price-header h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #ffffff;
}

.price-header p.desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    min-height: 60px;
}

.price-val {
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-top: 0.5rem;
}

.price-val span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.save-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-mint);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 1.8rem 0;
}

.price-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-features li i {
    color: var(--accent-mint);
    font-size: 1rem;
}

.price-btn {
    width: 100%;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.price-card.featured .price-btn {
    background: rgba(5, 236, 226, 0.08);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.price-btn:hover {
    background: var(--gradient-accent);
    color: var(--bg-dark);
    border-color: transparent;
    box-shadow: var(--glow-shadow);
}

/* 8. Gallery Grid (Lightbox) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
}

.gallery-item-web {
    position: relative;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: zoom-in;
}

.gallery-item-web img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(3, 7, 18, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 1.8rem;
    color: #ffffff;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item-web:hover img {
    transform: scale(1.05);
}

.gallery-item-web:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item-web:hover .gallery-overlay i {
    transform: scale(1);
}

/* 9. FAQ Section */
.faq-text-side {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding-right: 2rem;
}

.cta-box-faq {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
}

.cta-box-faq p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: var(--gradient-primary);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 40px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(5, 236, 226, 0.2);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

.pill-btn:active {
    transform: scale(0.97);
}

.faq-accordion-side {
    display: flex;
    flex-direction: column;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    padding: 1.2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-btn i {
    color: var(--accent-cyan);
    transition: transform 0.3s ease;
}

.faq-btn.active i {
    transform: rotate(180deg);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    padding-bottom: 1.2rem;
}

/* 10. Location Section */
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 1.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-detail-item i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    background: rgba(5, 236, 226, 0.05);
    border: 1px solid rgba(5, 236, 226, 0.15);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-detail-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.contact-detail-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.map-container-glow {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* 11. Modals & Lightbox */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10000;
    background: rgba(3, 4, 9, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background: #060913;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.15rem;
    transition: var(--transition-smooth);
}

.modal-close:hover {
    background: rgba(5, 236, 226, 0.08);
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 1.7rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.modal-content h2 i {
    color: var(--accent-cyan);
}

.modal-content p.desc {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.05);
}

select.form-input {
    color-scheme: dark;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--glow-shadow);
}

.form-submit-btn:active {
    transform: scale(0.98);
}

.success-box {
    text-align: center;
    padding: 2rem 0;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.success-box.active {
    display: flex;
}

.success-box i {
    font-size: 4rem;
}

.success-box h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
}

.success-box p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Lightbox overlays */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(3, 4, 9, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lightbox-content {
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem; right: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100001;
    transition: var(--transition-smooth);
}

.lightbox-close:active {
    transform: scale(0.9);
}

/* 12. Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 1.5rem calc(0.8rem + env(safe-area-inset-bottom)) 1.5rem;
    background: linear-gradient(to top, rgba(3, 7, 18, 0.95) 80%, rgba(3, 7, 18, 0));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    z-index: 99;
    display: none;
    justify-content: space-between;
    gap: 1rem;
}

.mobile-vcard-btn {
    flex: 1;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.mobile-cta-btn {
    flex: 1.2;
    padding: 0.85rem;
    background: var(--gradient-primary);
    border: none;
    color: var(--bg-dark);
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* 13. Web Premium Footer */
.treze-footer-watermark {
    background: #020307;
    border-top: 1px solid var(--border-color);
    padding: 5rem 2rem 3rem 2rem;
    position: relative;
    z-index: 100;
}

.footer-container-web {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.logo-footer img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.logo-footer span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

.footer-bottom-web {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-web p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-legal-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 700px;
    align-items: flex-start;
}

.footer-legal-links {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin: 0.2rem 0;
}

.footer-legal-links a {
    color: var(--text-muted) !important;
    font-size: 0.78rem !important;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--accent-cyan) !important;
}

.footer-legal-links .divider {
    color: rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
}

.cofepris-notice {
    font-size: 0.72rem !important;
    color: rgba(255, 255, 255, 0.22) !important;
    line-height: 1.45;
}

.footer-bottom-web .brand-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-bottom-web a img {
    height: 22px;
    filter: brightness(0) invert(1);
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.footer-bottom-web a:hover img {
    opacity: 0.95;
}

/* 14. Scroll reveals & animations classes */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.fade-up-item {
    opacity: 0;
    transform: translateY(30px);
}

/* 15. RESPONSIVE DESIGN (Media Queries) */
@media (max-width: 1024px) {
    .hero-section {
        align-items: flex-end; /* Aligns content to the bottom to clear the face at the top */
        padding-bottom: 12vh; /* Breathing room above the floating buttons */
    }
    .hero-container-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        margin-top: 0;
    }
    .hero-content {
        align-items: center !important;
        text-align: center !important;
        max-width: 100%;
        margin-bottom: 0;
    }
    .hero-ctas {
        display: none; /* Hidden on mobile because floating buttons handle CTAs */
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .grid-two-cols, .grid-two-cols.inverse-cols {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .feature-img {
        height: 380px;
    }
    .inverse-cols .image-showcase {
        order: 2;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(3, 7, 18, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-menu.active {
        right: 0;
    }
    .hamburger {
        display: flex;
    }
    .nav-menu a {
        font-size: 1.1rem;
    }
    .nav-buttons .cta-nav-btn {
        display: none; /* Book through mobile bar or links instead */
    }
    .hero-title {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 1.2rem; /* Más aire entre líneas */
    }
    .hero-desc {
        font-size: 0.95rem;
        line-height: 1.55;
        max-width: 310px;
        margin: 0 auto 1.8rem; /* Más aire abajo */
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .quiz-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container-web {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .mobile-sticky-bar {
        display: flex;
    }
    .bottom-spacer {
        height: 80px;
    }
}

/* ==========================================================================
   UPGRADE PREMIUM VISUALS (Awwwards-level clinical blueprints)
   ========================================================================== */

/* Interactive Human Silhouette SVG */
.silhouette-container {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    position: relative;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 100px;
    padding: 2rem 1.5rem;
    box-shadow: inset 0 0 20px rgba(5, 236, 226, 0.02);
}

#human-body-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.05));
}

.body-zone-path {
    fill: rgba(255, 255, 255, 0.02);
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 0.8px;
    cursor: pointer;
    transition: fill 0.3s ease, stroke 0.3s ease, filter 0.3s ease;
}

.body-zone-path:hover {
    fill: rgba(5, 236, 226, 0.18);
    stroke: var(--accent-cyan);
    filter: drop-shadow(0 0 8px rgba(5, 236, 226, 0.45));
}

.body-zone-path.selected {
    fill: rgba(9, 247, 132, 0.22);
    stroke: var(--accent-mint);
    filter: drop-shadow(0 0 12px rgba(9, 247, 132, 0.6));
}

/* Hyperbaric Chamber Hotspots */
.chamber-deconstruction {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.hotspots-container {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.chamber-hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%);
}

.hotspot-trigger {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 0 15px rgba(5, 236, 226, 0.6);
    position: relative;
}

.hotspot-trigger i {
    font-size: 0.75rem;
    color: var(--bg-dark);
    font-weight: bold;
}

.hotspot-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--accent-cyan);
    animation: pulseHotspot 2s infinite;
    pointer-events: none;
}

@keyframes pulseHotspot {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-detail-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(4, 9, 24, 0.9);
    border: 1px solid rgba(5, 236, 226, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 1.2rem;
    z-index: 5;
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.hotspot-detail-overlay.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.hotspot-detail-overlay h4 {
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.hotspot-detail-overlay p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.4;
}

.chamber-bg-zoom {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 1.2s ease;
}

/* Custom scroll progress indicator level tube */
.scroll-level-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 999999;
}

/* RC1 accessibility: retain motion for most users while honoring reduced-motion settings. */
:focus-visible { outline: 3px solid var(--accent-cyan); outline-offset: 3px; }
.scrolly-dot, .scrolly-spot { border: 0; font: inherit; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* Tab buttons for pricing section */
.pricing-tabs {
    border-bottom: 1px solid var(--border-color);
}
.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 0.8rem 0;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.tab-btn.active {
    color: var(--accent-cyan);
    border-bottom: 2px solid var(--accent-cyan);
}

/* 5. CLINICAL TOOL: Cotizador de Paquetes */
.packages-scroller {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 1rem 1.5rem 2rem 1.5rem;
    scrollbar-width: none;
}

.packages-scroller::-webkit-scrollbar {
    display: none;
}

.package-card {
    flex: 0 0 300px;
    scroll-snap-align: center;
    background: rgba(13, 20, 38, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
}

.package-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.package-card.recommended {
    border-color: rgba(5, 236, 226, 0.4);
    box-shadow: 0 10px 30px rgba(5, 236, 226, 0.05);
}

.package-badge {
    position: absolute;
    top: 22px;
    right: -45px;
    background: var(--gradient-accent);
    color: var(--bg-dark);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.4rem 4.5rem;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.package-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.package-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    white-space: normal;
}

.package-price-box {
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.original-price {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
    margin-bottom: 0.2rem;
}

.current-price {
    font-size: 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent-cyan);
    display: inline-block;
}

.price-unit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-left: 0.2rem;
}

.package-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.package-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    line-height: 1.5;
    white-space: normal;
}

.package-features li i {
    color: var(--accent-mint);
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.book-package-btn {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.book-package-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.package-card.recommended .book-package-btn {
    background: rgba(5, 236, 226, 0.1);
    border-color: rgba(5, 236, 226, 0.3);
    color: var(--accent-cyan);
}

.package-card.recommended .book-package-btn:hover {
    background: rgba(5, 236, 226, 0.15);
    border-color: var(--accent-cyan);
}

.book-package-btn:active {
    background: var(--gradient-accent);
    color: var(--bg-dark);
    border-color: transparent;
}

/* Premium Pricing Tiers for multiple sessions */
.pricing-tiers {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.tier-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.tier-methods {
    display: flex;
    gap: 1.5rem;
}
.tier-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
.tier-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.tier-name {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 600;
}
.tier-prices {
    display: flex;
    gap: 1.5rem;
}
.price-cash {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    font-weight: 700;
    min-width: 55px;
    text-align: right;
}
.price-card {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    min-width: 55px;
    text-align: right;
}

.gallery-item-web.featured {
    grid-column: span 2;
    grid-row: span 2;
}
@media (max-width: 768px) {
    .gallery-item-web.featured {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 16/9;
    }
}
.pricing-tiers {
    background: rgba(255, 255, 255, 0.02) !important;
    border-radius: 12px !important;
    padding: 1.2rem !important;
    margin-bottom: 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    height: auto !important;
}
.tier-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    font-size: 0.65rem !important;
    color: rgba(255, 255, 255, 0.4) !important;
    margin-bottom: 0.8rem !important;
    padding-bottom: 0.6rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 700 !important;
}
.tier-methods {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem !important;
}
.tier-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
    width: 100% !important;
    height: auto !important;
}
.tier-row:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}
.tier-name {
    font-size: 0.85rem !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    flex: 1 !important;
    text-align: left !important;
}
.tier-prices {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem !important;
    flex-shrink: 0 !important;
}
.price-cash, .price-card {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    min-width: 55px !important;
    text-align: right !important;
}
.price-cash { color: var(--accent-cyan) !important; }
.price-card { color: rgba(255, 255, 255, 0.5) !important; }

/* ═══════════════════════════════════════════════════
   NUEVA SECCIÓN DE SERVICIOS — ACORDEÓN CLÍNICO CHIC
   ═══════════════════════════════════════════════════ */

.svc-accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.svc-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.svc-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.svc-header {
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1.4rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.2s ease;
    text-align: left;
}

.svc-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.svc-header[aria-expanded="true"] {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.svc-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.svc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(5, 236, 226, 0.08);
    border: 1px solid rgba(5, 236, 226, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-cyan);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.svc-header[aria-expanded="true"] .svc-icon {
    background: rgba(5, 236, 226, 0.15);
    box-shadow: 0 0 12px rgba(5, 236, 226, 0.15);
}

.svc-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
}

.svc-subtitle {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    font-weight: 400;
}

.svc-chevron {
    color: var(--text-muted);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.svc-header[aria-expanded="true"] .svc-chevron {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}

.svc-body {
    display: none;
    padding: 1.5rem 0 2rem 0;
    animation: svcFadeIn 0.25s ease;
}

.svc-body.open {
    display: block;
}

@keyframes svcFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.svc-service-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.svc-service-block.svc-highlight {
    background: rgba(5, 236, 226, 0.03);
    border-color: rgba(5, 236, 226, 0.15);
}

.svc-service-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.svc-tag-popular {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--bg-dark);
    background: var(--gradient-accent);
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    white-space: nowrap;
}

.svc-service-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.svc-single-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-cyan);
    letter-spacing: -0.5px;
}

.svc-single-price span {
    font-size: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0;
}

/* ── TABLA NATIVA ── */
.svc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.svc-table thead tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.svc-table thead th {
    padding: 0.4rem 0.5rem;
    text-align: left;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.35);
}

.svc-table thead th:not(:first-child) {
    text-align: right;
}

.svc-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.svc-table tbody tr:last-child {
    border-bottom: none;
}

.svc-table tbody td {
    padding: 0.55rem 0.5rem;
    color: var(--text-primary);
    vertical-align: middle;
}

.svc-table tbody td:first-child {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
}

.svc-table tbody td:not(:first-child) {
    text-align: right;
    font-weight: 600;
    color: #ffffff;
}

.svc-highlight .svc-table tbody td:not(:first-child) {
    color: var(--accent-cyan);
}

/* ── CTA BUTTON ── */
.svc-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.25s ease;
    margin-top: auto;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.svc-cta-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.svc-cta-btn.svc-cta-primary {
    background: rgba(5, 236, 226, 0.1);
    border-color: rgba(5, 236, 226, 0.3);
    color: var(--accent-cyan);
}

.svc-cta-btn.svc-cta-primary:hover {
    background: rgba(5, 236, 226, 0.18);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(5, 236, 226, 0.15);
}

.svc-footnote {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .svc-grid {
        grid-template-columns: 1fr;
    }
    .svc-title {
        font-size: 0.9rem;
    }
    .svc-table thead th,
    .svc-table tbody td {
        padding: 0.45rem 0.3rem;
    }
}


/* ═══════════════════════════════════════════════════
   SECCIÓN DE TESTIMONIOS / GOOGLE REVIEWS
   ═══════════════════════════════════════════════════ */

#reviews-section {
    overflow: hidden;
}

.reviews-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0 2rem;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
    animation: reviewsScroll 38s linear infinite;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes reviewsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.review-card {
    flex-shrink: 0;
    width: 320px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: border-color 0.3s, background 0.3s;
}

.review-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(5,236,226,0.15);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-cyan), #0a74da);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
}

.review-name {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.review-stars {
    font-size: 0.7rem;
    color: #f59e0b;
    margin-top: 0.2rem;
    letter-spacing: 1px;
}

.review-google-icon {
    width: 22px;
    height: 22px;
    margin-left: auto;
    flex-shrink: 0;
    opacity: 0.85;
}

.review-text {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    font-style: italic;
    flex: 1;
}

.reviews-rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 50px;
    width: fit-content;
    margin: 0.5rem auto 0;
}

.badge-google-logo {
    width: 22px;
    height: 22px;
}

.badge-score {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
}

.badge-stars {
    font-size: 0.8rem;
    color: #f59e0b;
    letter-spacing: 2px;
}

.badge-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════════
   RECORRIDO CINEMÁTICO — SIDE BY SIDE
   ═══════════════════════════════════════════════════ */

.tour-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.tour-text-col {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.tour-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.tour-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
}

.tour-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.tour-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

.tour-features li i {
    color: var(--accent-cyan);
    font-size: 1rem;
    flex-shrink: 0;
}

.tour-video-col {
    display: flex;
    justify-content: center;
}

.cinematic-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
    aspect-ratio: 9 / 16;
}

.cinematic-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.06) saturate(1.08);
    image-rendering: -webkit-optimize-contrast;
}

.cinematic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
    pointer-events: none;
}

.cinematic-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.cinematic-badge i {
    color: #ef4444;
    font-size: 0.65rem;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ─── Responsive Tour (first block, refined) ─── */
@media (max-width: 768px) {
    .tour-split-layout {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    .cinematic-video-wrapper {
        max-width: 320px;
        aspect-ratio: 9 / 16; /* Mantiene la proporción vertical SIEMPRE */
        border-radius: 16px;
        margin: 0 auto;
    }
    .tour-text-col {
        order: 2; /* texto va abajo del video */
        text-align: center;
    }
    .tour-features li {
        justify-content: center;
    }
    .tour-video-col {
        order: 1; /* video arriba */
        width: 100%;
    }
}


/* LEGAL MODALS */
.legal-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    z-index: 999999;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}
.legal-modal-overlay.active { opacity: 1; pointer-events: auto; }

.legal-modal-container {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    width: 90%; max-width: 600px; max-height: 85vh;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex; flex-direction: column;
}
.legal-modal-overlay.active .legal-modal-container {
    transform: translateY(0) scale(1);
}

.legal-modal-close {
    position: absolute; top: 15px; right: 15px;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff; width: 36px; height: 36px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; font-size: 1.2rem; transition: all 0.3s ease; z-index: 10;
}
.legal-modal-close:hover { background: rgba(255, 255, 255, 0.15); transform: rotate(90deg); }

.legal-modal-content {
    padding: 30px; overflow-y: auto; color: rgba(255,255,255,0.85);
}
.legal-modal-content h2 {
    color: #fff; font-size: 1.4rem; font-weight: 600; margin-bottom: 20px;
    padding-bottom: 15px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.legal-text-body p, .legal-text-body ul {
    font-size: 0.85rem; line-height: 1.6; margin-bottom: 15px; font-weight: 300;
}
.legal-text-body ul { padding-left: 20px; }
.legal-text-body li { margin-bottom: 8px; }
.legal-text-body strong { color: #fff; font-weight: 500; }
