/* ============================================================================
   TOLUCA PARTY — sistema visual v2 (direccion "pagina de fiesta")
   Direccion: Ricardo, 27-nov-2026 — "necesitamos animacion, dinamismo, es una
   pagina de fiesta". La paleta amplia es real: el rojo de marca (#D12325) se
   queda como acento de PRECIO y ACCION; el resto son fondos y acentos.

   Base de referencia: popular-web-designs / clay.md (crema calida, swatches
   nombrados, sombra dura en hover, radios generosos, bordes punteados).
   Adaptada, no copiada: los swatches son familia de la marca, no de Clay.

   Todo par texto/fondo usado pasa WCAG AA (4.5:1). La tabla medida vive en
   DESIGN.md y en out/toluca-design-tokens.json.

   Movimiento: sistema propio (motion.css) con scroll-reveal, hover con
   respuesta y transiciones de seccion. prefers-reduced-motion respetado.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  /* Marca — rojo medido en el logo oficial (#D12325). Acento de precio/accion. */
  --brand-700: #8E1416;
  --brand-600: #B01A1C;
  --brand-500: #D12325;
  --brand-300: #E9807F;
  --brand-050: #FBECEC;

  /* Neutros con temperatura de papel (base de la pagina). */
  --paper:      #FBF8F4;
  --paper-2:    #F3ECE4;
  --surface:    #FFFFFF;
  --ink:        #1B1512;
  --ink-2:      #574C45;
  --ink-3:      #6E625A;
  --ink-on-dark:  #FFFFFF;
  --ink-on-dark-2:#C9BEB5;
  --rule:        #E7DCD2;
  --rule-strong: #C9B9AB;
  --rule-dark:   #3A302A;

  /* --- Paleta ampliada: los "globos" de la fiesta --------------------------
     Nombres de la familia, no colores sueltos. Los -100 son fondos suaves con
     tinta encima (contraste 15:1+). Los -600/800 son fondo con texto blanco
     (contraste 7:1+). El -500 se usa SOLO como marca grafica o sobre tinta
     clara con tinta encima, nunca blanco encima. */
  --globo-azul-100:   #E4EEFA;   --globo-azul-800:   #01418D;
  --globo-menta-100:  #E4F8EC;   --globo-menta-700:  #04663D;
  --globo-limon-100:  #FEF4D8;   --globo-limon-700:  #8A6300;
  --globo-uva-100:    #EFE7FE;   --globo-uva-800:    #43089F;
  --globo-fresa-100:  #FDE8EC;   --globo-fresa-700:  #B32339;
  --globo-cielo-100:  #E3F8FE;   --globo-cielo-900:  #036B87;
  --globo-cielo-500:  #3BD3FD;
  --globo-menta-500:  #84E7A5;
  --globo-limon-500:  #F8C846;
  --globo-fresa-500:  #E8445C;
  --globo-uva-500:    #6D28D9;

  /* Tipografia */
  --font-display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;
  --font-body:    'Golos Text', system-ui, -apple-system, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Escala de espacio */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radios — generosos, de "fiesta" */
  --r-1: 6px; --r-2: 12px; --r-3: 20px; --r-4: 28px; --r-pill: 999px;

  /* Sombras: sombra dura (sin blur) como acento playful + sombra suave de
     apoyo para superficies grandes. */
  --shadow-hard: 4px 4px 0 0 var(--ink);
  --shadow-hard-brand: 4px 4px 0 0 var(--brand-600);
  --shadow-soft: 0 18px 40px -24px rgba(27, 21, 18, 0.45);
  --shadow-pop: 0 12px 0 -4px rgba(27, 21, 18, 0.12);

  /* Movimiento (mapeado del interaction kit + curvas propias) */
  --dur-press: 90ms;
  --dur-release: 480ms;
  --dur-hover: 220ms;
  --dur-focus: 160ms;
  --dur-state: 280ms;
  --dur-reveal: 720ms;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-color: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --spring-pop: linear(0, 0.044, 0.155, 0.307, 0.475, 0.642, 0.794, 0.922, 1.023, 1.094, 1.139, 1.16, 1.162, 1.15, 1.129, 1.103, 1.075, 1.049, 1.025, 1.006, 0.991, 0.981, 0.976, 0.973, 0.974, 0.977, 0.981, 0.985, 0.989, 0.994, 0.997, 1, 1.002, 1.003, 1.004, 1.004, 1.004, 1.004, 1.003, 1.002, 1);
  --spring-snap: linear(0, 0.03, 0.105, 0.207, 0.32, 0.435, 0.545, 0.644, 0.732, 0.806, 0.867, 0.915, 0.953, 0.981, 1.001, 1.015, 1.023, 1.027, 1.028, 1.028, 1.026, 1.023, 1.02, 1.016, 1.013, 1.01, 1.008, 1.006, 1.004, 1.003, 1);

  --focus-ring: #1B1512;
  --focus-ring-dark: #FFFFFF;

  --container: 1180px;
  --gutter: 24px;
}

