/* ==========================================================================
   Cadena Cheers — sistema base
   Tokens medidos de cadenacheers.com (ver cadenacheers.com.md)
   ========================================================================== */

:root {
  /* Rampa térmica: los 4 acentos son UNA sola rampa.
     Los componentes toman tramos contiguos, nunca colores sueltos. */
  --accent-1: #FF3D00;
  --accent-2: #FFA500;
  --accent-3: #FFD700;
  --accent-4: #FF1744;
  --primary:  #FF6B00;

  --bg:          #000000;
  --bg-mid:      #111827;
  --surface:     rgba(255, 255, 255, 0.10);
  --surface-soft:rgba(255, 255, 255, 0.05);
  --hairline:    rgba(255, 255, 255, 0.20);
  --border:      #333333;

  --text-1: #FFFFFF;
  --text-2: #D1D5DB;
  --text-3: #9CA3AF;
  --text-4: #6B7280;

  --font: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Escala de espaciado, base 8px */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-6: 24px;  --s-8: 32px;  --s-10: 40px; --s-12: 48px;
  --s-16: 64px; --s-20: 80px; --s-28: 112px;

  /* El radius baja un escalón por nivel de anidamiento */
  --r-cta: 8px;      /* exclusivo del CTA del navbar */
  --r-btn: 12px;     /* botones de cuerpo, acordeones */
  --r-info: 16px;    /* tarjetas de info */
  --r-card: 24px;    /* tarjetas de sede y de foto */
  --r-pill: 9999px;  /* badges, chips, iconos circulares */

  --header-h: 113px;
  --container: 1280px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s var(--ease);
  --t-base: 0.3s var(--ease);
  --t-slow: 0.5s var(--ease);

  --grad-marca:  linear-gradient(to right, var(--accent-1), var(--accent-2));
  --grad-hero:   linear-gradient(to right, var(--accent-1), var(--accent-2), var(--accent-3));
  --grad-fondo:  linear-gradient(to bottom, var(--bg), var(--bg-mid), var(--bg));
  --grad-velo:   linear-gradient(to top, var(--bg) 0%, rgba(0,0,0,0.88) 38%, rgba(0,0,0,0.45) 72%, rgba(0,0,0,0.15) 100%);

  /* Colores de canal — no de marca. Son los que hacen que la gente reconozca
     la plataforma de un vistazo, igual que el verde de WhatsApp. */
  --wa-a: #16A34A;  --wa-b: #22C55E;
  --fb:   #1877F2;
  --grad-ig: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
  --grad-wa: linear-gradient(to bottom right, var(--wa-a), var(--wa-b));
  --grad-fb: linear-gradient(to bottom right, #1877F2, #4293FB);
}

/* Tramos de la rampa por sede — nunca colores nuevos */
.sede--cariari { --sede-a: var(--accent-1); --sede-b: var(--accent-2); }
.sede--lindora { --sede-a: var(--accent-2); --sede-b: var(--accent-3); }
.sede--coyote  { --sede-a: var(--accent-3); --sede-b: var(--accent-4); }

/* ---------- reset ---------- */

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, p, figure { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* Un SVG inline sin width/height dentro de un contenedor flex se estira hasta
   llenar la caja. Este default de baja especificidad (0,0,2) lo evita y lo pisa
   cualquier regla de componente basada en clase. */
a svg, button svg, summary svg, p svg, li svg, h3 svg, span svg {
  width: 16px;
  height: 16px;
  flex: none;
}

/* El header es fijo: sin esto, cualquier enlace de ancla (#quienes, #vacantes,
   los temas del FAQ) deja el destino escondido detrás de él. */
[id] { scroll-margin-top: calc(var(--header-h) + var(--s-6)); }

/* El original no define ninguna regla :focus-visible en sus 5289.
   Lo añadimos: sobre negro, un anillo en accent-3 es lo único que se ve. */
:focus-visible {
  outline: 2px solid var(--accent-3);
  outline-offset: 3px;
  border-radius: var(--s-1);
}

/* ---------- layout ---------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-4);
}

/* El gap real entre secciones es 0: el aire lo produce el padding propio
   de cada una. Cero <hr>, cero bordes divisorios — el corte es de gradiente. */
.section {
  position: relative;
  margin: 0;
  padding: var(--s-20) 0;
  overflow: hidden;
}
.section--gradient { background: var(--grad-fondo); }
.section--flat     { background: var(--bg); }

/* ---------- profundidad: luz, no sombra ----------
   Cero box-shadow en reposo. Los planos se separan con orbes de color
   desenfocados detrás del contenido. */

.orb {
  position: absolute;
  border-radius: var(--r-pill);
  filter: blur(64px);
  pointer-events: none;
  opacity: var(--orb-o);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.orb--sm { width: 256px; height: 256px; }
.orb--lg { width: 384px; height: 384px; }
.orb--1  { top: 80px;    left: 40px;  background: var(--accent-1); --orb-o: 0.16; animation-delay: 0s; }
.orb--2  { bottom: 80px; right: 40px; background: var(--accent-2); --orb-o: 0.13; animation-delay: 1s; }
.orb--3  { top: 30%;     right: 15%;  background: var(--accent-3); --orb-o: 0.07; animation-delay: 0.5s; }

/* Rango explícito: el orbe late alrededor de su propia opacidad, no hasta 0.5 */
@keyframes pulse {
  0%, 100% { opacity: var(--orb-o); }
  50%      { opacity: calc(var(--orb-o) * 1.9); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
  50%      { transform: none;             animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

/* ---------- tipografía ----------
   Una sola familia. El salto 400 → 900 hace toda la jerarquía. */

.h-hero {
  font-size: clamp(48px, 6.7vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: normal;
  margin-bottom: var(--s-6);
}
.h-section {
  font-size: clamp(36px, 4.2vw, 60px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: normal;
  margin-bottom: var(--s-6);
}
.h-card  { font-size: 30px; font-weight: 900; line-height: 1.2; }
.h-info  { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: var(--s-2); }
.h-foot  { font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: var(--s-6); }

/* Los acentos de texto se pintan con gradiente + background-clip,
   nunca con color: #FF3D00 */
.grad-text {
  display: block;
  /* background-image, no el shorthand: `background` reinicia background-clip
     a border-box y el texto se convierte en una barra de color. */
  background-image: var(--grad-marca);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-text--hero { background-image: var(--grad-hero); }
.grad-text--inline { display: inline; }

.lead {
  max-width: 768px;
  margin: 0 auto var(--s-10);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.33;
  color: var(--text-2);
}
.lead--sm { font-size: 18px; line-height: 1.5; }

.body-text { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.body-text + .body-text { margin-top: var(--s-6); }
.body-text strong { color: var(--text-1); font-weight: 700; }

/* Barra de 96×4px degradada, centrada bajo cada h2 */
.rule {
  width: 96px;
  height: 4px;
  margin: 0 auto var(--s-6);
  border-radius: var(--r-pill);
  background: linear-gradient(to right, var(--accent-1), var(--accent-3));
}

.center { text-align: center; }

/* ---------- botones ----------
   Toda superficie de acción se pinta con gradiente, no con color plano.
   La sombra existe solo en hover, y va teñida al acento. */

.btn {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-weight: 700;
  border-radius: var(--r-btn);
  transition: transform var(--t-base), box-shadow var(--t-base), background-color var(--t-base);
  will-change: transform;
}
.btn:hover { transform: scale(1.05); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm svg { width: 15px; height: 15px; }

.btn--lg { padding: var(--s-4) var(--s-8); font-size: 18px; }
.btn--md { padding: var(--s-3) var(--s-8); font-size: 16px; }
.btn--sm { padding: var(--s-3) var(--s-4); font-size: 14px; }

.btn--primary {
  background-image: var(--grad-marca);
  color: #FFFFFF;
}
.btn--primary:hover { box-shadow: 0 0 30px rgba(255, 61, 0, 0.6); }

.btn--sede {
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
  color: #000000;
}
.btn--sede:hover { box-shadow: 0 0 20px color-mix(in srgb, var(--sede-a) 60%, transparent); }

.btn--ghost {
  background-color: var(--surface);
  border: 2px solid var(--accent-3);
  color: var(--text-1);
}
.btn--ghost:hover { box-shadow: 0 0 30px rgba(255, 215, 0, 0.5); }

.btn--ghost-sede {
  background-color: var(--surface);
  border: 1px solid var(--sede-a);
  color: var(--text-1);
}
.btn--ghost-sede:hover { box-shadow: 0 0 20px color-mix(in srgb, var(--sede-a) 50%, transparent); }

.btn--block { width: 100%; }

/* ---------- header ---------- */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color var(--t-base);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-8);
  width: 100%;
}
.header__logo img { width: 168px; height: auto; }

.header__end {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-8);
}
.nav__link {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-1);
  transition: color var(--t-base);
}
.nav__link:hover,
.nav__link[aria-current="page"] { color: var(--accent-2); }

/* El único 8px del sitio. Congelado: 168×48, 12/24, 16px/700. */
.cta-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: var(--s-3) var(--s-6);
  border-radius: var(--r-cta);
  background-image: var(--grad-marca);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.cta-nav:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 61, 0, 0.6);
}

.nav-toggle { display: none; padding: var(--s-2); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-h) + var(--s-8));
  padding-bottom: var(--s-20);
  overflow: hidden;
  text-align: center;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.55), var(--bg));
}
.hero__content { position: relative; z-index: 2; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-6);
  margin-bottom: var(--s-16);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-3);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface-soft);
  font-size: 16px;
  color: var(--text-1);
  transition: background-color var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.chip:hover {
  background: var(--surface);
  border-color: var(--accent-2);
  transform: scale(1.05);
}
.chip svg { width: 16px; height: 16px; flex: none; }

