/* ===================================== 
   SALUD VOCAL - ESTILOS PRINCIPALES
   ===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta de colores moderna - más suave y elegante */
    /* Colores primarios por sección */
    --primary: #7C5CFA;      /* Púrpura más suave - Hero */
    --primary-alt: #5B4DD8;  /* Índigo más suave - Hero gradient */
    --secondary: #04A5BE;    /* Turquesa más elegante - Conceptos/Enfermedades */
    --tertiary: #0FA575;     /* Verde más suave - Enfermedades */
    --accent-warm: #F56C3D;  /* Naranja más cálido - Hábitos/Botones */
    --accent-cool: #7C5CFA;  /* Púrpura - Ejercicios */
    --accent-mint: #2DAA7F;  /* Verde menta más elegante - Hidratación */
    --accent-rose: #DA3D71;  /* Rosa más elegante - Experto */
    --warm: #F56C3D;         /* Naranja coral - para compatibilidad */
    --lemon: #F4B844;        /* Ámbar más suave */
    
    /* Colores base */
    --dark: #2B3E50;         /* Gris oscuro más profundo */
    --dark-light: #1A252F;   /* Negro profundo */
    --light: #F6F7F9;        /* Gris muy claro */
    --white: #FFFFFF;
    --gray-light: #F9FAFB;
    --gray-medium: #E8EAED;
    --border: #DDE1E6;
    --shadow: rgba(0, 0, 0, 0.06);
    --shadow-lg: rgba(0, 0, 0, 0.10);
    
    /* Tipografía */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-large: 20px;
    --font-size-xl: 28px;
    --font-size-xxl: 42px;
    --font-size-xxxl: 56px;
    
    /* Espaciado expandido para diseño minimalista */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    --spacing-xxxl: 96px;
    
    /* Transiciones */
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-smooth: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--dark);
    background: linear-gradient(180deg, #F7F8FA 0%, #EEF1F5 100%);
    background-attachment: fixed;
    line-height: 1.7;
    font-size: var(--font-size-base);
    letter-spacing: 0.3px;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    isolation: isolate;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image: url('img/doctor.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(24px) saturate(1.02) contrast(0.96);
    transform: scale(1.12);
    opacity: 0.38;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 18%, rgba(124, 92, 250, 0.18) 0%, transparent 28%),
        radial-gradient(circle at 90% 32%, rgba(4, 165, 190, 0.14) 0%, transparent 26%),
        radial-gradient(circle at 15% 82%, rgba(218, 61, 113, 0.12) 0%, transparent 24%),
        linear-gradient(180deg, rgba(247, 248, 250, 0.55) 0%, rgba(238, 241, 245, 0.82) 100%);
    pointer-events: none;
}

/* ===================================== 
   UTILIDADES
   ===================================== */

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--spacing-xxl) var(--spacing-xl);
    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 32px;
    box-shadow: 0 18px 48px rgba(10, 17, 33, 0.06);
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxxl);
    animation: fadeInDown 0.8s ease;
}

.section-header h2 {
    font-size: var(--font-size-xxxl);
    color: var(--dark);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    letter-spacing: -0.5px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: var(--font-size-large);
    color: #666;
    font-weight: 400;
    line-height: 1.6;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes smoothFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes shimmer {
    0% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.6;
    }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

/* ===================================== 
   NAVBAR
   ===================================== */

.navbar {
    background: var(--white);
    box-shadow: 0 2px 12px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    display: flex;
    align-items: center;
    font-size: var(--font-size-large);
    font-weight: 600;
    color: var(--warm);
    gap: var(--spacing-sm);
}

.logo-icon {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: var(--spacing-sm) 0;
    font-size: 14px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
    background-color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: var(--spacing-xs);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================================== 
   HERO SECTION
   ===================================== */

.hero {
    background: linear-gradient(135deg, #121826 0%, #151C2E 55%, #101726 100%);
    padding: 100px var(--spacing-lg) 120px;
    text-align: center;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    isolation: isolate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: -3%;
    background-image: url('img/doctor1.png');
    background-size: cover;
    background-position: center 28%;
    background-repeat: no-repeat;
    filter: blur(8px) saturate(1.05) contrast(1.05);
    transform: scale(1.08);
    opacity: 0.92;
}

.hero-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(124, 92, 250, 0.84) 0%, rgba(91, 77, 216, 0.62) 42%, rgba(12, 18, 33, 0.32) 100%),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.14) 0%, transparent 34%),
        radial-gradient(circle at 82% 78%, rgba(255, 255, 255, 0.08) 0%, transparent 28%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.3);
    top: -200px;
    right: -200px;
    animation: gentleFloat 22s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.2);
    bottom: -100px;
    left: -100px;
    animation: gentleFloat 28s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
    max-width: 860px;
    padding: var(--spacing-xxl) calc(var(--spacing-xxl) + 8px);
    border-radius: 32px;
    background: rgba(10, 12, 20, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 70px rgba(8, 11, 20, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-icon {
    font-size: 64px;
    margin-bottom: var(--spacing-lg);
    display: block;
    animation: scaleIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

.hero-title {
    font-size: 72px;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    animation: slideUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
    text-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--spacing-xl);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.3px;
    animation: slideUp 1.1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.hero-cta-group {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
    animation: scaleIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s both;
}

.cta-button {
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.5px;
    font-size: 16px;
    padding: 16px 44px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.8s, height 0.8s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-primary {
    background: linear-gradient(135deg, var(--white) 0%, #F5F5F5 100%);
    color: var(--primary);
}

.cta-primary:hover {
    background: linear-gradient(135deg, #F5F5F5 0%, #E8E8E8 100%);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(124, 92, 250, 0.28);
}

.cta-primary:active {
    transform: translateY(-2px) scale(0.98);
}

.cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 1);
}

.cta-secondary:active {
    transform: translateY(-2px) scale(0.98);
}

/* ===================================== 
   CONCEPTOS SECTION
   ===================================== */

.conceptos-section {
    padding: var(--spacing-xxxl) var(--spacing-lg);
    background: linear-gradient(180deg, rgba(124, 92, 250, 0.05) 0%, rgba(4, 165, 190, 0.05) 50%, rgba(4, 165, 190, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.conceptos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(124, 92, 250, 0.3), transparent);
}

.conceptos-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(4, 165, 190, 0.3), transparent);
}

.conceptos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.concepto-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: var(--spacing-xxl) var(--spacing-xl);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.concepto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--secondary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.concepto-card:hover {
    box-shadow: 0 20px 48px rgba(4, 165, 190, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-12px);
    border-color: rgba(4, 165, 190, 0.3);
}

.concepto-card:hover::before {
    opacity: 1;
}

.concepto-header {
    margin-bottom: var(--spacing-xl);
    padding-bottom: 0;
    border-bottom: none;
}

.concepto-header h2 {
    font-size: 24px;
    color: var(--secondary);
    font-weight: 700;
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: -0.3px;
}

.concepto-content {
    margin-bottom: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.8;
}

.concepto-content p {
    margin-bottom: var(--spacing-lg);
    color: #555;
}

.concepto-content p:last-child {
    margin-bottom: 0;
}

.concepto-content ul {
    list-style: none;
    margin: var(--spacing-lg) 0 0 0;
    padding: 0;
}

.concepto-content li {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    position: relative;
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

.concepto-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700;
}

.concepto-video {
    border-radius: 16px;
    overflow: hidden;
    margin-top: var(--spacing-xxl);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.concepto-video:hover {
    box-shadow: 0 16px 48px rgba(4, 165, 190, 0.15);
    transform: translateY(-4px);
}

.concepto-video iframe {
    display: block;
    width: 100%;
    border: none;
}

/* Contenedor de video responsive */
.video-container {
    width: 100%;
    max-width: 600px;
    margin: var(--spacing-xxl) auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.video-container:hover {
    box-shadow: 0 20px 60px rgba(124, 92, 250, 0.18);
    transform: translateY(-6px);
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===================================== 
   HÁBITOS DE HIGIENE VOCAL SECTION
   ===================================== */

.higiene-vocal-section {
    padding: var(--spacing-xxxl) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(15, 165, 117, 0.08) 0%, rgba(45, 170, 127, 0.05) 100%);
    position: relative;
}

.higiene-vocal-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(45, 170, 127, 0.3), transparent);
}

.higiene-vocal-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(124, 92, 250, 0.3), transparent);
}

.higiene-vocal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl) 0;
}

/* ===================================== 
   ENFERMEDADES SECTION
   ===================================== */

