/* Rosticería Los Medina — "el letrero de la rosticería"
   Paleta tomada de su letrero y sus flyers: rojo del letrero, amarillo del pollito,
   carbón del borde de cuadros, dorado de la piel del pollo rostizado.
   Tipos: Bowlby One (rótulo gordo, como su letrero), Figtree (lectura), Shrikhand (frases).
   Firma: la tira de cuadros de su marquesina enmarcando la foto del rostizador, y el menú
   como "Arma tu pollo": tu pollo → tu complemento → tu sabor. */
:root {
  --rojo: #B8141B;          /* rojo del letrero (blanco encima: 6.7:1) */
  --rojo-osc: #8E0F14;
  --amarillo: #FFC72C;      /* amarillo del pollito (carbón encima: 11:1) */
  --amarillo-claro: #FFE08A;
  --carbon: #2B1510;        /* borde oscuro del banner */
  --carbon-2: #3D2019;
  --dorado: #9A4A0E;        /* piel del pollo, para texto sobre claro (6.4:1 sobre masa) */
  --masa: #FFF7E6;          /* fondo */
  --blanco: #FFFFFF;
  --mantel: #F6E6C6;
  --tinta: #2B1510;
  --gris: #6A4A3A;          /* texto secundario (7:1 sobre masa) */
  --linea: #EBD5AE;
  --wa: #0F7A6E;            /* verde WhatsApp oscuro (AA con texto blanco) */
  --rotulo: 'Bowlby One', 'Arial Black', Impact, sans-serif;
  --frase: 'Shrikhand', Georgia, serif;
  --cuerpo: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--masa); color: var(--tinta); font-family: var(--cuerpo); font-size: 1.0625rem; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--carbon); outline-offset: 3px; box-shadow: 0 0 0 6px var(--amarillo); }
h1, h2, h3 { line-height: 1.08; margin: 0; font-weight: 400; }
h2 { font-family: var(--rotulo); font-size: clamp(1.9rem, 7vw, 2.9rem); letter-spacing: -.005em; margin-bottom: .8rem; color: var(--rojo); text-wrap: balance; }
h3 { font-family: var(--rotulo); font-size: 1.25rem; }
p { margin: 0 0 .9rem; }
svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
section[id] { scroll-margin-top: 8.5rem; }
@media (min-width: 960px) { section[id] { scroll-margin-top: 5.8rem; } }