.hero__cue {
  position: absolute;
  bottom: var(--s-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--accent-1);
}
.hero__cue svg { width: 28px; height: 28px; animation: bounce 1s ease infinite; }

/* ---------- tarjetas de sede ---------- */

.grid-sedes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
}

.sede {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 500px;
  padding: var(--s-6);
  border-radius: var(--r-card);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.sede:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px color-mix(in srgb, var(--sede-a) 45%, transparent);
}

/* Carrusel: cinta horizontal continua, no un fundido.
   Medido en el original: ~25.9 px/s lineal sobre slides del ancho de la
   tarjeta → ciclo de 3 imágenes en ~46s. Nunca se detiene y nunca reacciona
   al scroll: es movimiento ambiental, igual que los orbes. */
.sede__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.sede__track {
  display: flex;
  width: 600%;          /* 6 slides = 3 imágenes duplicadas */
  height: 100%;
  animation: marquee 46s linear infinite;
  will-change: transform;
}
.sede__slide {
  flex: 0 0 calc(100% / 6);   /* cada slide = ancho exacto de la tarjeta */
  height: 100%;
}
.sede__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* -50% del track = 3 slides = un ciclo limpio; el duplicado hace el empalme */
@keyframes marquee { to { transform: translateX(-50%); } }
.sede::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad-velo);
}
.sede__head {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
.sede__pin {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-pill);
  background-image: linear-gradient(to bottom right, var(--sede-a), var(--sede-b));
  color: #000000;
}
.sede__pin svg { width: 22px; height: 22px; }
.sede__ciudad {
  font-size: 14px;
  font-weight: 700;
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sede__dato {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: var(--s-2);
}
.sede__dato svg { width: 14px; height: 14px; flex: none; color: var(--sede-a); }
.sede__tel { color: var(--accent-4); font-weight: 700; }
.sede__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

/* ---------- galería de menú ---------- */

.grid-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-bottom: var(--s-12);
}
.foto {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.foto:hover img { transform: scale(1.05); }

.info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
  max-width: 900px;
  margin: var(--s-12) auto 0;
}
.info {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--r-info);
  background: linear-gradient(to bottom right, rgba(255, 61, 0, 0.06), transparent);
  text-align: left;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.info:hover {
  border-color: var(--accent-1);
  box-shadow: 0 0 30px rgba(255, 61, 0, 0.25);
}
.info__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-pill);
  background-image: var(--grad-marca);
  color: #FFFFFF;
}
.info__icon svg { width: 22px; height: 22px; }
.info__meta { font-size: 16px; color: var(--text-2); }
.info__precio {
  font-size: 20px;
  font-weight: 900;
  color: var(--accent-4);
  margin: var(--s-1) 0;
}
.info__nota { font-size: 14px; color: var(--text-4); }

