/* Vidrala · base de la demo.
   Todo sale de /tokens (copiados del Vidrala Design System). Reglas de marca:
   - Un solo verde de acción (#009A44). Lima solo dentro del logo.
   - Century Gothic (manual v02): Delgada 300, Regular 400, Negrita 700. Sentence case. Kickers en mayúsculas con tracking.
   - Logo del grupo siempre arriba a la derecha en documentos y piezas (manual, p. 07).
   - Glass solo sobre foto, vídeo o verde "stage"; nunca sobre superficies claras planas.
   - Contenedores redondeados (12/20/28/40), acciones en píldora. */
@import "../tokens/fonts.css";
@import "../tokens/colors.css";
@import "../tokens/typography.css";
@import "../tokens/spacing.css";
@import "../tokens/effects.css";
@import "../tokens/direction.css";

:root {
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 64px);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow-soft: 0 1px 2px rgba(2, 48, 26, .06), 0 12px 32px rgba(2, 48, 26, .08);
  --shadow-lift: 0 2px 4px rgba(2, 48, 26, .08), 0 24px 56px rgba(2, 48, 26, .16);
  --text-on-stage: #FFFFFF;
  --text-on-stage-muted: rgba(255, 255, 255, .72);
  --glow-green: radial-gradient(60% 60% at 50% 50%, rgba(0, 154, 68, .55) 0%, rgba(0, 154, 68, 0) 70%);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--text-body); line-height: var(--leading-body);
  /* --text-body se define como color (colors.css) y como tamaño (typography.css); gana el tamaño, así que el color va directo */
  color: var(--ink-900); background: var(--surface-page); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: var(--text-link); text-decoration: none; }
a:hover { opacity: var(--hover-opacity); }
h1, h2, h3, h4, h5 { margin: 0; font-weight: var(--weight-bold); line-height: var(--leading-heading); letter-spacing: var(--tracking-tight); color: var(--text-heading); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
b, strong { font-weight: var(--weight-bold); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 6px; }
::selection { background: var(--green-100); color: var(--green-900); }
.vd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.vd-container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.vd-section { position: relative; padding: clamp(64px, 9vw, var(--section-pad-y)) 0; }
.vd-section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.vd-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.vd-grid { display: grid; gap: var(--grid-gap); }
.vd-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .vd-grid-3, .vd-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .vd-grid-2, .vd-grid-3, .vd-grid-4 { grid-template-columns: 1fr; } }

/* Bandas */
.vd-band-stage { background: var(--surface-stage); color: var(--text-on-stage); }
.vd-band-deep { background: var(--green-950); color: var(--text-on-stage); }
.vd-band-brand { background: var(--surface-brand-band); color: var(--text-on-stage); }
.vd-band-soft { background: var(--surface-soft); }
.vd-band-white { background: var(--white); }
.vd-band-vitreous { background: var(--surface-vitreous); }
:is(.vd-band-stage, .vd-band-deep, .vd-band-brand, .vd-on-dark) :is(h1, h2, h3, h4) { color: var(--text-on-stage); }
:is(.vd-band-stage, .vd-band-deep, .vd-band-brand, .vd-on-dark) .vd-muted { color: var(--text-on-stage-muted); }
/* Arcos decorativos del site (círculos blancos sobre gris) */
.vd-arcs { position: relative; overflow: hidden; }
.vd-arcs::before, .vd-arcs::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .9); pointer-events: none; z-index: 0; }
.vd-arcs > * { position: relative; z-index: 1; }
.vd-arcs::before { width: 1200px; height: 1200px; right: -520px; top: -600px; box-shadow: 0 0 0 120px rgba(255, 255, 255, .35); }
.vd-arcs::after { width: 900px; height: 900px; left: -560px; bottom: -560px; }

