/* ═══════════════════════════════════════════════════════════════
   DOS LUCAS · Productora IA
   Sistema de diseño — paleta billete / cinemático
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Paleta billete */
  --paper: #f1e7d8;
  --paper-2: #ebe0cd;
  --paper-3: #e4d6bf;
  --ink: #1a1410;
  --ink-2: #2d2520;
  --bordeaux: #8f2332;
  --bordeaux-deep: #5c1520;
  --bordeaux-light: #b84a56;
  --sage: #5e7a68;
  --security-blue: #8fa8b4;
  --security-green: #789070;
  --gold: #a88a54;
  --gold-light: #c9a86a;

  /* Oscuro cinemático */
  --night: #0c0a09;
  --night-2: #141110;
  --night-3: #1e1a17;
  --night-border: #2a2520;
  --cream: #efe5d4;
  --cream-dim: #a39788;
  --cream-muted: #5a5048;

  /* Sistema */
  --radius-sm: 2px;
  --radius: 4px;
  --max-w: 1400px;
  --t-fast: .25s cubic-bezier(.2,.7,.2,1);
  --t-med: .6s cubic-bezier(.2,.7,.2,1);
  --t-slow: 1.1s cubic-bezier(.2,.7,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'ss02';
  cursor: none; /* custom cursor */
}
@media (hover: none) {
  body { cursor: auto; }
  .custom-cursor { display: none !important; }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: none; }

/* ───── Tipografía base ───── */
.serif { font-family: 'Fraunces', 'Times New Roman', serif; font-optical-sizing: auto; font-variation-settings: "SOFT" 30, "WONK" 0; }
.mono  { font-family: 'JetBrains Mono', 'Courier New', monospace; }

/* ═══════════════════════════════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════════════════════════════ */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--cream);
  border-radius: 50%;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.cursor-dot {
  position: absolute;
  top: 50%; left: 50%;
  width: 3px; height: 3px;
  background: var(--cream);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-serial {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--ink);
  opacity: 0.55;
  transform: translate(18px, 18px);
  white-space: nowrap;
  transition: color .4s, opacity .3s;
}
body.dark-cursor .cursor-serial { color: var(--cream); }
body.cursor-hover .cursor-ring { transform: scale(2.4); border-color: var(--bordeaux-light); }

/* ═══════════════════════════════════════════════════════════════
   MICRO TEXT BORDER (bordes de billete)
   ═══════════════════════════════════════════════════════════════ */
.micro-border {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7px;
  letter-spacing: 0.3em;
  color: var(--bordeaux-deep);
  opacity: 0.55;
  white-space: nowrap;
  overflow: hidden;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════════════════════════ */
nav.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  transition: background .5s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
nav.topnav.scrolled {
  background: rgba(241, 231, 216, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(26,20,16,.12);
  padding: 14px 40px;
}
body.dark-nav nav.topnav.scrolled {
  background: rgba(12,10,9,.88);
  border-bottom-color: rgba(239,229,212,.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand-mark {
  width: 22px; height: 22px;
  border: 1px solid currentColor;
  display: grid; place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -.05em;
}
.nav-brand-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: .7;
  transition: opacity .3s;
  position: relative;
}
.nav-links a::before {
  content: counter(navidx, decimal-leading-zero) '—';
  margin-right: 6px;
  opacity: .4;
}
.nav-links { counter-reset: navidx; }
.nav-links a { counter-increment: navidx; }
.nav-links a:hover { opacity: 1; }

.nav-tools {
  display: flex;
  gap: 10px;
  align-items: center;
}
.pill-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid currentColor;
  opacity: .6;
  transition: opacity .3s, background .3s, color .3s;
}
.pill-btn:hover { opacity: 1; background: var(--ink); color: var(--paper); }
body.dark-nav .pill-btn:hover { background: var(--cream); color: var(--night); }

/* Mobile */
.hamburger { display: none; flex-direction: column; gap: 4px; }
.hamburger span { width: 20px; height: 1px; background: currentColor; transition: .3s; }

@media (max-width: 820px) {
  nav.topnav { padding: 16px 20px; }
  nav.topnav.scrolled { padding: 12px 20px; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    opacity: 0; pointer-events: none;
    transition: opacity .4s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 14px; }
  .nav-tools .pill-btn:not(.lang) { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   SECCIONES base
   ═══════════════════════════════════════════════════════════════ */
section { position: relative; }

.sec-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 120px 40px;
}
@media (max-width: 820px) { .sec-inner { padding: 80px 20px; } }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: .55;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before {
  content: '';
  width: 40px; height: 1px;
  background: currentColor;
}

.sec-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.03em;
  margin-top: 24px;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
.sec-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--bordeaux);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .22s; }
.reveal-d3 { transition-delay: .34s; }
.reveal-d4 { transition-delay: .46s; }

/* ═══════════════════════════════════════════════════════════════
   HERO (claro / billete)
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 100px;
}

/* Doble marco tipo billete */
.hero-frame {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(143, 35, 50, .3);
  pointer-events: none;
}
.hero-frame::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(143, 35, 50, .18);
}
@media (max-width: 820px) {
  .hero-frame { inset: 12px; }
}