/* ---------- mosaico de fotos ---------- */

.mosaico {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 290px;
  gap: var(--s-4);
}
.mosaico .foto { aspect-ratio: auto; height: 100%; }
.mosaico .foto--xl { grid-column: span 2; grid-row: span 2; }

/* ---------- footer ---------- */

.footer {
  position: relative;
  padding: var(--s-16) 0;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-12);
}
.footer__logos {
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.footer__logos img {
  width: 95px;
  border-radius: var(--r-btn);
  background: var(--surface-soft);
  padding: var(--s-2);
}
.footer__dato {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: var(--s-4);
}
.footer__dato svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent-1); }

/* La barrita vertical del título de columna usa el mismo tramo de rampa */
.h-foot { display: flex; align-items: center; gap: var(--s-2); }
.h-foot::before {
  content: '';
  width: 4px;
  height: 20px;
  border-radius: var(--r-pill);
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-3));
}

.footer__links li { margin-bottom: var(--s-3); }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 16px;
  color: var(--text-2);
  transition: color var(--t-base), transform var(--t-base);
}
.footer__links a:hover { color: var(--accent-2); transform: translateX(4px); }
.footer__links svg { width: 12px; height: 12px; color: var(--accent-1); }

.footer__sede { margin-bottom: var(--s-6); }
.footer__sede h4 {
  margin: 0 0 var(--s-2);
  font-size: 16px;
  font-weight: 700;
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.footer__sede p { font-size: 14px; color: var(--text-3); margin-bottom: var(--s-2); }

.horario {
  padding: var(--s-4);
  margin-bottom: var(--s-4);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--surface-soft);
}
.horario__head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--s-2);
}
.horario__head svg { width: 16px; height: 16px; color: var(--sede-a); }
.horario__dias { font-size: 14px; color: var(--text-3); }
.horario__hora { font-size: 18px; font-weight: 700; color: var(--text-1); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: var(--text-4);
}
.footer__tags { display: flex; flex-wrap: wrap; gap: var(--s-6); }
.footer__tags span { display: inline-flex; align-items: center; gap: var(--s-2); }
.footer__tags svg { width: 14px; height: 14px; color: var(--accent-2); }

