/* =========================================================
   SISTEMA DE DISEÑO ULTRA HIGH-TICKET (NIVEL 10)
   BASE COMPLETA + FIX MODAL MERCADO PAGO
   ========================================================= */
:root {
    --clr-black: #020305;
    --clr-midnight: #060A11; 
    --clr-slate-900: #0F172A;
    --clr-slate-800: #1E293B;
    --clr-slate-500: #64748B;
    --clr-slate-400: #94A3B8;
    --clr-slate-200: #E2E8F0;
    --clr-pearl: #F4F6F9; 
    --clr-white: #FFFFFF;
    --clr-brand-blue: #0A2540; 
    --clr-brand-light: #F0F4F8;
    --clr-accent-blue: #2563EB; 
    --clr-gold: #D4AF37; 
}

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

html, body { overflow-x: hidden; width: 100%; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--clr-pearl); 
    color: var(--clr-slate-900); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased; 
}

.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
h1, h2, h3, h4 { text-wrap: balance; } 

/* =========================================================
   1. HERO SECTION
   ========================================================= */
.elite-hero-wrapper { background-color: var(--clr-midnight); color: var(--clr-white); position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.03); }
.ambient-glow { position: absolute; top: -20%; left: 50%; transform: translateX(-50%); width: 80vw; height: 80vh; background: radial-gradient(circle, rgba(10,37,64,0.6) 0%, rgba(6,10,17,0) 70%); pointer-events: none; z-index: 0; }
.top-nav, .hero-section { position: relative; z-index: 2; }
.top-nav { padding: 24px 0; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.brand-logo { text-decoration: none; }
.brand-logo-img-top{display:block;width:100%;max-width:220px;aspect-ratio:220/93;object-fit:contain;filter:brightness(0) invert(1);opacity:.95}
.hero-section { padding: 10px 0 60px; } 
.hero-stack { display: flex; flex-direction: column; align-items: center; width: 100%; }
.headline-primary { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 4rem); line-height: 1.15; font-weight: 700; margin-bottom: 24px; text-align: center; letter-spacing: -0.02em; }
.text-gold-metallic { background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 25%, #B38728 50%, #FBF5B7 75%, #AA771C 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; font-weight: 600; }
.headline-sub { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--clr-slate-400); text-align: center; max-width: 650px; margin-bottom: 32px; font-weight: 400; line-height: 1.5; }
.headline-sub strong { color: var(--clr-white); font-weight: 600; }
.video-pure-black { width: 100%; max-width: 280px; aspect-ratio: 4/5; position: relative; cursor: pointer; margin-bottom: 40px; border-radius: 12px; -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%); transition: transform 0.3s ease;}
.video-pure-black:hover { transform: scale(1.02); }
.expert-video { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; border: none; outline: none; border-radius: 12px;} 
.btn-unmute { position: absolute; bottom: 16px; right: 16px; width: 44px; height: 44px; background: rgba(255,255,255,0.15); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 20; transition: background 0.3s; }
.btn-unmute svg { width: 20px; height: 20px; color: var(--clr-white); }
.pause-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--clr-white); opacity: 0; transition: opacity 0.2s ease; pointer-events: none; z-index: 15; }
.pause-overlay svg { width: 24px; height: 24px; }

/* =========================================================
   2. CHECKOUT MODULES (AIRE Y CRO)
   ========================================================= */