/* SVG guilloché background */
.hero-guilloche {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .42;
}
body.intensity-subtle .hero-guilloche { opacity: .3; }

.hero-serials-top {
  position: absolute;
  top: 48px;
  left: 60px; right: 60px;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--bordeaux-deep);
  opacity: .7;
  text-transform: uppercase;
}
.hero-serials-bottom {
  position: absolute;
  bottom: 48px;
  left: 60px; right: 60px;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--bordeaux-deep);
  opacity: .7;
  text-transform: uppercase;
}
@media (max-width: 820px) {
  .hero-serials-top, .hero-serials-bottom { left: 28px; right: 28px; font-size: 7px; }
  .hero-serials-top .hide-sm, .hero-serials-bottom .hide-sm { display: none; }
}

/* Sello 2000 esquina */
.hero-stamp {
  position: absolute;
  top: 100px; right: 60px;
  width: 110px; height: 110px;
  opacity: .85;
}
.hero-stamp-2 {
  position: absolute;
  bottom: 100px; left: 60px;
  width: 90px; height: 90px;
  opacity: .75;
}
@media (max-width: 900px) {
  .hero-stamp, .hero-stamp-2 { display: none; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1000px;
}

.denom-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s .1s forwards;
}
.denom-row .denom {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--bordeaux);
}
.denom-row .denom-asterisk {
  font-family: 'Fraunces', serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--bordeaux-light);
  opacity: .8;
  transform: translateY(-1px);
}
.denom-row .sep {
  width: 28px; height: 1px;
  background: var(--bordeaux);
  opacity: .5;
}

.hero-logo-wrap {
  position: relative;
  width: min(460px, 80vw);
  margin: 0 auto 20px;
  aspect-ratio: 520/380;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 6%;
  background: radial-gradient(ellipse at center, var(--paper) 20%, rgba(241,231,216,.7) 45%, transparent 75%);
  z-index: 1;
  pointer-events: none;
}
.hero-logo-guilloche {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-logo-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  z-index: 2;
  opacity: 0;
  animation: logoReveal 1.8s .6s forwards;
  filter: drop-shadow(0 2px 18px rgba(241, 231, 216, .9)) drop-shadow(0 0 30px rgba(241,231,216,.6));
}
@keyframes logoReveal {
  0% { opacity: 0; transform: scale(1.03); filter: blur(6px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

.hero-tag {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--ink);
  margin-top: 16px;
  max-width: 880px;
  margin-left: auto; margin-right: auto;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}
.hero-tag em {
  font-style: italic;
  color: var(--bordeaux);
}

.hero-sub {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
}
.hero-sub span { opacity: .7; }
.hero-sub .dot { opacity: .3; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 56px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 3;
  opacity: 0;
  animation: fadeUpCue 1s 1.6s forwards;
  padding: 10px 18px 0;
}
.scroll-cue span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--bordeaux-deep);
  opacity: .85;
}
.scroll-cue .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--bordeaux) 40%, transparent);
  animation: cueLine 2.2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes fadeUpCue {
  from { opacity: 0; transform: translate(-50%, 24px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes cueLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(.35); opacity: .4; }
}
@media (max-width: 820px) { .scroll-cue { bottom: 32px; } }

/* ═══════════════════════════════════════════════════════════════
   TRANSITION billete → oscuro
   ═══════════════════════════════════════════════════════════════ */
.transition-strip {
  height: 64px;
  background:
    linear-gradient(to bottom, var(--paper) 0%, var(--paper-3) 50%, var(--night) 100%);
  position: relative;
  overflow: hidden;
}
.transition-strip::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background:
    repeating-linear-gradient(90deg, var(--bordeaux-deep) 0 14px, transparent 14px 28px);
  opacity: .5;
}