/* ---------- responsive ---------- */

@media (max-width: 1023px) {
  :root { --header-h: 88px; }
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header__logo img { width: 132px; }
  .header__inner { gap: var(--s-4); }
  .cta-nav { min-width: 0; padding: var(--s-2) var(--s-4); font-size: 14px; }

  .nav--open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-4);
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    padding: var(--s-6) var(--s-4) var(--s-8);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .grid-sedes { grid-template-columns: 1fr; }
  .grid-menu  { grid-template-columns: repeat(2, 1fr); }
  .mosaico    { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-8); }
}

@media (max-width: 639px) {
  .section { padding: var(--s-16) 0; }
  .lead { font-size: 18px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .grid-menu { grid-template-columns: 1fr; }
  .mosaico .foto--xl { grid-column: span 2; grid-row: span 1; }
  .info-cards { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* El ambiente late solo; si alguien pide menos movimiento, se detiene.
   Nada de contenido depende de una animación para ser visible. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover, .chip:hover, .cta-nav:hover { transform: none; }
  .sede:hover { transform: none; }
  .sede__track { animation: none; transform: none; }
}

/* ==========================================================================
   Componentes de las páginas interiores
   Mismos tokens: rampa térmica, radius por anidamiento, sombra solo en hover.
   ========================================================================== */

/* ---------- hero de página interior ---------- */

.hero--interior {
  min-height: 60vh;
  padding-top: calc(var(--header-h) + var(--s-8));
  padding-bottom: var(--s-20);
}
.hero--interior .h-hero { font-size: clamp(36px, 5vw, 72px); }
.hero--interior .hero__bg::after {
  background: linear-gradient(to bottom, rgba(0,0,0,0.82), rgba(0,0,0,0.7), var(--bg));
}

/* Píldora de rótulo sobre el h1 */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  margin-bottom: var(--s-6);
  border: 1px solid var(--sede-a, var(--accent-1));
  border-radius: var(--r-pill);
  background: var(--surface-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-2);
}
.badge svg { width: 14px; height: 14px; }
.badge--solid {
  border: 0;
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
  color: #000000;
}

.rule--left { margin-left: 0; margin-right: 0; }

/* ---------- tarjeta genérica ---------- */

.card {
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface-alt, rgba(30, 41, 59, 0.5));
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.card:hover {
  transform: scale(1.05);
  border-color: var(--accent-1);
  box-shadow: 0 0 30px rgba(255, 61, 0, 0.25);
}
.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--s-4);
  border-radius: var(--r-pill);
  background-image: linear-gradient(to bottom right, var(--sede-a, var(--accent-1)), var(--sede-b, var(--accent-2)));
  color: #000000;
}
.card__icon svg { width: 22px; height: 22px; }
.card p { font-size: 16px; color: var(--text-2); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }

/* ---------- zigzag de /sedes ---------- */

.zigzag {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-12);
  align-items: center;
  margin-bottom: var(--s-20);
}
.zigzag:last-child { margin-bottom: 0; }
.zigzag--flip .zigzag__media { order: -1; }
.zigzag__media {
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.zigzag__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.zigzag__media:hover img { transform: scale(1.05); }

.dato-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); margin: var(--s-6) 0; }
.dato { display: flex; gap: var(--s-4); }
.dato__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: var(--r-btn);
  background-image: linear-gradient(to bottom right, var(--sede-a), var(--sede-b));
  color: #000000;
  transition: box-shadow var(--t-base);
}
.dato__icon svg { width: 19px; height: 19px; }
.dato:hover .dato__icon { box-shadow: 0 0 20px color-mix(in srgb, var(--sede-a) 55%, transparent); }

/* Cada dato toma su propio tramo, para que los cuatro no sean el mismo naranja */
.dato--direccion .dato__icon { background-image: linear-gradient(to bottom right, var(--accent-1), var(--accent-2)); }
.dato--horario   .dato__icon { background-image: linear-gradient(to bottom right, var(--accent-2), var(--accent-3)); }
.dato--contacto  .dato__icon { background-image: var(--grad-wa); color: #FFFFFF; }
.dato--redes     .dato__icon { background-image: var(--grad-ig); color: #FFFFFF; }
.dato--contacto:hover .dato__icon { box-shadow: 0 0 20px rgba(34, 197, 94, 0.55); }
.dato--redes:hover   .dato__icon { box-shadow: 0 0 20px rgba(221, 42, 123, 0.55); }

.dato h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--s-1);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-3);
}
.dato p { font-size: 15px; color: var(--text-2); }

