/* ==========================================
   NUTRIHELP STYLES - OPTION 2 VERSION 4
   Hero Section limpia sin floating cards
   ========================================== */

/* CSS Variables - Paleta con Contraste Optimizado */
:root {
    --primary-color: #7C3AED;           /* Lila más intenso para mejor contraste */
    --primary-dark: #6D28D9;            /* Lila oscuro para hovers */
    --primary-light: #A78BFA;           /* Lila claro para acentos */
    --secondary-color: #059669;         /* Verde esmeralda para contraste */
    --secondary-light: #34D399;         /* Verde claro para elementos suaves */
    --accent-color: #EC4899;            /* Rosa fuerte para CTAs */
    --accent-light: #F472B6;            /* Rosa claro para elementos suaves */
    --text-primary: #1F2937;            /* Gris muy oscuro para máximo contraste */
    --text-secondary: #374151;          /* Gris oscuro */
    --text-muted: #6B7280;              /* Gris medio */
    --background-white: #FFFFFF;        /* Blanco puro */
    --background-light: #F9FAFB;        /* Gris muy claro */
    --background-section: #F3F4F6;      /* Gris claro para secciones */
    --border-light: #E5E7EB;            /* Borde gris claro */
    --border-medium: #D1D5DB;           /* Borde gris medio */
    
    /* Sombras con mejor definición */
    --shadow-light: rgba(124, 58, 237, 0.1);
    --shadow-medium: rgba(124, 58, 237, 0.2);
    --shadow-strong: rgba(124, 58, 237, 0.3);
    
    /* Gradientes con contraste mejorado */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #059669 0%, #34D399 100%);
    --gradient-accent: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    --gradient-hero: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
    --gradient-card: linear-gradient(135deg, #FFFFFF 0%, #F9FAFB 100%);
    
    /* Estados de éxito y error */
    --success-color: #10B981;
    --success-light: #D1FAE5;
    --error-color: #EF4444;
    --error-light: #FEE2E2;
    --warning-color: #F59E0B;
    --warning-light: #FEF3C7;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-white);
    overflow-x: hidden;
}

/* Tipografía mejorada */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Badges con contraste corregido */
.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: var(--primary-color);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px var(--shadow-medium);
    border: 1px solid var(--primary-dark);
}

.section-badge i {
    margin-right: 8px;
}

/* Header Top mejorado */
.header-top {
    background: var(--background-white);
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 2px solid var(--border-light);
}

.header-info {
    display: flex;
    gap: 2rem;
}

.header-item {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-weight: 500;
}

.header-item i {
    margin-right: 8px;
    color: var(--primary-color);
}

.header-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow-light);
    border: 1px solid var(--primary-dark);
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 12px var(--shadow-medium);
}

/* Navigation mejorada */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px var(--shadow-light);
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 30px var(--shadow-medium);
}

.navbar-brand .logo {
    height: 45px;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-agendar {
    background: var(--primary-color) !important;
    color: white !important;
    border-radius: 25px !important;
    padding: 10px 22px !important;
    font-weight: 600 !important;
    margin-left: 1rem !important;
    box-shadow: 0 4px 12px var(--shadow-medium) !important;
    border: 1px solid var(--primary-dark) !important;
    font-size: 0.9rem !important;
}

.btn-agendar::after {
    display: none !important;
}

.btn-agendar:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong) !important;
    color: white !important;
}

/* Dropdown mejorado */
.dropdown-menu {
    border: 1px solid var(--border-medium);
    box-shadow: 0 10px 30px var(--shadow-medium);
    border-radius: 12px;
    padding: 0.5rem 0;
    background: var(--background-white);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

/* Hero Section REDISEÑADA - Sin floating cards */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

/* Decoraciones sutiles de fondo */
.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03; /* Mucho más sutil */
}

.decoration-1 {
    width: 300px;
    height: 300px;
    top: 5%;
    right: -5%;
    background: var(--primary-color);
    animation: float 8s ease-in-out infinite;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -5%;
    background: var(--secondary-color);
    animation: float 12s ease-in-out infinite reverse;
}

.decoration-3 {
    width: 150px;
    height: 150px;
    top: 70%;
    right: 15%;
    background: var(--accent-color);
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

/* Hero Badge mejorado */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    background: var(--secondary-color);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    border: 1px solid var(--secondary-color);
}

.hero-badge i {
    margin-right: 8px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 600px; /* Limitar ancho para mejor legibilidad */
}

.hero-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

/* Hero Stats - Reemplaza las floating cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--background-white);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow-light);
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-medium);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.stat-icon i {
    color: white;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Botones con contraste mejorado */
.btn-primary {
    background: var(--primary-color);
    border: 1px solid var(--primary-dark);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px var(--shadow-medium);
    font-size: 1rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-strong);
    color: white;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: var(--background-white);
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-strong);
}

/* Hero Image mejorada - MÁS LIMPIA */
.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    display: inline-block;
}

.main-image {
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-strong);
    max-width: 100%;
    border: 3px solid var(--border-light);
    transition: all 0.3s ease;
}

.main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px var(--shadow-strong);
}

/* ELIMINAMOS completamente las floating cards */
.floating-card {
    display: none; /* Removidas completamente */
}

/* About Section mejorada */
.about-section {
    padding: 100px 0;
    background: var(--background-white);
}

.about-content {
    padding: 2rem 0;
}

.about-stats {
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.about-stat-icon {
    width: 65px;
    height: 65px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px var(--shadow-medium);
    border: 2px solid var(--primary-dark);
}

.about-stat-icon i {
    color: white;
    font-size: 1.5rem;
}

.stat-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.stat-content p {
    color: var(--text-secondary);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 15px 30px var(--shadow-medium);
    border: 3px solid var(--border-light);
}

.about-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.1; /* Más sutil */
    z-index: -1;
}

.decoration-dots {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--primary-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.2; /* Más sutil */
}

/* Jessica Section mejorada */
.jessica-section {
    padding: 100px 0;
    background: var(--background-section);
}

.jessica-image {
    position: relative;
    text-align: center;
}

.jessica-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-strong);
    max-width: 100%;
    border: 3px solid var(--border-medium);
}

.jessica-badge {
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px var(--shadow-strong);
    border: 1px solid var(--primary-dark);
}

.jessica-content {
    padding: 2rem 0;
}

.jessica-quote {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px var(--shadow-light);
    border: 1px solid var(--border-light);
}

.jessica-quote p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

.jessica-credentials {
    margin-bottom: 2rem;
}

.jessica-credentials h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.credentials-list {
    list-style: none;
    padding: 0;
}

.credentials-list li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.credentials-list i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    width: 16px;
}

.jessica-specialties h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}

.specialty-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--background-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.specialty-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
    border-color: var(--primary-color);
}

.specialty-item i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.2rem;
}

.specialty-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Services Section mejorada */
.services-section {
    padding: 100px 0;
    background: var(--background-white);
}

.service-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 2px solid var(--border-light);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow-strong);
    border-color: var(--primary-color);
}

.service-card.featured {
    border-color: var(--primary-color);
    position: relative;
    background: var(--background-light);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent-color);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
    border: 1px solid #DB2777;
}

.service-icon {
    width: 85px;
    height: 85px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px var(--shadow-medium);
    border: 2px solid var(--primary-dark);
}

.service-icon i {
    color: white;
    font-size: 2rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 2rem;
}

.service-features .feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.service-features .feature i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* Process Section mejorada */
.process-section {
    padding: 100px 0;
    background: var(--background-section);
}

.process-step {
    text-align: center;
    position: relative;
    padding: 2rem;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px var(--shadow-medium);
    border: 2px solid var(--primary-dark);
}

.step-icon {
    width: 85px;
    height: 85px;
    background: var(--background-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px var(--shadow-medium);
    border: 2px solid var(--border-medium);
}

.step-icon i {
    color: var(--primary-color);
    font-size: 2rem;
}

.step-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive Design para Hero Stats */
@media (max-width: 992px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary,
    .btn-outline-primary {
        margin-bottom: 1rem;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
}

/* Resto del CSS permanece igual... */

/* Testimonials Section mejorada */
.testimonials-section {
    padding: 100px 0;
    background: var(--background-white);
}

.testimonial-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--border-light);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-strong);
    border-color: var(--primary-color);
}

.testimonial-card.featured {
    border-color: var(--primary-color);
    background: var(--background-light);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: #F59E0B;
    font-size: 1.1rem;
    margin-right: 2px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid var(--primary-color);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Resources Section mejorada */
.resources-section {
    padding: 100px 0;
    background: var(--background-section);
}

.resource-card {
    background: var(--background-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid var(--border-light);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-strong);
    border-color: var(--primary-color);
}

.resource-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.resource-card:hover .resource-image img {
    transform: scale(1.05);
}

.resource-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(124, 58, 237, 0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
}

.resource-price {
    background: var(--background-white);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px var(--shadow-medium);
    border: 1px solid var(--border-medium);
}

.resource-badge {
    background: var(--accent-color);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
    border: 1px solid #DB2777;
}

.resource-content {
    padding: 2rem;
}

.resource-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.resource-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resource-features {
    margin-bottom: 1.5rem;
}

.resource-features .feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.resource-features .feature i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 16px;
}

/* Blog Section mejorada */
.blog-section {
    padding: 100px 0;
    background: var(--background-white);
}

.blog-card {
    background: var(--background-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid var(--border-light);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-strong);
    border-color: var(--primary-color);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 8px var(--shadow-medium);
    border: 1px solid var(--primary-dark);
}

.blog-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-title {
    margin-bottom: 1rem;
}

.blog-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-dark);
    gap: 0.75rem;
}

/* FAQ Section mejorada */
.faq-section {
    padding: 100px 0;
    background: var(--background-section);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: var(--background-white);
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-light);
    border: 2px solid var(--border-light) !important;
}

