/* ============================================================
   Fiesta Karaoke SATX
   Hoja unica. Sin dependencias externas, sin build.
   ============================================================ */

/* ---------- 1. Fuentes autohospedadas ---------- */

@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 800;
  font-display: swap; src: url("/assets/fonts/outfit-800.woff2") format("woff2");
}
@font-face {
  font-family: "Outfit"; font-style: normal; font-weight: 600;
  font-display: swap; src: url("/assets/fonts/outfit-600.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400;
  font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 500;
  font-display: swap; src: url("/assets/fonts/inter-500.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 700;
  font-display: swap; src: url("/assets/fonts/inter-700.woff2") format("woff2");
}

/* ---------- 2. Tokens ---------- */

:root {
  /* superficies */
  --noche:      #0d0518;
  --superficie: #170c28;
  --superficie-alta: #1f1136;
  --borde:      rgba(255, 255, 255, .10);
  --borde-alto: rgba(255, 255, 255, .18);

  /* texto */
  --texto:       #f6f4ff;
  --texto-suave: #c9bdda;
  --texto-tenue: #9b8cb0;

  /* marca */
  --rosa:   #ec4899;
  --naranja:#f97316;
  --morado: #a855f7;
  --ambar:  #fbbf24;
  --verde-wa: #25d366;

  /* texto sobre superficies brillantes: 5.5:1 y 7:1, cumple WCAG AA */
  --sobre-brillante: #14031f;

  /* escala tipografica */
  --t-xs: .8125rem;   /* 13 */
  --t-sm: .9375rem;   /* 15 */
  --t-base: 1.0625rem;/* 17 */
  --t-md: 1.1875rem;  /* 19 */
  --t-lg: 1.375rem;   /* 22 */
  --t-xl: 1.75rem;    /* 28 */

  /* escala de espaciado, multiplos de 4 */
  --e-1: 4px;  --e-2: 8px;  --e-3: 12px; --e-4: 16px;
  --e-6: 24px; --e-8: 32px; --e-12: 48px; --e-16: 64px; --e-24: 96px;

  --radio: 14px;
  --radio-lg: 20px;
  --max: 1120px;

  /* elevacion consistente */
  --sombra-1: 0 1px 2px rgba(0,0,0,.4);
  --sombra-2: 0 6px 20px rgba(0,0,0,.35);
  --sombra-3: 0 18px 44px rgba(0,0,0,.45);

  /* movimiento */
  --rapido: 140ms;
  --normal: 220ms;
  --curva: cubic-bezier(.22,.61,.36,1);

  /* capas */
  --z-barra: 40;
  --z-movil: 60;
  --z-salto: 100;
}

/* ---------- 3. Base ---------- */

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* compensa la barra fija al saltar a un ancla */
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--texto);
  background: var(--noche);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .cifra, .marca {
  font-family: Outfit, Inter, sans-serif;
  letter-spacing: -.025em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ambar); }

/* foco visible en todo lo interactivo: regla critica de accesibilidad */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--ambar);
  outline-offset: 3px;
  border-radius: 6px;
}

/* salto al contenido para quien navega con teclado */
.salto {
  position: absolute; left: var(--e-4); top: -100px; z-index: var(--z-salto);
  background: var(--ambar); color: var(--sobre-brillante);
  padding: var(--e-3) var(--e-4); border-radius: 0 0 10px 10px;
  font-weight: 700; text-decoration: none;
  transition: top var(--rapido) var(--curva);
}
.salto:focus { top: 0; }

.envoltura { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--e-6); }

.ico { width: 20px; height: 20px; flex: none; fill: none;
       stroke: currentColor; stroke-width: 2;
       stroke-linecap: round; stroke-linejoin: round; }
