/* ══ Progreso de scroll ════════════════════════════════════════════ */
#scroll-progress {
  position: fixed; inset: 0 0 auto; height: 4px; z-index: 120;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-orange));
  transform: scaleX(0); transform-origin: 0 50%;
}

/* ══ Header ════════════════════════════════════════════════════════ */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--gutter);
  transition: background-color 0.3s, box-shadow 0.3s;
}
.header.is-scrolled { background: rgba(255, 240, 220, 0.92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(86, 50, 25, 0.1); }
.brand img { width: clamp(150px, 13vw, 200px); height: auto; } /* wordmark: mínimo de marca 100 px */
.nav-links { display: flex; gap: clamp(14px, 1.8vw, 28px); }
.nav-links a { position: relative; font-weight: 600; font-size: 0.95rem; white-space: nowrap; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; border-radius: 3px;
  background: var(--brand-red); transform: scaleX(0); transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.hamburger-btn { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--brand-red); place-items: center; }
.hamburger-btn span { display: block; width: 20px; height: 2px; background: var(--brand-cream); border-radius: 2px; box-shadow: 0 -6px 0 var(--brand-cream), 0 6px 0 var(--brand-cream); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: rgba(0, 0, 0, 0.45);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s 0.3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.mobile-menu-panel {
  position: absolute; inset: 0 0 0 auto; width: min(86vw, 360px);
  display: flex; flex-direction: column; gap: 28px; padding: 24px;
  background: var(--brand-cream); transform: translateX(100%); transition: transform 0.35s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu-panel { transform: none; }
.mobile-menu-top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu-top img { width: 170px; height: auto; }
.mobile-menu-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream-deep); color: var(--brand-red); }
.mobile-nav { display: flex; flex-direction: column; }
.mobile-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; color: var(--brand-red); }
.mobile-menu-panel .btn { margin-top: auto; }

@media (max-width: 1180px) {
  .nav-links, .header-actions .btn { display: none; }
  .hamburger-btn { display: grid; }
}

/* ══ Tenders flotantes ═════════════════════════════════════════════ */
/* Encima de las secciones (como la versión anterior) pero debajo del header y del botón de WhatsApp */
#floating-tenders { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; contain: paint; }
/* El movimiento (paseo por la pantalla + parallax) lo controla GSAP en floating-tenders.js */
.floating-tender { position: absolute; will-change: transform; transition: opacity 0.5s ease; }
/* Sobre textos, fotos, video o mapa se atenúan para no estorbar (ver AVOID en floating-tenders.js) */
.floating-tender.is-dimmed { opacity: 0.1 !important; }
/* Profundidad: fondo pequeño y desenfocado, frente grande y nítido */
.floating-tender.depth-0 { opacity: 0.55; filter: blur(1.4px); }
.floating-tender.depth-1 { opacity: 0.9; filter: drop-shadow(0 8px 12px rgba(86, 50, 25, 0.22)); }
.floating-tender.depth-2 { opacity: 1; filter: drop-shadow(0 16px 22px rgba(86, 50, 25, 0.3)); }