/* El teléfono es la acción del bloque: se pinta, no se deja en gris */
.dato__tel {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--wa-b);
  transition: color var(--t-base);
}
.dato__tel:hover { color: #4ADE80; }

/* Redes: cada una con el color con que la gente la reconoce */
.redes { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-1); }
.red {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 6px var(--s-3);
  border: 1px solid var(--red-c, var(--hairline));
  border-radius: var(--r-pill);
  background: var(--surface-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--red-c, var(--text-2));
  transition: background-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.red svg { width: 15px; height: 15px; }
.red:hover { transform: scale(1.05); background: var(--surface); box-shadow: 0 0 16px color-mix(in srgb, var(--red-c) 50%, transparent); }
.red--ig { --red-c: #DD2A7B; }
.red--fb { --red-c: #1877F2; }

@media (max-width: 639px) {
  .dato__icon { width: 36px; height: 36px; }
}

.row-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- estadísticas ---------- */

.stat {
  padding: var(--s-6) var(--s-4);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-info);
  background: var(--surface-soft);
  text-align: center;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.stat:hover { border-color: var(--accent-2); box-shadow: 0 0 20px rgba(255, 165, 0, 0.3); }
.stat__num {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.1;
  background-image: linear-gradient(to right, var(--sede-a, var(--accent-1)), var(--sede-b, var(--accent-3)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { font-size: 14px; color: var(--text-3); }

/* ---------- tarjeta de descarga (menú PDF) ---------- */

.dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-radius: var(--r-info);
  background: linear-gradient(to right, rgba(255, 61, 0, 0.08), transparent);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.dl:hover { border-color: var(--sede-a, var(--accent-1)); box-shadow: 0 0 30px color-mix(in srgb, var(--sede-a, var(--accent-1)) 30%, transparent); }
.dl__left { display: flex; align-items: center; gap: var(--s-4); }
.dl__icon {
  display: grid; place-items: center;
  width: 48px; height: 48px; flex: none;
  border-radius: var(--r-btn);
  background-image: linear-gradient(to bottom right, var(--sede-a), var(--sede-b));
  color: #000000;
}
.dl__icon svg { width: 22px; height: 22px; }
.dl h3 { font-size: 20px; font-weight: 700; }
.dl p { font-size: 14px; color: var(--text-3); }

/* ---------- acordeón de /faq ----------
   <details> nativo: cero JS, funciona sin scripts y con teclado. */

.faq-group { margin-bottom: var(--s-12); }
.faq-group__head {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  margin-bottom: var(--s-4);
  border-left: 3px solid var(--sede-a, var(--accent-1));
  border-radius: var(--r-btn);
  background: linear-gradient(to right, color-mix(in srgb, var(--sede-a, var(--accent-1)) 18%, transparent), transparent);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-2);
}
.faq-group__head svg { width: 18px; height: 18px; }

.qa {
  margin-bottom: var(--s-3);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  background: var(--surface-alt, rgba(30, 41, 59, 0.5));
  overflow: hidden;
  transition: border-color var(--t-base);
}
.qa[open] { border-color: var(--accent-1); }
.qa > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-6);
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  list-style: none;
  transition: color var(--t-base);
}
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary:hover { color: var(--accent-2); }
.qa > summary svg {
  width: 18px; height: 18px; flex: none;
  color: var(--accent-1);
  transition: transform var(--t-base);
}
.qa[open] > summary svg { transform: rotate(180deg); }
.qa__body { padding: 0 var(--s-6) var(--s-6); font-size: 16px; color: var(--text-2); }
.qa__body p + p { margin-top: var(--s-3); }

/* ---------- tarjeta de contacto ---------- */

.contacto {
  padding: var(--s-6);
  border: 1px solid var(--border);
  border-top: 3px solid var(--sede-a);
  border-radius: var(--r-card);
  background: var(--surface-alt, rgba(30, 41, 59, 0.5));
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.contacto:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px color-mix(in srgb, var(--sede-a) 35%, transparent);
}
.contacto h3 {
  font-size: 24px; font-weight: 900; margin-bottom: var(--s-4);
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* WhatsApp mantiene su verde: es el color del canal, no de la marca */
.btn--wa { background-image: linear-gradient(to right, #16A34A, #22C55E); color: #FFFFFF; }
.btn--wa:hover { box-shadow: 0 0 20px rgba(34, 197, 94, 0.5); }

/* ---------- listas con marca ---------- */

.check-list li {
  display: flex;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
  font-size: 16px;
  color: var(--text-2);
}
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--accent-2); }

.pasos { counter-reset: paso; }
.pasos li {
  display: flex;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
  font-size: 16px;
  color: var(--text-2);
}
.pasos li::before {
  counter-increment: paso;
  content: counter(paso);
  display: grid; place-items: center;
  width: 32px; height: 32px; flex: none;
  border-radius: var(--r-pill);
  background-image: var(--grad-marca);
  color: #FFFFFF;
  font-size: 14px; font-weight: 900;
}

/* ---------- filtros de /faq ---------- */

.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-3); margin-bottom: var(--s-12); }
.filtro {
  padding: var(--s-2) var(--s-6);
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface-soft);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-2);
  transition: color var(--t-base), border-color var(--t-base), background-color var(--t-base);
}
.filtro:hover { color: var(--text-1); border-color: var(--accent-2); }
.filtro--on { background-image: var(--grad-marca); border-color: transparent; color: #FFFFFF; }

/* ---------- bloque de cierre / CTA ---------- */

.cta-block {
  padding: var(--s-12);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: linear-gradient(to bottom right, rgba(255, 61, 0, 0.10), rgba(255, 215, 0, 0.05), transparent);
  text-align: center;
}
.cta-block h3 { font-size: 30px; font-weight: 900; margin-bottom: var(--s-4); }
.cta-block p { font-size: 18px; color: var(--text-2); margin-bottom: var(--s-8); }

/* Textura de rayas a 45°, como el original */
.striped { position: relative; }
.striped::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, transparent 0 35px, rgba(255, 255, 255, 0.04) 35px 70px);
}
.striped > * { position: relative; }