@media (max-width: 640px) { :root { --gutter: 18px; } }

/* ---- Base -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
figure { margin: 0; }
table { border-collapse: collapse; width: 100%; }

::selection { background: var(--brand-500); color: #fff; }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 3px; }
.on-dark :focus-visible, .section--ink :focus-visible { outline-color: var(--focus-ring-dark); }

.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 860px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: var(--s-3) var(--s-4); z-index: 50;
  font-weight: 700; text-decoration: none;
}
.skip:focus { left: var(--s-3); top: var(--s-3); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Botones ----------------------------------------------------------- */
.btn {
  --press-scale: 0.965;
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2);
  min-height: 52px;
  padding: var(--s-3) var(--s-5);
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 700; line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--dur-release) var(--spring-pop),
    background-color var(--dur-hover) var(--ease-color),
    color var(--dur-hover) var(--ease-color),
    border-color var(--dur-hover) var(--ease-color),
    box-shadow var(--dur-hover) var(--ease-color),
    filter var(--dur-hover) var(--ease-color),
    outline-offset var(--dur-focus) var(--ease-out),
    outline-color var(--dur-focus) var(--ease-out);
}
.btn:active { transform: scale(var(--press-scale)); filter: brightness(0.94); transition-duration: var(--dur-press); }
.btn--sm { min-height: 42px; padding: var(--s-2) var(--s-4); font-size: 0.9375rem; }
.btn--primary { background: var(--brand-500); color: #fff; box-shadow: var(--shadow-hard-brand); }
.btn--primary:hover { background: var(--brand-600); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--brand-700); }
.btn--inverse { background: #fff; color: var(--brand-600); box-shadow: var(--shadow-hard); }
.btn--inverse:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); transform: translateY(-2px); }
.btn--onDark { background: #fff; color: var(--ink); }
.btn--onDark:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 rgba(0,0,0,0.4); }
.btn:focus-visible { outline-color: var(--focus-ring); outline-offset: 3px; }
.section--ink .btn:focus-visible, .hero--dark .btn:focus-visible { outline-color: var(--focus-ring-dark); }

.ui-spinner { border-radius: var(--r-pill); }

