/* ================================================================
   CIRCUITO GASTRONÓMICO — Rediseño Light
   Versión clara del sistema visual oficial
   Accent vino #9C1E21 · Primary slate #334155 · BG #FFFFFF
   ================================================================ */

:root {
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-ui: 'Roboto', system-ui, -apple-system, sans-serif;

  /* Superficie / Fondos */
  --bg:           #FFFFFF;
  --bg-2:         #FAF7F1;   /* cream cálido — igual al sitio de referencia */
  --bg-3:         #F2EDE6;   /* cream más profundo */
  --night:        #141110;   /* negro cálido — igual al sitio de referencia */
  --night-2:      #1C1714;
  --line:         #E7E2DA;   /* borders suaves */
  --line-strong:  #C4BDB4;   /* borders más visibles */

  /* Acento rojo vino */
  --accent:       #9C1E21;
  --accent-deep:  #7A1618;
  --accent-bright:#C62A2E;
  --accent-glow:  rgba(156, 30, 33, .22);
  --accent-tint:  #F6E7E4;

  /* Texto */
  --fg:           #171310;   /* ink — igual al sitio de referencia */
  --fg-dim:       #3A352F;   /* slate */
  --fg-mute:      #8C8479;   /* warm */

  /* Layout */
  --max:  1240px;
  --pad:  clamp(20px, 5vw, 72px);

  /* Motion */
  --ease: cubic-bezier(.19, 1, .22, 1);
  --fast: 160ms;
  --base: 300ms;
  --slow: 560ms;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden }
body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100% }
a { color: inherit; text-decoration: none }
button { font: inherit; cursor: pointer; color: inherit; background: none; border: none }
::selection { background: var(--accent); color: #fff }

/* ---- Cursor personalizado ---- */
.cur-dot,
.cur-halo {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 9999;
  will-change: transform;
}
.cur-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  margin: -4px 0 0 -4px;
}
.cur-halo {
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  opacity: .5;
  margin: -18px 0 0 -18px;
  transition: width 300ms var(--ease), height 300ms var(--ease),
              opacity 300ms var(--ease), background 300ms var(--ease);
}
.cur-halo.is-hover {
  width: 56px; height: 56px;
  opacity: .18;
  background: var(--accent);
}
.cur-halo.is-hidden,
.cur-dot.is-hidden { opacity: 0 }

/* textura de papel — equivalente light del film-grain del modo oscuro */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--pad) }

/* tipografía utilitaria */
.kicker {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
}
.serif { font-family: var(--font-display) }

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding var(--base) var(--ease), background var(--base) var(--ease), border-color var(--base), box-shadow var(--base);
}
.nav.shrink {
  padding: 12px var(--pad);
  background: rgba(20, 17, 16, .95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, .06);
  box-shadow: 0 2px 32px rgba(0, 0, 0, .28);
}

.nav__logo {
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: height var(--base) var(--ease);
}
.nav.shrink .nav__logo img {
  height: 36px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .03em;
  color: #fff;
  position: relative;
  transition: color var(--fast);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--base) var(--ease);
}
.nav__links a:hover { color: #fff }
.nav__links a:hover::after { width: 100% }

/* Nav actions wrapper (search + icons) */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, .15);
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 100px;
  padding: 9px 18px;
  transition: background var(--fast), border-color var(--fast);
}
.nav__search:focus-within {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .6);
}
.nav__search svg {
  color: rgba(255, 255, 255, .85);
  flex-shrink: 0;
}
.nav__search input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: var(--font-ui);
  font-size: 14px;
  width: 210px;
  transition: width var(--base) var(--ease);
}
.nav__search input::placeholder { color: rgba(255, 255, 255, .6) }
.nav__search input:focus { width: 280px }

/* Icon buttons (cart, user) */
.nav__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .10);
  border: 1.5px solid rgba(255, 255, 255, .22);
  transition: background var(--fast), color var(--fast), border-color var(--fast);
}
.nav__icon-btn:hover {
  background: rgba(255, 255, 255, .20);
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}

/* Submenú Noticias */
.nav__item {
  position: relative;
}
.nav__item-link {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__chevron {
  transition: transform var(--fast);
  flex-shrink: 0;
}
.nav__item--has-sub:hover .nav__chevron,
.nav__item--has-sub:focus-within .nav__chevron {
  transform: rotate(180deg);
}
.nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 220px;
  padding-top: 12px; /* puente hover continuo — sin gap entre link y menú */
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--fast), transform var(--fast);
  z-index: 200;
}
.nav__submenu-inner {
  background: rgba(18, 15, 14, .97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  padding: 8px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}
.nav__item--has-sub:hover .nav__submenu,
.nav__item--has-sub:focus-within .nav__submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__submenu a {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, .75) !important;
  transition: color var(--fast), background var(--fast);
}
.nav__submenu a::after { display: none !important; }
.nav__submenu a:hover {
  color: #fff !important;
  background: rgba(156, 30, 33, .18);
}

.nav__burger { display: none }

/* Mobile nav open */
/* Logo e iconos del menú: ocultos en desktop */
.nav__menu-logo,
.nav__menu-icons { display: none }

.nav__links.open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, var(--night-2) 0%, var(--night) 100%);
  padding: 40px var(--pad) 48px;
  gap: 0;
  z-index: 99;
  overflow-y: auto;
}
.nav__links.open a {
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  color: rgba(255, 255, 255, .75);
  width: 100%;
  text-align: center;
}
.nav__links.open a::after { display: none }

/* Logo dentro del menú */
.nav__links.open .nav__menu-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.nav__links.open .nav__menu-logo img {
  height: 52px;
  width: auto;
}

/* Iconos dentro del menú */
.nav__links.open .nav__menu-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 1px solid rgba(255,255,255,.07);
  width: 100%;
}
.nav__links.open .nav__menu-icons a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.6);
  font-size: 15px;
  font-family: var(--font-ui);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 14px 0;
  width: 100%;
  justify-content: center;
}
.nav__links.open .nav__menu-icons a:last-child { border-bottom: none }
.nav__links.open .nav__menu-icons a:hover { color: #fff }

/* Item con submenú: misma altura que los otros links */
.nav__links.open .nav__item {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__links.open .nav__item-link {
  justify-content: center;
  font-size: 18px;
  padding: 14px 0;
  color: rgba(255,255,255,.75);
  border-bottom: none;
  width: 100%;
}

/* Quitar borde del último link antes de los iconos */
.nav__links.open > a:last-of-type { border-bottom: none }

/* Botón cerrar */
.nav__menu-close {
  display: none;
  position: absolute;
  top: 20px;
  right: var(--pad);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 8px;
  transition: color .2s, border-color .2s;
}
.nav__menu-close:hover { color: #fff; border-color: rgba(255,255,255,.5) }
.nav__links.open .nav__menu-close { display: flex }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--night);
  padding-top: clamp(96px, 14vh, 148px);
}

.hero__slides { position: absolute; inset: 0; z-index: 0 }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms var(--ease), visibility 900ms;
}
.hero__slide.active { opacity: 1; visibility: visible }
.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) brightness(.8);
  transform: scale(1.08);
}
.hero__slide.active img { animation: kenburns 8s var(--ease) forwards }
@keyframes kenburns { to { transform: scale(1) } }

