/* =========================================================
   Una Pizza Vilassar de Mar
   Identidad: la caja de cartón kraft con dientes negros,
   rojo tomate y Archivo extra-ancha.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --tomato: #da2c21;
  --tomato-hot: #b8211a;
  --kraft: #d6b68a;
  --kraft-soft: #e6d2b3;
  --ink: #000;
  --paper: #fff;
  --basil: #2f6b35;
  --muted: rgba(0, 0, 0, .68);
  --muted-inv: rgba(255, 255, 255, .74);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --radius-lg: 28px;
  --radius-sm: 10px;
  --header-h: 72px;

  --teeth-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 0h24L12 12z'/%3E%3C/svg%3E");
  --teeth-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 12h24L12 0z'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*,
*::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;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--tomato); }

:focus-visible {
  outline: 3px solid var(--tomato);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible,
.on-red :focus-visible { outline-color: #fff; }

p { margin: 0 0 1em; }
ul,
ol.steps { padding: 0; margin: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  font-stretch: 125%;
  line-height: .95;
  letter-spacing: -.022em;
  text-wrap: balance;
}

.display {
  font-size: clamp(2.7rem, 7.4vw, 6.6rem);
  line-height: .88;
  letter-spacing: -.03em;
}
.h2 { font-size: clamp(2.1rem, 4.8vw, 4rem); }
.h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-stretch: 112%; line-height: 1.1; letter-spacing: -.01em; }

.lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  max-width: 34em;
}
.measure { max-width: 38em; }
.muted { color: var(--muted); }
.on-dark .muted { color: var(--muted-inv); }

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

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

.bg-kraft { background: var(--kraft); }
.bg-kraft-soft { background: var(--kraft-soft); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-red { background: var(--tomato); color: #fff; }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus { top: 12px; }

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

/* ---------- Teeth (el borde de nuestra caja) ---------- */
.teeth-top,
.teeth-bottom { position: relative; }

