:root {
    --primary: linear-gradient(to right, #007AFF, #00A8FF);
    --primary-dark: linear-gradient(to right, #007AFF, #00A8FF);
    --primarytxti: #007AFF;
    --primary-light: #2997FF;
    --secondary: #34C759;
    --accent: #FF9500;
    --accent-light: #ffc107;
    --text: #34363a;
    --text-light: #86868B;
    --bg: #F5F5F7;
    --section-bg: #FFFFFF;
    --card-bg: rgb(238, 238, 238);
    --gradient: linear-gradient(to right, #007AFF, #00A8FF);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 18px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glass: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --blur: blur(20px);
}

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

body {
    font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: #f3f3f3;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Dinámico Avanzado */
.dynamic-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    transform: translateY(-120%);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), 
                background 0.4s ease, 
                padding 0.3s ease;
    opacity: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;    
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2);
}

.dynamic-header.visible {
    transform: translateY(0);
    opacity: 1;
}

.dynamic-header.scrolled {
    background: linear-gradient(135deg, #FFFFFF, #FFFFFF);
    padding: 0.8rem 2rem;
}

.header-logo {
    height: 100%; /* El logo ocupará toda la altura del contenedor */
    width: auto; /* Mantiene la proporción del logo */
    max-height: 100px; /* Máxima altura */
    object-fit: contain; /* Asegura que el logo se vea completo */
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(80%) invert(8%) sepia(32%) saturate(700%) hue-rotate(200deg) brightness(50%) contrast(60%);
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    margin-right: 25px;
    height: 50px;
    display: flex;
    align-items: center;
}

.header-logo:hover {
    transform: scale(1.03);
}

.header-logo img {
    height: 100%; /* El logo ocupará toda la altura del contenedor */
    width: auto; /* Mantiene la proporción del logo */
    max-height: 50px; /* Máxima altura */
    object-fit: contain; /* Asegura que el logo se vea completo */
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
}

.header-logo:hover img {
    transition: transform 0.3s ease;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.header-nav-buttons {
    display: flex;
    gap: 1rem;
}

.header-btn {
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2);
}

.header-btn.primary {
    background: transparent;
    color: #ff3f3fbc;
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2);
}

.header-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(27, 27, 27, 0.329);
}

.header-btn.primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-btn.primary:hover::after {
    opacity: 1;
}

.header-btn.secondary {
    background: transparent;
    color: #1E2026;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.header-btn.secondary:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
    border-color: rgba(0, 0, 0, 0.15);
}

.header-btn span {
    transition: transform 0.3s ease;
}

.header-btn:hover span {
    transform: scale(1.05);
}

.header-btn i {
    margin-right: 0.6rem;
    font-size: 0.95em;
    transition: transform 0.3s ease;
}

.header-btn:hover i {
    transform: scale(1.1);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #1E2026;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    background: #FAFAFA;
    color: #1E2026;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FAFAFA, #FAFAFA);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    padding-bottom: 60px; /* Espacio para los iconos */
    width: 100%;
}

.hero h1 {
    color: #34363a;
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.186);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.3rem;
    color: #4a4844;
    margin: 0 auto 3rem;
    animation: fadeInUp 1s 0.3s both;
    max-width: 80%;
    font-weight: 400;
}

/* Hero Features Icons */
.hero-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    position: absolute;
    bottom: 70px; /* Distancia desde el fondo */
    left: 0;
    right: 0;
}

.feature-icon-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color:transparent;
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.feature-icon-item i {
    font-size: 1.2rem;
    color: #007AFF !important;
}


.feature-icon-item span {
    font-size: 0.95rem;
    font-weight: 500;
    color: #3b3d40;
}
    
/* Efecto hover para los iconos */
.feature-icon-item:hover {
    transform: translateY(-3px);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .hero-features {
        gap: 1rem;
        justify-content: center;
        bottom: 20px;
    }
    
    .feature-icon-item {
        padding: 0.6rem 1rem;
    }
    
    .feature-icon-item i {
        font-size: 1rem;
    }
    
    .feature-icon-item span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        bottom: 10px;
    }
}

