/* ============ BASE ============ */
:root {
  /* Default: Colorado clásico */
  --c-red: #C8102E;
  --c-red-deep: #9A0A23;
  --c-bordo: #6B1220;
  --c-cream: #F6F1E7;
  --c-paper: #FBF8F1;
  --c-ink: #1A1110;
  --c-ink-soft: #3A2A26;
  --c-line: rgba(26,17,16,0.12);
  --c-line-strong: rgba(26,17,16,0.22);
  --c-gold: #B68A4F;

  --f-serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --f-sans: "Archivo", system-ui, -apple-system, sans-serif;
  --f-cond: "Archivo Narrow", "Archivo", sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;

  --shadow-card: 0 1px 0 rgba(26,17,16,0.04), 0 18px 40px -22px rgba(26,17,16,0.18);
  --shadow-soft: 0 1px 0 rgba(26,17,16,0.04), 0 8px 30px -10px rgba(26,17,16,0.10);
}

[data-palette="bordo"] {
  --c-red: #8B1E2D;
  --c-red-deep: #5E1019;
  --c-bordo: #3F0810;
  --c-cream: #F5EFE4;
  --c-paper: #FAF6EC;
  --c-gold: #C9A55A;
}

[data-palette="midnight"] {
  --c-red: #DC1E3C;
  --c-red-deep: #A20E26;
  --c-bordo: #0E0A14;
  --c-cream: #ECE7DD;
  --c-paper: #14101A;
  --c-ink: #ECE7DD;
  --c-ink-soft: #C9C2B4;
  --c-line: rgba(236,231,221,0.14);
  --c-line-strong: rgba(236,231,221,0.28);
  --c-gold: #D4AE6A;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--f-sans);
  background: var(--c-paper);
  color: var(--c-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.serif { font-family: var(--f-serif); font-weight: 400; }
.cond  { font-family: var(--f-cond); }
.eyebrow {
  font-family: var(--f-cond);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-red);
}

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--c-paper) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-emblem {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  background: var(--c-red);
  color: var(--c-cream);
  border-radius: 4px;
  font-family: var(--f-serif);
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand-text { line-height: 1.05; }
.brand-text .nm { font-weight: 700; font-size: 15px; }
.brand-text .sm { font-size: 11px; color: var(--c-ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--c-ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--c-red); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  text-decoration: none;
  background: transparent;
  color: var(--c-ink);
}
.btn-primary {
  background: var(--c-red); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 8px 24px -8px rgba(155,10,35,0.55);
}
.btn-primary:hover {
  background: var(--c-red-deep);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, 0 14px 32px -8px rgba(155,10,35,0.7);
}
.btn-ghost {
  border: 1px solid var(--c-line-strong);
  color: var(--c-ink);
}
.btn-ghost:hover { border-color: var(--c-ink); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn-xl { padding: 22px 34px; font-size: 17px; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 56px 0 88px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.hero-eyebrow-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.hero-eyebrow-row .bar {
  width: 36px; height: 1px; background: var(--c-red);
}

.hero-h1 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--c-ink);
  text-wrap: balance;
}
.hero-h1 em {
  color: var(--c-red);
  font-style: italic;
}

.hero-sub {
  font-size: 18px;
  color: var(--c-ink-soft);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  border: 1px solid var(--c-line-strong);
  border-radius: 4px;
  overflow: hidden;
  background: color-mix(in srgb, var(--c-paper) 60%, white);
  font-family: var(--f-cond);
  font-size: 13px;
}
.hero-meta .seg {
  padding: 10px 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-right: 1px solid var(--c-line-strong);
}
.hero-meta .seg:last-child { border-right: 0; }
.hero-meta .seg b { color: var(--c-red); font-weight: 700; letter-spacing: 0.04em; }

.hero-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* Hero portrait */
.hero-portrait-wrap {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  max-width: 520px;
  margin-left: auto;
}
.hero-portrait {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(180deg, #d8c8a8 0%, #b89868 100%);
  box-shadow: var(--shadow-card);
}
.hero-portrait image-slot {
  width: 100%; height: 100%;
}
.hero-portrait::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(26,17,16,0.55) 100%);
  pointer-events: none;
}