/* ---- Masthead ---------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 248, 244, 0.9);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.masthead__row {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-5); min-height: 68px;
}
.wordmark {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-family: var(--font-display);
  font-size: 1.0625rem; letter-spacing: -0.01em;
  color: var(--brand-600);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark__mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--brand-500);
  display: grid; place-items: center;
  color: #fff; font-size: 0.75rem;
  box-shadow: 2px 2px 0 0 var(--brand-700);
}
.nav { display: flex; align-items: center; gap: var(--s-5); }
.nav__link {
  font-size: 0.9375rem; color: var(--ink-2); text-decoration: none;
  transition: opacity var(--dur-hover) var(--ease-color), color var(--dur-hover) var(--ease-color);
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--brand-600); font-weight: 700; }
@media (max-width: 860px) { .nav__link:not(.nav__link--keep) { display: none; } }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 88% -10%, var(--globo-cielo-100) 0%, transparent 58%),
    radial-gradient(90% 80% at 8% 108%, var(--globo-fresa-100) 0%, transparent 55%),
    radial-gradient(70% 70% at 62% 42%, var(--globo-limon-100) 0%, transparent 60%),
    var(--paper);
  padding: var(--s-8) 0 var(--s-9);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--s-8);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-mono); font-size: 0.8125rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-600);
  background: var(--surface);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-pill);
  padding: var(--s-1) var(--s-3);
}
.hero__title {
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7.2vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}
.hero__title em { font-style: normal; color: var(--brand-500); }
.hero__lede {
  margin-top: var(--s-4);
  max-width: 46ch;
  font-size: 1.125rem;
  color: var(--ink-2);
}
.hero__actions { margin-top: var(--s-6); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero__note {
  margin-top: var(--s-5);
  font-size: 0.9375rem;
  color: var(--ink-3);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4);
}
.hero__note span { display: inline-flex; align-items: center; gap: var(--s-2); }
.hero__note span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--globo-menta-700);
}

/* Panel de precio: el rojo de marca, arriba del fold, con anticipo al lado. */
.stub {
  position: relative;
  background: var(--brand-500);
  color: #fff;
  border-radius: var(--r-4);
  padding: var(--s-6);
  display: grid;
  gap: var(--s-3);
  box-shadow: 0 2px 0 rgba(255,255,255,0.22) inset, var(--shadow-hard);
  transition: transform var(--dur-release) var(--spring-pop), box-shadow var(--dur-release) var(--spring-pop);
}
.stub:hover { transform: translate(-3px, -3px); box-shadow: 0 2px 0 rgba(255,255,255,0.22) inset, 8px 8px 0 0 var(--brand-700); }
.stub__sku { font-family: var(--font-mono); font-size: 0.875rem; color: rgba(255,255,255,0.9); }
.stub__price {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 7.5vw, 4.75rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 2px;
}
.stub__currency { font-size: 0.45em; transform: translateY(-0.18em); }
.stub__deposit {
  font-family: var(--font-mono); font-size: 0.9375rem;
  border-top: 1px solid rgba(255,255,255,0.34); padding-top: var(--s-3);
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3);
}
.stub__deposit strong { font-weight: 600; }
.stub__note { font-size: 0.9375rem; color: rgba(255,255,255,0.92); }
.stub .btn { margin-top: var(--s-2); }
.stub__tag {
  position: absolute; top: calc(var(--s-4) * -1); right: var(--s-5);
  font-family: var(--font-mono); font-size: 0.75rem;
  background: var(--ink); color: #fff;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
  box-shadow: 2px 2px 0 0 var(--brand-700);
}