.ico-relleno { fill: currentColor; stroke: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- 4. Barra superior ---------- */

.barra {
  position: sticky; top: 0; z-index: var(--z-barra);
  background: rgba(13, 5, 24, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--borde);
}
.barra .envoltura {
  display: flex; align-items: center; gap: var(--e-4);
  min-height: 68px;
}
.marca {
  display: flex; align-items: center; gap: var(--e-3);
  font-weight: 800; font-size: var(--t-base);
  color: var(--texto); text-decoration: none; white-space: nowrap;
}
.marca img { width: 42px; height: 42px; }
.marca-txt > span { color: var(--rosa); }

.barra nav { display: flex; gap: var(--e-1); margin-left: auto; }
.barra nav a {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 var(--e-3);   /* area tactil de 44px */
  border-radius: 9px;
  color: var(--texto-suave); text-decoration: none;
  font-size: var(--t-sm); font-weight: 500;
  transition: color var(--rapido) var(--curva), background var(--rapido) var(--curva);
}
.barra nav a:hover { color: var(--texto); background: rgba(255,255,255,.06); }

.idioma {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 var(--e-4); border-radius: 999px;
  border: 1px solid var(--borde-alto);
  font-size: var(--t-xs); font-weight: 600;
  color: var(--texto-suave); text-decoration: none;
  transition: border-color var(--rapido) var(--curva), color var(--rapido) var(--curva);
}
.idioma:hover { color: var(--texto); border-color: var(--ambar); }

/* ---------- 5. Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--e-2);
  min-height: 52px; padding: 0 var(--e-6);
  border-radius: 999px; border: 0;
  font-family: inherit; font-size: var(--t-base); font-weight: 700;
  text-decoration: none; cursor: pointer;
  touch-action: manipulation;
  transition: transform var(--rapido) var(--curva),
              box-shadow var(--rapido) var(--curva),
              filter var(--rapido) var(--curva);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* texto oscuro sobre el degradado: 5.5:1 y 7:1 contra blanco que daba 2.8:1 */
.btn-primario {
  background: linear-gradient(135deg, var(--rosa), var(--naranja));
  color: var(--sobre-brillante);
  box-shadow: 0 6px 22px rgba(236, 72, 153, .32);
}
.btn-primario:hover { box-shadow: 0 12px 30px rgba(236, 72, 153, .42); }

.btn-wa { background: var(--verde-wa); color: #052d18; box-shadow: 0 6px 22px rgba(37, 211, 102, .26); }
.btn-wa:hover { box-shadow: 0 12px 30px rgba(37, 211, 102, .34); }

.btn-linea {
  background: rgba(255,255,255,.04); color: var(--texto);
  border: 1px solid var(--borde-alto);
}
.btn-linea:hover { border-color: var(--ambar); background: rgba(255,255,255,.08); }

/* ---------- 6. Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding: var(--e-24) 0 var(--e-16);
  background:
    radial-gradient(880px 440px at 8% -12%, rgba(236,72,153,.30), transparent 62%),
    radial-gradient(760px 430px at 92% 4%, rgba(168,85,247,.34), transparent 64%),
    var(--noche);
}
.hero .envoltura {
  display: grid; gap: var(--e-12); align-items: center;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}
/* paginas sin arte (404) usan el ancho completo en vez de media rejilla */
.hero .envoltura:not(:has(.hero-arte)) { grid-template-columns: 1fr; }
.hero-txt { min-width: 0; }   /* evita que el texto desborde la columna del grid */
.hero-arte { justify-self: center; }
.hero-arte img {
  width: min(380px, 80vw); height: auto;
  filter: drop-shadow(0 0 50px rgba(168,85,247,.42));
}

.lema {
  display: inline-flex; align-items: center; gap: var(--e-2);
  margin: 0 0 var(--e-4); padding: var(--e-2) var(--e-4);
  border-radius: 999px;
  background: rgba(251,191,36,.12);
  border: 1px solid rgba(251,191,36,.36);
  color: var(--ambar);
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .02em; text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.15rem, 5.2vw, 3.5rem);
  font-weight: 800; line-height: 1.06;
  margin: 0 0 var(--e-4); max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--ambar); }

.entrada {
  font-size: var(--t-md); color: var(--texto-suave);
  max-width: 52ch;                 /* 60-75 caracteres por linea */
  margin: 0 0 var(--e-8);
}

.acciones { display: flex; gap: var(--e-3); flex-wrap: wrap; margin: 0; }
.rejilla + .acciones { margin-top: var(--e-8); }


/* ---------- 7. Secciones ---------- */

section { padding: var(--e-24) 0; }
/* alternar superficie rompe la monotonia sin cambiar la estructura */
section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255,255,255,.022), transparent 60%);
  border-block: 1px solid var(--borde);
}

