/* ============================================
   RESET & VARIABLES - Diseño Moderno Profesional
   ============================================ */
:root {
    /* PALETA DE COLORES OFICIAL - Maternidad La Floresta 2026 */
    --color-lila-claro: #E3D6E3;
    --color-rosa-brillante: #EB5E9B;
    --color-azul-cian: #1C9BD4;
    --color-marron-oscuro: #2D201D;
    --color-azul-marino: #2B347C;
    --color-gris-topo: #6D6261;
    --color-gris-medio: #8C8682;
    --color-rosa-pastel: #F4A4CC;
    --color-gris-oscuro: #564E4E;
    --color-azul-real: #38549C;

    /* Colores Principales (basados en paleta oficial) */
    --primary: #1C9BD4;
    /* Azul cian principal */
    --primary-dark: #2B347C;
    /* Azul marino oscuro */
    --primary-light: #38549C;
    /* Azul real */
    --secondary: #EB5E9B;
    /* Rosa brillante - marca */
    --accent: #F4A4CC;
    /* Rosa pastel */
    --accent-light: #E3D6E3;
    /* Lila claro */

    /* Gradientes Modernos (con paleta oficial) */
    --gradient-primary: linear-gradient(135deg, #1C9BD4 0%, #38549C 100%);
    --gradient-secondary: linear-gradient(135deg, #EB5E9B 0%, #F4A4CC 100%);
    --gradient-hero: linear-gradient(135deg, rgba(28, 155, 212, 0.95) 0%, rgba(235, 94, 155, 0.95) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-premium: linear-gradient(135deg, #2B347C 0%, #1C9BD4 50%, #EB5E9B 100%);

    /* Colores Neutros (basados en paleta) */
    --dark: #2D201D;
    /* Marrón muy oscuro */
    --dark-light: #564E4E;
    /* Gris oscuro */
    --light: #f8f9fc;
    --white: #ffffff;
    --gray: #6D6261;
    /* Gris topo */
    --gray-light: #8C8682;
    /* Gris medio */

    /* Tipografía */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-elegant: 'Playfair Display', serif;

    /* Sombras Premium / Glassmorphism */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 10px 30px rgba(28, 155, 212, 0.4);
    --shadow-glow-pink: 0 10px 30px rgba(235, 94, 155, 0.4);

    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(20px);

    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transiciones Fluids */
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-base: 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   CURSOR PERSONALIZADO (Deshabilitado)
   ============================================ */
.cursor-dot {
    display: none !important;
}

.cursor-outline {
    display: none !important;
}

/* ============================================
   PARTÍCULAS DE FONDO
   ============================================ */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    animation: particlesMove 20s ease-in-out infinite;
}

@keyframes particlesMove {

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

    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.align-end {
    align-items: flex-end;
}

.section-padding {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

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

.bg-light {
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

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

.text-white {
    color: var(--white);
}

.text-accent {
    color: var(--accent);
}

.mb-4 {
    margin-bottom: 2rem;
}

.text-muted {
    color: var(--gray);
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: rgba(255, 255, 255, 0.9);
    padding: 12px 0;
    font-size: 0.875rem;
    position: relative;
    z-index: 1001;
    /* Debe ser mayor que el encabezado (1000) para que los menús 
    desplegables se muestren correctamente */
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.topbar-left {
    display: flex;
    align-items: center;
}

.topbar-nav {
    display: flex;
    align-items: center;
}

.topbar-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.topbar-nav-links li {
    position: relative;
}

.topbar-nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color var(--transition-base);
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-nav-links a:hover {
    color: var(--accent);
}

.dropdown-menu-topbar {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    list-style: none;
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 1000;
}

.topbar-nav-links li.dropdown:hover .dropdown-menu-topbar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.topbar-nav-links .dropdown-menu-topbar li {
    margin: 0;
    display: block;
    width: 100%;
}

.topbar-nav-links .dropdown-menu-topbar a {
    padding: 10px 20px;
    color: var(--dark) !important;
    font-size: 0.85rem;
    transition: background var(--transition-base), color var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.topbar-nav-links .dropdown-menu-topbar a:hover {
    background: rgba(28, 155, 212, 0.05);
    color: var(--primary) !important;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.topbar .contact-info {
    display: flex;
    gap: 2rem;
    margin-left: 20px;
    /* Alineación visual con el logo */
}

.topbar .contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar .contact-info i {
    color: var(--accent);
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.topbar .socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: all var(--transition-base);
    text-decoration: none;
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-glow-pink);
}

/* ============================================
   HEADER / NAVBAR
   ============================================ */
header {
    padding: 5px 0;
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--glass-border);
}

header.scrolled {
    padding: 2px 0;
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.95);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-icon-wrapper {
    height: auto;
    width: 350px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    /* Remove gradient box behind image */
    border-radius: 0;
    /* Remove border-radius */
    color: var(--white);
    font-size: 24px;
    box-shadow: none;
    /* Remove shadow */
    animation: logoFloat 3s ease-in-out infinite;
    overflow: hidden;
    flex-shrink: 0;
}

.logo-icon-wrapper.logo-img-wrapper {
    padding: 6px;
    background: transparent;
    box-shadow: none;
}

.logo-img-wrapper .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-img-wrapper .logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--secondary);
}

@keyframes logoFloat {

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

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

.logo-text h1 {
    display: none;
    /* Hide text as requested */
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text small {
    display: none;
    /* Hide subtitle text as well */
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.header-slogan-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.header-slogan-text {
    font-family: var(--font-elegant);
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    font-style: italic;
    background: linear-gradient(90deg, #1C9BD4 0%, #a25ca8 50%, #EB5E9B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    animation: fadeIn 1s ease-in-out;
}

.slogan-flower {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.05));
}

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

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

.main-nav .nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform var(--transition-base);
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    min-width: 280px;
    max-width: 800px;
    /*  */
    width: max-content;
    padding: 20px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    z-index: 1000;
    border: 1px solid var(--glass-border);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-height: 80vh;
    overflow-y: auto;
}

/* Menú de servicios con múltiples columnas - 3 columnas */
.nav-dropdown .dropdown-menu {
    grid-template-columns: repeat(3, 1fr);
}

/* Menú de accesos rápidos más pequeño - 1 columna */
.nav-dropdown:has(.dropdown-menu li:nth-child(4)) .dropdown-menu {
    grid-template-columns: 1fr;
    max-width: 280px;
}

/* Responsive: 2 columnas en tablets */
@media (max-width: 1024px) {
    .nav-dropdown .dropdown-menu {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
}

/* Responsive: 1 columna en móviles */
@media (max-width: 768px) {
    .nav-dropdown .dropdown-menu {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
}

/* Scrollbar personalizado para dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--dark);
    text-decoration: none;
    border-radius: 10px;
    transition: all var(--transition-base);
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: rgba(28, 155, 212, 0.1);
    color: var(--primary);
    transform: translateX(4px);
}

.dropdown-menu i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.nav-link {
    position: relative;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    border-radius: 8px;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all var(--transition-base);
}

/* BOTONES */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

.btn-gradient {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-glow-pink);
}

.btn-gradient:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.4);
}

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

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

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    background: transparent;
    backdrop-filter: blur(10px);
}

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

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-glow {
    box-shadow: var(--shadow-glow);
}

.btn-magnetic {
    position: relative;
}

/* HERO SLIDER */
.hero-slider {
    height: 100vh;
    min-height: 700px;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Marca de agua rosa La Floresta */
.hero-brand-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(50vw, 400px);
    height: min(50vw, 400px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.12;
}

.hero-brand-watermark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: 20%;
    right: 15%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 50%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes floatShape {

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

    33% {
        transform: translate(30px, -30px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    animation: kenBurns 20s ease-in-out infinite;
}

.slide-1 .slide-background {
    background-image: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?w=1920&q=80'), url('https://images.unsplash.com/photo-1538108149393-fbbd8189718c?auto=format&fit=crop&q=80&w=1920');
}

.slide-2 .slide-background {
    background-image: url('https://images.unsplash.com/photo-1584820927498-cfe5211fd8bf?w=1920&q=80'), url('https://images.unsplash.com/photo-1555252333-9f8e92e65df4?auto=format&fit=crop&q=80&w=1920');
}

.slide-3 .slide-background {
    background-image: url('baby-quirofano.png'), url('baby-quirofano.png');
}

@keyframes kenBurns {

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

    50% {
        transform: scale(1.1);
    }
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 40px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-animated {
    animation: tagPulse 3s ease-in-out infinite;
}

@keyframes tagPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Hero stats removidas - ahora están en sección Acerca de */

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    animation: bounce 2s infinite;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator .mouse {
    margin-top: 6px;
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

.mouse {
    width: 20px;
    height: 32px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    margin: 6px auto 0;
    position: relative;
}

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

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.swiper-pagination {
    bottom: 120px !important;
    z-index: 6;
}

.swiper-scrollbar {
    bottom: 95px !important;
    z-index: 6;
}

.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
    transition: all var(--transition-base) !important;
}

.swiper-pagination-bullet-active {
    background: var(--white) !important;
    width: 32px !important;
    border-radius: 6px !important;
}

.swiper-scrollbar {
    bottom: 60px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.swiper-scrollbar-drag {
    background: var(--white) !important;
}

/* ============================================
   QUICK ACCESS CARDS
   ============================================ */
/* Quick access removido - ahora está en menú desplegable */

/* Asegurar que las cards no tapen contenido del hero */
.hero-slider {
    padding-bottom: 60px;
}

/* ============================================
   SECCIÓN ACERCA DE 
   ============================================ */
.about-section-premium {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text-block {
    max-width: 100%;
}

.about-description {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.9;
    margin: 24px 0 40px;
}

.about-stats-inline {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 40px 0;
    padding: 32px;
    background: linear-gradient(135deg, rgba(28, 155, 212, 0.05) 0%, rgba(235, 94, 155, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(28, 155, 212, 0.1);
}

.stat-inline {
    text-align: center;
    flex: 1;
}

.stat-number-inline {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label-inline {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: var(--gray-light);
}

.about-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.about-image-block {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.about-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.about-image-wrapper:hover .about-image-overlay {
    opacity: 0.1;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}

.about-badge i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--white);
    font-size: 24px;
}

.about-badge strong {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.about-badge span {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .about-content-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-stats-inline {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .about-badge {
        position: static;
        margin-top: 24px;
        display: inline-flex;
    }
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--gray-light);
}

.card-hover:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    margin-bottom: 24px;
    font-size: 32px;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    transition: all var(--transition-base);
}

.card-hover:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.4);
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.card-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.card-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.card-link i {
    transition: transform var(--transition-base);
}

.card-link:hover i {
    transform: translateX(5px);
}

.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.card-hover:hover .card-shine {
    animation: shine 0.6s ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

.info-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
}

.info-card.featured .card-content h3,
.info-card.featured .card-content p,
.info-card.featured .card-link {
    color: var(--white);
}

.info-card.featured .card-icon-wrapper {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--secondary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

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

    50% {
        transform: scale(1.05);
    }
}

/* ============================================
   SECCIÓN NOSOTROS
   ============================================ */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.subtitle {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.subtitle-animated {
    position: relative;
}

.subtitle-line {
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: expandLine 1s ease-out;
}

@keyframes expandLine {
    from {
        width: 0;
    }

    to {
        width: 40px;
    }
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-title:has(.gradient-text) {
    color: var(--secondary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 32px;
}

.check-list {
    list-style: none;
    margin: 32px 0;
}

.check-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(0, 102, 255, 0.05);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.check-item:hover {
    background: rgba(0, 102, 255, 0.1);
    transform: translateX(8px);
}

.check-icon-wrapper {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: var(--white);
    font-size: 14px;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--light);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.image-wrapper:hover .image-overlay {
    opacity: 0.1;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
}

@media (max-width: 1024px) {
    .experience-badge {
        position: static;
        margin-top: 24px;
        display: inline-flex;
    }
}

.floating-badge {
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

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

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

.badge-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--white);
    font-size: 24px;
}

.badge-content .number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
}

.badge-content .text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray);
    line-height: 1.3;
}

/* Cards flotantes removidas - causaban superposiciones */
.image-block {
    overflow: visible;
    position: relative;
    padding-bottom: 40px;
}

/* ============================================
   SERVICIOS / TABS
   ============================================ */
.services-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    background: rgba(0, 102, 255, 0.05);
    padding: 8px;
    border-radius: 16px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--gray);
    cursor: pointer;
    border-radius: 12px;
    transition: all var(--transition-base);
    position: relative;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.tab-btn.active::before {
    transform: scaleX(1);
}

.tab-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.5);
    color: var(--primary);
}

.tab-content {
    animation: fadeInTab 0.5s ease-out;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tab-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.tab-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.tab-image-wrapper:hover img {
    transform: scale(1.1);
}

.image-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.tab-image-wrapper:hover .image-overlay-gradient {
    opacity: 0.2;
}

.tab-text h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.tab-text p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    margin-bottom: 32px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--gray);
}

.service-features i {
    color: var(--primary);
    font-size: 14px;
}

/* ============================================
   GALERÍA
   ============================================ */
.gallery-section {
    position: relative;
    overflow: hidden;
}

.gallery-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    animation: patternMove 30s ease-in-out infinite;
}

@keyframes patternMove {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, -20px);
    }
}

.gallery-slider {
    padding-bottom: 60px;
}

.gallery-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.gallery-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-card:hover .gallery-overlay {
    opacity: 0.3;
}

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--secondary);
    font-size: 24px;
    opacity: 0;
    transition: all var(--transition-base);
}

.gallery-card:hover .gallery-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.baby-info {
    padding: 20px;
    background: var(--white);
}

.baby-info h5 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.baby-info small {
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */
.partners-section {
    background: var(--light);
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.logo-item {
    opacity: 0.6;
    transition: all var(--transition-base);
}

.logo-item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.logo-wrapper {
    padding: 20px 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.logo-item:hover .logo-wrapper {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.logo-wrapper span {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--dark);
}

/* ============================================
   FOOTER
   ============================================ */
.footer-modern {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    opacity: 0.5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-col {
    min-width: 0;
}

.footer-map-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 16px;
}

.footer-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.btn-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(28, 155, 212, 0.3);
}

.btn-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 155, 212, 0.4);
    color: var(--white);
}

.btn-review i {
    font-size: 1.1rem;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
    }

    .footer-map-col {
        grid-column: 1 / -1;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-map-col {
        grid-column: 1;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: auto;
    height: 120px;
    max-width: 250px;
    object-fit: contain;
}

.footer-logo .footer-logo-fallback {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--white);
    font-size: 24px;
}

.footer-logo i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
    color: var(--white);
    font-size: 24px;
}

.footer-logo h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--white);
    margin: 0;
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link-footer {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-link-footer:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 24px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-base);
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.contact-item i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom i {
    color: var(--accent);
    animation: heartBeat 2s ease-in-out infinite;
}

@keyframes heartBeat {

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

    50% {
        transform: scale(1.2);
    }
}

/* ============================================
   CHATBOT & SCROLL TO TOP
   ============================================ */
.chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    box-shadow: var(--shadow-glow-pink);
    z-index: 2000;
    transition: all var(--transition-base);
    border: 4px solid var(--white);
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.5);
}

.chatbot-icon-wrapper {
    position: relative;
    z-index: 2;
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px;
    height: 16px;
    background: #2ecc71;
    border-radius: 50%;
    border: 3px solid var(--white);
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

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

    50% {
        transform: scale(1.2);
    }
}

.chatbot-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--secondary);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.5;
    animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.5;
    }

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

.scroll-to-top {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.4);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {

    .split-layout,
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-stats {
        gap: 32px;
    }

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

@media (max-width: 768px) {
    .topbar .contact-info {
        flex-direction: column;
        gap: 8px;
    }

    .main-nav,
    .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-slider {
        height: 90vh;
        min-height: 600px;
    }

    .quick-access {
        margin-top: 40px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .chatbot-toggle {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
    }

    .scroll-to-top {
        bottom: 100px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-content {
        padding: 20px;
    }

    .info-card {
        padding: 24px;
    }
}

/* ============================================
   ANIMACIONES ADICIONALES
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Efectos de hover adicionales */
.info-card:hover .card-icon-wrapper i {
    animation: bounceIcon 0.6s ease;
}

@keyframes bounceIcon {

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

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

/* Efecto de loading para imágenes */
img {
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Smooth scroll behavior */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Optimizaciones de rendimiento */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

/* Mejoras Premium Adicionales */
.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gradient-secondary);
    opacity: 0.3;
    border-radius: 4px;
    animation: underlineGrow 1s ease-out 1s both;
}

@keyframes underlineGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* Efecto de brillo en textos importantes */
.gradient-text {
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% auto;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

/* Mejora en cards hover */
.info-card:hover .card-icon-wrapper {
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.15) rotate(5deg);
    }
}

/* Efecto parallax mejorado */
@media (min-width: 1024px) {
    .hero-slider .swiper-slide {
        will-change: transform;
    }
}

/* Mejoras de accesibilidad */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Selección de texto personalizada */
::selection {
    background: var(--primary);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}

/* ============================================
   HEADER PROFESIONAL - Aplica a TODAS las páginas
   Diseño maternidad premium
   ============================================ */
header {
    background: var(--white);
    border-bottom: 1px solid rgba(235, 94, 155, 0.08);
    box-shadow: 0 1px 0 0 rgba(28, 155, 212, 0.06);
}

/* Logo completo más grande, sin texto al lado - Universal */
.logo.logo-full {
    gap: 0;
}

.logo.logo-full .logo-icon-wrapper.logo-img-wrapper {
    width: auto;
    min-width: 150px;
    max-width: 350px !important;
    height: 120px;
    padding: 8px 6px;
    animation: none;
    flex-shrink: 1;
}

.logo.logo-full .logo-img {
    width: auto;
    width: 100%;
    height: 100%;
    max-height: 120px;
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 1280px) {
    .logo.logo-full .logo-icon-wrapper.logo-img-wrapper {
        height: 90px;
        max-width: 250px !important;
    }

    .logo.logo-full .logo-img {
        max-height: 90px;
    }

    .nav-link {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .nav-actions {
        gap: 8px;
    }

    .nav-actions .btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
}

.logo-text {
    display: none !important;
}

.logo.logo-full .logo-fallback {
    font-size: 28px;
}

/* Menú más limpio y profesional - Universal */
.main-nav .nav-links {
    gap: 2px;
}

.nav-link::before {
    display: none;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 12px 14px;
    border-radius: 8px;
    overflow: visible;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--secondary);
    background: rgba(235, 94, 155, 0.06);
}

.nav-link.active {
    color: var(--secondary);
    font-weight: 600;
    background: rgba(235, 94, 155, 0.08);
    box-shadow: none;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    border-radius: 2px;
}

.nav-link span {
    position: relative;
}

.dropdown-toggle {
    padding: 12px 12px 12px 14px;
}

.dropdown-toggle:hover {
    color: var(--primary);
    background: rgba(28, 155, 212, 0.06);
}

.nav-link.active:hover {
    color: var(--secondary);
    background: rgba(235, 94, 155, 0.1);
}

/* Botones de acción más integrados - Universal */
.nav-actions {
    gap: 10px;
}

.btn-outline {
    border-color: rgba(28, 155, 212, 0.35);
    color: var(--primary);
    font-weight: 500;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(28, 155, 212, 0.08);
    color: var(--primary);
}

.btn-primary.btn-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, #d84a85 100%);
    border: none;
    box-shadow: 0 2px 12px rgba(235, 94, 155, 0.35);
}

.btn-primary.btn-gradient:hover {
    box-shadow: 0 4px 20px rgba(235, 94, 155, 0.45);
    transform: translateY(-1px);
}

/* ============================================
   SECCIONES PREMIUM - Testimonios, Certificaciones, Contador
   ============================================ */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(235, 94, 155, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(235, 94, 155, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-secondary);
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(235, 94, 155, 0.15);
}

.testimonial-card:hover::before {
    transform: scaleY(1);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--gray);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    color: #FFD700;
    font-size: 0.9rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--dark-light);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray);
}

