﻿/* ===== tokens.css ===== */
/* ==========================================================================
   tokens.css â€” Sistema de diseÃ±o (design tokens)
   VS Web Studio Â· 2026
   Fuente Ãºnica de verdad para color, tipografÃ­a, espacio, sombras y motion.
   Color en OKLCH (gama amplia, contraste perceptualmente uniforme) con
   fallback implÃ­cito vÃ­a variables. Tema claro/oscuro por [data-theme].
   ========================================================================== */

:root {
  color-scheme: light;

  /* --- Paleta base (raw) â€” festiva pero refinada: fucsia + teal + crema cÃ¡lida --- */
  --ink-900: oklch(23.4% 0.039 345);  /* tinta ciruela cÃ¡lida */
  --ink-800: oklch(30% 0.038 345);
  --ink-700: oklch(38% 0.036 346);
  --ink-500: oklch(47.8% 0.036 349);  /* texto secundario */
  --ink-300: oklch(72% 0.028 348);
  --paper:   oklch(97% 0.010 68);     /* crema cÃ¡lida */
  --paper-2: oklch(93.9% 0.016 65);
  --white:   oklch(100% 0 0);

  /* SeÃ±al primaria â€” fucsia / magenta festivo */
  --signal-700: oklch(47.1% 0.166 354);
  --signal-600: oklch(55% 0.191 354);
  --signal-500: oklch(59.2% 0.195 350);
  --signal-100: oklch(95% 0.023 346);

  /* Tono de apoyo â€” teal */
  --teal:      oklch(48.6% 0.077 208);
  --teal-700:  oklch(41.1% 0.064 209);
  --teal-100:  oklch(94% 0.024 205);

  /* Acento decorativo â€” oro confeti (solo highlights, nunca texto de cuerpo) */
  --amber-500: oklch(74% 0.12 70);
  --amber-300: oklch(86% 0.09 78);

  /* Estados */
  --good:  oklch(70% 0.16 155);     /* verde "good" CWV */
  --warn:  oklch(80% 0.15 80);
  --bad:   oklch(64% 0.20 28);

  /* --- Tokens semÃ¡nticos (tema CLARO por defecto) --- */
  --bg:            var(--paper);
  --bg-elevated:   var(--white);
  --bg-sunken:     var(--paper-2);
  --bg-inverse:    var(--ink-900);

  --text:          var(--ink-900);
  --text-muted:    var(--ink-500);
  --text-inverse:  var(--paper);

  --border:        oklch(89% 0.014 350);
  --border-strong: oklch(80% 0.02 350);

  --primary:           var(--signal-600);
  --primary-strong:    var(--signal-700);
  --primary-contrast:  var(--white);
  --primary-tint:      var(--signal-100);

  --accent:        var(--teal);

  --focus-ring:    var(--signal-500);

  /* --- Alias v2 (nombres usados por components.css / head crÃ­tico) --- */
  --ink:          var(--ink-900);
  --ink-soft:     var(--ink-500);
  --magenta:      var(--signal-600);
  --magenta-600:  var(--signal-700);
  --magenta-050:  var(--signal-100);
  --marigold:     var(--amber-500);
  --marigold-050: oklch(94% 0.05 78);
  --teal-050:     var(--teal-100);

  /* --- TipografÃ­a --- */
  --font-display: "Baloo 2", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", "Cascadia Code", Menlo, monospace;

  /* Escala tipogrÃ¡fica fluida (clamp) â€” base 16px, ratio ~1.25 */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.13rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.50rem);
  --step-2:  clamp(1.44rem, 1.30rem + 0.70vw, 2.00rem);
  --step-3:  clamp(1.73rem, 1.50rem + 1.15vw, 2.67rem);
  --step-4:  clamp(2.07rem, 1.70rem + 1.85vw, 3.55rem);
  --step-5:  clamp(2.49rem, 1.95rem + 2.70vw, 4.74rem);

  --leading-tight: 1.08;
  --leading-snug:  1.25;
  --leading-body:  1.6;

  --tracking-tight: -0.02em;
  --tracking-wide:  0.16em;

  /* --- Espacio (escala 4px) --- */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  0.75rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6.5rem;

  /* --- Layout --- */
  --container:      74rem;   /* 1184px */
  --container-wide: 84rem;
  --container-prose: 42rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  /* --- Radios --- */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* --- Sombras (suaves, papel) --- */
  --shadow-sm: 0 1px 2px oklch(20% 0.02 260 / 0.06), 0 1px 1px oklch(20% 0.02 260 / 0.04);
  --shadow:    0 4px 14px oklch(20% 0.02 260 / 0.08), 0 1px 3px oklch(20% 0.02 260 / 0.06);
  --shadow-lg: 0 18px 50px oklch(20% 0.02 260 / 0.12), 0 4px 12px oklch(20% 0.02 260 / 0.08);

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 140ms;
  --dur:      260ms;
  --dur-slow: 520ms;

  --header-h: 4.75rem;
}