/* Globos decorativos del hero (decorativos: aria-hidden, no capturan puntero) */
.hero__balloons { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.balloon {
  position: absolute;
  width: var(--bw, 54px); height: calc(var(--bw, 54px) * 1.24);
  border-radius: 50% 50% 48% 48%;
  opacity: 0.5;
  filter: saturate(1.05);
  animation: balloon-float var(--bdur, 11s) var(--ease-in-out) infinite alternate;
  animation-delay: var(--bdelay, 0s);
}
.balloon::after {
  content: ""; position: absolute; left: 50%; bottom: -14px;
  width: 1px; height: 14px; background: currentColor; opacity: 0.5;
}
.balloon--b1 { background: var(--globo-limon-500); color: var(--globo-limon-700); --bw: 46px; top: 12%; left: 6%; }
.balloon--b2 { background: var(--globo-cielo-500); color: var(--globo-cielo-900); --bw: 36px; top: 24%; left: 15%; --bdur: 13s; --bdelay: -3s; }
.balloon--b3 { background: var(--globo-fresa-500); color: var(--globo-fresa-700); --bw: 58px; top: 9%; right: 8%; --bdur: 12s; --bdelay: -6s; }
.balloon--b4 { background: var(--globo-menta-500); color: var(--globo-menta-700); --bw: 40px; top: 30%; right: 20%; --bdur: 14s; --bdelay: -2s; }
.balloon--b5 { background: var(--globo-uva-500); color: var(--globo-uva-800); --bw: 32px; top: 46%; left: 2%; --bdur: 15s; --bdelay: -8s; }
.balloon--b6 { background: var(--globo-limon-500); color: var(--globo-limon-700); --bw: 28px; top: 58%; right: 4%; --bdur: 13.5s; --bdelay: -5s; }

@keyframes balloon-float {
  0%   { transform: translate3d(0, 0, 0) rotate(-5deg); }
  50%  { transform: translate3d(12px, -22px, 0) rotate(4deg); }
  100% { transform: translate3d(-8px, -8px, 0) rotate(-3deg); }
}

/* ---- Secciones ---------------------------------------------------------- */
.section { padding: var(--s-9) 0; background: var(--surface); position: relative; }
.section--paper { background: var(--paper); }
.section--paper-2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--ink-on-dark); }
.section--azul { background: var(--globo-azul-100); }
.section--menta { background: var(--globo-menta-100); }
.section--limon { background: var(--globo-limon-100); }
.section--uva { background: var(--globo-uva-100); }
.section--fresa { background: var(--globo-fresa-100); }
.section--cielo { background: var(--globo-cielo-100); }
.section--tight { padding: var(--s-8) 0; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4.4vw, 2.875rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 20ch;
  text-wrap: balance;
}
.section__title--onInk { color: var(--ink-on-dark); max-width: 22ch; }
.section__lede {
  margin-top: var(--s-4);
  max-width: 58ch;
  font-size: 1.0625rem;
  color: var(--ink-2);
}
.section__lede--onInk { color: var(--ink-on-dark-2); }
.section__head { display: grid; gap: var(--s-1); }

/* Etiqueta superior de seccion */
.eyebrow {
  font-family: var(--font-mono); font-size: 0.8125rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-600);
}
.eyebrow--onInk { color: var(--brand-300); }

/* ---- Hoja de pedido (paquete) ------------------------------------------- */
.sheet {
  margin-top: var(--s-7);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-4);
  padding: var(--s-6);
  max-width: 760px;
  box-shadow: var(--shadow-soft);
}
.sheet__items { border-bottom: 1px solid var(--rule); padding-bottom: var(--s-4); }
.sheet__item {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
  padding: var(--s-2) 0;
}
.sheet__name { font-weight: 700; }
.sheet__spec { color: var(--ink-3); font-size: 0.9375rem; text-align: right; }
.sheet__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4);
  padding-top: var(--s-4);
}
.sheet__totalLabel { color: var(--ink-2); }
.sheet__totalValue {
  font-family: var(--font-display);
  font-size: 1.75rem; letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
  color: var(--brand-600);
}
.sheet__total--deposit .sheet__totalLabel { color: var(--ink); font-weight: 700; }
.sheet__total--deposit .sheet__totalValue { color: var(--ink); font-size: 1.375rem; }

.notlist { margin-top: var(--s-6); display: grid; gap: var(--s-2); max-width: 760px; }
.notlist__item { color: var(--ink-2); font-size: 0.9375rem; }
.notlist__mark {
  display: inline-block;
  font-family: var(--font-mono); font-size: 0.8125rem;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule-strong);
  margin-right: var(--s-2);
}