/* ---------- responsive de los interiores ---------- */

@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zigzag { grid-template-columns: 1fr; gap: var(--s-8); margin-bottom: var(--s-16); }
  .zigzag--flip .zigzag__media { order: 0; }
}

@media (max-width: 639px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .dato-grid { grid-template-columns: 1fr; }
  .dl { flex-direction: column; align-items: stretch; text-align: left; }
  .cta-block { padding: var(--s-8) var(--s-6); }
  .cta-block h3 { font-size: 24px; }
}

/* ---------- visor de menú (PDF incrustado) ----------
   El original muestra el menú dentro de la página en vez de obligar a
   descargar: quien busca un precio lo ve sin salir del sitio. */

.visor {
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--surface-alt, rgba(30, 41, 59, 0.5));
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.visor:hover {
  border-color: var(--sede-a, var(--accent-1));
  box-shadow: 0 0 40px color-mix(in srgb, var(--sede-a, var(--accent-1)) 25%, transparent);
}
.visor__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-6);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to right, color-mix(in srgb, var(--sede-a) 14%, transparent), transparent);
}
.visor__head h3 {
  display: flex; align-items: center; gap: var(--s-2);
  font-size: 20px; font-weight: 700;
}
.visor__head h3 svg { width: 18px; height: 18px; color: var(--sede-a); }
.visor__meta { font-size: 14px; color: var(--text-3); }
.visor iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: var(--bg);
}
.visor__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-6);
  border-top: 1px solid var(--border);
}
.visor__foot p { font-size: 14px; color: var(--text-4); }

@media (max-width: 639px) {
  .visor iframe { height: 460px; }
  .visor__head { flex-direction: column; align-items: flex-start; gap: var(--s-1); }
  .visor__foot { flex-direction: column; align-items: stretch; }
}

/* ---------- carrusel de flyers de eventos ----------
   Distinto del marquee de las tarjetas de sede: aquí el contenido es
   información que la gente lee (fecha, artista, promoción), así que avanza
   a pasos, se puede parar y se puede arrastrar. El scroll-snap nativo da el
   gesto táctil gratis y deja el componente usable aunque el JS no cargue. */

.flyers {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-top: 3px solid var(--sede-a);
  border-radius: var(--r-card);
  background: var(--surface-alt, rgba(30, 41, 59, 0.5));
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.flyers:hover { box-shadow: 0 0 40px color-mix(in srgb, var(--sede-a) 30%, transparent); }

.flyers__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) var(--s-6);
  background: linear-gradient(to right, color-mix(in srgb, var(--sede-a) 16%, transparent), transparent);
}
.flyers__head h3 {
  font-size: 20px;
  font-weight: 900;
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.flyers__count {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.flyers__viewport {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.flyers__viewport::-webkit-scrollbar { display: none; }

.flyers__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  margin: 0;
  aspect-ratio: 1 / 1;   /* los flyers del original son 1254×1254 */
  background: var(--bg);
}
.flyers__slide img { width: 100%; height: 100%; object-fit: cover; }

.flyers__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-top: 1px solid var(--border);
}
.flyers__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--r-pill);
  background: var(--surface-soft);
  border: 1px solid var(--hairline);
  color: var(--text-1);
  transition: background-color var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.flyers__btn:hover {
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
  border-color: transparent;
  color: #000000;
  transform: scale(1.08);
}
.flyers__btn svg { width: 17px; height: 17px; }

.flyers__dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.flyers__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.25);
  transition: background-color var(--t-base), width var(--t-base);
}
.flyers__dot:hover { background: rgba(255, 255, 255, 0.5); }
.flyers__dot[aria-current="true"] {
  width: 22px;
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
}

/* Sin JS el carrusel sigue siendo usable: se arrastra con el dedo o el trackpad */
.flyers:not([data-listo]) .flyers__nav { display: none; }