/* --- Tema OSCURO (solo por toggle manual [data-theme="dark"]) ---
   NOTA (Regla P9): nicho retail festivo = comprometido con CLARO por defecto.
   Se ELIMINO el bloque @media de modo oscuro del sistema que oscurecia
   automaticamente a cualquier visitante con modo oscuro. El boton
   sol/luna sigue funcionando porque escribe data-theme en el <html>. */
[data-theme="dark"] {
  --bg:            oklch(20% 0.03 340);
  --bg-elevated:   oklch(26% 0.035 340);
  --bg-sunken:     oklch(16% 0.028 340);
  --bg-inverse:    var(--paper);

  --text:          var(--paper);
  --text-muted:    oklch(78% 0.02 340);
  --text-inverse:  var(--ink-900);

  --border:        oklch(34% 0.03 340);
  --border-strong: oklch(44% 0.035 340);

  --primary:           oklch(64% 0.19 352);
  --primary-strong:    oklch(58% 0.19 352);
  --primary-tint:      oklch(32% 0.10 348);

  --shadow-sm: 0 1px 2px oklch(0% 0 0 / 0.4);
  --shadow:    0 6px 20px oklch(0% 0 0 / 0.45);
  --shadow-lg: 0 24px 60px oklch(0% 0 0 / 0.55);
}

/* ===== base.css ===== */
/* ==========================================================================
   base.css â€” Reset moderno + tipografÃ­a base + accesibilidad
   ========================================================================== */

/* Reset acotado y predecible */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Compensa el header fijo al saltar a anclas */
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
  font-synthesis: none;
  /* Reserva ascendente para evitar CLS al cargar la fuente */
  overflow-x: clip;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }

ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.16em; }

/* Titulares â€” equilibrio de lÃ­neas (evita huÃ©rfanas) */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  text-wrap: balance;
}
p { text-wrap: pretty; }

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

strong { font-weight: 650; }

::selection {
  background: var(--primary);
  color: var(--primary-contrast);
}

/* Foco visible y consistente para teclado (a11y) */
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

/* Saltar al contenido (a11y) */
.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -100%;
  z-index: 200;
  padding: 0.6rem 1rem;
  background: var(--bg-inverse);
  color: var(--text-inverse);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus-visible { top: var(--space-md); }

/* SÃ³lo lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Respeta usuarios que reducen movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Viewport fit â€” el hero llena la pantalla sin recortar; secciones por contenido.
   Ver references/viewport-fit-system.md. "Caber" nunca significa clipear.
   ========================================================================== */

/* HERO: llena EXACTAMENTE una pantalla bajo el header sticky. El header es position:sticky
   (ocupa --header-h EN EL FLUJO), por eso se RESTA --header-h â€” NO se suma como padding. Sumarlo
   hace el hero = header + 100svh y se pasa de una pantalla (bug real). Contenido centrado, compacto
   y escalable con la altura. NUNCA height:100vh; NUNCA max-height que recorte el TEXTO. El hero se
   diseÃ±a para CABER; si el copy fuera excesivo, el salvavidas JS baja la escala (no crece, no clipea). */
.hero {
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-content: center;
  gap: clamp(0.8rem, 2svh, 1.75rem);
  padding-block: clamp(1rem, 2.4svh, 2.25rem);
  padding-inline: var(--gutter);
}
/* Tope del titular DELIBERADAMENTE bajo (<=3.6rem): en monitores anchos evita el titular gigante
   que se parte en 4 lÃ­neas y empuja los CTA fuera de pantalla. Mezcla ancho (vw) + alto (svh). */