.accordion-button {
    background: var(--background-white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    border-radius: 15px !important;
}

.accordion-button:not(.collapsed) {
    background: var(--background-light);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button::after {
    background-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(124, 58, 237, 0.25);
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Newsletter Section mejorada */
.newsletter-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::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 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.newsletter-features {
    margin-bottom: 2rem;
}

.newsletter-features .feature {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.newsletter-features .feature i {
    margin-right: 0.75rem;
    color: var(--secondary-light);
}

.newsletter-form-container {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border-light);
}

.newsletter-form .form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    flex: 1;
    border: 2px solid var(--border-medium);
    border-radius: 50px;
    padding: 14px 22px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--background-white);
    color: var(--text-primary);
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

.newsletter-form .btn {
    border-radius: 50px;
    padding: 14px 28px;
    font-weight: 600;
    white-space: nowrap;
    background: var(--primary-color);
    border: 1px solid var(--primary-dark);
    color: white;
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.newsletter-form .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    text-align: center;
}

/* Contact Section mejorada */
.contact-section {
    padding: 100px 0;
    background: var(--background-white);
}

.contact-form-container {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-medium);
    border: 2px solid var(--border-light);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--border-medium);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--background-white);
    color: var(--text-primary);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info {
    padding: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--shadow-medium);
    border: 2px solid var(--primary-dark);
}

.contact-icon i {
    color: white;
    font-size: 1.3rem;
}

.contact-details h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-social .social-links {
    display: flex;
    gap: 1rem;
}

.contact-social .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
}

/* Footer mejorado */
.footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, #111827 100%);
    color: white;
    padding: 60px 0 20px;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 45px;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social .social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--shadow-medium);
    border: 1px solid var(--primary-dark);
}

.footer-social .social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 6px 20px var(--shadow-strong);
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    color: var(--primary-light);
    margin-right: 0.75rem;
    width: 16px;
}

.footer-divider {
    border-color: rgba(255,255,255,0.2);
    margin: 2rem 0 1rem;
}

.footer-copyright,
.footer-credits {
    color: rgba(255,255,255,0.7);
    margin: 0;
    font-size: 0.9rem;
}

/* WhatsApp Float Button mejorado */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #25D366 0%, #20B85C 100%);
    color: white;
    padding: 16px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    border: 1px solid #1E9C52;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20B85C 0%, #1E9C52 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn i {
    font-size: 1.5rem;
}

.whatsapp-text {
    font-size: 0.9rem;
    white-space: nowrap;
}

@keyframes pulse {
    0% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Back to Top Button mejorado */
.back-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
    background: var(--primary-color);
    border: 1px solid var(--primary-dark);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px var(--shadow-medium);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow-strong);
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-color);
    z-index: 9999;
    transition: width 0.3s ease;
    box-shadow: 0 2px 4px var(--shadow-light);
}

/* Form Validation States mejoradas */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--error-color);
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success-color);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.invalid-feedback {
    display: block;
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.valid-feedback {
    display: block;
    color: var(--success-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Loading States mejorados */
.btn-loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.btn-loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Success/Error Messages mejoradas */
.alert {
    border-radius: 15px;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: none;
    font-weight: 500;
}

.alert-success {
    background: var(--success-light);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.alert-danger {
    background: var(--error-light);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.alert-info {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.alert-warning {
    background: var(--warning-light);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

/* Animaciones mejoradas con mejor performance */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .testimonial-card,
    .resource-card,
    .blog-card,
    .process-step,
    .stat-card {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .service-card.animate,
    .testimonial-card.animate,
    .resource-card.animate,
    .blog-card.animate,
    .process-step.animate,
    .stat-card.animate {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Stagger animation mejorada */
    .service-card:nth-child(1) { transition-delay: 0.1s; }
    .service-card:nth-child(2) { transition-delay: 0.2s; }
    .service-card:nth-child(3) { transition-delay: 0.3s; }
    .service-card:nth-child(4) { transition-delay: 0.4s; }
    .service-card:nth-child(5) { transition-delay: 0.5s; }
    .service-card:nth-child(6) { transition-delay: 0.6s; }
    
    .stat-card:nth-child(1) { transition-delay: 0.2s; }
    .stat-card:nth-child(2) { transition-delay: 0.4s; }
    .stat-card:nth-child(3) { transition-delay: 0.6s; }
}

/* Accessibility mejorado */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #5B21B6;
        --text-primary: #000000;
        --text-secondary: #1F2937;
        --background-white: #FFFFFF;
        --border-light: #374151;
        --border-medium: #1F2937;
    }
    
    .service-card,
    .testimonial-card,
    .resource-card,
    .blog-card,
    .stat-card {
        border: 3px solid var(--text-primary);
    }
    
    .btn-primary,
    .btn-outline-primary {
        border: 2px solid var(--text-primary);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .decoration-circle {
        animation: none;
    }
    
    .whatsapp-btn {
        animation: none;
    }
}

/* Print styles mejorados */
@media print {
    .header-top,
    .navbar,
    .whatsapp-float,
    .back-to-top,
    .scroll-progress-bar {
        display: none !important;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000;
        background: #fff;
    }
    
    .section-title {
        color: #000;
        font-size: 18pt;
    }
    
    .text-primary {
        color: #5B21B6 !important;
    }
}