/* ==========================================================
   TPM Bunker & Box — Landing de preapertura (tema oscuro)
   Colores del cartel: negro #14171C, naranja #FF7400, blanco.
   ========================================================== */
:root {
  --bg: #0c0e11;
  --bg-2: #111418;
  --bg-3: #171b21;
  --card: #14171c;
  --card-2: #1a1e25;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eceef2;
  --muted: #9aa1ad;
  --ink: #ffffff;
  --accent: #ff7400;
  --accent-2: #ff8d2e;
  --accent-soft: rgba(255, 116, 0, 0.13);
  --accent-glow: rgba(255, 116, 0, 0.35);
  --accent-ink: #111316;
  --ok: #34d07f;
  --err: #ff6161;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Montserrat", var(--font);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --max: 1180px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(var(--max), 92vw); margin: 0 auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; position: relative; scroll-margin-top: 64px; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; max-width: 720px; }
.section-head-center .eyebrow { justify-content: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 800; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--accent); border-radius: 2px; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.06; margin: 0; color: var(--ink); }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.lead { color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); margin: 18px 0 0; }
.lead strong { color: var(--text); font-weight: 600; }
.grad { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: 0.005em; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(255, 116, 0, 0.3); }
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-2); box-shadow: 0 16px 40px rgba(255, 116, 0, 0.42); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.08); }
.btn svg { width: 18px; height: 18px; }

/* Brand (candado + rótulo) */
.brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.brand-lock { width: 34px; height: 41px; flex: none; filter: drop-shadow(0 4px 14px rgba(255, 116, 0, 0.25)); transition: width .25s ease, height .25s ease; }
.brand-word { width: 150px; height: 29px; overflow: visible; transition: width .25s ease, height .25s ease; }
.brand-word text { fill: #fff; font-family: var(--display); font-weight: 800; }
.brand-word .bw-name { font-size: 37.2px; }
.brand-word .bw-sub { font-size: 18.6px; font-weight: 700; }
.brand-word .o { fill: var(--accent); }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 16px 0; transition: background .25s ease, padding .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(8, 10, 13, 0.7), rgba(8, 10, 13, 0));
}
.nav.scrolled { background: rgba(12, 14, 17, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); padding: 10px 0; }
.nav.scrolled .brand-lock { width: 29px; height: 35px; }
.nav.scrolled .brand-word { width: 132px; height: 25.5px; }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, 0.82); }
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--accent); }
.nav .btn { padding: 11px 20px; font-size: 14px; }
@media (max-width: 1020px) { .nav-links { display: none; } }
@media (max-width: 480px) {
  .brand { gap: 9px; }
  .brand-lock { width: 27px; height: 33px; }
  .brand-word { width: 118px; height: 23px; }
  .nav .btn-nav { padding: 10px 14px; font-size: 13px; }
}
@media (max-width: 360px) { .nav .btn-nav { display: none; } }

/* Hero: la fachada nocturna con el cartel arriba, el texto sobre la parte baja */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: calc(23vw + 34px) 0 clamp(64px, 7vw, 96px); min-height: 100svh; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0 0 auto 0; z-index: 0; }
.hero-media img { width: 100%; height: auto; transform-origin: 58% 22%; animation: heroZoom 22s ease-in-out infinite alternate; }
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 17, 0.55) 0%, rgba(12, 14, 17, 0) 12%, rgba(12, 14, 17, 0) 34%, rgba(12, 14, 17, 0.72) 50%, rgba(12, 14, 17, 0.94) 68%, var(--bg) 88%),
    linear-gradient(90deg, rgba(12, 14, 17, 0.5) 0%, rgba(12, 14, 17, 0) 55%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; grid-template-areas: "top top" "copy card"; gap: 30px 56px; align-items: start; }