.teeth-top::before,
.teeth-bottom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--teeth-color, #000);
  -webkit-mask: var(--teeth-up) repeat-x 0 0 / 28px 14px;
  mask: var(--teeth-up) repeat-x 0 0 / 28px 14px;
  pointer-events: none;
  z-index: 2;
}
.teeth-top::before { bottom: 100%; }
.teeth-bottom::after {
  top: 100%;
  -webkit-mask-image: var(--teeth-down);
  mask-image: var(--teeth-down);
}

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--ink);
  --b-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 52px;
  padding: .8em 1.5em;
  border: 2px solid var(--b-bg);
  border-radius: 999px;
  background: var(--b-bg);
  color: var(--b-fg);
  font: inherit;
  font-weight: 750;
  font-stretch: 112%;
  font-size: 1.02rem;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { color: var(--b-fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn--order { --b-bg: var(--tomato); }
.btn--order:hover { --b-bg: var(--tomato-hot); }
.btn--ink:hover { --b-bg: #262626; }
.btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn--ghost,
.on-red .btn--ghost { color: #fff; }
.on-dark .btn--ghost:hover,
.on-red .btn--ghost:hover { background: #fff; color: #000; border-color: #fff; }
.btn--white { --b-bg: #fff; --b-fg: #000; }
.btn--white:hover { --b-bg: var(--kraft); }
.btn--big { min-height: 62px; font-size: 1.15rem; padding-inline: 1.8em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.link-arrowless {
  font-weight: 700;
  font-stretch: 112%;
  text-decoration: underline;
  text-decoration-color: var(--tomato);
  text-decoration-thickness: 3px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
}
.site-header .bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex: none;
}
.brand img { width: 50px; height: 50px; }
.brand span {
  font-weight: 800;
  font-stretch: 125%;
  font-size: .95rem;
  line-height: 1;
  letter-spacing: -.01em;
}
.brand small {
  display: block;
  font-weight: 500;
  font-stretch: 100%;
  font-size: .78rem;
  color: var(--muted-inv);
  margin-top: 3px;
  letter-spacing: 0;
}
.brand:hover { color: #fff; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 26px); }
.nav a {
  display: block;
  padding: 8px 2px;
  font-weight: 650;
  font-stretch: 108%;
  font-size: .98rem;
  text-decoration: none;
  color: #fff;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: #fff; border-bottom-color: var(--kraft); }
.nav a[aria-current="page"] { border-bottom-color: var(--tomato); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-stretch: 108%;
  padding: 8px 4px;
}
.header-call svg { width: 18px; height: 18px; }
.header-call:hover { color: var(--kraft); }
.header-order { min-height: 44px; padding: .55em 1.15em; font-size: .98rem; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #1f1f1f;
  color: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
  flex: none;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .25s, background-color .25s;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1140px) {
  .header-call .num { display: none; }
}

@media (max-width: 1020px) {
  .menu-toggle { display: grid; }
  .header-call { display: none; }
  .header-actions { margin-left: auto; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--ink);
    padding: 28px var(--gutter) 120px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .menu-open .nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .25s, transform .25s;
  }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    font-weight: 800;
    font-stretch: 125%;
    letter-spacing: -.02em;
    padding: 14px 0;
    border-bottom: 1px solid #2a2a2a;
  }
  .nav a[aria-current="page"] { color: var(--kraft); border-bottom-color: #2a2a2a; }
  .nav a:hover { border-bottom-color: #2a2a2a; color: var(--kraft); }
  .menu-open { overflow: hidden; }
}

@media (max-width: 420px) {
  .brand span { display: none; }
  .brand img { width: 46px; height: 46px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--kraft);
  overflow: hidden;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 110px);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}
.hero h1 { margin-bottom: 24px; }
.hero h1 .line { display: block; }
.hero h1 .where {
  display: block;
  font-size: .42em;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin-top: .45em;
  font-stretch: 112%;
}
.hero .lead { color: rgba(0, 0, 0, .8); }

.hero-art {
  position: relative;
  aspect-ratio: 1;
  width: 118%;
  margin-right: -18%;
}
.hero-art .pie {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(74, 44, 10, .35));
  animation: pie-in 1.3s cubic-bezier(.2, .8, .2, 1) both .1s;
}
@keyframes pie-in {
  from { transform: translateX(22%) rotate(70deg) scale(.92); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.stamp {
  position: absolute;
  left: 2%;
  bottom: 6%;
  width: clamp(112px, 13vw, 156px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--tomato);
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  transform: rotate(-10deg);
  box-shadow: 0 0 0 6px var(--kraft), 0 0 0 8px var(--tomato);
  animation: stamp-in .5s cubic-bezier(.3, 1.6, .5, 1) both 1.15s;
}
.stamp b {
  display: block;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-stretch: 125%;
  font-weight: 850;
  line-height: .9;
  letter-spacing: -.03em;
}
.stamp span { font-size: clamp(.78rem, 1vw, .9rem); font-weight: 650; line-height: 1.15; margin-top: 4px; }
@keyframes stamp-in {
  from { transform: rotate(-30deg) scale(.2); opacity: 0; }
  to { transform: rotate(-10deg) scale(1); opacity: 1; }
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  font-weight: 650;
  font-size: .98rem;
}
.hero-facts li { display: flex; align-items: center; gap: 8px; }
.hero-facts li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--ink);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { width: 92%; margin: 8px -14% 0 auto; max-width: 520px; }
}

/* ---------- Page hero (subpáginas) ---------- */
.page-hero {
  background: var(--kraft);
  padding-block: clamp(56px, 8vw, 112px) clamp(56px, 7vw, 96px);
  overflow: hidden;
}
.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.page-hero .display { font-size: clamp(2.5rem, 6.4vw, 5.6rem); margin-bottom: 22px; }
.page-hero .art img { width: 100%; height: auto; }
.page-hero .art--photo img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transform: rotate(2.5deg);
  box-shadow: 0 24px 50px rgba(74, 44, 10, .3);
}
.page-hero--plain .wrap { grid-template-columns: 1fr; }

.crumbs { font-size: .92rem; margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .55; }
.crumbs a { font-weight: 600; }

@media (max-width: 860px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero .art { max-width: 420px; }
}

/* ---------- Order band ---------- */
.order {
  --teeth-color: var(--ink);
}
.order .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.order-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.order-photos img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.order-photos img:nth-child(2) { margin-top: 56px; }

.order-ways {
  margin-top: 34px;
  border-top: 1px solid #333;
}
.order-ways li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid #333;
  align-items: start;
}
.order-ways svg { width: 30px; height: 30px; color: var(--kraft); margin-top: 2px; }
.order-ways strong { display: block; font-stretch: 112%; font-size: 1.1rem; }
.order-ways span { color: var(--muted-inv); font-size: .98rem; }

.small-print { font-size: .95rem; margin-top: 18px; }
.on-dark .small-print a { color: #fff; }
.on-dark .small-print a:hover { color: var(--kraft); }

@media (max-width: 860px) {
  .order .wrap { grid-template-columns: 1fr; }
  .order-photos { order: 2; }
}

/* ---------- Section heading ---------- */
.head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.head--split {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: end;
  gap: 18px 56px;
}
.head--split p { margin: 0; }
@media (max-width: 860px) { .head--split { grid-template-columns: 1fr; } }

/* ---------- Pizzas (tabla de menú) ---------- */
.pies {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 44px);
}
.pie-item { text-align: center; }
.pie-item figure { margin: 0 auto 18px; width: min(100%, 280px); aspect-ratio: 1; }
.pie-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .9s cubic-bezier(.2, .8, .2, 1);
}
.pie-item:hover img { transform: rotate(28deg) scale(1.03); }
.pie-item h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 8px; }
.pie-item p { color: var(--muted); max-width: 22em; margin: 0 auto; font-size: 1rem; }
.pie-item .veg {
  display: inline-block;
  margin-top: 10px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--basil);
}

@media (max-width: 900px) { .pies { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .pies { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .pie-item h3 { font-size: 1.3rem; }
  .pie-item p { font-size: .92rem; }
}

.price-note {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 40px;
  padding: clamp(24px, 4vw, 40px);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  background: var(--paper);
}
.price-note h3 { margin-bottom: 8px; }
.price-note p { margin: 0; color: var(--muted); }
.price-note .btn-row { margin: 0; }
@media (max-width: 760px) { .price-note { grid-template-columns: 1fr; } }

/* ---------- Pasos de la masa ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 36px);
  counter-reset: step;
}
.step { counter-increment: step; }
.step figure { margin: 0 0 20px; position: relative; }
.step img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.step figure::after {
  content: counter(step);
  position: absolute;
  left: 16px;
  bottom: -26px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--kraft);
  display: grid;
  place-items: center;
  font-weight: 850;
  font-stretch: 125%;
  font-size: 1.9rem;
  border: 4px solid var(--kraft);
}
.step h3 { margin: 40px 0 10px; }
.step p { margin: 0; }
@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .step img { aspect-ratio: 5 / 4; }
}

/* ---------- Fuego ---------- */
.fire { --teeth-color: var(--ink); overflow-x: clip; }
.fire-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.fire-photo { position: relative; }
.fire-photo img:first-child { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.fire-photo img + img {
  position: absolute;
  width: 52%;
  right: -6%;
  bottom: -10%;
  border-radius: var(--radius-sm);
  border: 6px solid #000;
  aspect-ratio: 1;
  object-fit: cover;
}
.fire-points { margin-top: 30px; display: grid; gap: 24px; }
.fire-points h3 { margin-bottom: 6px; color: var(--kraft); }
.fire-points p { margin: 0; color: var(--muted-inv); }
.ffp {
  width: min(560px, 80%);
  margin: clamp(72px, 9vw, 120px) auto 0;
  opacity: .95;
}
@media (max-width: 860px) {
  .fire-grid { grid-template-columns: 1fr; }
  .fire-photo { margin-bottom: 40px; margin-right: 6%; }
}

/* ---------- Bloques imagen + texto ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split--rev > :first-child { order: 2; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.duo img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; aspect-ratio: 3 / 4; }
.duo img:first-child { aspect-ratio: 4 / 5; transform: translateY(-36px); }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .duo img:first-child { transform: none; }
}

.quote-oil {
  margin: 26px 0 0;
  padding: 20px 22px;
  border-left: 6px solid var(--tomato);
  background: var(--kraft-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.quote-oil strong { display: block; font-stretch: 112%; font-size: 1.15rem; margin-bottom: 4px; }
.quote-oil p { margin: 0; }

/* ---------- Equipo (rojo) ---------- */
.team .wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.team-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 400 / 535;
  max-width: 420px;
  background: #000;
  transform: rotate(-2.5deg);
  box-shadow: 0 0 0 8px #fff;
}
.team-video video { width: 100%; height: 100%; object-fit: cover; }
.team p { color: rgba(255, 255, 255, .9); }
@media (max-width: 860px) {
  .team .wrap { grid-template-columns: 1fr; }
  .team-video { max-width: 320px; margin: 0 auto 8px; }
}

/* ---------- Foodtruck teaser ---------- */
.truck-art { position: relative; }
.truck-art img { width: 100%; }

.event-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.event-list li {
  padding: 7px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 650;
  font-size: .95rem;
}

/* ---------- Visítanos ---------- */
.visit {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.facts { display: grid; gap: 22px; margin: 30px 0; }
.facts dt { font-weight: 800; font-stretch: 112%; font-size: 1.05rem; margin-bottom: 2px; }
.facts dd { margin: 0; color: var(--muted); }
.facts dd a { color: var(--ink); font-weight: 650; }

.map {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--kraft-soft);
  border: 2px solid var(--ink);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background:
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(0, 0, 0, .07) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(0, 0, 0, .07) 46px 48px),
    var(--kraft-soft);
}
.map-facade .pin {
  width: 54px;
  height: 54px;
  color: var(--tomato);
  margin-bottom: 4px;
}
.map-facade p { margin: 0; max-width: 26em; font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-weight: 750;
  font-stretch: 112%;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(#fff, #fff) center / 12px 2px no-repeat,
    linear-gradient(#fff, #fff) center / 2px 12px no-repeat,
    var(--ink);
  transition: transform .3s, background-color .3s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
  background-color: var(--tomato);
}
.faq .answer { padding: 0 0 24px; max-width: 46em; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* ---------- Carta ---------- */
.menu-section + .menu-section { margin-top: clamp(64px, 8vw, 110px); }
.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 5vw, 72px);
}
.menu-list li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 2px dotted rgba(0, 0, 0, .35);
}
.menu-list li.no-img { grid-template-columns: 1fr; }
.menu-list img { width: 92px; height: 92px; object-fit: contain; }
.menu-list h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 6px; }
.menu-list p { margin: 0; color: var(--muted); font-size: 1rem; }
.menu-list .tag {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--basil);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  font-stretch: 100%;
  letter-spacing: 0;
}
@media (max-width: 760px) { .menu-list { grid-template-columns: 1fr; } }

