:root {
  --papel: #ffffff;
  --tinta: #111111;
  --gris: #6f6a66;
  --linea: #e7e4e1;
  --suave: #f4f2f0;
  --rojo: #b3261e;
  --ancho: 78rem;
  --margen: clamp(1.25rem, 5vw, 3.5rem);
  --fuente: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--papel); color: var(--tinta); font-family: var(--fuente);
  font-size: 1.0625rem; line-height: 1.55; font-variation-settings: "wdth" 100; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rojo); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-weight: 800; font-stretch: 112%; font-variation-settings: "wdth" 112; letter-spacing: -.02em; margin: 0; }

/* Barra */
.barra { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem var(--margen); background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linea); }
.marca { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 700; letter-spacing: -.01em; }
.marca img { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linea); }
nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2rem); font-size: .95rem; }
nav a { text-decoration: none; }
nav a:not(.boton):hover, nav a[aria-current="page"] { color: var(--rojo); }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: .55rem 1.15rem;
  background: var(--tinta); color: var(--papel); border: 1.5px solid var(--tinta); border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: .95rem; transition: background .2s, color .2s, border-color .2s; }
.boton:hover { background: var(--rojo); border-color: var(--rojo); }
.boton.linea { background: transparent; color: var(--tinta); }
.boton.linea:hover { background: var(--tinta); color: var(--papel); border-color: var(--tinta); }
.boton.grande { min-height: 3.25rem; padding: .8rem 1.6rem; font-size: 1rem; }
.flecha { display: inline-flex; gap: .5rem; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: .15rem; }
.flecha span { transition: transform .2s; }
.flecha:hover { color: var(--rojo); }
.flecha:hover span { transform: translateX(4px); }

/* Hero */
.hero { max-width: var(--ancho); margin: 0 auto; padding: clamp(2.5rem, 7vw, 5.5rem) var(--margen) clamp(3rem, 7vw, 5rem);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.etiqueta { margin: 0 0 1.75rem; font-size: .85rem; color: var(--gris); }
.estado { display: inline-flex; align-items: center; gap: .55rem; }
.estado::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gris); }
.estado.abierto::before { background: #1f8a4c; box-shadow: 0 0 0 4px rgba(31,138,76,.15); }
.estado.cerrado::before { background: var(--rojo); }
h1 { font-size: clamp(3rem, 8.6vw, 7rem); line-height: .92; font-weight: 900; letter-spacing: -.035em; margin-bottom: 1.75rem; }
h1 em { font-style: normal; color: var(--rojo); }
.bajada { max-width: 30rem; margin: 0 0 2.25rem; font-size: 1.15rem; color: var(--gris); }
.acciones { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }

/* Cinta */
.cinta { overflow: hidden; border-block: 1px solid var(--linea); padding: 1.1rem 0; }
.cinta-pista { display: flex; width: max-content; animation: correr 40s linear infinite; }
.cinta span { font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 700; font-variation-settings: "wdth" 115;
  letter-spacing: -.01em; padding: 0 1.4rem; white-space: nowrap; }
.cinta span::after { content: "✦"; color: var(--rojo); font-size: .6em; margin-left: 2.8rem; vertical-align: middle; }
@keyframes correr { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cinta-pista { animation: none; } html { scroll-behavior: auto; } }

/* Secciones */
.seccion { max-width: var(--ancho); margin: 0 auto; padding: clamp(3.5rem, 8vw, 6rem) var(--margen); }
.numero-seccion { margin: 0 0 1rem; font-size: .85rem; font-weight: 600; color: var(--rojo); font-variant-numeric: tabular-nums; }
h2 { font-size: clamp(2.2rem, 5.2vw, 4rem); line-height: .98; }
.cabecera { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.picadas-cuerpo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem clamp(2rem, 6vw, 5rem); align-items: start; }
.pasos { list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.pasos li { counter-increment: paso; display: grid; grid-template-columns: 3rem 1fr; padding: 1.5rem 0; border-top: 1px solid var(--linea); }
.pasos li:last-child { border-bottom: 1px solid var(--linea); }
.pasos li::before { content: counter(paso, decimal-leading-zero); grid-row: span 2; font-size: .85rem; color: var(--gris); padding-top: .3rem; font-variant-numeric: tabular-nums; }
.pasos h3 { font-size: 1.35rem; margin-bottom: .35rem; letter-spacing: -.01em; }
.pasos p { margin: 0; color: var(--gris); }
.foto-chica img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.pago { margin: 0; max-width: 30rem; color: var(--gris); }
.picadas-cuerpo .flecha { justify-self: start; align-self: center; }

/* Mostrador */
.lista { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); border-top: 1px solid var(--tinta); }
.lista li { display: flex; flex-direction: column; gap: .25rem; padding: 1.6rem 1.5rem 1.6rem 0; border-bottom: 1px solid var(--linea); }
.lista span { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 700; letter-spacing: -.015em; font-variation-settings: "wdth" 108; }
.lista small { font-size: .95rem; color: var(--gris); }

/* Local */
.local { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.local-foto img { width: 100%; aspect-ratio: 682 / 417; object-fit: cover; border-radius: 20px; }
.local h2 { margin-bottom: 2rem; }
.datos { margin: 0 0 2rem; }
.datos div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--linea); }
.datos div:last-child { border-bottom: 1px solid var(--linea); }
.datos dt { color: var(--gris); }
.datos dd { margin: 0; font-weight: 600; text-align: right; }
.datos a { text-decoration: none; border-bottom: 1px solid currentColor; }
.datos a:hover { color: var(--rojo); }

/* Pie */
.pie { background: var(--tinta); color: var(--papel); padding: clamp(3rem, 8vw, 5rem) var(--margen) 2rem; overflow: hidden; }
.pie-marca { margin: 0 0 2.5rem; font-size: clamp(3.5rem, 15vw, 12rem); font-weight: 900; line-height: .85;
  letter-spacing: -.045em; font-variation-settings: "wdth" 118; white-space: nowrap; }
.pie-fila { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.18); font-size: .9rem; color: rgba(255,255,255,.7); }
.pie-fila p { margin: 0; display: flex; gap: 1.5rem; }
.pie-fila .copy { display: block; }
.pie a { text-decoration: none; color: var(--papel); }
.pie a:hover { color: #ff8a7a; }
.pie :focus-visible { outline-color: var(--papel); }

/* Contacto */
.contacto { max-width: 52rem; margin: 0 auto; padding: clamp(3rem, 9vw, 6rem) var(--margen) clamp(4rem, 10vw, 7rem); }
.contacto h1 { font-size: clamp(3rem, 9vw, 6rem); }
.contacto .acciones { margin: 0 0 3.5rem; }

/* Responsive */
@media (max-width: 860px) {
  .hero, .local, .picadas-cuerpo { grid-template-columns: 1fr; }
  .hero-foto { order: -1; }
  .hero-foto img { aspect-ratio: 5 / 4; }
  .local-foto { order: 2; }
}
@media (max-width: 560px) {
  nav a:not(.boton) { display: none; }
  .marca span { font-size: .95rem; }
  .acciones .boton { flex: 1 1 100%; }
  .datos div { flex-direction: column; gap: .15rem; }
  .datos dd { text-align: left; }
  .pie-fila p { gap: 1rem; flex-wrap: wrap; }
}