/* Certificaciones */
.certifications-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.cert-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.cert-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(28, 155, 212, 0.2);
}

.cert-card:hover::before {
    opacity: 0.05;
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

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

.cert-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.cert-card p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Contador en Vivo */
.live-counter-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.live-counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
    animation: floatPattern 20s linear infinite;
}

.live-counter-section.live-counter-section-static::before {
    animation: none;
    transform: none;
}

@keyframes floatPattern {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-100px);
    }
}

.live-counter-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
}

.live-counter-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    color: var(--white);
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.live-counter-content {
    text-align: left;
}

.live-counter-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 16px;
    opacity: 0.9;
}

.live-counter-number {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.live-counter-subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    font-weight: 300;
}

/* Botón WhatsApp Flotante Premium */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}

.whatsapp-float.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-icon-wrapper {
    position: relative;
    z-index: 2;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPulse 2s ease-out infinite;
    z-index: 1;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--dark);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@media (max-width: 768px) {
    .live-counter-wrapper {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .live-counter-content {
        text-align: center;
    }

    .live-counter-number {
        font-size: 3.5rem;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* ============================================
   DARK MODE
   ============================================ */
:root.dark-mode {
    --white: #121212;
    --dark: #f8f9fc;
    --bg-light: #1e1e1e;
    --text: #e0e0e0;
    --gray: #a0a0a0;
    --gray-light: #333333;

    --glass-bg: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.dark-mode-toggle {
    position: fixed;
    top: 10px;
    right: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 1001;
    /* Asegura que esté por encima de la barra superior */
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.dark-mode-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    color: var(--white);
}

/* ============================================
   GLOBAL PRELOADER
   ============================================ */
#global-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.preloader-heartbeat {
    width: 80px;
    height: 80px;
    background: url('logo.png') center/contain no-repeat;
    animation: heartbeat 1s infinite alternate;
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--primary));
    }

    100% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 30px var(--secondary));
    }
}