.rotulo {
  display: block; margin: 0 0 var(--e-3);
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--rosa);
}
section h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 800; line-height: 1.15;
  margin: 0 0 var(--e-3); max-width: 22ch;
}
.intro {
  color: var(--texto-suave); max-width: 60ch;
  font-size: var(--t-md); margin: 0 0 var(--e-12);
}

/* ---------- 8. Tarjetas ---------- */

.rejilla { display: grid; gap: var(--e-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.tarjeta {
  position: relative;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: var(--e-6);
  box-shadow: var(--sombra-1);
  transition: transform var(--normal) var(--curva),
              border-color var(--normal) var(--curva),
              box-shadow var(--normal) var(--curva);
}
/* filo superior claro: da profundidad sin sombras pesadas */
.tarjeta::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  border-radius: var(--radio) var(--radio) 0 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}
.tarjeta:hover {
  transform: translateY(-3px);
  border-color: var(--borde-alto);
  box-shadow: var(--sombra-2);
}
.tarjeta .ico {
  width: 26px; height: 26px; color: var(--rosa); margin-bottom: var(--e-3);
}
.tarjeta h3 {
  margin: 0 0 var(--e-2);
  font-size: var(--t-lg); font-weight: 600; line-height: 1.25;
}
.tarjeta p { margin: 0; color: var(--texto-suave); font-size: var(--t-sm); }

/* ---------- 9. Nota destacada ---------- */

.nota {
  display: flex; gap: var(--e-4); align-items: flex-start;
  margin: var(--e-8) 0 0; padding: var(--e-6);
  background: rgba(251,191,36,.07);
  border: 1px solid rgba(251,191,36,.26);
  border-left: 4px solid var(--ambar);
  border-radius: var(--radio);
  color: var(--texto-suave); font-size: var(--t-sm);
}
.nota .ico { color: var(--ambar); margin-top: 2px; }
.nota b { color: var(--ambar); }

/* ---------- 10. Precio ---------- */

.precio { display: grid; gap: var(--e-6); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.plan {
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, var(--superficie-alta), var(--superficie));
  border: 1px solid var(--borde-alto);
  border-radius: var(--radio-lg);
  padding: var(--e-8);
  box-shadow: var(--sombra-2);
}
.plan-destacado {
  border-color: rgba(236,72,153,.5);
  box-shadow: var(--sombra-3), 0 0 0 1px rgba(236,72,153,.18);
}
.plan h3 { margin: 0 0 var(--e-2); font-size: var(--t-lg); font-weight: 600; }
.plan .cifra {
  font-size: clamp(2.5rem, 6vw, 3.25rem); font-weight: 800; line-height: 1;
  font-variant-numeric: tabular-nums;    /* cifras de ancho fijo */
  margin-bottom: var(--e-6);
}
.plan .cifra small {
  display: block; margin-top: var(--e-2);
  font-size: var(--t-sm); font-weight: 500;
  font-family: Inter, sans-serif; letter-spacing: 0;
  color: var(--texto-suave);
}
.plan ul { list-style: none; padding: 0; margin: 0 0 var(--e-8); flex: 1; }
.plan li {
  display: flex; gap: var(--e-3); align-items: flex-start;
  padding: var(--e-2) 0; color: var(--texto-suave); font-size: var(--t-sm);
}
.plan li .ico { width: 18px; height: 18px; color: var(--ambar); margin-top: 4px; }

.letra-chica {
  margin: var(--e-6) 0 0;
  color: var(--texto-tenue);
  font-size: var(--t-xs);
  line-height: 1.6;
  max-width: 68ch;
}

/* ---------- 11. Zonas ---------- */

.zonas { display: flex; flex-wrap: wrap; gap: var(--e-2); margin: 0; padding: 0; }
.zonas li {
  list-style: none;
  background: var(--superficie); border: 1px solid var(--borde);
  border-radius: 999px; padding: var(--e-2) var(--e-4);
  font-size: var(--t-sm); color: var(--texto-suave);
}

/* ---------- 12. Preguntas ---------- */

.faq .envoltura > details {
  border: 1px solid var(--borde); border-radius: var(--radio);
  background: var(--superficie);
  margin-bottom: var(--e-3);
  transition: border-color var(--rapido) var(--curva);
}
.faq details[open] { border-color: var(--borde-alto); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--e-4);
  min-height: 56px; padding: var(--e-3) var(--e-6);
  cursor: pointer; list-style: none;
  font-size: var(--t-md); font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico {
  color: var(--rosa);
  transition: transform var(--normal) var(--curva);
}
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p {
  margin: 0; padding: 0 var(--e-6) var(--e-6);
  color: var(--texto-suave); max-width: 68ch;
}

/* ---------- 13. Cierre ---------- */

.cierre {
  text-align: center;
  background:
    radial-gradient(760px 340px at 50% 0%, rgba(236,72,153,.26), transparent 66%),
    var(--superficie);
}
.cierre h2 { max-width: 18ch; margin-inline: auto; }
.cierre .intro { margin-inline: auto; margin-bottom: var(--e-8); }
.cierre .acciones { justify-content: center; margin-bottom: 0; }

/* ---------- 14. Pie ---------- */

footer {
  border-top: 1px solid var(--borde);
  padding: var(--e-16) 0 var(--e-12);
  color: var(--texto-suave); font-size: var(--t-sm);
  background: var(--noche);
}
footer .envoltura {
  display: grid; gap: var(--e-8);
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
footer h4 {
  color: var(--texto); margin: 0 0 var(--e-3);
  font-size: var(--t-sm); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
footer a {
  display: inline-flex; align-items: center; gap: var(--e-2);
  min-height: 44px; padding: var(--e-1) 0;      /* area tactil */
  color: var(--texto-suave); text-decoration: none;
  transition: color var(--rapido) var(--curva);
}
footer a:hover { color: var(--ambar); }
footer .col-enlaces { display: flex; flex-direction: column; }
.legal {
  margin-top: var(--e-12); padding-top: var(--e-6);
  border-top: 1px solid var(--borde);
  color: var(--texto-tenue); font-size: var(--t-xs);
}

/* ---------- 15. Barra fija movil ---------- */

.barra-movil {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-movil);
  display: none; gap: var(--e-3);
  padding: var(--e-3) var(--e-4) calc(var(--e-3) + env(safe-area-inset-bottom));
  background: rgba(13,5,24,.97);
  border-top: 1px solid var(--borde);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.barra-movil .btn { flex: 1; padding: 0 var(--e-3); font-size: var(--t-sm); }

/* ---------- 16. Adaptable ---------- */

@media (max-width: 960px) {
  .hero .envoltura { grid-template-columns: 1fr; gap: var(--e-8); }
  .hero-arte { order: -1; }
  .hero-arte img { width: min(240px, 58vw); }
  .hero h1 { max-width: none; }
  section h2 { max-width: none; }
}

@media (max-width: 860px) {
  /* el menu no desaparece: pasa a fila deslizable bajo la marca */
  .barra .envoltura { flex-wrap: wrap; min-height: 0; padding-block: var(--e-3); }
  .marca { margin-right: auto; }
  .barra nav {
    order: 3; width: 100%; margin-left: 0;
    overflow-x: auto; scrollbar-width: none;
    padding-top: var(--e-1);
    -webkit-overflow-scrolling: touch;
  }
  .barra nav::-webkit-scrollbar { display: none; }
  .barra nav a { white-space: nowrap; }
}

@media (max-width: 720px) {
  :root { --t-base: 1rem; }
  .barra-movil { display: flex; }
  body { padding-bottom: 82px; }        /* deja aire bajo la barra fija */
  html { scroll-padding-top: 120px; }
  .hero { padding: var(--e-12) 0 var(--e-12); }
  section { padding: var(--e-16) 0; }
  .envoltura { padding: 0 var(--e-4); }
  .plan { padding: var(--e-6); }
  .acciones .btn { flex: 1 1 100%; }
}

/* ---------- 17. Preferencias del sistema ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .btn:hover, .tarjeta:hover { transform: none; }
}

@media (prefers-contrast: more) {
  :root { --texto-suave: #e4dcf0; --borde: rgba(255,255,255,.28); }
}

@media print {
  .barra, .barra-movil, .salto, .hero-arte { display: none; }
  body { background: #fff; color: #000; }
}

/* ============================================================
   18. Movimiento
   Todo lo de aqui es mejora progresiva: sin JS la pagina se ve
   completa, solo sin animacion. Nada de esto mueve el layout.
   ============================================================ */

/* ---------- ondas de sonido del hero ---------- */

.ondas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
  opacity: .85;
}
.hero > .envoltura { position: relative; z-index: 1; }

/* resplandor lento detras del logo */
.hero-arte { position: relative; }
.hero-arte::before {
  content: ""; position: absolute; inset: -18%;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(168,85,247,.34), transparent 68%);
  animation: latir 7s ease-in-out infinite;
}
.hero-arte img { position: relative; }

@keyframes latir {
  0%, 100% { transform: scale(1);    opacity: .55; }
  50%      { transform: scale(1.14); opacity: .95; }
}

/* ---------- ecualizador del lema ---------- */

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 3px; border-radius: 2px; background: currentColor; height: 40%; }
.eq i:nth-child(1) { animation: barra .9s ease-in-out infinite; }
.eq i:nth-child(2) { animation: barra .9s ease-in-out .3s infinite; }
.eq i:nth-child(3) { animation: barra .9s ease-in-out .6s infinite; }

