/* ============================================
   1. RESET Y BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2D2D2D;
}

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

.section {
    padding: 4rem 2rem;
}

.section h2 {
    text-align: center;
    color: #D81B60;
    font-size: 2rem;
    margin-bottom: 2rem;
}

/* ============================================
   2. NAVBAR Y MENÚ
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem 2rem;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #D81B60;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #2D2D2D;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover { color: #D81B60; }

.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ============================================
   3. HERO
   ============================================ */
.hero {
    height: 100vh;
    background-image: url('img/background(2).png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-content h1 .destacar {
    color: #FFB7C5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.hero-content p .dra-destacar {
    color: #FFB7C5;
    font-weight: bold;
}

/* ============================================
   4. BOTONES
   ============================================ */
.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 12px 28px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: transform 0.15s ease, background-color 0.2s ease;
    font-size: 1rem;
    line-height: 1;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: scale(1.01);
}

.btn-whatsapp .wa-icon {
    width: 24px;
    height: 24px;
    display: block;
    flex-shrink: 0;
}

.btn-secundario {
    background-color: #D81B60;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    transition: background-color 0.2s ease;
}

.btn-secundario:hover { background-color: #AD1457; }

.whatsapp-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
    z-index: 1000;
}

.whatsapp-flotante:hover { transform: scale(1.05); }
.whatsapp-flotante img { width: 35px; height: 35px; }

.btn-wa-card {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.btn-wa-card:hover { background-color: #128C7E; }

.btn-maps {
    display: inline-block;
    background-color: #D81B60;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    margin-top: 0.5rem;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-maps:hover {
    background-color: #AD1457;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================
   5. GRIDS Y TARJETAS
   ============================================ */
.testimonios-grid,
.servicios-grid,
.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

/* Grid para servicios colaboradores (También ofrecemos) - VERSIÓN FORZADA */
.servicios-colaboradores-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 1rem !important;
}

/* En tablet (entre 768px y 1024px) que se vean 2 columnas */
@media (max-width: 1024px) and (min-width: 769px) {
    .servicios-colaboradores-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* En móvil, 1 columna */
@media (max-width: 768px) {
    .servicios-colaboradores-grid {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
    }
}

.objetivos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Estilo base de tarjetas colaboradores (MEJORADO) */
.equipo-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    border: 1px solid rgba(216, 27, 96, 0.08);
}

.equipo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px rgba(216, 27, 96, 0.15);
    border-color: #D81B60;
}

.equipo-card h3 {
    color: #D81B60;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.equipo-card p {
    color: #555;
    font-size: 0.85rem;
    margin: 0.5rem 0;
}

/* Estilo de tarjetas de valores */
.objetivo-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 5px 12px rgba(216, 27, 96, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border: 1px solid rgba(216, 27, 96, 0.1);
    cursor: default;
}

.objetivo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(216, 27, 96, 0.1);
    border-color: rgba(216, 27, 96, 0.2);
}

.objetivo-card::before {
    content: "✦";
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2rem;
    color: rgba(216, 27, 96, 0.08);
    font-family: monospace;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.objetivo-card:hover::before {
    color: rgba(216, 27, 96, 0.15);
}

.objetivo-card h3 {
    color: #D81B60;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
    display: inline-block;
    background: #FFF0F5;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    letter-spacing: 0.5px;
}

.objetivo-card p {
    color: #4A4A4A;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Testimonios */
.testimonio-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonio-card .paciente {
    font-weight: bold;
    color: #D81B60;
}

.especialidad-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge-principal {
    background: #D81B60;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.badge-secundario {
    background: #FFE0E1;
    color: #D81B60;
    border: 1px solid #FFB7C5;
}

/* ============================================
   6. DETALLE DEL ESPECIALISTA
   ============================================ */
.especialista-detalle {
    display: none;
    background: #FFF5F5;
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem auto 2rem;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    scroll-margin-top: 80px;
}

.especialista-detalle.active { display: block; }

/* ============================================
   7. SOBRE NOSOTROS Y DR. VICTORIA
   ============================================ */
.sobre-header {
    background: #FFF0F5;
    padding: 120px 2rem 4rem;
    text-align: center;
}

.sobre-header h1 {
    color: #D81B60;
    font-size: 2.5rem;
}

.dra-destacada {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(216, 27, 96, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(216, 27, 96, 0.08);
}

.dra-destacada:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(216, 27, 96, 0.12);
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE0E1 100%);
    border: 2px solid #D81B60;
}

.dra-destacada::before {
    content: "✦";
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: rgba(216, 27, 96, 0.08);
    font-family: monospace;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.dra-destacada:hover::before {
    color: rgba(216, 27, 96, 0.2);
}

.dra-destacada h2 .destacar {
    color: #D81B60;
    position: relative;
    display: inline-block;
}

.dra-destacada h2 .destacar::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #D81B60;
    transform: scaleX(0);
    transition: transform 0.2s ease;
    transform-origin: bottom right;
}

.dra-destacada:hover h2 .destacar::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.dra-foto { flex: 1; min-width: 200px; }
.dra-foto img {
    width: 100%;
    max-width: 280px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.dra-info { flex: 2; }
.dra-info h2 {
    color: #D81B60;
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.dra-info h3 {
    color: #555;
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #FFE0E1;
    display: inline-block;
    padding-bottom: 5px;
}

.dra-info p { color: #444; line-height: 1.6; margin: 1rem 0; }

.dra-destacados {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}

.dra-destacados span {
    background: #FFF0F5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #D81B60;
}

.socia-detalle {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    align-items: start;
}

.socia-detalle img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
}

.socia-detalle h3 {
    color: #D81B60;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.socia-detalle .especialidad {
    color: #D81B60;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* ============================================
   8. PREPARACIÓN CONSULTA Y UBICACIÓN
   ============================================ */
.flex-dos-columnas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    align-items: stretch;
}

.preparacion-card, .ubicacion-card {
    background: #FFF0F5;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 3px solid #D81B60;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.preparacion-card h3, .ubicacion-card h3 {
    color: #D81B60;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.preparacion-card ul {
    list-style: none;
    padding-left: 0;
    flex: 1;
    margin-bottom: 1rem;
}

.preparacion-card li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.preparacion-card li::before {
    content: "✅";
    position: absolute;
    left: 0;
    color: #25D366;
}

.preparacion-card > div:last-child { margin-top: auto; }

.mapa {
    margin: 1rem 0;
    border-radius: 10px;
    overflow: hidden;
}

.mapa iframe {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    display: block;
}

/* ============================================
   9. SERVICIO DETALLE Y FAQ
   ============================================ */
.servicio-detalle {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.servicio-detalle .servicio-icono {
    font-size: 3rem;
    text-align: center;
    background: #FFF0F5;
    border-radius: 15px;
    padding: 1rem;
}

.servicio-info h3 {
    color: #D81B60;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.servicio-info .detalle {
    color: #555;
    font-size: 0.95rem;
    margin-top: 0.8rem;
}

.faq-servicios { max-width: 800px; margin: 2rem auto 0; }
.faq-question {
    background: #FFF5F5;
    margin: 1rem 0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover { background: #FFE0E1; }
.faq-question h4 {
    color: #D81B60;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question .faq-respuesta {
    display: none;
    margin-top: 0.8rem;
    color: #555;
    border-top: 1px solid #FFE0E1;
    padding-top: 0.8rem;
}

.faq-question.active .faq-respuesta { display: block; }

.boton-volver { text-align: center; margin: 2rem 0; }

/* ============================================
   10. RESPONSIVE (MEDIA QUERIES UNIFICADAS)
   ============================================ */
@media (max-width: 768px) {
    .navbar {
        background: #D81B60;
        padding: 0.8rem 1rem;
    }
    
    .logo {
        color: white;
        font-size: 1.2rem;
    }
    
    .menu-icon {
        color: white;
        font-size: 2rem;
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        background: #D81B60;
        margin-top: 0.5rem;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .nav-links.active { display: flex; }
    
    .nav-links a {
        color: white;
        padding: 0.8rem 1.2rem;
        display: block;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.2s ease;
    }
    
    .nav-links a:last-child { border-bottom: none; }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        padding-left: 1.5rem;
        border-radius: 8px;
    }
    
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    
    .btn-whatsapp { padding: 10px 20px; font-size: 0.9rem; }
    .btn-whatsapp .wa-icon { width: 20px; height: 20px; }
    
    .section { padding: 2rem 1rem; }
    
    .flex-dos-columnas,
    .socia-detalle,
    .dra-destacada,
    .servicio-detalle {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .especialidades-grid,
    .testimonios-grid,
    .servicios-grid,
    .equipo-grid {
        grid-template-columns: 1fr;
    }
    
    .objetivos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .objetivo-card { padding: 1.2rem; }
    .objetivo-card h3 { font-size: 1.2rem; }
    
    .servicios-colaboradores-grid { grid-template-columns: 1fr; gap: 0.8rem; }
    .servicio-colab-card { padding: 0.8rem; }
    
    .equipo-card-destacado { transform: scale(1); }
    .equipo-card-destacado:hover { transform: translateY(-3px); }
    
    .especialista-detalle {
        padding: 1.2rem;
        margin: 1rem;
        scroll-margin-top: 70px;
    }
    .especialista-detalle .btn-secundario { margin-top: 1rem; }
    
    .footer-links { display: none !important; }
    
    .whatsapp-flotante { bottom: 90px; }
    
    body { padding-bottom: 70px; }
    
    .socia-detalle img,
    .dra-foto img { max-width: 200px; margin: 0 auto; }
    
    .dra-info h2 { font-size: 1.6rem; }
    .dra-destacados { justify-content: center; }
    
    .separador-servicios span,
    .badge-especialidad-principal span {
        font-size: 0.85rem;
        padding: 0.4rem 1.4rem;
    }
}

/* ============================================
   11. OPTIMIZACIONES DE RENDIMIENTO
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

html { scroll-behavior: smooth; }

/* ============================================
   12. ESTILOS PARA INDEX (FOTO IZQUIERDA)
   ============================================ */
.dra-destacada.dra-index {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
}

.dra-destacada.dra-index .dra-foto {
    flex: 1;
    min-width: 200px;
}

.dra-destacada.dra-index .dra-info {
    flex: 2;
    text-align: left;
}

@media (max-width: 768px) {
    .dra-destacada.dra-index {
        flex-direction: column;
        text-align: center;
    }
    .dra-destacada.dra-index .dra-info {
        text-align: center;
    }
    .dra-destacada.dra-index .dra-destacados {
        justify-content: center;
    }
}

/* ============================================
   13. ICONOS CIRCULARES (PARA SERVICIOS)
   ============================================ */
.servicio-icono-circular {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.testimonio-card:hover .servicio-icono-circular {
    transform: scale(1.05);
}

.servicio-icono-pequeno {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    display: block;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.servicio-colab-card:hover .servicio-icono-pequeno {
    transform: scale(1.05);
}

/* ============================================
   14. SEPARADORES Y BADGES
   ============================================ */
.separador-servicios {
    text-align: center;
    margin: 2rem auto;
    max-width: 350px;
}

.separador-servicios span {
    background: #FFE0E1;
    color: #D81B60;
    padding: 0.5rem 1.8rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(216, 27, 96, 0.1);
    border: 1px solid rgba(216, 27, 96, 0.2);
}

.badge-especialidad-principal {
    text-align: center;
    margin-bottom: 1.5rem;
}

.badge-especialidad-principal span {
    background: #D81B60;
    color: white;
    padding: 0.4rem 1.5rem;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(216, 27, 96, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   15. BOTÓN DE EMERGENCIA
   ============================================ */
.btn-emergencia {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #DC3545;
    color: white;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 60px;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    animation: pulse 1.8s infinite;
    border: none;
    cursor: pointer;
}

.btn-emergencia:hover {
    background-color: #B02A37;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.5);
}

.btn-emergencia img { width: 28px; height: 28px; }

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 8px 25px rgba(220, 53, 69, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
    }
}

/* ============================================
   16. ANIMACIONES PARA TARJETAS DE TECNOLOGÍA
   ============================================ */
.tecno-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: transform, opacity;
}

.tecno-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.tecno-card:nth-child(1) { transition-delay: 0.1s; }
.tecno-card:nth-child(2) { transition-delay: 0.3s; }
.tecno-card:nth-child(3) { transition-delay: 0.5s; }

/* ============================================
  .17 BOTTOM NAVIGATION (MÓVIL) CON BOOTSTRAP ICONS
   ============================================ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 10px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #FFE0E1;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #888;
    font-size: 0.7rem;
    transition: color 0.2s;
    gap: 4px;
}

.bottom-nav-item i {
    font-size: 1.4rem;
}

.bottom-nav-item.active {
    color: #D81B60;
}

.bottom-nav-item:hover {
    color: #D81B60;
}

@media (min-width: 769px) {
    .bottom-nav {
        display: none;
    }
}

/* Ajuste para el padding inferior del body (evita que el bottom-nav tape contenido) */
@media (max-width: 768px) {
    body {
        padding-bottom: 70px;
    }
}

/* ============================================
   18. TARJETA DESTACADA DE DRA. VICTORIA EN EQUIPO
   ============================================ */
.dra-destacada-equipo {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(216, 27, 96, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(216, 27, 96, 0.2);
}

.dra-foto-equipo {
    flex: 1;
    min-width: 200px;
}

.dra-foto-equipo img {
    width: 100%;
    max-width: 280px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dra-info-equipo { flex: 2; }

.dra-info-equipo h2 {
    color: #D81B60;
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.dra-info-equipo h3 {
    color: #555;
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid #FFE0E1;
    display: inline-block;
    padding-bottom: 5px;
}

.dra-info-equipo p { color: #444; line-height: 1.6; margin: 1rem 0; }

.dra-destacados-equipo {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

.dra-destacados-equipo span {
    background: #FFF0F5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #D81B60;
}

@media (max-width: 768px) {
    .dra-destacada-equipo {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    .dra-foto-equipo img { max-width: 200px; }
    .dra-info-equipo h2 { font-size: 1.6rem; }
    .dra-destacados-equipo { justify-content: center; }
}

/* ============================================
   19. ICONOS BOOTSTRAP PARA ESPECIALISTAS (MEJORADO)
   ============================================ */
.equipo-icono-bootstrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE0E1 100%);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 8px 20px rgba(216, 27, 96, 0.15);
    border: 2px solid rgba(216, 27, 96, 0.1);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo al hacer hover */
.equipo-icono-bootstrap::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.equipo-icono-bootstrap i {
    font-size: 3.2rem;
    color: #D81B60;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Hover effect */
.equipo-card:hover .equipo-icono-bootstrap {
    transform: translateY(-8px) scale(1.08);
    background: linear-gradient(135deg, #FFE0E1 0%, #D81B60 100%);
    box-shadow: 0 20px 35px rgba(216, 27, 96, 0.35);
    border-color: white;
}

.equipo-card:hover .equipo-icono-bootstrap::before {
    opacity: 1;
}

.equipo-card:hover .equipo-icono-bootstrap i {
    color: white;
    transform: scale(1.15);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

/* Animación de entrada escalonada */
.equipo-icono-bootstrap {
    animation: fadeInUp 0.6s ease backwards;
}

.equipo-card:nth-child(1) .equipo-icono-bootstrap { animation-delay: 0.1s; }
.equipo-card:nth-child(2) .equipo-icono-bootstrap { animation-delay: 0.2s; }
.equipo-card:nth-child(3) .equipo-icono-bootstrap { animation-delay: 0.3s; }
.equipo-card:nth-child(4) .equipo-icono-bootstrap { animation-delay: 0.4s; }
.equipo-card:nth-child(5) .equipo-icono-bootstrap { animation-delay: 0.5s; }
.equipo-card:nth-child(6) .equipo-icono-bootstrap { animation-delay: 0.6s; }
.equipo-card:nth-child(7) .equipo-icono-bootstrap { animation-delay: 0.7s; }

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

/* ============================================
   TARJETAS DE ESPECIALISTAS (DISEÑO PREMIUM)
   ============================================ */
.equipo-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    border: 1px solid rgba(216, 27, 96, 0.12);
    position: relative;
    overflow: hidden;
}

/* Efecto de borde inferior animado */
.equipo-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #D81B60, #FFB7C5);
    transition: width 0.4s ease;
    border-radius: 0 0 28px 28px;
}

.equipo-card:hover::after {
    width: 100%;
}

/* Sombra y elevación al hover */
.equipo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(216, 27, 96, 0.2);
    border-color: rgba(216, 27, 96, 0.3);
}

/* Título del especialista */
.equipo-card h3 {
    color: #D81B60;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.equipo-card:hover h3 {
    color: #AD1457;
}

/* Especialidad / descripción corta */
.equipo-card p {
    color: #666;
    font-size: 0.85rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

/* Badge de especialidad */
.especialidad-badge {
    display: inline-block;
    font-size: 0.7rem;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.badge-principal {
    background: #D81B60;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.badge-secundario {
    background: #FFE0E1;
    color: #D81B60;
    border: 1px solid #FFB7C5;
}

/* Botón dentro de tarjeta */
.btn-wa-card {
    background-color: #25D366;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-wa-card:hover {
    background-color: #128C7E;
    transform: scale(1.02);
}

/* ============================================
   ICONOS BOOTSTRAP PARA ESPECIALISTAS (PREMIUM)
   ============================================ */
.equipo-icono-bootstrap {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE0E1 100%);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    box-shadow: 0 10px 20px rgba(216, 27, 96, 0.12);
    border: 2px solid rgba(216, 27, 96, 0.15);
    position: relative;
    overflow: hidden;
}

/* Efecto de brillo */
.equipo-icono-bootstrap::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.equipo-icono-bootstrap i {
    font-size: 3.2rem;
    color: #D81B60;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Hover effect del icono */
.equipo-card:hover .equipo-icono-bootstrap {
    transform: translateY(-6px) scale(1.08);
    background: linear-gradient(135deg, #D81B60 0%, #AD1457 100%);
    box-shadow: 0 15px 30px rgba(216, 27, 96, 0.35);
    border-color: white;
}

.equipo-card:hover .equipo-icono-bootstrap::before {
    opacity: 1;
}

.equipo-card:hover .equipo-icono-bootstrap i {
    color: white;
    transform: scale(1.1);
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2));
}

/* Animación de entrada */
.equipo-icono-bootstrap {
    animation: fadeInUp 0.6s ease backwards;
}

.equipo-card:nth-child(1) .equipo-icono-bootstrap { animation-delay: 0.1s; }
.equipo-card:nth-child(2) .equipo-icono-bootstrap { animation-delay: 0.2s; }
.equipo-card:nth-child(3) .equipo-icono-bootstrap { animation-delay: 0.3s; }
.equipo-card:nth-child(4) .equipo-icono-bootstrap { animation-delay: 0.4s; }
.equipo-card:nth-child(5) .equipo-icono-bootstrap { animation-delay: 0.5s; }
.equipo-card:nth-child(6) .equipo-icono-bootstrap { animation-delay: 0.6s; }
.equipo-card:nth-child(7) .equipo-icono-bootstrap { animation-delay: 0.7s; }

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

/* ============================================
   ESTILOS PARA EL DETALLE DEL ESPECIALISTA (MEJORADO)
   ============================================ */
.detalle-nombre {
    color: #D81B60;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.detalle-especialidad {
    font-weight: bold;
    color: #AD1457;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #FFE0E1;
    display: inline-block;
}

.detalle-descripcion {
    color: #4A4A4A;
    line-height: 1.7;
    font-size: 1rem;
    margin: 1rem 0;
    text-align: justify;
}

.detalle-mensaje-cita {
    margin-top: 1.5rem;
    font-style: italic;
    color: #D81B60;
    background: #FFF5F5;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    text-align: center;
    font-size: 0.9rem;
    border-left: 3px solid #D81B60;
}

/* Botón de Instagram en footer */
footer a[href*="instagram"]:hover {
    background: rgba(255,255,255,0.3) !important;
    transform: translateY(-2px);
}

/* ============================================
   BOTONES DEL FOOTER (DISEÑO MEJORADO)
   ============================================ */
.footer-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Botón de Instagram */
.instagram-btn {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.instagram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.instagram-btn i {
    font-size: 1.2rem;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .footer-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .instagram-btn {
        padding: 8px 18px;
        font-size: 0.8rem;
    }
}

/* ============================================
   TARJETAS DE RESEÑAS Y SERVICIOS (RESTAURADAS)
   ============================================ */
.testimonio-card,
.servicio-colab-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.testimonio-card:hover,
.servicio-colab-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.testimonio-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonio-card .paciente {
    font-weight: bold;
    color: #D81B60;
}

/* Servicios colaboradores */
.servicio-colab-card {
    background: #FFF5F5;
    border: 1px solid #FFE0E1;
}

.servicio-colab-card:hover { 
    border-color: #FFB7C5; 
}

.servicio-colab-card h3 {
    color: #D81B60;
    font-size: 1rem;
    margin: 0.5rem 0 0.2rem;
}

.servicio-colab-card p {
    color: #555;
    font-size: 0.8rem;
    margin: 0;
}

.servicio-colab-card .servicio-tag {
    display: inline-block;
    background: white;
    color: #D81B60;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 0.5rem;
}

/* ============================================
   TARJETAS DE ESPECIALISTAS (EQUIPO COLABORADOR)
   ============================================ */
.equipo-card {
    background: white;
    border-radius: 28px;
    padding: 1.8rem 1.2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    border: 1px solid rgba(216, 27, 96, 0.12);
    position: relative;
    overflow: hidden;
}

/* Efecto de borde inferior animado */
.equipo-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #D81B60, #FFB7C5);
    transition: width 0.4s ease;
    border-radius: 0 0 28px 28px;
}

.equipo-card:hover::after {
    width: 100%;
}

.equipo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(216, 27, 96, 0.2);
    border-color: rgba(216, 27, 96, 0.3);
}

.equipo-card h3 {
    color: #D81B60;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.equipo-card:hover h3 {
    color: #AD1457;
}

.equipo-card p {
    color: #666;
    font-size: 0.85rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

/* Grids */
.testimonios-grid,
.servicios-grid,
.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.servicios-colaboradores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

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

/* ============================================
   RESTAURAR TARJETAS DE SERVICIOS (PÁGINA SERVICIOS)
   ============================================ */

/* Tarjetas de servicios principales (Dra. Victoria) */
.servicio-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.servicio-card h3 {
    color: #D81B60;
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.servicio-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Icono circular para servicios */
.servicio-icono-circular {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: block;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.servicio-card:hover .servicio-icono-circular {
    transform: scale(1.05);
}

/* Icono pequeño para especialidades colaboradoras */
.servicio-icono-pequeno {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    display: block;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.servicio-card:hover .servicio-icono-pequeno {
    transform: scale(1.05);
}

/* ============================================
   RESTAURAR TARJETAS DE ESPECIALIDADES (SOBRE NOSOTROS)
   ============================================ */

/* Grid de especialidades */
.especialidades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

/* Tarjetas de especialidades */
.especialidad-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.especialidad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.especialidad-card h3 {
    color: #D81B60;
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.especialidad-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Iconos de especialidades */
.especialidad-icono {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ============================================
   ICONOS BOOTSTRAP PARA ESPECIALIDADES (SOBRE NOSOTROS)
   ============================================ */
.especialidad-icono-bootstrap {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #FFF5F5 0%, #FFE0E1 100%);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(216, 27, 96, 0.1);
    border: 1px solid rgba(216, 27, 96, 0.1);
}

.especialidad-icono-bootstrap i {
    font-size: 2.5rem;
    color: #D81B60;
    transition: all 0.3s ease;
}

.especialidad-card:hover .especialidad-icono-bootstrap {
    transform: translateY(-5px);
    background: linear-gradient(135deg, #FFE0E1 0%, #D81B60 100%);
    border-color: white;
    box-shadow: 0 8px 20px rgba(216, 27, 96, 0.2);
}

.especialidad-card:hover .especialidad-icono-bootstrap i {
    color: white;
    transform: scale(1.05);
}

/* ============================================
   MEJORAS VISUALES PARA SOBRE NOSOTROS
   ============================================ */

/* Fondo con patrón de puntos suaves */
body {
    background: #FFFFFF;
    background-image: radial-gradient(#FFE0E1 0.8px, transparent 0.8px);
    background-size: 50px 50px;
}

/* Separador decorativo entre secciones */
.section {
    position: relative;
}

.section:not(:last-child)::after {
    content: "✦";
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: #FFB7C5;
    font-size: 1.5rem;
    background: white;
    padding: 0 1rem;
    font-family: monospace;
}

/* Ajuste para que el separador no se vea en la última sección */
.section:last-child::after {
    display: none;
}
.section {
    position: relative;
}

.section:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #FFB7C5, #D81B60, #FFB7C5);
    border-radius: 3px;
}

/* ============================================
   FONDO CON TEXTURA DE ACUARELA (SOBRE NOSOTROS)
   ============================================ */
body {
    background: #FFFFFF;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 224, 225, 0.2) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(255, 224, 225, 0.15) 0%, transparent 60%),
                      radial-gradient(circle at 40% 80%, rgba(216, 27, 96, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* ============================================
   TARJETA PRINCIPAL DE SOBRE NOSOTROS (CON IMAGEN)
   ============================================ */
.dra-destacada-sobre {
    display: flex;
    align-items: center;
    gap: 3rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
    border-radius: 30px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(216, 27, 96, 0.08);
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid rgba(216, 27, 96, 0.1);
    transition: all 0.3s ease;
}

.dra-destacada-sobre:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(216, 27, 96, 0.15);
    border-color: rgba(216, 27, 96, 0.2);
}

.dra-info-sobre {
    flex: 2;
}

.dra-info-sobre h2 {
    color: #D81B60;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.dra-info-sobre h2 .destacar {
    color: #D81B60;
    position: relative;
}

.dra-info-sobre h2 .destacar::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #D81B60, #FFB7C5);
    border-radius: 3px;
}

.dra-info-sobre h3 {
    color: #555;
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 1rem;
}

.dra-info-sobre p {
    color: #444;
    line-height: 1.6;
    margin: 1rem 0;
}

.dra-foto-sobre {
    flex: 1;
    min-width: 250px;
}

.dra-foto-sobre img {
    width: 100%;
    max-width: 290px;
    border-radius: 20px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dra-destacada-sobre:hover .dra-foto-sobre img {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .dra-destacada-sobre {
        flex-direction: column-reverse;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .dra-foto-sobre img {
        max-width: 250px;
    }
    
    .dra-info-sobre h2 {
        font-size: 1.6rem;
    }
}

/* ============================================
   FONDOS INTERCALADOS AUTOMÁTICOS
   ============================================ */

/* Fondo blanco por defecto para todas las secciones */
.section {
    background: #FFFFFF;
}

/* Las secciones impares (1, 3, 5, 7...) tendrán fondo rosa suave */
.section:nth-child(odd) {
    background: #FFF5F5;
}

/* Excepción: el hero no debe tener fondo rosa (mantiene su imagen) */
.hero {
    background: none;
    background-image: url('img/background(2).png');
    background-size: cover;
    background-position: center;
}

.hero::before {
    background: rgba(0, 0, 0, 0.35);
}

/* Excepción: el sobre-header no debe cambiar (ya tiene su propio fondo) */
.sobre-header {
    background: #FFF0F5;
}

/* Excepción: el footer no debe tener fondo rosa */
footer {
    background: #D81B60 !important;
}

/* Asegurar que las tarjetas dentro de secciones no hereden el fondo */
.preparacion-card,
.ubicacion-card,
.dra-destacada,
.dra-destacada-equipo,
.dra-destacada-sobre,
.objetivo-card,
.especialidad-card,
.servicio-card,
.testimonio-card,
.servicio-colab-card,
.equipo-card {
    background: white;
}

/* Fondo rosa para secciones impares */
.section:nth-child(odd) {
    background: #FFFFFF;
}

/* Fondo blanco para secciones pares */
.section:nth-child(even) {
    background: #FFFFFF;
}

/* ============================================
   ESPECIALIDADES DESTACADAS (CON H6)
   ============================================ */
.dra-especialidades-destacadas {
    margin: 1rem 0 0.5rem 0;
}

.dra-especialidades-destacadas h6 {
    color: #D81B60;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.especialidades-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.especialidades-lista span {
    background: #FFF0F5;
    padding: 5px 12px;
    border-radius: 25px;
    font-size: 0.75rem;
    color: #D81B60;
    font-weight: 500;
    transition: all 0.2s ease;
}

.especialidades-lista span:hover {
    background: #FFE0E1;
    transform: translateY(-2px);
}