/* Top Bar */
.top-bar {
    background: #1a365d; /* mayor contraste con texto blanco */
    color: var(--color-text-white);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px var(--color-shadow);
    height: auto;
    min-height: 40px;
}

/* Clase para texto accesible oculto visualmente */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-white);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.top-bar-item:hover { color: #e6f0ff; text-decoration: underline; text-underline-offset: 2px; }
.top-bar-item:focus-visible { outline: 2px dashed #e6f0ff; outline-offset: 2px; }

.top-bar-item .icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor para el botón CTA en la cintilla superior */
.top-bar-cta-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    max-width: 100%;
    overflow: hidden;
}

/* Contenedor para teléfono y redes sociales */
.top-bar-contact-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.top-bar-item.cta-top {
    background: var(--color-transparent-primary);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease, width 0.5s ease, background 0.5s ease, box-shadow 0.5s ease, border 0.5s ease, text-shadow 0.5s ease;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2s ease-in-out infinite;
    min-width: 120px;
    width: 120px;
    white-space: nowrap;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    border: 1px solid var(--color-transparent-white);
    color: var(--color-text-white);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.top-bar-item.cta-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.top-bar-item.cta-top:hover::before {
    left: 100%;
}

.top-bar-item.cta-top:hover {
    background: var(--color-secondary-light);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px var(--color-transparent-shadow), 0 0 20px var(--color-transparent-glow);
    animation: pulse-glow-fast 1s ease-in-out infinite;
}

/* Navigation Bar */
.navbar {
    background: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateY(40px);
}

.logo img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.2) drop-shadow(0 4px 12px rgba(44, 90, 160, 0.4));
}

.logo {
    transition: all 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-menu a {
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: var(--color-primary);
    color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 80%;
}

/* Estilos para enlaces externos */
.nav-menu a[target="_blank"] {
    position: relative;
    border-left: 2px solid var(--color-hover-light);
    margin-left: 0.3rem;
    padding-left: 1.2rem;
}

.nav-menu a[target="_blank"]::before {
    content: '↗';
    position: absolute;
    top: -2px;
    right: -8px;
    font-size: 0.7rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav-menu a[target="_blank"]:hover::before {
    opacity: 1;
}

.nav-menu a[target="_blank"]:hover {
    border-left-color: var(--color-primary);
}

.cta-nav {
    background: var(--color-secondary);
    color: var(--color-text-white) !important;
    padding: 0.7rem 1.2rem !important;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulse-glow 2.5s ease-in-out infinite;
    font-size: 0.9rem;
}

.cta-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.cta-nav:hover::before {
    left: 100%;
}

.cta-nav:hover {
    background: var(--color-secondary-light) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6), 0 0 25px rgba(255, 107, 107, 0.4);
    animation: pulse-glow-fast 1.2s ease-in-out infinite;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-text-white);
    position: relative;
    overflow: hidden;
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--color-secondary-light);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.7), 0 0 30px rgba(255, 107, 107, 0.5);
    animation: pulse-glow-fast 1.5s ease-in-out infinite;
    color: var(--color-text-white);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-text-white);
}

.btn-secondary:hover {
    background: var(--color-text-white);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: var(--color-bg-gray);
    color: var(--color-primary);
    transform: scale(1.1);
}

/* Cards and List Items */
.service-card {
    background: var(--color-bg-primary);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--color-shadow-light);
    transition: all 0.3s ease;
    border-left: 4px solid var(--color-border-primary);
    animation: fadeInUp 0.6s ease-out;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Estilos para tarjetas de servicio clickeables */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    position: relative;
}

.service-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-card-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-primary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.service-card-link:hover .service-card-arrow {
    opacity: 1;
    transform: translateX(5px);
}

.conditions-list {
    background: var(--color-bg-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--color-shadow-light);
    animation: fadeInUp 0.6s ease-out;
}

.condition-item {
    padding: 0.8rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.95rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.condition-item:hover {
    color: var(--color-primary);
    background: var(--color-bg-light);
    transform: translateX(5px);
    border-left: 3px solid var(--color-border-primary);
}

.stat-item {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.hero-doctor-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-bg-white), var(--color-bg-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--color-primary);
    font-size: 5rem;
    font-weight: bold;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-doctor-image .doctor-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    display: block;
}



.hero-doctor-image .doctor-profile-photo:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-doctor-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.doctor-image {
    width: 350px;
    height: 350px;
    border-radius: 15px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.doctor-image .doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 15px;
}

.doctor-image:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(44, 90, 160, 0.4);
}

.doctor-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(74, 144, 194, 0.1) 100%);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doctor-image:hover::before {
    opacity: 1;
}

/* Contact and Footer */
.credentials {
    background: var(--color-bg-primary);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 4px solid var(--color-secondary);
}

/* Estilos para las tarjetas de credenciales */
.credential-card {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    padding: 0.8rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(44, 90, 160, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 60px;
}

.credential-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(44, 90, 160, 0.3);
}

.credential-card.pediatrics {
    background: var(--gradient-cta);
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.2);
}

.credential-card.pediatrics:hover {
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.3);
}

.credential-card.neonatology {
    background: var(--gradient-cert-teal);
    box-shadow: 0 3px 10px rgba(38, 198, 218, 0.2);
}

.credential-card.neonatology:hover {
    box-shadow: 0 6px 15px rgba(38, 198, 218, 0.3);
}

.credential-icon {
    background: rgba(255,255,255,0.2);
    padding: 0.5rem;
    border-radius: 50%;
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.credential-content {
    flex: 1;
}

.credential-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.credential-subtitle {
    opacity: 0.9;
    font-size: 0.8rem;
    line-height: 1.2;
}

/* Estilos para las tarjetas de certificaciones */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.certification-card {
    background: var(--gradient-cert-green);
    color: var(--color-text-white);
    padding: 0.8rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.certification-card.purple {
    background: var(--gradient-cert-purple);
    box-shadow: 0 2px 8px rgba(156, 39, 176, 0.2);
}

.certification-card.purple:hover {
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.3);
}

.certification-card.orange {
    background: var(--gradient-cert-orange);
    box-shadow: 0 2px 8px rgba(255, 87, 34, 0.2);
}

.certification-card.orange:hover {
    box-shadow: 0 4px 12px rgba(255, 87, 34, 0.3);
}

.certification-card.blue {
    background: var(--gradient-cert-blue);
    box-shadow: 0 2px 8px rgba(63, 81, 181, 0.2);
}

.certification-card.blue:hover {
    box-shadow: 0 4px 12px rgba(63, 81, 181, 0.3);
}

.certification-card.teal {
    background: var(--gradient-cert-teal);
    box-shadow: 0 2px 8px rgba(38, 166, 154, 0.2);
}

.certification-card.teal:hover {
    box-shadow: 0 4px 12px rgba(38, 166, 154, 0.3);
}

.certification-icon {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.certification-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.certification-subtitle {
    opacity: 0.9;
    font-size: 0.7rem;
    line-height: 1.2;
}

.social-content {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-light) 100%);
    border-radius: 15px;
    border-left: 4px solid var(--color-border-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    background: var(--color-bg-white);
    border-radius: 25px;
    box-shadow: 0 2px 8px var(--color-shadow-light);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link.instagram {
    color: var(--color-instagram-solid);
}

.social-link.instagram:hover {
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.social-link.tiktok {
    color: var(--color-tiktok-solid);
}

.social-link.tiktok:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-link.facebook {
    color: var(--color-facebook-solid);
}

.social-link.facebook:hover {
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.social-link.youtube {
    color: var(--color-youtube-solid);
}

.social-link.youtube:hover {
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-item .icon {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.schedule {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255,107,107,0.2);
    border-radius: 10px;
    text-align: center;
}

.schedule-cta {
    margin-top: 1.5rem;
    text-align: center;
}

/* Animaciones para botones CTA */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 107, 107, 0.3), 0 0 10px rgba(255, 107, 107, 0.2);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 107, 107, 0.5), 0 0 20px rgba(255, 107, 107, 0.3);
    }
}

@keyframes pulse-glow-fast {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.4), 0 0 20px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.7), 0 0 30px rgba(255, 107, 107, 0.5);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Efecto de partículas flotantes para botones CTA */
.cta-button-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.cta-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float-particle 3s ease-in-out infinite;
}

.cta-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta-particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 1s;
}

.cta-particle:nth-child(3) {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

/* Efecto de respiración para botones CTA */
@keyframes breathing {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* Aplicar efecto de respiración a botones CTA */
.btn-primary,
.cta-nav,
.top-bar-item.cta-top {
    animation: pulse-glow 3s ease-in-out infinite, breathing 4s ease-in-out infinite;
}

.btn-primary:hover,
.cta-nav:hover,
.top-bar-item.cta-top:hover {
    animation: pulse-glow-fast 1.5s ease-in-out infinite, breathing 2s ease-in-out infinite;
}

/* Animación de bounce para el botón CTA */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) scale(1);
    }
    40% {
        transform: translateY(-8px) scale(1.08);
    }
    60% {
        transform: translateY(-4px) scale(1.04);
    }
}

/* Animación de bounce mejorada para scroll alto */
@keyframes bounce-intense {
    0%, 15%, 45%, 75%, 100% {
        transform: translateY(0) scale(1);
    }
    30% {
        transform: translateY(-12px) scale(1.12);
    }
    60% {
        transform: translateY(-6px) scale(1.06);
    }
}

/* Estilos para el calendario de Calendly */
.calendar-section {
    margin-top: 3rem;
    text-align: center;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.calendar-section h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.calendar-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.calendar-section iframe {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
    margin: 0 auto;
    max-width: 800px;
    display: block;
}

/* Responsive para el calendario */
@media (max-width: 768px) {
    .calendar-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .calendar-section h3 {
        font-size: 1.5rem;
    }
    
    .calendar-section iframe {
        height: 600px !important;
    }
}

@media (max-width: 480px) {
    .calendar-section iframe {
        height: 550px !important;
    }
}

/* ========================================
   ESTILOS PARA TABLAS DE COMPARACIÓN
   ======================================== */

.comparison-table-container {
    margin: 2rem 0;
    padding: 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.comparison-table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: transparent;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.comparison-table-wrapper th {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3a5f 100%);
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1.2rem 1rem;
    text-align: left;
    border: none;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.comparison-table-wrapper th:first-child {
    border-top-left-radius: 15px;
}

.comparison-table-wrapper th:last-child {
    border-top-right-radius: 15px;
}

.comparison-table-wrapper th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #2196F3, #FF9800);
    opacity: 0.8;
}

.comparison-table-wrapper td {
    padding: 1.2rem 1rem;
    border: none;
    border-bottom: 1px solid rgba(44, 90, 160, 0.1);
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    font-size: 1rem;
    line-height: 1.5;
}

.comparison-table-wrapper tr:hover td {
    background: rgba(44, 90, 160, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.1);
}

.comparison-table-wrapper tr:last-child td {
    border-bottom: none;
}

.comparison-table-wrapper tr:last-child td:first-child {
    border-bottom-left-radius: 15px;
}

.comparison-table-wrapper tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}

/* Estilos especiales para celdas destacadas */
.comparison-table-wrapper td strong,
.comparison-table-wrapper td b {
    color: #2c5aa0;
    font-weight: 700;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    display: inline-block;
    margin: 0.1rem 0;
}

/* Variante de tabla para esquema de vacunas (minimalista y con paleta del sitio) */
.comparison-table-wrapper.vacunas {
    background: linear-gradient(135deg, var(--color-bg-white) 0%, var(--color-bg-light) 100%);
    border: 1px solid var(--color-border-light);
}

.comparison-table-wrapper.vacunas th {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark, #1e3a5f) 100%);
}

.comparison-table-wrapper.vacunas td {
    background: var(--color-bg-white);
}

.comparison-table-wrapper.vacunas th,
.comparison-table-wrapper.vacunas td {
    border-right: 1px solid var(--color-border-light);
}

.comparison-table-wrapper.vacunas th:last-child,
.comparison-table-wrapper.vacunas td:last-child {
    border-right: none;
}

.comparison-table-wrapper.vacunas th:nth-child(even) {
    filter: brightness(1.05) saturate(0.98);
}

.comparison-table-wrapper.vacunas td:nth-child(even) {
    background: rgba(44, 90, 160, 0.04);
}

.comparison-table-wrapper.vacunas td:nth-child(odd) {
    background: rgba(255, 255, 255, 0.9);
}

.comparison-table-wrapper.vacunas th:nth-child(2) {
    background: linear-gradient(135deg, var(--color-primary-light, #4a90c2) 0%, var(--color-primary) 100%);
}

.comparison-table-wrapper.vacunas th:nth-child(13) {
    background: linear-gradient(135deg, var(--color-secondary, #ff6b6b) 0%, var(--color-secondary-dark, #d24c4c) 100%);
}

/* Sobrescribir alternancia para destacar columnas especiales */
.comparison-table-wrapper.vacunas td:nth-child(2) {
    background: rgba(44, 90, 160, 0.08);
}

.comparison-table-wrapper.vacunas td:nth-child(13) {
    background: rgba(255, 107, 107, 0.08);
}

.comparison-table-wrapper.vacunas tr:nth-child(even) td {
    /* Mantener alternancia por fila muy sutil para no competir con columnas */
    box-shadow: inset 0 0 0 9999px rgba(0,0,0,0.0);
}

.comparison-table-wrapper.vacunas tr:hover td {
    background: rgba(44, 90, 160, 0.06);
}

/* Íconos para tabla de vacunación */
.comparison-table-wrapper .cell-has-icon {
    text-align: center;
}

.comparison-table-wrapper .vacc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-success, #16a34a);
}

.comparison-table-wrapper .vacc-icon-svg {
    filter: drop-shadow(0 1px 0 rgba(0,0,0,0.06));
}

/* Variantes de color por tipo */
.comparison-table-wrapper .vacc-icon-shield {
    color: var(--color-success, #16a34a);
}

/* Se elimina la variante de gota: todos usan escudo */

/* Estilos para texto en negrita importante */
.comparison-table-wrapper td strong:contains("OBLIGATORIA"),
.comparison-table-wrapper td b:contains("OBLIGATORIA") {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #d32f2f;
}

/* Responsive para tablas de comparación */
@media (max-width: 768px) {
    .comparison-table-wrapper {
        border-radius: 10px;
        margin: 0 -1rem;
    }
    
    .comparison-table-wrapper th,
    .comparison-table-wrapper td {
        padding: 0.8rem 0.6rem;
        font-size: 0.9rem;
    }
    
    .comparison-table-wrapper th {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .comparison-table-wrapper th,
    .comparison-table-wrapper td {
        padding: 0.6rem 0.4rem;
        font-size: 0.85rem;
    }
    
    .comparison-table-wrapper th {
        font-size: 0.95rem;
    }
    
    .comparison-table-wrapper td strong,
    .comparison-table-wrapper td b {
        padding: 0.15rem 0.3rem;
        font-size: 0.8rem;
    }
}