:root {
    --primary: #7A162B;     
    --primary-light: #9c1f3a;
    --secondary: #D9C3A9;   
    --bg-color: #F8F6F0;    
    --text-dark: #2A2A2A;
    --text-muted: #666666;
    --white: #FFFFFF;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.06);
    --shadow-hover: 0 15px 40px rgba(122, 22, 43, 0.15);
    --radius-lg: 24px;
    --radius-md: 16px;
    --whatsapp-green: #25D366;
}

/* BOTÓN FLOTANTE WHATSAPP */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 2001;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-button:hover {
    background-color: #1fb85c;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

.whatsapp-button:active {
    transform: scale(0.95);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

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

body {
    background-color: var(--bg-color);
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* NAVBAR FLOTANTE */
.main-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(248, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 20px;
}
.nav-logo { position: relative; z-index: 1002; display: flex; align-items: center; justify-content: center; flex-shrink: 0; min-width: 80px; }
.nav-logo img { height: 50px; width: 60px; min-width: 50px; object-fit: contain; }

/* Estilos específicos para móviles */
@media (max-width: 600px) {
    .nav-container { justify-content: flex-end; gap: 10px; }
    .nav-logo { min-width: 70px; margin-left: 0; }
    .nav-logo img { height: 40px; width: 50px; min-width: 40px; }
}

/* Ocultar menú por defecto en mobile */
.nav-links { 
    position: fixed; 
    top: 70px; 
    right: 0; 
    width: 100%; 
    height: calc(100vh - 70px); 
    background: rgba(248, 246, 240, 0.98); 
    backdrop-filter: blur(10px); 
    flex-direction: column; 
    gap: 0; 
    justify-content: flex-start; 
    padding-top: 30px; 
    transform: translateX(100%); 
    transition: transform 0.3s ease; 
    z-index: 999; 
    padding-left: 20px;
    display: flex;
    list-style: none;
}

.nav-links.active { 
    transform: translateX(0); 
}

.nav-links li { 
    width: 100%; 
    padding: 15px 0; 
    border-bottom: 1px solid rgba(0,0,0,0.1); 
}

.nav-links a { 
    display: block;
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 600; 
    font-size: 16px; 
    transition: color 0.3s; 
}

.nav-links a:hover { 
    color: var(--primary); 
}

/* HAMBURGER MENU */
.hamburger { 
    display: none; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    width: 30px; 
    height: 30px; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 0;
    z-index: 1001;
}
.hamburger span { 
    width: 25px; 
    height: 3px; 
    background-color: var(--text-dark); 
    margin: 3px 0; 
    transition: all 0.3s ease; 
    border-radius: 2px; 
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

/* MOBILE MENU STYLES */
@media (max-width: 768px) {
    .hamburger { 
        display: flex !important; 
    }
    
    .nav-links { 
        position: fixed; 
        top: 70px; 
        right: 0; 
        width: 100%; 
        height: calc(100vh - 70px); 
        background: rgba(248, 246, 240, 0.98); 
        backdrop-filter: blur(10px); 
        flex-direction: column; 
        gap: 0; 
        justify-content: flex-start; 
        padding-top: 30px; 
        transform: translateX(100%); 
        transition: transform 0.3s ease; 
        z-index: 999; 
        padding-left: 20px;
        display: flex !important;
    }
    
    .nav-links.active { 
        transform: translateX(0); 
    }
    
    .nav-links li { 
        width: 100%; 
        padding: 15px 0; 
        border-bottom: 1px solid rgba(0,0,0,0.1); 
    }
    
    .nav-links a { 
        display: block; 
        font-size: 16px; 
        color: var(--text-dark); 
        text-decoration: none; 
    }
    
    .nav-links .btn-primary { 
        width: fit-content; 
        padding: 12px 24px; 
        margin-top: 20px; 
        display: block; 
    }
}

/* BOTONES */
.btn-primary {
    background-color: var(--primary); color: var(--white) !important;
    padding: 12px 24px; border-radius: 50px; border: none; cursor: pointer;
    box-shadow: 0 4px 15px rgba(122,22,43,0.3);
    transition: transform 0.3s, box-shadow 0.3s !important;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(122,22,43,0.4); }

/* FONDOS Y LAYOUT PRINCIPAL */
.global-bg-curve {
    position: absolute; top: -100px; right: 0; width: 50vw; height: 1000px;
    background-color: #EAE3D6; border-radius: 50% 0 0 50%; z-index: -1;
}
.corner-image {
    position: fixed;
    z-index: 2000;
    pointer-events: none;
    opacity: 1;
    max-width: 260px;
    width: 24vw;
    height: auto;
    display: block;
}
.corner-top-left {
    top: 0;
    left: 0;
    transform: translate(0, 0);
}
.corner-bottom-right {
    bottom: 0;
    right: 0;
    transform: translate(0, 0);
}
.main-wrapper {
    max-width: 1200px; margin: 120px auto 0 auto;
    display: flex; justify-content: space-between; padding: 0 20px;
}
.left-content { width: 45%; z-index: 2; }
.right-content { width: 50%; display: flex; justify-content: center; position: relative; z-index: 2; }

/* TEXTOS HERO */
.hero-text { font-size: 26px; font-weight: 700; line-height: 1.3; margin-bottom: 30px; }
.hero-text .highlight { font-size: 52px; font-weight: 900; color: var(--primary); display: block; line-height: 1.1; margin: 5px 0; }

.benefits { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.benefit-item { display: flex; align-items: center; gap: 20px; background: var(--white); padding: 15px 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); transition: transform 0.3s; }
.benefit-item:hover { transform: translateX(10px); border-left: 4px solid var(--primary); }
.icon-box { width: 50px; height: 50px; border-radius: 50%; background: var(--bg-color); display: flex; justify-content: center; align-items: center; font-size: 20px; color: var(--primary); flex-shrink: 0; }
.benefit-item p { font-size: 14px; line-height: 1.4; }
.benefit-item p strong { color: var(--primary); font-weight: 800; }

/* COLLAGE (Exactamente como lo armamos) */
.collage-container { width: 500px; height: 700px; position: relative; }
.shape { position: absolute; background: var(--white); box-shadow: var(--shadow-soft); overflow: hidden; transition: transform 0.5s ease; }
.shape:hover { transform: scale(1.03); z-index: 20; }
.shape img { width: 100%; height: 100%; object-fit: cover; }
.main-shape { top: 0; right: 0; width: 400px; height: 350px; border-radius: 180px 180px 0 180px; border: 6px solid var(--white); z-index: 1; }
.diamond-shape { top: 310px; right: 100px; width: 240px; height: 240px; background: var(--white); clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); z-index: 2; padding: 6px; }
.diamond-inner { width: 100%; height: 100%; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); }
.diamond-inner img { width: 100%; height: 100%; object-fit: cover; }
.bottom-left-shape { top: 450px; left: 0; width: 250px; height: 220px; border-radius: 100px 0 0 0; clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 100%); border: 6px solid var(--white); z-index: 3; }
.bottom-right-shape { top: 450px; right: 10px; width: 220px; height: 260px; border-radius: 0 100px 100px 0; clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%); border: 6px solid var(--white); z-index: 4; }
.floating-circle { position: absolute; top: 500px; left: -30px; width: 140px; height: 140px; background-color: var(--bg-color); border-radius: 50%; padding: 6px; z-index: 10; box-shadow: var(--shadow-hover); }
.circle-inner { width: 100%; height: 100%; border: 2px solid var(--secondary); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font-size: 10px; line-height: 1.2; color: var(--text-dark); }
.circle-inner strong { color: var(--primary); font-size: 12px; font-weight: 800; }