/* ============================================
   FAQ ACCORDIONS
   ============================================ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category-title {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    display: inline-block;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question i {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-question.active {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
    /* if primary-rgb is not defined, we'll use a specific light color */
}

:root {
    --primary-rgb: 0, 102, 255;
    /* Adding this just in case */
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding: 0 20px 20px 20px;
    margin: 0;
    color: var(--gray);
    line-height: 1.6;
}

/* ============================================
   FLOATING CTA WIDGET
   ============================================ */
.floating-cta-widget {
    position: fixed;
    bottom: 30px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50px;
    padding: 10px 25px 10px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    z-index: 998;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cta-widget .cta-icon {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.floating-cta-widget .cta-text {
    display: flex;
    flex-direction: column;
}

.floating-cta-widget .cta-text span {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1;
}

.floating-cta-widget .cta-text small {
    font-size: 0.75rem;
    opacity: 0.85;
}

.floating-cta-widget:hover {
    transform: translateY(-5px) scale(1.05);
    color: white;
}

/* ============================================
   INFINITE MARQUEE
   ============================================ */
.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 30px 0;
    position: relative;
    white-space: nowrap;
}

.marquee-content {
    display: inline-grid;
    grid-template-rows: 1fr;
    grid-auto-flow: column;
    animation: marquee-scroll 75s linear infinite;
    gap: 20px 80px;
    align-items: center;
    padding-right: 80px;
    /* Match gap so the loop is seamless */
}



/* Duplicated content styling (the second .marquee-content div starts exactly after the first one naturally) */

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.marquee-item {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray);
    white-space: nowrap;
    opacity: 0.5;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.marquee-item:hover {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.1);
}

.marquee-logo-item {
    flex-shrink: 0;
    height: 100px;
    width: 200px; /* Ancho fijo para uniformidad visual */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.marquee-logo-item img {
    max-height: 60px; /* Altura máxima más controlada */
    max-width: 150px; /* Ancho máximo para evitar logos gigantes */
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    opacity: 0.9;
    transition: all var(--transition-base);
}

.marquee-logo-item:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

/* Seguros: lista estática (sin carrusel) */
.marquee-wrapper-static {
    overflow: visible;
}

.marquee-wrapper-static .marquee-content {
    animation: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 40px;
    padding-right: 0;
    white-space: normal;
}

.marquee-wrapper-static .marquee-item {
    white-space: normal;
}

.marquee-wrapper-static .marquee-item:hover {
    transform: none;
}

/* ============================================
   SERVICES TICKER MARQUEE (SUB-HEADER)
   ============================================ */
.services-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--primary-dark);
    color: var(--white);
    padding: 10px 0;
    position: relative;
    white-space: nowrap;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
}

.services-ticker-content {
    display: inline-flex;
    animation: marquee-scroll 60s linear infinite;
    gap: 40px;
    align-items: center;
    padding-right: 40px;
}

.services-ticker-wrapper:hover .services-ticker-content {
    animation-play-state: paused;
}