/* ---- Anexos / lineas de precio ------------------------------------------ */
.annexes__grid {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: start;
}
.annex {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-5);
}
.annex__title {
  font-family: var(--font-body);
  font-size: 1.0625rem; font-weight: 700;
  color: var(--ink);
  padding-bottom: var(--s-3);
  border-bottom: 2px solid var(--ink);
  margin-bottom: var(--s-4);
}
.annex--extras .annex__title { border-bottom-color: var(--rule-strong); }

.lines { display: grid; gap: var(--s-4); }
.line { display: flex; align-items: baseline; }
.line__name { flex: 0 1 auto; font-weight: 700; }
.line__spec { display: block; font-weight: 400; font-size: 0.875rem; color: var(--ink-3); }
.line__dots {
  flex: 1 1 auto; min-width: var(--s-4);
  border-bottom: 1px dotted var(--rule-strong);
  margin: 0 var(--s-3);
  transform: translateY(-0.32em);
}
.line__price {
  flex: 0 0 auto;
  font-family: var(--font-mono); font-size: 0.9375rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.lines--compact .line__price { color: var(--ink-2); }

@media (max-width: 900px) {
  .annexes__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
}

/* ---- Cifras del circuito ------------------------------------------------ */
.figures {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-5);
}
.figure {
  border: 1px solid var(--rule-dark);
  border-radius: var(--r-3);
  padding: var(--s-5);
  background: rgba(255,255,255,0.04);
  transition: transform var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-color);
}
.figure:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.figure__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-300);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: var(--s-2);
}
.figure__of { font-size: 0.36em; color: var(--ink-on-dark-2); letter-spacing: 0; }
.figure__label { margin-top: var(--s-3); font-size: 0.9375rem; color: var(--ink-on-dark-2); }
.figures__close {
  margin-top: var(--s-7); padding-top: var(--s-5);
  border-top: 1px solid var(--rule-dark);
  max-width: 58ch; color: var(--ink-on-dark);
}
@media (max-width: 860px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .figures { grid-template-columns: minmax(0, 1fr); } }

/* ---- Estados de garantia ------------------------------------------------ */
.guarantees__head { max-width: 60ch; }
.states {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}
.state {
  background: var(--surface);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--r-3);
  padding: var(--s-5);
}
.state__name { font-weight: 700; }
.state__value {
  margin-top: var(--s-1);
  font-family: var(--font-mono); font-size: 0.875rem;
}
.state__value--pending { color: var(--brand-600); }
.state__note { margin-top: var(--s-2); font-size: 0.9375rem; color: var(--ink-2); }
@media (max-width: 760px) { .states { grid-template-columns: minmax(0, 1fr); } }

/* ---- Cobertura ---------------------------------------------------------- */
.coverage__head { max-width: 52ch; }
.municipalities {
  margin-top: var(--s-6);
  display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-3);
  max-width: 940px;
}
.municipalities li {
  font-size: 0.9375rem; color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-pill);
  padding: var(--s-1) var(--s-3);
  background: var(--surface);
  transition: transform var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-color);
}
.municipalities li:hover { transform: translateY(-2px); border-color: var(--brand-500); }
.coverage__note { margin-top: var(--s-5); color: var(--ink-2); font-size: 0.9375rem; }

/* ---- Preguntas ---------------------------------------------------------- */
.faq__list { margin-top: var(--s-6); max-width: 800px; border-top: 1px solid var(--rule-strong); }
.qa { border-bottom: 1px solid var(--rule-strong); }
.qa__q {
  cursor: pointer;
  list-style: none;
  padding: var(--s-5) 0;
  font-size: 1.125rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4);
  transition: color var(--dur-hover) var(--ease-color);
}
.qa__q::-webkit-details-marker { display: none; }
.qa__q::after {
  content: "+";
  font-family: var(--font-mono); font-size: 1.375rem; font-weight: 400;
  color: var(--brand-600);
  transition: transform var(--dur-state) var(--spring-snap);
}
.qa[open] .qa__q::after { transform: rotate(45deg); }
.qa__a { padding-bottom: var(--s-5); max-width: 64ch; color: var(--ink-2); }
.qa__a p { color: var(--ink-2); }

