/* ============================================================
   RICOS SPORTS BAR — estilos compartidos
   Colores de marca: carbón #191818 · crema #F7F0E4 · rojo #ED493B
   Tipografía: Barlow Condensed (titulares) + Barlow (texto)
   ============================================================ */

:root {
  --carbon: #191818;
  --carbon-2: #211f1f;
  --carbon-3: #2b2828;
  --crema: #f7f0e4;
  --crema-2: #ebe2d2;
  --crema-3: #d9cdb8;
  --rojo: #ed493b;
  --rojo-2: #c73a2e;
  --wa: #25d366;
  --wa-2: #1ebe5a;

  --ink: var(--crema);
  --ink-soft: #b8b0a4;
  --line: rgba(247, 240, 228, 0.14);

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --skew: -7deg;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--carbon);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--rojo); outline-offset: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--rojo); color: var(--crema); padding: 10px 16px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- Tipografía ------------------------------------------- */
.display, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(64px, 11.5vw, 168px); }
h2 { font-size: clamp(48px, 7.5vw, 110px); }
h3 { font-size: clamp(28px, 3vw, 44px); }
.lede { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.45; max-width: 36ch; color: var(--ink-soft); }
.on-crema .lede { color: #5f584d; }
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rojo);
}

/* ---- Botones ---------------------------------------------- */
.btn {
  --bg: var(--rojo); --fg: var(--crema);
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-display); font-weight: 700; font-style: italic;
  font-size: 20px; letter-spacing: 0.01em; line-height: 1;
  padding: 16px 24px 17px;
  transform: skewX(var(--skew));
  transition: background .18s, transform .18s var(--ease);
  white-space: nowrap;
}
.btn > * { transform: skewX(calc(var(--skew) * -1)); }
.btn:hover { background: var(--rojo-2); }
.btn:active { transform: skewX(var(--skew)) translateY(1px); }
.btn.wa { --bg: var(--wa); --fg: #0b2a17; }
.btn.wa:hover { background: var(--wa-2); }
.btn.ghost { --bg: transparent; --fg: var(--crema); box-shadow: inset 0 0 0 2px var(--crema); }
.btn.ghost:hover { background: rgba(247, 240, 228, 0.1); }
.on-crema .btn.ghost { --fg: var(--carbon); box-shadow: inset 0 0 0 2px var(--carbon); }
.on-crema .btn.ghost:hover { background: rgba(25, 24, 24, 0.07); }
.btn.sm { font-size: 17px; padding: 12px 18px 13px; }
.btn svg { width: 20px; height: 20px; flex: none; }
.link {
  font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 20px;
  border-bottom: 2px solid var(--rojo); padding-bottom: 2px;
}
.link:hover { color: var(--rojo); }

/* ---- Layout ----------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.on-crema { background: var(--crema); color: var(--carbon); --ink: var(--carbon); --ink-soft: #6b655a; --line: rgba(25, 24, 24, 0.14); }
.on-rojo { background: var(--rojo); color: var(--crema); --ink: var(--crema); --ink-soft: #ffd9d4; --line: rgba(247, 240, 228, 0.3); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
  .section-head .lede { max-width: 32ch; }
}

/* ---- Barra "Hoy" ------------------------------------------ */
.hoy {
  background: var(--rojo); color: var(--crema);
  font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 17px;
  line-height: 1.2;
  padding: 9px var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  text-align: center;
}
.hoy b { font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.hoy .sep { opacity: .55; }
.hoy a { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Header ----------------------------------------------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(25, 24, 24, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand img { width: 128px; height: auto; }
.top nav { display: none; gap: 28px; }
.top nav a { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 19px; opacity: .9; }
.top nav a:hover { color: var(--rojo); opacity: 1; }
.top .actions { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: inline-grid; place-items: center; align-content: center; width: 44px; height: 44px; gap: 5px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--crema); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav {
  display: none; background: var(--carbon-2); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 20px;
}
.mobile-nav.open { display: grid; }
.top .mobile-nav a { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 34px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.top .mobile-nav a:last-child { border: 0; }
@media (min-width: 980px) {
  .top nav { display: flex; }
  .menu-toggle, .mobile-nav { display: none !important; }
  .brand img { width: 150px; }
}

/* ---- Hero ------------------------------------------------- */
.hero { position: relative; min-height: min(92vh, 900px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 45%; }
.hero-shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(25,24,24,.35) 0%, rgba(25,24,24,.05) 30%, rgba(25,24,24,.88) 72%, var(--carbon) 100%),
    linear-gradient(100deg, rgba(25,24,24,.9) 0%, rgba(25,24,24,.55) 36%, rgba(25,24,24,.08) 60%, rgba(25,24,24,0) 78%);
}
.hero .wrap { padding-block: clamp(56px, 8vw, 110px) clamp(48px, 7vw, 96px); display: grid; gap: 28px; }
.hero h1 { max-width: 9ch; }
.hero h1 .flip { color: var(--rojo); }
.hero .lede { color: #e6ded1; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
@media (min-width: 900px) {
  .hero-media img { object-position: 70% 50%; }
}

/* ---- Franja inclinada ------------------------------------ */
.stripe-wrap { overflow: hidden; background: linear-gradient(180deg, var(--carbon) 50%, var(--crema) 50%); padding-block: 14px; }
.stripe {
  background: var(--rojo); color: var(--crema);
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1; padding: 18px 0; overflow: hidden; white-space: nowrap;
  transform: rotate(-1.4deg) scale(1.03); position: relative; z-index: 2;
}
.stripe-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.stripe-track span { display: inline-flex; gap: 48px; }
.stripe-track i { font-style: normal; color: var(--carbon); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Antojos (bento) -------------------------------------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
.dish {
  position: relative; overflow: hidden; background: var(--crema-2);
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end;
  color: var(--crema);
}
.dish img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish:hover img { transform: scale(1.04); }
.dish::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25,24,24,0) 45%, rgba(25,24,24,.88) 100%); }
.dish-cap { position: relative; z-index: 1; padding: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; width: 100%; }
.dish-cap h3 { font-size: clamp(24px, 2.6vw, 40px); }
.dish-cap small { display: none; font-family: var(--font-body); font-weight: 500; font-size: 13px; color: #d8cfc1; margin-top: 4px; font-style: normal; letter-spacing: 0; }
.dish-cap .price { font-size: clamp(26px, 2.8vw, 42px); color: var(--crema); background: var(--rojo); padding: 6px 10px 7px; transform: skewX(var(--skew)); }
.dish-cap .price > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
@media (min-width: 760px) {
  .dish-cap small { display: block; }
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; }
  .dish { aspect-ratio: auto; min-height: 260px; }
  .dish.big { grid-column: span 2; grid-row: span 2; }
  .dish.tall { grid-row: span 2; }
}
.bento-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; }
.bento-foot p { color: var(--ink-soft); }

/* ---- Semana ----------------------------------------------- */
.week { display: grid; gap: 2px; background: rgba(25,24,24,.14); border: 1px solid rgba(25,24,24,.14); }
.day { background: var(--crema); color: var(--carbon); padding: 22px 20px 24px; display: grid; gap: 14px; align-content: start; position: relative; }
.day-name { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 34px; line-height: 1; }
.day-name small { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--crema); background: var(--rojo); padding: 4px 9px 5px; transform: skewX(var(--skew)); }
.day.today { background: var(--carbon); color: var(--crema); }
.promo { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; align-items: start; padding-top: 12px; border-top: 1px solid rgba(25,24,24,.14); }
.day.today .promo { border-top-color: rgba(247,240,228,.18); }
.promo-type { grid-column: 1 / -1; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #6b655a; }
.day.today .promo-type { color: #b8b0a4; }
.promo-type svg { width: 14px; height: 14px; }
.promo h4 { grid-column: 1; grid-row: 2; font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 22px; line-height: 1.05; }
.promo .price { grid-column: 2; grid-row: 2 / span 2; font-size: 38px; color: var(--rojo); align-self: start; white-space: nowrap; text-align: right; }
.promo .price small { display: block; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: #6b655a; text-align: right; }
.day.today .promo .price small { color: #b8b0a4; }
.promo-cond { grid-column: 1; grid-row: 3; font-size: 14px; color: #6b655a; line-height: 1.35; }
.day.today .promo-cond { color: #b8b0a4; }
.day .btn { justify-self: start; margin-top: 8px; }
@media (min-width: 700px) { .week { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .week { grid-template-columns: repeat(3, 1fr); } }
.semana-foot { margin-top: 20px; font-size: 14px; color: #6b655a; max-width: 70ch; }

/* ---- Siempre (todos los días) ----------------------------- */
.siempre { margin-top: clamp(40px, 6vw, 72px); }
.siempre h3 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 18px; }
.siempre-grid { display: grid; gap: 2px; background: rgba(25,24,24,.14); border: 1px solid rgba(25,24,24,.14); }
.always { background: var(--crema); padding: 18px 18px 20px; display: grid; gap: 6px; align-content: start; }
.always .promo-type { grid-column: auto; }
.always .price { font-size: 40px; color: var(--rojo); }
.always h4 { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 22px; line-height: 1.05; }
.always p { font-size: 14px; color: #6b655a; }
@media (min-width: 700px) { .siempre-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .siempre-grid { grid-template-columns: repeat(5, 1fr); } }

/* ---- Música ----------------------------------------------- */
.musica .wrap { display: grid; gap: 40px; }
.musica h2 { color: var(--carbon); }
.musica .lede { color: #3b1612; }
.musica-copy { display: grid; gap: 26px; align-content: center; }
.nights { display: grid; border-top: 2px solid var(--carbon); }
.nights li { display: grid; grid-template-columns: 96px 1fr; gap: 2px 16px; padding: 12px 0; border-bottom: 1px solid rgba(25,24,24,.35); }
.n-day { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 20px; color: var(--carbon); grid-row: span 2; }
.n-what { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 22px; line-height: 1.05; }
.n-when { font-size: 14px; color: #3b1612; }
.musica .btn { --bg: var(--carbon); --fg: var(--crema); justify-self: start; }
.musica .btn:hover { background: #000; }
.musica-photos { display: grid; gap: 14px; }
.musica-photos img { width: 100%; height: auto; }
.musica-photos img:first-child { transform: rotate(-1.2deg); }
.musica-photos img:last-child { transform: rotate(1deg); }
@media (min-width: 900px) {
  .musica .wrap { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
}

/* ---- Billar y juegos ------------------------------------- */
.juegos-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.j { margin: 0; position: relative; overflow: hidden; background: var(--carbon-2); aspect-ratio: 4 / 5; }
.j img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.j.tall img { object-position: 50% 25%; }
.j figcaption {
  position: absolute; left: 12px; bottom: 12px;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 20px; line-height: 1;
  background: var(--rojo); color: var(--crema); padding: 7px 11px 8px; transform: skewX(var(--skew));
}
@media (min-width: 760px) {
  .juegos-grid { grid-template-columns: repeat(4, 1fr); }
  .j.tall { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.juegos .bento-foot { margin-top: 24px; }

/* ---- Temporada -------------------------------------------- */
.temporada .wrap { display: grid; gap: 32px; }
.temporada-photo img { width: 100%; height: auto; }
.temporada-copy { display: grid; gap: 20px; align-content: center; }
.temporada-copy .btn { justify-self: start; }
@media (min-width: 900px) {
  .temporada .wrap { grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
}

/* ---- Festejo ---------------------------------------------- */
.festejo .wrap { display: grid; gap: 36px; }
.festejo-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--carbon-2); }
.festejo-photo img { width: 100%; height: 100%; object-fit: cover; }
.festejo-photo .stamp {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: clamp(22px, 2.6vw, 34px); line-height: 1;
  background: var(--rojo); color: var(--crema); padding: 10px 14px 12px; transform: skewX(var(--skew));
}
.festejo-photo .stamp > span { display: inline-block; transform: skewX(calc(var(--skew) * -1)); }
.festejo-copy { display: grid; gap: 22px; align-content: center; }
.festejo-copy .big { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.festejo-copy .big .price { font-size: clamp(56px, 7vw, 96px); color: var(--rojo); }
.festejo-copy .big span { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: clamp(22px, 2.4vw, 30px); }
.incluye { display: grid; gap: 10px; }
.incluye li { display: flex; gap: 12px; align-items: flex-start; font-size: 18px; }
.incluye li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; background: var(--rojo); transform: skewX(var(--skew)); }
.fine { font-size: 14px; color: var(--ink-soft); }
@media (min-width: 900px) {
  .festejo .wrap { grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
}

/* ---- Galería ---------------------------------------------- */
.galeria { padding-block: clamp(40px, 6vw, 80px) 0; overflow: hidden; }
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 18px; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip img { flex: none; height: clamp(200px, 32vw, 360px); width: auto; scroll-snap-align: start; background: var(--carbon-2); }
.strip img:nth-child(odd) { transform: rotate(-.6deg); }
.strip img:nth-child(even) { transform: rotate(.5deg); }

/* ---- Visítanos -------------------------------------------- */
.visita .wrap { display: grid; gap: 40px; }
.visita h2 { font-size: clamp(56px, 9vw, 140px); }
.visita h2 em { color: var(--rojo); }
.info { display: grid; gap: 26px; align-content: start; }
.info-row { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.info-row .k { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.info-row .v { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 26px; line-height: 1.1; }
.info-row .v.small { font-size: 22px; }
.hours { display: grid; gap: 6px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; }
.hours div span:last-child { font-weight: 600; white-space: nowrap; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .visita .wrap { grid-template-columns: 1.1fr 1fr; align-items: start; }
  .info { grid-template-columns: 1fr 1fr; gap: 26px 40px; }
  .info-row.full { grid-column: 1 / -1; }
}

/* ---- Footer ----------------------------------------------- */
footer { border-top: 1px solid var(--line); padding: 36px 0 110px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
footer img { width: 110px; }
footer p { font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 20px; color: var(--ink-soft); }
footer small { font-size: 13px; color: var(--ink-soft); }
@media (min-width: 900px) { footer { padding-bottom: 48px; } }

/* ---- WhatsApp flotante ------------------------------------ */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #0b2a17;
  font-family: var(--font-display); font-weight: 700; font-style: italic; font-size: 18px;
  padding: 12px 16px 13px 14px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.wa-float svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .wa-float { right: 24px; bottom: 24px; } }

/* ---- Toast ------------------------------------------------ */
.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--crema); color: var(--carbon); padding: 10px 16px; font-weight: 600; font-size: 15px; z-index: 60;
  transition: transform .25s var(--ease), opacity .25s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }
