/* =========================================================
   PDM - Periodismo del Misterio · Sitio público
   ========================================================= */
:root {
    --bg: #050a14;
    --bg-2: #08111f;
    --bg-3: #0c1a2f;
    --panel: rgba(13, 26, 48, .62);
    --line: rgba(130, 170, 230, .14);
    --line-2: rgba(214, 169, 58, .35);
    --gold: #d6a93a;
    --gold-2: #f3cf6b;
    --gold-grad: linear-gradient(135deg, #f3cf6b 0%, #d6a93a 45%, #a87a1f 100%);
    --blue: #7fb0ff;
    --text: #e8edf5;
    --muted: #93a1b8;
    --red: #ff4d57;
    --green: #2fd27a;
    --radius: 14px;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
    --f-display: 'Oswald', 'Arial Narrow', sans-serif;
    --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-mono: 'JetBrains Mono', ui-monospace, monospace;
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 15px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; letter-spacing: .02em; margin: 0; line-height: 1.15; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
::selection { background: var(--gold); color: #000; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1d2c47; border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.noise {
    position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .05; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Botones ---------- */
.btn {
    --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--h); padding: 0 22px; border-radius: 4px; border: 1px solid transparent;
    font: 600 14px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
    position: relative; overflow: hidden; white-space: nowrap; background: none;
}
.btn .ic { width: 18px; height: 18px; }
.btn-gold { background: var(--gold-grad); color: #120d02; box-shadow: 0 10px 30px -12px rgba(214, 169, 58, .8); }
.btn-gold::after {
    content: ''; position: absolute; inset: 0; transform: translateX(-120%);
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transition: transform .7s;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(214, 169, 58, .95); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); background: rgba(5, 10, 20, .25); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-2px); }
.btn-outline { border-color: var(--line-2); color: var(--gold-2); }
.btn-outline:hover { background: rgba(214, 169, 58, .12); border-color: var(--gold); }
.btn-sm { --h: 36px; padding: 0 14px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.icon-btn {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
    border: 1px solid transparent; background: none; position: relative; transition: .25s;
}
.icon-btn:hover { border-color: var(--line-2); color: var(--gold-2); }
.icon-btn .ic { width: 20px; height: 20px; }
.round-btn {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--line); background: var(--panel); transition: .25s;
}
.round-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
    transition: background .35s, height .35s, border-color .35s, backdrop-filter .35s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, body:not(.home) .site-header {
    --header-h: 64px; background: rgba(5, 10, 20, .78); backdrop-filter: blur(16px) saturate(140%);
    border-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand img { max-height: 46px; width: auto; }
.brand-mark {
    font: 700 38px/0.9 var(--f-display); letter-spacing: .02em;
    background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 10px rgba(214, 169, 58, .35));
}
.brand-sub { font: 600 9px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.brand-lg .brand-mark { font-size: 54px; }
.brand-lg .brand-sub { font-size: 11px; }
.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
    font: 500 13px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase;
    padding: 10px 10px; position: relative; color: #dbe2ee; transition: color .2s;
}
.main-nav a::after {
    content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--gold-2); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.nav-mobile-only { display: none; }
.header-actions { display: flex; gap: 4px; }
.menu-btn { display: none; }
.cart-count {
    position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--gold); color: #000; font: 700 11px/18px var(--f-body);
}
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.5); } }

