/* estilo.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Poppins:wght@300;400;600&display=swap');

:root {
    --naranja: #FF6B35;
    --turquesa: #2EC4B6;
    --oscuro: #1A1A2E;
    --claro: #FFF9F5;
    --blanco-trans: rgba(255, 255, 255, 0.85);
    --sombra: 0 15px 35px rgba(26, 26, 46, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--claro);
    color: var(--oscuro);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 800; }

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--oscuro);
    text-decoration: none;
}
.logo span { color: var(--naranja); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
    text-decoration: none;
    color: var(--oscuro);
    font-weight: 600;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--naranja); }

.btn-cta {
    background: linear-gradient(135deg, var(--naranja), #ff8c61);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4); }

/* Hero Section */
.hero {
    /* Immagine DESKTOP (default) */
    background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.8)), url('assets/img/hero_bg_2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 6rem 2rem 4rem;
    position: relative;
}

/* Per MOBILE e TABLET (schermi fino a 768px) */
@media (max-width: 768px) {
    .hero {
        background: linear-gradient(rgba(26, 26, 46, 0.7), rgba(26, 26, 46, 0.8)), url('assets/img/hero-bg.jpg');
        background-size: cover;
        background-position: center center;
        min-height: 100vh;
        padding: 5rem 1.5rem 3rem;
    }
}


.hero h1 { font-size: 3.5rem; margin-bottom: 1rem; line-height: 1.2; }
.hero p { font-size: 1.3rem; margin-bottom: 2rem; font-weight: 300; }

.badge-gratis {
    background: var(--turquesa);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Pricing Cards (Glassmorphism) */
.pricing-section { padding: 5rem 2rem; background: white; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: var(--oscuro); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.price-card {
    background: var(--blanco-trans);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--sombra);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.price-card:hover { transform: translateY(-15px) scale(1.02); }

.price-card.destacado {
    border: 2px solid var(--naranja);
    transform: scale(1.05);
}
.price-card.destacado:hover { transform: translateY(-15px) scale(1.07); }

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--naranja);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.precio-valor { font-size: 3.5rem; font-weight: 800; color: var(--oscuro); margin: 1.5rem 0; }
.precio-valor span { font-size: 1.2rem; color: #666; font-weight: 400; }

.beneficios { list-style: none; margin: 2rem 0; text-align: left; }
.beneficios li { padding: 0.6rem 0; padding-left: 1.8rem; position: relative; color: #444; }
.beneficios li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--turquesa);
    font-weight: 800;
    font-size: 1.2rem;
}

/* Footer & WhatsApp Float */
footer { background: var(--oscuro); color: white; padding: 3rem 2rem; text-align: center; }
footer a { color: var(--turquesa); text-decoration: none; }

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    text-decoration: none;
    transition: transform 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .price-card.destacado { transform: scale(1); }
    
    /* Menu hamburger - sovrascrive tutto */
    .menu-toggle {
        display: flex !important;
    }
    
    .nav-links {
        position: fixed !important;
        top: 70px !important;
        left: -100% !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: white !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        padding-top: 3rem !important;
        transition: left 0.3s ease !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        z-index: 1000 !important;
        display: flex !important;
        list-style: none !important;
        margin: 0 !important;
    }
    
    .nav-links.active {
        left: 0 !important;
    }
    
    .nav-links li {
        margin: 1.5rem 0 !important;
    }
    
    .nav-links a {
        font-size: 1.3rem !important;
        color: #1A1A2E !important;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Fondo gradiente premium para páginas internas */
.bg-gradient-full {
    background: linear-gradient(135deg, #FF6B35 0%, #F7C59F 50%, #2EC4B6 100%);
    min-height: 100vh;
    color: white;
    position: relative;
}

/* Capa sutil para mejorar legibilidad del texto sobre el gradiente */
.bg-gradient-full::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.bg-gradient-full .container {
    position: relative;
    z-index: 1;
}

/* Tarjetas con efecto "vidrio" sobre el gradiente */
.glass-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Títulos sobre fondo gradiente */
.bg-gradient-full h1,
.bg-gradient-full h2,
.bg-gradient-full h3 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.bg-gradient-full p {
    color: rgba(255, 255, 255, 0.95);
}

/* Botones que contrastan sobre el gradiente */
.btn-light {
    background: white;
    color: #FF6B35;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ========== MENU HAMBURGER PER MOBILE ========== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--oscuro);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 3rem;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        color: var(--oscuro);
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}
