/* Estilos del Núcleo de Nat Clinic
   ============================== */

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

:root {
    /* Colores */
    --primary: #0F5C4D;
    --primary-light: #1B7F6B;
    --accent: #A8824C;
    --white: #FFFFFF;
    --bg-light: #F5F7F6;
    --text-main: #333333;
    --text-muted: #666666;

    /* Diseño y Espaciado */
    --max-width: 1200px;
    --section-padding: 10rem 2rem;

    /* Elementos de la Interfaz */
    --border-radius-sm: 8px;
    --border-radius: 12px;
    --border-radius-lg: 24px;

    /* Sombras */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.15);

    /* Efecto Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);
    --glass-blur: blur(10px);

    /* Transiciones */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reseteo Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--border-radius-sm);
}

ul {
    list-style: none;
}

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

/* Tipografía */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.section-subtitle {
    display: block;
    text-align: center;
    color: var(--accent);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section {
    padding: var(--section-padding);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 992px) {

    .grid-2,
    .grid-3,
    .grid-4 {
        gap: 2rem;
    }

    .section {
        padding: 8rem 1.5rem;
    }
}

@media (max-width: 768px) {

    .grid-4,
    .grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .section {
        padding: 6rem 1rem;
    }
}

@media (max-width: 480px) {

    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    background-color: #92703f;
    /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Cards (Glassmorphism & Shadows) */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    z-index: 1000;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 1;
    justify-content: flex-end;
    /* Empuja el menú y las redes a la derecha */
}

@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 2rem;
    }
}

.navbar.scrolled {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 1.2rem 4rem;
    box-shadow: var(--shadow-sm);
    border-bottom: var(--glass-border);
}

@media (max-width: 768px) {
    .navbar.scrolled {
        padding: 1rem 1.5rem;
    }
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    /* Ensure space between logo and menu */
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    /* Evita que el logo se comprima */
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    /* Removido margin-right: auto para que el menú se junte con las redes sociales */
}