.hero-stamp {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--c-red);
  color: #fff;
  padding: 22px 26px;
  border-radius: 4px;
  font-family: var(--f-cond);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  box-shadow: var(--shadow-card);
  z-index: 2;
}
.hero-stamp .lbl { font-size: 11px; opacity: 0.8; }
.hero-stamp .opt { font-family: var(--f-serif); font-size: 44px; line-height: 0.9; font-style: italic; }

.hero-rib {
  position: absolute;
  top: 32px;
  right: -10px;
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 10px 18px;
  font-family: var(--f-cond);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

/* Hero background ornament */
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.6;
  z-index: -1;
}

/* ============ SECTIONS ============ */
section { padding: 96px 0; position: relative; }
@media (max-width: 760px) { section { padding: 64px 0; } }

.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 760px) {
  .sec-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}
.sec-title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 12px 0 0;
  text-wrap: balance;
}
.sec-title em { color: var(--c-red); font-style: italic; }
.sec-lede {
  font-size: 18px; line-height: 1.55;
  color: var(--c-ink-soft);
  max-width: 540px;
}

/* ============ VALORES ============ */
.valores {
  background: linear-gradient(180deg, var(--c-paper) 0%, var(--c-cream) 100%);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  overflow: hidden;
}
@media (max-width: 900px) { .valores-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .valores-grid { grid-template-columns: 1fr; } }
.valor {
  background: var(--c-paper);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  transition: background .3s;
}
.valor:hover { background: color-mix(in srgb, var(--c-paper) 70%, var(--c-red) 4%); }
.valor-icon {
  width: 44px; height: 44px;
  color: var(--c-red);
}
.valor-num {
  font-family: var(--f-cond);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--c-ink-soft);
  text-transform: uppercase;
  margin-top: auto;
}
.valor-title {
  font-family: var(--f-serif);
  font-size: 28px;
  line-height: 1;
  margin: 0;
}
.valor-text {
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ============ MENSAJE ============ */
.mensaje {
  background: var(--c-paper);
}
.mensaje-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 900px) { .mensaje-grid { grid-template-columns: 1fr; gap: 36px; } }

.mensaje-portrait {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(180deg, #c8b88c 0%, #a88858 100%);
  box-shadow: var(--shadow-card);
  position: relative;
}
.mensaje-portrait image-slot { width: 100%; height: 100%; }
.mensaje-portrait .quote-mark {
  position: absolute;
  top: 18px; left: 22px;
  font-family: var(--f-serif);
  font-size: 120px;
  line-height: 0.6;
  color: var(--c-cream);
  opacity: 0.85;
  pointer-events: none;
}

.mensaje-body p {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  margin: 0 0 24px;
  color: var(--c-ink);
  text-wrap: pretty;
}
.mensaje-body p + p {
  font-family: var(--f-sans);
  font-size: 17px;
  color: var(--c-ink-soft);
  line-height: 1.65;
}
.mensaje-sign {
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--c-line);
}
.mensaje-sign .sig {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--c-red);
  line-height: 1;
}
.mensaje-sign .who {
  font-size: 13px;
  color: var(--c-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--f-cond);
}

/* ============ BOLETA ============ */
.boleta {
  background: var(--c-ink);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.boleta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(200,16,46,0.25), transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(200,16,46,0.15), transparent 50%);
  pointer-events: none;
}
.boleta .container { position: relative; z-index: 1; }
.boleta .sec-title { color: var(--c-cream); }
.boleta .sec-lede { color: rgba(246,241,231,0.7); }
.boleta .eyebrow { color: var(--c-red); }

.boleta-card-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .boleta-card-wrap { grid-template-columns: 1fr; } }