.hero__slides::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,8,6,.8) 0%, rgba(10,8,6,.14) 45%, rgba(10,8,6,.02) 100%),
    radial-gradient(ellipse 75% 65% at 62% 44%, transparent 0%, rgba(10,8,6,.1) 100%),
    radial-gradient(120% 80% at 12% 100%, rgba(156,30,33,.12), transparent 52%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(48px, 8vh, 96px);
}

.hero__copy { position: relative }
.hero__panel {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity 700ms var(--ease), transform 700ms var(--ease), visibility 700ms;
  transform: translateY(18px);
}
.hero__panel.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: none;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.hero__eyebrow .live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.9);
}
.hero__eyebrow .live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(156,30,33,.7);
  animation: beat 1.8s infinite;
}
@keyframes beat {
  0%, 100% { opacity: 1; transform: scale(1) }
  50% { opacity: .4; transform: scale(.7) }
}
.hero__eyebrow .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.2);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 100px);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: #ffffff;
  max-width: 18ch;
  margin-bottom: 22px;
  text-shadow: 0 2px 22px rgba(0,0,0,.6), 0 1px 4px rgba(0,0,0,.55);
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: #F2E8DC;
  text-shadow: 0 2px 20px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.55);
}
.hero__title .stroke {
  font-style: italic;
  font-weight: 400;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255,255,255,.5);
}

.hero__lead {
  max-width: clamp(320px, 52vw, 740px);
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,.92);
  line-height: 1.68;
  margin-bottom: 28px;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}

.hero__readlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .03em;
  color: #F2E8DC;
  background: rgba(198,42,46,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 12px 24px;
  border-radius: 100px;
  border: 1.5px solid #c62a2e;
  transition: gap var(--base) var(--ease), background var(--fast), color var(--fast), transform var(--fast);
}
.hero__readlink:hover {
  gap: 16px;
  background: #c62a2e;
  color: #fff;
  transform: translateY(-1px);
}

/* Controles del carrusel */
.hero__controls {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: clamp(28px, 4vh, 52px);
}
.hero__dots { display: flex; gap: 10px }
.hero__dot {
  width: 36px;
  height: 4px;
  border-radius: 100px;
  background: rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
  transition: background var(--fast);
  padding: 0;
  cursor: pointer;
}
.hero__dot.active { background: rgba(255,255,255,.28) }
.hero__dot.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: dotfill var(--hero-interval, 6000ms) linear forwards;
}
@keyframes dotfill { from { transform: scaleX(0) } to { transform: scaleX(1) } }

.hero__count {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: rgba(255,255,255,.4);
  letter-spacing: .03em;
}
.hero__count b { color: rgba(255,255,255,.85) }

.hero__arrows { display: flex; gap: 8px; margin-left: auto }
.hero__arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background var(--fast), border-color var(--fast), transform var(--base) var(--ease);
}
.hero__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.hero__arrow:active { transform: scale(.93) }

/* Mini preview de próximas notas */
.hero__next {
  margin-top: 2vh;
  padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__next-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.hero__next-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 260px));
  gap: 14px;
}
.hero__next-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: left;
  transition: background var(--fast), border-color var(--fast), transform var(--base) var(--ease);
}
.hero__next-item:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.07);
  transform: translateY(-2px);
}
.hero__next-item.active {
  border-color: var(--accent);
  background: rgba(198,42,46,.14);
}
.hero__next-thumb {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 9px;
  overflow: hidden;
  position: relative;
}
.hero__next-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(.8);
  transition: filter var(--fast), transform var(--slow) var(--ease);
}
.hero__next-item:hover .hero__next-thumb img { filter: saturate(1.1) brightness(.95); transform: scale(1.06) }
.hero__next-item.active .hero__next-thumb img { filter: saturate(1.1) brightness(1) }
.hero__next-text { min-width: 0 }
.hero__next-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__scroll {
  position: absolute;
  right: var(--pad);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__scroll::after {
  content: "";
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--accent), transparent);
  animation: slidedown 2s infinite;
}
@keyframes slidedown {
  0%   { transform: scaleY(0); transform-origin: top }
  50%  { transform: scaleY(1); transform-origin: top }
  51%  { transform: scaleY(1); transform-origin: bottom }
  100% { transform: scaleY(0); transform-origin: bottom }
}


/* ============ RESTAURANTES EN FOCO — bento grid ============ */
.gcards-section {
  background: var(--night);
  position: relative;
  scroll-margin-top: 70px;
}
.gcards-section .section__title { color: rgba(255,255,255,.92) }
.gcards-section .section__title em { color: var(--accent) }
.gcards-section .section__more { color: rgba(255,255,255,.55); border-bottom-color: var(--accent) }
.gcards-section .section__more:hover { color: var(--accent) }
.gcards-section .kicker { color: var(--accent) }

.gcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
/* Patrón Z: Art2 wide (row 1), Art3 wide (row 2) */
.gcards .card-3d:nth-child(2) { grid-column: 2 / 4 }
.gcards .card-3d:nth-child(3) { grid-column: 1 / 3 }

.gcard {
  background: var(--night-2);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color var(--base), transform var(--slow) var(--ease), box-shadow var(--slow);
}
.gcard:hover {
  border-color: rgba(255,255,255,.15);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.gcard:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px }

.gcard__top { padding: 20px 22px 14px }
.gcard__cat {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 10px;
}
.gcard__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: rgba(255,255,255,.90);
  margin-bottom: 8px;
}
/* Cards anchas → título más grande */
.gcards .card-3d:nth-child(2) .gcard__title,
.gcards .card-3d:nth-child(3) .gcard__title {
  font-size: clamp(17px, 1.8vw, 24px);
  margin-bottom: 10px;
}
.gcard__desc {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.42);
  line-height: 1.65;
}
/* Solo las cards anchas muestran descripción */
.gcards .card-3d:nth-child(1) .gcard__desc,
.gcards .card-3d:nth-child(4) .gcard__desc { display: none }

.gcard__img {
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}
/* Cards anchas → imagen un poco más alta */
.gcards .card-3d:nth-child(2) .gcard__img,
.gcards .card-3d:nth-child(3) .gcard__img { height: 190px }

.gcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--slow) var(--ease);
}
.gcard:hover .gcard__img img { transform: scale(1.05) }

/* ============ AUSPICIANTES — integrado ============ */
.sponsors {
  background: var(--bg);
  padding: 0;
}

.sponsors > .wrap {
  padding-bottom: clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}