/* ---------- Hero ---------- */
.hero {
    position: relative; min-height: min(100vh, 900px); min-height: min(100svh, 900px);
    display: flex; align-items: center; overflow: hidden; isolation: isolate;
}
.hero-bg {
    position: absolute; inset: -30px; background: center 60% / cover no-repeat; z-index: -3;
    transform: scale(1.06); transition: transform .2s linear; will-change: transform;
}
.hero::before {
    content: ''; position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(90deg, rgba(5, 10, 20, .92) 0%, rgba(5, 10, 20, .55) 45%, rgba(5, 10, 20, .05) 75%),
        linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.starfield { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; mix-blend-mode: screen; }
.hero-scan {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px);
}
.hero-content { padding: calc(var(--header-h) + 40px) 0 80px; position: relative; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 30px;
    border: 1px solid var(--line-2); background: rgba(214, 169, 58, .08);
    font: 500 12px/1 var(--f-display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; flex: none; }
.pulse-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 1.6s infinite; }
.pulse-dot.red { background: var(--red); }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.hero-title {
    font: 700 clamp(52px, 9vw, 116px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: .01em;
    margin: 22px 0 22px; text-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.hero-title > span { display: block; }
.hero-title .ch {
    display: inline-block; opacity: 0; transform: translateY(60%) rotateX(-80deg); filter: blur(8px);
    animation: chIn .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * 35ms + .2s);
}
.hero-title > span:last-child { background: linear-gradient(180deg, #fff 30%, #b9c6dc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title > span:last-child .ch { background: inherit; -webkit-background-clip: text; background-clip: text; }
@keyframes chIn { to { opacity: 1; transform: none; filter: none; } }
.hero-sub { max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); color: var(--gold-2); margin: 0 0 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats { display: flex; gap: 40px; margin: 54px 0 0; flex-wrap: wrap; }
.hero-stats div { border-left: 2px solid var(--gold); padding-left: 14px; }
.hero-stats dt { font: 700 34px/1 var(--f-display); }
.hero-stats dd { margin: 4px 0 0; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; }
.scroll-hint {
    position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .4);
    border-radius: 14px; transform: translateX(-50%);
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }

/* ---------- Ticker ---------- */
.ticker { display: flex; align-items: stretch; border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.ticker-label {
    flex: none; display: flex; align-items: center; gap: 10px; padding: 0 22px; background: var(--gold-grad); color: #120d02;
    font: 600 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; z-index: 1;
}
.ticker-label .pulse-dot { background: #120d02; }
.ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move span { display: flex; align-items: center; gap: 10px; padding: 14px 28px; white-space: nowrap; color: #c7d2e6; font-size: 14px; }
.ticker-move .ic { color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 80px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-title { font-size: clamp(22px, 2.4vw, 28px); text-transform: uppercase; letter-spacing: .06em; position: relative; padding-bottom: 14px; margin-bottom: 24px; }
.section-head .section-title { margin-bottom: 0; }
.section-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--gold-grad); border-radius: 2px; }
.rail-nav { display: flex; gap: 8px; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2); }
.link-more:hover .ic { transform: translateX(4px); }
.link-more .ic { transition: transform .25s; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* Tarjetas de noticias (carrusel) */
.rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px;
}
.rail::-webkit-scrollbar { display: none; }
.card-news {
    scroll-snap-align: start; position: relative; aspect-ratio: 4 / 3.6; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); background: var(--bg-3); isolation: isolate;
}
.card-news img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
.card-news::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 6, 12, .96) 8%, rgba(3, 6, 12, .3) 60%, transparent); }
.card-news:hover img { transform: scale(1.08); }
.card-news-body { position: absolute; inset: auto 0 0; padding: 18px; }
.card-news h3 { font-size: 19px; font-weight: 500; margin: 10px 0 8px; }
.card-news time { font-size: 12px; color: var(--muted); }
.tag {
    display: inline-block; padding: 4px 8px; border-radius: 3px; background: var(--gold-grad); color: #120d02;
    font: 600 10px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase;
}
.tilt { transform-style: preserve-3d; transition: transform .4s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; }
.tilt:hover { border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(214, 169, 58, .35); }
.tilt::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; z-index: 3; opacity: 0; transition: opacity .3s;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(243, 207, 107, .15), transparent 45%);
}
.tilt:hover::after { opacity: 1; }