.envoltura { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.bloque { padding: 4rem 0; }
.intro { color: var(--gris); max-width: 60ch; font-size: 1.1rem; }
.suave { color: var(--gris); font-size: .94em; }
.sep { display: inline-block; padding: 0 .12em; }

/* ── La tira de cuadros de su marquesina ────────────────────────────── */
.cuadros { display: block; height: 16px; background-color: var(--carbon);
  background-image: repeating-linear-gradient(90deg, var(--masa) 0 16px, transparent 16px 32px);
  background-size: 100% 8px; background-repeat: no-repeat; background-position: 0 4px; }

/* ── Aviso de demo (paleta neutra ajena al negocio) ─────────────────── */
.demo-banner{background:#2b2620;color:#f2ece1;text-align:center;font-size:.85rem;
  line-height:1.4;padding:.4rem .9rem;letter-spacing:.01em;border-bottom:1px solid #4a4238}
@media (min-width:640px){.demo-banner{font-size:.92rem}}
@media (max-width:639px){.demo-banner{font-size:.8rem;padding:.28rem .5rem;line-height:1.28;letter-spacing:0}}

/* ── Barra ──────────────────────────────────────────────────────────── */
.barra { position: sticky; top: 0; z-index: 50; background: var(--rojo); color: #fff; border-bottom: 4px solid var(--amarillo); }
.barra-in { max-width: 1120px; margin: 0 auto; padding: .4rem 16px .15rem; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem .8rem; }
.marca { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; min-width: 0; color: #fff; }
.marca-logo { width: 48px; height: auto; border-radius: 8px; border: 2px solid #fff; }
.marca-txt { font-family: var(--rotulo); font-size: 1.35rem; line-height: 1; white-space: nowrap; }
.barra-wa { display: inline-flex; align-items: center; gap: .4rem; background: var(--wa); color: #fff; text-decoration: none; font-weight: 800; padding: .55rem 1rem; border-radius: 999px; font-size: .98rem; border: 2px solid #fff; }
.barra-wa:hover { background: #0B6359; }
.nav { grid-column: 1 / -1; display: flex; gap: .1rem; overflow-x: auto; scrollbar-width: none; margin: .1rem -6px 0; }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: 0 0 auto; text-decoration: none; font-weight: 700; font-size: .95rem; padding: .5rem .5rem; border-radius: 6px; color: #fff; }
.nav a:hover { background: rgba(0,0,0,.18); }
@media (max-width: 959px) {
  .barra-in { grid-template-columns: 1fr auto; }
  .barra-wa { padding: .4rem .8rem; font-size: .92rem; }
}
@media (min-width: 960px) {
  .barra-in { grid-template-columns: auto 1fr auto; padding: .5rem 16px; }
  .nav { grid-column: auto; grid-row: 1; grid-column-start: 2; justify-content: flex-end; margin: 0; }
  .nav a { padding: .35rem .6rem; }
  .marca-logo { width: 56px; }
  .marca-txt { font-size: 1.55rem; }
}

/* ── Botones ────────────────────────────────────────────────────────── */
.acciones { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .7rem 1.3rem; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: 1.05rem; border: 2px solid transparent; }
.btn svg { width: 1.3em; height: 1.3em; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #0B6359; }
.portada .btn-wa { border-color: #fff; }
.btn-amarillo { background: var(--amarillo); color: var(--carbon); }
.btn-amarillo:hover { background: var(--amarillo-claro); }
.btn-borde { border-color: var(--carbon); color: var(--carbon); background: transparent; }
.btn-borde:hover { background: var(--blanco); }

/* ── Portada: panel rojo del letrero + la foto del rostizador en marquesina ── */
.portada { background: var(--rojo); color: #fff; overflow: hidden; position: relative;
  background-image: radial-gradient(ellipse at 90% 110%, rgba(255,199,44,.28), transparent 55%); }
.portada-in { max-width: 1120px; margin: 0 auto; padding: 1.8rem 16px 3rem; display: grid; gap: 2rem; align-items: center; }
.letrero { margin: 0 0 .8rem; font-weight: 800; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.letrero::before { content: ""; display: inline-block; width: .7em; height: .7em; background: var(--amarillo); border-radius: 2px; margin-right: .5em; transform: translateY(.02em); }
.portada h1 { font-family: var(--rotulo); font-size: clamp(2.1rem, 8.6vw, 3.7rem); line-height: 1.02; margin: 0 0 1rem; max-width: 17ch; color: #fff; text-wrap: balance; text-shadow: 0 3px 0 var(--rojo-osc); }
.bajada { font-size: 1.08rem; max-width: 48ch; color: #FFF1DE; }
.portada .acciones { margin: 1.3rem 0 1.1rem; }
.estado { margin: 0 0 .5rem; font-weight: 700; font-size: .95rem; }
.estado > span { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .85rem; border-radius: 999px; background: var(--carbon); }
.estado > span > span { text-wrap: balance; }
.estado i { width: .6rem; height: .6rem; border-radius: 50%; background: #C9B5A8; flex: 0 0 auto; }
.estado-abierto i { background: #6EDC95; box-shadow: 0 0 0 3px rgba(110,220,149,.3); }
.portada-horas { list-style: none; margin: 0; padding: 0; font-size: .98rem; color: #FFF1DE; }
.portada-horas strong { color: #fff; }

.marquesina { position: relative; margin: 0 0 1.2rem; background: var(--carbon); border-radius: 14px; padding: 8px; box-shadow: 0 22px 40px -12px rgba(43,21,16,.6); transform: rotate(-1.2deg); }
.marquesina .cuadros { border-radius: 6px 6px 0 0; }
.marquesina .cuadros:last-of-type { border-radius: 0 0 6px 6px; }
.marquesina-foto { overflow: hidden; }
.marquesina-foto img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.marquesina-logo { position: absolute; left: -6px; bottom: -26px; width: 118px; height: auto; border-radius: 12px; border: 3px solid #fff; transform: rotate(-4deg); box-shadow: 0 10px 22px rgba(43,21,16,.45); }
@media (min-width: 880px) {
  .portada-in { grid-template-columns: 1.15fr 1fr; padding: 3rem 16px 4.2rem; gap: 3rem; }
  .marquesina-logo { width: 150px; left: -34px; bottom: -40px; }
}

/* ── La casa ────────────────────────────────────────────────────────── */
.casa-grid { display: grid; gap: 2.2rem; }
.casa-texto p { max-width: 58ch; }
.frase { font-family: var(--frase); font-size: clamp(1.7rem, 6.5vw, 2.3rem); line-height: 1.15; color: var(--dorado); margin: 1.4rem 0 0; max-width: 18ch; }
.casa-medios { display: grid; grid-template-columns: 1.2fr 1fr; gap: .8rem; align-items: start; }
.casa-foto, .casa-video { margin: 0; }
.casa-foto img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 6px solid var(--blanco); box-shadow: 0 14px 30px rgba(43,21,16,.18); }
.casa-video video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px; background: #000; display: block; border: 4px solid var(--amarillo); }
.casa-video figcaption { font-weight: 700; font-size: .9rem; color: var(--gris); margin-top: .45rem; line-height: 1.3; }
.casa-medios > :only-child { grid-column: 1 / -1; max-width: 440px; justify-self: center; width: 100%; }
.puntos-bloque { grid-column: 1 / -1; }
.puntos-tit { color: var(--gris); font-family: var(--cuerpo); font-weight: 800; font-size: .86rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.puntos { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.puntos li { background: var(--blanco); padding: 1.1rem 1.2rem; border-radius: 12px; border-top: 6px solid var(--amarillo); display: grid; gap: .25rem; box-shadow: 0 8px 20px -12px rgba(43,21,16,.35); }
.puntos strong { font-family: var(--rotulo); font-weight: 400; font-size: 1.15rem; line-height: 1.15; color: var(--rojo); }
.puntos span { color: var(--gris); }
@media (min-width: 760px) { .puntos { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }
@media (min-width: 880px) { .casa-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2.4rem 3.4rem; } }

/* ── Galería: sobre el mantel de cuadros de sus flyers ──────────────── */
.galeria { background-color: var(--mantel);
  background-image: linear-gradient(90deg, rgba(184,20,27,.07) 50%, transparent 50%), linear-gradient(rgba(184,20,27,.07) 50%, transparent 50%);
  background-size: 44px 44px; }
.galeria-grid { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.galeria-grid li:first-child { grid-column: 1 / -1; }
.galeria-grid figure { margin: 0; background: var(--blanco); padding: 6px 6px 0; border-radius: 12px; box-shadow: 0 10px 22px -12px rgba(43,21,16,.4); height: 100%; }
.galeria-grid img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.galeria-grid li:first-child img { aspect-ratio: 16 / 10; }
.galeria-grid figcaption { padding: .5rem .3rem .6rem; font-weight: 700; font-size: .92rem; line-height: 1.25; color: var(--tinta); }
@media (min-width: 760px) {
  .galeria-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .galeria-grid li:first-child { grid-column: span 2; grid-row: span 2; }
  .galeria-grid li:first-child img { aspect-ratio: auto; height: calc(100% - 2.4rem); }
}

/* ── Menú: Arma tu pollo (firma) ────────────────────────────────────── */
.menu { background: var(--amarillo); }
.menu h2 { color: var(--carbon); }
.menu .intro { color: var(--carbon); }
.pasos { list-style: none; margin: 1.6rem 0; padding: 0; display: grid; gap: 1.1rem; counter-reset: none; }
.paso { background: var(--masa); border-radius: 18px; padding: 1.4rem 1.2rem 1.5rem; border: 3px solid var(--carbon); box-shadow: 6px 6px 0 var(--carbon); position: relative; }
.paso h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.35rem; color: var(--rojo); margin-bottom: 1rem; }
.paso-num { flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--rojo); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; line-height: 1; }
.paso-extra { background: var(--carbon); color: #FFF1DE; box-shadow: 6px 6px 0 var(--rojo); }
.paso-extra h3 { color: var(--amarillo); }
.platos { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.platos li { display: grid; gap: .15rem; padding-bottom: .8rem; border-bottom: 2px dashed var(--linea); }
.paso-extra .platos li { border-bottom-color: rgba(255,241,222,.2); }
.platos li:last-child { border-bottom: 0; padding-bottom: 0; }
.plato { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; }
.plato-nom { font-weight: 800; line-height: 1.3; }
.plato-precio { flex: 0 0 auto; font-weight: 800; background: var(--rojo); color: #fff; padding: .1rem .6rem; border-radius: 999px; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: .98rem; }
.paso-extra .plato-precio { background: var(--amarillo); color: var(--carbon); }
.plato-desc { color: var(--gris); font-size: .96rem; line-height: 1.4; max-width: 52ch; }
.paso-extra .plato-desc { color: #EBD8C4; }
.fichas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.fichas li { background: var(--blanco); border: 2px solid var(--carbon); border-radius: 999px; padding: .4rem .9rem; font-weight: 700; line-height: 1.25; }
.menu-nota { font-size: 1rem; color: var(--carbon); max-width: 64ch; }
.menu .acciones { margin: 1rem 0 0; }
.menu .btn-borde:hover { background: var(--amarillo-claro); }
@media (min-width: 820px) {
  .pasos { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; }
  .paso-extra { grid-column: 1 / -1; }
  .paso-extra .platos { grid-template-columns: repeat(2, 1fr); gap: .8rem 2.4rem; }
  .paso-extra .platos li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .paso { padding: 1.6rem 1.5rem 1.7rem; }
}

/* ── Promociones ────────────────────────────────────────────────────── */
.promos { background: var(--carbon); color: #FFF1DE; }
.promos h2 { color: var(--amarillo); }
.promos .intro { color: #EBD8C4; }
.promos-lista { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: 1rem; }
.promos-lista li { background: var(--rojo); border-radius: 16px; padding: 1.3rem 1.3rem 1.4rem; display: grid; gap: .35rem; position: relative; overflow: hidden; }
.promos-lista li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background-image: repeating-linear-gradient(90deg, var(--amarillo) 0 12px, transparent 12px 24px); }
.promo-dia { font-family: var(--rotulo); font-size: 2rem; line-height: 1; color: var(--amarillo); text-transform: uppercase; text-shadow: 0 3px 0 var(--rojo-osc); }
.promo-tit { font-size: 1.25rem; line-height: 1.25; color: #fff; }
.promo-desc { color: #FFE9D2; margin-bottom: .3rem; }
@media (min-width: 760px) { .promos-lista { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }

/* ── Reseñas ────────────────────────────────────────────────────────── */
.calif { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .1rem 1rem; margin: 1rem 0 1.8rem; }
.calif-num { grid-row: span 2; font-family: var(--rotulo); font-size: 4.2rem; line-height: .9; color: var(--rojo); }
.estrellas { color: var(--rojo); letter-spacing: .1em; font-size: 1.25rem; }
.calif-txt { color: var(--gris); }
.calif-txt a { color: var(--tinta); font-weight: 800; }
.citas { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.citas li { background: var(--blanco); border-radius: 16px; padding: 1.2rem 1.3rem 1.3rem; border-left: 6px solid var(--amarillo); box-shadow: 0 8px 20px -12px rgba(43,21,16,.35); }
.citas .estrellas { font-size: 1.05rem; }
.citas blockquote { margin: .4rem 0 0; }
.citas p { margin: 0; font-size: 1.08rem; }
@media (min-width: 760px) { .citas { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; } }

/* ── Visítanos ──────────────────────────────────────────────────────── */
.visitanos { background: var(--mantel); }
.visita-cols { display: grid; gap: 2rem; }
.datos { margin: 1.4rem 0 0; display: grid; gap: 1rem; align-content: start; }
.datos dt { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--rojo); font-size: .84rem; }
.datos dd { margin: 0; font-size: 1.08rem; }
.datos dd a { font-weight: 700; }
.tel { font-weight: 800; font-size: 1.35rem; color: var(--tinta); }
.fachada { margin: 0 0 1.4rem; }
.fachada img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; border: 6px solid var(--blanco); }
.horario h3 { color: var(--rojo); }
.horario table { border-collapse: collapse; width: 100%; margin-top: .5rem; background: var(--blanco); border-radius: 12px; overflow: hidden; }
.horario th, .horario td { text-align: left; padding: .5rem .8rem; border-bottom: 1px solid var(--linea); font-weight: 400; }
.horario th { font-weight: 700; }
.horario tr:last-child th, .horario tr:last-child td { border-bottom: 0; }
.horario tr.hoy { background: var(--amarillo-claro); }
.horario tr.hoy .suave { color: var(--tinta); }
@media (min-width: 880px) { .visita-cols { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }

/* ── Redes ──────────────────────────────────────────────────────────── */
.redes-fila { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.redes-fila a { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; }
.redes-fila svg { width: 22px; height: 22px; }
.redes-claro a { background: var(--carbon); color: #fff; }
.redes-oscuro a, .pie .redes-oscuro a { background: var(--amarillo); color: var(--carbon); }

/* ── Pie ────────────────────────────────────────────────────────────── */
.pie { background: var(--carbon); color: #F3E3D2; }
.pie-in { display: grid; gap: 1.8rem; padding-top: 2.4rem; padding-bottom: 1.4rem; }
.pie p { margin: 0 0 .35rem; }
.pie a { color: #F3E3D2; }
.pie-id p { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .45rem; }
.pie-id a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; padding: .45rem 0; }
.pie-marca { font-family: var(--rotulo); font-size: 1.5rem; line-height: 1.15; margin-bottom: .6rem !important; gap: .8rem !important; color: #fff; }
.pie-marca img { width: 72px; height: auto; border-radius: 10px; border: 2px solid #fff; }
.pie-eslogan { font-family: var(--frase); font-size: 1.2rem; color: var(--amarillo); margin-bottom: .9rem !important; }
.pie-horario { list-style: none; padding: 0; margin: 0; }
.credito { text-align: center; font-size: .86rem; color: #DCC8B6; padding: 1rem 16px 5.5rem; margin: 0; border-top: 1px solid rgba(255,255,255,.12); }
.credito a { color: var(--amarillo); }
@media (min-width: 820px) { .pie-in { grid-template-columns: 1.3fr 1fr; } .credito { padding-bottom: 1.4rem; } }

/* ── WhatsApp flotante ──────────────────────────────────────────────── */
.wa-flotante { position: fixed; right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(0,0,0,.3); border: 2px solid #fff; }
.wa-flotante svg { width: 32px; height: 32px; }
@supports (animation-timeline: scroll()) {
  .wa-flotante { animation: waIn linear both; animation-timeline: scroll(); animation-range: 0 350px; }
  @keyframes waIn { from { opacity: 0; transform: scale(.6); pointer-events: none; } to { opacity: 1; } }
}

.calif-txt a, .tel { display: inline-block; padding: .55rem 0; }

@media (max-width: 959px) { .nav a { min-height: 36px; display: inline-flex; align-items: center; } }
@media (max-width: 400px) {
  .nav { flex-wrap: wrap; overflow: visible; }
  .nav a { padding: .3rem .2rem; font-size: .86rem; }
}
@media (max-width: 359px) {
  .marca-txt { font-size: 1.05rem; }
  .barra-wa span { display: none; }
}
@media (min-width: 880px) { .portada .btn { padding: .7rem 1.05rem; font-size: 1rem; } }
@media (max-width: 599px) {
  .portada-in { gap: 1.4rem; }
  .portada-horas { display: none; }
  .letrero { font-size: .74rem; letter-spacing: .06em; }
  .marquesina { margin: 0 4px 1.8rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media (max-height: 480px) { .barra { position: relative; } }