/* ══ Hero / Inicio ═════════════════════════════════════════════════ */
.hero { padding-top: calc(var(--header-h) + clamp(24px, 6vw, 72px)); padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero h1 { color: var(--brand-red); font-size: clamp(2.2rem, 5.4vw, 4.1rem); } /* un poco más pequeño que el h1 base (4.6rem) */
.hero p { margin-top: 22px; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.mascot { position: relative; width: min(100%, 460px); margin-inline: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mascot::before {
  content: ''; position: absolute; inset: 12% 2% 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--brand-orange), var(--brand-red) 70%);
  opacity: 0.18; filter: blur(6px);
}
.mascot-rig, .mascot-head { position: relative; aspect-ratio: 800 / 1112; will-change: transform; }
.mascot-head img, .mascot-guino { position: absolute; inset: 0; width: 100%; height: 100%; }
.mascot-gafas, .mascot-ceja { will-change: transform; }
/* Los lentes van en modo multiplicar, como en el arte original: se ven los ojos a través */
.mascot-gafas { mix-blend-mode: multiply; }
.mascot-head .mascot-fondo { position: relative; }
/* Párpado: se recorta desde arriba (y 30.5%–57.5% del lienzo es el ojo). Abierto = recorte total */
.mascot-parpado { clip-path: inset(30.5% 0 69.5% 0); }
.mascot-guino { opacity: 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .mascot { width: min(52vw, 240px); order: -1; }
}

/* ══ Nosotros ══════════════════════════════════════════════════════ */
.about-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: start; margin-bottom: clamp(40px, 6vw, 72px); }
.about-intro h2 { color: var(--brand-red); }
.about-intro p { color: var(--muted); font-size: 1.05rem; }

.feature-slide { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
/* La foto se ajusta a la altura de la pantalla (deja espacio para el menú y los puntos del slider) */
.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; height: min(520px, 62vh); width: auto; max-width: 100%; justify-self: center; background: var(--brand-red); }
.feature-media img, .feature-media video { width: 100%; height: 100%; object-fit: cover; }
.feature-media .media-pair { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.feature-body .slide-num { font-family: var(--font-display); font-size: 1rem; color: var(--brand-red); }
.feature-body h3 { margin: 6px 0 16px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: var(--brand-red); }
.feature-body p { color: var(--muted); }
/* Ícono del manual de marca como acento bajo el texto */
.feature-body .feature-icon { display: block; width: 88px; height: 65px; margin-top: 18px; transform: rotate(-14deg); }
.feature-body .feature-icon--gota { width: 36px; height: 64px; transform: rotate(10deg); }
#nosotros .slider-nav { margin-top: 12px; }

@media (max-width: 860px) {
  .about-intro, .feature-slide { grid-template-columns: 1fr; }
  .feature-media { height: min(420px, 55vh); }
}

/* ══ Cocina en vivo ════════════════════════════════════════════════ */
.kitchen { background: var(--brand-red); color: var(--brand-cream); }
.kitchen .section-head h2 { color: var(--brand-cream); }
.kitchen .section-head p { color: rgba(255, 240, 220, 0.88); }
/* Ancho limitado para que el video quepa completo en la pantalla */
.kitchen-video { position: relative; aspect-ratio: 16 / 9; width: min(100%, 880px, calc(62vh * 16 / 9)); margin-inline: auto; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); }
.kitchen-video video { width: 100%; height: 100%; object-fit: cover; }
.video-audio {
  position: absolute; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px;
  padding: 6px; border-radius: 999px; background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(8px);
}
.sound-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--brand-cream); color: var(--brand-red); }

/* ══ Menú: estilo Mr. Tenders (trama, personaje, stickers) ════════ */
.menu-section {
  --card-w: clamp(270px, 28vw, 360px);
  overflow: hidden; isolation: isolate;
  background: var(--brand-red); color: var(--brand-cream);
}
/* Trama oficial de la marca, atenuada para no competir con los platos */
.menu-section::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: url('../img/brand/trama.webp') center / cover no-repeat; /* el arte no es un mosaico: una sola pieza */
  opacity: 0.09;
}
/* Pose oficial del gallo junto al título. Manual: sin girarlo, voltearlo, cambiarle el color ni recortarle la cara */
.menu-gallo {
  position: absolute; z-index: -1; right: 3%; top: clamp(16px, 3vw, 40px);
  width: clamp(170px, 16vw, 250px); height: auto;
  pointer-events: none;
}
.menu-sticker {
  position: absolute; z-index: -1; left: 3%; top: 6%;
  width: clamp(120px, 13vw, 200px); height: auto; transform: rotate(-10deg);
  filter: drop-shadow(4px 6px 0 rgba(0, 0, 0, 0.35)); pointer-events: none;
}

