/* =========================================================================
   VARIABLES Y CONFIGURACIÓN BASE
   ========================================================================= */
:root {
    --primary-color: #0b2b4a; /* Azul muy oscuro - confianza y salud */
    --secondary-color: #0088cc; /* Azul claro vibrante */
    --accent-color: #25D366; /* Verde WhatsApp - CTA principal */
    --accent-hover: #1da851;
    --bg-color: #f4f9ff;
    --text-color: #2c3e50;
    --heading-color: #1a2a3a;
    --white: #ffffff;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0, 60, 120, 0.12);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
    background: var(--white);
    color: var(--primary-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #e9f0f8;
}

.header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    margin-bottom: 6px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo span {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.social-header {
    display: flex;
    gap: 16px;
}

.social-header a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: var(--transition);
    background: rgba(0, 136, 204, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-header a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* =========================================================================
   HERO SECTION (FUNNEL STYLE - CREATIVE & ANIMATED)
   ========================================================================= */
.hero {
    position: relative;
    padding: 100px 0 120px;
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    overflow: hidden;
}

/* Background animated blobs */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    animation: float-blob 10s infinite alternate ease-in-out;
}

.hero::before {
    width: 400px;
    height: 400px;
    background: rgba(107, 195, 255, 0.2);
    top: -100px;
    left: -100px;
}

.hero::after {
    width: 300px;
    height: 300px;
    background: rgba(37, 211, 102, 0.15);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float-blob {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1.2;
    max-width: 650px;
    animation: slideUpFade 0.8s ease-out forwards;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    animation: slideLeftFade 1s ease-out forwards;
}

@keyframes slideLeftFade {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

.hero-image {
    width: 100%;
    max-width: 550px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(11, 43, 74, 0.15);
    object-fit: cover;
    border: 6px solid var(--white);
    animation: float-image 6s infinite ease-in-out;
}

@keyframes float-image {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.8);
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    animation: float-badge 4s infinite ease-in-out;
}

.floating-badge i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.badge-1 { top: 10%; left: -20px; animation-delay: 0s; }
.badge-2 { bottom: 15%; right: -30px; animation-delay: 1.5s; }
.badge-3 { bottom: -20px; left: 10%; animation-delay: 0.7s; }

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

.hero-content h2 {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--heading-color);
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-content h2 span {
    background: linear-gradient(135deg, var(--secondary-color), #00d2ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero .tagline {
    background: linear-gradient(90deg, rgba(11, 43, 74, 0.1), rgba(0, 136, 204, 0.05));
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 24px;
    border: 1px solid rgba(11, 43, 74, 0.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.hero .tagline i {
    color: #f39c12; /* Star color */
    margin-right: 8px;
    font-size: 1.1rem;
}


/* =========================================================================
   BUTTONS (CTAs)
   ========================================================================= */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--white);
    font-weight: 800;
    padding: 16px 32px;
    border-radius: 60px;
    text-decoration: none;
    font-size: 1.15rem;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-whatsapp i {
    margin-right: 12px;
    font-size: 1.3rem;
}

.btn-whatsapp:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp.pulse {
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.btn-whatsapp.secondary {
    background: var(--primary-color);
    box-shadow: 0 6px 20px rgba(11, 43, 74, 0.25);
}

.btn-whatsapp.secondary:hover {
    background: #153a63;
    box-shadow: 0 10px 25px rgba(11, 43, 74, 0.35);
}

/* =========================================================================
   ABOUT / MISIÓN Y VISIÓN
   ========================================================================= */
.about-section {
    background: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge-title {
    color: var(--secondary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 12px;
}

.about-content p {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-content p strong {
    color: var(--primary-color);
}

.text-left {
    text-align: left;
    margin-bottom: 24px;
}

.mt-4 {
    margin-top: 32px;
}

/* Tarjetas Misión / Visión */
.mv-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mv-card {
    display: flex;
    gap: 20px;
    background: var(--bg-color);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 5px solid var(--secondary-color);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.1);
    background: var(--white);
}

.mv-icon {
    background: rgba(0, 136, 204, 0.1);
    color: var(--secondary-color);
    width: 65px;
    height: 65px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.mv-card:hover .mv-icon {
    background: var(--secondary-color);
    color: var(--white);
    transform: rotate(5deg) scale(1.1);
}

.mv-text h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.mv-text p {
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.8;
    text-align: center;
}

.destacado-ubicacion {
    background: rgba(0, 136, 204, 0.05);
    border-radius: 60px;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    border: 1px solid rgba(0, 136, 204, 0.2);
    margin: 20px auto 0;
}

.destacado-ubicacion i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* =========================================================================
   EMBUDO PASO A PASO
   ========================================================================= */
.embudo {
    background: var(--bg-color);
    padding: 80px 0;
}

.pasos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.paso {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 5px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.paso:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.paso .num {
    background: var(--primary-color);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0 auto 16px;
    box-shadow: 0 4px 10px rgba(11, 43, 74, 0.2);
}

.paso h4 {
    font-size: 1.2rem;
    color: var(--heading-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.paso p {
    font-size: 0.95rem;
    color: var(--text-color);
}

/* =========================================================================
   PROMOCIONES
   ========================================================================= */
.promos {
    padding: 80px 0;
    background: var(--white);
}

.promos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
    justify-items: center;
}

.card {
    background: var(--white);
    border-radius: 24px;
    padding: 0;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #e9f0f8;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: #cbe0f4;
}

.card-img-wrapper {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background: #f0f7fe;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card:hover .card-img {
    transform: scale(1.08);
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px dashed #e9f0f8;
    margin-bottom: 24px;
    position: relative;
}

.card .badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 20px;
    border-radius: 30px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.card .badge.gratis {
    background: #0d7a3e;
}

.card h3 {
    font-size: 1.8rem;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.card h3 i {
    color: var(--secondary-color);
}

.card .precio {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-top: 10px;
    line-height: 1;
}

.card .precio small {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: #6c7a89;
    margin-top: 8px;
}

.card ul {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card ul li {
    padding: 10px 0;
    border-bottom: 1px solid #f4f9ff;
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.card ul li:last-child {
    border-bottom: none;
}

.card ul li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 3px;
}

.card .detalle {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    color: var(--text-color);
    border-left: 4px solid var(--secondary-color);
    display: flex;
    gap: 10px;
}

/* =========================================================================
   FORMULARIO CAPTURA
   ========================================================================= */
.captura {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
    position: relative;
}

.captura .section-title {
    color: var(--white);
}

.captura .section-subtitle {
    color: #c0ddf5;
}

.form-wrapper {
    max-width: 550px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--white);
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border-radius: 12px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    color: var(--heading-color);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus {
    background: var(--white);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(0, 136, 204, 0.2);
}

.form-wrapper .btn-whatsapp {
    margin-top: 10px;
}

.form-wrapper .nota {
    font-size: 0.85rem;
    color: #8da4b8;
    margin-top: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background: #f4f9ff;
    color: var(--text-color);
    padding: 40px 0 30px;
    border-top: 1px solid #e9f0f8;
}

.footer .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer-logo {
    margin-bottom: 10px;
}

.logo-img-footer {
    max-height: 70px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.logo-img-footer:hover {
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    transform: scale(1.05);
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-info i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.footer-social a {
    color: var(--secondary-color);
    background: rgba(0, 136, 204, 0.1);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-copy {
    width: 100%;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e9f0f8;
    text-align: center;
    font-size: 0.9rem;
}

.footer-copy span {
    color: var(--primary-color);
    font-weight: 600;
}

/* =========================================================================
   GALERÍA (SWIPER)
   ========================================================================= */
.galeria {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-color) 100%);
    overflow: hidden;
}

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

.swiper-galeria {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 60px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 280px;
    height: 380px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 5px solid var(--white);
    transition: transform 0.3s ease;
}

@media (min-width: 768px) {
    .swiper-slide {
        width: 350px;
        height: 450px;
    }
}

.slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--secondary-color) !important;
    background: var(--white);
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color) !important;
}

/* =========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================= */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-image-wrapper {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .text-left {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 10px 20px;
    }

    .hero {
        padding: 50px 0;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .about-section, .embudo, .promos, .captura {
        padding: 60px 0;
    }

    .form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .btn-whatsapp {
        font-size: 1rem;
        padding: 14px 24px;
    }
    
    .card {
        padding: 30px 20px;
    }
    
    .card .precio {
        font-size: 2.4rem;
    }
}