/* Ticker pasaporte */
.ticker {
  background: var(--night);
  color: var(--cream);
  border-top: 1px solid var(--night-border);
  border-bottom: 1px solid var(--night-border);
  overflow: hidden;
  padding: 18px 0;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  animation: tickerScroll 40s linear infinite;
  gap: 40px;
  padding-left: 40px;
}
.ticker-inner span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.ticker-inner .ticker-num {
  color: var(--gold-light);
  font-weight: 500;
}
.ticker-inner .ticker-brand {
  font-family: 'Fraunces', serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: none;
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
}
.ticker-inner .asterisk { color: var(--bordeaux-light); }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════════════
   REEL (oscuro)
   ═══════════════════════════════════════════════════════════════ */
.sec-dark { background: var(--night); color: var(--cream); }
.sec-dark .eyebrow { color: var(--gold-light); }
.sec-dark .sec-title em { color: var(--bordeaux-light); }

#reel .sec-inner { padding-bottom: 60px; }

.reel-stage {
  position: relative;
  max-width: 1100px;
  margin: 48px auto 0;
}
/* Marco tipo billete con líneas finas */
.reel-frame {
  position: relative;
  padding: 26px;
  background:
    radial-gradient(ellipse at center, rgba(184, 74, 86, .08), transparent 70%),
    var(--night-2);
  border: 1px solid var(--night-border);
}
.reel-frame::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(184, 74, 86, .25);
  pointer-events: none;
  z-index: 3;
}
.reel-frame::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(184, 74, 86, .12);
  pointer-events: none;
  z-index: 3;
}

.reel-box {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.reel-box iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
/* Holo sheen */
.reel-holo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,
    transparent 30%,
    rgba(255, 220, 180, .08) 45%,
    rgba(180, 200, 255, .08) 50%,
    rgba(200, 180, 255, .06) 55%,
    transparent 70%);
  mix-blend-mode: screen;
  opacity: .6;
  transition: opacity .4s;
  z-index: 2;
}
.reel-frame:hover .reel-holo { opacity: 1; }

/* Esquinas decorativas */
.reel-corner {
  position: absolute;
  width: 18px; height: 18px;
  border: 1px solid var(--bordeaux-light);
  opacity: .7;
  z-index: 4;
}
.reel-corner.tl { top: 4px; left: 4px; border-right: none; border-bottom: none; }
.reel-corner.tr { top: 4px; right: 4px; border-left: none; border-bottom: none; }
.reel-corner.bl { bottom: 4px; left: 4px; border-right: none; border-top: none; }
.reel-corner.br { bottom: 4px; right: 4px; border-left: none; border-top: none; }

.reel-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.reel-meta .code { color: var(--bordeaux-light); }

/* ═══════════════════════════════════════════════════════════════
   SERVICIOS
   ═══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--night-border);
}
.service-card {
  position: relative;
  padding: 44px 32px 56px;
  border-right: 1px solid var(--night-border);
  border-bottom: 1px solid var(--night-border);
  overflow: hidden;
  transition: background .5s;
  min-height: 280px;
}
.service-card:last-child { border-right: 1px solid var(--night-border); }
.service-card:hover { background: var(--night-2); }

/* Marca de agua que aparece al hover */
.service-watermark {
  position: absolute;
  right: -40px; bottom: -20px;
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 240px;
  line-height: .8;
  color: var(--bordeaux-deep);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s, transform .6s;
  pointer-events: none;
  font-style: italic;
  letter-spacing: -.04em;
}
.service-card:hover .service-watermark { opacity: .15; transform: translateY(0); }

.service-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--gold-light);
  opacity: .7;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 10px;
}
.service-num::after {
  content: '';
  flex: 1; height: 1px;
  background: currentColor;
  opacity: .3;
}

.service-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 14px;
  font-variation-settings: "SOFT" 30;
}
.service-card p {
  font-size: .88rem;
  line-height: 1.65;
  color: var(--cream-dim);
}

/* Línea bordeaux superior al hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--bordeaux-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s;
}
.service-card:hover::before { transform: scaleX(1); }

@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; }
}

/* ═══════════════════════════════════════════════════════════════
   NOSOTROS (claro con billete)
   ═══════════════════════════════════════════════════════════════ */
#nosotros {
  background: var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
#nosotros .eyebrow { color: var(--bordeaux-deep); }
#nosotros .sec-title em { color: var(--bordeaux); }

.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}
@media (max-width: 900px) {
  .nosotros-grid { grid-template-columns: 1fr; gap: 40px; }
}

.nosotros-text p {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 20px;
  max-width: 42ch;
  font-variation-settings: "SOFT" 20;
}
.nosotros-text p em {
  font-style: italic;
  color: var(--bordeaux);
}
.nosotros-names {
  margin-top: 36px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.nosotros-names div {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bordeaux-deep);
}
.nosotros-names div strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink);
  margin-bottom: 6px;
}

.billete-wrap {
  position: relative;
  border: 1px solid rgba(143, 35, 50, .3);
  padding: 8px;
  background: var(--paper-2);
  transform: rotate(-1deg);
  transition: transform .6s;
}
.billete-wrap:hover { transform: rotate(0); }
.billete-wrap img {
  width: 100%;
  display: block;
}
.billete-wrap::after {
  content: 'SPECIMEN · NO VÁLIDO · DOS LUCAS S.A.';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(14px, 2.2vw, 24px);
  letter-spacing: 0.2em;
  color: var(--bordeaux);
  opacity: .5;
  white-space: nowrap;
  pointer-events: none;
  border: 2px solid var(--bordeaux);
  padding: 6px 18px;
  mix-blend-mode: multiply;
}

.nosotros-stats {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 120px;
  padding-top: 40px;
  border-top: 1px solid rgba(26,20,16,.15);
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat .num {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: 3rem;
  line-height: 1;
  color: var(--bordeaux);
  font-variation-settings: "SOFT" 20;
}
.stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-2);
  opacity: .7;
  margin-top: 10px;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACTO (oscuro)
   ═══════════════════════════════════════════════════════════════ */
#contacto {
  background: var(--night);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
#contacto .sec-inner { text-align: center; }
#contacto .eyebrow { justify-content: center; color: var(--gold-light); }
#contacto .eyebrow::before { display: none; }
#contacto .eyebrow::after { content: ''; width: 40px; height: 1px; background: currentColor; margin-left: 14px; }

.contact-tagline {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.4vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin-top: 30px;
  font-variation-settings: "SOFT" 20;
}
.contact-tagline em { font-style: italic; color: var(--bordeaux-light); }

.contact-mail {
  display: inline-block;
  margin-top: 50px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--cream);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--bordeaux-light);
  transition: color .3s;
  font-style: italic;
}
.contact-mail:hover { color: var(--bordeaux-light); }

.contact-channels {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 900px;
  margin-left: auto; margin-right: auto;
  gap: 0;
  border-top: 1px solid var(--night-border);
  border-bottom: 1px solid var(--night-border);
}
.channel {
  padding: 28px 20px;
  border-right: 1px solid var(--night-border);
  text-align: center;
  transition: background .4s;
}
.channel:last-child { border-right: none; }
.channel:hover { background: var(--night-2); }
.channel .k {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: .6;
  margin-bottom: 10px;
}
.channel .v {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--cream);
}
@media (max-width: 700px) {
  .channel { border-right: none; border-bottom: 1px solid var(--night-border); }
  .channel:last-child { border-bottom: none; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  background: var(--night);
  color: var(--cream-muted);
  padding: 40px;
  border-top: 1px solid var(--night-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 20px;
}
footer .f-brand { color: var(--bordeaux-light); }
footer a { transition: color .3s; }
footer a:hover { color: var(--cream); }
footer .f-right { display: flex; gap: 20px; }

@media (max-width: 700px) {
  footer { justify-content: center; text-align: center; }
}

/* ═══════════════════════════════════════════════════════════════
   TWEAKS PANEL
   ═══════════════════════════════════════════════════════════════ */
.tweaks-panel {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 9998;
  background: var(--night);
  color: var(--cream);
  border: 1px solid var(--night-border);
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: none;
  min-width: 200px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.tweaks-panel.open { display: block; }
.tweaks-panel .t-title {
  color: var(--gold-light);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--night-border);
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel .t-row {
  margin-bottom: 10px;
}
.tweaks-panel .t-label {
  font-size: 8px;
  opacity: .6;
  margin-bottom: 6px;
}
.tweaks-panel .t-options {
  display: flex; gap: 4px;
}
.tweaks-panel .t-opt {
  flex: 1;
  padding: 6px 8px;
  border: 1px solid var(--night-border);
  color: var(--cream);
  font-size: 8px;
  text-align: center;
  transition: .3s;
}
.tweaks-panel .t-opt.active { background: var(--bordeaux); border-color: var(--bordeaux); }
.tweaks-panel .t-opt:hover:not(.active) { background: var(--night-2); }

/* Intensidad sutil */
body.intensity-subtle .hero-frame { opacity: .4; }
body.intensity-subtle .hero-serials-top,
body.intensity-subtle .hero-serials-bottom,
body.intensity-subtle .hero-stamp,
body.intensity-subtle .hero-stamp-2 { opacity: .3; }
body.intensity-subtle .billete-wrap { display: none; }
body.intensity-subtle .nosotros-grid { grid-template-columns: 1fr; max-width: 700px; margin-left:auto; margin-right: auto; }
body.intensity-subtle .micro-border-top,
body.intensity-subtle .micro-border-bottom { opacity: .25; }

/* Intensidad fuerte: TODO exagerado */
body.intensity-strong .hero-frame { opacity: 1; }
body.intensity-strong .hero-guilloche { opacity: .75; }
body.intensity-strong .hero-serials-top,
body.intensity-strong .hero-serials-bottom,
body.intensity-strong .hero-stamp,
body.intensity-strong .hero-stamp-2 { opacity: 1; }
body.intensity-strong #nosotros { background: var(--paper-2); }
body.intensity-strong .billete-wrap { transform: rotate(-1.5deg) scale(1.02); }

/* ═══════════════════════════════════════════════════════════════
   Marca de agua "marca registrada" al mover cursor sobre textos
   ═══════════════════════════════════════════════════════════════ */
.watermark-trigger { position: relative; }
.watermark-trigger::after {
  content: '✴';
  position: absolute;
  right: -18px; top: 0;
  color: var(--bordeaux);
  opacity: 0;
  font-size: 10px;
  transition: opacity .3s;
}
.watermark-trigger:hover::after { opacity: .6; }