@keyframes barra {
  0%, 100% { height: 35%; }
  50%      { height: 100%; }
}

/* ---------- aparicion al hacer scroll ---------- */

/* solo se ocultan si hay JS; si no, se ven desde el principio */
.js :is(.tarjeta, .plan, .nota) {
  opacity: 0; transform: translateY(16px);
  transition: opacity .5s var(--curva), transform .5s var(--curva);
}
.js .zonas li {
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s var(--curva), transform .35s var(--curva);
}
.js :is(.tarjeta, .plan, .nota, .zonas li).visible {
  opacity: 1; transform: none;
}

/* ---------- tarjetas mas llamativas ---------- */

/* el icono pasa a ser una placa con degradado */
.tarjeta > .ico {
  width: 46px; height: 46px; padding: 11px;
  margin-bottom: var(--e-4);
  border-radius: 13px;
  background: linear-gradient(140deg, rgba(236,72,153,.24), rgba(168,85,247,.16));
  border: 1px solid rgba(236,72,153,.32);
  color: var(--rosa);
  transition: transform var(--normal) var(--curva),
              border-color var(--normal) var(--curva);
}
.tarjeta:hover > .ico {
  transform: translateY(-2px) rotate(-4deg);
  border-color: rgba(236,72,153,.6);
}