.hero-top { grid-area: top; }
.hero-copy { grid-area: copy; }
.hero-card { grid-area: card; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 15px 8px 11px;
  border-radius: 999px; border: 1px solid rgba(255, 116, 0, 0.45); background: rgba(255, 116, 0, 0.1);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 13px; font-weight: 700; color: #ffb27a; margin-bottom: 20px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 116, 0, 0.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 116, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 116, 0, 0); } }
.hero h1 { font-size: clamp(38px, 4.7vw, 68px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.04; text-shadow: 0 6px 40px rgba(0, 0, 0, 0.5); }
.hero h1 .l { display: block; }
.hero .lead { max-width: 600px; font-size: clamp(16.5px, 1.4vw, 19px); margin-top: 0; color: #c3c8d1; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 30px; color: #c3c8d1; font-size: 14px; font-weight: 500; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }

.hero-card {
  position: relative; background: rgba(17, 20, 24, 0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.hero-card::before { content: ""; position: absolute; inset: 0 24px auto; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); border-radius: 2px; }
.hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hero-card .label { font-family: var(--display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.hero-card .date { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #ffb27a; }
.hero-card .date svg { width: 15px; height: 15px; color: var(--accent); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 20px; }
.countdown div { position: relative; background: #07080a; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 15px 6px 13px; text-align: center; overflow: hidden; }
.countdown div::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.05); }
.countdown b { display: block; font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown div:first-child b { color: var(--accent); }
.countdown small { display: block; margin-top: 7px; color: rgba(255, 255, 255, 0.55); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.perks { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.perks li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); }
.perks strong { color: var(--ink); font-weight: 600; }
.perks svg { flex: none; width: 18px; height: 18px; color: var(--accent); }
.hero-card.opened .countdown b { color: var(--accent); }

@media (max-width: 960px) {
  .hero { display: block; min-height: 0; padding: 0 0 72px; }
  .hero-media { position: relative; margin-top: 62px; }
  .hero-media img { animation: none; }
  .hero-media::after { background: linear-gradient(180deg, rgba(12, 14, 17, 0) 55%, var(--bg) 100%); }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "top" "copy" "card"; gap: 26px; margin-top: 4px; }
}
@media (max-width: 560px) { .hero h1 .l { display: inline; } }

/* Marquee strip */
.strip { background: var(--accent); color: var(--accent-ink); overflow: hidden; padding: 15px 0; position: relative; z-index: 1; }
.strip-track { display: flex; gap: 46px; width: max-content; animation: marquee 34s linear infinite; }
.strip span { display: inline-flex; align-items: center; gap: 46px; font-family: var(--display); font-size: 13.5px; font-weight: 800; white-space: nowrap; letter-spacing: .1em; text-transform: uppercase; }
.strip span::after { content: ""; width: 8px; height: 8px; background: var(--accent-ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; overflow: hidden; transition: border-color .2s ease, transform .2s ease; }
.step:hover { border-color: rgba(255, 116, 0, 0.4); transform: translateY(-3px); }
.step::before { content: attr(data-n); position: absolute; right: 18px; top: 6px; font-family: var(--display); font-size: 86px; font-weight: 900; color: rgba(255, 116, 0, 0.1); line-height: 1; letter-spacing: -0.04em; }
.step .icon { width: 50px; height: 50px; border-radius: 13px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 26px rgba(255, 116, 0, 0.25); }
.step .icon svg { width: 24px; height: 24px; }
.step p { color: var(--muted); margin: 10px 0 0; font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Split (media + texto) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--card); border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.checks li strong { color: var(--ink); font-weight: 600; }
.checks svg { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* Reloj 24 h (acceso) */
.clock-card { aspect-ratio: 1 / 1; display: grid; place-items: center; isolation: isolate;
  background:
    radial-gradient(55% 55% at 50% 48%, rgba(255, 116, 0, 0.16), transparent 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 34px),
    var(--card); }
.clock-bg { position: absolute; inset: auto 0 -6% 0; text-align: center; font-family: var(--display); font-weight: 900; font-size: clamp(120px, 19vw, 230px); line-height: .8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 116, 0, 0.14); z-index: -1; user-select: none; }
.clock-ring { position: absolute; width: 82%; height: 82%; overflow: visible; }
.ring-track { fill: none; stroke: rgba(255, 255, 255, 0.06); stroke-width: 18; }
.ring-fill { fill: none; stroke: url(#ringGrad); stroke-width: 18; stroke-linecap: round; filter: drop-shadow(0 0 14px rgba(255, 116, 0, 0.45)); stroke-dasharray: 942.5; stroke-dashoffset: 942.5; transform: rotate(-90deg); transform-origin: 200px 200px; transition: stroke-dashoffset 2.2s cubic-bezier(.2, .7, .2, 1); }
.clock-card.in .ring-fill { stroke-dashoffset: 0; }
.ring-ticks line { stroke: rgba(255, 255, 255, 0.28); stroke-width: 2; stroke-linecap: round; }
.ring-ticks line.major { stroke: rgba(255, 255, 255, 0.6); stroke-width: 3; }
.ring-ticks text { fill: rgba(255, 255, 255, 0.55); font-family: var(--display); font-size: 15px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.ring-hand { transform-origin: 200px 200px; transition: transform 1s ease; }
.ring-hand circle { fill: #fff; stroke: var(--accent); stroke-width: 5; filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.55)); }
.clock-center { position: relative; display: grid; justify-items: center; text-align: center; gap: 2px; }
.clock-label { font-family: var(--display); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.clock-time { font-family: var(--display); font-weight: 900; font-size: clamp(52px, 7vw, 84px); line-height: 1; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.clock-day { font-size: 13.5px; color: var(--muted); }
.clock-status { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; background: rgba(7, 8, 10, 0.75); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: #e6e8ec; backdrop-filter: blur(8px); }
.clock-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 208, 127, 0.6); animation: pulseOk 1.8s infinite; }
@keyframes pulseOk { 70% { box-shadow: 0 0 0 8px rgba(52, 208, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 208, 127, 0); } }
@media (max-width: 900px) { .clock-card { aspect-ratio: 4 / 3.4; } .clock-ring { width: 72%; height: 72%; } }
@media (max-width: 480px) { .clock-card { aspect-ratio: 1 / 1.02; } .clock-ring { width: 80%; height: 80%; top: 6%; } .clock-center { margin-top: -10%; } .clock-status { bottom: 14px; font-size: 11.5px; } }

/* Cámara de vigilancia (seguridad) */
.cam-card { aspect-ratio: 4 / 3; background: #050607; }
.cam-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.28) brightness(0.72); transform: scale(1.06); animation: camDrift 16s ease-in-out infinite alternate; }
@keyframes camDrift { to { transform: scale(1.12) translate(-1.5%, 1%); } }
.cam-card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 3px),
    radial-gradient(120% 90% at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(40, 70, 60, 0.18), rgba(10, 20, 18, 0.25)); }
.cam-card::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(255, 255, 255, 0.025); animation: flicker 5s steps(1) infinite; }
@keyframes flicker { 0%, 100% { opacity: 0; } 47% { opacity: 0; } 48% { opacity: 1; } 49% { opacity: 0; } 82% { opacity: 1; } 83% { opacity: 0; } }
.cam-ui { position: absolute; inset: 0; z-index: 2; font-family: var(--mono); color: rgba(255, 255, 255, 0.88); font-size: 12.5px; letter-spacing: .06em; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8); }
.cam-ui > span { position: absolute; }
.cam-rec { top: 22px; left: 26px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.cam-rec i { width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 10px rgba(255, 59, 59, 0.8); animation: rec 1.2s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0.15; } }
.cam-id { top: 22px; right: 26px; }
.cam-time { left: 26px; bottom: 22px; font-variant-numeric: tabular-nums; }
.cam-frame { inset: 12px; border-radius: 6px;
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 22px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top left / 2px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 22px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 2px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 22px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 2px 22px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 22px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 2px 22px no-repeat; }
@media (max-width: 480px) { .cam-ui { font-size: 11px; } .cam-rec, .cam-id { top: 18px; } .cam-rec, .cam-time { left: 20px; } .cam-id { right: 20px; } .cam-time { bottom: 18px; } }

/* Sizes */
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.size { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; position: relative; cursor: pointer; }
.size:hover, .size:focus-visible { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 116, 0, 0.25); outline: none; }
.size.size-xl { background: linear-gradient(160deg, rgba(255, 116, 0, 0.16), rgba(255, 116, 0, 0.02) 60%), var(--card); border-color: rgba(255, 116, 0, 0.35); }
.size .badge { position: absolute; top: 22px; right: 20px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.size .code { font-family: var(--display); font-size: 12px; letter-spacing: .16em; color: var(--accent); font-weight: 800; text-transform: uppercase; }
.size .m2 { font-family: var(--display); font-size: 46px; font-weight: 900; line-height: 1; margin: 14px 0 4px; color: var(--ink); letter-spacing: -0.03em; }
.size .box { height: 84px; display: flex; align-items: flex-end; margin: 16px 0; }
.size .box i { display: block; border: 2px solid rgba(255, 255, 255, 0.75); border-radius: 6px; background: repeating-linear-gradient(90deg, rgba(255, 116, 0, 0.22) 0 7px, rgba(255, 116, 0, 0.1) 7px 9px); }
.size p { margin: 0; font-size: 14px; color: var(--muted); }
.size ul { list-style: none; padding: 0; margin: 12px 0 0; font-size: 13px; color: var(--muted); display: grid; gap: 4px; }
.size ul li::before { content: "· "; color: var(--accent); font-weight: 700; }
.sizes-note { margin-top: 24px; }
@media (max-width: 1000px) { .sizes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .sizes { gap: 10px; }
  .size { padding: 18px 14px; }
  .size .badge { position: static; display: inline-block; margin-bottom: 10px; }
  .size .code { font-size: 11px; letter-spacing: .12em; }
  .size .m2 { font-size: 38px; margin-top: 10px; }
  .size .box { height: 58px; margin: 12px 0; }
  .size p { font-size: 13px; }
  .size ul { font-size: 12.5px; }
}
@media (max-width: 330px) { .sizes { grid-template-columns: 1fr; } }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: rgba(255, 116, 0, 0.35); transform: translateY(-2px); }
.feature .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(255, 116, 0, 0.2); }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 8px 0 0; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

/* Ubicación (mapa con consentimiento + datos) */
.map-grid { display: grid; grid-template-columns: 1.45fr 0.55fr; gap: 24px; align-items: stretch; }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--card); min-height: 440px; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; }
.map-placeholder::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 50% 50%, rgba(12, 14, 17, 0.3), rgba(12, 14, 17, 0.78)); }
.map-facade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: brightness(0.55) saturate(0.85); }
.map-consent { position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px; text-align: center; max-width: 400px; padding: 26px 26px 22px; border-radius: var(--radius); background: rgba(12, 14, 17, 0.74); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.map-consent svg { width: 34px; height: 34px; color: var(--accent); }
.map-consent strong { font-family: var(--display); font-size: 19px; font-weight: 800; color: var(--ink); }
.map-consent p { color: #c3c8d1; font-size: 14px; margin: 0 0 6px; }
.map-consent .btn { padding: 12px 22px; font-size: 14px; }
.map-link { font-size: 13px; color: #ffa45c; text-decoration: underline; }
.map-info { display: grid; gap: 14px; align-content: start; }
.map-info-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 20px; display: grid; gap: 2px; }
.map-info-block .label { font-family: var(--display); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 800; margin-bottom: 6px; }
.map-info-block strong { font-size: 16px; color: var(--ink); font-weight: 600; }
.map-info-block span:not(.label) { color: var(--muted); font-size: 14px; }
.map-info .btn { justify-content: center; }
@media (max-width: 900px) { .map-grid { grid-template-columns: 1fr; } .map-card { min-height: 380px; } }

/* Aviso de cookies */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; margin: 0 auto; max-width: 720px;
  background: rgba(20, 23, 28, 0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: 18px; padding: 18px 20px;
  display: flex; align-items: center; gap: 20px; box-shadow: var(--shadow); }
.cookie-banner[hidden] { display: none; }
.cookie-text strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: var(--display); font-weight: 800; }
.cookie-text p { margin: 0; font-size: 13.5px; color: var(--muted); }
.cookie-text a { color: #ffa45c; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex: none; }
.cookie-actions .btn { padding: 11px 18px; font-size: 14px; }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }
body.cookie-open .mobile-cta { display: none !important; }

/* Signup */
.signup { position: relative; overflow: hidden; background: #08090b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signup::before { content: ""; position: absolute; inset: -20% -10%; background: radial-gradient(38% 50% at 18% 50%, rgba(255, 116, 0, 0.22), transparent 70%), radial-gradient(30% 40% at 85% 70%, rgba(255, 116, 0, 0.1), transparent 70%); pointer-events: none; }
.signup::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--accent) 0 14px, #08090b 14px 28px); opacity: .9; }
.signup-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.signup-benefits { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.signup-benefits li { display: flex; gap: 12px; color: var(--muted); font-size: 15.5px; }
.signup-benefits li strong { color: var(--ink); font-weight: 600; }
.signup-benefits .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--display); font-size: 13px; font-weight: 900; }
.signup-count { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 16px 18px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, 0.03); border: 1px dashed var(--line-2); color: var(--muted); font-size: 14px; max-width: 480px; }
.signup-count strong { color: var(--accent); font-family: var(--display); font-weight: 900; font-size: 18px; }
.signup-lock { width: 30px; height: 36px; flex: none; }
.form-card { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 116, 0, 0.06); }
.form-card h3 { font-size: 23px; }
.form-card .sub { color: var(--muted); font-size: 14px; margin: 6px 0 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: #b8bec8; font-weight: 600; }
.field label .opt { opacity: .6; font-weight: 500; }
.field input, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: #0b0d10; border: 1px solid var(--line-2); color: var(--text);
  outline: none; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7400' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { background: #14171c; color: var(--text); }
.field input::placeholder { color: #5f6672; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background-color: #0e1014; }
.field.error input { border-color: var(--err); }
.field .hint { font-size: 12px; color: var(--err); display: none; }
.field.error .hint { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin-top: 16px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--accent); flex: none; width: 16px; height: 16px; }
.consent a { color: #ffa45c; text-decoration: underline; }
.form-card .btn { width: 100%; margin-top: 18px; }
.form-card .btn[disabled] { opacity: .7; cursor: wait; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-success { display: none; text-align: center; padding: 24px 0; }
.form-success .check { width: 70px; height: 70px; border-radius: 50%; background: rgba(52, 208, 127, 0.12); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .check svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 24px; }
.form-success p { color: var(--muted); margin: 10px 0 0; }
.form-card.done form { display: none; }
.form-card.done .form-success { display: block; }
.form-error { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 97, 97, 0.08); border: 1px solid rgba(255, 97, 97, 0.35); color: #ff9a9a; font-size: 13px; }
.form-error.show { display: block; }
@media (max-width: 900px) { .signup-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font-weight: 700; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--accent); transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #ffd2ad; }
.faq details p { color: var(--muted); margin: 0 0 22px; font-size: 15px; max-width: 720px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 52px 0 96px; background: #07080a; font-size: 13.5px; color: var(--muted); }
.footer .footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.brand-footer { margin-bottom: 20px; }
.brand-footer .brand-lock { width: 40px; height: 48px; }
.brand-footer .brand-word { width: 176px; height: 34px; }
.footer-brand p { margin: 0 0 8px; line-height: 1.6; display: flex; align-items: flex-start; gap: 10px; }
.footer-brand .fi { flex: none; width: 16px; height: 16px; color: var(--accent); margin-top: 3px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; justify-content: flex-end; }
.footer nav a:hover { color: var(--accent); }
.footer .powered { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; letter-spacing: .02em; }
.footer .powered a { color: var(--muted); }
.footer .powered strong { color: var(--ink); font-weight: 700; }
.footer .powered a:hover strong { color: var(--accent); }
@media (max-width: 720px) { .footer { padding-bottom: 96px; } .footer nav { justify-content: flex-start; } .footer .powered { justify-content: center; text-align: center; } .legal-page .footer { padding-bottom: 32px; } }

/* Modal legal */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.66); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: min(860px, 100%); max-height: min(88vh, 900px); display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; animation: modalIn .22s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); flex: none; }
.modal-head h3 { font-size: 20px; }
.modal-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; font-size: 22px; line-height: 1; transition: background .15s ease; }
.modal-close:hover { background: var(--card-2); }
.modal-body { overflow: auto; padding: 8px 28px 32px; overscroll-behavior: contain; }
.modal-body.legal { padding: 8px 36px 40px; }
.modal-body .eyebrow, .modal-body h1 { display: none; }
.modal-body .lead { font-size: 16px; margin-top: 12px; }
.modal-body .legal-card { padding: 22px 26px; }
.modal-body h2 { font-size: 19px; margin: 30px 0 10px; }
.modal-loading { padding: 40px; text-align: center; color: var(--muted); }
body.modal-open { overflow: hidden; }
@media (max-width: 640px) { .modal { padding: 0; align-items: flex-end; } .modal-dialog { max-height: 92vh; border-radius: 22px 22px 0 0; } .modal-body, .modal-body.legal { padding: 4px 20px 32px; } }

