/* ==========================================
   ELLA - FISIOTERAPIA LANDING PAGE
   Estilos CSS completos y responsive
   ========================================== */

/* VARIABLES CSS - PALETA ARMONIOSA Y SUAVE */
:root {
    /* Colores principales - Paleta suave y armoniosa */
    --primary: #7B68A8;        /* Morado suave y elegante */
    --secondary: #A8C8A8;      /* Verde menta suave */
    --accent: #F8F6F4;         /* Blanco cálido muy suave */
    --background: #FDFCFB;     /* Fondo blanco roto */
    
    /* Colores de apoyo */
    --white: #FFFFFF;
    --black: #3A3A3A;         /* Negro suave */
    --gray-dark: #5A5A5A;     /* Gris oscuro suave */
    --gray-medium: #8A8A8A;   /* Gris medio */
    --gray-light: #E8E8E8;    /* Gris claro */
    
    /* Colores de estado */
    --success: #6BBF7A;       /* Verde éxito suave */
    --whatsapp: #25D366;      /* Verde WhatsApp */
    --whatsapp-hover: #20BA5A;
    
    /* Colores adicionales para armonía */
    --purple-light: #B8A8D8;  /* Morado claro */
    --green-light: #C8E8C8;   /* Verde claro */
    --warm-beige: #F0EDE8;    /* Beige cálido */
    
    /* Tipografía */
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    
    /* Sombras suaves */
    --shadow-xs: 0 1px 3px rgba(123, 104, 168, 0.08);
    --shadow-sm: 0 2px 8px rgba(123, 104, 168, 0.12);
    --shadow-md: 0 4px 16px rgba(123, 104, 168, 0.15);
    --shadow-lg: 0 8px 32px rgba(123, 104, 168, 0.18);
    --shadow-xl: 0 16px 64px rgba(123, 104, 168, 0.20);
    
    /* Bordes y espaciado */
    --border-radius-sm: 8px;
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    
    /* Transiciones suaves */
    --transition-fast: all 0.2s ease;
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Gradientes suaves y armoniosos */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--purple-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, var(--green-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(123, 104, 168, 0.85) 0%, rgba(168, 200, 168, 0.85) 100%);
    
    /* Fondo principal fluido y armonioso */
    --gradient-main: linear-gradient(180deg, 
        #FDFCFB 0%, 
        #FAF8F6 20%, 
        #F8F6F4 35%, 
        #F6F4F2 50%, 
        #F4F2F0 65%, 
        #F2F0EE 80%, 
        #F0EDE8 95%, 
        #EEEBE6 100%);
    
    /* Gradientes de secciones suaves */
    --gradient-section-1: linear-gradient(180deg, #FDFCFB 0%, #FAF8F6 100%);
    --gradient-section-2: linear-gradient(180deg, #FAF8F6 0%, #F8F6F4 100%);
    --gradient-section-3: linear-gradient(180deg, #F8F6F4 0%, #F6F4F2 100%);
    --gradient-section-4: linear-gradient(180deg, #F6F4F2 0%, #F4F2F0 100%);
    
    /* Transición curva al footer */
    --gradient-footer: linear-gradient(180deg, #F4F2F0 0%, #7B68A8 100%);
    --gradient-footer-mobile: linear-gradient(180deg, #F6F4F2 0%, #7B68A8 100%);
    
    --gradient-card: linear-gradient(135deg, var(--white) 0%, var(--accent) 100%);
}

/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--black);
    background: var(--gradient-main);
    background-attachment: fixed;
    line-height: 1.7;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* SISTEMA DE CONTENEDOR */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TIPOGRAFÍA PROFESIONAL */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--black);
    letter-spacing: -0.02em;
}

h1 { 
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
}

h2 { 
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 { 
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
}

p {
    margin-bottom: 1.25rem;
    color: var(--gray-dark);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* BOTONES PROFESIONALES */
.btn-primary, .btn-whatsapp, .btn-whatsapp-nav {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: var(--border-radius-lg);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.btn-primary::before, .btn-whatsapp::before, .btn-whatsapp-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover, .btn-whatsapp:hover, .btn-whatsapp-nav:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-secondary);
}

.btn-primary:hover::before, .btn-whatsapp:hover::before, .btn-whatsapp-nav:hover::before {
    left: 100%;
}

.btn-primary:active, .btn-whatsapp:active, .btn-whatsapp-nav:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* NAVBAR PROFESIONAL */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--gray-light);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--morado), var(--coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    line-height: 1;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--gray-medium);
    margin: 0;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.btn-whatsapp-nav {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* HERO SECTION PROFESIONAL */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    overflow: hidden;
}

/* Imagen de fondo del hero */
#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('image23.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Overlay sobre la imagen */
#hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-overlay);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 120px 0 80px;
}

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

.hero-text h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text h3 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 2rem;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    max-width: 500px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img,
.hero-main-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.heart-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.image-placeholder p {
    font-size: 1.1rem;
    color: var(--white);
    text-align: center;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* VALUE PROPS PROFESIONALES */
#value-props {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 45px 25px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(123, 104, 168, 0.15);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.value-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 600;
}

.value-card p {
    color: var(--gray-dark);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* SECTION HEADERS PROFESIONALES */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.section-header h2 {
    color: var(--black);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* SERVICIOS PROFESIONALES */
#servicios {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.servicio-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 45px 30px;
    border-radius: var(--border-radius-xl);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(123, 104, 168, 0.15);
    position: relative;
    overflow: hidden;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

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

.servicio-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.servicio-icon {
    font-size: 4rem;
    margin-bottom: 30px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 2;
}

.servicio-card h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.servicio-card p {
    color: var(--gray-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* CÓMO FUNCIONA */
#como-funciona {
    padding: 100px 0;
    background: transparent;
}

.proceso-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

.proceso-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--morado), var(--coral));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanco);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: var(--shadow-medium);
}

.step-content h3 {
    color: var(--morado);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.step-content p {
    color: var(--gris);
    font-size: 1rem;
    line-height: 1.6;
}

/* CLÍNICA PRÓXIMA PROFESIONAL */
#clinica-proxima {
    padding: 100px 0;
    background: var(--gradient-hero);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

#clinica-proxima::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.clinica-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.clinica-icon {
    font-size: 5rem;
    margin-bottom: 40px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.clinica-content h2 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.clinica-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 50px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.clinica-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.clinica-feature {
    background: rgba(255, 255, 255, 0.15);
    padding: 35px 20px;
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.clinica-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.clinica-feature:hover::before {
    transform: scaleX(1);
}

.clinica-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.clinica-feature h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.clinica-feature p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.clinica-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 40px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

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

/* CASO DE ÉXITO PROFESIONAL */
#caso-exito {
    padding: 100px 0;
    background: transparent;
    position: relative;
}

.caso-card {
    background: var(--white);
    padding: 70px 50px;
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
}

.caso-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

.caso-icon {
    font-size: 5rem;
    margin-bottom: 40px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.caso-card h2 {
    color: var(--primary);
    margin-bottom: 35px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.caso-content p {
    font-size: 1.3rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.caso-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.caso-badge:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* TESTIMONIOS PROFESIONALES */
#testimonios {
    padding: 100px 0;
    background: transparent;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonio-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 45px 30px;
    border-radius: var(--border-radius-xl);
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(123, 104, 168, 0.15);
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.testimonio-quotes {
    font-size: 5rem;
    color: var(--secondary);
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: serif;
    line-height: 1;
    opacity: 0.7;
}

.testimonio-card p {
    font-size: 1.15rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin: 40px 0 30px 0;
    font-style: italic;
    position: relative;
    z-index: 2;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.author-info h4 {
    color: var(--black);
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.author-info span {
    color: var(--gray-medium);
    font-size: 1rem;
}

/* FORMULARIO DE CONTACTO PROFESIONAL */
#contacto {
    padding: 100px 0;
    background: transparent;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 60px 50px;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(123, 104, 168, 0.15);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 12px;
    color: var(--black);
    font-weight: 600;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius-lg);
    font-family: var(--font-main);
    font-size: 1rem;
    background: var(--white);
    transition: var(--transition);
    color: var(--black);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(107, 91, 149, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* FAQ PROFESIONAL */
#faq {
    padding: 100px 0;
    background: transparent;
}

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

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    margin-bottom: 20px;
    box-shadow: var(--shadow-xs);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(123, 104, 168, 0.15);
}

.faq-item.active {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.faq-question {
    padding: 30px 35px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--accent);
}

.faq-question h3 {
    color: var(--primary);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.8rem;
    color: var(--secondary);
    font-weight: 300;
    transition: var(--transition);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary);
    color: var(--white);
}

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

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 35px 30px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
}

/* FOOTER PROFESIONAL */
#footer {
    background: var(--gradient-footer);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
    margin-top: 80px;
}

.footer-content {
    text-align: center;
    margin-bottom: 50px;
}

.footer-logo .logo-text h3 {
    color: var(--white);
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
}

.footer-logo .logo-text p {
    color: var(--accent);
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-info {
    margin: 40px 0;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 15px 0;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.social-link {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.8rem;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 1rem;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    border: none;
    border-radius: 50%;
    font-size: 1.8rem;
    color: var(--blanco);
    cursor: pointer;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn:hover {
    background: var(--whatsapp-hover);
    transform: scale(1.1);
    box-shadow: var(--shadow-heavy);
}

/* ANIMACIONES */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* RESPONSIVE DESIGN */

/* TABLET */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        gap: 40px;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
    }
    
    .hero-text h3 {
        font-size: 1.8rem;
    }
    
    .value-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }
    
    .servicios-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .proceso-timeline {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
    }
    
    .clinica-features {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 25px;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* SECCIONES MOBILE - MEJOR ESPACIADO */
    #value-props,
    #servicios,
    #como-funciona,
    #caso-exito,
    #testimonios,
    #contacto,
    #faq {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    /* NAVBAR MOBILE */
    #navbar {
        padding: 20px 0;
    }
    
    .navbar-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .logo {
        gap: 12px;
        justify-content: center;
    }
    
    .logo img {
        width: 45px;
        height: 45px;
    }
    
    .logo-circle {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .logo-text h1 {
        font-size: 1.6rem;
    }
    
    .logo-text p {
        font-size: 0.75rem;
        margin-top: 2px;
    }
    
    .btn-whatsapp-nav {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 90%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* HERO MOBILE */
    #hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text h3 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .image-placeholder {
        height: 250px;
    }
    
    .heart-icon {
        font-size: 3rem;
    }
    
    /* SECTIONS MOBILE */
    #value-props, #servicios, #como-funciona, #clinica-proxima, #testimonios, #contacto, #faq {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* GRIDS MOBILE */
    .value-grid,
    .servicios-grid,
    .testimonios-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .proceso-timeline {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .clinica-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* CARDS MOBILE */
    .value-card,
    .servicio-card,
    .testimonio-card {
        padding: 35px 25px;
        margin-bottom: 20px;
    }
    
    .value-grid,
    .servicios-grid,
    .testimonios-grid {
        gap: 25px;
    }
    
    .caso-card {
        padding: 40px 25px;
        margin: 0 15px;
    }
    
    .caso-card h2 {
        font-size: 1.8rem;
    }
    
    .clinica-content h2 {
        font-size: 2rem;
    }
    
    .clinica-content p {
        font-size: 1.1rem;
    }
    
    /* FORM MOBILE */
    .contact-form {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* FAQ MOBILE */
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-answer p {
        padding: 0 25px 20px;
    }
    
    /* FOOTER MOBILE */
    #footer {
        padding: 60px 0 30px;
        margin-top: 40px;
        background: var(--gradient-footer-mobile);
    }
    
    .footer-content {
        margin-bottom: 30px;
    }
    
    .footer-logo .logo-text h3 {
        font-size: 1.5rem;
    }
    
    .footer-logo .logo-text p {
        font-size: 0.8rem;
    }
    
    .footer-info {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .footer-social {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .footer-bottom {
        padding-top: 20px;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    /* WHATSAPP FLOAT MOBILE */
    .whatsapp-float {
        bottom: 30px;
        right: 20px;
        z-index: 1000;
    }
    
    .whatsapp-btn {
        width: 55px;
        height: 55px;
        font-size: 1.6rem;
        box-shadow: var(--shadow-lg);
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .hero-text h3 {
        font-size: 1.3rem;
    }
    
    .btn-primary, .btn-whatsapp, .btn-whatsapp-nav {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-form {
        margin: 0 10px;
        padding: 25px 15px;
    }
    
    .caso-card {
        margin: 0 10px;
        padding: 30px 20px;
    }
    
    .clinica-content {
        padding: 0 10px;
    }
    
    .clinica-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* UTILITIES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden { display: none; }
.visible { display: block; }

/* PRINT STYLES */
@media print {
    .whatsapp-float,
    #navbar,
    .btn-whatsapp,
    .btn-whatsapp-nav {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section-header,
    .value-card,
    .servicio-card,
    .testimonio-card {
        break-inside: avoid;
    }
}