/* Casos + radio */
.split-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-card {
    position: relative; min-height: 300px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    display: flex; align-items: flex-end; isolation: isolate;
}
.case-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s; filter: saturate(.85); }
.case-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(3, 6, 12, .95) 15%, rgba(3, 6, 12, .2)); }
.case-card:hover img { transform: scale(1.08); }
.case-body { padding: 18px; }
.case-num { font: 700 46px/1 var(--f-display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case-card h3 { font-size: 20px; text-transform: uppercase; margin: 4px 0 4px; }
.case-meta { font-size: 12px; color: var(--muted); margin: 0 0 14px; }

.radio-card { border-left: 1px solid var(--line); padding-left: 40px; }
.radio-player {
    position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9.5;
    background: radial-gradient(circle at 50% 40%, #13264a, #060c18 70%); border: 1px solid var(--line);
    display: grid; place-items: center; isolation: isolate;
}
.radio-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; opacity: .45; }
.radio-waves { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; gap: 2px; }
.radio-waves i {
    width: 3px; border-radius: 2px; background: var(--gold); opacity: .8;
    height: calc(10px + (var(--i) * 7 % 50) * 1px); animation: wave 1.2s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -90ms);
    animation-play-state: paused;
}
.radio-waves i:nth-child(n+8):nth-child(-n+21) { opacity: 0; }
.radio-player.is-playing .radio-waves i { animation-play-state: running; }
@keyframes wave { from { transform: scaleY(.25); } to { transform: scaleY(1.15); } }
.radio-logo { text-align: center; margin-top: -40px; }
.radio-logo b { font: 700 46px/1 var(--f-display); display: block; letter-spacing: .04em; }
.radio-logo small { letter-spacing: .3em; text-transform: uppercase; font-size: 11px; color: #c7d2e6; }
.radio-play {
    position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%;
    border: 2px solid #fff; background: rgba(5, 10, 20, .5); display: grid; place-items: center; transition: .25s;
}
.radio-play:hover { background: var(--gold); border-color: var(--gold); color: #000; transform: translateX(-50%) scale(1.08); }
.radio-play .ic { width: 22px; height: 22px; }
.radio-play .when-playing, .radio-player.is-playing .when-paused { display: none; }
.radio-player.is-playing .when-playing { display: block; }
.radio-player.is-playing .radio-play { box-shadow: 0 0 0 0 rgba(214, 169, 58, .7); animation: ring 1.6s infinite; }
@keyframes ring { to { box-shadow: 0 0 0 22px rgba(214, 169, 58, 0); } }
.radio-info { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.radio-info small { display: block; color: var(--gold); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.radio-info b { font-size: 15px; }
.live { display: inline-flex; align-items: center; gap: 8px; color: var(--red); font: 600 13px/1 var(--f-display); text-transform: uppercase; letter-spacing: .1em; }

/* Biblioteca / videos / reporte */
.split-3 { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 0; }
.split-3 > * { padding: 0 32px; }
.split-3 > *:first-child { padding-left: 0; }
.split-3 > *:last-child { padding-right: 0; }
.split-3 > * + * { border-left: 1px solid var(--line); }
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 24px; }
.lib-item {
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 20px 10px; border-radius: var(--radius);
    border: 1px solid var(--line); background: var(--panel); transition: .3s; text-align: center;
}
.lib-item:hover { border-color: var(--gold); transform: translateY(-4px); background: rgba(214, 169, 58, .07); }
.lib-icon .ic { width: 42px; height: 42px; color: var(--gold); stroke-width: 1.3; transition: transform .4s; }
.lib-item:hover .lib-icon .ic { transform: rotate(-8deg) scale(1.1); }
.lib-item b { font: 600 14px/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; }
.lib-item small { color: var(--muted); font-size: 12px; }
.video-main { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-main img, .video-main iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 50%); pointer-events: none; }
.video-main.has-iframe::after { display: none; }
.video-play {
    position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; z-index: 2;
    border: 2px solid #fff; background: rgba(0, 0, 0, .35); backdrop-filter: blur(4px); display: grid; place-items: center; transition: .3s;
}
.video-play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); animation: ping 2s infinite; }
.video-play:hover { background: var(--gold); border-color: var(--gold); color: #000; transform: scale(1.08); }
.video-play .ic { width: 26px; height: 26px; margin-left: 4px; }
.video-title { position: absolute; left: 16px; bottom: 14px; right: 16px; z-index: 2; font: 500 16px/1.3 var(--f-display); letter-spacing: .04em; }
.video-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: 8px; }
.video-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; background: #000; opacity: .55; transition: .25s; }
.video-thumbs button:hover, .video-thumbs button.is-active { opacity: 1; border-color: var(--gold); }
.video-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.report-lead { font-weight: 600; margin: -8px 0 14px; font-size: 14px; }
.form { display: grid; gap: 10px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input, textarea, select {
    width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--line); background: rgba(3, 7, 15, .65);
    color: var(--text); font: 14px/1.3 var(--f-body); transition: border-color .2s, box-shadow .2s; color-scheme: dark;
}
input::placeholder, textarea::placeholder { color: #6e7d96; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214, 169, 58, .18); }
textarea { resize: vertical; min-height: 80px; }
.file-field { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: #c7d2e6; cursor: pointer; position: relative; }
.file-field input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-field [data-file-label] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }

/* ---------- Tienda ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; }
.product-img { position: relative; aspect-ratio: 1; overflow: hidden; background: #060c18; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.product:hover .product-img img { transform: scale(1.07) rotate(-1deg); }
.badge-sale, .badge-out { position: absolute; top: 12px; left: 12px; padding: 5px 9px; border-radius: 3px; font: 600 11px/1 var(--f-display); letter-spacing: .08em; }
.badge-sale { background: var(--red); color: #fff; }
.badge-out { left: auto; right: 12px; background: #1d2a40; color: var(--muted); text-transform: uppercase; }
.product-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.product-cat { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: 10px; font-weight: 600; }
.product h3 { font-size: 18px; font-weight: 500; margin: 4px 0 6px; }
.product-desc { font-size: 13px; color: var(--muted); margin: 0 0 14px; flex: 1; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price b { font: 600 19px/1 var(--f-display); color: var(--gold-2); display: block; }
.price s { font-size: 12px; color: var(--muted); }

.store-toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
    padding: 9px 16px; border-radius: 30px; border: 1px solid var(--line); background: var(--panel);
    font: 500 13px/1 var(--f-display); letter-spacing: .08em; text-transform: uppercase; transition: .2s;
}
.chip:hover, .chip.is-active { border-color: var(--gold); color: var(--gold-2); background: rgba(214, 169, 58, .1); }

/* Drawer carrito */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 91; width: min(420px, 100%); display: flex; flex-direction: column;
    background: linear-gradient(180deg, #0b1628, #060c18); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.drawer.is-open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; text-transform: uppercase; }
.drawer-head h3 .ic { color: var(--gold); }
.drawer-body { flex: 1; overflow: auto; padding: 12px 20px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-note { font-size: 12px; color: var(--muted); margin: 0; text-align: center; }
.cart-total { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-display); text-transform: uppercase; letter-spacing: .08em; }
.cart-total b { font-size: 24px; color: var(--gold-2); }
.checkout { display: grid; gap: 8px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-line h4 { font: 500 15px/1.3 var(--f-body); }
.cart-line small { color: var(--gold-2); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 20px; margin-top: 6px; }
.qty button { width: 28px; height: 26px; border: 0; background: none; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.cart-remove { border: 0; background: none; color: var(--muted); }
.cart-remove:hover { color: var(--red); }
.cart-empty { text-align: center; color: var(--muted); padding: 50px 10px; }
.cart-empty .ic { width: 54px; height: 54px; color: var(--gold); opacity: .6; margin: 0 auto 12px; }

/* Miembros + newsletter */
.members-cta { padding: 70px 0; }
.members-inner {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 34px 40px; border-radius: 20px;
    border: 1px solid var(--line-2); position: relative; overflow: hidden;
    background: radial-gradient(600px 200px at 0% 0%, rgba(214, 169, 58, .18), transparent), var(--panel);
}
.members-inner::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 70%, var(--gold) 85%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spinBorder 6s linear infinite; }
@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes spinBorder { to { --a: 360deg; } }
.members-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: rgba(214, 169, 58, .12); color: var(--gold); }
.members-icon .ic { width: 36px; height: 36px; }
.members-inner h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 6px; }
.members-inner p { margin: 0; color: var(--muted); }
.newsletter {
    position: relative; padding: 46px 0; border-block: 1px solid var(--line); overflow: hidden; isolation: isolate;
    background: linear-gradient(90deg, rgba(5, 10, 20, .2), rgba(5, 10, 20, .85) 40%), var(--nl-img) left center / cover;
}
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding-left: min(18%, 220px); }
.newsletter h2 { font-size: 24px; text-transform: uppercase; }
.newsletter p { margin: 6px 0 0; color: #c7d2e6; font-size: 14px; }
.newsletter-form { display: flex; }
.newsletter-form input { border-radius: 4px 0 0 4px; height: 50px; border-color: var(--line-2); }
.newsletter-form .btn { border-radius: 0 4px 4px 0; height: 50px; }

/* Footer */
.site-footer { background: #03070e; padding: 60px 0 0; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-grid > div + div { border-left: 1px solid var(--line); padding-left: 26px; }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer-grid a, .footer-grid span { display: flex; align-items: center; gap: 8px; color: #b6c2d6; font-size: 13px; padding: 3px 0; transition: color .2s; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-brand p { color: #b6c2d6; font-size: 14px; margin: 16px 0; }
.social { display: flex; gap: 8px; }
.social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); justify-content: center; padding: 0; }
.social a:hover { border-color: var(--gold); }
.footer-contact p { color: #b6c2d6; font-size: 13px; margin: 0 0 8px; }
.footer-bottom { text-align: center; padding: 20px; margin-top: 50px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }

.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
    display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
    animation: floaty 3s ease-in-out infinite;
}
.wa-float .ic { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: waPing 2.2s infinite; }
@keyframes waPing { to { transform: scale(1.6); opacity: 0; } }
@keyframes floaty { 50% { transform: translateY(-6px); } }

.toast {
    position: fixed; left: 50%; bottom: 26px; z-index: 120; transform: translate(-50%, 140%); max-width: calc(100% - 40px);
    padding: 14px 20px; border-radius: 10px; background: #0f1d34; border: 1px solid var(--line-2); box-shadow: var(--shadow);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1); font-size: 14px;
}
.toast.is-show { transform: translate(-50%, 0); }
.toast.is-error { border-color: var(--red); }
.flash { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 60; padding: 12px 20px; border-radius: 8px; background: #0f1d34; border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: opacity .5s; }
.flash-error { border-color: var(--red); }

/* ---------- Páginas internas ---------- */
.page-hero { padding: calc(var(--header-h) + 60px) 0 50px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(900px 300px at 80% 0%, rgba(80, 130, 220, .2), transparent), var(--bg-2); }
.page-hero h1 { font-size: clamp(34px, 5vw, 60px); text-transform: uppercase; }
.page-hero p { color: var(--muted); max-width: 620px; }
.crumbs { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 12px; }
.crumbs a:hover { color: var(--gold); }
.article { max-width: 820px; margin: 0 auto; }
.article-cover { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: -20px 0 30px; aspect-ratio: 16 / 8; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 17px; line-height: 1.8; color: #d5dceb; }
.article-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 13px; margin-top: 16px; }
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.doc { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.doc-cover { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.doc-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.doc:hover .doc-cover img { transform: scale(1.06); }
.doc-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.doc-body h3 { font-size: 17px; font-weight: 500; }
.doc-body p { margin: 0; font-size: 13px; color: var(--muted); flex: 1; }
.doc-actions { display: flex; gap: 8px; margin-top: 10px; }
.doc-lock { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px; background: rgba(5, 10, 20, .8); border: 1px solid var(--line-2); color: var(--gold-2); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Auth */
.auth { min-height: 100vh; display: grid; place-items: center; padding: 110px 20px 60px; background: radial-gradient(800px 400px at 50% 0%, rgba(80, 130, 220, .22), transparent), var(--bg); }
.auth-card { width: min(440px, 100%); padding: 34px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 30px; text-transform: uppercase; margin-bottom: 6px; }
.auth-card p.lead { color: var(--muted); margin: 0 0 22px; font-size: 14px; }
.auth-card label { display: grid; gap: 6px; font-size: 13px; color: #c7d2e6; }
.auth-alt { text-align: center; font-size: 13px; color: var(--muted); margin-top: 18px; }
.auth-alt a { color: var(--gold-2); }
.alert { padding: 12px 14px; border-radius: 8px; font-size: 14px; border: 1px solid; margin-bottom: 14px; }
.alert-error { border-color: rgba(255, 77, 87, .5); background: rgba(255, 77, 87, .1); }
.alert-ok { border-color: rgba(47, 210, 122, .5); background: rgba(47, 210, 122, .1); }
.alert-info { border-color: var(--line-2); background: rgba(214, 169, 58, .08); }

/* Área de miembros */
.member-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 26px; align-items: start; }
.panel { border-radius: var(--radius); border: 1px solid var(--line); background: var(--panel); padding: 24px; }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 20px; text-transform: uppercase; margin-bottom: 14px; }
.wa-card { text-align: center; background: radial-gradient(300px 160px at 50% 0%, rgba(37, 211, 102, .2), transparent), var(--panel); }
.wa-card .wa-num { font: 600 26px/1.2 var(--f-display); letter-spacing: .04em; margin: 8px 0 16px; }
.wa-card .btn-wa { background: #25d366; color: #fff; }
.wa-icon { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; background: rgba(37, 211, 102, .15); color: #25d366; display: grid; place-items: center; }
.wa-icon .ic { width: 32px; height: 32px; }
.doc-list { display: grid; gap: 10px; }
.doc-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(3, 7, 15, .4); }
.doc-row img { width: 60px; height: 46px; object-fit: cover; border-radius: 6px; }
.doc-row b { display: block; font-weight: 500; }
.doc-row small { color: var(--muted); font-size: 12px; text-transform: capitalize; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; letter-spacing: .04em; border: 1px solid var(--line-2); color: var(--gold-2); }

/* =========================================================
   PRECARGAS (4 animaciones)
   ========================================================= */
.preloader {
    position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
    background: radial-gradient(circle at 50% 45%, #0d1d3a 0%, #050a14 60%, #02050b 100%);
    transition: opacity .8s ease, visibility .8s, clip-path 1s cubic-bezier(.7, 0, .2, 1);
    clip-path: circle(150% at 50% 50%);
}
.preloader.is-done { opacity: 0; visibility: hidden; clip-path: circle(0% at 50% 50%); pointer-events: none; }
.pl-stars {
    position: absolute; inset: 0; opacity: .7;
    background-image:
        radial-gradient(1px 1px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 80%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 50% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 60%, #fff, transparent),
        radial-gradient(1px 1px at 85% 15%, #fff, transparent), radial-gradient(1.5px 1.5px at 92% 85%, #fff, transparent),
        radial-gradient(1px 1px at 20% 50%, #fff, transparent), radial-gradient(1px 1px at 60% 90%, #fff, transparent);
    background-size: 340px 340px; animation: drift 60s linear infinite;
}
@keyframes drift { to { background-position: 340px 680px; } }
.pl-stage { position: relative; width: 300px; height: 260px; display: grid; place-items: center; }
.pl-foot { position: relative; display: grid; justify-items: center; gap: 12px; width: min(420px, 86vw); text-align: center; }
.pl-status { font: 500 13px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); }
.pl-status::after { content: '_'; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.pl-bar { width: 100%; height: 3px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: var(--p, 0%); background: var(--gold-grad); box-shadow: 0 0 14px var(--gold); transition: width .2s; }
.pl-pct { font: 600 26px/1 var(--f-display); letter-spacing: .06em; }

/* 1 · OVNI con haz de luz */
.pl-ovni .ufo { position: absolute; top: 20px; width: 170px; animation: hover 2.4s ease-in-out infinite; z-index: 2; }
.ufo-dome { width: 70px; height: 46px; margin: 0 auto -14px; border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: radial-gradient(circle at 40% 30%, #e6f2ff, #7fb0ff 50%, #2b5fa8); box-shadow: 0 0 30px rgba(127, 176, 255, .7); }
.ufo-body { position: relative; height: 34px; border-radius: 50%; background: linear-gradient(180deg, #5d6b85, #1b2436 60%, #0b111c); box-shadow: 0 0 40px rgba(127, 176, 255, .45), inset 0 2px 2px rgba(255, 255, 255, .4); display: flex; justify-content: space-around; align-items: center; padding: 0 16px; }
.ufo-body i { width: 8px; height: 8px; border-radius: 50%; background: #fff6c9; box-shadow: 0 0 10px #f3cf6b; animation: lights 1.4s infinite; }
.ufo-body i:nth-child(2n) { animation-delay: .35s; }
.ufo-body i:nth-child(3n) { animation-delay: .7s; }
@keyframes lights { 50% { background: #f3cf6b; opacity: .3; } }
@keyframes hover { 50% { transform: translateY(-12px) rotate(-2deg); } }
.ufo-beam {
    position: absolute; top: 78px; width: 220px; height: 170px; transform-origin: top;
    background: linear-gradient(180deg, rgba(191, 224, 255, .65), rgba(191, 224, 255, 0));
    clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%); animation: beam 2.4s ease-in-out infinite; filter: blur(1px);
}
@keyframes beam { 0%, 100% { opacity: .55; transform: scaleX(.9); } 50% { opacity: 1; transform: scaleX(1.05) translateY(-12px); } }
.ufo-dust { position: absolute; top: 90px; width: 160px; height: 160px; }
.ufo-dust span { position: absolute; bottom: 0; left: calc(10% + var(--i) * 7%); width: 3px; height: 3px; border-radius: 50%; background: #e6f2ff; animation: rise 2.2s linear infinite; animation-delay: calc(var(--i) * -.19s); opacity: 0; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-150px) scale(.4); opacity: 0; } }
.ufo-ground { position: absolute; bottom: 0; width: 260px; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(191, 224, 255, .45), transparent 70%); animation: beam 2.4s ease-in-out infinite; }

/* 2 · Radar */
.radar { position: relative; width: 240px; height: 240px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(47, 210, 122, .6); background: radial-gradient(circle, rgba(47, 210, 122, .1), rgba(2, 20, 10, .85) 70%); box-shadow: 0 0 40px rgba(47, 210, 122, .25), inset 0 0 40px rgba(47, 210, 122, .2); }
.radar-grid { position: absolute; inset: 0; border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 39px, rgba(47, 210, 122, .35) 39px 40px), linear-gradient(transparent calc(50% - .5px), rgba(47, 210, 122, .35) 0 calc(50% + .5px), transparent 0), linear-gradient(90deg, transparent calc(50% - .5px), rgba(47, 210, 122, .35) 0 calc(50% + .5px), transparent 0); }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(47, 210, 122, .55), rgba(47, 210, 122, 0) 70deg, transparent 360deg); animation: sweep 2s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.radar-center { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #2fd27a; box-shadow: 0 0 12px #2fd27a; }
.blip { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; margin: -4px; border-radius: 50%; background: #d6ffe8; box-shadow: 0 0 12px #2fd27a; opacity: 0; animation: blip 2s infinite; animation-delay: var(--d); }
.blip::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid #2fd27a; animation: ping 2s infinite; animation-delay: var(--d); }
@keyframes blip { 0% { opacity: 0; } 5% { opacity: 1; } 60% { opacity: .2; } 100% { opacity: 0; } }
.pl-radar .pl-status { color: #2fd27a; }
.pl-radar .pl-bar i { background: #2fd27a; box-shadow: 0 0 14px #2fd27a; }
.radar-readout { position: absolute; bottom: -6px; display: flex; gap: 18px; font: 500 11px/1 var(--f-mono); color: rgba(47, 210, 122, .85); letter-spacing: .1em; }

/* 3 · Señal de Radio PDM */
.senal { position: relative; width: 170px; height: 170px; display: grid; place-items: center; }
.senal-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; animation: wavesOut 2.4s infinite; }
.senal-ring.r2 { animation-delay: .8s; }
.senal-ring.r3 { animation-delay: 1.6s; }
@keyframes wavesOut { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.senal-logo { width: 116px; height: 116px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 40% 30%, #1a2f57, #070e1c); border: 1px solid var(--line-2); box-shadow: 0 0 40px rgba(214, 169, 58, .35); animation: hum 1.2s ease-in-out infinite; }
.senal-logo b { font: 700 36px/1 var(--f-display); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.senal-logo small { font-size: 8px; letter-spacing: .25em; color: #c7d2e6; }
@keyframes hum { 50% { transform: scale(1.05); } }
.eq { position: absolute; bottom: 0; display: flex; align-items: center; gap: 3px; height: 50px; }
.eq span { width: 4px; height: 100%; border-radius: 2px; background: var(--gold-grad); transform: scaleY(.15); animation: eq .9s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -73ms); }
.eq span:nth-child(3n) { animation-duration: .7s; }
.eq span:nth-child(4n) { animation-duration: 1.15s; }
@keyframes eq { to { transform: scaleY(1); } }
.freq { position: absolute; top: -18px; right: -20px; font: 500 12px/1 var(--f-mono); color: var(--muted); padding: 6px 9px; border: 1px solid var(--line); border-radius: 4px; }
.freq b { color: var(--gold-2); }

/* 4 · Expediente desclasificado */
.dossier { position: relative; width: 210px; height: 170px; animation: dossierIn .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes dossierIn { from { transform: translateY(40px) rotate(-8deg); opacity: 0; } }
.dossier-tab { position: absolute; top: -20px; left: 0; padding: 4px 12px; border-radius: 6px 6px 0 0; background: #b8892a; color: #2a1d05; font: 600 11px/1.3 var(--f-mono); }
.dossier-paper { position: absolute; inset: 0; border-radius: 0 8px 8px 8px; background: linear-gradient(180deg, #e7dfc9, #d0c6ab); padding: 22px 18px; display: grid; align-content: start; gap: 9px; box-shadow: 0 20px 40px rgba(0, 0, 0, .6); transform: rotate(-3deg); }
.dossier-paper i { display: block; height: 7px; width: var(--w); background: #3b3426; border-radius: 1px; transform-origin: left; transform: scaleX(0); animation: typeLine .5s steps(14) forwards; animation-delay: calc(.3s + var(--i) * .22s); }
.dossier-paper i:nth-child(odd) { background: #111; }
@keyframes typeLine { to { transform: scaleX(1); } }
.dossier-photo { position: absolute; right: 16px; top: 18px; width: 46px; height: 56px; background: linear-gradient(135deg, #222, #555); border: 3px solid #fff; transform: rotate(6deg); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); }
.dossier-stamp { position: absolute; left: 50%; top: 52%; padding: 6px 12px; border: 4px solid #d42a33; border-radius: 6px; color: #d42a33; font: 700 22px/1 var(--f-display); letter-spacing: .08em; transform: translate(-50%, -50%) rotate(-16deg) scale(3); opacity: 0; mix-blend-mode: multiply; animation: stamp .35s cubic-bezier(.5, 0, .7, 1.6) 2s forwards; }
@keyframes stamp { to { transform: translate(-50%, -50%) rotate(-16deg) scale(1); opacity: .92; } }
.scramble { position: absolute; bottom: -10px; font: 500 15px/1 var(--f-mono); letter-spacing: .14em; color: #e8edf5; white-space: nowrap; }
.scramble .x { color: var(--gold); opacity: .7; }
.pl-expediente .pl-stage { animation: shake .3s 2.05s; }
@keyframes shake { 25% { transform: translate(3px, 2px); } 50% { transform: translate(-3px, -1px); } 75% { transform: translate(2px, -2px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .main-nav a { padding: 10px 7px; font-size: 12px; }
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid > div:first-child { grid-column: 1 / -1; }
    .footer-grid > div + div { border: 0; padding: 0; }
}
@media (max-width: 1024px) {
    .menu-btn { display: grid; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto; width: min(320px, 85%); flex-direction: column; gap: 0; padding: 90px 24px 24px;
        background: rgba(5, 10, 20, .97); backdrop-filter: blur(16px); border-left: 1px solid var(--line);
        transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); z-index: -1;
    }
    .main-nav.is-open { transform: none; }
    .main-nav a { font-size: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
    .main-nav a::after { display: none; }
    .nav-mobile-only { display: block; }
    .header-actions { margin-left: auto; }
    .rail { grid-auto-columns: calc((100% - 18px) / 2.2); }
    .split-2-1 { grid-template-columns: 1fr; }
    .radio-card { border: 0; padding: 0; }
    .split-3 { grid-template-columns: 1fr 1fr; row-gap: 50px; }
    .split-3 > * { padding: 0 !important; border: 0 !important; }
    .split-3 > .videos { grid-column: 1 / -1; order: -1; }
    .split-3 { column-gap: 30px; }
    .products { grid-template-columns: repeat(2, 1fr); }
    .member-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .wrap { width: calc(100% - 32px); }
    .section { padding: 56px 0; }
    .hero-stats { gap: 22px; }
    .hero-stats dt { font-size: 26px; }
    .rail { grid-auto-columns: 82%; }
    .cases { grid-template-columns: 1fr; }
    .case-card { min-height: 220px; }
    .split-3 { grid-template-columns: 1fr; }
    .members-inner { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; justify-items: center; }
    .newsletter-inner { grid-template-columns: 1fr; padding-left: 0; }
    .newsletter { background: linear-gradient(rgba(5, 10, 20, .8), rgba(5, 10, 20, .9)), var(--nl-img) center / cover; }
    .newsletter-form { flex-direction: column; gap: 8px; }
    .newsletter-form input, .newsletter-form .btn { border-radius: 4px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .products { gap: 12px; }
    .product-body { padding: 12px; }
    .product h3 { font-size: 15px; }
    .product-desc { display: none; }
    .product-foot .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; }
    .brand-mark { font-size: 32px; }
    .ticker-label { padding: 0 14px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