/* ---------- Tipografía ---------- */
.vd-hero { font-size: clamp(48px, 8.2vw, var(--text-hero)); line-height: var(--leading-hero); letter-spacing: var(--tracking-hero); font-weight: var(--weight-bold); }
.vd-display { font-size: clamp(40px, 5.6vw, var(--text-hero-sm)); line-height: 1.02; letter-spacing: -0.02em; font-weight: var(--weight-bold); }
.vd-h1 { font-size: clamp(32px, 3.8vw, 54px); line-height: 1.08; letter-spacing: -0.01em; }
.vd-h2 { font-size: clamp(28px, 3.1vw, var(--text-h1)); line-height: 1.1; letter-spacing: -0.01em; }
.vd-h3 { font-size: clamp(22px, 2.2vw, var(--text-h3)); line-height: 1.15; }
.vd-h4 { font-size: var(--text-h4); line-height: 1.2; }
.vd-lead { font-size: clamp(18px, 1.6vw, var(--text-body-lg)); line-height: 1.5; max-width: var(--content-narrow); }
.vd-lead--xl { font-size: clamp(20px, 2vw, var(--text-lead)); }
.vd-small { font-size: var(--text-body-sm); }
.vd-caption { font-size: var(--text-caption); line-height: 1.4; color: var(--text-muted); }
.vd-muted { color: var(--text-muted); }
.vd-accent { color: var(--text-accent); }
.vd-kicker {
  display: inline-flex; align-items: center; gap: 10px; font-size: var(--text-kicker-caps); font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-kicker); text-transform: uppercase; color: var(--green-500);
}
.vd-kicker::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
:is(.vd-band-stage, .vd-band-deep, .vd-band-brand, .vd-on-dark, .vd-glass) .vd-kicker { color: var(--green-100); }
.vd-kicker--plain::before { display: none; }
/* Titular de dos tonos (Apple): segunda línea apagada */
.vd-two-tone { display: block; }
.vd-two-tone > span:not(.w), .vd-two-tone .tt-muted { display: block; color: var(--text-headline-muted); }
:is(.vd-band-stage, .vd-band-deep, .vd-band-brand, .vd-on-dark) .vd-two-tone > span:not(.w) { color: rgba(255, 255, 255, .5); }
.vd-heading { display: grid; gap: var(--space-4); margin-bottom: clamp(32px, 4vw, 56px); }
.vd-heading--center { text-align: center; justify-items: center; }
.vd-heading--center .vd-lead { margin: 0 auto; }
.vd-num { font-variant-numeric: tabular-nums; }

/* ---------- Botones ---------- */
.vd-btn {
  /* Fondo Green Grove: blanco sobre Grove 4,81:1 (AA). Sobre Meadow sería 3,68:1, insuficiente para 17 px */
  --b-bg: var(--green-grove); --b-fg: var(--white); --b-bd: var(--green-grove);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px;
  border-radius: var(--radius-pill); border: 1.5px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font-size: var(--text-body); font-weight: var(--weight-bold); line-height: 1; white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), border-color var(--duration-base) var(--ease-out), transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.vd-btn:hover { opacity: 1; background: var(--green-700); border-color: var(--green-700); color: var(--b-fg); }