.menu-head .eyebrow { color: var(--brand-cream); opacity: 0.9; }
.menu-head h2, .menu-head h2.hl-title { color: var(--brand-cream); font-size: clamp(2.4rem, 5.6vw, 4.2rem); }
.menu-head .highlight { color: var(--brand-black); } /* fondo rojo → crema + negro */

/* ── Carrusel centrado a todo el ancho ── */
.carousel { position: relative; }
.carousel-track {
  position: relative; display: flex; gap: clamp(16px, 2.4vw, 32px);
  margin: 0; padding: 26px calc(50% - var(--card-w) / 2) 44px; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  /* Los bordes se desvanecen: se intuye que hay más platos a ambos lados */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  cursor: grab;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.carousel-track:focus-visible { outline: 3px solid var(--brand-cream); outline-offset: -6px; }

/* Tarjeta estilo sticker: crema, borde negro y sombra sólida (el trazo cómic de la mascota) */
.dish-card {
  position: relative; flex: 0 0 var(--card-w); display: flex; flex-direction: column;
  scroll-snap-align: center;
  border: 3px solid #000; border-radius: 28px; background: var(--brand-cream); color: var(--fg);
  box-shadow: 8px 8px 0 #000;
  /* Laterales más pequeños y algo oscurecidos, pero opacos (no se transparenta la trama) */
  transform: scale(0.84) rotate(var(--tilt, 0deg)); filter: brightness(0.82) saturate(0.85);
  transition: transform 0.45s var(--ease-out), filter 0.45s, box-shadow 0.45s;
  cursor: pointer;
}
.dish-card:nth-child(odd) { --tilt: -1.5deg; }
.dish-card:nth-child(even) { --tilt: 1.5deg; }
.dish-card.is-center { transform: none; filter: none; box-shadow: 12px 12px 0 #000; cursor: auto; }
.dish-media { position: relative; aspect-ratio: 10 / 9; overflow: hidden; border-radius: 25px 25px 0 0; border-bottom: 3px solid #000; background: var(--brand-red); }
.dish-media img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 0.6s var(--ease-out); }
.dish-card.is-center:hover .dish-media img { transform: scale(1.06); }
.dish-tag {
  position: absolute; left: 14px; top: 14px; padding: 6px 14px; border: 2px solid #000; border-radius: 999px;
  background: var(--brand-orange); color: #000; box-shadow: 3px 3px 0 #000;
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase;
  transform: rotate(-6deg);
}
.dish-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px 22px 20px; }
/* H3 del manual: Poppins, sin mayúsculas */
.dish-body h3 { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; text-transform: none; line-height: 1.25; color: var(--brand-red); font-size: clamp(1.2rem, 1.6vw, 1.45rem); }
.dish-body p { flex: 1; color: var(--muted); font-size: 0.95rem; }
.dish-body .btn { align-self: flex-start; margin-top: 4px; border: 2px solid #000; box-shadow: 4px 4px 0 #000; }

/* Navegación: flechas tipo sticker y puntos */
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; }
.carousel-prev, .carousel-next {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid #000; background: var(--brand-cream); color: var(--brand-red); box-shadow: 4px 4px 0 #000;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.carousel-prev:hover:not(:disabled), .carousel-next:hover:not(:disabled) { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.carousel-prev:active:not(:disabled), .carousel-next:active:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.carousel-prev:disabled, .carousel-next:disabled { opacity: 0.4; cursor: default; }
.carousel-prev svg, .carousel-next svg { width: 22px; height: 22px; }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 12px; height: 12px; border-radius: 999px; border: 2px solid #000; background: rgba(255, 240, 220, 0.5); transition: width 0.3s var(--ease-out), background-color 0.3s; }
.carousel-dot[aria-current="true"] { width: 32px; background: var(--brand-cream); }

.menu-cta { display: flex; justify-content: center; margin-top: 32px; }
.btn-sticker { border: 3px solid #000; box-shadow: 5px 5px 0 #000; }
.btn-sticker:hover { box-shadow: 7px 7px 0 #000; }

@media (max-width: 640px) {
  /* El ancho de la tarjeta también depende del alto de la pantalla, para que se vea completa (foto + texto + botón) */
  .menu-section { --card-w: max(220px, min(74vw, calc((100svh - 470px) * 1.1))); }
  .menu-head { margin-bottom: 8px; }
  .carousel-track { padding-top: 14px; padding-bottom: 26px; }
  .dish-body { gap: 6px; padding: 12px 16px 16px; }
  .dish-body h3 { font-size: 1.12rem; }
  .dish-body p { font-size: 0.86rem; line-height: 1.45; }
  .dish-body .btn { min-height: 38px; padding: 6px 16px; font-size: 0.85rem; }
  .dish-tag { font-size: 0.72rem; padding: 4px 10px; }
  /* En celular el personaje baja a la esquina inferior para no quedar detrás del título */
  .menu-gallo { display: none; } /* en celular no hay espacio sin taparle la cara con el carrusel */
  .menu-sticker { display: none; }
  .carousel-track {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  }
  .carousel-prev, .carousel-next { width: 44px; height: 44px; }
}

/* ══ Videos virales ═════════════════════════════════════════════════ */
.virales-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 300px)); justify-content: center;
  gap: clamp(16px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none;
}
.viral-card {
  position: relative; aspect-ratio: 9 / 16; max-height: 78svh; overflow: hidden;
  border: 3px solid #000; border-radius: 24px; background: #000; box-shadow: 8px 8px 0 #000;
}
.viral-card iframe, .viral-card video { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.viral-card--soon { background: var(--brand-red); background-image: linear-gradient(160deg, rgba(255, 91, 0, 0.4), transparent 60%); }
.viral-card--soon a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  height: 100%; padding: 24px; text-align: center; color: var(--brand-cream);
}
.viral-card--soon strong { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.viral-card--soon a > span:last-child { font-weight: 600; font-size: 0.9rem; opacity: 0.85; }
.viral-play {
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: var(--brand-cream); color: var(--brand-red); border: 3px solid #000; box-shadow: 4px 4px 0 #000;
  transition: transform 0.2s;
}
.viral-card--soon a:hover .viral-play { transform: scale(1.08); }
.virales-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; font-weight: 600; }
.virales-follow .btn { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 640px) {
  /* En celular: un video a la vez, deslizando de lado */
  .virales-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(70vw, calc(62svh * 9 / 16));
    justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 16px; scrollbar-width: none;
  }
  .virales-grid::-webkit-scrollbar { display: none; }
  .viral-card { scroll-snap-align: center; box-shadow: 5px 5px 0 #000; }
}

/* ══ Eventos: estilo Mr. Tenders sobre fondo claro ═════════════════ */
.events-section { overflow: hidden; isolation: isolate; background: var(--bg); }
.events-gallo {
  position: absolute; z-index: -1; left: 3%; top: clamp(16px, 3vw, 40px);
  width: clamp(140px, 13vw, 210px); height: auto;
  pointer-events: none;
}
.events-sticker {
  position: absolute; z-index: -1; right: 4%; top: 6%;
  width: clamp(140px, 15vw, 230px); height: auto; transform: rotate(8deg);
  pointer-events: none;
}
.events-head h2 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); }