.nav-link {
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar:not(.scrolled) .nav-link {
    color: var(--primary);
}



.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    transition: width var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* SUBMENU */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    background: white;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform-origin: top center;
    transform: scaleY(0);
    transition: transform 0.3s ease-out, opacity 0.2s ease;
    z-index: 999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.submenu li a {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-size: 1rem;
    font-weight: 500;
}

.submenu li a:hover {
    background: #f5f5f5;
    color: var(--primary);
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: scaleY(1);
}

header,
.navbar {
    overflow: visible !important;
}

.nav-social-icons {
    display: flex;
    gap: 1.2rem;
    align-items: center;
    margin-left: 0.5rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar:not(.scrolled) .nav-social-icons {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-social-icons a {
    color: var(--text-main);
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.navbar:not(.scrolled) .nav-social-icons a {
    color: var(--text-main);
}

/* For pages where navbar is always --primary */
nav[style*="background: var(--primary)"] .nav-social-icons {
    border-left: 1px solid rgba(255, 255, 255, 0.2) !important;
}

nav[style*="background: var(--primary)"] .nav-social-icons a {
    color: var(--white) !important;
}

.nav-social-icons a:hover {
    color: var(--accent) !important;
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.navbar:not(.scrolled) .mobile-menu-btn {
    color: white;
}

/* Footer */
footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all var(--transition-normal);
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: white;
    padding: 12px 20px;
    border-radius: 18px 18px 0 18px;
    box-shadow: var(--shadow-lg);
    white-space: nowrap;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 500;
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Adjustments for WhatsApp Bubble */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 55px;
        height: 55px;
        font-size: 1.8rem;
    }

    .whatsapp-tooltip {
        display: none;
        /* Tooltip hides on mobile to avoid covering content */
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
    font-family: 'Poppins', sans-serif;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(168, 130, 76, 0.2);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

/* Botón de cierre móvil (oculto por defecto para computadoras) */
.mobile-menu-close {
    display: none !important;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        /* Más ancho para móviles */
        max-width: 300px;
        background: var(--primary);
        /* Fondo oscuro para contraste */
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        align-items: center;
        z-index: 2000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        color: white !important;
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }

    .navbar:not(.scrolled) .nav-logo {
        color: white;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        padding-left: 15px;
    }

    .submenu li a {
        color: white;
    }

    /* Botón de cierre para móvil */
    .mobile-menu-close {
        position: absolute;
        top: 2rem;
        right: 2rem;
        color: white;
        font-size: 1.8rem;
        cursor: pointer;
        display: block !important;
    }

    .nav-social-icons {
        margin-left: 0 !important;
        border-left: none !important;
        padding-left: 0 !important;
        margin-top: auto;
        /* Push to bottom of mobile menu */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 2rem !important;
        width: 100%;
        justify-content: center;
        margin-bottom: 2rem;
        gap: 2rem;
    }

    .nav-social-icons a {
        color: white !important;
        font-size: 1.8rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* Carousel Section */
.carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 3rem;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

.carousel-item {
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 280px;
}

@media (max-width: 1200px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

@media (max-width: 992px) {
    .carousel-item {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 600px) {
    .carousel-item {
        flex: 0 0 100%;
    }
}

.treatment-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--transition-normal);
}

.treatment-card:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.treatment-icon {
    width: 70px;
    height: 70px;
    background: rgba(15, 92, 77, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary);
    font-size: 1.8rem;
    transition: all var(--transition-normal);
}

.treatment-card:hover .treatment-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotateY(180deg);
}

/* Hero Slider */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: linear-gradient(rgba(15, 92, 77, 0.7), rgba(15, 92, 77, 0.7)), url('../assets/images/imagen-laboratorio.jpeg') center/cover no-repeat;
    display: flex;
    align-items: center;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 92, 77, 0.65), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    animation: kenBurns 15s ease infinite alternate;
}

.slide .container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 100px;
}

@media (max-width: 768px) {
    .slide .container {
        padding-top: 80px;
        padding-bottom: 40px;
        text-align: left;
    }
}

.hero-content {
    max-width: 800px;
    color: white;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
}

.hero-content p {
    font-size: clamp(1rem, 4vw, 1.4rem);
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    line-height: 1.4;
}

.hero-btn-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

@media (max-width: 576px) {
    .hero-btn-group .btn {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* Animations for slide elements */
.slide.active .hero-content h1 {
    animation: fadeUp 1.2s ease forwards 0.3s;
    opacity: 0;
}

.slide.active .hero-content p {
    animation: fadeUp 1.2s ease forwards 0.6s;
    opacity: 0;
}

.slide.active .hero-btns {
    animation: fadeUp 1.2s ease forwards 0.9s;
    opacity: 0;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Floating Team Section */
.team-floating-section {
    position: relative;
    padding: 8rem 2rem;
}

.team-bg-collage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.team-bg-collage img {
    position: absolute;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.team-center-card {
    position: relative;
    z-index: 10;
}

/* New Premium Team Grid (Bento Style) */
.team-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .team-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-item {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .team-bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item {
        height: 400px;
    }
}

.bento-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.bento-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform var(--transition-slow);
}

.bento-item:hover img {
    transform: scale(1.1);
}

.bento-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2.5rem 1.5rem;
    background: linear-gradient(to top, rgba(3, 39, 31, 1) 0%, rgba(3, 39, 31, 0.6) 30%, transparent 80%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all var(--transition-normal);
}

.bento-item .bento-overlay {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.bento-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.bento-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.bento-social a:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: white;
}

.bento-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bento-description {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Permitir una línea más */
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 992px) {
    .team-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .bento-item {
        height: 350px;
    }
}

@media (max-width: 600px) {
    .team-bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.large {
        grid-column: span 1;
    }
}

/* Premium Team Cards (Team Page) */
.team-card-premium {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.team-card-premium:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.team-image-wrapper {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.team-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0;
}

.team-card-premium:hover .team-image-wrapper img {
    transform: scale(1.1);
}

.team-info-premium {
    padding: 2.5rem 2rem;
    text-align: center;
}

.specialty-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(168, 130, 76, 0.1);
    color: var(--accent);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.team-info-premium h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.team-info-premium p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.team-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .team-bg-collage {
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .team-bg-collage {
        display: none;
    }

    .team-floating-section {
        padding: 4rem 1.5rem;
    }
}

/* Insurance Arc / Curve Selection Section */
.insurance-arc-section {
    padding: 8rem 1rem;
    background: white;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.insurance-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 0 1rem 0;
    padding: 0;
    width: 100%;
}

.insurance-header h2 {
    color: var(--text-main);
    letter-spacing: 1px;
    line-height: 1.4;
    margin: 1rem 0 0 0;
    padding: 0;
}

.insurance-header .section-subtitle {
    letter-spacing: 2px;
    line-height: 1.2;
    margin: 0;
    padding: 0;
}

.arc-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 270px;
    margin: 1rem auto 0;
    perspective: 1500px;
    display: block;
    overflow: visible;
}

.arc-track {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    height: 160px;
    display: flex;
    gap: 20px;
    padding: 0;
    transition: transform 0.1s linear;
    will-change: transform;
}

.insurance-card-arc {
    flex: 0 0 160px;
    width: 160px;
    height: 160px;
    background: white;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.5s ease, border-color 0.5s ease;
    user-select: none;
    position: absolute;
    top: 0;
    z-index: 1;
}

.insurance-card-arc img {
    width: 120px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    pointer-events: none;
    filter: grayscale(0.2);
    transition: filter 0.3s ease;
}

.insurance-card-arc .insurance-name {
    display: none;
    /* Hide the name inside the card to avoid overlap */
}

.insurance-card-arc.active {
    z-index: 20;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(15, 92, 77, 0.1);
    transform: scale(1.2) !important;
}

.insurance-card-arc.active img {
    filter: grayscale(0);
}

.arc-focus-details {
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 30;
    transition: all 0.5s ease;
    pointer-events: none;
    padding-bottom: 0px;
}

.arc-focus-details h4 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    letter-spacing: 1.2px;
    line-height: 1.3;
}

.arc-focus-details p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .arc-container {
        height: 350px;
    }

    .insurance-card-arc {
        flex: 0 0 130px;
        width: 130px;
        height: 130px;
        padding: 15px;
    }

    .insurance-card-arc img {
        width: 90px;
        height: 50px;
    }

    .arc-focus-details h4 {
        font-size: 1.1rem;
    }

    .arc-focus-details {
        bottom: -30px;
    }

    /* Improve mobile readability for details */
    .arc-focus-details p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .arc-container {
        height: 300px;
        perspective: 1000px;
    }

    .insurance-card-arc {
        flex: 0 0 110px;
        width: 110px;
        height: 110px;
    }
}

/* Timeline Styles */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-main);
    border: 4px solid var(--primary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(15, 92, 77, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background-color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 8px rgba(144, 183, 125, 0.3);
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 2rem;
    position: relative;
    border-radius: var(--border-radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Timeline Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .timeline-container::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 21px;
    }
}

/* Soporte para Movimiento Reducido */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* Premium Toast Notifications */
.premium-toast {
    position: fixed;
    bottom: 110px;
    right: 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1.2rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 320px;
    animation: slideInToast 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow: hidden;
}

.premium-toast.hide {
    animation: slideOutToast 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInToast {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToast {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.toast-content i {
    font-size: 1.5rem;
}

.toast-success .toast-content i {
    color: #10b981;
}

.toast-error .toast-content i {
    color: #ef4444;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: var(--accent);
    width: 100%;
    animation: toastProgress 4s linear forwards;
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* Chatbot Styles */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 20px rgba(15, 92, 77, 0.3);
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
    animation: pulseChat 2s infinite;
}

@keyframes pulseChat {
    0% {
        box-shadow: 0 0 0 0 rgba(15, 92, 77, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(15, 92, 77, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(15, 92, 77, 0);
    }
}

.chatbot-tooltip {
    position: absolute;
    right: 75px;
    /* Offset from the chat button */
    bottom: 12px;
    background: white;
    padding: 10px 16px;
    border-radius: 20px;
    border-bottom-right-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    font-size: 0.9rem;
    color: var(--text-main);
    opacity: 0;
    transform: translateX(10px) translateY(5px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chatbot-tooltip.show {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

@media (max-width: 600px) {
    .chatbot-tooltip {
        right: 0;
        bottom: 75px;
        white-space: normal;
        max-width: 180px;
        font-size: 0.8rem;
        padding: 8px 12px;
        border-bottom-right-radius: 20px;
        border-top-left-radius: 5px;
        box-shadow: var(--shadow-md);
        text-align: center;
    }

    .chatbot-container {
        bottom: 20px;
        right: 20px;
    }
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background-color: var(--accent);
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom right;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.chatbot-window.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5) translateY(50px);
    pointer-events: none;
}

.chatbot-header {
    background: var(--primary);
    color: white;
    padding: 1rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-agent-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px;
    object-fit: contain;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.chatbot-close:hover {
    opacity: 1;
}

.chatbot-messages {
    flex: 1;
    padding: 1.2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8faf9;
}

.message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bot-message {
    background: white;
    color: var(--text-main);
    border-bottom-left-radius: 5px;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.user-message {
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 5px;
    align-self: flex-end;
    box-shadow: 0 2px 10px rgba(15, 92, 77, 0.2);
}

.chatbot-input {
    display: flex;
    padding: 0.8rem;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    gap: 0.5rem;
    align-items: center;
}

.chatbot-input input {
    flex: 1;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 0.6rem 1rem;
    outline: none;
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

.chatbot-input input:focus {
    border-color: var(--primary);
}

.chatbot-input button {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
    flex-shrink: 0;
}

.chatbot-input button:hover {
    background: var(--accent);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.8rem 1rem;
    background: white;
    border-radius: 15px;
    border-bottom-left-radius: 5px;
    align-self: flex-start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #ccc;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-dot:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typing {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        width: calc(100vw - 40px);
        height: 60vh;
        right: 20px;
        bottom: 90px;
        position: fixed;
    }
}

/* 
   New Premium Sections (Authority, Efficiency, Warranty, Timeline) 
   ================================================================ 
*/

.authority-section {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

.authority-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.stat-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 92, 77, 0.05);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

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

/* Efficiency Section */
.efficiency-section {
    background: var(--primary);
    color: var(--white);
    padding: 6rem 2rem;
    overflow: hidden;
}

.efficiency-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}

.efficiency-video {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
    transition: transform var(--transition-normal);
}

.efficiency-video:hover {
    transform: scale(1.02);
}

.efficiency-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}

.efficiency-content {
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clock-icon-wrapper {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 2rem;
    animation: rotateClock 10s linear infinite;
    width: fit-content;
}

@keyframes rotateClock {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Warranty Section */
.warranty-section {
    background: var(--bg-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.warranty-badge {
    background: var(--white);
    border-radius: 100px;
    padding: 1.5rem 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: fit-content;
    margin: 0 auto;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--accent);
    transition: all var(--transition-normal);
}

.warranty-badge:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.warranty-icon {
    font-size: 2.5rem;
    color: var(--accent);
}

/* Timeline Full Background Improvements */
.timeline-item-full {
    position: relative;
    padding: 12rem 0;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.timeline-item-full::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 92, 77, 0.88), rgba(15, 92, 77, 0.65));
    z-index: 1;
}

.timeline-item-full .container {
    position: relative;
    z-index: 5;
}

.floating-timeline-img {
    position: absolute;
    width: 320px;
    height: 220px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    z-index: 2;
    opacity: 0.8;
    border: 4px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: floatingTimeline 8s ease-in-out infinite;
}

.floating-timeline-img:hover {
    opacity: 1;
    filter: blur(0);
    transform: scale(1.05) !important;
    z-index: 10;
}

@keyframes floatingTimeline {

    0%,
    100% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-25px) rotate(-1deg);
    }
}

@media (max-width: 992px) {
    .authority-grid {
        grid-template-columns: 1fr;
    }

    .efficiency-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .efficiency-video {
        max-width: 600px;
        margin: 0 auto;
    }

    .efficiency-content {
        padding: 1rem 0;
        text-align: center;
    }

    .efficiency-content h2,
    .efficiency-content span {
        text-align: center !important;
    }

    .efficiency-content div {
        justify-content: center;
    }

    .authority-stats {
        grid-template-columns: 1fr;
    }

    .warranty-badge {
        flex-direction: column;
        border-radius: 30px;
        text-align: center;
        padding: 2rem;
    }

    .floating-timeline-img,
    .floating-img {
        display: none !important;
    }

    .timeline-item-full .container {
        text-align: center !important;
        display: flex;
        justify-content: center;
    }

    .timeline-item-full .glass-card {
        text-align: center !important;
        margin: 0 auto;
    }

    .timeline-item-full .glass-card p {
        text-align: center !important;
    }

    .timeline-item-full {
        padding: 4rem 1.5rem !important;
        background-attachment: scroll;
        /* Better for mobile performance */
    }

    .timeline-item-full .glass-card {
        margin: 0 1rem;
    }

    .documentation-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        text-align: center;
    }

    .before-after-card {
        height: 380px !important;
        border-radius: 30px !important;
        margin-top: 1rem;
    }

    .documentation-content h2,
    .documentation-content span {
        text-align: center !important;
    }

    .documentation-content div {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-btn-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-btn-group .btn {
        width: 100%;
        margin-left: 0 !important;
    }

    .authority-content-award {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem !important;
    }

    .authority-content-award i {
        font-size: 3.5rem !important;
    }

    .authority-stats {
        gap: 1rem !important;
    }
}

@media (max-width: 600px) {
    .before-after-card {
        height: 300px !important;
    }

    .timeline-item-full {
        padding: 3rem 1rem !important;
    }

    /* Video Adaptive for Mobile */
    .video-container-adaptive {
        padding: 5px !important;
        border-radius: 20px !important;
    }

    .video-container-adaptive div {
        border-radius: 15px !important;
    }
}

/* Team Showcase Redesign */
.team-showcase-section {
    background: var(--bg-light);
    padding: 8rem 0;
    overflow: hidden;
}

.team-showcase-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.team-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.team-nav-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 1px solid transparent;
}

.team-nav-item:hover {
    background: rgba(15, 92, 77, 0.05);
}

.team-nav-item.active {
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 92, 77, 0.1);
    transform: translateX(10px);
}

.team-photo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: all var(--transition-normal);
}

.team-nav-item.active .team-photo-circle {
    border-color: var(--primary);
}

.team-photo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-nav-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-main);
    transition: color var(--transition-normal);
}

.team-nav-item.active .team-nav-info h4 {
    color: var(--primary);
}

.team-nav-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.team-detail-card {
    background: var(--white);
    border-radius: 40px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    position: relative;
    min-height: 500px;
    transition: all 0.5s ease;
}

.team-detail-card.switching {
    opacity: 0;
    transform: translateX(30px);
}

.team-detail-photo {
    width: 100%;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.team-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-detail-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-detail-content h2 {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.team-detail-role {
    color: var(--accent);
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    display: block;
}

.team-detail-bio {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.team-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tag {
    padding: 0.6rem 1.2rem;
    background: rgba(15, 92, 77, 0.08);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 992px) {
    .team-showcase-grid {
        grid-template-columns: 1fr;
    }

    .team-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
        gap: 1rem;
        width: 100%;
    }

    .team-nav-item {
        flex-direction: column;
        text-align: center;
        min-width: 150px;
        padding: 1rem;
    }

    .team-nav-item.active {
        transform: translateY(-5px);
    }

    .team-detail-card {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .team-detail-photo {
        height: 300px;
    }
}

/* Experiences Section (Elevan tu Consulta) */
.experiences-section {
    background: white;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.experiences-header {
    text-align: center;
    margin-bottom: 5rem;
}

.experiences-header h2 {
    color: var(--text-main);
}

.experiences-header h2 span {
    color: var(--primary);
}

.experiences-header p {
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

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

.exp-card-turnos {
    grid-column: span 8;
    padding: 0;
    min-height: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.exp-card-turnos-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.exp-icon-wrapper {
    background: rgba(168, 130, 76, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.exp-icon-wrapper i {
    color: var(--accent);
    font-size: 1.5rem;
}

.exp-card-turnos-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.exp-card-turnos-content h3 span {
    color: var(--primary);
}

.exp-card-turnos-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.exp-feature-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
}

.exp-card-turnos-img {
    background: url('../assets/images/Imagen\ Sistema\ de\ turnos.jpg') center/cover no-repeat;
    border-radius: 0 40px 40px 0;
}

.exp-card-musica {
    grid-column: span 4;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.music-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.exp-card-musica-content {
    position: relative;
    z-index: 5;
    padding: 4rem 2rem;
}

.instrument-animation {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: var(--accent);
}

.exp-card-musica h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.exp-card-musica p {
    opacity: 0.9;
}

.exp-card-gastronomia {
    grid-column: span 6;
    padding: 0;
    min-height: 450px;
}

.exp-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.exp-carousel-track {
    display: flex;
    height: 100%;
    transition: 0.8s ease;
}

.exp-carousel-track img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 0;
}

.exp-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.exp-carousel-overlay h4 {
    color: white;
    margin-bottom: 0.5rem;
    text-align: left;
    font-size: 1.5rem;
}

.exp-carousel-overlay p {
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.6;
}

.exp-card-vip {
    grid-column: span 6;
    padding: 0;
    position: relative;
    min-height: 450px;
}

.exp-card-vip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.exp-card-vip-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(15, 92, 77, 0.2), rgba(15, 92, 77, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
}

.exp-vip-tag {
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 2px;
}

.exp-card-vip-overlay h3 {
    color: white;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    text-align: left;
}

.exp-card-vip-overlay p {
    color: white;
    opacity: 0.9;
    line-height: 1.6;
    font-size: 1rem;
}

.exp-card-financiamiento {
    grid-column: span 12;
    background: var(--bg-light);
    border: 1px dashed var(--accent);
    padding: 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 40px;
}

.exp-financiamiento-text {
    max-width: 600px;
}

.exp-financiamiento-text h3 {
    margin-bottom: 1rem;
    text-align: left;
}

.exp-financiamiento-text h3 span {
    color: var(--accent);
}

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

.exp-financiamiento-options {
    display: flex;
    gap: 2rem;
}

.exp-option {
    text-align: center;
}

.exp-option i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.exp-option p {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Responsiveness for Experiences Section */
@media (max-width: 992px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }

    .exp-card-turnos,
    .exp-card-musica,
    .exp-card-gastronomia,
    .exp-card-vip,
    .exp-card-financiamiento {
        grid-column: span 1;
    }

    .exp-card-turnos {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .exp-card-turnos-content {
        padding: 3rem 2rem;
    }

    .exp-card-turnos-img {
        min-height: 300px;
        border-radius: 0 0 40px 40px;
    }

    .exp-card-financiamiento {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
        padding: 3rem 2rem;
    }

    .exp-financiamiento-text h3 {
        text-align: center;
    }

    .exp-financiamiento-options {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .experiences-section {
        padding: 6rem 1.5rem !important;
    }

    .experiences-header h2 {
        font-size: 2rem;
    }

    .experiences-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .exp-card-turnos-content h3,
    .exp-card-vip-overlay h3 {
        font-size: 1.8rem;
    }

    .exp-card-gastronomia,
    .exp-card-vip {
        min-height: 350px;
    }

    .exp-card-vip-overlay {
        padding: 2rem;
    }
}

/* Development Banner Section */
.dev-banner-wrapper {
    padding: 2rem 0;
    margin: 4rem 0;
    position: relative;
    z-index: 20;
}

.dev-banner-section {
    background-color: #0b2e25;
    border-radius: 12px;
    padding: 3rem 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(11, 46, 37, 0.2);
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dev-banner-content {
    position: relative;
    z-index: 10;
    text-align: left;
}

.banner-main-phrase {
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: left !important;
    letter-spacing: 1px;
    line-height: 1.2;
}

.banner-sub-content {
    color: #5ab58b;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.banner-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.banner-particle {
    position: absolute;
    background-color: rgba(90, 181, 139, 0.4);
    border-radius: 50%;
    filter: blur(1px);
    animation: floatBannerParticle 8s infinite ease-in-out alternate;
}

.banner-particle.p-1 {
    width: 14px;
    height: 14px;
    top: 20%;
    left: 10%;
    animation-duration: 9s;
    animation-delay: 0s;
}

.banner-particle.p-2 {
    width: 8px;
    height: 8px;
    top: 40%;
    left: 15%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.banner-particle.p-3 {
    width: 18px;
    height: 18px;
    top: 15%;
    left: 25%;
    animation-duration: 15s;
    animation-delay: 1s;
}

.banner-particle.p-4 {
    width: 6px;
    height: 6px;
    top: 60%;
    left: 80%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.banner-particle.p-5 {
    width: 12px;
    height: 12px;
    top: 70%;
    left: 85%;
    animation-duration: 14s;
    animation-delay: 3s;
}

@keyframes floatBannerParticle {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-30px) scale(1.5);
        opacity: 0.3;
    }
}

@media (max-width: 768px) {
    .dev-banner-wrapper {
        margin: 2rem 0;
    }

    .dev-banner-section {
        padding: 2.5rem 2rem;
        border-radius: 16px;
    }

    .banner-main-phrase {
        font-size: 1.5rem;
    }

    .banner-sub-content {
        font-size: 0.95rem;
    }
}


/* ================================================
   UTILIDADES & REVEAL ANIMATIONS
================================================ */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s !important;
}

.delay-2 {
    transition-delay: 0.16s !important;
}

.delay-3 {
    transition-delay: 0.24s !important;
}

/* ================================================
   1. STATS STRIP
================================================ */
.stats-strip {
    background: var(--white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stats-strip-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1280px;
    margin: 0 auto;
}

.stat-cell {
    padding: 2.5rem 2rem;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.18s ease;
}

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

.stat-cell:hover {
    background: rgba(0, 0, 0, 0.02);
}

.stat-num {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.4rem;
    font-variant-numeric: tabular-nums;
}

.counter-num {
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ================================================
   2. MARQUEE
================================================ */
.marquee-section {
    background: var(--primary);
    overflow: hidden;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    animation: none;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.marquee-dot {
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ================================================
   3. EFFICIENCY BLOCK
================================================ */
.efficiency-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--black-2, #041D18);
}

.efficiency-media {
    position: relative;
    min-height: 480px;
}

.efficiency-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.efficiency-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent 50%, var(--black-2, #041D18));
}

.efficiency-copy {
    padding: 4rem 3.5rem;
    background: var(--black-2, #041D18);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.efficiency-copy .label {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.efficiency-copy h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.15;
}

.efficiency-copy p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
}

.efficiency-metrics {
    display: flex;
    gap: 3rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--accent);
}

.efficiency-metric-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.efficiency-metric-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.35rem;
}

/* ================================================
   BRAND STATEMENT & TRANSPORT ANIMATIONS
================================================ */
@keyframes float-spheres {
    0% {
        transform: rotate(0deg) translate(20px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translate(20px) rotate(-360deg);
    }
}

@keyframes pulse-border {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.3;
    }
}

@keyframes car-drive {
    from {
        left: -100px;
    }

    to {
        left: 110%;
    }
}

.brand-statement-section h2 span {
    display: inline-block;
}

@media (max-width: 768px) {
    .stats-strip-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-cell {
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }

    .stat-cell:nth-child(even) {
        border-right: none;
    }

    .stat-cell:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .efficiency-block {
        grid-template-columns: 1fr;
    }

    .efficiency-media {
        min-height: 260px;
    }

    .efficiency-media::after {
        background: linear-gradient(to bottom, transparent 40%, var(--black-2, #041D18));
    }

    .efficiency-copy {
        padding: 2.5rem 2rem;
    }

    .brand-statement-section {
        padding: 6rem 1.5rem;
    }

    .transport-premium-section .container {
        grid-template-columns: 1fr;
    }
}



/* --- Nuevas Clases Nat Clinic --- */

/* Clase para el texto del manifiesto de marca (evita advertencias en HTML) */
.brand-text-gradient {
    background: linear-gradient(to right, #ffffff, #dcdcdc, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Animación de iconos para "¿Por qué elegirnos?" */
.why-icon-animation {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-icon-animation:hover {
    transform: rotate(360deg) scale(1.2);
    background: var(--primary) !important;
    color: white !important;
}

/* Animación continua de flotación para iconos */
@keyframes iconFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.icon-floating-gentle {
    animation: iconFloat 4s ease-in-out infinite;
}

/* ================================================
   HERO PREMIUM REDESIGN
   ================================================ */
.hero-premium {
    min-height: 100vh;
    background: linear-gradient(to right, rgba(4, 29, 24, 0.95) 15%, rgba(15, 92, 77, 0.75) 50%, rgba(15, 92, 77, 0.3) 80%, transparent 100%),
        url('../assets/images/imagen-laboratorio.jpeg') center/cover no-repeat !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 220px 0 120px !important;
    /* Huge top padding to clear fixed navbar */
    overflow: visible;
}

.hero-premium .container {
    width: 100%;
}

.hero-content {
    max-width: 850px;
    color: white;
    text-align: left;
    position: relative;
    z-index: 20;
}

.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.8rem) !important;
    /* Reduced from 3.8rem */
    line-height: 1.1 !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
    color: white !important;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(0.95rem, 1.8vw, 1.25rem) !important;
    font-weight: 500 !important;
    margin-bottom: 3.5rem !important;
    opacity: 1 !important;
    letter-spacing: 0.5px !important;
    max-width: 650px !important;
    border-left: 5px solid var(--accent) !important;
    padding-left: 2rem !important;
    color: #e0e0e0 !important;
    text-align: left !important;
    line-height: 1.7 !important;
}

.hero-btn-group {
    display: flex !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.btn-representative {
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: white !important;
    backdrop-filter: blur(5px);
}

.btn-representative:hover {
    background: white !important;
    color: var(--primary) !important;
    border-color: white !important;
}

/* Representative Button Hover Card */
.representative-btn-container {
    position: relative;
    display: inline-block;
}

.representative-hover-card {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 0;
    width: 290px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 100;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

.representative-hover-card::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 40px;
    border-width: 10px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95) transparent transparent transparent;
    filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.06));
}

.representative-btn-container:hover .representative-hover-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.rep-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0;
}

.rep-card-header img {
    width: 65px !important;
    height: 65px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 3px solid white !important;
    box-shadow: 0 0 0 2px var(--accent), 0 8px 15px rgba(168, 130, 76, 0.25) !important;
    margin: 0 !important;
    flex-shrink: 0;
}

.rep-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.rep-label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.badge-247 {
    background: linear-gradient(135deg, var(--accent), #e3c467);
    color: white;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    box-shadow: 0 3px 8px rgba(168, 130, 76, 0.3);
    margin-left: 4px;
}

.rep-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    white-space: nowrap;
}

.rep-card-footer {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    text-align: center;
}

.rep-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.rep-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
    background: #20bd5a;
}

.rep-action i {
    color: white;
    font-size: 1.2rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 50px;
    right: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 44px;
    border: 2px solid white;
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 25px;
        opacity: 0;
    }
}

@media (max-width: 992px) {
    .hero-premium {
        padding-top: 140px;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-premium {
        background: linear-gradient(to bottom, rgba(4, 29, 24, 0.95) 10%, rgba(15, 92, 77, 0.8) 55%, rgba(15, 92, 77, 0.5) 100%),
            url('../assets/images/imagen-laboratorio.jpeg') center/cover no-repeat !important;
        text-align: center;
        padding-top: 150px;
        min-height: 100vh;
    }

    .hero-content {
        padding: 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem !important;
        text-align: center !important;
    }

    .hero-subtitle {
        border-left: none !important;
        padding-left: 0 !important;
        border-top: 3px solid var(--accent) !important;
        padding-top: 1.5rem !important;
        text-align: center !important;
        margin: 0 auto 3rem !important;
        font-size: 1rem !important;
    }

    .representative-hover-card {
        display: none !important;
    }

    .hero-btn-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 1.2rem !important;
    }

    .hero-btn-group .btn {
        width: 100% !important;
    }

    .representative-btn-container {
        width: 100% !important;
    }
}

/* ================================================
   PROMESA NATCLINIC INTERACTIVE DOCK
   ================================================ */
.interactive-features-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-dock {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    width: 100%;
}

.feature-tab {
    cursor: pointer;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1);
    padding: 1.5rem 1rem;
    border-radius: 20px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    width: 140px;
}

.feature-tab h5 {
    font-size: 0.95rem;
    color: var(--text-main);
    margin: 0;
    font-weight: 600;
    transition: all 0.3s ease;
}

.promesa-icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(15, 92, 77, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.8rem;
    transition: all 0.4s ease;
}

.promesa-icon-wrapper.accent-icon {
    background: rgba(168, 130, 76, 0.08);
    color: var(--accent);
}

/* Hover and Active states for tabs */
.feature-tab.promesa-primary:hover,
.feature-tab.promesa-primary.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(15, 92, 77, 0.2);
}

.feature-tab.promesa-accent:hover,
.feature-tab.promesa-accent.active {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(168, 130, 76, 0.2);
}

.feature-tab:hover h5,
.feature-tab.active h5 {
    color: white;
}

.feature-tab:hover .promesa-icon-wrapper,
.feature-tab.active .promesa-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(0.9);
}

/* Featured Tab (Larger) */
.feature-tab-large {
    transform: scale(1.15);
    margin: 0 15px;
    z-index: 5;
}

.feature-tab-large.promesa-accent:hover,
.feature-tab-large.promesa-accent.active {
    transform: translateY(-8px) scale(1.15);
}

/* Display Panel */
.feature-projection-panel {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--glass-border);
    border-radius: 30px;
    padding: 3.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    width: 100%;
    text-align: center;
    transition: all 0.4s ease;
}

.projection-content {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.projection-content.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.projection-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.projection-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .feature-dock {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        padding: 0 10px;
    }

    .feature-tab {
        width: 100% !important;
        padding: 1.2rem 0.5rem !important;
        margin: 0 !important;
        transform: none !important;
        box-sizing: border-box;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .feature-tab-large {
        transform: none !important;
        margin: 0 !important;
        grid-column: span 1 !important; /* Make it same size as others */
    }

    .promesa-icon-wrapper {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .feature-tab h5 {
        font-size: 0.75rem;
    }

    .feature-projection-panel {
        padding: 2rem 1.5rem;
    }

    .projection-content h3 {
        font-size: 1.5rem;
    }

    .projection-content p {
        font-size: 1rem;
    }
}

/* =========================================
   Modern Timeline Section
   ========================================= */
.modern-timeline-section {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
    padding: 3rem 0 4rem;
}

/* =========================================
   Modern Contact & Social Section
   ========================================= */
.contact-info-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(15, 92, 77, 0.1);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-method-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.contact-method-item:hover {
    transform: translateX(10px);
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-method-item:hover .contact-icon-box {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(15, 92, 77, 0.2);
}

.social-connect-row {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(15, 92, 77, 0.1);
}

.social-grid-modern {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-btn-modern {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-btn-modern:hover {
    transform: translateY(-10px) scale(1.1);
    color: var(--white);
}

.social-btn-modern.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 15px 30px rgba(220, 39, 67, 0.3);
}

.social-btn-modern.facebook:hover {
    background: #1877f2;
    box-shadow: 0 15px 30px rgba(24, 119, 242, 0.3);
}

.social-btn-modern.tiktok:hover {
    background: #000000;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Form Modernization */
.form-input-modern {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.form-input-modern:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(15, 92, 77, 0.08);
    outline: none;
}

.form-label-modern {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
    font-size: 0.95rem;
}

/* =========================================
   Ultra-Modern Contact Layout
   ========================================= */
.ultra-contact-hero {
    position: relative;
    padding: 12rem 0 10rem;
    background-image: linear-gradient(to bottom, rgba(10, 40, 30, 0.4) 0%, rgba(10, 40, 30, 0.75) 60%, rgba(10, 40, 30, 0.95) 100%), url('../assets/images/Imagen\ consultorio\ vip.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: white;
}

.ultra-contact-hero h1 {
    font-size: 4.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.ultra-contact-hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto;
}

.ultra-floating-dock {
    margin-top: -100px;
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.ultra-info-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.ultra-info-card:hover {
    transform: translateY(-15px);
    background: white;
    box-shadow: 0 30px 60px rgba(15, 92, 77, 0.15);
}

.ultra-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 15px 30px rgba(15, 92, 77, 0.3);
    transition: transform 0.4s ease;
}

.ultra-info-card:hover .ultra-info-icon {
    transform: scale(1.1) rotate(5deg);
}

.ultra-info-title {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ultra-info-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Ultra Mini Cards */
.ultra-mini-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.ultra-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 92, 77, 0.12);
}

.ultra-mini-card.clickable {
    cursor: pointer;
}

.ultra-mini-card.clickable:active {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 92, 77, 0.1);
}

.ultra-mini-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.4s ease, background 0.3s ease;
}

.ultra-mini-card:hover .ultra-mini-icon {
    transform: scale(1.1) rotate(10deg);
    background: var(--accent);
}

.ultra-form-surface {
    background: white;
    border-radius: 24px;
    padding: 4rem 3rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.ultra-form-surface::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
}

.ultra-input-line {
    width: 100%;
    border: none;
    border-bottom: 2px solid rgba(15, 92, 77, 0.1);
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--primary);
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 0;
}

.ultra-input-line:focus {
    outline: none;
    border-bottom: 2px solid var(--accent);
}

.ultra-input-line::placeholder {
    color: #a0aab2;
}

.ultra-social-orb {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.ultra-social-orb:hover {
    transform: translateY(-12px);
    color: white;
}

.ultra-social-orb.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 20px 40px rgba(220, 39, 67, 0.3);
}

.ultra-social-orb.facebook:hover {
    background: #1877f2;
    box-shadow: 0 20px 40px rgba(24, 119, 242, 0.3);
}

.ultra-social-orb.tiktok:hover {
    background: #000000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Topic Select Pills */
.topic-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.topic-pill input[type="radio"] {
    display: none;
}

.topic-pill span {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--text-muted);
    border: 2px solid rgba(15, 92, 77, 0.15);
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.topic-pill:hover span {
    background: rgba(15, 92, 77, 0.05);
    border-color: rgba(15, 92, 77, 0.3);
    transform: translateY(-2px);
}

.topic-pill input[type="radio"]:checked+span {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(15, 92, 77, 0.25);
    transform: translateY(-2px);
}

/* Ultra Responsive */
@media (max-width: 992px) {
    .ultra-floating-dock {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: -50px;
    }

    .ultra-contact-hero h1 {
        font-size: 3rem;
    }

    .ultra-form-surface {
        padding: 2.5rem 1.5rem;
    }
}

/* NAVBAR GENERAL */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* ITEMS */
.nav-links li {
    position: relative;
}

/* LINKS PRINCIPALES */
.nav-link {
    text-decoration: none;
    color: #111;
    font-size: 18px;
    font-weight: 500;
    padding: 10px;
    display: block;
}

/* SUBMENU */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;

    /* oculto por defecto */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    /* animación */
    transition: all 0.3s ease;

    /* importante */
    z-index: 999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

/* ITEMS DEL SUBMENU */
.submenu li {
    padding: 0;
}

/* LINKS DEL SUBMENU */
.submenu li a {
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-size: 16px;
}

/* HOVER EN SUBMENU */
.submenu li a:hover {
    background: #f5f5f5;
}

/* MOSTRAR SUBMENU */
.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* IMPORTANTE: evitar que se corte */
.navbar,
header {
    overflow: visible !important;
}

/* RESPONSIVE (MÓVIL) — Ver css/mobile.css */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* ── SOCIAL MEDIA EXPANSION ── */
.nav-social-wrapper {
    position: relative;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    height: 40px;
    display: flex;
    align-items: center;
}

.nav-social-expandable {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    height: 38px;
    width: 38px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--primary) !important;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

.nav-social-expandable:hover {
    height: 190px;
    gap: 8px;
    padding: 6px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.nav-social-expandable a {
    width: 34px;
    height: 34px;
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.nav-social-expandable a:first-child {
    opacity: 1;
    transform: scale(1);
}

.nav-social-expandable:hover a {
    opacity: 1;
    transform: scale(1);
}

.nav-social-expandable a:hover {
    background: white !important;
    color: var(--primary) !important;
}

/* Navbar transparency fixes */
.navbar:not(.scrolled) .nav-social-wrapper {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar:not(.scrolled) .nav-social-expandable {
    background: var(--primary) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.navbar:not(.scrolled) .nav-social-expandable a {
    color: white !important;
}

/* ── TIMELINE ENHANCEMENTS ── */
.timeline-container {
    position: relative;
    padding: 4rem 0;
}

.timeline-item {
    margin-bottom: 5rem;
}

.timeline-content {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.timeline-content:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.timeline-dot {
    background: var(--accent) !important;
    box-shadow: 0 0 0 4px rgba(168, 130, 76, 0.2);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 8px rgba(168, 130, 76, 0.3);
}

@media (max-width: 768px) {
    .nav-social-wrapper {
        display: none;
    }
}


/* ── Estilos de Galería Antes/Después (Carousel Moderno) ── */
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }

    .ba-overlay {
        padding: 1.5rem !important;
    }

    .ba-overlay h4 {
        font-size: 1.2rem !important;
    }

    /* Arrows outside images on mobile */
    .ba-nav {
        width: 45px !important;
        height: 45px !important;
        background: var(--primary) !important;
        color: white !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
    }

    .ba-nav.ba-prev {
        left: -10px !important;
    }

    .ba-nav.ba-next {
        right: -10px !important;
    }
}

/* Mobile Adjustments for Before/After */
@media (max-width: 768px) {
    .ba-carousel-container {
        padding: 0 45px !important;
        /* Espacio para las flechas laterales */
        max-width: 100%;
        overflow: visible !important;
    }

    .ba-carousel-wrapper {
        border-radius: 20px;
        margin: 0 auto;
    }

    .before-after-card {
        height: 600px !important;
        /* Mantener fotos grandes */
    }

    .ba-label {
        top: 1rem;
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }

    .ba-overlay {
        padding: 1.5rem !important;
    }

    .ba-overlay h4 {
        font-size: 1.4rem !important;
    }

    /* Flechas fuera de la imagen en móvil */
    .ba-nav {
        width: 45px !important;
        height: 45px !important;
        background: var(--primary) !important;
        color: white !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    .ba-nav.ba-prev {
        left: 0px !important;
        /* Pegada al borde del padding del contenedor */
    }

    .ba-nav.ba-next {
        right: 0px !important;
        /* Pegada al borde del padding del contenedor */
    }
}

/* Refined Before/After Navigation Styles */
.ba-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ba-nav:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.ba-nav.ba-prev {
    left: -4rem;
}

.ba-nav.ba-next {
    right: -4rem;
}

.ba-carousel-container {
    overflow: visible !important;
}

@media (max-width: 992px) {
    .ba-nav.ba-prev {
        left: -2rem;
    }

    .ba-nav.ba-next {
        right: -2rem;
    }
}

/* ── Before/After — Mobile ── */
@media (max-width: 768px) {
    .ba-carousel-container {
        padding: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
        margin-bottom: 2rem;
    }

    .ba-carousel-wrapper {
        border-radius: 0; /* Full width edge-to-edge */
        overflow: hidden;
        width: 100%;
        margin: 0;
        box-shadow: none;
    }

    /* Ocultar flechas en móvil — el usuario quiere pasar con el dedo */
    .ba-nav {
        display: none !important;
    }

    /* Imágenes mucho más grandes para llenar el espacio vertical y ocultar bordes negros */
    .before-after-card {
        height: 600px !important; /* Aún más grande */
        background: #000;
    }

    .before-after-card img {
        object-fit: cover !important;
        object-position: center center !important;
        transform: scale(3.0) !important; /* Zoom masivo para que solo se vea la boca/dientes */
        transform-origin: center center;
    }

    /* Asegurar que el zoom no haga que las imágenes se superpongan */
    .ba-comparison-container > div {
        overflow: hidden !important;
    }

    .ba-overlay {
        padding: 1.5rem 1.2rem !important;
        background: linear-gradient(transparent, rgba(0,0,0,0.95)) !important;
    }

    .ba-overlay h4 {
        font-size: 1.5rem !important;
        margin-bottom: 0.3rem !important;
    }

    .ba-overlay p {
        font-size: 1rem !important;
    }

    .ba-label-before,
    .ba-label-after {
        top: 1.2rem !important;
        padding: 0.5rem 1.2rem !important;
        font-size: 0.8rem !important;
        z-index: 5;
        border-radius: 10px !important;
    }

    .ba-label-before { left: 1.2rem !important; }
    .ba-label-after { right: 1.2rem !important; }
}