.vd-btn:active { transform: scale(.97); }
.vd-btn svg, .vd-btn i[data-lucide] { width: 18px; height: 18px; flex: none; transition: transform var(--duration-base) var(--ease-out); }
.vd-btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
.vd-btn--dark { --b-bg: var(--green-900); --b-bd: var(--green-900); }
.vd-btn--dark:hover { background: var(--green-700); border-color: var(--green-700); }
.vd-btn--white { --b-bg: var(--white); --b-fg: var(--green-900); --b-bd: var(--white); }
.vd-btn--white:hover { background: var(--green-050); border-color: var(--green-050); color: var(--green-900); }
.vd-btn--outline { --b-bg: transparent; --b-fg: var(--green-500); }
.vd-btn--outline:hover { background: var(--green-500); border-color: var(--green-500); color: var(--white); }
.vd-btn--inverse { --b-bg: transparent; --b-fg: var(--white); --b-bd: rgba(255, 255, 255, .85); }
.vd-btn--inverse:hover { background: var(--white); border-color: var(--white); color: var(--green-900); }
.vd-btn--glass {
  --b-bg: var(--glass-light); --b-fg: var(--white); --b-bd: var(--glass-border-light);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
}
.vd-btn--glass:hover { background: var(--glass-light-strong); border-color: rgba(255, 255, 255, .55); color: var(--white); }
.vd-btn--ghost { --b-bg: transparent; --b-bd: transparent; --b-fg: var(--green-500); padding: 0 4px; height: auto; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.vd-btn--ghost:hover { background: transparent; border-color: transparent; color: var(--green-600); }
:is(.vd-band-stage, .vd-band-deep, .vd-on-dark) .vd-btn--ghost { --b-fg: var(--white); }
.vd-btn--sm { height: 40px; padding: 0 18px; font-size: var(--text-body-sm); }
.vd-btn--lg { height: 60px; padding: 0 34px; font-size: 18px; }
.vd-btn--icon { width: 52px; padding: 0; }
.vd-btn--sm.vd-btn--icon { width: 40px; }
.vd-btn:disabled, .vd-btn[aria-disabled="true"] { opacity: .45; cursor: default; transform: none; }

/* ---------- Glass ---------- */
.vd-glass {
  position: relative; isolation: isolate; color: var(--white);
  background: var(--glass-dark); border: 1px solid var(--glass-border-soft); border-radius: var(--radius-lg);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-glass-lg);
}
.vd-glass::before { /* luz superior izquierda */
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--glass-highlight); opacity: .55; pointer-events: none; z-index: -1;
}
.vd-glass::after { /* brillo especular que sigue al cursor (motion.js fija --mx/--my) */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity var(--duration-slow) var(--ease-out);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 60%);
}
.vd-glass:hover::after, .vd-glass.is-lit::after { opacity: 1; }
.vd-glass--light { background: var(--glass-light); border-color: var(--glass-border-light); }
.vd-glass--green { background: var(--glass-green); border-color: var(--glass-border-light); }
.vd-glass--strong { background: rgba(2, 48, 26, .55); backdrop-filter: var(--glass-blur-strong); -webkit-backdrop-filter: var(--glass-blur-strong); }
.vd-glass--pill { border-radius: var(--radius-pill); }
.vd-glass--xl { border-radius: var(--radius-xl); }
/* Reflejo diagonal que barre el vidrio (BA Glass) */
.vd-reflect { position: relative; overflow: hidden; }
.vd-reflect::after {
  content: ""; position: absolute; inset: -20% -60%; background: var(--reflection); transform: translateX(-60%); pointer-events: none;
  animation: vd-sweep 7s var(--ease-in-out) infinite;
}
@keyframes vd-sweep { 0%, 55% { transform: translateX(-60%); } 85%, 100% { transform: translateX(60%); } }

/* ---------- Superficies claras ---------- */
.vd-card { position: relative; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: hidden; }
.vd-card--soft { background: var(--surface-soft); box-shadow: none; }
.vd-card--hover { transition: transform var(--duration-slow) var(--ease-reveal), box-shadow var(--duration-slow) var(--ease-reveal); }
.vd-card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.vd-card__body { padding: var(--space-6); display: grid; gap: var(--space-3); }
.vd-hairline { height: 1px; background: var(--border-default); border: 0; margin: 0; }

/* Foto a sangre con tinte/scrim */
.vd-photo { position: relative; overflow: hidden; background: var(--green-900); }
.vd-photo > img, .vd-photo > .vd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.vd-photo--tint::after { background: var(--tint-green); }
.vd-photo--left::after { background: var(--scrim-left); }
.vd-photo--bottom::after { background: var(--scrim-bottom); }
.vd-photo--hero::after { background: var(--scrim-hero); }
.vd-photo > .vd-photo__in { position: relative; z-index: 1; }

/* Tarjeta de foto con pie glass abajo a la izquierda (Heineken) */
.vd-photo-card { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; background: var(--green-900); color: var(--white); }
.vd-photo-card > img, .vd-photo-card > .vd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-reveal); }
.vd-photo-card:hover > img { transform: scale(1.05); }
.vd-photo-card__cap { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px 20px; display: grid; gap: 6px; }
.vd-photo-card__cap b { font-size: var(--text-h4); line-height: 1.2; }
.vd-photo-card:hover { opacity: 1; }

/* Tile de producto sobre vidrio verde (BA Glass) */
.vd-tile { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface-vitreous); }
.vd-tile--dark { background: var(--surface-vitreous-dark); }
.vd-tile > img, .vd-tile > .vd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vd-tile::before { content: ""; position: absolute; inset: 0; background: var(--reflection); z-index: 1; pointer-events: none; }
.vd-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 56px 20px 20px; color: var(--white); background: linear-gradient(180deg, rgba(2, 48, 26, 0) 0%, rgba(2, 48, 26, .85) 100%); display: grid; gap: 4px; }
.vd-tile__cap b { font-size: var(--text-h4); }
.vd-tile__cap span { font-size: var(--text-caption); opacity: .8; }

/* Estadística grande */
.vd-stat { display: grid; gap: 6px; }
.vd-stat b { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.02em; color: var(--text-heading); }
.vd-stat > span { font-size: var(--text-body-sm); color: var(--text-muted); max-width: 26ch; }
:is(.vd-band-stage, .vd-band-deep, .vd-on-dark, .vd-glass) .vd-stat b { color: var(--white); }
:is(.vd-band-stage, .vd-band-deep, .vd-on-dark, .vd-glass) .vd-stat > span { color: var(--text-on-stage-muted); }

/* ---------- Etiquetas ---------- */
.vd-tag {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: var(--weight-bold); background: var(--green-050); color: var(--green-700); white-space: nowrap;
}
.vd-tag svg, .vd-tag i[data-lucide] { width: 14px; height: 14px; }
.vd-tag--solid { background: var(--green-500); color: var(--white); }
.vd-tag--dark { background: var(--green-900); color: var(--white); }
.vd-tag--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--border-default); color: var(--ink-700); }
.vd-tag--glass { background: var(--glass-light); color: var(--white); box-shadow: inset 0 0 0 1px var(--glass-border-light); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.vd-tag--warn { background: #FFF4D6; color: #7A5600; }
.vd-tag--neg { background: #FBE6E4; color: #9A2820; }
.vd-tag--info { background: #E3EEF9; color: #1F5594; }
.vd-tag--live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: vd-pulse 1.6s var(--ease-out) infinite; }
@keyframes vd-pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70% { box-shadow: 0 0 0 7px rgba(0, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } }

/* ---------- Control segmentado (pestañas píldora) ---------- */
.vd-seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-soft); }
.vd-seg button { border: 0; background: transparent; height: 40px; padding: 0 18px; border-radius: var(--radius-pill); font-size: var(--text-body-sm); font-weight: var(--weight-bold); color: var(--ink-700); cursor: pointer; white-space: nowrap; transition: background var(--duration-base) var(--ease-out), color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out); }
.vd-seg button:hover { color: var(--green-700); }
.vd-seg button[aria-pressed="true"], .vd-seg button[aria-selected="true"] { background: var(--white); color: var(--green-900); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 4px 12px rgba(2, 48, 26, .1); }
.vd-seg--glass { background: var(--glass-dark); border: 1px solid var(--glass-border-soft); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); }
.vd-seg--glass button { color: rgba(255, 255, 255, .78); }
.vd-seg--glass button:hover { color: var(--white); }
.vd-seg--glass button[aria-pressed="true"], .vd-seg--glass button[aria-selected="true"] { background: rgba(255, 255, 255, .95); color: var(--green-900); }

/* ---------- Formularios ---------- */
.vd-field { display: grid; gap: 6px; }
.vd-label { font-size: var(--text-body-sm); font-weight: var(--weight-bold); }
.vd-input, .vd-select, .vd-textarea {
  width: 100%; height: 48px; padding: 0 16px; border-radius: var(--radius-md); border: 1px solid var(--border-default); background: var(--white);
  font: inherit; font-size: var(--text-body-sm); color: var(--ink-900); transition: border-color var(--duration-base) var(--ease-out), box-shadow var(--duration-base) var(--ease-out);
}
.vd-textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.vd-input:focus, .vd-select:focus, .vd-textarea:focus { outline: none; border-color: var(--green-500); box-shadow: var(--focus-ring); }