@media (max-width: 639px) {
  .flyers__head h3 { font-size: 18px; }
}

/* Quien pide menos movimiento no recibe avance automático: el JS lo comprueba
   y aquí además se desactiva el desplazamiento suave. */
@media (prefers-reduced-motion: reduce) {
  .flyers__viewport { scroll-behavior: auto; }
}

/* ---------- logos animados de las tarjetas de ocasión ----------
   Cada uno late distinto para que las cinco tarjetas no se lean como la misma.
   Solo se anima transform y opacity, y todo se detiene con
   prefers-reduced-motion por la regla global. */

.card__icon--xl {
  width: 64px;
  height: 64px;
  border-radius: var(--r-info);
}
.card__icon--xl svg { width: 30px; height: 30px; overflow: visible; }
.card:hover .card__icon--xl { transform: scale(1.08) rotate(-3deg); }
.card__icon--xl { transition: transform var(--t-base), box-shadow var(--t-base); }

/* transform-box: sin esto el origen del giro es el lienzo del SVG, no la pieza */
.logo * { transform-box: fill-box; transform-origin: center; }

.logo__flama   { animation: flama 1.6s ease-in-out infinite; transform-origin: bottom; }
.logo__chispa  { animation: chispa 2.2s ease-in-out infinite; }
.logo__chispa--b { animation-delay: 0.7s; }
.logo__chispa--c { animation-delay: 1.4s; }
.logo__vaiven  { animation: vaiven 3s ease-in-out infinite; transform-origin: top center; }
.logo__latido  { animation: latido 2.4s ease-in-out infinite; }
.logo__flota   { animation: flotar 3s ease-in-out infinite; }
.logo__flota--b { animation-delay: 0.5s; }
.logo__flota--c { animation-delay: 1s; }
.logo__salta   { animation: saltar 2s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.logo__salta--b { animation-delay: 0.25s; }
.logo__salta--c { animation-delay: 0.5s; }
.logo__gira    { animation: girar 8s linear infinite; }

@keyframes flama {
  0%, 100% { transform: scaleY(1) scaleX(1); opacity: 1; }
  50%      { transform: scaleY(1.25) scaleX(0.9); opacity: 0.8; }
}
@keyframes chispa {
  0%, 100% { opacity: 0; transform: translateY(3px) scale(0.5); }
  45%      { opacity: 1; transform: translateY(-3px) scale(1); }
}
@keyframes vaiven {
  0%, 100% { transform: rotate(-7deg); }
  50%      { transform: rotate(7deg); }
}
@keyframes latido {
  0%, 100% { transform: scale(1); }
  14%      { transform: scale(1.2); }
  28%      { transform: scale(1); }
  42%      { transform: scale(1.12); }
  56%      { transform: scale(1); }
}
@keyframes flotar {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2.5px); }
}
@keyframes saltar {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.95; }
  40%      { transform: translateY(-4px) scale(1.15); opacity: 1; }
}
@keyframes girar { to { transform: rotate(360deg); } }

/* ---------- filtro y contenido del FAQ ---------- */