/* Pestañas tipo sticker */
.slider-tabs {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 36px;
}
.slider-tab {
  padding: 11px 22px; border-radius: 999px; border: 3px solid #000;
  font-weight: 700; font-size: 0.95rem; color: #000; background: var(--brand-cream);
  box-shadow: 4px 4px 0 #000;
  transition: background-color 0.25s, color 0.25s, transform 0.2s, box-shadow 0.2s;
}
.slider-tab:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 #000; }
.slider-tab:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #000; }
.slider-tab.is-active { background: var(--brand-red); color: var(--brand-cream); }

/* Bloque con la trama de cuadros del manual asomando detrás de la foto, como un sticker apilado */
.events .slider-track { position: relative; }
.events .slider-track::before {
  content: ''; position: absolute; z-index: -1; inset: 30px -30px -30px 30px;
  border: 3px solid #000; border-radius: var(--radius-lg);
  background: var(--brand-red) url('../img/brand/trama-cuadros.webp') center / cover no-repeat;
}

.event-slide {
  position: relative; min-height: clamp(460px, 52vw, 600px); overflow: hidden;
  border: 3px solid #000; border-radius: var(--radius-lg); background: var(--brand-red);
}
.event-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s ease-out; }
.event-slide.is-active .event-photo { transform: scale(1); }
.event-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%); }

