/* ==========================================================================
   Barú Foods — Rostisseria en Sant Fruitós de Bages
   Sistema visual: pino (fondo de marca), menta (logo), brasa (pollo dorado)
   ========================================================================== */

@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-italic-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --pine: #11261f;
  --pine-2: #1a3529;
  --pine-3: #24453a;
  --mint: #b6dfd3;
  --mint-soft: #e2f1ec;
  --brasa: #e7a23b;
  --brasa-deep: #c98422;
  --plaster: #f4f7f4;
  --white: #ffffff;
  --ink: #11261f;
  --stone: #4b5a54;
  --stone-light: #a9bbb4;
  --line: rgba(17, 38, 31, 0.14);
  --line-light: rgba(182, 223, 211, 0.22);

  --font-display: "Gloock", "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala tipográfica (razón ~1.25) */
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --fs-xl: clamp(2rem, 1.4rem + 2.4vw, 3.1rem);
  --fs-hero: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem);

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
  --header-h: 76px;
  --radius-sm: 6px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--plaster);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

figure {
  margin: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 3px solid var(--brasa);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--brasa);
  color: var(--pine);
  font-weight: 700;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 1rem;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
  fill: currentColor;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0.8em 1.5em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: 600 var(--fs-sm) / 1.1 var(--font-body);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn--brasa {
  background: var(--brasa);
  color: var(--pine);
}
.btn--brasa:hover {
  background: #f0b452;
}
.btn--line {
  border-color: currentColor;
  color: inherit;
  background: transparent;
}
.btn--line:hover {
  background: rgba(182, 223, 211, 0.12);
}
.btn--pine {
  background: var(--pine);
  color: var(--white);
}
.btn--pine:hover {
  background: var(--pine-3);
}
.btn--lg {
  min-height: 56px;
  padding-inline: 1.9em;
  font-size: var(--fs-base);
}

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--brasa);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.text-link:hover {
  color: var(--brasa-deep);
}

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--pine);
  color: var(--white);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line-light), 0 10px 30px -18px rgba(0, 0, 0, 0.6);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand img {
  width: 52px;
  height: 52px;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
  white-space: nowrap;
}
.brand__name small {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--mint);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav a {
  position: relative;
  padding: 0.6rem 0.8rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--brasa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--white);
}
.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  color: var(--mint);
  white-space: nowrap;
}
.header-phone:hover {
  color: var(--white);
}
.header-order .short {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--line-light);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-toggle__bars {
  position: relative;
  width: 18px;
  height: 12px;
}
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.menu-toggle__bars span:nth-child(1) {
  top: 0;
}
.menu-toggle__bars span:nth-child(2) {
  top: 5px;
}
.menu-toggle__bars span:nth-child(3) {
  top: 10px;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (max-width: 1060px) {
  .header-phone span {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 66px;
  }
  .site-header__inner {
    gap: 0.6rem;
  }
  .brand img {
    width: 44px;
    height: 44px;
  }
  .brand__name {
    font-size: 1.15rem;
  }
  .header-phone {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .header-order {
    min-height: 44px;
    padding: 0.6em 1.15em;
  }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--pine);
    border-top: 1px solid var(--line-light);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.5);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.25s ease, transform 0.3s var(--ease);
  }
  .nav a {
    padding: 1rem 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
    border-bottom: 1px solid var(--line-light);
  }
  .nav a::after {
    display: none;
  }
  .nav a[aria-current="page"] {
    color: var(--brasa);
  }
}

@media (max-width: 420px) {
  .brand__name small {
    display: none;
  }
  .header-order .long {
    display: none;
  }
  .header-order .short {
    display: inline;
  }
}
@media (max-width: 350px) {
  .brand__name {
    display: none;
  }
}

/* ---------- Barra de acción móvil ---------- */
.action-bar {
  display: none;
}
@media (max-width: 900px) {
  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.5rem;
    padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom));
    background: rgba(17, 38, 31, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-light);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease);
  }
  .action-bar.is-visible {
    transform: none;
  }
  .action-bar .btn {
    min-height: 50px;
  }
  .action-bar__icon {
    width: 50px;
    padding: 0;
    border-color: var(--line-light);
    color: var(--mint);
  }
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--pine);
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  /* luz cálida tenue detrás del pollo */
  content: "";
  position: absolute;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  right: -18vw;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(231, 162, 59, 0.16), rgba(231, 162, 59, 0) 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6.5rem);
}
.hero__place {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.4rem;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--mint);
}
.hero h1 {
  font-size: var(--fs-hero);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 13ch;
}
.hero__lead {
  margin: 1.6rem 0 2.2rem;
  max-width: 36rem;
  font-size: var(--fs-md);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero__ctas .btn--line {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-light);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.78);
}
.hero__meta a {
  text-decoration: none;
}
.hero__meta a:hover {
  color: var(--white);
  text-decoration: underline;
}
.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__meta .icon {
  color: var(--mint);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--stone-light);
  flex: none;
}
.status--open .status-dot {
  background: #6fe0a6;
  box-shadow: 0 0 0 4px rgba(111, 224, 166, 0.18);
}
.status--closed .status-dot {
  background: var(--brasa);
}

/* El plato dentro del trazo de pincel del logo */
.plate {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  aspect-ratio: 1;
}
.plate__photo {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pine-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}
.plate__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  transform: scale(1.12);
}
.plate__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  color: var(--mint);
  pointer-events: none;
}
.plate__ring path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
}
.plate__badge {
  position: absolute;
  left: -2%;
  bottom: 8%;
  display: grid;
  place-items: center;
  width: clamp(104px, 26%, 136px);
  aspect-ratio: 1;
  padding: 0.8rem;
  border-radius: 50%;
  background: var(--brasa);
  color: var(--pine);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  transform: rotate(-8deg);
  text-decoration: none;
  box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.7);
}
.plate__badge strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.55em;
  line-height: 1;
  margin-bottom: 0.15rem;
}

/* Secuencia de entrada única (respeta reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .plate__ring path {
    stroke-dasharray: var(--len, 1800);
    stroke-dashoffset: var(--len, 1800);
    animation: draw 1.6s var(--ease) 0.25s forwards;
  }
  .js .plate__ring path + path {
    animation-delay: 0.9s;
    animation-duration: 1s;
  }
  .js .plate__photo {
    animation: rise 1.1s var(--ease) both;
  }
  .js .plate__badge {
    animation: pop 0.7s var(--ease) 1.3s both;
  }
  @keyframes draw {
    to {
      stroke-dashoffset: 0;
    }
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: scale(0.94);
    }
  }
  @keyframes pop {
    from {
      opacity: 0;
      transform: rotate(-30deg) scale(0.6);
    }
  }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 2rem 3.5rem;
  }
  .hero__media {
    order: -1;
  }
  .plate {
    width: min(82vw, 420px);
  }
  .hero h1 {
    max-width: 16ch;
  }
}
@media (max-width: 520px) {
  .hero__ctas .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Secciones genéricas ---------- */
.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.section--white {
  background: var(--white);
}
.section--mint {
  background: var(--mint-soft);
}
.section--pine {
  background: var(--pine);
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 {
  font-size: var(--fs-xl);
  max-width: 16ch;
}
.section-head p {
  margin: 0;
  max-width: 34rem;
  color: var(--stone);
  font-size: var(--fs-md);
  line-height: 1.55;
}
.section--pine .section-head p {
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 800px) {
  .section-head {
    grid-template-columns: 1fr;
  }
}

.prose {
  max-width: 40rem;
}
.prose p,
.prose li {
  color: var(--stone);
}
.prose h2 {
  font-size: var(--fs-lg);
  margin: 2.4rem 0 0.9rem;
  color: var(--ink);
}
.prose h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-base);
  margin: 1.6rem 0 0.4rem;
}
.prose ul {
  padding-left: 1.2rem;
  margin: 0 0 1em;
}
.prose li {
  margin-bottom: 0.35em;
}
.prose strong {
  color: var(--ink);
}
.prose a {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Pedido online ---------- */
.order {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
}
.order h2 {
  font-size: var(--fs-xl);
  max-width: 14ch;
  margin-bottom: 1.2rem;
}
.order__intro > p {
  color: var(--stone);
  font-size: var(--fs-md);
  max-width: 32rem;
}
.steps {
  list-style: none;
  margin: 2.5rem 0 2.5rem;
  padding: 0;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--pine);
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.steps h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-base);
  margin: 0.15rem 0 0.2rem;
}
.steps p {
  margin: 0;
  color: var(--stone);
}

.points {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--pine);
  color: var(--white);
  overflow: hidden;
}
.points__ring {
  position: absolute;
  right: -70px;
  top: -70px;
  width: 260px;
  height: 260px;
  color: var(--pine-3);
}
.points__ring path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
}
.points > *:not(.points__ring) {
  position: relative;
}
.points__big {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 3rem + 3vw, 5.4rem);
  line-height: 0.9;
  color: var(--brasa);
}
.points h3 {
  font-size: var(--fs-lg);
  margin: 0.8rem 0 0.8rem;
  max-width: 14ch;
}
.points p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 26rem;
}
.points .btn {
  margin-top: 0.6rem;
}
.points__note {
  display: block;
  margin-top: 1.1rem;
  font-size: var(--fs-xs);
  color: var(--stone-light);
}
@media (max-width: 860px) {
  .order {
    grid-template-columns: 1fr;
  }
}

/* ---------- Especialidades (lista de carta con foto que cambia) ---------- */
.specials {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.specials__stage {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pine-2);
}
.specials__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 1.2s var(--ease);
  transform: scale(1.04);
}
.specials__stage img.is-active {
  opacity: 1;
  transform: scale(1);
}
.specials__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(17, 38, 31, 0.82);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 500;
}
.specials__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.specials__item {
  border-bottom: 1px solid var(--line);
}
.specials__link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.3rem 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  text-decoration: none;
  color: inherit;
}
.specials__thumb {
  display: none;
}
.specials__name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  line-height: 1.1;
  transition: color 0.2s ease, transform 0.35s var(--ease);
}
.specials__desc {
  grid-column: 1;
  color: var(--stone);
  font-size: var(--fs-sm);
  max-width: 34rem;
}
.specials__tag {
  grid-row: 1;
  grid-column: 2;
  justify-self: end;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--pine);
  font-size: var(--fs-xs);
  font-weight: 600;
  white-space: nowrap;
}
.specials__item.is-active .specials__name,
.specials__link:hover .specials__name {
  color: var(--brasa-deep);
  transform: translateX(6px);
}
.specials__more {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 860px) {
  .specials {
    grid-template-columns: 1fr;
  }
  .specials__stage {
    display: none;
  }
  .specials__link {
    grid-template-columns: 88px 1fr;
    gap: 0.2rem 1rem;
    align-items: start;
  }
  .specials__thumb {
    display: block;
    grid-row: 1 / span 3;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
  }
  .specials__name,
  .specials__desc,
  .specials__tag {
    grid-column: 2;
  }
  .specials__tag {
    grid-row: auto;
    justify-self: start;
  }
}

/* ---------- Historia ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.story__media {
  position: relative;
}
.story__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 1;
  object-fit: cover;
}
.story__media--wide img {
  aspect-ratio: 4 / 3;
}
.story__media figcaption {
  margin-top: 0.8rem;
  font-size: var(--fs-xs);
  color: var(--stone-light);
}
.story h2 {
  font-size: var(--fs-xl);
  max-width: 15ch;
  margin-bottom: 1.4rem;
}
.story p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 36rem;
}
.story__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.2rem 0 2.4rem;
  padding: 0;
  list-style: none;
}
.story__facts li {
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.72);
}
.story__facts strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-lg);
  color: var(--mint);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
@media (max-width: 860px) {
  .story {
    grid-template-columns: 1fr;
  }
  .story__media {
    max-width: 460px;
  }
}
@media (max-width: 520px) {
  .story__facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reseñas ---------- */
.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0 0 1rem;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.review {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 1.8rem 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.review__stars {
  display: flex;
  gap: 2px;
  color: var(--brasa);
  margin-bottom: 1rem;
}
.review__stars .icon {
  width: 16px;
  height: 16px;
}
.review blockquote {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.38;
}
.review figcaption {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.review__avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--pine);
  font-family: var(--font-display);
  font-size: 1rem;
}
.reviews-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  color: var(--stone);
  font-size: var(--fs-sm);
}
@media (min-width: 1100px) {
  .reviews {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
  }
}

/* ---------- Visítanos ---------- */
.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}
.visit h2 {
  font-size: var(--fs-xl);
  max-width: 13ch;
  margin-bottom: 1.2rem;
}
.visit__lead {
  color: var(--stone);
  max-width: 30rem;
}
.info-list {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
}
.info-list li {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.info-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.info-list .icon {
  margin-top: 0.2rem;
  color: var(--brasa-deep);
}
.info-list strong {
  display: block;
  font-weight: 700;
}
.info-list span,
.info-list a {
  color: var(--stone);
}
.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
  color: var(--stone);
  max-width: 20rem;
}
.hours td {
  padding: 0.15rem 0;
}
.hours td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.hours tr.is-today td {
  color: var(--ink);
  font-weight: 700;
}
.visit__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.map {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pine);
  color: var(--white);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  background-color: var(--pine);
  background-image: linear-gradient(var(--pine-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--pine-2) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map__pin {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brasa);
  color: var(--pine);
}
.map__pin .icon {
  width: 28px;
  height: 28px;
}
.map__address {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  line-height: 1.2;
}
.map__note {
  max-width: 24rem;
  font-size: var(--fs-xs);
  color: var(--stone-light);
}
@media (max-width: 860px) {
  .visit {
    grid-template-columns: 1fr;
  }
  .map {
    min-height: 340px;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 52rem;
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  line-height: 1.25;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details > div {
  padding: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--stone);
}
.faq details > div p:last-child {
  margin-bottom: 0;
}

/* ---------- Banda final ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--brasa);
  color: var(--pine);
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.cta-band h2 {
  font-size: var(--fs-xl);
  max-width: 18ch;
}
.cta-band p {
  margin: 0.8rem 0 0;
  max-width: 34rem;
  font-size: var(--fs-md);
}
.cta-band__ring {
  position: absolute;
  right: 6%;
  top: 50%;
  width: 420px;
  height: 420px;
  transform: translateY(-50%);
  color: rgba(17, 38, 31, 0.1);
}
.cta-band__ring path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
}

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero {
  background: var(--pine);
  color: var(--white);
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  color: var(--stone-light);
}
.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  opacity: 0.6;
}
.breadcrumbs a {
  color: var(--mint);
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.page-hero h1 {
  font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.4rem);
  max-width: 18ch;
  letter-spacing: -0.02em;
}
.page-hero p {
  margin: 1.3rem 0 0;
  max-width: 40rem;
  font-size: var(--fs-md);
  color: rgba(255, 255, 255, 0.8);
}
.page-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.page-hero__ctas .btn--line {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
@media (max-width: 520px) {
  .page-hero__ctas .btn {
    flex: 1 1 100%;
  }
}

/* ---------- Carta ---------- */
.menu-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  border-radius: var(--radius);
  background: var(--mint-soft);
  border: 1px solid rgba(17, 38, 31, 0.08);
}
.menu-note p {
  margin: 0;
  max-width: 42rem;
}
.menu-jump {
  display: flex;
  gap: 0.5rem;
  margin: 0 0 3rem;
  padding: 0 0 0.5rem;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-jump::-webkit-scrollbar {
  display: none;
}
.menu-jump a {
  display: inline-block;
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  background: var(--white);
}
.menu-jump a:hover {
  border-color: var(--pine);
}
.menu-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.menu-section:nth-of-type(even) .menu-section__media {
  order: 2;
}
.menu-section__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.menu-section h2 {
  font-size: var(--fs-xl);
  margin-bottom: 0.8rem;
}
.menu-section__intro {
  color: var(--stone);
  max-width: 36rem;
}
.dishes {
  margin: 1.6rem 0 1.8rem;
  padding: 0;
  list-style: none;
}
.dishes li {
  padding: 0.9rem 0;
  border-top: 1px dashed var(--line);
}
.dishes h3 {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 700;
  margin: 0 0 0.15rem;
}
.dishes p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--stone);
}
.dishes .pill {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.05rem 0.5rem;
  border-radius: 999px;
  background: var(--mint-soft);
  font-size: 0.72rem;
  font-weight: 600;
  vertical-align: 0.15em;
}
@media (max-width: 860px) {
  .menu-section {
    grid-template-columns: 1fr;
  }
  .menu-section:nth-of-type(even) .menu-section__media {
    order: 0;
  }
}

/* ---------- Columnas de texto e imagen (páginas interiores) ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.split--reverse .split__media {
  order: -1;
}
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split__media--sticky {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}
.split__media figcaption {
  margin-top: 0.7rem;
  font-size: var(--fs-xs);
  color: var(--stone);
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media {
    order: 0;
  }
  .split__media--sticky {
    position: static;
  }
}

.pairings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pairings li {
  margin: 0;
}
.pairings img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.pairings h3 {
  font-size: var(--fs-md);
  margin-bottom: 0.3rem;
}
.pairings p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--stone);
}
@media (max-width: 700px) {
  .pairings {
    grid-template-columns: 1fr;
  }
  .pairings li {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    align-items: center;
  }
  .pairings img {
    margin: 0;
  }
}

/* ---------- Pie ---------- */
.site-footer {
  background: #0c1c17;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.footer-brand img {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
}
.footer-brand p {
  max-width: 22rem;
}
.footer-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--white);
}
.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list li {
  margin-bottom: 0.55rem;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--fs-xs);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.kit-digital {
  background: var(--white);
}
.kit-digital img {
  width: min(100%, 640px);
  margin-inline: auto;
  padding-block: 0.6rem;
}
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}
.notfound h1 {
  font-size: var(--fs-xl);
  margin-bottom: 1rem;
}
.notfound p {
  color: var(--stone);
}
.notfound .hero__ctas {
  justify-content: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media print {
  .site-header,
  .action-bar,
  .map,
  .cta-band {
    display: none;
  }
}