.ticker-item {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-base);
}

.ticker-item i {
    color: var(--accent);
    font-size: 1.1rem;
}

.ticker-item:hover {
    color: var(--accent);
}

/* ============================================
   CRO SECTIONS - Conversion Rate Optimization
   ============================================ */

/* --- Empathy / Pain Points Section --- */
.cro-empathy-section {
    background: var(--white);
}

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

.cro-pain-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.cro-pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

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

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

.cro-pain-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(235, 94, 155, 0.1) 0%, rgba(244, 164, 204, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--secondary);
    transition: all var(--transition-base);
}

.cro-pain-card:hover .cro-pain-icon {
    background: var(--gradient-secondary);
    color: var(--white);
    transform: scale(1.1);
}

.cro-pain-card h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.cro-pain-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- 3 Steps Section --- */
.cro-steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cro-step-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    flex: 1;
    max-width: 340px;
    transition: all var(--transition-base);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

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

.cro-step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.cro-step-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(28, 155, 212, 0.1) 0%, rgba(56, 84, 156, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.5rem auto 1.5rem;
    font-size: 1.75rem;
    color: var(--primary);
    transition: all var(--transition-base);
}

.cro-step-card:hover .cro-step-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.cro-step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.cro-step-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cro-step-connector {
    color: var(--primary);
    font-size: 1.5rem;
    opacity: 0.4;
    flex-shrink: 0;
}