/* reflejo que sigue al cursor */
.tarjeta::after, .plan::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity var(--normal) var(--curva);
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(236,72,153,.16), transparent 62%);
}
.tarjeta:hover::after, .plan:hover::after { opacity: 1; }
.plan { position: relative; overflow: hidden; }

/* ---------- enlace activo del menu ---------- */

.barra nav a.activo { color: var(--texto); background: rgba(236,72,153,.16); }

/* ---------- respetar la preferencia del sistema ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero-arte::before, .eq i { animation: none; }
  .js :is(.tarjeta, .plan, .nota, .zonas li) { opacity: 1; transform: none; }
  .tarjeta:hover > .ico { transform: none; }
}

/* ---------- 19. Lugares con karaoke fijo ---------- */

.lugares { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-4); }

.lugar {
  position: relative; overflow: hidden;
  display: grid; gap: var(--e-6); align-items: center;
  grid-template-columns: 132px 1fr;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  padding: var(--e-6);
  box-shadow: var(--sombra-1);
  transition: transform var(--normal) var(--curva),
              border-color var(--normal) var(--curva),
              box-shadow var(--normal) var(--curva);
}
.lugar::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: linear-gradient(180deg, var(--rosa), var(--morado));
}
.lugar:hover {
  transform: translateY(-3px);
  border-color: var(--borde-alto);
  box-shadow: var(--sombra-2);
}

