/* ==========================================================================
   WIN OR LEARN — SHARED CORE ARCHITECTURE (assets/wol-core.css)
   ========================================================================== */
:root {
    --container-width: 1280px;
    --section-space: clamp(4.5rem, 7vw, 6.5rem);
}

#scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px;
    background: var(--gold-gradient); width: 0%; z-index: 10000;
}
.noise-overlay {
    position: fixed; inset: 0; z-index: -1;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03; pointer-events: none;
}

/* SIMETRIA EN HEADER (3 COLUMNAS) */
header {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    padding: 0 5% !important;
    height: 84px !important;
    background: rgba(4, 4, 7, 0.92) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.16) !important;
}
.logo {
    justify-self: start;
    font-size: 1.25rem !important;
    letter-spacing: 2px !important;
}
.nav-links {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 1.5rem !important;
    list-style: none;
}
.nav-links a, .nav-link-item {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.78rem !important;
    font-weight: 600;
    letter-spacing: 1.4px !important;
    text-transform: uppercase;
    transition: color 0.25s ease;
    position: relative;
    white-space: nowrap;
    padding: 0.3rem 0;
}
.nav-links a:hover, .nav-links a.active, .nav-link-item:hover, .nav-link-item.active {
    color: var(--gold-light) !important;
}
.nav-links a.active::after, .nav-link-item.active::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 100%; height: 2px; background: var(--gold-gradient);
}
.nav-actions {
    justify-self: end;
    display: flex; align-items: center; gap: 1rem !important;
}
.lang-switch {
    display: inline-flex; align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 50px; padding: 3px; gap: 2px; font-size: 0;
}
.lang-switch span {
    padding: 0.3rem 0.65rem; border-radius: 50px;
    font-size: 0.72rem !important; font-weight: 700;
    color: var(--text-muted); cursor: pointer;
    transition: all 0.25s ease; user-select: none;
}
.lang-switch span.active {
    background: var(--gold-gradient); color: #000 !important;
    text-shadow: none !important; font-weight: 800;
}
.btn-nav {
    padding: 0.62rem 1.35rem !important; font-size: 0.72rem !important;
    letter-spacing: 1.5px !important; white-space: nowrap;
}

/* MENU HAMBURGUESA Y DRAWER MOVIL */
.menu-toggle {
    display: none; flex-direction: column; justify-content: center; align-items: center;
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-gold);
    background: rgba(212, 175, 55, 0.08); cursor: pointer; gap: 5px; z-index: 1002; padding: 0;
}
.menu-toggle span { display: block; width: 17px; height: 2px; background: var(--gold-light); transition: 0.3s ease; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px); z-index: 98; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-drawer {
    position: fixed; top: 0; right: -100%; width: min(82vw, 330px); height: 100dvh;
    background: rgba(6, 6, 12, 0.98); backdrop-filter: blur(24px);
    border-left: 1px solid var(--border-gold); z-index: 99; padding: 100px 1.8rem 2rem 1.8rem;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: right 0.35s cubic-bezier(0.19, 1, 0.22, 1); overflow-y: auto;
}
.mobile-drawer.open { right: 0; }
.mobile-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 1.05rem; }
.mobile-drawer ul a {
    color: #fff; text-decoration: none; font-family: var(--font-head); font-size: 1.02rem;
    font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    display: flex; justify-content: space-between; align-items: center;
    padding-bottom: 0.7rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-drawer ul a.active { color: var(--gold-light); border-bottom-color: rgba(212, 175, 55, 0.4); }
.mobile-drawer ul a::after { content: '→'; color: var(--gold-primary); }
.mobile-drawer .btn-drawer {
    background: var(--gold-gradient); color: #000; text-align: center; padding: 0.95rem;
    border-radius: 50px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px;
    font-size: 0.76rem; text-decoration: none; display: block; margin-top: 1.5rem;
}

/* WHATSAPP DARK LUXURY & FOOTER */
.whatsapp-float {
    background: linear-gradient(145deg, rgba(14, 14, 22, 0.96), rgba(4, 4, 8, 0.98)) !important;
    border: 1px solid rgba(212, 175, 55, 0.55) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(212, 175, 55, 0.18) !important;
}
.whatsapp-float svg { fill: var(--gold-light) !important; }
.whatsapp-float::after {
    content: ''; position: absolute; top: 4px; right: 4px;
    width: 10px; height: 10px; border-radius: 50%;
    background: #10b981; border: 2px solid #040407; box-shadow: 0 0 8px #10b981;
}

/* ANIMACION SUAVE AL CAMBIAR TABS */
@keyframes panelFadeIn {
    0% { opacity: 0.35; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}
.panel-animate { animation: panelFadeIn 0.28s ease-out; }

@media (max-width: 1150px) {
    header { display: flex !important; justify-content: space-between !important; }
    .nav-links, .btn-nav { display: none !important; }
    .menu-toggle { display: flex !important; }
}


/* ==========================================================================
   UNIVERSAL FAQ ACCORDION ENGINE (assets/wol-core.css)
   ========================================================================== */
.faq-section {
    max-width: var(--container-width);
    margin: 0 auto var(--section-space) auto;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}
.faq-header {
    text-align: center;
    margin-bottom: 3.2rem;
}
.faq-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 3px;
    color: var(--gold-light);
    padding: 0.45rem 1.25rem;
    border: 1px solid var(--border-gold);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.08);
    display: inline-block;
    margin-bottom: 1rem;
}
.faq-header h2 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4.3vw, 3.2rem);
    line-height: 1.12;
}
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}
.faq-item {
    background: linear-gradient(145deg, rgba(16, 16, 26, 0.8) 0%, rgba(8, 8, 14, 0.95) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
}
.faq-item.active {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.12);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.5rem 1.8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    color: #fff;
    font-family: var(--font-head);
    font-size: clamp(1rem, 2vw, 1.18rem);
    font-weight: 700;
    line-height: 1.35;
    transition: color 0.25s ease;
}
.faq-item:hover .faq-question {
    color: var(--gold-light);
}
.faq-icon {
    position: relative;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--gold-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.35s ease, background 0.3s ease;
}
.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--gold-light);
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; }
.faq-item.active .faq-icon {
    transform: rotate(135deg);
    background: var(--gold-gradient);
    border-color: transparent;
}
.faq-item.active .faq-icon::before, .faq-item.active .faq-icon::after {
    background: #000;
}
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}
.faq-answer {
    overflow: hidden;
    min-height: 0;
}
.faq-answer p {
    padding: 0 1.8rem 1.6rem 1.8rem;
    color: #d4d4d8;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.75;
}
@media (max-width: 768px) {
    .faq-question { padding: 1.25rem 1.2rem !important; font-size: 0.98rem !important; }
    .faq-answer p { padding: 0 1.2rem 1.35rem 1.2rem !important; font-size: 0.88rem !important; }
}