/* --- Urgency Section --- */
.cro-urgency-section {
    background: linear-gradient(180deg, var(--white) 0%, #fef9fb 100%);
}

.cro-urgency-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.cro-urgency-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.cro-urgency-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 0.75rem 0;
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.6;
}

.cro-urgency-list li i {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.cro-urgency-cta-text {
    margin: 1.5rem 0;
    font-size: 1.05rem;
    color: var(--dark);
}

.cro-urgency-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cro-urgency-stat {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
}

.cro-urgency-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cro-urgency-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.cro-urgency-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

/* --- FAQ Accordion Section --- */
.cro-faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.cro-faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-xs);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all var(--transition-base);
}

.cro-faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.cro-faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    gap: 1rem;
    transition: color var(--transition-base);
}

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

.cro-faq-question i {
    font-size: 0.8rem;
    color: var(--primary);
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.cro-faq-item.active .cro-faq-question i {
    transform: rotate(180deg);
}

.cro-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1), padding 0.4s ease;
    padding: 0 1.5rem;
}

.cro-faq-item.active .cro-faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.25rem;
}

.cro-faq-answer p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* --- Final CTA Section --- */
.cro-final-cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    position: relative;
    overflow: hidden;
}

.cro-final-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, -30px);
    }
}