/* ---------- Raíl horizontal (Apple) ---------- */
.vd-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: var(--grid-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.vd-rail::-webkit-scrollbar { display: none; }
.vd-rail > * { scroll-snap-align: start; }
.vd-rail-nav { display: flex; gap: var(--space-2); }
.vd-round { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--surface-soft); color: var(--ink-900); transition: background var(--duration-base) var(--ease-out); }
.vd-round:hover { background: var(--ink-200); }
.vd-round svg { width: 20px; height: 20px; }

/* ---------- Toast ---------- */
.vd-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 24px); opacity: 0; pointer-events: none;
  display: inline-flex; align-items: center; gap: 10px; max-width: min(560px, calc(100vw - 32px)); padding: 14px 22px; border-radius: var(--radius-pill);
  background: rgba(2, 48, 26, .82); color: var(--white); font-size: var(--text-body-sm); font-weight: var(--weight-bold);
  border: 1px solid var(--glass-border-soft); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); box-shadow: var(--shadow-glass-lg);
  transition: transform var(--duration-slow) var(--ease-reveal), opacity var(--duration-slow) var(--ease-reveal);
}
.vd-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.vd-toast::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 4px rgba(0, 154, 68, .3); flex: none; }

/* ---------- Sello de logo por BU ---------- */
.vd-lockup { display: inline-flex; align-items: center; gap: 14px; color: var(--green-700); }
.vd-lockup img { height: 32px; width: auto; }
.vd-lockup__geo { padding-left: 14px; border-left: 1px solid currentColor; font-size: 15px; line-height: 1.1; font-weight: var(--weight-regular); letter-spacing: .01em; white-space: nowrap; }
.vd-lockup--white { color: var(--white); }
.vd-lockup--sm img { height: 24px; }
.vd-lockup--sm .vd-lockup__geo { font-size: 13px; padding-left: 10px; }

/* ---------- Pie ---------- */
.vd-footer { background: var(--surface-footer); color: rgba(255, 255, 255, .85); }
.vd-footer__in { display: flex; justify-content: space-between; align-items: center; gap: var(--space-6); flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.vd-footer img { height: 40px; width: auto; }
.vd-footer p { font-size: var(--text-caption); max-width: 70ch; }
.vd-footer__bar { background: var(--surface-footer-bar); font-size: var(--text-caption); color: rgba(255, 255, 255, .7); padding: 14px 0; }

/* ---------- Revelados (motion.js añade .is-in) ---------- */
[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity var(--duration-reveal) var(--ease-reveal), transform var(--duration-reveal) var(--ease-reveal), filter var(--duration-reveal) var(--ease-reveal); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="blur"] { transform: translate3d(0, 12px, 0); filter: blur(12px); }
[data-reveal="left"] { transform: translate3d(-36px, 0, 0); }
[data-reveal="right"] { transform: translate3d(36px, 0, 0); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* Titulares palabra a palabra: motion.js envuelve cada palabra en .w > span */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translate3d(0, 105%, 0); transition: transform 1.1s var(--ease-reveal); transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 55ms); }
[data-split].is-in .w > span { transform: none; }
.vd-no-js [data-reveal], .vd-no-js [data-split] .w > span { opacity: 1; transform: none; filter: none; }

/* Hueco con dirección de arte cuando falta una foto (media.js) */
.vd-ph { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; width: 100%; height: 100%; min-height: 120px; padding: 16px; overflow: hidden; background: var(--surface-vitreous-dark); color: var(--white); }
.vd-ph::before { content: ""; position: absolute; inset: 0; background: var(--reflection); }
.vd-ph__tag { position: relative; align-self: flex-start; font-size: 12px; font-weight: var(--weight-bold); background: var(--glass-light); padding: 3px 10px; border-radius: var(--radius-pill); }
.vd-ph__txt { position: relative; font-size: 13px; opacity: .85; max-width: 36ch; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  [data-reveal], [data-split] .w > span { opacity: 1; transform: none; filter: none; }
}

/* Century Gothic Delgada para entradillas grandes (manual v02) */
.vd-light { font-weight: var(--weight-light); }