/* BANNER PRECIOS */
.amounts-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: var(--white); width: 90%; max-width: 900px; margin: 40px auto 30px auto; padding: 30px 60px; border-radius: 20px 100px 100px 20px; display: flex; align-items: center; justify-content: center; gap: 60px; position: relative; z-index: 10; box-shadow: 0 20px 40px rgba(122, 22, 43, 0.25); }
.amount { display: flex; flex-direction: column; text-align: center;}
.amount .label { font-size: 14px; font-weight: 600; letter-spacing: 2px; opacity: 0.9;}
.amount .value { font-size: 54px; font-weight: 900; line-height: 1; text-shadow: 2px 2px 4px rgba(0,0,0,0.2);} 
.promo-image-section { width: 100%; display: flex; justify-content: center; padding: 0 20px 24px; }
.promo-image { width: min(100%, 760px); max-width: 760px; object-fit: contain; display: block; }

.separator { width: 2px; height: 60px; background-color: rgba(255,255,255,0.3); }

/* SECCIÓN PROGRAMAS */
.programas-section { max-width: 1200px; margin: 80px auto; padding: 0 20px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 40px; color: var(--primary); }
.section-header p { color: var(--text-muted); font-size: 16px; margin-top: 10px; line-height: 1.6; }
.title-line { width: 80px; height: 4px; background: var(--secondary); margin: 20px auto 0 auto; border-radius: 2px; }

.programas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.programa-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); text-align: center; transition: all 0.4s ease; border-bottom: 5px solid transparent; }
.programa-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-bottom: 5px solid var(--primary); }
.active-card { background: var(--primary); color: var(--white); transform: scale(1.05); border-bottom: 5px solid var(--secondary); }
.active-card:hover { transform: scale(1.05) translateY(-5px); }
.card-icon { font-size: 40px; color: var(--secondary); margin-bottom: 20px; }
.active-card .card-icon { color: var(--white); }
.programa-card h3 { font-size: 20px; margin-bottom: 15px; }
.programa-card p { font-size: 14px; line-height: 1.6; opacity: 0.9; }

.card-features { list-style: none; text-align: left; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,0.1); }
.card-features li { font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.card-features li i { color: var(--secondary); }

/* ALIANZAS */
.alliances { text-align: center; margin: 80px 0; padding: 40px; background: var(--white); }
.alianza-title { font-size: 18px; font-weight: 600; display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 40px; letter-spacing: 1px;}
.alianza-title span { width: 60px; height: 2px; background-color: var(--secondary); }
.alianza-title strong { color: var(--primary); }
.alianza-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.alianza-item { color: var(--primary); font-weight: 800; font-size: 14px; text-align: center; transition: transform 0.3s; }
.alianza-item:hover { transform: scale(1.1); color: var(--primary-light); }
.alianza-item i { font-size: 30px; color: var(--secondary); margin-bottom: 10px; display: block; }

/* ESTILOS DEL FORMULARIO */
.form-wrapper { width: 100%; padding: 80px 20px 40px 20px; display: flex; justify-content: center; background: linear-gradient(135deg, rgba(234, 227, 214, 0.45) 0%, rgba(248, 246, 240, 0.95) 100%); }
.form-wrapper .form-container { background: linear-gradient(145deg, var(--white) 0%, #fdf9f3 100%); max-width: 720px; width: 100%; padding: 45px 40px; border-radius: var(--radius-lg); box-shadow: 0 18px 60px rgba(122, 22, 43, 0.12); border: 1px solid rgba(122, 22, 43, 0.12); position: relative; overflow: hidden; }
.form-wrapper .form-container::before { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 0%, rgba(217, 195, 169, 0.24) 50%, transparent 100%); pointer-events: none; }
.form-wrapper .section-header h2 { font-family: 'Playfair Display', serif; font-size: 34px; color: var(--primary); margin-bottom: 15px; }
.form-wrapper .section-header p { font-size: 15px; color: var(--text-muted); line-height: 1.8; max-width: 650px; margin: 0 auto; }
.form-group { margin-bottom: 20px; text-align: left; position: relative; z-index: 1; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 8px; letter-spacing: 0.02em; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 15px; border: 1px solid rgba(122, 22, 43, 0.18); border-radius: 12px; font-size: 15px; font-family: inherit; background: rgba(248, 246, 240, 0.9); color: var(--text-dark); transition: border 0.3s, box-shadow 0.3s, transform 0.3s; box-shadow: inset 0 1px 3px rgba(0,0,0,0.04); }
.form-group select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%); background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px); background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(122, 22, 43, 0.08); transform: translateY(-1px); }
.form-submit-btn { width: 100%; font-size: 16px; padding: 16px; border-radius: 14px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); letter-spacing: 0.05em; font-weight: 700; }
.form-status { margin-top: 20px; font-size: 15px; color: var(--primary); line-height: 1.5; }
.form-status.error { color: #b22a2a; }

/* FOOTER */
.main-footer { background-color: var(--primary); color: var(--white); position: relative; padding-bottom: 80px; }
@media (max-width: 600px) {
    .main-footer { padding-bottom: 100px; }
}
.wave { display: block; width: 100%; height: 100px; position: absolute; top: -99px; left: 0; }
.footer-content { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; padding: 20px 20px 40px 20px; flex-wrap: wrap; gap: 40px;}
.footer-data { text-align: center; }
.footer-data h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.footer-data p { font-size: 14px; margin-bottom: 5px; opacity: 0.9; }

/* ANIMACIONES GLOBALES */
.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-links {
        position: static !important;
        top: auto !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        backdrop-filter: none !important;
        flex-direction: row !important;
        gap: 30px !important;
        justify-content: flex-end !important;
        padding-top: 0 !important;
        transform: none !important;
        transition: none !important;
        z-index: auto !important;
        padding-left: 0 !important;
    }
    
    .nav-links li {
        width: auto !important;
        padding: 0 !important;
        border-bottom: none !important;
    }
    
    .nav-links a {
        display: inline !important;
        font-size: 14px !important;
    }
    
    .nav-links .btn-primary {
        width: auto !important;
        padding: 12px 24px !important;
        margin-top: 0 !important;
        display: inline-block !important;
    }
}