.boleta-card {
  background: var(--c-paper);
  color: var(--c-ink);
  border-radius: 6px;
  padding: 0;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06),
    0 30px 60px -20px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  transform: rotate(-1.2deg);
  transition: transform .4s;
  font-family: var(--f-cond);
}
.boleta-card:hover { transform: rotate(0deg); }
.boleta-head {
  background: var(--c-red);
  color: #fff;
  padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.boleta-head .ttl {
  font-family: var(--f-cond);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 600;
}
.boleta-head .lst {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 28px;
  line-height: 1;
}
.boleta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line-strong);
  padding: 1px;
}
@media (max-width: 520px) {
  .boleta-grid { grid-template-columns: repeat(3, 1fr); }
}
.boleta-cell {
  background: var(--c-paper);
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 110px;
  position: relative;
  transition: background .25s;
}
.boleta-cell .num {
  font-family: var(--f-serif);
  font-size: 26px;
  line-height: 1;
  color: var(--c-ink-soft);
}
.boleta-cell .nm-ph {
  display: flex; flex-direction: column; gap: 5px;
  margin-top: 4px;
}
.boleta-cell .nm-ph span {
  display: block;
  height: 5px;
  background: var(--c-line-strong);
  opacity: 0.5;
  border-radius: 1px;
}
.boleta-cell .nm-ph span:nth-child(1) { width: 78%; }
.boleta-cell .nm-ph span:nth-child(2) { width: 56%; }
.boleta-cell .nm {
  font-family: var(--f-sans);
  font-size: 14px;
  line-height: 1.1;
  font-weight: 700;
  margin-top: 2px;
}
.boleta-cell .check {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 22px; height: 22px;
  border: 1.5px solid var(--c-line-strong);
  border-radius: 3px;
}
.boleta-cell.is-it {
  background: var(--c-red);
  color: #fff;
  z-index: 1;
  box-shadow: 0 0 0 2px var(--c-red), 0 12px 28px -8px rgba(155,10,35,0.55);
  animation: cellPulse 2.6s ease-in-out infinite;
}
@keyframes cellPulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--c-red), 0 12px 28px -8px rgba(155,10,35,0.55); }
  50%      { box-shadow: 0 0 0 2px var(--c-red), 0 16px 36px -6px rgba(155,10,35,0.85); }
}
.boleta-cell.is-it .num {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.boleta-cell.is-it .nm { color: #fff; }
.boleta-cell.is-it .check {
  background: #fff;
  border-color: #fff;
  color: var(--c-red);
  display: grid; place-items: center;
}

.boleta-foot {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-cond);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.boleta-foot b { color: #fff; font-family: var(--f-serif); font-style: italic; font-size: 18px; letter-spacing: 0; margin-left: 4px; }

.boleta-info {
  display: grid; gap: 24px;
}
.boleta-info .step {
  display: flex; gap: 16px;
}
.boleta-info .step .n {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(246,241,231,0.3);
  font-family: var(--f-serif);
  font-style: italic;
  flex-shrink: 0;
}
.boleta-info .step .b { font-weight: 600; margin-bottom: 4px; color: var(--c-cream); }
.boleta-info .step .t { font-size: 14px; color: rgba(246,241,231,0.7); line-height: 1.5; }

/* ============ PROPUESTAS ============ */
.propuestas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .propuestas-grid { grid-template-columns: 1fr; } }
.prop {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 28px;
  position: relative;
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
}
.prop:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.prop .pn {
  font-family: var(--f-serif);
  font-style: italic;
  color: var(--c-red);
  font-size: 22px;
}
.prop h3 {
  font-family: var(--f-serif);
  font-size: 26px;
  line-height: 1.05;
  margin: 0;
  font-weight: 400;
}
.prop p { font-size: 14px; color: var(--c-ink-soft); margin: 0; line-height: 1.55; }
.prop-tag {
  margin-top: auto;
  font-family: var(--f-cond);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--c-ink-soft);
}

/* ============ GALERIA ============ */
.galeria {
  background: var(--c-cream);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.galeria-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
}
.galeria-grid > *:nth-child(1) { grid-row: span 2; }
@media (max-width: 760px) {
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 240px 240px;
  }
  .galeria-grid > *:nth-child(1) { grid-row: span 1; grid-column: span 2; }
}
.gal-tile {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, #d4c4a4, #b09060);
  box-shadow: var(--shadow-soft);
}
.gal-tile image-slot { width: 100%; height: 100%; }
.gal-tile .cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(26,17,16,0.85));
  color: var(--c-cream);
  font-family: var(--f-cond);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  pointer-events: none;
}

