/* =============================================================================
   ASHFORD ACADEMY — Sistema web
   Calcado del ecosistema de interfaces del juego (CEF): paneles navy de 26px,
   tiles del menú F6, items del menú de pausa, barra de navegación flotante,
   tarjetas de misiones/recompensas y la nota de papel pautado.
   Evitar `inset` (la pantalla de carga corre en CEF antiguo).
   ============================================================================= */

:root {
    --bg: #0b1020;
    --panel: rgba(17, 23, 40, .97);
    --tile: rgba(30, 40, 68, .92);
    --card: rgba(34, 44, 72, .5);
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .12);

    --text: #e8edf7;
    --text-2: #c7d2e8;
    --muted: #8a98b8;
    --muted-2: #7f8db0;
    --dim: #6b7896;

    --gold: #ffce3a;
    --gold-grad: linear-gradient(150deg, #ffe27a, #ffb302);
    --gold-ink: #1a1305;
    --gold-soft: rgba(255, 206, 58, .12);
    --gold-line: rgba(255, 206, 58, .45);
    --green: #34d399;
    --red: #ef4444;

    --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --script: 'Segoe Script', 'Bradley Hand', 'Caveat', cursive;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font); font-size: 16px; line-height: 1.55;
    background: var(--bg); color: var(--text);
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* El mundo del juego detrás de los menús */
body::before {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2;
    background: url('/assets/loading/background.jpg') center / cover no-repeat;
    filter: grayscale(1); opacity: .06;
}
body::after {
    content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(0, 0, 0, .55) 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { list-style: none; }
::selection { background: var(--gold); color: var(--gold-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-thumb { background: #caa53a; border-radius: 8px; }
::-webkit-scrollbar-track { background: #0a0e1a; }

.gold { color: var(--gold); }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* ---------- Etiquetas ---------- */
.evsec, .setsec {
    font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted-2); margin: 26px 0 12px;
}
.evsec:first-child, .setsec:first-child { margin-top: 0; }
.pausetag { font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Medallón / iconos ---------- */
.crest {
    width: 48px; height: 48px; flex: none; border-radius: 13px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: var(--gold-ink); background: var(--gold-grad);
    box-shadow: 0 6px 16px rgba(255, 178, 2, .4), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.crest b { font-size: 21px; font-weight: 900; line-height: 1; }
.crest i { font-style: normal; font-size: 7.5px; font-weight: 800; letter-spacing: .12em; opacity: .85; margin-top: 2px; }
.ti {
    width: 42px; height: 42px; flex: none; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); background: var(--gold-soft); font-size: 18px;
}
.ti-lg { width: 56px; height: 56px; border-radius: 15px; font-size: 23px; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    border: none; cursor: pointer; font-family: inherit; font-weight: 800; font-size: 15px;
    border-radius: 11px; padding: 12px 20px; white-space: nowrap;
    color: var(--gold-ink); background: var(--gold);
    transition: filter .12s, transform .12s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.btn-ghost:hover { background: rgba(255, 255, 255, .13); filter: none; }
.btn-lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }
.btn-block { width: 100%; }
.x {
    width: 44px; height: 44px; flex: none; border-radius: 13px; border: none; cursor: pointer;
    color: #fff; font-size: 18px; font-weight: 700; background: rgba(220, 55, 55, .85);
    transition: filter .12s, transform .12s;
}
.x:hover { filter: brightness(1.12); }
.x:active { transform: scale(.95); }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; color: inherit; text-align: left; }
.link-btn:hover { color: var(--gold); }

/* ---------- Chips y badges ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: #cdd7ea; white-space: nowrap;
}
.chip i { color: var(--gold); font-size: 12px; }
.gdot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(52, 211, 153, .8); }
.ftag {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    background: rgba(255, 206, 58, .18); color: var(--gold); border-radius: 999px; padding: 4px 10px;
}
.b3 {
    display: inline-block; flex: none; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 4px 12px;
    background: rgba(52, 211, 153, .16); color: #7ee2a0;
}
.b3.soon { background: rgba(255, 206, 58, .16); color: var(--gold); }

/* ---------- Panel (menú F6) ---------- */
.panel {
    position: relative; overflow: hidden; border-radius: 26px;
    background: var(--panel); border: 1px solid rgba(255, 255, 255, .09);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.phead {
    display: flex; align-items: center; gap: 18px; padding: 26px 32px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    background: radial-gradient(120% 180% at 0% 0%, rgba(255, 206, 58, .10), transparent 55%);
}
.ptitle { font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; text-shadow: 0 0 22px rgba(255, 206, 58, .35); }
.psub { font-size: 15px; color: var(--muted); margin-top: 4px; }
.phead .chips { margin-left: auto; justify-content: flex-end; }
.pbody { padding: 28px 32px 32px; }

/* ---------- Tiles ---------- */
.tile {
    position: relative; overflow: hidden; border-radius: 18px; padding: 20px 22px;
    background: var(--tile); border: 1px solid var(--line);
    display: flex; flex-direction: column;
    transition: transform .14s, border-color .14s, box-shadow .14s;
}
a.tile:hover, .tile.hover:hover { transform: translateY(-3px); border-color: rgba(255, 206, 58, .5); }
.th { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tt { font-size: 19px; font-weight: 900; line-height: 1.2; }
.go { position: absolute; top: 18px; right: 22px; color: var(--muted-2); font-size: 24px; font-weight: 700; line-height: 1; }
.tile:hover .go { color: var(--gold); }
.desc { font-size: 15px; color: #90a0c0; line-height: 1.6; }
.desc strong { color: var(--text-2); }

/* ---------- Tarjetas de evento ---------- */
.evcard {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px;
    padding: 14px 16px 14px 22px; border-radius: 14px;
    background: var(--card); border: 1px solid rgba(255, 255, 255, .07);
}
.evcard::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.evcard .et { font-weight: 800; font-size: 16px; }
.evcard .em { font-size: 14px; color: var(--muted); margin-top: 2px; }
.evcard.danger { background: rgba(239, 68, 68, .08); border-color: rgba(239, 68, 68, .25); }
.evcard.danger::before { background: #ff5b5b; }
.evcard.danger > i { color: #ff8a8a; }

/* ---------- Filas de ajustes ---------- */
.setrow {
    display: flex; align-items: center; gap: 14px; padding: 13px 16px; border-radius: 13px;
    background: var(--card); border: 1px solid rgba(255, 255, 255, .07);
}
.setrow .sl { flex: 1; min-width: 0; }
.setrow .sln { font-weight: 700; font-size: 15px; }
.setrow .sld { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.keyb {
    flex: none; min-width: 44px; text-align: center; background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 9px; padding: 8px 12px;
    font-weight: 800; font-size: 14px; color: var(--text);
}
.tgl { position: relative; flex: none; width: 48px; height: 27px; border-radius: 999px; background: rgba(255, 255, 255, .12); }
.tgl.on { background: var(--gold); }
.tgl::after { content: ''; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; }
.tgl.on::after { left: 24px; }

/* ---------- Items del menú de pausa ---------- */
.it {
    position: relative; display: flex; align-items: center; gap: 16px; padding: 14px 14px; border-radius: 13px;
    color: var(--text-2); font-size: 18px; font-weight: 700; cursor: pointer;
    transition: color .15s, background .15s, padding .18s;
}
.it > i { width: 24px; text-align: center; font-size: 19px; opacity: .7; transition: opacity .15s, color .15s; }
.it::before {
    content: ''; position: absolute; left: 0; top: 50%; height: 0; width: 3px; border-radius: 2px;
    background: var(--gold); transform: translateY(-50%); transition: height .2s;
}
.it:hover { background: rgba(255, 255, 255, .06); color: #fff; padding-left: 22px; }
.it:hover > i { opacity: 1; color: var(--gold); }
.it:hover::before { height: 60%; }
.it .hint { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.it.active { background: linear-gradient(90deg, rgba(255, 206, 58, .18), rgba(255, 206, 58, .04)); color: var(--gold); }
.it.active > i { opacity: 1; color: var(--gold); }
.it.active::before { left: 4px; width: 4px; height: 60%; background: linear-gradient(180deg, #ffe27a, #ffae00); box-shadow: 0 0 10px rgba(255, 178, 2, .6); }

/* ---------- Navegación superior (flotante) ---------- */
.topnav {
    position: fixed; top: 16px; left: 50%; z-index: 200; width: min(1160px, calc(100% - 32px));
    display: flex; align-items: center; transform: translateX(-50%);
    transition: transform .35s var(--ease), opacity .3s;
}
.topnav.hide { transform: translate(-50%, -150%); opacity: 0; }
.tn-logo { position: relative; z-index: 2; flex: none; margin-right: -22px; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .65)); transition: transform .2s; }
.tn-logo:hover { transform: scale(1.04); }
.tn-logo img { height: 56px; width: auto; }
.tn-bar {
    flex: 1; min-width: 0; height: 52px; display: flex; align-items: center; padding: 0 8px 0 38px; border-radius: 14px;
    background: rgba(10, 14, 28, .42); border: 1px solid rgba(255, 255, 255, .07);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    transition: background .25s, box-shadow .25s, border-color .25s;
}
.topnav.solid .tn-bar, .topnav.open .tn-bar { background: rgba(10, 14, 28, .88); border-color: rgba(255, 255, 255, .09); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.tn-links { display: flex; align-items: center; gap: 2px; }
.tn-links a {
    position: relative; padding: 8px 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    color: #b9c5dd; transition: color .15s;
}
.tn-links a:hover { color: #fff; }
.tn-links a.on { color: var(--gold); }
.tn-links a.on::after {
    content: ''; position: absolute; left: 50%; bottom: -3px; margin-left: -5px;
    border: 5px solid transparent; border-top-width: 0; border-bottom-color: var(--gold);
}
.tn-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.tn-ghost {
    display: flex; align-items: center; gap: 8px; padding: 8px 12px;
    font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #9fb0d0; transition: color .15s;
}
.tn-ghost i { font-size: 15px; }
.tn-ghost:hover { color: var(--gold); }
.tn-cta { padding: 9px 18px; border-radius: 10px; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; }
.tn-burger {
    display: none; width: 40px; height: 40px; border: 0; border-radius: 10px; cursor: pointer;
    align-items: center; justify-content: center; background: rgba(255, 255, 255, .07); color: var(--text); font-size: 16px;
}
.tn-mobile { display: none; }

@media (max-width: 1020px) {
    .tn-links, .tn-ghost { display: none; }
    .tn-burger { display: flex; }
    .tn-logo img { height: 46px; }
    .tn-bar { height: 48px; padding-left: 30px; }
    .tn-mobile {
        position: absolute; top: calc(100% + 8px); left: 0; right: 0; padding: 8px; border-radius: 16px;
        background: rgba(10, 14, 28, .96); border: 1px solid rgba(255, 255, 255, .09); box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    }
    .topnav.open .tn-mobile { display: grid; gap: 2px; }
    .tn-mobile a {
        display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 11px;
        font-weight: 800; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
    }
    .tn-mobile a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
    .tn-mobile a i { width: 18px; text-align: center; color: var(--gold); }
}
/* Móvil: una sola barra con el logo dentro (sin solaparse) */
@media (max-width: 1020px) {
    .topnav {
        top: 12px; width: calc(100% - 24px); height: 58px; padding: 0 9px 0 14px; border-radius: 16px;
        background: rgba(10, 14, 28, .55); border: 1px solid rgba(255, 255, 255, .08);
        -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        transition: transform .35s var(--ease), opacity .3s, background .25s, box-shadow .25s;
    }
    .topnav.solid, .topnav.open { background: rgba(10, 14, 28, .92); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
    .tn-logo { margin-right: 0; }
    .tn-logo img { height: 42px; }
    .tn-bar, .topnav.solid .tn-bar, .topnav.open .tn-bar {
        height: auto; padding: 0; background: none; border: 0; box-shadow: none;
        -webkit-backdrop-filter: none; backdrop-filter: none;
    }
    .tn-cta { padding: 9px 14px; font-size: 12px; }
    .tn-mobile { top: calc(100% + 8px); background: rgba(10, 14, 28, .98); }
    .tn-mobile .tn-dl { justify-content: center; margin-top: 6px; background: var(--gold); color: var(--gold-ink); }
    .tn-mobile .tn-dl i { color: var(--gold-ink); }
    .tn-mobile .tn-dl:hover { background: #ffd95f; color: var(--gold-ink); }
}
@media (max-width: 480px) { .tn-cta { display: none; } }

/* ---------- Nota de papel pautado ---------- */
.note {
    position: relative; background: linear-gradient(160deg, #f7efd8, #efe3c4);
    border: 1px solid #d8c49a; border-radius: 14px; padding: 26px 26px 22px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .6);
    transform: rotate(-.4deg);
}
.note h2 { font-family: var(--script); font-weight: 700; font-size: 26px; color: #6b4f33; text-align: center; margin-bottom: 16px; }
.sheet {
    position: relative; overflow: hidden; border-radius: 8px; background-color: #fffdf3;
    background-image: repeating-linear-gradient(#fffdf3, #fffdf3 31px, #a9c0dc 31px, #a9c0dc 32px);
    box-shadow: inset 0 0 24px rgba(140, 110, 60, .1), 0 4px 12px rgba(0, 0, 0, .18);
}
.sheet::before { content: ''; position: absolute; top: 0; bottom: 0; left: 44px; width: 2px; background: rgba(214, 120, 120, .7); }
.sheet .ro { color: #2c3b52; font-family: var(--script); font-size: 19px; line-height: 32px; padding: 6px 18px 8px 58px; }
.sheet .ro b { color: #1c2a42; }
.note .mrow { display: flex; gap: 10px; margin-top: 18px; justify-content: flex-end; flex-wrap: wrap; }
.note .btn-paper { background: rgba(120, 90, 50, .16); color: #5c4326; box-shadow: none; }

/* ---------- Modal oscuro ---------- */
.ov {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000;
    display: none; align-items: center; justify-content: center; padding: 24px;
    background: rgba(4, 7, 14, .72);
}
.ov.show { display: flex; animation: pop .18s ease both; }
.cmodal {
    width: 100%; max-width: 760px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden;
    background: linear-gradient(180deg, rgba(26, 34, 58, .99), rgba(14, 19, 36, 1));
    border: 1px solid rgba(255, 206, 58, .28); border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .65);
    animation: pop .18s ease both;
}
.cmodal .phead { padding: 20px 24px 18px; }
.cmodal .ptitle { font-size: 24px; }
.cmodal .x { margin-left: auto; }
.cmodal-body { padding: 6px 28px 24px; overflow-y: auto; }
.cmodal-body h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; margin: 24px 0 8px; }
.cmodal-body h3 i { color: var(--gold); width: 18px; text-align: center; font-size: 14px; }
.cmodal-body p, .cmodal-body li { font-size: 14.5px; line-height: 1.7; color: #c2cee6; }
.cmodal-body p + p { margin-top: 8px; }
.cmodal-body strong { color: var(--text); }
.cmodal-body ul { margin: 8px 0; display: grid; gap: 6px; }
.cmodal-body ul li { position: relative; padding-left: 18px; }
.cmodal-body ul li::before { content: ''; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.cmodal-foot { padding: 14px 24px; border-top: 1px solid rgba(255, 255, 255, .07); display: flex; justify-content: flex-end; }

/* ---------- Pie ---------- */
.site-foot { padding: 30px 0 40px; }
.site-foot .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.pcard {
    display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
}
.pcard .pn { font-weight: 800; font-size: 16px; }
.pcard .pj { font-size: 13px; color: #90a0c0; margin-top: 2px; }
.pcard .pm { margin-left: auto; padding-left: 16px; color: var(--gold); font-weight: 900; font-size: 16px; white-space: nowrap; }
.foot { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.foot a:hover, .foot .link-btn:hover { color: var(--gold); }

/* ---------- Secciones (portada, blog) ---------- */
.sec { position: relative; padding: 130px 0; scroll-margin-top: 0; }
.sec.band { background: linear-gradient(180deg, rgba(14, 20, 39, 0), rgba(14, 20, 39, .9) 14%, rgba(14, 20, 39, .9) 86%, rgba(14, 20, 39, 0)); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.eyebrow {
    display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
    font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-2);
}
.eyebrow b { color: var(--gold); font-weight: 800; letter-spacing: .06em; }
.eyebrow .ln { width: 36px; height: 1px; background: rgba(255, 206, 58, .5); }
.h2 { font-size: clamp(38px, 4.6vw, 66px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.h2 .gold { text-shadow: 0 0 30px rgba(255, 206, 58, .3); }
.lead { font-size: 18px; line-height: 1.7; color: #aab6d0; margin-top: 22px; max-width: 560px; }
.lead strong { color: var(--text); font-weight: 700; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Footer del sitio ---------- */
.site-foot.ftr { padding: 0; margin-top: 60px; border-top: 1px solid rgba(255, 255, 255, .07); background: linear-gradient(180deg, rgba(10, 14, 28, .5), #070a14 60%); }
.ftr-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding: 76px 0 64px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ftr-cta h3 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; }
.ftr-cta p { color: var(--muted); margin-top: 10px; font-size: 16px; }
.ftr-cta .row { display: flex; gap: 12px; flex-wrap: wrap; }
.ftr-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; padding: 64px 0 56px; }
.ftr-brand img { width: 200px; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .6)); }
.ftr-brand p { color: var(--muted); font-size: 14.5px; line-height: 1.7; margin-top: 18px; max-width: 330px; }
.ftr h5 { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.ftr ul { display: grid; gap: 12px; }
.ftr ul a, .ftr ul .link-btn { color: var(--text-2); font-size: 15px; font-weight: 600; transition: color .15s; }
.ftr ul a:hover, .ftr ul .link-btn:hover { color: var(--gold); }
.social { display: flex; gap: 10px; margin-top: 24px; }
.social a {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); color: var(--text-2); font-size: 17px;
    transition: background .15s, color .15s;
}
.social a:hover { background: var(--gold); color: var(--gold-ink); border-color: transparent; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 36px; border-top: 1px solid rgba(255, 255, 255, .07); font-size: 13px; color: var(--dim); }

@media (max-width: 1020px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .ftr-grid { grid-template-columns: 1fr; } .wrap { padding: 0 18px; } .sec { padding: 84px 0; } }

/* ---------- Animaciones ---------- */
@keyframes pop { from { opacity: 0; } to { opacity: 1; } }
@keyframes fi { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sectionIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }

.js .reveal { opacity: 0; transform: scale(.97); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
