/* =========================================================
Header y footer · copia exacta del kit de la promo de monedas (Sueño Dorado PA, main-v14.css)
Reglas copiadas tal cual, en el mismo orden de cascada. Solo cambian textos, anclas, CTA, redes y legales (en el HTML).
Variables que usa el kit: --fuente, --progreso, --estructura, --vital, --blanco, --t-small.
========================================================= */
:root { --vital: #3DAE2B; --cimiento: #348F41; --progreso: #006C32; --estructura: #005D33; --blanco: #FFFFFF;
--fuente: "Urbane", "Arial", sans-serif; --hdr-h: 72px; --ease-out: cubic-bezier(.22, 1, .36, 1); --t-small: .875rem; }
[hidden] { display: none !important; }
html { scroll-padding-top: var(--hdr-h); }
/* Herencia del body del kit (font 500 / 1rem / 1.5): el header y el footer la reciben igual que en la referencia */
.nav, .menu-movil, .footer { font-family: var(--fuente); font-weight: 500; font-size: 1rem; line-height: 1.5; }

/* ---------- 00 · HEADER ---------- */
.nav { position: sticky; top: 0; z-index: 200; height: 72px; background: #047940; display: flex; align-items: center; }
.nav-logo-link { display: block; height: 100%; flex-shrink: 0; }
.nav-asset1 { height: 100%; width: auto; display: block; }
.nav-asset2 { position: absolute; right: 0; top: 0; height: 100%; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 0; position: relative; z-index: 1; margin: 0 auto; }
.nav-link { font-family: 'Urbane', sans-serif; font-weight: 500; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
color: rgba(255,255,255,.85); text-decoration: none; position: relative; padding: 6px 18px; border: none; border-radius: 0;
background: transparent; transition: color .2s, background .2s; }
.nav-link + .nav-link:not(.nav-link-cta) { border-left: 1px solid rgba(255,255,255,.28); }
.nav-link:hover:not(.nav-link-cta) { color: #fff; background: rgba(255,255,255,.08); }
.nav-link-cta { background: transparent; color: #1a1a1a; padding: 8px 20px; border-radius: 4px; font-weight: 700; letter-spacing: 2px; margin-left: 16px;
transition: background .2s, transform .15s; }
.nav-link-cta:hover { background: #ffd020; transform: translateY(-1px); color: #1a1a1a; }
.nav-link-cta:active { transform: scale(.97); }
.nav-social { position: absolute; right: 112px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; z-index: 2;
padding-left: 16px; border-left: 1px solid rgba(255,255,255,.22); }
.nav-social-link { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.85);
transition: background .2s, border-color .2s, color .2s, transform .18s; }
.nav-social-link:hover { color: #fff; transform: scale(1.08); }
.nav-social-link[aria-label^="Facebook"]:hover { background: #1877F2; border-color: #1877F2; }
.nav-social-link[aria-label^="Instagram"]:hover { background: #E1306C; border-color: #E1306C; }
.nav-social-link svg { width: 15px; height: 15px; display: block; }
.nav-hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px;
background: none; border: none; cursor: pointer; margin-left: auto; margin-right: 12px; z-index: 201; padding: 4px; position: relative; }
.nav-hamburger span { display: block; width: 30px; height: 3px; background: linear-gradient(90deg, #2EA832, #F5C400); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav { transition: background-color .3s ease, box-shadow .3s ease; }
.nav.stuck { background: rgba(6,14,6,.88); -webkit-backdrop-filter: blur(20px) saturate(1.6); backdrop-filter: blur(20px) saturate(1.6);
box-shadow: 0 1px 0 0 rgba(46,168,50,.35), 0 2px 0 0 rgba(46,168,50,.10), 0 8px 32px rgba(0,0,0,.55), inset 0 -1px 0 rgba(46,168,50,.08); }
.nav.stuck::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; pointer-events: none;
background: linear-gradient(90deg, transparent 0%, rgba(46,168,50,.25) 15%, rgba(46,232,58,.8) 35%, rgba(245,196,0,.9) 50%, rgba(46,232,58,.8) 65%, rgba(46,168,50,.25) 85%, transparent 100%); }
.nav.stuck .nav-link-cta { background: #2EA832; color: #fff; }
.nav.stuck .nav-link-cta:hover { background: #26922a; color: #fff; }

/* Menú celular */
.menu-movil { line-height: normal; position: fixed; top: 72px; left: 0; right: 0; z-index: 199; display: flex; flex-direction: column; padding: 16px 0 24px;
background: rgba(4, 121, 64, 0.97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: menuIn .3s ease; }
.menu-movil[hidden] { display: none; }
.menu-movil.cerrando { animation: menuOut .3s ease forwards; }
.nav-mobile-link { font-family: 'Urbane', sans-serif; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: #fff; text-decoration: none;
padding: 14px 28px; border-bottom: 1px solid rgba(255,255,255,.1); }
.nav-mobile-cta { margin: 12px 28px 0; background: #F5C400; color: #1a1a1a; font-weight: 700; border-radius: 4px; text-align: center; padding: 12px 20px; border-bottom: none; }
.nav-mobile-social { display: flex; align-items: center; justify-content: center; gap: 32px; padding: 16px 28px 22px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 4px; }
.nav-mobile-social-link { display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: color .2s; min-width: 44px; min-height: 44px; }
.nav-mobile-social-link svg { width: 24px; height: 24px; display: block; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-10px); } }
@keyframes menuOut { to { opacity: 0; transform: translateY(-10px); } }

/* ---------- 05 · FOOTER ---------- */
.footer { position: relative; border-top: none; padding: 32px 60px 20px; overflow: hidden; background: rgb(3,45,18); color: #fff; }
.footer::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #2EA832, #F5C400, #2EA832); z-index: 2; }
.footer > * { position: relative; z-index: 1; }
.footer-row { display: flex; justify-content: center; max-width: 1050px; margin: 0 auto 28px; }
.footer-legal { text-align: center; font-size: 11px; line-height: 1.8; text-shadow: 0 1px 8px rgba(0,0,0,.9); display: flex; flex-direction: column; gap: 10px; }
.footer-vigencia { color: rgba(255,255,255,.85); }
.footer-restricciones { color: rgba(255,255,255,.55); font-size: 10px; }
.footer-copyright { color: rgba(255,255,255,.45); font-size: 10px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-top { max-width: 1060px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-nav-links { display: flex; align-items: center; gap: 0; }
.footer-nav-link { font-family: var(--fuente); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; text-decoration: none; padding: 6px 22px; transition: color .2s; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.footer-nav-link:not(:first-child) { border-left: 1px solid rgba(255,255,255,.25); }
.footer-nav-link:hover { color: #F5C400; }
.footer-contact { display: flex; align-items: center; gap: 14px; }
.footer-socials { display: flex; align-items: center; gap: 10px; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #fff;
transition: background .2s, border-color .2s, color .2s; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4)); }
.footer-social-link:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.6); }
.footer-social-link svg { width: 15px; height: 15px; display: block; }
.footer-download { display: inline-flex; align-items: center; gap: 7px; font-family: var(--fuente); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; text-decoration: none;
border: 1px solid rgba(255,255,255,.4); padding: 8px 16px; border-radius: 4px; transition: color .2s, border-color .2s, background .2s; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
.footer-download:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }
.footer-divider { max-width: 1060px; margin: 0 auto 14px; border: none; border-top: 1px solid rgba(255,255,255,.2); }
@media (max-width: 768px) {
.footer { padding: 24px 20px 16px; }
.footer-top { flex-direction: column; align-items: center; gap: 14px; margin-bottom: 16px; }
.footer-nav-links { flex-direction: column; align-items: center; gap: 4px; order: 0; }
.footer-nav-link:not(:first-child) { border-left: none; border-top: 1px solid rgba(255,255,255,.15); padding-top: 10px; }
.footer-nav-link { padding: 6px 0; text-align: center; }
.footer-contact { flex-direction: column; align-items: center; gap: 14px; order: 1; }
.footer-socials { flex-direction: row; justify-content: center; gap: 12px; }
}
@media (max-width: 480px) { .footer { padding: 20px 16px 14px; } }
@media (max-width: 1180px) { .footer-top { justify-content: center; } }
.footer-legal, .footer-nav-link, .footer-download { text-shadow: none; }
.footer-social-link { filter: none; }
.footer-vigencia, .footer-restricciones, .footer-copyright { color: #FFFFFF; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .nav-social { display: none; } }
@media (max-width: 900px) {
.nav-links, .nav-social { display: none; }
.nav-hamburger { display: flex; }
}
@media (max-width: 640px) {
.nav-links, .nav-social { display: none; }
.nav-hamburger { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
.nav, .nav *, .menu-movil, .menu-movil *, .footer * { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* ---------- Capas posteriores del kit (B2 marca, v11, v13) ---------- */
.nav-link-cta { color: var(--blanco) !important; }
.nav-link, .footer-nav-link, .footer-download { font-size: var(--t-small); letter-spacing: .06em; }
.nav, .nav.stuck { background: var(--progreso); -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.stuck { box-shadow: 0 4px 18px rgba(0,40,20,.25); }
.nav.stuck::after { display: none; }
.nav-link-cta, .nav.stuck .nav-link-cta { background: var(--blanco); color: var(--progreso) !important; }
.nav-link-cta:hover, .nav.stuck .nav-link-cta:hover { background: #E6F4E2; color: var(--estructura) !important; }
.nav-hamburger span { background: var(--blanco); }
.nav-mobile-cta { background: var(--blanco); color: var(--progreso); }
.footer { background: var(--estructura); }
.footer::after { background: var(--vital); }
.footer-nav-link:hover { color: var(--blanco); text-decoration: underline; text-underline-offset: 4px; }
.footer-logo { display: block; width: 8.5rem; height: auto; margin: 0 auto 1.75rem; position: relative; z-index: 3; }
.footer-legal { font-size: var(--t-small); line-height: 1.5; max-width: 70ch; margin-inline: auto; }
.footer-vigencia { font-size: var(--t-small); }
.footer-restricciones, .footer-copyright { font-size: .8125rem; }
.nav-hamburger { min-width: 44px; min-height: 44px; }
.footer-nav-link, .footer-download { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.nav-mobile-link, .nav-mobile-cta { min-height: 44px; display: flex; align-items: center; }
.nav-mobile-cta { justify-content: center; }
@media (max-width: 1400px) { .nav-social { display: none; } }
.footer-top { flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.footer-nav-links { justify-content: center; flex-wrap: wrap; }
.footer-contact { justify-content: center; }
.nav, .nav.stuck { background: #047940; }
.nw { white-space: nowrap; }
.footer-social-link { width: 44px; height: 44px; }
#menu-movil { isolation: isolate; }
#menu-movil:not([hidden]) { box-shadow: 0 0 0 100vmax rgba(0, 35, 18, .6); clip-path: inset(0 0 -100vmax 0); }
@media (min-width: 900px) and (max-width: 1300px) { .nav-link { white-space: nowrap; font-size: 11.5px; letter-spacing: 1.2px; padding-inline: 12px; } .nav-links { margin-right: clamp(110px, 12vw, 170px); } }
@media (max-width: 768px) { .footer-nav-link { width: min(240px, 70vw); } }
