/* Reset y Variables CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales */
    --azul-serenidad: #4A90E2;
    --azul-cielo: #87CEEB;
    --azul-profundo: #2C5282;
    --azul-pastel: #E6F3FF;
    --blanco: #FFFFFF;
    --verde-natural: #68A063;
    --gris-suave: #F7F9FC;
    --dorado-suave: #F4E4BC;
    --gris-texto: #4A5568;
    
    /* Tipografía */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Sombras */
    --shadow-light: 0 2px 10px rgba(74, 144, 226, 0.1);
    --shadow-medium: 0 4px 20px rgba(74, 144, 226, 0.15);
    --shadow-heavy: 0 8px 30px rgba(74, 144, 226, 0.2);
}

/* Estilos base */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--gris-texto);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Header */
.header {
    background: var(--blanco);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h1 {
    font-family: var(--font-heading);
    color: var(--azul-profundo);
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu a {
    text-decoration: none;
    color: var(--gris-texto);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--azul-serenidad);
}

.cta-button {
    background: var(--azul-serenidad);
    color: var(--blanco);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--azul-profundo);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--azul-profundo);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--azul-pastel) 0%, var(--blanco) 100%);
    padding: 120px 0 var(--spacing-xl);
    margin-top: 70px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--azul-profundo);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--azul-serenidad);
    margin-bottom: var(--spacing-md);
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
    color: var(--gris-texto);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--azul-serenidad);
    color: var(--blanco);
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--azul-profundo);
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-primary.large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

.btn-secondary {
    background: transparent;
    color: var(--azul-serenidad);
    padding: 16px 32px;
    border: 2px solid var(--azul-serenidad);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--azul-serenidad);
    color: var(--blanco);
    transform: translateY(-3px);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-heavy);
}

/* Secciones generales */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--azul-profundo);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

/* Benefits Section */
.benefits {
    padding: var(--spacing-xl) 0;
    background: var(--blanco);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.benefit-card {
    text-align: center;
    padding: var(--spacing-lg);
    border-radius: 15px;
    background: var(--gris-suave);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    width: 60px;
    height: 60px;
}

.benefit-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--azul-profundo);
    margin-bottom: var(--spacing-sm);
}

.benefit-card p {
    color: var(--gris-texto);
    line-height: 1.6;
}

/* Featured Products */
.featured-products {
    padding: var(--spacing-xl) 0;
    background: var(--gris-suave);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.product-card {
    background: var(--blanco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: var(--spacing-md);
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--azul-profundo);
    margin-bottom: var(--spacing-sm);
}

.product-info p {
    color: var(--gris-texto);
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--azul-serenidad);
    margin-bottom: var(--spacing-md);
}

.btn-cart {
    width: 100%;
    background: var(--verde-natural);
    color: var(--blanco);
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cart:hover {
    background: #5a8f56;
    transform: translateY(-2px);
}

/* Testimonials */
.testimonials {
    padding: var(--spacing-xl) 0;
    background: var(--azul-pastel);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    text-align: center;
    padding: var(--spacing-lg);
}

.testimonial.active {
    display: block;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--azul-profundo);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.testimonial-author strong {
    color: var(--azul-profundo);
    font-weight: 600;
}

.testimonial-author span {
    color: var(--azul-serenidad);
    font-size: 0.9rem;
}

.testimonial-dots {
    text-align: center;
    margin-top: var(--spacing-md);
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: var(--azul-cielo);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--azul-serenidad);
}

/* Process Section */
.process {
    padding: var(--spacing-xl) 0;
    background: var(--blanco);
}

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

.process-step {
    text-align: center;
    padding: var(--spacing-md);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--azul-serenidad);
    color: var(--blanco);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto var(--spacing-md);
}

.process-step h3 {
    font-family: var(--font-heading);
    color: var(--azul-profundo);
    margin-bottom: var(--spacing-sm);
}

.process-step p {
    color: var(--gris-texto);
    line-height: 1.5;
}

/* Final CTA */
.final-cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--azul-serenidad) 0%, var(--azul-profundo) 100%);
    color: var(--blanco);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.guarantees {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 500;
}

.guarantee-icon {
    font-size: 1.5rem;
}

/* Footer */
.footer {
    background: var(--azul-profundo);
    color: var(--blanco);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3,
.footer-section h4 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-md);
    color: var(--azul-cielo);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: var(--blanco);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--azul-cielo);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter-form button {
    background: var(--azul-serenidad);
    color: var(--blanco);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--azul-cielo);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .benefits-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .guarantees {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

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

.hero-content,
.benefit-card,
.product-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