.sponsors.wrap {
  padding-bottom: clamp(16px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}

/* Menos aire entre la línea divisora y la sección siguiente */
.sponsors + section {
  padding-top: 0;
}

.sponsors__viewport {
  position: relative;
  height: 227px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

/* Fila kicker + línea + contador */
.sponsors__divider {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: clamp(16px, 2vw, 24px);
  border-top: 1px solid var(--line);
}

.sponsors__line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.sponsors__counter {
  font-size: .82rem;
  color: var(--fg-mute);
  font-style: italic;
  flex-shrink: 0;
}

.sponsors__track { display: contents }

/* Cada card apilada, fade entre ellas */
.sponsors__card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}

.sponsors__card.active {
  opacity: 1;
  pointer-events: auto;
}

.sponsors__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .7s var(--ease);
}

.sponsors__card:hover .sponsors__img { transform: scale(1.02) }

.sponsors__row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
}

.sponsors__row .sponsors__viewport {
  flex: 1 1 0;
  min-width: 0;
}

.sponsors__row .sponsors__viewport--vertical {
  flex: 0 0 clamp(140px, 16vw, 200px);
  width: clamp(140px, 16vw, 200px);
  height: 300px;
}

.sponsors__viewport--vertical .sponsors__img {
  object-fit: cover;
  object-position: center;
}


.sponsors__bar {
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.sponsors__progress {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
}

.sponsors__counter {
  font-size: .85rem;
  color: var(--fg-mute);
  flex-shrink: 0;
  font-style: italic;
}

@media (max-width: 600px) {
  .sponsors__viewport { height: 140px }
}

/* ============ SECCIONES ============ */
.section { padding-block: clamp(48px, 7vh, 80px) }
#destacada { padding-bottom: clamp(40px, 5vh, 72px) }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 5vw, 64px);
  flex-wrap: wrap;
  overflow: visible;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 60px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--fg);
  max-width: 18ch;
  padding-bottom: 0.25em;
  padding-right: 0.15em;
  overflow: visible;
}
.section__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.section__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--fg);
  padding-bottom: 5px;
  border-bottom: 1.5px solid var(--accent);
  white-space: nowrap;
  transition: gap var(--base) var(--ease), color var(--fast);
}
.section__more:hover { gap: 16px; color: var(--accent) }

/* ============ FEATURE ============ */
.feature {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  min-height: clamp(380px, 54vh, 600px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  cursor: pointer;
}
.feature img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.62);
  transition: transform var(--slow) var(--ease), filter var(--slow);
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7,6,5,.94), transparent 68%);
}
.feature:hover img { transform: scale(1.04); filter: brightness(.72) }
.feature:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px }

.feature__body { padding: clamp(22px, 3.2vw, 48px); max-width: 760px }
.feature__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-deep);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.feature__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -.01em;
  color: #fff;
  margin-bottom: 12px;
}
.feature__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.52);
  font-size: 13px;
}
.feature__meta .sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ============ TILES ============ */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 22px);
}
.tile {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color var(--base);
}
.tile:hover { border-color: rgba(156,30,33,.28) }
.tile img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.58);
  transition: transform var(--slow) var(--ease), filter var(--base);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7,6,5,.92), transparent 58%);
}
.tile:hover img { transform: scale(1.07); filter: brightness(.68) }
.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px }
.tile__body { padding: 20px }
.tile__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(245,230,230,.9);
  margin-bottom: 8px;
}
.tile__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 1.5vw, 21px);
  line-height: 1.22;
  color: #fff;
}
.tile__zone {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============ DIRECTORIO ============ */
.dir {
  background: var(--bg-2);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
}
.dir__nav {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: clamp(22px, 3vw, 32px);
}
.dir__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: none;
  display: grid;
  place-items: center;
  color: var(--fg-dim);
  cursor: pointer;
  transition: background var(--fast), border-color var(--fast), color var(--fast), transform var(--fast);
}
.dir__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff }
.dir__arrow:active { transform: scale(.93) }
.dir__arrow:disabled { opacity: .3; cursor: default }
.dir__arrow:disabled:hover { background: none; border-color: var(--line-strong); color: var(--fg-dim) }

.dir__carousel { position: relative }
.dir__track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  margin: 0 calc(var(--pad) * -1);
  padding-inline: var(--pad);
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--pad)), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - var(--pad)), transparent);
}
.dir__track::-webkit-scrollbar { display: none }

.dir__card {
  flex: 0 0 clamp(230px, 26vw, 300px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--base), transform var(--base) var(--ease);
}
.dir__card:hover { transform: translateY(-6px) }
.dir__card:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px }

.dir__card-img {
  height: clamp(160px, 20vw, 220px);
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.dir__card-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -.01em;
  color: #fff;
  background: rgba(20,16,15,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 11px 6px 9px;
  border-radius: 100px;
}
.dir__card-rank::before {
  content: "#";
  color: var(--accent);
  font-style: italic;
  font-weight: 500;
}
.dir__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .65s var(--ease);
}
.dir__card:hover .dir__card-img img { transform: scale(1.06) }

.dir__card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dir__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.dir__card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -.005em;
  color: var(--fg);
}
.dir__card-go {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--fg-dim);
  transition: background var(--fast), border-color var(--fast), color var(--fast), transform var(--base) var(--ease);
}
.dir__card:hover .dir__card-go { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(-45deg) }
.dir__card-cat {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
}
.dir__card-zone {
  font-size: 13px;
  color: var(--fg-dim);
}

/* ============ PROTAGONISTA ============ */
.spot {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: stretch;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
  box-shadow: 0 2px 24px rgba(26,26,26,.06);
  width: 100%;
  max-width: 100%;
}
.spot__media {
  position: relative;
  min-height: 380px;
}
.spot__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.spot__body {
  padding: clamp(30px, 3.8vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.spot__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--fg);
  margin: 18px 0 22px;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}
.spot__quote span {
  font-weight: 700;
  color: var(--accent);
  font-style: italic;
}
.spot__text {
  color: var(--fg-dim);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 60ch;
}
.spot__who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.spot__who img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.spot__who b { font-size: 15px; color: var(--fg) }
.spot__who small {
  display: block;
  color: var(--fg-mute);
  font-size: 13px;
  font-weight: 400;
}

.btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background var(--fast), box-shadow var(--base), transform var(--fast);
}
.btn:hover {
  background: var(--accent-deep);
  box-shadow: 0 6px 28px rgba(156, 30, 33, .32);
  transform: translateY(-2px);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: 0;
  overflow: hidden;
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--line);
}
.stat {
  background: var(--bg);
  padding: clamp(28px, 4vw, 52px) clamp(16px, 2vw, 28px);
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: .94;
  letter-spacing: -.015em;
  color: var(--fg);
}
.stat b i {
  font-style: italic;
  color: var(--accent);
  font-size: .52em;
  vertical-align: super;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-mute);
}

