/* Adimsa Empaques Flexibles — estilos del sitio.
   Colores de marca: rojo #E11A2C, azul #1B44CF. Tipografía: Sofia Pro. */

/* -------- Sofia Pro -------- */
@font-face { font-family: "Sofia Pro"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/sofia-pro-400.woff2") format("woff2"); }
@font-face { font-family: "Sofia Pro"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/sofia-pro-500.woff2") format("woff2"); }
@font-face { font-family: "Sofia Pro"; font-weight: 600; font-style: normal; font-display: swap; src: url("../assets/fonts/sofia-pro-600.woff2") format("woff2"); }
@font-face { font-family: "Sofia Pro"; font-weight: 700; font-style: normal; font-display: swap; src: url("../assets/fonts/sofia-pro-700.woff2") format("woff2"); }
@font-face { font-family: "Sofia Pro"; font-weight: 900; font-style: normal; font-display: swap; src: url("../assets/fonts/sofia-pro-900.woff2") format("woff2"); }

/* -------- Tokens -------- */
:root {
  /* Marca */
  --red: #E11A2C;
  --red-deep: #BC1322;
  --blue: #1B44CF;
  --blue-deep: #13319B;

  /* Tinta / texto */
  --ink: #14151F;
  --ink-2: #2C2F3C;
  --body: #555A6B;
  --muted: #9296A4;

  /* Superficies */
  --paper: #FFFFFF;
  --paper-2: #F4F3EE;
  --paper-3: #ECEBE3;
  --line: #E4E3DA;
  --line-soft: #EDECE4;
  --press: #0E0F17;
  --press-line: rgba(255, 255, 255, .12);
  --on-press: #C8CAD6;

  --on-paper-mut: #6A6E7C;

  /* Tipografía */
  --font-display: "Sofia Pro", system-ui, sans-serif;
  --font-body: "Sofia Pro", system-ui, sans-serif;
  --display: var(--font-display);
  --mono: var(--font-body);

  /* Medidas */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 30px 70px -34px rgba(20, 21, 31, .35);
  --shadow-sm: 0 10px 30px -18px rgba(20, 21, 31, .3);
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--body);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
strong { color: var(--ink); font-weight: 700; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

/* -------- Tipografía -------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; }
.display { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: .98; letter-spacing: -.03em; color: var(--ink); }
.display em { font-style: normal; color: var(--red); }
.h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); letter-spacing: -.03em; }
.h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.02em; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--body); max-width: 56ch; }

/* Etiqueta superior */
.eyebrow {
  font-family: var(--font-display); font-size: .8rem; font-weight: 600;
  letter-spacing: .02em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--red); display: inline-block; }
.eyebrow.on-dark { color: #fff; } .eyebrow.on-dark::before { background: var(--red); }

/* -------- Layout -------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 132px); position: relative; }
.section--paper { background: var(--paper-2); }
.section--ink { background: var(--paper-2); }
.section--ink-2 { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .h2 { margin-top: .55rem; }
.section-head p { margin-top: 1.1rem; color: var(--body); }
.center { text-align: center; margin-inline: auto; }

/* Línea separadora */
.cmyk-rule { height: 0; border: 0; border-top: 1px solid var(--line); margin: 0; }
.reg-mark { width: 30px; height: 30px; flex: none; color: var(--red); }

/* -------- Botones -------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.6em; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  background: var(--bg); color: var(--fg);
  transition: transform .2s var(--ease), box-shadow .28s var(--ease), background .2s, color .2s;
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px var(--bg); }
.btn:active { transform: translateY(0); }
.btn--red { --bg: var(--red); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; }
.btn--lg { padding: 1.08em 2em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* -------- Header -------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(16px) saturate(1.1); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 84px; }
.brand { display: flex; align-items: center; }
.brand img { height: 48px; width: auto; }
.brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--font-display); font-weight: 500; font-size: .98rem; padding: .5em .9em; border-radius: 8px; color: var(--ink); opacity: .72; transition: opacity .2s, color .2s; }
.nav a:hover, .nav a.is-active { opacity: 1; }
.nav a.is-active { color: var(--red); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.nav > .btn { display: none; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: rotate(-45deg) translateY(-1.5px); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .nav { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 28px; transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow); }
  body.nav-open .nav { transform: translateY(0); }
  .nav a { font-size: 1.1rem; padding: 1em .3em; border-bottom: 1px solid var(--line-soft); opacity: 1; }
  .nav > .btn { display: inline-flex; margin-top: 18px; justify-content: center; }
}

/* -------- Hero -------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(34px, 5vw, 70px); align-items: center; padding-block: clamp(48px, 7vw, 104px); }
.hero-copy { max-width: 660px; }
.hero h1 { margin: 20px 0 24px; }
.hero .btn-row { margin-top: 36px; }
.hero-meta { margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; gap: 30px 40px; flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta b { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); line-height: 1; }
.hero-meta span { font-size: .86rem; color: var(--muted); margin-top: 4px; }

.hero-figure { position: relative; }
.hero-figure .frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); z-index: 1; }
.hero-figure .frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.hero-figure::before { /* bloque de acento */
  content: ""; position: absolute; right: -18px; top: -18px; width: 46%; height: 56%; background: var(--red); border-radius: var(--radius-lg); z-index: 0;
}
.hero-figure::after { content: ""; position: absolute; left: -18px; bottom: -18px; width: 34%; height: 30%; border: 2px solid var(--blue); border-radius: var(--radius-lg); z-index: 0; }
.hero-figure .tag { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-family: var(--font-display); font-weight: 600; font-size: .8rem; background: rgba(255,255,255,.94); color: #14151F; padding: .55em .9em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero-figure .corner { display: none; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 430px; }
}

/* -------- Banda de productos -------- */
.press-band { background: var(--press); color: var(--on-press); padding-block: clamp(40px, 6vw, 66px); overflow: hidden; position: relative; }
.press-band .press-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.press-band .press-head h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2.1rem); }
.press-band .press-head p { color: var(--on-press); max-width: 42ch; font-size: .98rem; }
.filmstrip { position: relative; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.filmstrip-track { display: flex; gap: 16px; padding-right: 16px; animation: filmroll 60s linear infinite; }
.press-band:hover .filmstrip-track { animation-play-state: paused; }
.filmstrip-track img { height: clamp(170px, 22vw, 290px); width: auto; flex: none; border-radius: 10px; object-fit: cover; box-shadow: 0 18px 40px -22px #000; }
@keyframes filmroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .filmstrip-track { animation: none; } }

/* -------- Productos -------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-media { aspect-ratio: 7/5; overflow: hidden; background: var(--paper-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-index { font-family: var(--font-display); font-weight: 600; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.card h3 { font-size: 1.45rem; }
.card p { color: var(--body); font-size: .97rem; flex: 1; }
.card-link { font-family: var(--font-display); font-weight: 600; font-size: .92rem; color: var(--ink); display: inline-flex; align-items: center; gap: .45em; margin-top: 8px; }
.card-link svg { width: 1em; height: 1em; transition: transform .2s; }
.card:hover .card-link { color: var(--red); }
.card:hover .card-link svg { transform: translateX(4px); }

/* -------- Feature impresión 10 tintas -------- */
.print { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 76px); align-items: center; }
.print-figure { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.print-figure img { width: 100%; display: block; }
.ink-strip { display: flex; gap: 10px; margin: 30px 0 6px; }
.ink-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .82rem; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08), 0 8px 18px -8px rgba(20,21,31,.4); }
.ink-dot span { position: static; }
@media (max-width: 820px) { .print { grid-template-columns: 1fr; } }