.lugar-dia {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--e-1); text-align: center;
  padding: var(--e-4) var(--e-2);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(236,72,153,.20), rgba(168,85,247,.14));
  border: 1px solid rgba(236,72,153,.30);
}
.lugar-dia b {
  font-family: Outfit, sans-serif;
  font-size: var(--t-lg); font-weight: 800; line-height: 1;
  letter-spacing: -.02em; color: var(--ambar);
}
.lugar-dia small {
  font-size: var(--t-xs); color: var(--texto-suave);
  font-variant-numeric: tabular-nums;
}

.lugar h3 { margin: 0 0 var(--e-1); font-size: var(--t-lg); font-weight: 600; }
.lugar-meta {
  margin: 0 0 var(--e-3);
  color: var(--texto-suave); font-size: var(--t-sm);
}
.lugar-mapa {
  display: inline-flex; align-items: center; gap: var(--e-2);
  min-height: 44px; color: var(--ambar);
  font-size: var(--t-sm); font-weight: 600; text-decoration: none;
}
.lugar-mapa:hover { text-decoration: underline; }

@media (max-width: 620px) {
  .lugar { grid-template-columns: 1fr; gap: var(--e-4); }
  .lugar-dia { flex-direction: row; gap: var(--e-3); padding: var(--e-3); }
}

/* ---------- 20. Cierre: ultimo llamado a la accion ---------- */

.cierre { position: relative; overflow: hidden; }

/* aurora giratoria de fondo. Solo transform, no repinta layout. */
.cierre::before {
  content: ""; position: absolute; inset: -60%;
  pointer-events: none;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(236, 72, 153, .22) 40deg,
    transparent 110deg,
    rgba(168, 85, 247, .24) 170deg,
    transparent 240deg,
    rgba(251, 191, 36, .16) 300deg,
    transparent 360deg);
  animation: girar 22s linear infinite;
}
.cierre > .envoltura { position: relative; z-index: 1; }

@keyframes girar { to { transform: rotate(360deg); } }

.cierre .lema { margin-bottom: var(--e-6); }
.cierre h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.06; max-width: 20ch;
}
.cierre .btn { min-height: 60px; padding: 0 var(--e-8); font-size: var(--t-md); }

/* latido en el boton de llamar: es la accion que mas vale */
.cierre .btn-primario { animation: latido 2.8s ease-in-out infinite; }

@keyframes latido {
  0%, 100% { box-shadow: 0 6px 22px rgba(236,72,153,.34), 0 0 0 0 rgba(236,72,153,.5); }
  50%      { box-shadow: 0 12px 30px rgba(236,72,153,.46), 0 0 0 16px rgba(236,72,153,0); }
}

.cierre-extra {
  margin: var(--e-6) 0 0;
  color: var(--texto-tenue);
  font-size: var(--t-xs);
}

@media (prefers-reduced-motion: reduce) {
  .cierre::before, .cierre .btn-primario { animation: none; }
}

/* ---------- 21. Videos y galeria ---------- */

.medios {
  display: grid; gap: var(--e-6);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 780px; margin: 0 auto var(--e-12);
}
.medio {
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-2);
}
.medio video {
  display: block; width: 100%; height: auto;
  aspect-ratio: 9 / 16; background: #000;
}
.medio figcaption {
  padding: var(--e-4) var(--e-4) var(--e-6);
  color: var(--texto-suave); font-size: var(--t-sm);
}
.medio figcaption b { display: block; color: var(--texto); font-weight: 600; }

.galeria {
  display: grid; gap: var(--e-3);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 0; padding: 0; list-style: none;
}
.galeria li { margin: 0; }
.galeria img {
  width: 100%; height: 220px; object-fit: cover;
  border-radius: var(--radio);
  border: 1px solid var(--borde);
  transition: transform var(--normal) var(--curva),
              border-color var(--normal) var(--curva);
}
.galeria img:hover { transform: scale(1.02); border-color: var(--borde-alto); }

/* retrato del KJ dentro de "como trabajamos" */
.figura { margin: 0 0 var(--e-12); }
.figura img {
  width: 100%; border-radius: var(--radio-lg);
  border: 1px solid var(--borde); box-shadow: var(--sombra-2);
}
.figura figcaption {
  margin-top: var(--e-3);
  color: var(--texto-tenue); font-size: var(--t-xs);
}

@media (max-width: 560px) {
  .galeria img { height: 180px; }
}