/* ============ NEWSLETTER ============ */
.news {
  border-radius: 6px;
  padding: clamp(40px, 6vw, 84px) clamp(28px, 5vw, 64px);
  text-align: center;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(156,30,33,.07), transparent 70%),
    var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.news::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(156,30,33,.09), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
}
.news__inner { position: relative; max-width: 560px; margin: 0 auto }
.news h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.8vw, 46px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--fg);
  margin: 14px 0 12px;
}
.news h3 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.news p {
  color: var(--fg-dim);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.news form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.news input {
  flex: 1;
  background: var(--bg);
  border: 1.5px solid var(--line-strong);
  border-radius: 100px;
  padding: 13px 20px;
  color: var(--fg);
  font-size: 15px;
  font-family: var(--font-ui);
  outline: none;
  transition: border-color var(--fast), box-shadow var(--fast);
}
.news input::placeholder { color: var(--fg-mute) }
.news input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.news small {
  display: block;
  margin-top: 14px;
  font-size: 12px;
  color: var(--fg-mute);
}

/* ============ FOOTER ============ */
.footer {
  padding-block: clamp(44px, 6.5vw, 84px) 28px;
  border-top: 3px solid var(--accent);
  background: var(--bg);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.footer__brand b {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  color: var(--fg);
}
.footer__brand p {
  color: var(--fg-mute);
  font-size: 14px;
  line-height: 1.7;
  margin: 12px 0 18px;
  max-width: 30ch;
}
.footer__social { display: flex; gap: 10px }
.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--fg-dim);
  transition: border-color var(--fast), background var(--fast), color var(--fast);
}
.footer__social a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.footer__brand { padding-right: 40px }
.footer__col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 14px;
}
.footer__col a {
  display: block;
  color: var(--fg-mute);
  font-size: 14px;
  padding: 5px 0;
  transition: color var(--fast);
}
.footer__col a:hover { color: var(--accent) }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--fg-mute);
  font-size: 12px;
}
.footer__bottom a { color: rgba(255,255,255,.24) }

/* ============ SECCIONES OSCURAS — cinematográfico ============ */
/*
   Alternancia light / dark:
   Hero (dark) → Destacada (white) → Directorio (dark)
   → Protagonista (cream) → Stats (dark) → Newsletter (warm) → Footer (dark)
*/

/* — Directorio — */
.dir {
  background: #141110;
  border-bottom-color: rgba(255,255,255,.05);
  position: relative;
}
.dir::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 440px;
  background: radial-gradient(ellipse 75% 55% at 50% 0%, rgba(156,30,33,.18), transparent 72%);
  pointer-events: none;
}
.dir .section__title { color: rgba(255,255,255,.92) }
.dir .section__title em { color: var(--accent) }
.dir .section__more { color: rgba(255,255,255,.60); border-bottom-color: var(--accent) }
.dir .section__more:hover { color: var(--accent) }
.dir__arrow { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.7) }
.dir__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff }
.dir__arrow:disabled:hover { background: none; border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.7) }
.dir__card { background: #1c1814; border-color: rgba(255,255,255,.07) }
.dir__card-name { color: rgba(255,255,255,.92) }
.dir__card-zone { color: rgba(255,255,255,.4) }
.dir__card-go { border-color: rgba(255,255,255,.15); color: rgba(255,255,255,.5) }

/* — Protagonista — */
#protagonista {
  background:
    radial-gradient(ellipse 40% 40% at 6% 38%, rgba(156,30,33,0.13) 0%, transparent 70%),
    #0d0a09;
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-block: clamp(40px, 6vh, 80px);
}
/* Humo ambiental protagonista */
.prot-smoke {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.prot-smoke__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform, opacity;
}

/* Blob 1 — inferior izquierdo, tono gris oscuro */
.prot-smoke__blob--1 {
  width: 500px; height: 400px;
  bottom: 0; right: 0;
  background: radial-gradient(ellipse at 80% 80%, rgba(140,30,30,.9) 0%, rgba(60,20,20,.5) 40%, transparent 70%);
  opacity: 0.45;
  filter: blur(60px);
  animation: smoke-drift-1 28s ease-in-out infinite;
}
.prot-smoke__blob--2 {
  width: 600px; height: 350px;
  bottom: 0; left: 0;
  background: radial-gradient(ellipse at 20% 90%, rgba(50,30,25,.9) 0%, rgba(30,18,15,.5) 40%, transparent 70%);
  opacity: 0.40;
  filter: blur(55px);
  animation: smoke-drift-2 34s ease-in-out infinite;
}
.prot-smoke__blob--3 {
  width: 400px; height: 500px;
  top: 0; left: 0;
  background: radial-gradient(ellipse at 10% 10%, rgba(40,25,22,.8) 0%, transparent 65%);
  opacity: 0.30;
  filter: blur(65px);
  animation: smoke-drift-3 26s ease-in-out infinite;
}
.prot-smoke__blob--4 {
  width: 420px; height: 480px;
  top: 0; right: 0;
  background: radial-gradient(ellipse at 90% 10%, rgba(100,20,20,.8) 0%, transparent 65%);
  opacity: 0.30;
  filter: blur(65px);
  animation: smoke-drift-4 32s ease-in-out infinite;
}
.prot-smoke__blob--5 {
  width: 700px; height: 280px;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(120,25,25,.85) 0%, transparent 65%);
  opacity: 0.35;
  filter: blur(50px);
  animation: smoke-drift-5 38s ease-in-out infinite;
}

@keyframes smoke-drift-1 {
  0%   { transform: translate(0, 0)     scale(1);    opacity: .07 }
  30%  { transform: translate(28px,-22px) scale(1.08); opacity: .05 }
  60%  { transform: translate(-18px,-38px) scale(1.14); opacity: .08 }
  100% { transform: translate(0, 0)     scale(1);    opacity: .07 }
}
@keyframes smoke-drift-2 {
  0%   { transform: translate(0, 0)      scale(1);    opacity: .05 }
  25%  { transform: translate(-24px,-18px) scale(1.1);  opacity: .03 }
  65%  { transform: translate(16px,-32px)  scale(1.06); opacity: .06 }
  100% { transform: translate(0, 0)      scale(1);    opacity: .05 }
}
@keyframes smoke-drift-3 {
  0%   { transform: translate(0, 0)     scale(1);    opacity: .06 }
  40%  { transform: translate(20px,-28px) scale(1.12); opacity: .04 }
  70%  { transform: translate(8px,-48px)  scale(1.18); opacity: .07 }
  100% { transform: translate(0, 0)     scale(1);    opacity: .06 }
}
@keyframes smoke-drift-4 {
  0%   { transform: translate(0, 0)       scale(1);    opacity: .05 }
  35%  { transform: translate(-16px,-24px)  scale(1.09); opacity: .07 }
  70%  { transform: translate(-28px,-40px)  scale(1.15); opacity: .04 }
  100% { transform: translate(0, 0)       scale(1);    opacity: .05 }
}
@keyframes smoke-drift-5 {
  0%   { transform: translateX(-50%) scale(1);     opacity: .04 }
  30%  { transform: translateX(-46%) scale(1.1);   opacity: .03 }
  65%  { transform: translateX(-54%) scale(1.18);  opacity: .05 }
  100% { transform: translateX(-50%) scale(1);     opacity: .04 }
}