/* Panel de texto estilo sticker, ligeramente girado */
.event-panel {
  position: absolute; z-index: 1; left: clamp(20px, 4vw, 48px); top: 50%; transform: translateY(-50%) rotate(-1.5deg);
  width: min(460px, calc(100% - 40px)); display: flex; flex-direction: column; gap: 14px;
  padding: clamp(24px, 3vw, 34px); border: 3px solid #000; border-radius: var(--radius);
  background: var(--brand-cream); box-shadow: 8px 8px 0 #000;
}
.event-panel .eyebrow {
  align-self: flex-start; margin: 0; padding: 6px 14px; border: 2px solid #000; border-radius: 999px;
  background: var(--brand-orange); color: #000; box-shadow: 3px 3px 0 #000;
  font-size: 0.72rem; letter-spacing: 0.08em; transform: rotate(-3deg);
}
.event-panel h3 { color: var(--brand-red); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.event-panel p { color: var(--muted); font-size: 0.97rem; }
.event-panel .btn { align-self: flex-start; margin-top: 4px; border: 2px solid #000; box-shadow: 4px 4px 0 #000; }

@media (max-width: 760px) {
  .events-gallo { display: none; }
  .events-sticker { display: none; }
  .events .slider-track::before { inset: 14px -12px -14px 12px; }
  .event-slide { min-height: 0; display: flex; flex-direction: column; background: var(--brand-cream); }
  .event-slide::after { display: none; }
  .event-photo { position: relative; aspect-ratio: 4 / 3; height: auto; border-bottom: 3px solid #000; }
  .event-panel { position: relative; left: 0; top: 0; transform: none; width: 100%; border: 0; border-radius: 0; box-shadow: none; }
  .slider-tab { padding: 9px 16px; font-size: 0.86rem; }
}

/* ══ Sedes ═════════════════════════════════════════════════════════ */
.sedes-section { background: var(--cream-deep); }
.finder {
  max-width: 760px; margin: 0 auto 40px; padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius); background: var(--brand-cream); box-shadow: var(--shadow);
}
.finder label { display: block; margin-bottom: 12px; font-weight: 600; }
.finder-row { display: flex; gap: 10px; }
.finder-row input {
  flex: 1; min-width: 0; min-height: 50px; padding: 12px 18px; border-radius: 999px;
  border: 2px solid var(--border); background: var(--cream-deep);
}
.finder-row input:focus { outline: none; border-color: var(--brand-red); }
.finder-result {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--cream-deep);
}
.finder-result-text { display: flex; flex-direction: column; }
.finder-result-text strong { color: var(--brand-red); }
.finder-result-text span { font-size: 0.92rem; color: var(--muted); }

/* Lista y mapa a la misma altura: el mapa se estira hasta el final de la lista */
.sedes-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 24px; align-items: stretch; }
.sedes-list { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
.sedes-list li { position: relative; }
.sede-card {
  display: flex; flex-direction: column; gap: 2px; width: 100%; padding: 14px 20px 38px; text-align: left;
  border-radius: var(--radius); background: var(--brand-cream); border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.sede-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.sede-card.is-active { border-color: var(--brand-red); box-shadow: var(--shadow); }
.sede-city { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-brown); }
.sede-name { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.15; text-transform: uppercase; color: var(--brand-red); }
.sede-address { font-size: 0.9rem; line-height: 1.45; color: var(--muted); }
.sede-map-link { position: absolute; left: 20px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--brand-brown); }
.sede-map-link:hover { color: var(--brand-red); }
.sedes-map { position: relative; height: 100%; min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-cream); box-shadow: var(--shadow-lg); }
.sedes-map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 920px) {
  .sedes-layout { grid-template-columns: 1fr; }
  .sedes-map { order: -1; height: auto; min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 520px) {
  .finder-row { flex-direction: column; }
}

/* ══ Expansión ═════════════════════════════════════════════════════ */
.expansion-card {
  position: relative; overflow: hidden; padding: clamp(32px, 6vw, 80px);
  border-radius: var(--radius-lg); background: var(--brand-red); color: var(--brand-cream); box-shadow: var(--shadow-lg);
}
.expansion-gallo {
  position: absolute; top: clamp(24px, 4vw, 48px); right: clamp(24px, 4vw, 56px);
  width: clamp(150px, 16vw, 230px); height: auto; pointer-events: none;
}
.expansion-eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--brand-orange); color: #000; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.expansion-card h2 { position: relative; z-index: 1; max-width: 20ch; color: var(--brand-cream); }
.expansion-card h2 span { display: block; color: var(--brand-black); } /* naranja sobre rojo no pasa contraste; negro sí en títulos */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; list-style: none; padding: 0; position: relative; z-index: 1; }
.benefit { padding: 24px; border-radius: var(--radius); background: rgba(0, 0, 0, 0.16); }
.benefit-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px; border-radius: 16px; background: var(--brand-cream); }
.benefit-icon svg { width: 40px; height: 40px; }
.benefit h3 { margin-bottom: 10px; font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; line-height: 1.25; letter-spacing: 0; text-transform: none; }
.benefit p { font-size: 0.95rem; color: rgba(255, 240, 220, 0.9); }
.expansion-contact { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 40px; }
.expansion-email { font-weight: 700; font-size: 1.05rem; }
.btn-copy { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 2px solid rgba(255, 240, 220, 0.5); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 8px; }
.btn-copy:hover, .btn-copy.is-done { border-color: var(--brand-cream); background: rgba(255, 240, 220, 0.12); }