/* ---- Reserva / formulario ------------------------------------------------ */
.section--reserve { background: var(--ink); color: var(--ink-on-dark); }
.reserve { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-8); align-items: start; }
.reserve__head .section__lede { color: var(--ink-on-dark-2); }

.form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--rule-dark);
  border-radius: var(--r-3);
  padding: var(--s-6);
}
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.field { display: grid; gap: var(--s-1); }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 0.875rem; color: var(--ink-on-dark-2); }
.field__input {
  width: 100%;
  min-height: 48px;
  padding: var(--s-3);
  border: 1px solid var(--rule-dark);
  border-radius: var(--r-2);
  background: rgba(255,255,255,0.06);
  color: var(--ink-on-dark);
  font: inherit; font-size: 1rem;
  transition: border-color var(--dur-hover) var(--ease-color), box-shadow var(--dur-focus) var(--ease-out);
}
.field__input::placeholder { color: rgba(255,255,255,0.45); }
.field__input:focus { outline: none; border-color: var(--focus-ring-dark); box-shadow: 0 0 0 3px rgba(255,255,255,0.22); }
select.field__input option { color: var(--ink); background: #fff; }

.confirm { display: flex; gap: var(--s-3); align-items: flex-start; margin-top: var(--s-5); font-size: 0.9375rem; color: var(--ink-on-dark); }
.confirm__box {
  margin-top: 2px; flex: none;
  width: 22px; height: 22px;
  accent-color: var(--brand-500);
  cursor: pointer;
}

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__foot { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.form__status { font-size: 0.9375rem; color: var(--ink-on-dark-2); max-width: 42ch; }
.form__status[data-state="ok"] { color: var(--globo-menta-500); }
.form__status[data-state="error"] { color: #FFC9C9; }

@media (max-width: 900px) {
  .reserve { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
}
@media (max-width: 560px) {
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form { padding: var(--s-5); }
}

/* ---- Tarjetas de catalogo ------------------------------------------------ */
.cards {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
}
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  overflow: hidden;
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-color), border-color var(--dur-hover) var(--ease-color);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--rule-strong); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, var(--globo-limon-100) 0%, var(--globo-cielo-100) 55%, var(--globo-fresa-100) 100%);
  display: grid; place-items: center;
  overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__badge {
  position: absolute; top: var(--s-3); left: var(--s-3);
  font-family: var(--font-mono); font-size: 0.75rem;
  background: var(--ink); color: #fff;
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill);
}
.card__body { padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.card__name { font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.card__desc { font-size: 0.9375rem; color: var(--ink-2); }
.card__price {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.625rem;
  letter-spacing: -0.02em;
  color: var(--brand-600);
  font-variant-numeric: tabular-nums;
}
.card__meta { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-3); }

/* ---- Estados vacios / de carga ------------------------------------------ */
.state-box {
  margin-top: var(--s-6);
  border: 2px dashed var(--rule-strong);
  border-radius: var(--r-3);
  padding: var(--s-7) var(--s-5);
  text-align: center;
  background: var(--paper);
}
.state-box__title { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.state-box__text { margin-top: var(--s-2); color: var(--ink-2); font-size: 0.9375rem; }
.state-box--loading .state-box__text { color: var(--ink-3); }

/* ---- Filtros ------------------------------------------------------------- */
.filters {
  margin-top: var(--s-6);
  display: flex; flex-wrap: wrap; gap: var(--s-2);
  align-items: center;
}
.filter {
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 700;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill);
  border: 1px solid var(--rule-strong);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color var(--dur-hover) var(--ease-color), color var(--dur-hover) var(--ease-color), transform var(--dur-hover) var(--ease-out), border-color var(--dur-hover) var(--ease-color);
}
.filter:hover { transform: translateY(-2px); border-color: var(--ink); color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- Galeria ------------------------------------------------------------- */
.gallery {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--s-4);
}
.shot {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-3);
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--globo-cielo-100) 0%, var(--globo-menta-100) 50%, var(--globo-limon-100) 100%);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-color);
}
.shot:hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow-soft); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s-5) var(--s-4) var(--s-3);
  background: linear-gradient(to top, rgba(27,21,18,0.86), transparent);
  color: #fff;
  font-size: 0.875rem; font-weight: 700;
  text-align: left;
}
.shot__pending {
  position: absolute; inset: 0;
  display: grid; place-items: center; gap: var(--s-2);
  align-content: center;
  color: var(--ink-2);
  font-family: var(--font-mono); font-size: 0.8125rem;
  text-align: center;
  padding: var(--s-4);
}
.shot__pending svg { width: 40px; height: 40px; opacity: 0.5; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  display: none;
  place-items: center;
  padding: var(--s-5);
  background: rgba(27, 21, 18, 0.9);
}
.lightbox[data-open="true"] { display: grid; }
.lightbox__panel {
  position: relative;
  max-width: 900px; width: 100%;
  background: var(--surface);
  border-radius: var(--r-3);
  overflow: hidden;
  animation: lb-in 260ms var(--ease-out);
}
@keyframes lb-in { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
.lightbox__media { aspect-ratio: 16 / 10; display: grid; place-items: center; background: var(--paper-2); }
.lightbox__media img { max-height: 70vh; width: 100%; object-fit: contain; }
.lightbox__cap { padding: var(--s-4) var(--s-5); font-size: 0.9375rem; color: var(--ink-2); }
.lightbox__close {
  position: absolute; top: var(--s-3); right: var(--s-3);
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0; cursor: pointer;
  background: var(--ink); color: #fff;
  font-size: 1.125rem; line-height: 1;
  transition: transform var(--dur-hover) var(--ease-out);
}
.lightbox__close:hover { transform: rotate(90deg); }

/* ---- Portafolio ----------------------------------------------------------- */
.works {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--s-5);
}
.work {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-3);
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-color);
}
.work:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.work__thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-2);
  background: linear-gradient(135deg, var(--globo-limon-100), var(--globo-fresa-100));
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-2);
  text-align: center; padding: var(--s-3);
}
.work__title { font-weight: 700; color: var(--ink); }
.work__meta { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-3); }