#protagonista .wrap { position: relative; z-index: 1; }
#protagonista .section__title { color: rgba(255,255,255,.92) }
#protagonista .section__title em { color: var(--accent) }
#protagonista .section__head { margin-bottom: clamp(16px, 2.5vw, 28px); }
#protagonista { padding-top: 7vh; padding-bottom: 7vh; }
.spot { background: #1c1814; border-color: rgba(255,255,255,.07) }
.spot__quote { color: rgba(255,255,255,.92) }
.spot__text { color: rgba(255,255,255,.50) }
.spot__who b { color: rgba(255,255,255,.92) }
.spot__who small { color: rgba(255,255,255,.36) }

/* — Stats — */
.stats-section {
  background: #141110;
  position: relative;
}
.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 160% at 50% 50%, rgba(156,30,33,.10), transparent 65%);
  pointer-events: none;
}
.stats {
  background: rgba(255,255,255,.04);
  border-top-color: var(--accent);
  border-bottom-color: rgba(255,255,255,.04);
  position: relative;
}
.stat { background: #141110 }
.stat b { color: rgba(255,255,255,.90) }
.stat span { color: rgba(255,255,255,.30) }

/* — Footer — */
.footer { background: #000 }
.footer__top { border-bottom-color: rgba(255,255,255,.07) }
.footer__brand b { color: rgba(255,255,255,.92) }
.footer__brand p { color: rgba(255,255,255,.36) }
.footer__social a { border-color: rgba(255,255,255,.10); color: rgba(255,255,255,.40) }
.footer__col h4 { color: rgba(255,255,255,.90) }
.footer__col a { color: rgba(255,255,255,.30) }
.footer__bottom { color: rgba(255,255,255,.24) }

/* ============ REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(.97);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0) scale(1) }

/* ============ CARD 3D REVEAL ============ */
.card-3d {
  perspective: 1000px;
  transform-style: preserve-3d;
  perspective-origin: 100% 0%;
}

/* Gcards: se estiran para llenar la fila del grid */
.gcards > .card-3d {
  display: flex;
  flex-direction: column;
}
.gcards > .card-3d > .gcard {
  flex: 1;
}

/* Estado inicial: invisible e inclinada hacia atrás */
.card-3d > * {
  transform-origin: 50% 0%;
  opacity: 0;
  transform: rotateX(-40deg);
  transition:
    opacity   0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

/* Estado final: card plana y visible */
.card-3d.is-visible > * {
  opacity: 1;
  transform: rotateX(0deg);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .gcards { grid-template-columns: 1fr 1fr }
  .gcards .card-3d:nth-child(2),
  .gcards .card-3d:nth-child(3) { grid-column: auto }
  .gcards .card-3d:nth-child(1) .gcard__desc,
  .gcards .card-3d:nth-child(4) .gcard__desc { display: block }
  .tiles { grid-template-columns: repeat(2, 1fr) }
  .spot { grid-template-columns: 1fr }
  .spot__media { min-height: 260px }
  .spot__media::after {
    background: linear-gradient(to top, var(--bg-3) 0%, transparent 65%);
  }
  .spot__quote { border-left: none; padding-left: 0 }
  .stats { grid-template-columns: repeat(2, 1fr) }
  .footer__top { grid-template-columns: 1fr 1fr 1fr; gap: 24px }
  .dir__card { flex: 0 0 clamp(210px, 34vw, 260px) }
  .hero__next-list { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 680px) {
  .gcards { grid-template-columns: 1fr }
  .gcards .card-3d:nth-child(2),
  .gcards .card-3d:nth-child(3) { grid-column: auto }
  .gcards .card-3d:nth-child(1) .gcard__desc,
  .gcards .card-3d:nth-child(4) .gcard__desc { display: block }
  .nav {
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 12px;
  }
  .nav__links:not(.open) { display: none }
  .nav__icon-btn { display: none }

  /* nav__actions: segunda fila, ancho completo */
  .nav__actions {
    order: 10;
    flex: 0 0 100%;
    gap: 0;
    margin-top: 10px;
  }

  /* Buscador ocupa todo el ancho */
  .nav__search {
    display: flex;
    flex: 1;
    width: 100%;
    border-radius: 100px;
    padding: 9px 14px;
  }
  .nav__search input { width: 100%; flex: 1; }
  .nav__search input:focus { width: 100%; }

  .nav__burger {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: 8px;
    color: #fff;
  }
  .hero__scroll { display: none }
  .hero__arrows { display: none }
  .hero__controls { gap: 14px }
  .hero__next-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(168px, 1fr);
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .hero__next-list::-webkit-scrollbar { display: none }
  .tiles { grid-template-columns: 1fr }
  .stats { grid-template-columns: 1fr 1fr }
  .news form { flex-direction: column }
  .footer__top { grid-template-columns: 1fr; gap: 20px }
  .dir__nav { display: none }
  .dir__card { flex: 0 0 min(78vw, 280px) }
}

/* ============ EDITORIAL GRID (destacada) ============ */
.ed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: stretch;
}

/* Columnas */
.ed-left {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 20px);
  height: calc(575px + clamp(32px, 4vw, 40px));
}

.ed-left .card-3d {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 530px;
}

.ed-right {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 20px);
  height: 100%;
}

.ed-right .ed-right-bottom {
  flex: 1;
}

.ed-right .ed-right-bottom .card-3d {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card grande */
.ed-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.ed-main__img {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.ed-main__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .65s var(--ease);
}

.ed-main:hover .ed-main__img img { transform: scale(1.04) }

.ed-main__body {
  display: flex;
  flex-direction: column;
  padding: clamp(14px, 1.8vw, 20px);
  border-top: 1px solid var(--line);
}

.ed-main__title {
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  line-height: 1.25;
  color: var(--fg);
  margin-block: 10px 14px;
  overflow: visible;
  word-break: break-word;
  hyphens: auto;
}

/* Cards horizontales */
.ed-row {
  display: grid;
  grid-template-columns: clamp(140px, 22vw, 220px) 1fr;
  gap: 0;
  align-items: stretch;
  height: 190px;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.ed-row__img {
  overflow: hidden;
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
}

.ed-row__img img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .65s var(--ease);
}

.ed-row:hover .ed-row__img img { transform: scale(1.05) }

.ed-row__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(16px, 2vw, 24px);
  border-left: 1px solid var(--line);
  gap: 8px;
}

.ed-row__title {
  font-size: clamp(.9rem, 1.1vw, 1.05rem);
  line-height: 1.35;
  color: var(--fg);
  margin-block: 6px 0;
  flex: 1;
}

/* Dos cards verticales lado a lado */
.ed-right-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 20px);
  align-items: stretch;
}