.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1.1rem 2.5rem;
    background: #ffc107;
    color: #1E2026;
    font-size: 1.15rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 12px 25px rgb(228, 228, 228);
    animation: buttonEntrance 1s 0.6s both;
    border: none;
    cursor: pointer;
    width: auto;
    max-width: 100%;
    z-index: 1;
}

/* Contenedor para el botón con la animación automática */
.cta-button-container {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0;
}

/* Efecto de onda automático y continuo */
.cta-button-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.4);
    -webkit-animation: waveEffect 1.5s ease-out infinite;
    animation: waveEffect 1.5s ease-out infinite;
    z-index: 0;
    pointer-events: none;
}

/* Segunda onda con retraso para efecto continuo */
.cta-button-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.3);
    -webkit-animation: waveEffect 1.5s ease-out infinite 0.75s;
    animation: waveEffect 1.5s ease-out infinite 0.75s;
    z-index: 0;
    pointer-events: none;
}

/* Animación de la onda más grande */
@keyframes waveEffect {
    0% {
        transform: translate(-50%, -50%) scale(0.1);
        opacity: 0.5;
    }
    70% {
        opacity: 0.3; /* Reducir opacidad antes de llegar al final */
    }
    100% {
        transform: translate(-50%, -50%) scale(20);
        opacity: 0;
    }
}


.cta-button:hover::after {
    opacity: 1;
    transform: translateY(-4px);
}

.cta-button i {
    margin-left: 0.8rem;
    transition: transform 0.4s ease;
}

.cta-button:hover i {
    transform: translateX(6px);
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    position: relative;
    background: linear-gradient(120deg, #FAFAFA 0%, #ffffff 50%, #f0f0f0 100%);
    width: 100%;
    overflow: hidden;
}

.section-header {
    text-align: center;
    position: relative;
    margin-bottom: 4rem;
    padding: 0 2rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--text);
    font-weight: 700;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text);
    font-size: 1.2rem;
}

/* Reset y base */
.features-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    perspective: 1000px;
}

/* Contenedor principal del slider */
.features-slider {
    margin: 0;
    padding: 0;
}

/* Slides individuales */
.feature-slide {
    padding: 1rem;
    outline: none;
    transform-style: preserve-3d;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: #fffffff4;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.15);
    
    /* Nuevo shadow mejorado */
    box-shadow: 
        4px 4px 8px rgba(0, 0, 0, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2);
        
    /* Efecto de elevación 3D sutil */
    transform: perspective(500px) translateZ(0);
    
    /* Asegurar visibilidad */
    opacity: 1 !important;
}

/* Efecto hover opcional para más interactividad */
.feature-card:hover {
    transform: perspective(500px) translateZ(10px);
}

@keyframes rotate-gradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Icono - Estilo neumórfico */
.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 22px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--text);
    font-size: 2rem;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    box-shadow:
        4px 4px 8px rgba(0, 0, 0, 0.1),
        -4px -4px 8px rgba(255, 255, 255, 0.5),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2),
        inset -2px -2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 50%
    );
}

/* Texto */
.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1C1C1E;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--accent-light);
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 122, 255, 0.3);
}

.feature-card p {
    color: rgba(37, 37, 39, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* Stats - Estilo pastilla moderna */
.feature-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: rgb(165 165 165 / 15%);
    border-radius: 50px;
    color: #191a1b;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(35, 36, 37, 0.2);
    box-shadow: 
        0 4px 6px rgba(0, 0, 0, 0.05),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    background: wheat;
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px #ff950029, inset 0 1px 1px rgb(52 54 58 / 19%);
}

.stat-item i {
    margin-right: 0.5rem;
    color: var(--text);
    font-size: 1rem;
}

/* Navegación - Estilo cápsula */
.features-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin: 0 auto 1.5rem;
    list-style: none;
    padding: 0;
    max-width: 900px;
    flex-wrap: wrap;
}