/* -------- Métricas -------- */
.metrics { max-width: var(--maxw); margin-inline: auto; padding: clamp(48px, 7vw, 90px) var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 48px); }
.metric { padding-left: 22px; border-left: 2px solid var(--red); }
.metric:nth-child(2) { border-left-color: var(--blue); }
.metric:nth-child(3) { border-left-color: var(--red); }
.metric:nth-child(4) { border-left-color: var(--blue); }
.metric .num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: .92; letter-spacing: -.04em; color: var(--ink); }
.metric .num .u { color: var(--red); }
.metric .lbl { font-size: .92rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 760px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* -------- Cintillo de logos de clientes -------- */
.clients-band { background: var(--paper); padding-block: clamp(40px, 6vw, 64px); border-block: 1px solid var(--line); overflow: hidden; }
.clients-band .band-label { text-align: center; margin-bottom: 32px; }
.clients-band .eyebrow { justify-content: center; }
.marquee { position: relative; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 86px); padding-right: clamp(40px, 6vw, 86px); animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 52px; width: auto; flex: none; object-fit: contain; transition: transform .3s var(--ease); }
.marquee-track img:hover { transform: scale(1.14); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; } }

.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 20px); }
.logo-grid .cell { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 34px 24px; min-height: 128px; transition: transform .25s, box-shadow .25s; }
.logo-grid .cell:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.logo-grid img { height: 62px; width: auto; max-width: 82%; object-fit: contain; transition: transform .25s var(--ease); }
.logo-grid .cell:hover img { transform: scale(1.09); }
@media (max-width: 760px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* -------- Page hero (páginas internas): banda azul con empaques -------- */
.page-hero { background: linear-gradient(135deg, #15369C 0%, #1B44CF 56%, #2C57E6 100%); color: #fff; position: relative; overflow: hidden; text-align: center; }
.page-hero .wrap { position: relative; z-index: 2; padding-block: clamp(60px, 8vw, 116px); }
.page-hero h1 { color: #fff; font-weight: 900; font-size: clamp(2.4rem, 6vw, 4.4rem); letter-spacing: -.03em; margin: 16px 0 18px; }
.page-hero h1 em { font-style: normal; color: #fff; }
.page-hero p { max-width: 58ch; margin-inline: auto; color: rgba(255,255,255,.9); font-size: clamp(1.02rem,1.5vw,1.18rem); }
.page-hero .btn-row { justify-content: center; }
.page-hero .btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.page-hero .btn--ghost:hover { --bg: #fff; --fg: var(--blue-deep); box-shadow: inset 0 0 0 1.5px #fff; }
.page-hero .cmyk-rule { display: none; }
.crumbs { font-family: var(--font-display); font-weight: 500; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--red); }
.page-hero .crumbs { color: rgba(255,255,255,.72); }
.page-hero .crumbs a:hover { color: #fff; }

/* Imágenes decorativas del hero */
.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-deco img { position: absolute; width: clamp(168px, 17vw, 280px); aspect-ratio: 1/1; object-fit: cover; border-radius: 16px; box-shadow: 0 26px 60px -24px rgba(0,0,0,.55); }
.hero-deco .d1 { left: -56px; top: 7%; transform: rotate(-11deg); }
.hero-deco .d2 { left: -26px; bottom: -11%; width: clamp(148px, 14vw, 224px); transform: rotate(7deg); }
.hero-deco .d3 { right: -56px; top: 3%; transform: rotate(11deg); }
.hero-deco .d4 { right: -22px; bottom: -13%; width: clamp(148px, 14vw, 224px); transform: rotate(-8deg); }
@media (max-width: 1100px) { .hero-deco .d2, .hero-deco .d4 { display: none; } }
@media (max-width: 880px) { .hero-deco { display: none; } }

/* -------- Galería + lightbox -------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(10px, 1.4vw, 16px); }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); border: 1px solid var(--line); aspect-ratio: 1; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14,15,23,.5)); opacity: 0; transition: opacity .3s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .n { position: absolute; left: 12px; bottom: 10px; z-index: 2; font-family: var(--font-display); font-weight: 600; font-size: .72rem; color: #fff; opacity: 0; transition: opacity .3s; }
.gallery-item:hover .n { opacity: .95; }

.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(8, 9, 14, .94); backdrop-filter: blur(8px); padding: clamp(16px, 4vw, 50px); }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 30px 80px -20px #000; }
.lb-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; transition: background .2s, border-color .2s; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-prev { left: 3vw; } .lb-next { right: 3vw; }
.lb-close { position: absolute; top: 22px; right: 24px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; font-size: 1.4rem; }
.lb-close:hover { background: var(--red); }
.lb-counter { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--font-display); font-size: .82rem; color: rgba(255,255,255,.7); letter-spacing: .08em; }
.lb-btn svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .lb-prev { left: 8px; } .lb-next { right: 8px; } .lb-btn { width: 44px; height: 44px; } }

/* -------- Contacto -------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 60px); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: .84rem; color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; padding: .9em 1em; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(27,68,207,.13); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.info-card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 42px); }
.info-item { display: flex; gap: 14px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-item:last-child { border-bottom: 0; }
.info-item .ico { width: 42px; height: 42px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.info-item .ico svg { width: 20px; height: 20px; }
.info-item .k { font-family: var(--font-display); font-weight: 600; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.info-item .v { color: #fff; }
.info-item a.v:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 24px; }

/* -------- CTA final -------- */
.cta-band { background: var(--red); color: #fff; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 50% -10%, rgba(255,255,255,.16), transparent 70%); }
.cta-band .wrap { position: relative; }
.cta-band .h2 { color: #fff; }
.cta-band .eyebrow { color: rgba(255,255,255,.85); justify-content: center; }
.cta-band .eyebrow::before { background: rgba(255,255,255,.7); }
.cta-band p { color: rgba(255,255,255,.92); max-width: 54ch; margin: 16px auto 0; }
.cta-band .btn { --bg: #fff; --fg: var(--red-deep); }
.cta-band .btn:hover { box-shadow: 0 16px 40px -14px rgba(0,0,0,.45); }
.cta-band .btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.65); }
.cta-band .btn--ghost:hover { --bg: #fff; --fg: var(--red-deep); box-shadow: inset 0 0 0 1.5px #fff; }

/* -------- Footer (oscuro) -------- */
.site-footer { background: var(--press); color: var(--on-press); padding-block: clamp(56px, 7vw, 88px) 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 54px; margin-bottom: 18px; }
.footer-brand p { color: var(--on-press); font-size: .96rem; max-width: 42ch; }
.footer-col h4 { font-family: var(--font-display); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--on-press); padding: 5px 0; font-size: .96rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--press-line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--on-press); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* -------- Prosa / Misión-Visión -------- */
.prose { max-width: 70ch; }
.prose p { color: var(--body); font-size: 1.08rem; }
.prose p + p { margin-top: 1.15em; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 10px; }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }
.mv { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; position: relative; }
.mv::before { content: ""; position: absolute; left: 0; top: 34px; width: 4px; height: 34px; background: var(--red); border-radius: 0 4px 4px 0; }
.mv:nth-child(2)::before { background: var(--blue); }
.mv h3 { font-size: 1.5rem; margin-bottom: 12px; }
.mv p { color: var(--body); }

/* Quiénes somos: texto + video */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.about-grid .prose { max-width: 54ch; }
.about-video { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-video video { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

/* -------- Reveal -------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--red); color: #fff; padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* -------- Botón de tema -------- */
.theme-toggle { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: transparent; transition: border-color .2s, color .2s; flex: none; }
.theme-toggle:hover { color: var(--red); border-color: var(--red); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; }

/* -------- Tema oscuro -------- */
[data-theme="dark"] {
  --paper: #0F1016;
  --paper-2: #16171F;
  --paper-3: #1C1E28;
  --line: #282B37;
  --line-soft: #1F212B;
  --ink: #F2F3F8;
  --ink-2: #C7CAD4;
  --body: #A6AAB8;
  --muted: #797D8D;
  --press: #08090F;
  --on-press: #B9BECD;
}
[data-theme="dark"] .site-header { background: rgba(15, 16, 22, .82); }
[data-theme="dark"] .site-header.is-scrolled { border-bottom-color: var(--line); }
[data-theme="dark"] .btn { --bg: var(--ink); --fg: #0F1016; }
[data-theme="dark"] .btn--red { --bg: var(--red); --fg: #fff; }
[data-theme="dark"] .btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
[data-theme="dark"] .btn--ghost:hover { --bg: var(--ink); --fg: #0F1016; }
[data-theme="dark"] .cta-band .btn { --bg: #fff; --fg: var(--red-deep); }
[data-theme="dark"] .cta-band .btn--ghost { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .65); }
[data-theme="dark"] .page-hero .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
[data-theme="dark"] .info-card { background: var(--paper-2); }
[data-theme="dark"] .logo-grid .cell { background: rgba(255, 255, 255, .03); }
@media (max-width: 900px) { [data-theme="dark"] .nav { background: var(--paper); } }

/* Titular del hero en azul institucional (el acento <em> sigue en rojo) */
.hero .display { color: var(--blue); }
[data-theme="dark"] .hero .display { color: #FFFFFF; }