.ed-left--gastronomia {
  height: calc(570px + clamp(16px, 2vw, 20px));
}

#gastronomia-argentina .ed-left--gastronomia,
#novedades .ed-left--gastronomia {
  height: calc(580px + clamp(16px, 2vw, 20px));
}

#destacada .ed-right .ed-row {
  height: 245px;
}

#gastronomia-argentina .ed-right .ed-row {
  height: 225px;
}

#novedades .ed-right .ed-row {
  height: 225px;
}

.ed-grid--novedades {
  grid-template-columns: 0.9fr 1fr;
}

.ed-right-bottom--with-ad {
  grid-template-columns: 1fr 1fr auto;
}

.ed-right-bottom--single-ad {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.ed-right-bottom--single-ad .card-3d {
  flex: 0 1 auto;
  min-width: 0;
}
.ed-right-bottom--single-ad .ed-card {
  width: 280px;
  height: 352px;
}
.ed-right-bottom--single-ad .ed-card .ed-card__img {
  height: 130px;
}

#novedades .ed-right-bottom--single-ad .ed-card {
  width: 340px;
}

.ed-ad-vertical {
  display: block;
  align-self: start;
  width: 218px;
  height: 352px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  text-decoration: none;
}

.ed-ad-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--bg);
}

.ed-ad-vertical:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
}

/* Bloque de publicidad mobile */
.ad-mobile {
  display: none;
  padding: 0 0 clamp(24px, 5vw, 40px);
}
.ad-mobile .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ad-mobile .sponsors__divider {
  width: 100%;
  border-top: 1px solid var(--line);
  margin-bottom: 16px;
}
.ad-mobile a {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 240px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.ad-mobile img {
  width: 100%;
  height: auto;
  display: block;
}

.ad-mobile:not(.ad-mobile--horizontal) a {
  width: 218px;
  max-width: 218px;
  height: 352px;
  background: var(--bg-2, #fff);
}
.ad-mobile:not(.ad-mobile--horizontal) img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ad-mobile--horizontal a {
  max-width: 100%;
  border-radius: 12px;
}

.ad-mobile__divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .ed-ad-vertical { display: none; }
  .sponsors__viewport--vertical { display: none; }
  .sponsors__row { display: block; }
  .sponsors { display: none; }
  .ad-mobile { display: block; }
}

.ed-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 380px;
}

.ed-card__img {
  overflow: hidden;
  flex-shrink: 0;
  height: 155px;
}

.ed-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .65s var(--ease);
}

.ed-card:hover .ed-card__img img { transform: scale(1.05) }

.ed-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(14px, 1.8vw, 18px);
  border-top: 1px solid var(--line);
  flex: 1;
  gap: 10px;
}

.ed-card__title {
  font-size: clamp(.9rem, 1.15vw, 1.05rem);
  line-height: 1.35;
  color: var(--fg);
  margin-block: 6px 0;
  flex: 1;
}

/* Meta compartida */
.ed-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ed-cat {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 3px 8px;
  border-radius: 4px;
}

.ed-time { font-size: .76rem; color: var(--fg-mute) }

/* Leer la nota → */
.ed-readmore {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--fg);
  border-bottom: 1px solid var(--fg);
  padding-bottom: 2px;
  width: fit-content;
  transition: color .25s, border-color .25s;
}

.ed-main:hover .ed-readmore,
.ed-row:hover .ed-readmore,
.ed-card:hover .ed-readmore {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 700px) {

  /* ── Grid editorial: una columna ── */
  .ed-grid { grid-template-columns: 1fr }
  .ed-grid--novedades { grid-template-columns: 1fr }

  /* ── Gastronomía: 3 cards horizontales del mismo alto ── */
  #gastronomia-argentina .ed-right .card-3d { height: 160px; }
  #gastronomia-argentina .ed-right-bottom { grid-template-columns: 1fr; }

  /* ed-row ajustado */
  #gastronomia-argentina .ed-row {
    height: 160px;
    grid-template-columns: 130px 1fr;
  }
  #gastronomia-argentina .ed-row__img img { min-height: 160px; }
  #gastronomia-argentina .ed-row__body {
    padding: 10px 12px;
    overflow: hidden;
    justify-content: center;
    gap: 4px;
  }
  #gastronomia-argentina .ed-row__title {
    font-size: .85rem;
    line-height: 1.3;
    margin-block: 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: none;
  }

  /* ed-card horizontal */
  #gastronomia-argentina .ed-card {
    flex-direction: row;
    height: 160px;
  }
  #gastronomia-argentina .ed-card__img {
    width: 130px;
    min-width: 130px;
    height: 100%;
    flex-shrink: 0;
  }
  #gastronomia-argentina .ed-card__img img {
    height: 100%;
    object-fit: cover;
  }
  #gastronomia-argentina .ed-card__body {
    border-top: none;
    border-left: 1px solid var(--line);
    padding: 10px 12px;
    justify-content: space-between;
    overflow: hidden;
  }
  #gastronomia-argentina .ed-card__title {
    font-size: .85rem;
    line-height: 1.3;
    margin-block: 4px 6px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  #gastronomia-argentina .ed-meta { flex-wrap: nowrap; }
  #gastronomia-argentina .ed-time { display: none; }

  /* ── Novedades: últimas 2 cards en horizontal ── */
  #novedades .ed-card {
    flex-direction: row;
    height: 160px;
  }
  #novedades .ed-card__img {
    width: 130px;
    min-width: 130px;
    height: 100%;
    flex-shrink: 0;
  }
  #novedades .ed-card__img img {
    height: 100%;
    object-fit: cover;
  }
  #novedades .ed-card__body {
    border-top: none;
    border-left: 1px solid var(--line);
    padding: 10px 12px;
    justify-content: space-between;
    overflow: hidden;
  }
  #novedades .ed-card__title {
    font-size: .85rem;
    line-height: 1.3;
    margin-block: 4px 6px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: none;
  }
  #novedades .ed-time { display: none; }

  /* ── Alturas fijas: reset en mobile ── */
  .ed-left,
  .ed-left--gastronomia { height: auto }

  /* ── Card grande: imagen con alto fijo, body visible ── */
  .ed-main { min-height: 0 }
  .ed-main__img { height: 220px; flex-shrink: 0; flex: none }

  /* ── Cards horizontales: imagen más grande ── */
  .ed-row {
    grid-template-columns: 120px 1fr;
    height: auto;
    min-height: 130px;
  }
  .ed-row__img img { min-height: 130px }

  /* ── Cards verticales: alto automático ── */
  .ed-card { height: auto; min-height: 0 }
  .ed-card__img { height: 160px }

  /* ── Right-bottom: una columna, incluido el modificador ── */
  .ed-right-bottom,
  .ed-right-bottom--with-ad { grid-template-columns: 1fr }
  .ed-right-bottom--single-ad { flex-direction: column; align-items: stretch }
  .ed-right-bottom--single-ad .ed-card { width: auto }

  /* ── Sponsors: viewport más bajo en mobile ── */
  .sponsors__viewport { height: 160px }
  .sponsors__row { gap: 0 }

  /* ── Sección head: menos margen inferior ── */
  .section__head { margin-bottom: clamp(20px, 4vw, 32px) }
}