.hero__title {
  font-size: clamp(1.9rem, 1.2rem + 2vw + 1.4svh, 3.6rem);
  line-height: 1.05;
  text-wrap: balance;
}
.hero__subtitle { font-size: clamp(1rem, 1.4svh + 0.4vw, 1.3rem); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Salvavidas opcional: si el contenido excede el alto, encoge la escala (no recorta, no crece). */
[data-hero-fit] > * { font-size: calc(1em * var(--hero-scale, 1)); }

/* Media del hero: en mÃ³vil (apilada bajo el texto) se limita para que TEXTO+IMAGEN quepan;
   en escritorio (2 col) se limita para no exceder el alto. object-fit:cover evita deformar. */
/* MÃ“VIL/TABLET: hero de ALTURA DEFINIDA; el texto va compacto y la 2Âª columna apilada (imagen)
   toma SOLO el hueco restante bajo el texto (flex-fill). AsÃ­ el hero nunca se pasa de una pantalla,
   sin importar el largo del copy â€” si el texto fuera enorme, la imagen se encoge (no desborda). */
@media (max-width: 59.99rem) {
  /* '.hero .hero-grid' (0,2,0) para GANARLE a layout.css '.hero-grid{display:grid}' (0,1,0), que se
     concatena despuÃ©s; si no, el grid seguirÃ­a activo y la imagen no tomarÃ­a el hueco restante. */
  .hero { display: flex; height: calc(100svh - var(--header-h)); min-height: 0; align-items: stretch; }
  .hero > .container { display: flex; flex-direction: column; min-height: 0; }
  .hero .hero-grid { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; gap: clamp(0.7rem, 2svh, 1.2rem); align-items: stretch; }
  .hero .hero-grid > :first-child { flex: 0 0 auto; }                                   /* texto: alto natural */
  .hero .hero-grid > :last-child:not(:first-child) { flex: 1 1 auto; min-height: 0; overflow: hidden; aspect-ratio: auto; } /* media: el resto */
  /* !important vence cualquier aspect-ratio/height en lÃ­nea del autor: la imagen SIEMPRE llena el hueco
     restante y recorta con object-fit (centrado), garantizando que el hero quepa en una pantalla. */
  .hero .hero-grid > :last-child:not(:first-child) img { height: 100% !important; width: 100%; max-height: none !important; object-fit: cover; aspect-ratio: auto !important; }
  .hero__title { font-size: clamp(1.65rem, 5.5vw + 0.4rem, 2.5rem); }
  .hero__lead { font-size: 1rem; line-height: 1.45; }
}
/* ESCRITORIO: 2 columnas; la imagen se limita para no exceder el alto de la pantalla. */
@media (min-width: 60rem) {
  .hero-grid img, .hero-grid > figure, .hero-grid > .hero__media { max-height: calc(100svh - var(--header-h) - 4rem); object-fit: cover; }
}

/* Pantallas de POCA ALTURA: compactar por tramos para caber en laptops cortas / ventanas con
   muchas barras. El desborde real ocurriÃ³ a 1920x900 (ancha pero baja), no solo en mÃ³vil horizontal. */
@media (max-height: 820px) {
  .hero { padding-block: clamp(0.85rem, 1.8svh, 1.4rem); }
  .hero__title { font-size: clamp(1.7rem, 1.05rem + 1.7vw + 1svh, 2.9rem); }
}
@media (max-height: 660px) {
  .hero__title { font-size: clamp(1.5rem, 1rem + 1.5vw, 2.35rem); line-height: 1.06; }
  .hero__subtitle { font-size: 0.98rem; }
}
@media (max-height: 560px) {
  .hero { min-height: auto; align-content: start; padding-block: clamp(0.75rem, 1.5svh, 1.1rem); }
  .hero__title { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }
}

/* SECCIONES: altura por contenido, NUNCA fija. Padding proporcional. */
.section { padding-block: clamp(3rem, 8vw, 6rem); padding-inline: var(--gutter); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }

/* SecciÃ³n full-screen SOLO para storytelling deliberado (no de contenido). */
.section--fullscreen {
  min-height: 100svh;      /* NO height:100vh */
  display: grid;
  align-content: center;
}
@media (max-height: 560px) { .section--fullscreen { min-height: auto; } }

/* ===== layout.css ===== */
/* ==========================================================================
   layout.css â€” Contenedores, secciones y rejillas
   Layout moderno: grid + flex + container queries + logical properties
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide  { max-width: var(--container-wide); }
.container--prose { max-width: var(--container-prose); }

/* Ritmo vertical por secciÃ³n */
.section {
  padding-block: var(--space-3xl);
}
.section--tight { padding-block: var(--space-2xl); }
.section--sunken { background: var(--bg-sunken); }
.section--ink {
  background: var(--bg-inverse);
  color: var(--text-inverse);
}
.section--ink .eyebrow { color: var(--amber-300); }
.section--ink .text-muted { color: var(--ink-300); }

/* Encabezado de secciÃ³n */
.section-head {
  max-width: 46rem;
  margin-bottom: var(--space-xl);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* Rejilla auto-fit reutilizable (responsive sin media queries) */
.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid--auto {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }

/* Hero: dos columnas que colapsan */
.hero-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}
@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-3xl);
  }
}