.features-nav li {
    margin: 0;
}

.features-nav button {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    color: #1C1C1E;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    min-width: 120px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.features-nav button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.features-nav button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.features-nav button:hover::before {
    opacity: 1;
}

.features-nav button:focus {
    outline: none;
}

.features-nav button i {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text);
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 122, 255, 0.2);
}

.features-nav li.slick-active button {
    box-shadow:4px 4px 8px rgba(0, 0, 0, 0.1),
        inset 2px 2px 4px rgba(255, 255, 255, 0.2);
    background-color: #ff3f3fbc !important;
    color: white;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.features-nav li.slick-active button i {
    transform: scale(1.15);
    color: rgba(255, 255, 255, 0.941);
    text-shadow: 0 4px 8px rgba(13, 13, 12, 0.466);
}

/* Estilos para las flechas de navegación en features-section */
.features-section .slick-prev,
.features-section .slick-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    border: none;
    box-shadow: var(--shadow);
    z-index: 1;
    transition: var(--transition);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.features-section .slick-prev:hover,
.features-section .slick-next:hover {
    background: var(--text);
    color: white;
}

.features-section .slick-prev {
    left: -25px;
}

.features-section .slick-next {
    right: -25px;
}

.features-section .slick-prev:before,
.features-section .slick-next:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: inherit;
}

.features-section .slick-prev:before {
    content: '\f053';
}

.features-section .slick-next:before {
    content: '\f054';
}

.slick-dots li.slick-active button:before {
    color: var(--accent-light);
    opacity: .75;
}


/* Opcional: Fondo difuminado para el contenedor del slider */
.features-slider-container {
    background: transparent;
    padding: 0;
}

/* Efectos hover para la tarjeta */
.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(0deg) translateZ(20px);
}

/* Pricing Section */
.pricing-section {
    padding: 6rem 0;
    background: var(--bg);
    position: relative;
    width: 100%;
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 2rem;
}

.pricing-card {
    background-color: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ececec 100%);
    border-radius: var(--radius-lg);
    padding: 4rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
}

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

.pricing-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primarytxti);
    margin: 2rem 0;
    line-height: 1;
    text-shadow: 
        0 1px 2px rgba(0, 153, 255, 0.261),
        0 2px 4px rgba(34, 122, 210, 0.254),
        0 4px 8px rgba(12, 90, 235, 0.102);
}


.pricing-price span {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    text-shadow: none;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2.5rem 0;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li i {
    margin-right: 1rem;
    color: var(--primarytxti);
    font-size: 1.1rem;
}

.pricing-button {
    display: inline-flex;
    align-items: center;
    padding: 1.1rem 2.5rem;
    background: var(--primarytxti);
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 113, 227, 0.4);
    border: none;
    cursor: pointer;
}

.pricing-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(0, 113, 227, 0.4);
    background: var(--primary-dark);
}

.pricing-button i {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.pricing-button:hover i {
    transform: translateX(5px);
}

/* Doctors Slider Section */
.doctors-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.doctors-slider-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.doctor-slide {
    padding: 0 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.doctor-slide {
    padding: 0 15px;
    transition: all 0.3s ease;
}

.doctor-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    margin: 0;
}

/* Efecto de escala para el slide central */
.slick-center .doctor-card {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Efecto para slides adyacentes */
.slick-slide:not(.slick-center) .doctor-card {
    transform: scale(0.95);
    opacity: 0.9;
    z-index: 1;
}

.doctor-image {
    height: 280px;
    background: #f5f8fc;
    position: relative;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #e8edf3 0%, #d6e0f0 100%);
}

.placeholder-image i {
    font-size: 4rem;
    color: #a8b8d8;
}

.doctor-info {
    padding: 1.8rem;
}

.doctor-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.doctor-specialty {
font-size: 0.95rem;
color: white;
font-weight: 600;
margin: 1rem 0;
display: inline-flex;
align-items: center;
gap: 0.6rem;
background: var(--gradient);
padding: 0.6rem 1.2rem;
border-radius: 50px;
}

.doctor-specialty i {
    font-size: 0.9em;
}

.doctor-education {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.8rem 0;
}

.doctor-education i {
    color: var(--primarytxti);
    font-size: 1rem;
}

.doctor-fee {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0.8rem 0;
}

.doctor-fee i {
    color: var(--primarytxti);
    font-size: 1rem;
}

.doctor-fee .fee-amount {
    font-weight: 600;
    color: var(--secondary);
}

.doctor-location {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 1.2rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--primarytxti);
    position: relative;
}

.doctor-location i {
    color: var(--primarytxti);
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.view-profile {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--gradient);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.2);
    width: 100%;
}

.view-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.3);
}

.view-profile i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.view-profile:hover i {
    transform: translateX(3px);
}

/* Estilos para el slider */
.doctors-slider .slick-list {
    overflow: visible; /* Permitir que las tarjetas se vean completamente */
    margin: 0 -15px; /* Compensar el padding de los slides */
}

.doctors-slider .slick-track {
    display: flex;
    align-items: stretch; /* Asegurar que todas las tarjetas tengan la misma altura */
}

/* Ajustar el espaciado entre slides */
.doctors-slider .slick-slide {
    padding: 0 15px;
    height: auto;
}

/* Estilos para las flechas de navegación */
.doctors-slider .slick-prev,
.doctors-slider .slick-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    color: var(--primary);
    border: none;
    box-shadow: var(--shadow);
    z-index: 1;
    transition: var(--transition);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.doctors-slider .slick-prev:hover,
.doctors-slider .slick-next:hover {
    background: var(--text);
    color: white;
}

.doctors-slider .slick-prev {
    left: -25px;
}

.doctors-slider .slick-next {
    right: -25px;
}

.slick-prev, .slick-next {
    top: 45%;
}

.doctors-slider .slick-prev:before,
.doctors-slider .slick-next:before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: inherit;
}

.doctors-slider .slick-prev:before {
    content: '\f053';
}

.doctors-slider .slick-next:before {
    content: '\f054';
}

/* Estilos para los puntos de navegación */
.doctors-slider .slick-dots {
    bottom: -40px;
}

.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: contents;
    width: 20px;
    height: 20px;
    padding: 5px;
    cursor: pointer;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}

.doctors-slider .slick-dots li button:before {
    font-size: 10px;
    color: rgba(0, 113, 227, 0.3);
}

.doctors-slider .slick-dots li.slick-active button:before {
    color: var(--accent-light);
    opacity: .75;
}

.slick-initialized .slick-slide {
    padding: 10px;
    display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .doctor-slide {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .doctors-slider-container {
        padding: 0;
    }

    .doctors-section .slick-prev,
    .doctors-section .slick-next {
        display: none !important;
        margin: 0;
        padding: 0;
    }
    
    .doctor-image {
        height: 250px;
    }
    
    .doctors-slider .slick-prev {
        left: -15px;
    }
    
    .doctors-slider .slick-next {
        right: -15px;
    }

    .doctors-slider .slick-slide {
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .doctors-section {
        padding: 4rem 0;
    }
    
    .doctor-image {
        height: 200px;
    }
    
    .doctor-info {
        padding: 1.2rem;
    }
    
    .doctor-name {
        font-size: 1.1rem;
    }
}

/* Estilos adicionales para el botón de Agendar Cita */
.appointment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: center;
    z-index: 2;
    transition: var(--transition);
    transform: translateY(100%);
    opacity: 0;
}

.doctor-card:hover .appointment-overlay {
    transform: translateY(0);
    opacity: 1;
}

.appointment-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 200px;
}

.appointment-btn:hover {
    background: white;
    color: var(--primary);
    border-color: rgba(0, 102, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Estilos específicos para el slider de médicos */
.doctors-slider-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.doctors-slider .slick-list {
    overflow: visible;
    margin: 0 -15px;
}

.doctors-slider .slick-track {
    display: flex;
    align-items: stretch;
}

.doctors-slider .slick-slide {
    padding: 0 15px;
    height: auto;
}

.doctor-slide {
    height: 100%;
}

.doctor-card {
    height: 100%;
    margin: 0;
}

/* Mostrar siempre el botón en móviles */
@media (max-width: 768px) {
    .appointment-overlay {
        transform: translateY(0);
        opacity: 1;
    }
    
    .doctors-slider .slick-slide {
        padding: 0 10px;
    }
}

/* Stats Section */
.stats-section {
    padding: 6rem 0;
    background: linear-gradient(11222deg, #1a202c, #111);
    color: white;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat {
    padding: 2.5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-align: center;
}

.stat:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.stat p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 4rem 0 2rem;
    background: linear-gradient(135deg, #1a202c, #111);
    color: white;
    position: relative;
    width: 100%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

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

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 113, 227, 0.3);
}

.copyright {
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Animations */
@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes buttonEntrance {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Media Queries para tablets */
@media (min-width: 768px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
    
    .section-header h2 {
        font-size: 2.8rem;
    }
    
    .feature-card {
        padding: 3.5rem;
        min-height: 550px;
    }
    
    .stats-grid {
        gap: 2.5rem;
    }
    
    .doctor-image {
        height: 320px;
    }
}

/* Media Queries para desktop */
@media (min-width: 1024px) {
    .hero {
        min-height: 900px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .hero p {
        font-size: 1.5rem;
    }
    
    .feature-card {
        height: 580px;
        padding: 4rem;
    }
    
    .doctor-image {
        height: 300px;
    }
}

/* Media Queries para móviles */
@media (max-width: 767px) {
    .dynamic-header {
        padding: 1rem;
    }
    
    .header-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, white, #ebebeb);
        backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        transform: translateY(-150%);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .header-nav.active {
        transform: translateY(0);
    }
    
    .header-nav-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 1rem;
    }
    
    .header-btn {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    /* Correcciones para features-section en móviles */
    .features-section {
        padding: 3rem 0;
    }

    .feature-card {
        width: 100%;
        padding: 1.5rem !important;
        min-height: auto !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .feature-card h3 {
        font-size: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    .feature-card p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .feature-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }

    .feature-stats {
        padding-top: 1.5rem !important;
        gap: 0.4rem !important;
    }

    .stat-item {
        padding: 0.5rem .7rem !important;
        font-size: 0.6rem !important;
    }

    .features-nav {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 0.4rem;
    }

    .feature-slide {
        padding: 0 5px !important;
    }
    
    .features-nav li:nth-child(5) {
        grid-column: span 1;
    }
    
    .features-nav button {
        min-width: auto;
        padding: 0.8rem 0.1rem;
        flex-direction: column;
        justify-content: center;
        font-size: 0.6rem;
    }
    
    .features-nav button i {
        margin-right: 0.6rem;
        margin-bottom: 0;
        font-size: 1.1rem;
    }

    .features-slider-container .slick-arrow {
        width: 44px;
        height: 44px;
    }
    
    .features-slider-container .slick-prev {
        left: -10px;
    }
    
    .features-slider-container .slick-next {
        right: -10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    /* Correcciones para doctors-section en móviles */
    .doctors-section {
        padding: 3rem 0;
    }

    .doctor-card {
        margin: 0 10px;
    }

    .doctor-image {
        height: 250px;
    }

    .doctor-info {
        padding: 1.2rem;
    }

    .doctor-name {
        font-size: 1.2rem;
    }

    .doctor-profile-btn {
        padding: 0.6rem 1rem;
        font-size: 0.6rem;
    }

    .pricing-card {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .header-logo {
        font-size: 1.3rem;
    }
    
    .header-logo img {
        height: 28px;
    }
    
    /* Ajustes adicionales para feature-card en móviles pequeños */
    .feature-card {
        padding: 1.5rem !important;
    }

    .feature-card h3 {
        font-size: 1.3rem !important;
    }

    .feature-card p {
        font-size: 0.95rem !important;
    }

    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.3rem !important;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }

    .features-nav button {
        font-size: 0.8rem;
    }

    .features-nav button i {
        font-size: 1.1rem;
    }

    /* Ajustes adicionales para doctors-section en móviles pequeños */
    .doctor-image {
        height: 200px;
    }

    .doctor-name {
        font-size: 1.1rem;
    }

    .doctor-specialty {
        margin-bottom: 1rem;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

/* Auth Sections */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--bg);
}

.auth-illustration {
    background: linear-gradient(135deg, var(--primarytxti) 0%, var(--accent) 100%);
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-illustration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.illustration-wrapper {
    max-width: 480px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.illustration-img {
    width: 180px;
    height: 180px;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.auth-illustration h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-illustration p {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.auth-form-container {
    padding: 5rem 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 480px;
}

.auth-header {
    margin-bottom: 3rem;
    text-align: center;
}

.auth-header h2 {
    font-size: 2.4rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.auth-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.progress-steps {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.progress-steps .step {
    width: 30px;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.progress-steps .step.active {
    background: var(--primary);
    width: 40px;
}

.auth-error {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.2);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    color: #ff5252;
    font-weight: 500;
}

.auth-error i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.auth-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

.input-with-icon input,
.input-with-icon select {
    width: 100%;
    padding: 1rem 1rem 1rem 3.2rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.02);
}

.input-with-icon input:focus,
.input-with-icon select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
    outline: none;
    background: white;
}

.input-with-icon input.error {
    border-color: #ff5252;
}

.input-error {
    color: #ff5252;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 0.5rem;
}

.toggle-password:hover {
    color: var(--primary);
}

.password-strength {
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.strength-meter {
    display: flex;
    gap: 0.3rem;
    flex-grow: 1;
}

.strength-bar {
    height: 4px;
    border-radius: 2px;
    flex-grow: 1;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

.strength-bar.active {
    background: #ff5252;
}

.strength-text {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-top: 0.8rem;
}

.form-checkbox input {
    margin-right: 0.6rem;
}

.form-checkbox label {
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
}

.file-upload {
    position: relative;
    margin-top: 0.5rem;
}

.file-upload input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    background: rgba(0, 102, 255, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload-label:hover {
    background: rgba(0, 102, 255, 0.2);
}

.file-upload-label i {
    margin-right: 0.6rem;
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.form-terms {
    margin: 2rem 0;
    display: flex;
    align-items: center;
}

.form-terms input {
    margin-right: 0.6rem;
}

.form-terms label {
    font-size: 0.95rem;
    color: var(--text-light);
    cursor: pointer;
}

.form-terms a {
    color: var(--primarytxti);
    text-decoration: none;
    transition: var(--transition);
}

.form-terms a:hover {
    text-decoration: underline;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
}

.auth-back-btn {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-back-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.auth-submit-btn {
    padding: 1.2rem 2rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.2);
}

.auth-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 102, 255, 0.3);
}

.auth-submit-btn i {
    transition: transform 0.3s ease;
}

.auth-submit-btn:hover i {
    transform: translateX(5px);
}

.auth-footer {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primarytxti);
    text-decoration: none;
    transition: var(--transition);
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive styles for auth sections */
@media (max-width: 1024px) {
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-illustration {
        display: none;
    }
    
    .auth-form-container {
        padding: 4rem 2rem;
    }
}

@media (max-width: 768px) {
    .auth-form-container {
        padding: 3rem 1.5rem;
    }
    
    .auth-header h2 {
        font-size: 2rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .auth-back-btn,
    .auth-submit-btn {
        width: 100%;
    }
}

/* Active state for header buttons */
.header-btn.active {
    box-shadow: 0px 4px 6px 0px rgb(255 255 255 / 12%); /* Space Gray shadow */
}