/* ============ PRODUCTOS Y RECETAS ============ */
#recetas {
  background:
    radial-gradient(ellipse 40% 40% at 6% 38%, rgba(156,30,33,0.13) 0%, transparent 70%),
    #0d0a09;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}
#recetas .section__title { color: rgba(255,255,255,.92) }
#recetas .section__title em { color: var(--accent) }
#recetas .section__more { color: rgba(255,255,255,.45) }

.rec-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  background: var(--night-2);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  overflow: hidden;
}
.rec-left,
.rec-right {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
}
.rec-divider {
  background: rgba(255,255,255,.08);
  width: 1px;
  align-self: stretch;
}
.rec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
  margin-bottom: 20px;
}
.rec-dash {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Nota destacada (columna izquierda) */
.rec-row {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  gap: 20px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 18px;
  text-decoration: none;
  transition: background var(--fast);
}
.rec-row:hover { background: rgba(255,255,255,.07) }
.rec-row__img {
  flex: 1;
  min-height: 220px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
}
.rec-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--slow) var(--ease);
}
.rec-row:hover .rec-row__img img { transform: scale(1.04) }
.rec-row__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.rec-row__body .rec-btn { margin-top: 6px; align-self: flex-start; }
.rec-cat {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.rec-row__title {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  color: rgba(255,255,255,.90);
  line-height: 1.3;
}
.rec-time {
  font-size: 12px;
  color: rgba(255,255,255,.30);
}
.rec-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 5px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  width: fit-content;
  line-height: 1;
}

/* Cards de productos (columna derecha) */
.rec-product {
  display: flex;
  gap: 18px;
  align-items: stretch;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 18px;
  text-decoration: none;
  margin-bottom: 14px;
  transition: background var(--fast);
}
.rec-product:hover { background: rgba(255,255,255,.07) }
.rec-product__img {
  width: 150px;
  height: 110px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.rec-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rec-product__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
  justify-content: space-between;
}

.rec-product__body .rec-product__btn { margin-top: auto; align-self: flex-start; }
.rec-brand {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.38);
}
.rec-product__title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.90);
  line-height: 1.35;
}
.rec-product__btn {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 14px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  width: fit-content;
  line-height: 1;
}
.rec-more {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  width: fit-content;
  align-self: flex-end;
}
.rec-more:hover { opacity: .75 }

/* Responsive */
@media (max-width: 760px) {
  .rec-grid { grid-template-columns: 1fr }
  .rec-divider { width: 100%; height: 1px }
}

/* ============ MARQUESINA ============ */
.marquee-bar {
  background: #0d0a09;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  padding-block: 18px;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  animation: marquee-scroll 16s linear infinite;
  animation-play-state: paused; /* arranca al medir el ancho real por JS, evita el salto por redondeo de subpíxel del -50% */
}

.marquee-track.is-ready { animation-play-state: running }
.marquee-track.is-paused { animation-play-state: paused }

.marquee-set {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-set span,
.marquee-set a {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.55);
  padding-inline: clamp(28px, 3.5vw, 52px);
  transition: color .3s;
}

.marquee-set a:hover,
.marquee-set a:focus-visible { color: var(--accent-bright) }

.marquee-set i {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  opacity: .7;
}

@keyframes marquee-scroll {
  from { transform: translateX(0) }
  to   { transform: translateX(var(--marquee-distance, -50%)) }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none }
}

/* ============ CATEGORÍAS (dark) ============ */
.cats-section {
  background:
    radial-gradient(ellipse 40% 40% at 6% 38%, rgba(156,30,33,0.13) 0%, transparent 70%),
    #0d0a09;
  padding-block: clamp(36px, 6vh, 72px);
}

.cats-head {
  text-align: left;
  margin-bottom: clamp(20px, 3vw, 36px);
}

.cats-title { color: #fff }

/* Grid: fila única con divisores */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
}

/* Scroll horizontal en mobile */
/* Indicador scroll horizontal */
.cats-scroll-hint {
  display: none;
  align-items: center;
  width: 100%;
  gap: 0;
  margin-top: 14px;
  padding: 0 4px;
  box-sizing: border-box;
}

.cats-scroll-hint__line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.3);
}

.cats-scroll-hint__label {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  line-height: 1;
  padding: 0 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.cats-scroll-hint__svg {
  fill: rgba(255,255,255,.75);
  animation: hint-swipe 2s ease-in-out infinite;
  flex-shrink: 0;
  margin-right: 0;
}

.cats-scroll-hint__line:last-child {
  margin-left: 28px;
}

@keyframes hint-swipe {
  0%   { transform: translateX(0);    opacity: .6; }
  35%  { transform: translateX(16px); opacity: 1;  }
  60%  { transform: translateX(16px); opacity: 1;  }
  85%  { transform: translateX(0);    opacity: .6; }
  100% { transform: translateX(0);    opacity: .6; }
}

@media (max-width: 700px) {
  .cats-grid {
    grid-template-columns: repeat(5, minmax(220px, 1fr));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
  }
  .cat-card { min-height: 180px; }
  .cats-scroll-hint { display: flex; }
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.8vw, 40px) clamp(20px, 2vw, 32px);
  min-height: 240px;
  background: #1c1714;
  border-right: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  transition: background 0.4s var(--ease);
}

.cat-card:last-child { border-right: none }
.cat-card:hover { background: rgba(255,255,255,0.03) }

/* Imagen de fondo — GSAP controla opacity/scale */
.cat-card__bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transform: scale(1);
  will-change: opacity, transform;
}

.cat-card__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,6,5,0.95) 10%,
    rgba(10,6,5,0.6) 55%,
    rgba(10,6,5,0.2) 100%
  );
}

/* Icon */
.cat-card__icon-wrap {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin-bottom: auto;
}

.cat-card__icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(156,30,33,0.5);
  border-radius: 50%;
  color: var(--accent-bright);
  transition: opacity 0.3s ease;
}