/* ============ VIDEO ============ */
.video-block {
  margin-top: 56px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a1614, #4a2420);
  box-shadow: var(--shadow-card);
}
.video-block image-slot { width: 100%; height: 100%; }
.video-block .play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}
.video-block .play .btn-play {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: var(--c-red);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.5);
}
.video-block .cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  color: var(--c-cream);
}
.video-block .cap .ey { font-family: var(--f-cond); text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; opacity: 0.7; }
.video-block .cap .ti { font-family: var(--f-serif); font-size: 28px; margin-top: 4px; }

/* ============ FINAL CTA ============ */
.cta-final {
  background: var(--c-red);
  color: #fff;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "2026";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(280px, 40vw, 600px);
  line-height: 1;
  color: rgba(255,255,255,0.07);
  pointer-events: none;
  font-weight: 400;
  letter-spacing: -0.04em;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final .ey {
  font-family: var(--f-cond);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 12px;
  opacity: 0.8;
}
.cta-final h2 {
  font-family: var(--f-serif);
  font-size: clamp(48px, 7.5vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 24px 0 32px;
  font-weight: 400;
}
.cta-final h2 em { font-style: italic; }
.cta-final .btn-cta {
  background: var(--c-paper);
  color: var(--c-ink);
  padding: 22px 36px;
  font-size: 16px;
}
.cta-final .btn-cta:hover { background: #fff; transform: translateY(-2px); }

/* ============ FOOTER ============ */
.footer {
  background: var(--c-ink);
  color: var(--c-cream);
  padding: 80px 0 40px;
}
.footer-slogan {
  font-family: var(--f-serif);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0 0 56px;
  font-weight: 400;
  text-wrap: balance;
}
.footer-slogan em { color: var(--c-red); font-style: italic; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(246,241,231,0.15);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-col h4 {
  font-family: var(--f-cond);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  margin: 0 0 18px;
  color: rgba(246,241,231,0.5);
  font-weight: 600;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: var(--c-cream);
  opacity: 0.85;
  margin: 0 0 8px;
  transition: opacity .2s;
}
.footer-col a:hover { opacity: 1; color: var(--c-red); }

.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid rgba(246,241,231,0.2);
  border-radius: 50%;
  margin: 0;
  transition: all .2s;
}
.footer-social a:hover { background: var(--c-red); border-color: var(--c-red); }

.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 12px;
  font-family: var(--f-cond);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(246,241,231,0.5);
  flex-wrap: wrap; gap: 12px;
}

/* ============ MODAL SIMULADOR ============ */
.modal-back {
  position: fixed; inset: 0;
  background: rgba(10,7,6,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid; place-items: center;
  z-index: 100;
  padding: 20px;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--c-paper);
  color: var(--c-ink);
  border-radius: 8px;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 36px;
  position: relative;
  animation: slideUp .35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--c-line-strong);
  background: transparent;
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Stagger child reveals */
.reveal-children > * { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-children.in > * { opacity: 1; transform: translateY(0); }
.reveal-children.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-children.in > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-children.in > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-children.in > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-children.in > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-children.in > *:nth-child(6) { transition-delay: 0.55s; }