.cro-final-cta-wrapper {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cro-final-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cro-final-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cro-final-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cro-final-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
}

.cro-final-buttons .btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.cro-final-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.cro-final-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
}

.cro-final-trust {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cro-final-trust i {
    color: rgba(255, 255, 255, 0.5);
}

/* --- CRO Sections Responsive --- */
@media (max-width: 1024px) {
    .cro-pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cro-urgency-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cro-urgency-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .cro-urgency-stat {
        flex: 1;
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .cro-pain-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cro-steps-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .cro-step-connector {
        transform: rotate(90deg);
    }

    .cro-step-card {
        max-width: 100%;
        width: 100%;
    }

    .cro-final-title {
        font-size: 2rem;
    }

    .cro-final-buttons {
        flex-direction: column;
    }

    .cro-urgency-stats {
        flex-direction: column;
    }
}
/* ============================================
   GLOBAL RESPONSIVENESS & POLISH
   ============================================ */
@media (max-width: 1200px) {
    :root { --spacing-lg: 3rem; }
    .container { padding: 0 40px; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 992px) {
    .section-padding { padding: 80px 0; }
    .hero-title { font-size: 3rem; }
    .hero-description { font-size: 1.1rem; }
    .nav-actions { display: none; } /* En m�vil se ocultan o van al men� lateral */
    .header-slogan-text { font-size: 1.5rem; }
    .pricing-card-highlight { padding: 30px; }
    .pricing-card-highlight h2 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero-title { font-size: 2.5rem; }
    .hero-description { font-size: 1rem; }
    .btn-large { padding: 12px 24px; font-size: 0.9rem; }
    .header-slogan-text { display: none; }
    .about-stats-inline { padding: 20px; gap: 15px; }
    .stat-number-inline { font-size: 1.8rem; }
    .stat-label-inline { font-size: 0.7rem; }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card-highlight { flex-direction: column; text-align: center; } .highlight-main-flex { flex-wrap: wrap; }
    .highlight-features-grid { grid-template-columns: 1fr; }
    .marquee-logo-item { width: 150px; padding: 0 10px; }
    .marquee-logo-item img { max-height: 45px; max-width: 110px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn-group .btn { width: 100%; justify-content: center; }
    .pricing-card-highlight h2 { font-size: 1.5rem; }
}

.slide-3 .slide-background { background-image: url('baby-quirofano.png') !important; }
.hero-title .primary-light { white-space: nowrap !important; }

/* Reducción de tamaño para logos VUMI y BMI (son naturalmente más grandes) */
.marquee-logo-item img[src*="1%20(14).png"],
.marquee-logo-item img[src*="1%20(15).png"] {
    max-height: 38px !important;
    max-width: 100px !important;
    margin: auto;
}