@media (max-width: 900px) {
  .benefits { grid-template-columns: 1fr; }
  .expansion-gallo { display: none; }
}

/* ══ Footer ════════════════════════════════════════════════════════ */
.footer { position: relative; z-index: 1; background: var(--brand-cream); border-top: 1px solid var(--border); }
.footer-band { overflow: hidden; padding-block: 14px; background: var(--brand-red); }
.footer-band-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.footer-band span {
  padding-right: 1.2em; font-family: var(--font-display); font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1; text-transform: uppercase; white-space: nowrap; color: var(--brand-cream);
}
.footer-band span:nth-child(even) { color: var(--brand-black); }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer-main { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-block: 48px 32px; }
.footer-logo { width: clamp(180px, 22vw, 260px); }
.footer-slogan { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2rem); text-transform: uppercase; color: var(--brand-red); }
.footer-sedes { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; font-weight: 600; font-size: 0.95rem; }
.footer-links a:hover { color: var(--brand-red); }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--brand-red); color: var(--brand-cream); transition: transform 0.2s, background-color 0.2s; }
.social a:hover { transform: translateY(-2px); background: var(--red-hover); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px 28px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted); }

@media (max-width: 760px) {
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin-inline: auto; }
  .footer-right { align-items: center; }
  .footer-links { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ══ WhatsApp flotante ═════════════════════════════════════════════ */
.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp); color: var(--white); box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s var(--ease-out);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }
