/* =========================================================
   Secciones (inspiración L'Essence du Rouge + Neva)
   ========================================================= */

/* ---------- intro ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "note collage" "title collage" "title .";
  column-gap: var(--gutter);
  padding: var(--section) var(--gutter) calc(var(--section) * .8);
}
.intro__note { grid-area: note; max-width: 34ch; }
/* murales a tinta: SVG fijo con textura de pintura sobre yeso (filtro wall-ink) */
.mural { position: relative; color: var(--mural); }
.mural [data-mural], .mural svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mural path { fill: currentColor; fill-rule: evenodd; filter: url(#wall-ink); }
.mural { mix-blend-mode: multiply; opacity: .94; }
html:not(.js) .mural { display: none; }

.intro__mural { grid-area: collage; width: min(100%, 560px); justify-self: end; aspect-ratio: 1154 / 1526; }
.intro__title {
  grid-area: title; align-self: end;
  font-size: clamp(3rem, 7.2vw, 7.6rem);
  margin-top: clamp(40px, 8vw, 120px);
}
.intro__title .script { font-size: 1.75em; color: var(--red-ink); }

/* ---------- emblema ---------- */
.emblem {
  display: grid; justify-items: center; gap: 22px;
  padding: calc(var(--section) * .5) var(--gutter) calc(var(--section) * .9);
  text-align: center;
}
.emblem p { max-width: 58ch; }
.emblem__mark { width: 58px; height: auto; fill: var(--red); margin-top: 26px; }

/* ---------- historia + cifras ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  grid-template-areas: "head text" "head stats";
  column-gap: var(--gutter); row-gap: clamp(48px, 7vw, 100px);
  padding: 0 var(--gutter) var(--section);
  border-top: 1px solid var(--line);
  padding-top: var(--section);
}
.story__head { grid-area: head; display: grid; gap: clamp(28px, 4vw, 52px); align-content: start; }
.story__photo { width: min(52%, 280px); aspect-ratio: 4 / 5; overflow: hidden; }
.story__photo img { width: 100%; height: 100%; object-fit: cover; }
.story__text { grid-area: text; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; align-content: start; }
.story__text .link-arrow { grid-column: 1; }
.stats { grid-area: stats; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 36px; align-content: end; }
.stats > div { display: grid; gap: 8px; justify-items: center; text-align: center; }
.stat__n { font-family: var(--serif); font-style: italic; font-size: clamp(3.2rem, 5.6vw, 5.4rem); line-height: .9; }

/* ---------- la excusa ---------- */
.excusa {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--gutter); align-items: center;
  padding: 0 var(--gutter) var(--section);
}
.excusa__left { display: grid; gap: clamp(40px, 6vw, 90px); }
.excusa__detail { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.excusa__small { aspect-ratio: 4 / 5; overflow: hidden; }
.excusa__small img { width: 100%; height: 100%; object-fit: cover; }
.excusa__detail .mono { display: grid; gap: 14px; max-width: 30ch; }
.excusa__big { aspect-ratio: 4 / 5; overflow: hidden; }
.excusa__big img { height: 115%; }

/* ---------- platos ---------- */
.dishes {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px);
  padding: 0 var(--gutter) var(--section);
}
.dish figure { aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 16px; }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dish:hover img { transform: scale(1.05); }
.dish h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1; margin-bottom: 8px; }
.dish p { max-width: 32ch; }

/* ---------- dos cartas (Neva) ---------- */
.cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px);
  padding: 0 var(--gutter) var(--section);
}
.card {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 1 / 1.08; border-radius: 14px;
  background: var(--ink); color: var(--cream); text-decoration: none;
  isolation: isolate;
}
.card img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: -2; transition: scale 1.4s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 4 3 / .45), transparent 30%, transparent 70%, rgb(20 4 3 / .4)); }
.card:hover img { scale: 1.05; }
.card__title {
  position: absolute; top: 26px; left: 0; right: 0; text-align: center;
  font-family: var(--wide); font-stretch: 125%; font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: .04em;
}
.card__pill {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  padding: 9px 18px; border-radius: 999px;
  background: rgb(20 6 6 / .82); color: var(--cream);
  font-family: var(--mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
  transition: background .35s var(--ease);
}
.card:hover .card__pill { background: var(--red); }

/* ---------- el sitio ---------- */
.sitio { padding: var(--section) var(--gutter); border-top: 1px solid var(--line); }
.sitio__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(48px, 6vw, 90px); }
.sitio__head p { max-width: 40ch; justify-self: end; }
.sitio__friso { width: min(100%, 1180px); margin: 0 auto clamp(56px, 7vw, 110px); aspect-ratio: 1427 / 645; }
.sitio__photos { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.sitio__photos figure { aspect-ratio: 4 / 5; overflow: hidden; }
.sitio__photos figure:last-child { margin-top: clamp(60px, 12vw, 180px); }
.sitio__photos img { height: 115%; }

/* ilo circle: ver css/circle.css */

/* ---------- reservas ---------- */
.reservas {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px) var(--gutter);
  padding: var(--section) var(--gutter);
}
.reservas__head { display: grid; gap: 26px; align-content: start; }
.reservas__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.now { min-height: 1.6em; }
.hours { align-self: start; border-top: 1px solid var(--line); }
.hours > div {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  transition: padding .4s var(--ease);
}
.hours dt { text-transform: uppercase; letter-spacing: .07em; font-size: 11.5px; }
.hours > div.is-today { padding-left: 14px; padding-right: 14px; background: var(--red); color: var(--cream); }
.reservas__map { grid-column: 2; text-decoration: none; }
.reservas__map:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- footer ---------- */
.footer { background: var(--red); color: var(--cream); padding: clamp(56px, 7vw, 96px) var(--gutter) 0; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-bottom: 40px; border-bottom: 1px solid rgb(255 250 244 / .25); }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__legal { padding: 18px 0 0; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.footer__mark { display: block; width: min(66vw, 700px); height: auto; margin: clamp(24px, 4vw, 48px) auto calc(min(66vw, 700px) * -.36); fill: var(--cream); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .intro { grid-template-columns: 1fr; grid-template-areas: "note" "collage" "title"; row-gap: 40px; }
  .intro__mural { justify-self: center; width: min(100%, 460px); }
  .intro__title { margin-top: 10px; }
  .story { grid-template-columns: 1fr; grid-template-areas: "head" "text" "stats"; }
  .excusa { grid-template-columns: 1fr; row-gap: 48px; }
  .dishes { grid-template-columns: repeat(4, 72vw); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-right: var(--gutter); }
  .dishes::-webkit-scrollbar { display: none; }
  .dish { scroll-snap-align: start; }
  .sitio__head { grid-template-columns: 1fr; }
  .sitio__head p { justify-self: start; }
  .reservas { grid-template-columns: 1fr; }
  .reservas__map { grid-column: 1; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .story__text { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .card { aspect-ratio: 1 / 1.05; }
  .excusa__detail { grid-template-columns: 1fr 1fr; }
}