.menu-cta {
  position: sticky;
  bottom: 18px;
  z-index: 10;
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  padding: 16px 16px 16px 26px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
}
.menu-cta p { margin: 0; font-weight: 650; }
@media (max-width: 900px) { .menu-cta { display: none; } }

/* ---------- Reservas ---------- */
.call-card {
  display: grid;
  gap: 8px;
  padding: clamp(28px, 4vw, 48px);
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
}
.call-card .num {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 850;
  font-stretch: 110%;
  letter-spacing: -.03em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.call-card .num:hover { color: var(--kraft); }

.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.tips h3 { margin-bottom: 8px; }
.tips p { margin: 0; color: var(--muted); }
.tips > div { border-top: 3px solid var(--ink); padding-top: 18px; }
@media (max-width: 860px) { .tips { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal > * { max-width: 46rem; }
.legal h2 { font-size: 1.45rem; font-stretch: 112%; margin: 2em 0 .6em; line-height: 1.15; }
.legal ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .35em; }

/* ---------- Kit Digital ---------- */
.funding { background: #fff; padding: 22px 0; border-top: 1px solid rgba(0, 0, 0, .1); }
.funding img { width: min(100%, 760px); margin: 0 auto; height: auto; }

/* ---------- Footer ---------- */
.site-footer {
  --teeth-color: var(--ink);
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 8vw, 104px) 0 32px;
  margin-top: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer-claim {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  margin-bottom: 26px;
}
.site-footer h2.label {
  font-size: 1rem;
  font-stretch: 112%;
  font-weight: 750;
  letter-spacing: 0;
  color: var(--kraft);
  margin-bottom: 14px;
  line-height: 1.2;
}
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--kraft); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--muted-inv); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: grid;
  place-items: center;
}
.social a:hover { background: #fff; color: #000; }
.social svg { width: 20px; height: 20px; }
.footer-bottom {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid #2a2a2a;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: .9rem;
  color: var(--muted-inv);
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 960px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Barra de acción móvil ---------- */
.action-bar { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0, 0, 0, .94);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    min-height: 54px;
    padding: 0 6px;
    border-radius: 14px;
    background: #222;
    color: #fff;
    text-decoration: none;
    font-weight: 750;
    font-stretch: 108%;
    font-size: .98rem;
    white-space: nowrap;
  }
  .action-bar a.primary { background: var(--tomato); }
  .action-bar svg { width: 19px; height: 19px; flex: none; }
}
@media (max-width: 389px) {
  .action-bar a { font-size: .92rem; gap: 5px; }
  .action-bar svg { display: none; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    transition-duration: .001ms !important;
  }
}