@media (max-width: 1100px) {
    .main-wrapper { flex-direction: column; align-items: center; margin-top: 100px; }
    .left-content, .right-content { width: 100%; max-width: 600px; }
    .collage-container { margin-top: 60px; transform: scale(0.9); width: 100%; height: auto; }
    .amounts-banner { flex-direction: column; text-align: center; border-radius: 30px; gap: 20px; padding: 30px; }
    .separator { width: 100px; height: 2px; }
    .active-card { transform: none; }
    .active-card:hover { transform: translateY(-10px); }
    .hero-text { font-size: 22px; }
    .hero-text .highlight { font-size: 40px; }
}

@media (max-width: 600px) {
    .nav-container { padding: 0 15px; }
    .main-wrapper { margin-top: 90px; padding: 0 15px; gap: 20px; }
    .left-content, .right-content { width: 100%; max-width: 100%; }
    .hero-text { font-size: 20px; line-height: 1.25; text-align: center; }
    .hero-text .highlight { font-size: 32px; }
    .intro-text { font-size: 13px; text-align: center; }
    .benefits { gap: 15px; }
    .benefit-item { padding: 12px 15px; flex-direction: column; text-align: center; gap: 10px; }
    .benefit-item p { font-size: 13px; }
    .right-content { margin-top: 10px; }
    .collage-container { width: min(100%, 320px); height: 430px; margin: 0 auto 10px; transform: scale(1); }
    .main-shape { width: 220px; height: 200px; right: 20px; }
    .diamond-shape { top: 185px; right: 40px; width: 130px; height: 130px; }
    .bottom-left-shape { top: 280px; left: 0; width: 150px; height: 120px; }
    .bottom-right-shape { top: 280px; right: 0; width: 140px; height: 150px; }
    .floating-circle { top: 300px; left: -10px; width: 95px; height: 95px; }
    .circle-inner { font-size: 9px; }
    .circle-inner strong { font-size: 10px; }
    .amounts-banner { width: 95%; padding: 20px; border-radius: 20px; gap: 10px; margin: 24px auto 20px; }
    .amount .value { font-size: 32px; }
    .amount .label { font-size: 12px; }
    .promo-image-section { padding: 0 12px 20px; }
    .promo-image { width: 100%; max-width: 100%; }
    .alliances { padding: 24px 16px; margin: 40px 0 20px; }
    .alianza-title { font-size: 15px; gap: 10px; flex-wrap: wrap; }
    .alianza-grid { gap: 22px; }
    .alianza-item { font-size: 12px; }
    .alianza-item i { font-size: 24px; }
    .form-wrapper { padding: 50px 12px 30px; }
    .form-container { padding: 28px 18px; }
    .form-group input, .form-group select, .form-group textarea { padding: 13px; font-size: 14px; }
    .programas-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; padding: 20px; }
    .footer-data h3 { font-size: 18px; }
    .footer-data p { font-size: 12px; }
    .corner-image { max-width: 140px; width: 28vw; }
    .corner-top-left { top: 0; left: 0; transform: translate(0, 0); }
    .corner-bottom-right { bottom: 0; right: 0; transform: translate(0, 0); }
}