.checkout-wrapper { display: flex; justify-content: center; width: 100%; }
.premium-glass { background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.checkout-module-dark { width: 100%; max-width: 480px; margin: 0 auto; border-radius: 20px; padding: 48px 32px 32px; position: relative; }
.premium-badge-wrapper { position: absolute; top: -16px; left: 0; width: 100%; text-align: center; }
.premium-badge-gold { background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 50%, #B38728 100%); color: #000; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.05em; padding: 8px 24px; border-radius: 30px; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2); }
.checkout-grid-list { list-style: none; padding: 0; margin: 0 0 32px 0; display: flex; flex-direction: column; gap: 20px; }
.checkout-grid-list li { display: flex; align-items: flex-start; font-size: 0.95rem; color: var(--clr-slate-200); line-height: 1.5; text-align: left;}
.icon-col { width: 24px; flex-shrink: 0; margin-right: 14px; padding-top: 2px; }
.icon-col svg { width: 22px; height: 22px; color: #BF953F; } 
.text-col { flex: 1; }
.text-col strong { color: var(--clr-white); font-weight: 600;}
.section-mid-checkout { padding: 80px 0; position: relative; z-index: 5; }
.section-mid-checkout .premium-glass { background: rgba(10, 37, 64, 0.95); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.3); }

/* Botones Premium */
.btn-elite-blue { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 100%; text-decoration: none; text-align: center; background: linear-gradient(180deg, var(--clr-accent-blue) 0%, #1D4ED8 100%); color: var(--clr-white); border-radius: 14px; padding: 20px 16px; box-shadow: inset 0 1px 1px rgba(255,255,255,0.3), 0 8px 20px rgba(37, 99, 235, 0.3); border: 1px solid #1E40AF; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; font-family: inherit;}
.btn-elite-blue:hover { transform: translateY(-3px); box-shadow: inset 0 1px 1px rgba(255,255,255,0.4), 0 12px 24px rgba(37, 99, 235, 0.5); }
.btn-text { font-size: 1.15rem; font-weight: 800; letter-spacing: 0.02em; line-height: 1; margin-bottom: 8px; text-shadow: 0 1px 2px rgba(0,0,0,0.2);}
.btn-price { font-size: 1.4rem; font-weight: 800; color: #FCF6BA; line-height: 1; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

/* Barra de Confianza (CRO) */
.trust-bar-micro { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.05); }
.trust-item { display: flex; align-items: center; gap: 6px; color: var(--clr-slate-400); font-size: 0.75rem; font-weight: 500; }
.trust-item svg { width: 14px; height: 14px; color: #BF953F; }

.btn-glow { animation: pulseBlueGlow 3s infinite; }
@keyframes pulseBlueGlow { 0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); } 70% { box-shadow: 0 0 0 15px rgba(37, 99, 235, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); } }

/* =========================================================
   NUEVO: ESTILOS PARA EL MODAL DE PAGO (INCRUSTADO)
   FIX PARA PERMITIR CLIC EN LOS IFRAMES DE MERCADO PAGO
   ========================================================= */
.custom-modal-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    /* FIX 1: Fondo oscuro sólido. SIN backdrop-filter:blur para que Chrome no bloquee el click en los iframes */
    background: rgba(2, 3, 5, 0.98); 
    display: flex; justify-content: center; align-items: center;
    z-index: 10000; opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
    padding: 20px;
}
.custom-modal-overlay.active { opacity: 1; pointer-events: auto; }
.custom-modal-content {
    background: var(--clr-slate-900); width: 100%; max-width: 500px;
    border-radius: 24px; padding: 48px 40px 40px; position: relative;
    border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 40px 100px rgba(0,0,0,0.9);
    max-height: 90vh; overflow-y: auto;
    /* FIX 2: Modal estático, sin animaciones de margin o transform para que Mercado Pago calcule bien sus coordenadas */
}
.close-modal { position: absolute; top: 20px; right: 24px; color: var(--clr-slate-400); cursor: pointer; font-size: 36px; line-height: 1; transition: color 0.2s; z-index: 100;}
.close-modal:hover { color: var(--clr-white); }


/* =========================================================
   3. TRAMO CLARO: FROSTED PEARL GLASSMORPHISM
   ========================================================= */
.section-luxury-pearl { padding: 100px 0; background-color: var(--clr-pearl); }
.section-border-top { border-top: 1px solid rgba(0,0,0,0.03); } 
.section-heading { max-width: 720px; margin: 0 auto 64px; }
.serif-title { font-family: 'Playfair Display', serif; font-size: 2.6rem; color: var(--clr-brand-blue); margin-bottom: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2;}
.section-heading p { font-size: 1.15rem; color: var(--clr-slate-600); line-height: 1.6;}
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.frosted-glass-light { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 10px 40px -10px rgba(10, 37, 64, 0.04), inset 0 1px 0 rgba(255,255,255,1); }
.editorial-card-luxe { padding: 48px 32px; border-radius: 24px; text-align: left; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease; }
.editorial-card-luxe:hover { transform: translateY(-8px); box-shadow: 0 20px 50px -10px rgba(10, 37, 64, 0.08), inset 0 1px 0 rgba(255,255,255,1); }
.icon-gold-luxe { width: 56px; height: 56px; background: linear-gradient(135deg, rgba(191, 149, 63, 0.15) 0%, rgba(252, 246, 186, 0.05) 100%); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; color: #BF953F; border: 1px solid rgba(191, 149, 63, 0.2);}
.icon-gold-luxe svg { width: 28px; height: 28px; }
.editorial-card-luxe h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--clr-brand-blue); margin-bottom: 16px; line-height: 1.3;}
.editorial-card-luxe p { font-size: 1.05rem; color: var(--clr-slate-600); line-height: 1.6; margin: 0;}

/* =========================================================
   4. TIMELINE
   ========================================================= */
.timeline-container-luxe { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; }
.timeline-step-luxe { display: flex; align-items: flex-start; gap: 32px; padding: 40px 32px; border-radius: 24px; position: relative;}
.step-circle-luxe { width: 52px; height: 52px; background: var(--clr-pearl); color: var(--clr-slate-400); font-weight: 800; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.3rem; border: 1px solid rgba(0,0,0,0.05); transition: all 0.3s ease; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);}
.active-step { padding-left: 32px; border-left: 4px solid #BF953F; }
.glow-gold-luxe { background: linear-gradient(135deg, #BF953F 0%, #FCF6BA 100%); color: #000; border: none; box-shadow: 0 0 25px rgba(191, 149, 63, 0.4); animation: pulseGoldGlow 3s infinite; }
.step-content-luxe { flex: 1; text-align: left; }
.step-content-luxe h4 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--clr-brand-blue); margin-bottom: 10px;}
.step-content-luxe p { font-size: 1.05rem; color: var(--clr-slate-600); line-height: 1.6; margin: 0;}
.timeline-line-luxe { height: 32px; width: 2px; background: rgba(0,0,0,0.05); margin-left: 57px;}
.gold-gradient { background: linear-gradient(to bottom, rgba(0,0,0,0.05), #BF953F); }

/* =========================================================
   5. UPSELL CARD
   ========================================================= */
.premium-upsell-bg { background-image: radial-gradient(circle at center, #0F172A 0%, var(--clr-midnight) 100%); position: relative; padding: 120px 0;}
.glass-upsell { background: rgba(255,255,255,0.02); backdrop-filter: blur(15px); border-radius: 24px; max-width: 800px; margin: 0 auto; border: 1px solid rgba(191, 149, 63, 0.2); padding: 72px 56px; text-align: center; box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6); position: relative; z-index: 2; }
.upsell-badge { display: inline-block; padding: 10px 20px; background: rgba(191, 149, 63, 0.1); border: 1px solid rgba(191, 149, 63, 0.3); color: #FCF6BA; font-size: 0.85rem; font-weight: 800; letter-spacing: 0.1em; border-radius: 30px; margin-bottom: 36px;}
.upsell-title { font-family: 'Playfair Display', serif; font-size: 2.6rem; margin-bottom: 28px; color: var(--clr-white); font-weight: 700; line-height: 1.2;}
.upsell-text { font-size: 1.15rem; color: var(--clr-slate-300); line-height: 1.6; margin-bottom: 32px;}
.upsell-text strong { color: var(--clr-white); font-weight: 600;}
.upsell-highlight-box { background: rgba(0,0,0,0.4); border-left: 4px solid #BF953F; padding: 32px; border-radius: 0 16px 16px 0; text-align: left; }
.upsell-highlight-box p { margin: 0; font-size: 1.05rem; color: var(--clr-slate-200); line-height: 1.6;}
.upsell-highlight-box strong { color: #FCF6BA; }

/* =========================================================
   6. FAQ
   ========================================================= */
.faq-container-luxe { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px;}
.faq-row-luxe { border-radius: 20px; overflow: hidden; transition: all 0.3s ease; padding: 12px 32px;}
.faq-row-luxe[open] { padding-bottom: 32px; box-shadow: 0 10px 30px rgba(10,37,64,0.05);}
.faq-row-luxe summary { padding: 24px 0; font-family: 'Playfair Display', serif; font-weight: 600; color: var(--clr-brand-blue); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: 1.3rem; }
.faq-row-luxe summary::-webkit-details-marker { display: none; }
.faq-row-luxe summary::after { content: '+'; font-size: 2rem; color: #BF953F; font-weight: 300; transition: transform 0.3s; line-height: 1;}
.faq-row-luxe[open] summary::after { transform: rotate(45deg); color: var(--clr-accent-blue);}
.faq-answer-luxe { padding: 0 0 12px; color: var(--clr-slate-600); line-height: 1.6; font-size: 1.05rem;}

/* =========================================================
   7. FOOTER Y CIERRE
   ========================================================= */
.section-dark-slate { background-color: var(--clr-midnight); color: var(--clr-white); }
.close-funnel { padding: 100px 0 120px; }
.site-footer { padding: 80px 0; font-size: 0.95rem; background-color: var(--clr-midnight); color: var(--clr-slate-300); border-top: 1px solid rgba(255,255,255,0.05); }
.flex-col-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-brand { max-width: 200px; margin-bottom: 32px; filter: brightness(0) invert(1); opacity: 0.9; transition: opacity 0.3s ease;}
.footer-brand:hover { opacity: 1; }
.footer-cert { color: var(--clr-white); font-size: 1rem; font-weight: 600; letter-spacing: 0.05em; line-height: 1.5; margin-bottom: 48px; text-transform: uppercase;}
.footer-address-box { margin-bottom: 48px; background: rgba(255,255,255,0.03); padding: 40px 48px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); max-width: 600px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.address-main { color: var(--clr-white); margin-bottom: 16px; font-size: 1.1rem; font-weight: 600; }
.address-note { color: var(--clr-slate-400); font-size: 0.95rem; line-height: 1.6; font-style: italic;}

/* =========================================================
   8. WIDGET WHATSAPP
   ========================================================= */
.whatsapp-btn-fixed { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; align-items: center; text-decoration: none; }
.whatsapp-tooltip-text { background: #FFFFFF; color: #0F172A; font-weight: 700; font-size: 14px; padding: 10px 20px; border-radius: 24px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); margin-right: 16px; border: 1px solid #E2E8F0; white-space: nowrap; animation: pulse-wa 2s infinite; }
.whatsapp-icon-circle { width: 64px; height: 64px; background: #25D366; border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); flex-shrink: 0; }
.whatsapp-icon-circle svg { width: 34px; height: 34px; fill: #FFF; }
@keyframes pulse-wa { 0% { transform: translateX(0); } 50% { transform: translateX(-5px); } 100% { transform: translateX(0); } }

/* =========================================================
   9. FORMS Y ADMIN
   ========================================================= */
.onboarding-wrapper { display: flex; justify-content: center; align-items: center; min-height: 100vh; padding: 60px 20px; }
.form-container { width: 100%; max-width: 600px; text-align: left; }
.form-group { margin-bottom: 24px; }
.form-label { display: block; color: var(--clr-slate-300); margin-bottom: 10px; font-size: 1rem; font-weight: 600; }
.form-control { width: 100%; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.15); color: #FFF; padding: 16px 20px; border-radius: 10px; outline: none; transition: border-color 0.3s; font-size: 1.05rem; }
.form-control:focus { border-color: #BF953F; background: rgba(255,255,255,0.06); }
.form-checkbox-group { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; color: var(--clr-slate-400); font-size: 0.9rem; line-height: 1.5; }
.form-checkbox-group input { margin-top: 5px; }

/* =========================================================
   COMPRESIÓN MÓVIL EXTREMA Y AIRE (CRO)
   ========================================================= */
@media (max-width: 768px) {
    .container { padding: 0 24px; } 
    .top-nav { padding: 20px 0; }
    .brand-logo-img-top { max-width: 190px; }
    .hero-section { padding: 10px 0 50px; }
    .headline-primary { font-size: 1.4rem; margin-bottom: 16px;}
    .mobile-hide { display: none !important; }
    
    .video-pure-black { max-width: 240px; margin-bottom: 40px; border-radius: 16px;}
    .btn-unmute { width: 44px; height: 44px; bottom: 16px; right: 16px; }
    
    .premium-badge-wrapper { top: -16px; }
    .premium-badge-gold { font-size: 0.7rem; padding: 8px 20px;}
    
    .checkout-module-dark { padding: 40px 24px 32px; max-width: 100%; margin: 0 auto;}
    .checkout-grid-list { gap: 16px; margin-bottom: 28px;}
    .checkout-grid-list li { font-size: 0.9rem; line-height: 1.5;} 
    .icon-col { width: 22px; margin-right: 12px; padding-top: 0;}
    .icon-col svg { width: 20px; height: 20px;}
    
    .btn-elite-blue { padding: 18px 16px; border-radius: 12px; }
    .btn-text { font-size: 1.05rem; margin-bottom: 6px;}
    .btn-price { font-size: 1.25rem;}
    
    .trust-bar-micro { flex-direction: column; gap: 12px; padding-top: 16px; align-items: flex-start;}
    .trust-item { font-size: 0.8rem;}

    .section-luxury-light, .section-luxury-pearl { padding: 80px 0; }
    .close-funnel { padding: 60px 0 100px; }
    .section-heading { margin-bottom: 48px;}
    .serif-title { font-size: 2rem; margin-bottom: 16px;}
    .section-heading p { font-size: 1.05rem; }
    
    .editorial-card-luxe { padding: 32px 24px; border-radius: 20px;}
    .editorial-card-luxe h3 { font-size: 1.35rem; }
    
    .timeline-step-luxe { flex-direction: column; gap: 20px; padding: 32px 24px; border-radius: 20px;}
    .active-step { padding-left: 24px; border-left: none; border-top: 4px solid #BF953F; }
    .timeline-line-luxe { height: 24px; margin: 0 auto; }
    
    .premium-upsell-bg { padding: 80px 0;}
    .glass-upsell { padding: 48px 24px; border-radius: 20px;}
    .upsell-title { font-size: 2rem; }
    .upsell-text { font-size: 1.05rem; }
    .upsell-highlight-box { padding: 24px; border-radius: 0 12px 12px 0;}
    
    .faq-row-luxe { padding: 12px 20px; border-radius: 16px;}
    .faq-row-luxe summary { font-size: 1.15rem; padding: 20px 0; }
    .faq-answer-luxe { padding: 0 0 20px; font-size: 1rem; }
    
    .site-footer{padding:80px 0;font-size:.95rem;background-color:var(--clr-midnight);color:var(--clr-slate-200);border-top:1px solid rgba(255,255,255,.05)}
    .footer-address-box { padding: 32px 24px; }
    
    .whatsapp-btn-fixed { bottom: 20px; right: 20px; }
    .whatsapp-tooltip-text { font-size: 13px; padding: 8px 16px; margin-right: 12px; }
    .whatsapp-icon-circle { width: 56px; height: 56px; }
    .whatsapp-icon-circle svg { width: 30px; height: 30px; }

    /* Modal Mobile */
    .custom-modal-content { padding: 32px 24px; }
}