/* "Llamar" dentro del menú solo en móvil */
.nav .nav-call { display: none; }
@media (max-width: 1020px) {
  .nav .nav-call { display: block; }
  .nav .nav-call a { color: var(--kraft); }
}

/* =========================================================
   v2: carta digital, vídeos y un punto más gamberro
   ========================================================= */

/* Titular escalonado */
.hero h1 .indent { padding-left: .9em; }

/* Hero con reel */
@media (min-width: 861px) {
  .hero .wrap { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
}
.hero-media {
  position: relative;
  justify-self: center;
  width: min(100%, 360px);
  margin-block: 10px 30px;
}
.hero-pie {
  position: absolute;
  z-index: 3;
  width: 74%;
  left: -46%;
  bottom: -8%;
  filter: drop-shadow(0 26px 30px rgba(74, 44, 10, .4));
  animation: pie-in 1.3s cubic-bezier(.2, .8, .2, 1) both .15s;
  pointer-events: none;
}
.hero-media .stamp {
  left: auto;
  right: -14%;
  top: -6%;
  bottom: auto;
  z-index: 4;
}

/* Reel (vídeo vertical) */
.reel {
  position: relative;
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 0 0 8px #000, 0 34px 60px rgba(0, 0, 0, .35);
  isolation: isolate;
}
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel--hero { transform: rotate(3deg); }
.reel--tilt-left { transform: rotate(-3deg); box-shadow: 0 0 0 8px var(--kraft), 0 34px 60px rgba(0, 0, 0, .5); }
.reel--white { transform: rotate(-2.5deg); box-shadow: 0 0 0 8px #fff, 0 30px 60px rgba(0, 0, 0, .3); }
.reel .sound {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 16px 8px 12px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 750;
  font-size: .92rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
  transition: background-color .2s, color .2s, transform .2s;
}
.reel .sound:hover { transform: scale(1.05); }
.reel .sound svg { width: 20px; height: 20px; }
.reel .sound .w { display: none; }
.reel .sound[aria-pressed="true"] { background: var(--tomato); color: #fff; }
.reel .sound[aria-pressed="true"] .w { display: inline; }
.reel .sound[aria-pressed="true"] .x { display: none; }

@media (max-width: 860px) {
  .hero-media { width: min(66%, 320px); justify-self: end; margin: 26px 8% 40px 0; }
  .hero-pie { width: 82%; left: -62%; }
  .hero-media .stamp { right: -10%; }
}

/* Cinta en movimiento */
.ticker {
  position: relative;
  z-index: 5;
  width: 106%;
  margin: -22px -3% -18px;
  background: var(--tomato);
  color: #fff;
  overflow: hidden;
  transform: rotate(-1.6deg);
  padding: 16px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker-track > div { display: flex; align-items: center; }
.ticker span {
  font-weight: 850;
  font-stretch: 125%;
  font-size: clamp(1.3rem, 2.6vw, 2.1rem);
  letter-spacing: -.02em;
  white-space: nowrap;
  padding-inline: 22px;
}
.ticker svg { width: 30px; height: 30px; color: var(--kraft); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Banda de la carta */
.carta-band { --teeth-color: var(--ink); padding-top: calc(var(--section) + 20px); }
.carta-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.on-dark .small-print a { color: #fff; }
.pie-pile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  width: min(100%, 460px);
  justify-self: center;
}
.pie-pile img {
  position: absolute;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .55));
  transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.pie-pile .p1 { width: 66%; left: 17%; top: 17%; z-index: 2; }
.pie-pile .p2 { width: 46%; right: -2%; top: -2%; transform: rotate(20deg); }
.pie-pile .p3 { width: 44%; left: -2%; bottom: -2%; z-index: 3; transform: rotate(-15deg); }
.pie-pile:hover .p1 { transform: rotate(40deg); }
.pie-pile:hover .p2 { transform: rotate(-20deg) translate(6px, -6px); }
.pie-pile:hover .p3 { transform: rotate(25deg) translate(-6px, 6px); }
.pie-pile .sticker { right: 4%; bottom: 8%; z-index: 4; }
@media (max-width: 860px) {
  .carta-band .wrap { grid-template-columns: 1fr; }
  .pie-pile { width: min(86%, 380px); }
}

/* Pegatinas */
.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  text-align: center;
  width: clamp(96px, 11vw, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  font-weight: 850;
  font-stretch: 112%;
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  line-height: 1.05;
  transform: rotate(12deg);
  pointer-events: none;
}
.sticker--kraft { background: var(--kraft); color: #000; box-shadow: 0 0 0 4px #000, 0 0 0 6px var(--kraft); }
.sticker--red { background: var(--tomato); color: #fff; box-shadow: 0 0 0 4px #000, 0 0 0 6px var(--tomato); }

/* Reel en la sección del fuego */
.fire-reel { position: relative; width: min(100%, 360px); justify-self: center; }
.fire-reel .sticker { left: -16%; top: 10%; transform: rotate(-12deg); z-index: 3; }
@media (max-width: 860px) {
  .fire-reel { width: min(78%, 330px); margin: 10px auto 30px; }
  .fire-reel .sticker { left: -12%; }
}

/* Reel en cabeceras de página y en "Nosotros" */
.art--reel { width: min(100%, 340px); justify-self: center; }
.team .art--reel { justify-self: center; }
@media (max-width: 860px) {
  .page-hero .art--reel { width: min(72%, 300px); margin: 12px auto 0; }
  .team .art--reel { width: min(72%, 300px); margin: 0 auto 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* v3: portada con la pizza como protagonista */
.hero-plate {
  position: relative;
  aspect-ratio: 1;
  width: 122%;
  margin-right: -22%;
}
.hero-disc {
  position: absolute;
  inset: 6% -4% -2% 8%;
  border-radius: 50%;
  background: var(--tomato);
  box-shadow: inset 0 0 0 14px rgba(0, 0, 0, .12);
}
.hero-big {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 34px 44px rgba(60, 20, 0, .45));
  animation: pie-in 1.3s cubic-bezier(.2, .8, .2, 1) both .1s;
}
.hero-plate .stamp {
  z-index: 3;
  left: -4%;
  bottom: 4%;
  background: #000;
  box-shadow: 0 0 0 6px var(--kraft), 0 0 0 8px #000;
}
.hero-sticker {
  z-index: 3;
  right: 6%;
  top: -2%;
  transform: rotate(14deg);
  font-size: clamp(.85rem, 1.1vw, 1rem);
}
@media (max-width: 860px) {
  .hero-plate { width: 104%; margin: 6px -14% 10px auto; max-width: 560px; }
  .hero-plate .stamp { left: 0; }
  .hero-sticker { right: 14%; }
}

/* Carta digital embebida (/pedido-online/) */
.webapp-page { background: var(--kraft); }
.webapp-bar { padding: 22px 0 10px; }
.webapp-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.webapp-bar h1 { margin: 0; font-size: 1.25rem; font-weight: 800; font-stretch: 125%; text-transform: uppercase; }
.webapp-bar a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; color: inherit; }
.webapp-bar svg { width: 16px; height: 16px; }
.webapp-frame {
  display: block;
  width: 100%;
  height: calc(100vh - var(--header-h) - 64px);
  height: calc(100dvh - var(--header-h) - 64px);
  min-height: 480px;
  border: 0;
  background: #fff;
}
@media (max-width: 900px) {
  .webapp-frame {
    height: calc(100vh - var(--header-h) - 64px - 76px - env(safe-area-inset-bottom));
    height: calc(100dvh - var(--header-h) - 64px - 76px - env(safe-area-inset-bottom));
  }
}