/* Páginas legales */
.legal-page .nav { position: sticky; background: rgba(12, 14, 17, 0.92); }
.legal { padding: 60px 0 100px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 900; }
.legal .updated { font-size: 13px; color: var(--muted); margin: 10px 0 40px; }
.legal h2 { font-size: 22px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal p { margin: 0 0 14px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal a { color: #ffa45c; text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 24px; margin: 8px 0 20px; }
.legal-card dl { display: grid; grid-template-columns: 170px 1fr; gap: 10px 20px; margin: 0; font-size: 15px; }
.legal-card dt { color: var(--muted); }
.legal-card dd { margin: 0; color: var(--ink); }
.legal-card dd.pending { color: #ffb27a; font-style: italic; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--accent); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.legal td { color: var(--muted); }
.legal td:first-child { color: var(--ink); white-space: nowrap; }
.legal-page .footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; }
.legal-page .footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
@media (max-width: 560px) { .legal-card dl { grid-template-columns: 1fr; gap: 2px 0; } .legal-card dt { margin-top: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; } }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img, .strip-track, .cam-card img, .cam-card::after { animation: none; }
  .ring-fill { transition: none; stroke-dashoffset: 0; }
}

/* Sticky mobile CTA */
.mobile-cta { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; }
.mobile-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
@media (max-width: 720px) { .mobile-cta.visible { display: block; } }

/* Teléfono y WhatsApp */
.btn-wa { background: #25d366; color: #06210f; box-shadow: 0 10px 26px rgba(37, 211, 102, 0.25); }
.btn-wa:hover { transform: translateY(-2px); background: #3ee07b; }
.inline-link, .faq details p a { color: #ffa45c; text-decoration: underline; }
.map-info-block strong a { color: var(--ink); }
.map-info-block strong a:hover { color: var(--accent); }
.footer-brand p a { color: var(--text); font-weight: 500; }
.footer-brand p a:hover { color: var(--accent); }
.signup-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.signup-contact span { width: 100%; }
.signup-contact .btn { padding: 11px 18px; font-size: 14px; }
.signup-contact .btn svg { width: 18px; height: 18px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45); transition: transform .18s ease; animation: waPulse 2.4s ease-out 2.5s 3; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: translateY(-2px) scale(1.04); }
.wa-float::before { content: attr(data-label); position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap;
  padding: 9px 14px; border-radius: 10px; background: rgba(20, 23, 28, 0.96); border: 1px solid var(--line-2); color: var(--text); font-size: 13px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.wa-float:hover::before, .wa-float:focus-visible::before { opacity: 1; transform: translate(0, -50%); }
@keyframes waPulse { 0% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.55); } 100% { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 20px rgba(37, 211, 102, 0); } }
body.cookie-open .wa-float, body.modal-open .wa-float { display: none; }
@media (max-width: 720px) {
  .wa-float { right: 12px; bottom: 12px; width: 54px; height: 54px; }
  .wa-float::before { display: none; }
  .mobile-cta { right: 76px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
.legal-page .footer { padding-bottom: 32px; }