.filtro { display: inline-flex; align-items: center; gap: var(--s-2); cursor: pointer; }
.filtro__n {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.filtro--on .filtro__n { background: rgba(0, 0, 0, 0.28); }

.filtros:has(+ .filtros__estado) { margin-bottom: var(--s-4); }
.filtros__estado {
  margin: 0 0 var(--s-8);
  font-size: 14px;
  color: var(--text-4);
  text-align: center;
}
.filtros__estado:empty { display: none; }

/* La pregunta necesita su propio contenedor: sin él, el chevron se pega al
   texto en vez de irse al extremo derecho de la fila. */
.qa > summary > span { flex: 1; }

.qa__lista { margin: var(--s-3) 0 0; padding-left: var(--s-6); }
.qa__lista li { margin-bottom: var(--s-2); list-style: disc; }
.qa__lista--num { counter-reset: none; }
.qa__lista--num li { list-style: decimal; }
.qa__lista strong { color: var(--text-1); }
.qa__link { color: var(--accent-2); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.qa__link:hover { color: var(--accent-3); }

/* ---------- acciones de la tarjeta de contacto ----------
   WhatsApp ocupa toda la fila porque es el canal principal; llamar y mapa
   se reparten la de abajo. */
.contacto__acciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.contacto__acciones > .btn--block { grid-column: 1 / -1; }
.dato__mail { color: var(--text-2); word-break: break-all; transition: color var(--t-base); }
.dato__mail:hover { color: var(--accent-2); }

/* ---------- rejilla de las 5 ocasiones ----------
   Con 5 tarjetas en 3 columnas la última fila queda pegada a la izquierda y
   parece que falta una. Sobre una rejilla de 6 columnas donde cada tarjeta
   ocupa 2, las dos de abajo se colocan a partir de la columna 2 y quedan
   centradas bajo los huecos de la fila de arriba. */

.grid-ocasiones {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-8);
}
.grid-ocasiones > * { grid-column: span 2; }
.grid-ocasiones > :nth-child(4) { grid-column: 2 / span 2; }
.grid-ocasiones > :nth-child(5) { grid-column: 4 / span 2; }

/* Tablet: 2 por fila sobre 4 columnas, y la quinta centrada igual */
@media (max-width: 1023px) {
  .grid-ocasiones { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid-ocasiones > * { grid-column: span 2; }
  .grid-ocasiones > :nth-child(4) { grid-column: span 2; }
  .grid-ocasiones > :nth-child(5) { grid-column: 2 / span 2; }
}

@media (max-width: 639px) {
  .grid-ocasiones { grid-template-columns: 1fr; }
  .grid-ocasiones > *,
  .grid-ocasiones > :nth-child(4),
  .grid-ocasiones > :nth-child(5) { grid-column: 1 / -1; }
}

/* ---------- tarjeta de vacante ---------- */

.vacante {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--surface-alt, rgba(30, 41, 59, 0.5));
  overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.vacante:hover {
  transform: scale(1.02);
  border-color: var(--sede-a);
  box-shadow: 0 0 40px color-mix(in srgb, var(--sede-a) 30%, transparent);
}
.vacante__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.vacante__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.vacante:hover .vacante__media img { transform: scale(1.05); }
.vacante__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface-alt, rgba(30,41,59,0.5)), rgba(0,0,0,0.35) 45%, transparent);
}
.vacante__modalidad {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  z-index: 1;
  padding: 6px var(--s-3);
  border-radius: var(--r-pill);
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
  color: #000000;
  font-size: 12px;
  font-weight: 700;
}
.vacante__cuerpo { display: flex; flex-direction: column; flex: 1; padding: var(--s-4) var(--s-6) var(--s-6); }
.vacante__cuerpo .h-card { font-size: 24px; }
.vacante__rol {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: var(--s-3);
  background-image: linear-gradient(to right, var(--sede-a), var(--sede-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vacante__cuerpo > p { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.vacante__ventajas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: var(--s-4) 0;
}
.vacante__ventajas li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-pill);
  background: var(--surface-soft);
  font-size: 12px;
  color: var(--text-2);
}
.vacante__ventajas svg { width: 12px; height: 12px; color: var(--sede-a); }
.vacante .btn { margin-top: auto; }

.grid-vacantes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6);
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 639px) { .grid-vacantes { grid-template-columns: 1fr; } }

.grid-vacantes--auto { align-items: start; }

/* ---------- tarjeta compacta ----------
   Para cuadros que solo llevan icono y título: sin párrafo, el padding y el
   icono de la tarjeta normal dejan casi la mitad de la caja en aire muerto. */

.card--compacta { padding: var(--s-4); }
.card--compacta .card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--s-3);
  border-radius: var(--s-3);
}
.card--compacta .card__icon svg { width: 19px; height: 19px; }
.card--compacta .h-info { font-size: 18px; margin-bottom: 0; }

/* ---------- tarjeta de lista ("¿Qué Necesitás?" / "Proceso") ----------
   Comparten rejilla con las vacantes para que las columnas se alineen. */

.card--lista { padding: var(--s-4) var(--s-6) var(--s-6); }
.card--lista .h-info { font-size: 20px; margin-bottom: var(--s-3); }
.card--lista .check-list li,
.card--lista .pasos li { font-size: 15px; margin-bottom: var(--s-2); }
.card--lista .check-list svg { width: 16px; height: 16px; margin-top: 2px; }
.card--lista .pasos li { gap: var(--s-3); }
.card--lista .pasos li::before { width: 26px; height: 26px; font-size: 13px; }
.card--lista ul { margin-top: var(--s-3) !important; }

/* Hero sin fotografía de fondo: el gradiente y los orbes bastan */
.hero--liso {
  min-height: 0;
  padding-bottom: var(--s-16);
  background: var(--grad-fondo);
}

/* Flyer de "Lunes de Rojo": el archivo mide 738px, así que el tope evita
   que se agrande y se vea blando. */
.promo-img {
  max-width: 740px;
  margin: 0 auto var(--s-10);
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.promo-img:hover {
  transform: scale(1.02);
  border-color: var(--accent-1);
  box-shadow: 0 0 40px rgba(255, 61, 0, 0.28);
}
.promo-img img { width: 100%; height: auto; display: block; }

/* Cuadro de promos bajo los carruseles de flyers. El hover vive en cada imagen,
   así que el contenedor no se mueve: dos cosas creciendo a la vez marea. */
.promos {
  max-width: 880px;
  margin: var(--s-10) auto 0;
}
.promos:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: none;
}
.promos .h-info { margin-bottom: var(--s-5); }
.promos .promo-img { max-width: none; margin: 0; }