/* ---- Blog ---------------------------------------------------------------- */
.posts {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s-5);
}
.post-card {
  display: flex; flex-direction: column; gap: var(--s-3);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--r-3);
  padding: var(--s-5);
  text-decoration: none;
  transition: transform var(--dur-hover) var(--ease-out), box-shadow var(--dur-hover) var(--ease-color), border-color var(--dur-hover) var(--ease-color);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--rule-strong); }
.post-card__meta { font-family: var(--font-mono); font-size: 0.8125rem; color: var(--brand-600); }
.post-card__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.post-card__excerpt { font-size: 0.9375rem; color: var(--ink-2); }
.post-card__more { margin-top: auto; font-weight: 700; font-size: 0.9375rem; color: var(--brand-600); }

/* Articulo */
.article { background: var(--surface); }
.article__head { padding: var(--s-8) 0 var(--s-6); border-bottom: 1px solid var(--rule); background: var(--paper); }
.article__title {
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.125rem);
  line-height: 1.04; letter-spacing: -0.03em;
  max-width: 22ch; text-wrap: balance;
}
.article__meta { margin-top: var(--s-4); font-family: var(--font-mono); font-size: 0.875rem; color: var(--ink-3); }
.article__body { padding: var(--s-8) 0; font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); }
.article__body h2 {
  margin-top: var(--s-8); margin-bottom: var(--s-3);
  font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2;
  letter-spacing: -0.02em; color: var(--ink);
}
.article__body h3 { margin-top: var(--s-6); margin-bottom: var(--s-2); font-weight: 700; font-size: 1.125rem; color: var(--ink); }
.article__body p { margin-bottom: var(--s-4); max-width: 68ch; }
.article__body ul { margin-bottom: var(--s-4); padding-left: var(--s-5); list-style: disc; max-width: 68ch; }
.article__body li { margin-bottom: var(--s-2); }
.article__body a { color: var(--brand-600); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.article__body a:hover { color: var(--brand-700); }
.article__body strong { color: var(--ink); }
.article__body table { margin: var(--s-6) 0; font-size: 0.9375rem; }
.article__body th, .article__body td { padding: var(--s-3); text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.article__body th { font-weight: 700; color: var(--ink); background: var(--paper); }
.article__body td:first-child { font-weight: 700; color: var(--ink); }
.article__body blockquote {
  margin: var(--s-6) 0; padding: var(--s-4) var(--s-5);
  border-left: 4px solid var(--brand-500);
  background: var(--paper);
  border-radius: 0 var(--r-2) var(--r-2) 0;
  color: var(--ink);
  max-width: 68ch;
}
.article__note {
  margin: var(--s-6) 0; padding: var(--s-4) var(--s-5);
  border: 1px dashed var(--rule-strong);
  border-radius: var(--r-2);
  background: var(--paper);
  font-size: 0.9375rem; color: var(--ink-2);
  max-width: 68ch;
}
.article__foot { padding: var(--s-6) 0 var(--s-8); border-top: 1px solid var(--rule); }

/* ---- CTA ----------------------------------------------------------------- */
.cta {
  margin-top: var(--s-7);
  background: var(--ink); color: var(--ink-on-dark);
  border-radius: var(--r-4);
  padding: var(--s-7);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s-6);
  align-items: center;
  box-shadow: var(--shadow-hard);
}
.cta__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.125rem); line-height: 1.1; letter-spacing: -0.02em; }
.cta__text { margin-top: var(--s-3); color: var(--ink-on-dark-2); max-width: 46ch; }
@media (max-width: 720px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* ---- Footer -------------------------------------------------------------- */
.footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding: var(--s-8) 0 var(--s-6); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1.5fr); gap: var(--s-8); }
.footer__logo { width: 92px; }
.footer__tagline { margin-top: var(--s-3); font-family: var(--font-mono); font-size: 0.8125rem; color: var(--ink-3); }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
.footer__head {
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700;
  padding-bottom: var(--s-2); margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule-strong);
}
.footer__list { display: grid; gap: var(--s-1); font-size: 0.875rem; color: var(--ink-2); }
.footer__list--pending { color: var(--ink-3); }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: var(--brand-600); text-decoration: underline; }
.footer__base {
  margin-top: var(--s-7); padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: 0.8125rem; color: var(--ink-3); max-width: 96ch;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .footer__cols { grid-template-columns: minmax(0, 1fr); } }

/* ---- Movimiento reducido ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .qa__q::after, .field__input, .card, .post-card, .work, .shot, .figure, .municipalities li, .filter, .stub {
    transition-property: background-color, color, border-color, filter, opacity, box-shadow;
  }
  .btn:active { transform: none; }
  .btn:hover, .card:hover, .post-card:hover, .work:hover, .shot:hover, .figure:hover,
  .municipalities li:hover, .filter:hover, .stub:hover { transform: none; }
  .qa[open] .qa__q::after { transform: none; }
  .balloon { animation: none; }
  .lightbox__panel { animation: none; }
}

/* ---- Impresion ----------------------------------------------------------- */
@media print {
  .masthead, .hero__balloons, .stub .btn, .hero__actions, .form, .skip, .cta { display: none; }
  body { background: #fff; }
  .section { padding: var(--s-5) 0; }
}