.cat-card__icon--hover {
  opacity: 0;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.cat-card:hover .cat-card__icon--hover   { opacity: 1 }
.cat-card:hover .cat-card__icon:not(.cat-card__icon--hover) { opacity: 0 }

/* ---- Animaciones de iconos por card ---- */

/* 1. Comer y Dormir — cama: leve rebote */
@keyframes cat-bounce {
  0%, 100% { transform: translateY(0) }
  40%       { transform: translateY(-5px) }
  65%       { transform: translateY(-2px) }
}
.cat-card:nth-child(1):hover .cat-card__icon--hover svg {
  animation: cat-bounce 0.7s ease infinite;
}

/* 2. Restaurantes — cloche: se levanta como destapando */
@keyframes cat-lift {
  0%   { transform: translateY(0) }
  35%  { transform: translateY(-7px) rotate(-4deg) }
  65%  { transform: translateY(-5px) rotate(3deg) }
  100% { transform: translateY(0) }
}
.cat-card:nth-child(2):hover .cat-card__icon--hover svg {
  animation: cat-lift 0.9s ease infinite;
}

/* 3. Ranking — medalla: oscila como un péndulo */
@keyframes cat-swing {
  0%, 100% { transform: rotate(0deg) }
  25%       { transform: rotate(-12deg) }
  75%       { transform: rotate(12deg) }
}
.cat-card:nth-child(3):hover .cat-card__icon--hover svg {
  transform-origin: 50% 0%;
  animation: cat-swing 0.8s ease-in-out infinite;
}

/* 4. Semanas Temáticas — llama: parpadeo orgánico */
@keyframes cat-flicker {
  0%   { transform: scaleX(1)    scaleY(1)    rotate(0deg);   }
  20%  { transform: scaleX(.92)  scaleY(1.06) rotate(-2deg);  }
  40%  { transform: scaleX(1.05) scaleY(.95)  rotate(1.5deg); }
  60%  { transform: scaleX(.95)  scaleY(1.08) rotate(-1deg);  }
  80%  { transform: scaleX(1.03) scaleY(.97)  rotate(2deg);   }
  100% { transform: scaleX(1)    scaleY(1)    rotate(0deg);   }
}
.cat-card:nth-child(4):hover .cat-card__icon--hover svg {
  transform-origin: 50% 100%;
  animation: cat-flicker 0.6s ease-in-out infinite;
}

/* 5. Productos y Recetas — gorro: saltito alegre */
@keyframes cat-pop {
  0%, 100% { transform: translateY(0)   rotate(0deg)  }
  30%       { transform: translateY(-6px) rotate(-5deg) }
  60%       { transform: translateY(-4px) rotate(4deg)  }
}
.cat-card:nth-child(5):hover .cat-card__icon--hover svg {
  animation: cat-pop 0.75s ease infinite;
}

/* Body */
.cat-card__body {
  position: relative;
  z-index: 1;
  margin-top: clamp(40px, 5vw, 64px);
}

.cat-card__name {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 14px;
}

.cat-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 4px;
  transition: color 0.35s, border-color 0.35s;
}

.cat-card:hover .cat-card__cta {
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

/* Reduced-motion: mostrar imágenes sin animación */
@media (prefers-reduced-motion: reduce) {
  .cat-card__bg { opacity: 1 !important; transform: none !important }
}

/* ============ ACCESIBILIDAD ============ */
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none }
  .hero__slide img { animation: none; transform: scale(1) }
  .card-3d > * { opacity: 1; transform: none; transition: none }
}

/* ============ NEWSLETTER REDISEÑO ============ */
#agenda.section { padding-block: 0; }
#agenda.wrap    { padding-inline: 0; max-width: 100%; }

.cg-newsletter-panel {
  position: relative;
  background: #F6EFE6;
  border-radius: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  /* fondo ancho completo, contenido alineado al mismo max-width del sitio */
  padding-block: 44px;
  padding-inline: max(var(--pad), calc((100% - var(--max)) / 2 + var(--pad)));
}

.dark-mode .cg-newsletter-panel {
  background: color-mix(in srgb, var(--surface) 80%, #F6EFE6 20%);
}

.cg-newsletter-pattern {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.cg-newsletter-content,
.cg-newsletter-form-side {
  position: relative;
  z-index: 1;
}

.cg-newsletter-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

.cg-newsletter-heading {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.18;
  color: var(--on-surface, #1A1A1A);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.cg-newsletter-heading em {
  font-style: italic;
  color: var(--accent);
  display: inline-block;
  position: relative;
}

.cg-newsletter-word-swap {
  display: inline-block;
  position: relative;
  min-width: 170px;
  text-align: left;
  vertical-align: bottom;
}

.cg-newsletter-word-swap span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.cg-newsletter-word-swap span.active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.cg-newsletter-desc {
  font-size: 15px;
  color: var(--text-muted, #4A4745);
  line-height: 1.55;
  max-width: 46ch;
  margin-top: 6px;
}

.cg-newsletter-field-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted, #4A4745);
  margin-bottom: 8px;
  display: block;
}

.cg-newsletter-subscribe-form {
  display: flex;
  gap: 10px;
}

.cg-newsletter-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.cg-newsletter-input-wrap svg {
  position: absolute;
  left: 16px;
  stroke: #8A8078;
  flex-shrink: 0;
}

.cg-newsletter-subscribe-form input[type="email"] {
  width: 100%;
  padding: 14px 18px 14px 42px;
  border-radius: 9999px;
  border: 1px solid #E4DFD6;
  background: #fff;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  outline: none;
  color: #1A1A1A;
}

.dark-mode .cg-newsletter-subscribe-form input[type="email"] {
  background: var(--surface);
  border-color: var(--border);
  color: var(--on-surface);
}

.cg-newsletter-subscribe-form input[type="email"]:focus {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(156, 30, 33, 0.12);
}

.cg-newsletter-subscribe-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  cursor: pointer;
  white-space: nowrap;
  transition: background 150ms ease;
}

.cg-newsletter-subscribe-form button:hover {
  background: var(--accent-dark, #7A1618);
}

.cg-newsletter-social-proof {
  margin-top: 16px;
  font-size: 12.5px;
  color: #8A8078;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cg-newsletter-social-proof .cg-newsletter-stat {
  font-weight: 700;
  color: var(--accent);
}

.cg-newsletter-avatar-stack {
  display: flex;
}

.cg-newsletter-avatar-stack span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 8.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #F6EFE6;
  margin-left: -7px;
}

.cg-newsletter-avatar-stack span:first-child { margin-left: 0; }
.cg-newsletter-avatar-stack span:nth-child(2) { background: #69727D; }
.cg-newsletter-avatar-stack span:nth-child(3) { background: #B0524F; }
.cg-newsletter-avatar-stack span:nth-child(4) { background: #4A4745; }

@media (max-width: 800px) {
  .cg-newsletter-panel {
    grid-template-columns: 1fr;
    padding-block: 32px;
    padding-inline: var(--pad);
  }
  .cg-newsletter-subscribe-form {
    flex-direction: column;
  }
  .cg-newsletter-heading {
    font-size: 26px;
  }
  .cg-newsletter-word-swap {
    min-width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cg-newsletter-word-swap span {
    transition: none;
  }
}