.enfermedades-section {
    padding: var(--spacing-xxxl) var(--spacing-lg);
    background: linear-gradient(180deg, rgba(15, 165, 117, 0.06) 0%, rgba(4, 165, 190, 0.04) 50%, rgba(124, 92, 250, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.enfermedades-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(15, 165, 117, 0.3), transparent);
}

.enfermedades-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(4, 165, 190, 0.3), transparent);
}

.enfermedades-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.enfermedad-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
}

.enfermedad-card:hover {
    box-shadow: 0 20px 48px rgba(15, 165, 117, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-10px);
    border-color: rgba(15, 165, 117, 0.3);
}

.enfermedad-image-container {
    width: 100%;
    aspect-ratio: 16 / 12;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245, 249, 252, 0.9) 0%, rgba(250, 251, 252, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    position: relative;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.enfermedad-image-container.primary img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

.enfermedad-card:hover .enfermedad-image-container.primary img {
    transform: scale(1.12);
    filter: drop-shadow(0 8px 20px rgba(15, 165, 117, 0.18));
}

.enfermedad-content {
    padding: var(--spacing-xxl) var(--spacing-xl);
}

.enfermedad-content h3 {
    font-size: 24px;
    color: var(--tertiary);
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.enfermedad-concepto {
    color: var(--dark);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-xl);
    font-size: 14px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    color: var(--tertiary);
}

.enfermedad-concepto:first-child {
    margin-top: 0;
}

.enfermedad-content p {
    color: #444;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.enfermedad-sintoma-image {
    margin-top: var(--spacing-xl);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245, 249, 252, 0.8) 0%, rgba(250, 251, 252, 0.8) 100%);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.enfermedad-sintoma-image img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    border-radius: 8px;
    display: block;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.06));
}

.enfermedad-card:hover .enfermedad-sintoma-image {
    box-shadow: 0 8px 24px rgba(15, 165, 117, 0.12);
}

.enfermedad-card:hover .enfermedad-sintoma-image img {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 12px rgba(15, 165, 117, 0.12));
}

/* ===================================== 
   HÁBITOS SECTION
   ===================================== */

.habitos-section {
    padding: var(--spacing-xxxl) var(--spacing-lg);
    background: linear-gradient(180deg, rgba(245, 108, 61, 0.07) 0%, rgba(244, 184, 68, 0.04) 50%, rgba(245, 108, 61, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.habitos-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(245, 108, 61, 0.3), transparent);
}

.habitos-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(245, 108, 61, 0.3), transparent);
}

.habitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.habito-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.habito-card::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 ease;
}

.habito-card:hover {
    box-shadow: 0 20px 48px rgba(245, 108, 61, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(245, 108, 61, 0.3);
}

.habito-card:hover::before {
    left: 100%;
}

.habito-icon {
    width: 100px;
    height: 100px;
    margin-bottom: var(--spacing-lg);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(245, 249, 252, 0.8) 0%, rgba(248, 249, 251, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    aspect-ratio: 1 / 1;
}

.habito-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
}

.habito-card:hover .habito-icon {
    box-shadow: 0 12px 32px rgba(245, 108, 61, 0.22);
    transform: translateY(-6px);
    border-color: rgba(245, 108, 61, 0.2);
}

.habito-card:hover .habito-icon img {
    transform: scale(1.15);
    filter: drop-shadow(0 4px 12px rgba(245, 108, 61, 0.25));
}

.habito-card h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.habito-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    flex-grow: 1;
    margin: 0;
}

/* ===================================== 
   EJERCICIOS SECTION
   ===================================== */

.ejercicios-section {
    padding: var(--spacing-xxxl) var(--spacing-lg);
    background: linear-gradient(180deg, rgba(124, 92, 250, 0.07) 0%, rgba(91, 77, 216, 0.04) 50%, rgba(124, 92, 250, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.ejercicios-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(124, 92, 250, 0.3), transparent);
}

.ejercicios-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(124, 92, 250, 0.3), transparent);
}

.ejercicio-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: start;
    margin-top: var(--spacing-xxl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ejercicio-video {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(124, 92, 250, 0.15);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(124, 92, 250, 0.2);
}

.ejercicio-video:hover {
    box-shadow: 0 24px 60px rgba(124, 92, 250, 0.25);
    transform: translateY(-8px);
}

.ejercicio-video iframe {
    display: block;
    width: 100%;
    border: none;
    aspect-ratio: 16 / 9;
}

.ejercicio-info {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.ejercicio-info h3 {
    font-size: var(--font-size-xl);
    color: var(--accent-cool);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.ejercicio-info p {
    color: #444;
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-size: var(--font-size-base);
}

.ejercicio-info p:last-of-type {
    margin-bottom: 0;
}

.ejercicio-info ul {
    list-style: none;
    color: #555;
    margin: var(--spacing-lg) 0;
    padding: 0;
}

.ejercicio-info li {
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    position: relative;
    font-size: var(--font-size-base);
    line-height: 1.6;
}

.ejercicio-info li:last-child {
    margin-bottom: 0;
}

.ejercicio-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-cool);
    font-weight: bold;
    font-size: 18px;
}

.videos-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.video-extra-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: var(--spacing-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-extra-card:hover {
    box-shadow: 0 20px 48px rgba(124, 92, 250, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    border-color: rgba(124, 92, 250, 0.3);
    transform: translateY(-12px) scale(1.02);
}

.video-extra-card h3 {
    color: var(--secondary);
    margin-bottom: var(--spacing-lg);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.video-extra-placeholder {
    background-color: rgba(124, 92, 250, 0.08);
    border: 1px dashed rgba(124, 92, 250, 0.25);
    border-radius: 10px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    color: #888;
    font-size: 13px;
}

.video-extra-placeholder p {
    margin: 0;
    margin-bottom: 8px;
}

.video-extra-placeholder p:last-child {
    margin-bottom: 0;
}

.video-extra-card iframe {
    display: block;
    width: 100%;
    border: none;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: linear-gradient(135deg, rgba(245, 247, 250, 0.4) 0%, rgba(250, 251, 252, 0.4) 100%);
}

.video-extra-card:hover iframe {
    transform: scale(1.03);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

/* ===================================== 
   EXPERTO SECTION
   ===================================== */

.experto-section {
    padding: var(--spacing-xxxl) var(--spacing-lg);
    background: linear-gradient(180deg, rgba(218, 61, 113, 0.07) 0%, rgba(218, 61, 113, 0.03) 50%, rgba(124, 92, 250, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.experto-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(218, 61, 113, 0.3), transparent);
}

.experto-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(218, 61, 113, 0.3), transparent);
}

.experto-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xxl);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: var(--spacing-xxl);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
}

.experto-card:hover {
    box-shadow: 0 24px 60px rgba(218, 61, 113, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-12px);
    border-color: rgba(218, 61, 113, 0.3);
}

.experto-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2.8 / 4;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    max-height: 550px;
}

.experto-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    object-position: center;
    background: linear-gradient(135deg, rgba(218, 61, 113, 0.05) 0%, rgba(218, 61, 113, 0.02) 100%);
}

.experto-card:hover .experto-image {
    box-shadow: 0 24px 60px rgba(218, 61, 113, 0.2);
}

.experto-card:hover .experto-image img {
    transform: scale(1.08);
}

.experto-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experto-content h3 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.profesionald-title {
    color: var(--accent-rose);
    font-size: var(--font-size-base);
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.experto-content p {
    color: #444;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
    font-size: var(--font-size-base);
}

.experto-content ul {
    list-style: none;
    color: #555;
    margin: var(--spacing-lg) 0 0 0;
    padding: 0;
}

.experto-content li {
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    position: relative;
    font-size: 15px;
    line-height: 1.6;
}

.experto-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-rose);
    font-weight: bold;
}

.contact-link {
    color: var(--accent-rose);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #d91e63;
    text-decoration: underline;
}

/* ===================================== 
   FOOTER
   ===================================== */

.footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-lg);
    font-size: 14px;
    line-height: 1.8;
    border-top: 1px solid rgba(124, 92, 250, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.footer p {
    margin: var(--spacing-sm) 0;
}

/* ===================================== 
   HIDRATACIÓN SISTÉMICA SECTION
   ===================================== */

.hidratacion-section {
    padding: var(--spacing-xxxl) var(--spacing-lg);
    background: linear-gradient(135deg, rgba(45, 170, 127, 0.08) 0%, rgba(45, 170, 127, 0.04) 50%, rgba(4, 165, 190, 0.03) 100%);
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hidratacion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(45, 170, 127, 0.4), transparent);
}

.hidratacion-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(45, 170, 127, 0.4), transparent);
}

.hidratacion-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.vaso-wrapper {
    position: relative;
    width: 180px;
    height: 200px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 20px rgba(77, 184, 232, 0.12));
}

.vaso-svg {
    width: 100%;
    height: 100%;
}

.vaso-click-zone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.vaso-click-zone:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.vaso-click-zone.active {
    animation: vasoClick 0.6s ease-out;
}

/* Animación de gotas cayendo */
@keyframes gotaCayendo {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    85% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(120px);
    }
}

.gota {
    animation: gotaCayendo 2s ease-in-out infinite;
}

.gota-1 {
    animation-delay: 0s;
}

.gota-2 {
    animation-delay: 0.6s;
}

.gota-3 {
    animation-delay: 1.2s;
}

/* Animación del vaso al hacer clic */
@keyframes vasoClick {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }
    25% {
        transform: translate(-50%, -50%) scale(0.95);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.08);
    }
    75% {
        transform: translate(-50%, -50%) scale(0.98);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes temporizadorPulse {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(0.95);
    }
    50% {
        transform: scale(1.08);
    }
    75% {
        transform: scale(0.98);
    }
    100% {
        transform: scale(1);
    }
}

/* Animación de ondas */
@keyframes ondasAnimacion {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 20;
    }
}

.ondas path {
    animation: ondasAnimacion 2s linear infinite;
}

/* Temporizador circular */
.temporizador-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.temporizador-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.contador-circular {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contador-circular:hover {
    transform: scale(1.05);
}

.contador-circular.active {
    animation: temporizadorPulse 0.6s ease-out;
}

.progreso-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progreso-circulo {
    transition: stroke-dashoffset 0.1s linear;
}

.tiempo-texto {
    font-size: 24px;
    font-weight: 700;
    color: #4DB8E8;
    text-align: center;
    font-variant-numeric: tabular-nums;
    z-index: 2;
}

/* Mensaje educativo */
.mensaje-educativo {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 4px solid #2DAA7F;
    border-radius: 12px;
    padding: var(--spacing-lg);
    max-width: 500px;
    margin: var(--spacing-xl) auto 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.6);
    transition: all 0.5s ease;
    border: 1px solid rgba(45, 170, 127, 0.2);
}

.mensaje-educativo.mostrar {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.mensaje-educativo p {
    color: #333;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-size: 15px;
}

.mensaje-educativo p:last-child {
    margin-bottom: 0;
}

.mensaje-educativo strong {
    color: #2DAA7F;
    font-weight: 600;
}

/* TARJETAS INTRODUCTORIAS DE HIDRATACIÓN */
.hidratacion-intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxxl);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.hidratacion-info-card {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}

.hidratacion-info-card:hover {
    border-color: var(--accent-mint);
    box-shadow: 0 16px 48px rgba(45, 170, 127, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    transform: translateY(-10px);
}

.info-icon {
    font-size: 40px;
    margin-bottom: var(--spacing-md);
    display: block;
    animation: float 4s ease-in-out infinite;
}

.hidratacion-info-card h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

.hidratacion-info-card p {
    color: #555;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* CONSEJOS DE HIDRATACIÓN */
.hidratacion-consejos-section {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-top: var(--spacing-xxxl);
    padding-top: var(--spacing-xxxl);
    border-top: 2px solid rgba(52, 211, 153, 0.2);
}

.hidratacion-consejos-section h3 {
    font-size: 32px;
    color: var(--dark);
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    font-weight: 700;
}

.consejos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.consejo-item {
    background: var(--white);
    border-radius: 12px;
    padding: var(--spacing-lg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(232, 232, 232, 0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.consejo-item:hover {
    box-shadow: 0 12px 32px rgba(52, 211, 153, 0.15);
    transform: translateY(-8px);
    border-color: rgba(52, 211, 153, 0.2);
}

.consejo-numero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-mint) 0%, #2BA3D0 100%);
    color: var(--white);
    border-radius: 50%;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.2);
}

.consejo-item h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: var(--spacing-sm);
    font-weight: 700;
}

.consejo-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* ===================================== 
   RESPONSIVE DESIGN
   ===================================== */

@media (max-width: 1024px) {
    .container {
        padding: var(--spacing-xl) var(--spacing-lg);
        border-radius: 28px;
    }

    .conceptos-grid {
        grid-template-columns: 1fr;
    }

    .enfermedades-grid {
        grid-template-columns: 1fr;
    }

    .habitos-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .ejercicio-content {
        grid-template-columns: 1fr;
    }

    .videos-extra-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .experto-image {
        min-height: 300px;
    }

    .vaso-wrapper {
        width: 160px;
        height: 180px;
    }

    .contador-circular {
        width: 140px;
        height: 140px;
    }

    .hidratacion-intro-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .consejos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-xxxl: 40px;
        --font-size-xxl: 32px;
        --font-size-xl: 24px;
        --font-size-large: 18px;
        --spacing-xxxl: 48px;
        --spacing-xxl: 40px;
        --spacing-xl: 32px;
        --spacing-lg: 24px;
    }

    .navbar-container {
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .navbar-logo {
        font-size: 18px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: var(--spacing-md);
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: var(--spacing-lg);
        box-shadow: 0 4px 15px var(--shadow-lg);
        z-index: 999;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 70px var(--spacing-lg) 90px;
        min-height: 600px;
    }

    .container {
        padding: var(--spacing-lg) var(--spacing-md);
        border-radius: 24px;
    }

    .hero-content {
        padding: var(--spacing-xl);
        border-radius: 28px;
        max-width: 720px;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
    }

    .shape-1 {
        width: 400px;
        height: 400px;
        top: -150px;
        right: -150px;
    }

    .shape-2 {
        width: 300px;
        height: 300px;
        bottom: -80px;
        left: -80px;
    }

    .hero-icon {
        font-size: 50px;
        margin-bottom: var(--spacing-lg);
    }

    .hero-title {
        font-size: 48px;
        margin-bottom: var(--spacing-lg);
        letter-spacing: -0.5px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: var(--spacing-lg);
    }

    .hero-cta-group {
        gap: var(--spacing-md);
    }

    .cta-button {
        padding: 14px 32px;
        font-size: 15px;
    }

    .section-header h2 {
        font-size: 32px;
        margin-bottom: var(--spacing-lg);
    }

    .section-header p {
        font-size: 16px;
    }

    .conceptos-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .concepto-card {
        padding: var(--spacing-lg);
    }

    .enfermedades-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .enfermedad-image-container {
        min-height: 250px;
    }

    .habitos-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: var(--spacing-lg);
    }

    .habito-icon {
        width: 70px;
        height: 70px;
        margin-bottom: var(--spacing-md);
    }

    .ejercicio-content {
        grid-template-columns: 1fr;
    }

    .videos-extra-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .experto-card {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg);
        align-items: flex-start;
    }

    .experto-image {
        min-height: 300px;
        border-radius: 8px;
        margin-bottom: 0;
        aspect-ratio: 2.5 / 3.5;
        max-height: 350px;
    }

    .experto-content h3 {
        font-size: 24px;
    }

    .hidratacion-intro-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hidratacion-info-card {
        padding: var(--spacing-lg);
    }

    .hidratacion-info-card h3 {
        font-size: 18px;
    }

    .info-icon {
        font-size: 38px;
        margin-bottom: var(--spacing-md);
    }

    .hidratacion-consejos-section h3 {
        font-size: 28px;
        margin-bottom: var(--spacing-lg);
    }

    .consejos-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .consejo-item {
        padding: var(--spacing-lg);
    }

    .consejo-numero {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .vaso-wrapper {
        width: 140px;
        height: 160px;
    }

    .contador-circular {
        width: 120px;
        height: 120px;
    }

    .concepto-header,
    .enfermedad-content {
        padding-bottom: var(--spacing-lg);
        border-bottom: 1px solid var(--border);
        margin-bottom: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-xxxl: 28px;
        --font-size-xxl: 24px;
        --font-size-xl: 20px;
        --font-size-large: 16px;
        --spacing-xxxl: 32px;
        --spacing-xxl: 24px;
        --spacing-xl: 16px;
        --spacing-lg: 16px;
    }

    .navbar-container {
        padding: var(--spacing-md) var(--spacing-md);
    }

    .navbar-logo {
        font-size: 16px;
    }

    .logo-icon {
        font-size: 22px;
    }

    .hamburger span {
        width: 22px;
        height: 2px;
    }

    .hero {
        padding: 50px var(--spacing-md) 70px;
        min-height: 500px;
    }

    .hero-content {
        padding: var(--spacing-lg);
        border-radius: 24px;
        max-width: 100%;
        background: rgba(10, 12, 20, 0.28);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .shape-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -100px;
    }

    .shape-2 {
        width: 200px;
        height: 200px;
        bottom: -60px;
        left: -60px;
    }

    .hero-icon {
        font-size: 40px;
        margin-bottom: var(--spacing-md);
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: var(--spacing-md);
        letter-spacing: -0.3px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: var(--spacing-lg);
        line-height: 1.6;
    }

    .hero-background::before {
        background-position: center 35%;
        filter: blur(6px) saturate(1.02) contrast(1.04);
    }

    .hero-cta-group {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
        width: 100%;
    }

    .section-header {
        margin-bottom: var(--spacing-xxl);
    }

    .section-header h2 {
        font-size: 24px;
        margin-bottom: var(--spacing-md);
    }

    .section-header p {
        font-size: 14px;
    }

    .conceptos-section,
    .enfermedades-section,
    .habitos-section,
    .ejercicios-section,
    .experto-section,
    .hidratacion-section {
        padding: var(--spacing-xl) var(--spacing-md);
    }

    .concepto-card,
    .enfermedad-card,
    .habito-card {
        padding: var(--spacing-md);
        border-radius: 10px;
    }

    .concepto-header {
        margin-bottom: var(--spacing-md);
        padding-bottom: var(--spacing-md);
    }

    .concepto-content {
        font-size: 14px;
    }

    .concepto-content p {
        margin-bottom: var(--spacing-sm);
    }

    .habito-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--spacing-md);
    }

    .habito-card h3 {
        font-size: 14px;
        margin-bottom: var(--spacing-sm);
    }

    .habito-card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .enfermedad-image-container {
        min-height: 200px;
        padding: var(--spacing-md);
    }

    .enfermedad-content {
        padding: var(--spacing-md);
    }

    .enfermedad-content h3 {
        font-size: 18px;
        margin-bottom: var(--spacing-sm);
    }

    .enfermedad-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: var(--spacing-sm);
    }

    .enfermedad-sintoma-image {
        margin-top: var(--spacing-lg);
        padding: var(--spacing-sm);
    }

    .ejercicio-info {
        padding: var(--spacing-lg);
    }

    .ejercicio-info h3 {
        font-size: 18px;
        margin-bottom: var(--spacing-md);
    }

    .ejercicio-info p {
        font-size: 14px;
        margin-bottom: var(--spacing-md);
    }

    .videos-extra-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .video-extra-card {
        padding: var(--spacing-md);
    }

    .experto-card {
        padding: var(--spacing-lg);
    }

    .experto-image {
        min-height: 200px;
        margin-bottom: var(--spacing-lg);
        border-radius: 8px;
    }

    .experto-content h3 {
        font-size: 18px;
        margin-bottom: var(--spacing-sm);
    }

    .profesionald-title {
        font-size: 14px;
        margin-bottom: var(--spacing-md);
    }

    .experto-content p {
        font-size: 14px;
        margin-bottom: var(--spacing-md);
        line-height: 1.6;
    }

    .experto-content li {
        font-size: 13px;
    }

    .hidratacion-intro-cards {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .hidratacion-info-card {
        padding: var(--spacing-lg);
    }

    .hidratacion-info-card h3 {
        font-size: 16px;
    }

    .hidratacion-info-card p {
        font-size: 13px;
    }

    .info-icon {
        font-size: 36px;
        margin-bottom: var(--spacing-sm);
    }

    .hidratacion-consejos-section h3 {
        font-size: 24px;
        margin-bottom: var(--spacing-lg);
    }

    .consejos-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .consejo-item {
        padding: var(--spacing-lg);
    }

    .consejo-numero {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-bottom: var(--spacing-md);
    }

    .consejo-item h4 {
        font-size: 15px;
    }

    .consejo-item p {
        font-size: 13px;
    }

    .footer {
        padding: var(--spacing-lg) var(--spacing-md);
        font-size: 12px;
    }

    .footer p {
        margin: 8px 0;
    }

    .vaso-wrapper {
        width: 120px;
        height: 140px;
    }

    .contador-circular {
        width: 100px;
        height: 100px;
    }

    .tiempo-texto {
        font-size: 16px;
    }

    .temporizador-label {
        font-size: 12px;
    }

    .mensaje-educativo {
        padding: var(--spacing-md);
        margin: var(--spacing-lg) auto 0;
        font-size: 13px;
    }

    .mensaje-educativo p {
        margin-bottom: 6px;
        line-height: 1.5;
    }
}

/* ===================================== 
   SCROLL ANIMATIONS
   ===================================== */

.fade-in {
    opacity: 0;
}

.fade-in.visible {
    animation: fadeIn 0.8s ease forwards;
}