/* Cluster (fila flexible con wrap) */
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}
.cluster--between { justify-content: space-between; }

/* Stack (columna con gap) */
.stack { display: flex; flex-direction: column; gap: var(--space-md); }
.stack--lg { gap: var(--space-lg); }

/* Divisor con etiqueta de datos */
.rule {
  height: 1px;
  background: var(--border);
  border: 0;
}

/* Contexto de container query para tarjetas */
.cq { container-type: inline-size; }

/* ===== components.css ===== */
/* ==========================================================================
   components.css â€” Mi Fiesta v2 Â· header/footer festivos, plan tool, gallery
   Luz comprometida. Multi-acento fiesta: magenta + teal + marigold sobre crema.
   ========================================================================== */

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55ch;
  padding: .85rem 1.35rem; min-height: 3rem;
  background: var(--magenta); color: #fff;
  border-radius: var(--radius-pill); border: 0;
  font-family: var(--font-body); font-weight: 700; font-size: var(--step-0);
  line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 8px 20px oklch(55% .19 354 / .28);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px oklch(55% .19 354 / .34); background: var(--magenta-600); }
.btn:active { transform: translateY(0); }
.btn svg { flex: 0 0 auto; }
.btn--lg { min-height: 3.4rem; padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn--ghost {
  background: transparent; color: var(--magenta);
  box-shadow: inset 0 0 0 2px color-mix(in oklch, var(--magenta) 40%, transparent);
}
.btn--ghost:hover { background: var(--magenta-050); color: var(--magenta-600); box-shadow: inset 0 0 0 2px var(--magenta); }
.btn--onmag { background: #fff; color: var(--magenta-600); box-shadow: 0 10px 26px rgba(0,0,0,.16); }
.btn--onmag:hover { background: #fff; color: var(--magenta-600); }
.btn--ghost-white {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6);
}
.btn--ghost-white:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 2px #fff; }

/* ---------- Header ---------- */
.hdr__links { display: none; gap: .35rem; margin-inline: auto; }
.hdr__link {
  padding: .5rem .85rem; border-radius: var(--radius-pill);
  font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--ink);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.hdr__link:hover { background: var(--magenta-050); color: var(--magenta-600); }
.hdr__actions { display: flex; align-items: center; gap: .6rem; }

.lang-toggle {
  display: inline-flex; align-items: center; padding: 3px;
  background: var(--paper-2); border: 1px solid var(--border); border-radius: var(--radius-pill);
}
.lang-toggle__opt {
  min-width: 2.4rem; padding: .32rem .55rem; text-align: center;
  font-weight: 700; font-size: .82rem; text-decoration: none; color: var(--ink-soft);
  border-radius: var(--radius-pill); transition: background var(--dur-fast), color var(--dur-fast);
}
.lang-toggle__opt.is-active { background: var(--magenta); color: #fff; }

.hdr__call { min-height: 2.7rem; padding: .55rem 1.05rem; box-shadow: 0 6px 16px oklch(55% .19 354 / .26); }
.nav-toggle { display: inline-grid; place-items: center; width: 3rem; height: 3rem; color: var(--ink); border-radius: 12px; }
.nav-toggle:hover { background: var(--magenta-050); }

@media (min-width: 64rem) {
  .hdr__links { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 40rem) {
  .hdr__call span { display: none; }
  .hdr__call { padding: .55rem .8rem; }
}

/* ---------- MenÃº mÃ³vil ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column; gap: .35rem;
  padding: calc(var(--header-h) + 1.2rem) var(--gutter) 2rem;
  background: var(--paper);
  transform: translateX(100%); transition: transform .32s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] { transform: translateX(0); }
.mobile-menu > a {
  padding: .85rem .4rem; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--border);
}
.mobile-menu__close { position: absolute; top: calc((var(--header-h) - 3rem)/2 + .2rem); right: var(--gutter); width: 3rem; height: 3rem; display: grid; place-items: center; color: var(--ink); }
.mobile-menu__lang { display: flex; gap: .6rem; margin-top: 1rem; }
.mobile-menu__lang a {
  flex: 1; text-align: center; padding: .7rem; border: 1px solid var(--border); border-radius: 12px;
  font-weight: 700; text-decoration: none; color: var(--ink-soft);
}
.mobile-menu__lang a.is-active { background: var(--magenta); color: #fff; border-color: var(--magenta); }
.mobile-menu__call { margin-top: 1rem; width: 100%; }
@media (min-width: 64rem) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__copy .eyebrow { display: inline-block; margin-bottom: .7rem; }
.hero__title { margin-bottom: .9rem; }
.hero__title .u-magenta { color: var(--magenta); }
.hero__lead { margin-bottom: 1.3rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.2rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem;
  font-size: .92rem; color: var(--ink-soft); font-weight: 500;
}
.hero__meta span { display: inline-flex; align-items: center; gap: .4ch; }
.hero__meta svg { color: var(--magenta); }
.hero__meta .dot { color: var(--border-strong); }

.hero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero__media img { width: 100%; border-radius: var(--radius-lg); }
.hero__chip {
  position: absolute; top: .9rem; left: .9rem;
  display: inline-flex; align-items: center; gap: .45ch;
  padding: .45rem .8rem; background: rgba(255,255,255,.92); color: var(--magenta-600);
  border-radius: var(--radius-pill); font-weight: 700; font-size: .82rem;
  box-shadow: 0 6px 16px rgba(0,0,0,.14); backdrop-filter: blur(4px);
}
.hero__chip svg { color: var(--marigold); }
.hero__plate {
  position: absolute; right: .9rem; bottom: .9rem;
  background: rgba(255,255,255,.94); border-radius: 14px; padding: .6rem .9rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.16); backdrop-filter: blur(4px);
}
.hero__plate-k { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.hero__plate-v { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--magenta-600); text-decoration: none; }

.mf-floaty { animation: mf-float 4.5s ease-in-out infinite; }
@keyframes mf-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--border);
  background: linear-gradient(90deg, var(--magenta-050), var(--teal-050), var(--marigold-050));
  padding-block: .7rem;
}
.marquee__track { display: inline-flex; align-items: center; gap: 1.1rem; white-space: nowrap; will-change: transform; animation: mf-marq 34s linear infinite; }
.marquee__item { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.marquee__sep { color: var(--magenta); font-size: .9rem; }
@keyframes mf-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .mf-floaty { animation: none; } }

/* ---------- Section head ---------- */
.section-head { max-width: 46rem; margin-bottom: var(--space-xl); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: var(--step-4); margin-bottom: .6rem; }
.section-head .lead { color: var(--ink-soft); }
.section-head .eyebrow { display: inline-block; margin-bottom: .6rem; }

/* ---------- What we carry ---------- */
.carry-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.carry-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.35rem; box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur);
}
.carry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.carry-card__icon {
  display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .9rem;
  border-radius: 14px; background: var(--magenta-050); color: var(--magenta-600);
}
.carry-card:nth-child(2) .carry-card__icon { background: var(--teal-050); color: var(--teal); }
.carry-card:nth-child(3) .carry-card__icon { background: var(--marigold-050); color: #a86a10; }
.carry-card:nth-child(4) .carry-card__icon { background: var(--teal-050); color: var(--teal); }
.carry-card:nth-child(5) .carry-card__icon { background: var(--marigold-050); color: #a86a10; }
.carry-card__title { font-size: 1.2rem; margin-bottom: .4rem; }
.carry-card__text { color: var(--ink-soft); font-size: .96rem; line-height: 1.55; }

/* ---------- Plan tool (STAR) ---------- */
.section--plan {
  background:
    radial-gradient(60rem 30rem at 15% -10%, var(--magenta-050), transparent 60%),
    radial-gradient(50rem 30rem at 100% 110%, var(--teal-050), transparent 55%),
    var(--bg);
}
.plan {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; max-width: 60rem; margin-inline: auto;
}
.plan__tabs {
  display: flex; gap: .4rem; padding: .6rem; overflow-x: auto; scrollbar-width: none;
  background: var(--paper-2); border-bottom: 1px solid var(--border);
}
.plan__tabs::-webkit-scrollbar { display: none; }
.plan__tab {
  display: inline-flex; align-items: center; gap: .5ch; flex: 0 0 auto;
  padding: .7rem 1.05rem; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--ink-soft);
  background: transparent; border: 0; cursor: pointer; white-space: nowrap;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.plan__tab-ic { display: inline-flex; color: currentColor; }
.plan__tab:hover { color: var(--magenta-600); background: var(--white); }
.plan__tab.is-active { background: var(--magenta); color: #fff; box-shadow: 0 6px 16px oklch(55% .19 354 / .3); }

.plan__panel { padding: clamp(1.3rem, 3vw, 2.2rem); }
.plan__panel[hidden] { display: none; }
.plan__panel.is-active { animation: mf-fade .4s var(--ease-out) both; }
@keyframes mf-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.plan__panel-title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); color: var(--magenta-600); }
.plan__panel-blurb { color: var(--ink-soft); margin-top: .3rem; max-width: 44ch; }
.plan__helps-k { margin-top: 1.3rem; margin-bottom: .7rem; font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.plan__helps {
  display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.plan__help {
  display: flex; align-items: center; gap: .6ch;
  padding: .7rem .9rem; background: var(--paper); border: 1px solid var(--border); border-radius: 12px;
  font-weight: 500; font-size: .96rem;
}
.plan__help-ic { display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: 0 0 auto; border-radius: 50%; background: var(--teal-050); color: var(--teal); }
.plan__cta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.1rem; }
.plan__cta-note { font-size: .86rem; color: var(--ink-soft); max-width: 26ch; }

/* ---------- Occasions ---------- */
.occ-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.occ-card {
  position: relative; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.occ-card::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px; background: var(--magenta); }
.occ-card--teal::before { background: var(--teal); }
.occ-card--gold::before { background: var(--marigold); }
.occ-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.occ-card__icon { display: inline-grid; place-items: center; width: 2.7rem; height: 2.7rem; margin-bottom: .8rem; border-radius: 50%; background: var(--magenta-050); color: var(--magenta-600); }
.occ-card--teal .occ-card__icon { background: var(--teal-050); color: var(--teal); }
.occ-card--gold .occ-card__icon { background: var(--marigold-050); color: #a86a10; }
.occ-card__title { font-size: 1.22rem; margin-bottom: .3rem; }
.occ-card__text { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Gallery bento ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.bento-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 13rem; box-shadow: var(--shadow-sm); }
.bento-card--image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.bento-card--image:hover img { transform: scale(1.06); }
.bento-card__label {
  position: absolute; left: .7rem; bottom: .7rem;
  padding: .35rem .75rem; background: rgba(255,255,255,.92); color: var(--ink);
  border-radius: var(--radius-pill); font-weight: 700; font-size: .82rem; box-shadow: 0 4px 12px rgba(0,0,0,.14);
}
.bento-card--feature {
  display: flex; flex-direction: column; justify-content: center; gap: .5rem;
  padding: 1.7rem; color: #fff;
  background: linear-gradient(140deg, var(--magenta) 0%, var(--magenta-600) 60%, var(--teal) 130%);
}
.bento__eyebrow { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; opacity: .85; }
.bento__title { font-size: 1.4rem; color: #fff; }
.bento__text { font-size: .96rem; opacity: .92; }
.bento__btn { align-self: flex-start; margin-top: .5rem; background: #fff; color: var(--magenta-600); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.bento__btn:hover { background: #fff; color: var(--magenta-600); }
.gallery-note { margin-top: 1rem; text-align: center; font-size: .85rem; color: var(--ink-soft); }

@media (min-width: 48rem) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 12rem; }
  .bento__lg { grid-column: span 2; grid-row: span 2; }
  .bento__md { grid-column: span 1; grid-row: span 1; }
  .bento-card--feature { min-height: auto; }
}

/* ---------- Visit ---------- */
.visit-grid { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .visit-grid { grid-template-columns: 1fr 1.1fr; align-items: stretch; } }
.visit-info { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--shadow); }
.visit-row { display: flex; gap: .9rem; padding-block: .9rem; border-bottom: 1px solid var(--border); }
.visit-row:last-of-type { border-bottom: 0; }
.visit-row__ic { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: 0 0 auto; border-radius: 12px; background: var(--magenta-050); color: var(--magenta-600); }
.visit-row__k { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.visit-row__v { font-weight: 600; }
.visit-row__v a { color: var(--magenta-600); }
.visit-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

.visit-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 20rem; box-shadow: var(--shadow); border: 1px solid var(--border); }
.map-facade {
  width: 100%; height: 100%; min-height: 20rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  padding: 2rem; text-align: center; cursor: pointer; color: var(--ink);
  background:
    radial-gradient(circle at 30% 30%, var(--teal-050), transparent 45%),
    radial-gradient(circle at 75% 70%, var(--magenta-050), transparent 45%),
    repeating-linear-gradient(0deg, var(--paper-2) 0 22px, var(--paper) 22px 24px),
    repeating-linear-gradient(90deg, var(--paper-2) 0 22px, var(--paper) 22px 24px);
  border: 0;
}
.map-facade__pin { display: inline-grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--magenta); color: #fff; box-shadow: 0 8px 20px oklch(55% .19 354 / .4); }
.map-facade__txt { display: flex; flex-direction: column; gap: .15rem; }
.map-facade__txt b { font-family: var(--font-display); font-size: 1.05rem; }
.map-facade__load { margin-top: .3rem; font-size: .82rem; font-weight: 700; color: var(--magenta-600); }
.visit-map iframe { width: 100%; height: 100%; min-height: 20rem; border: 0; display: block; }

/* ---------- Finale ---------- */
.finale { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem); padding-inline: var(--gutter);
  background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-600) 55%, #7c1c56 120%); color: #fff; text-align: center; }
.finale__dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; pointer-events: none; }
.finale__inner { position: relative; max-width: 46rem; margin-inline: auto; }
.finale__eyebrow { color: var(--marigold-050) !important; }
.finale h2 { color: #fff; font-size: var(--step-4); margin-bottom: .8rem; }
.finale__lead { color: rgba(255,255,255,.92); margin-bottom: 1.6rem; }
.finale__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.footer-cta { background: linear-gradient(90deg, var(--teal) 0%, var(--teal-700) 100%); }
.footer-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: clamp(1.6rem, 4vw, 2.4rem); }
.footer-cta__kicker { color: rgba(255,255,255,.82); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.footer-cta__title { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.1rem); }
.footer-cta__btn { background: #fff; color: var(--teal-700); }
.footer-cta__btn:hover { background: #fff; color: var(--teal-700); }

.footer-grid { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 3.5rem); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand__tag { margin-top: .8rem; color: color-mix(in oklch, var(--paper) 78%, transparent); max-width: 28ch; font-size: .95rem; }
.footer-brand .brand__mark { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; background: var(--magenta); color: #fff; border-radius: 12px; font-family: var(--font-display); font-weight: 800; }
.footer-social { display: flex; gap: .6rem; margin-top: 1rem; }
.footer-social__link { padding: .4rem .9rem; border: 1px solid color-mix(in oklch, var(--paper) 24%, transparent); border-radius: var(--radius-pill); font-weight: 600; font-size: .88rem; text-decoration: none; color: var(--paper); transition: background var(--dur-fast); }
.footer-social__link:hover { background: color-mix(in oklch, var(--paper) 14%, transparent); }
.footer-col__h { font-family: var(--font-display); font-size: 1.05rem; color: #fff; margin-bottom: .9rem; }
.footer-nap { display: flex; flex-direction: column; gap: .6rem; font-style: normal; color: color-mix(in oklch, var(--paper) 80%, transparent); font-size: .95rem; }
.footer-nap span, .footer-nap a { display: flex; gap: .5ch; align-items: flex-start; }
.footer-nap svg { flex: 0 0 auto; margin-top: .15rem; color: var(--marigold); }
.footer-nap a { color: var(--paper); text-decoration: none; }
.footer-nap a:hover { color: #fff; }
.footer-maplink { display: inline-flex; align-items: center; gap: .5ch; margin-top: 1rem; font-weight: 700; font-size: .9rem; color: var(--marigold-050); text-decoration: none; }
.footer-maplink:hover { text-decoration: underline; }
.footer-link { display: block; padding-block: .4rem; color: color-mix(in oklch, var(--paper) 82%, transparent); text-decoration: none; }
.footer-link:hover { color: #fff; }
.footer-col__note { color: color-mix(in oklch, var(--paper) 78%, transparent); font-size: .93rem; margin-bottom: 1rem; }
.footer-col__btn { width: 100%; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; justify-content: space-between;
  padding-block: 1.4rem; border-top: 1px solid color-mix(in oklch, var(--paper) 16%, transparent);
  font-size: .85rem; color: color-mix(in oklch, var(--paper) 66%, transparent);
}
.studio-credit { color: color-mix(in oklch, var(--paper) 66%, transparent); }
.studio-credit__link { color: var(--marigold-050); text-decoration: none; font-weight: 600; }
.studio-credit__link:hover { text-decoration: underline; }

/* ---------- Sticky call (mÃ³vil) ---------- */
.sticky-call {
  position: fixed; left: 50%; transform: translate(-50%, 130%); bottom: max(.8rem, env(safe-area-inset-bottom));
  z-index: 90; display: inline-flex; align-items: center; gap: .6ch;
  padding: .85rem 1.4rem; background: var(--magenta); color: #fff; border-radius: var(--radius-pill);
  font-weight: 700; text-decoration: none; box-shadow: 0 12px 28px oklch(45% .19 354 / .5);
  transition: transform .35s var(--ease-out);
  max-width: calc(100vw - 1.6rem);
}
.sticky-call span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-call svg { flex: 0 0 auto; }
.sticky-call[data-show="true"] { transform: translate(-50%, 0); }
@media (min-width: 48rem) { .sticky-call { display: none; } }

/* ---------- Hero: tramo de MUY POCA ALTURA (mÃ³vil landscape / ventanas cortas) ---------- */
@media (max-height: 480px) {
  .hero__copy .eyebrow { margin-bottom: .25rem; }
  .hero__title { font-size: clamp(1.4rem, 3.4vw + .5rem, 2rem); margin-bottom: .35rem; }
  .hero__lead {
    font-size: .92rem; line-height: 1.34; margin-bottom: .6rem; max-width: 60ch;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .hero__ctas { margin-bottom: 0; gap: .5rem; }
  .hero__meta { display: none; }
  .hero .hero-grid { gap: .4rem !important; }
}
@media (max-height: 480px) and (min-width: 60rem) {
  /* En escritorio corto (1920x900 no aplica; 1280x480 sÃ­): mantener 2 col compactas */
  .hero__lead { -webkit-line-clamp: 3; }
}

/* ---------- Reveal (scroll) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .bento-card--image:hover img { transform: none; }
}

/* ===== utilities.css ===== */
/* ==========================================================================
   utilities.css â€” Utilidades atÃ³micas (Ãºltimo en la cascada)
   ========================================================================== */

.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }
.text-balance { text-wrap: balance; }
.mono         { font-family: var(--font-mono); }

.lead { font-size: var(--step-1); color: var(--text-muted); }

.mt-0  { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none; }

/* Tag / chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5ch;
  padding: 0.3rem 0.7rem;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-muted);
  background: var(--bg-elevated);
}
.tag--accent { color: var(--primary); border-color: color-mix(in oklch, var(--primary) 40%, var(--border)); }

/* Prose (contenido largo legible) */
.prose { max-width: var(--container-prose); }
.prose p { margin-block: var(--space-md); }
.prose h2 { margin-block: var(--space-xl) var(--space-md); }
.prose h3 { margin-block: var(--space-lg) var(--space-sm); }
.prose ul { margin-block: var(--space-md); padding-inline-start: 1.25rem; }
.prose li { margin-block: 0.4rem; }
.prose a { color: var(--primary); }

