/* ===========================================================
   Pizza PerTutti — landing page
   Warm artisanal Italian: cream paper, tomato, basil, ochre
   =========================================================== */

:root {
  --paper:       #FBF5EA;
  --paper-2:     #F4EAD7;
  --card:        #FFFCF6;
  --ink:         #2A1D17;
  --ink-soft:    #6E5C50;
  --tomato:      #ca0808;
  --tomato-dark: #a00606;
  --basil:       #3E5E36;
  --basil-dark:  #2B441F;
  --ochre:       #D9912F;
  --hero-dark-rgb: 18, 22, 25;   /* #121619 — hero/header/lightbox dark */
  --line:        rgba(42, 29, 23, .12);
  --shadow-sm:   0 2px 10px rgba(42, 29, 23, .06);
  --shadow-md:   0 18px 50px rgba(42, 29, 23, .14);
  --shadow-lg:   0 30px 80px rgba(42, 29, 23, .20);
  --radius:      18px;
  --radius-lg:   28px;
  --ease:        cubic-bezier(.22, 1, .36, 1);
  --container:   1180px;
  --header-h:    78px;
  --font-display:'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:   'Hanken Grotesk', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Keyboard focus — on-brand ochre ring, visible on light & dark alike.
   No border-radius here: the outline already follows each element's own
   corner radius, so pills stay pills and the ring hugs them. */
:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.5rem);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--tomato); }

.section-title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem);
  letter-spacing: -.01em;
  margin-bottom: .6em;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tomato);
  margin: 0 0 1rem;
}
.eyebrow--light { color: #ffd9c2; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--tomato);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn--primary { box-shadow: 0 10px 26px rgba(202, 8, 8, .32); }
.btn--primary:hover { background: var(--tomato-dark); box-shadow: 0 14px 34px rgba(202, 8, 8, .4); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: transparent; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--cream { background: var(--paper); color: var(--tomato-dark); }
.btn--cream:hover { background: #fff; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--outline-light:hover { background: rgba(255,255,255,.14); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(var(--hero-dark-rgb), .85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: rgba(255, 255, 255, .12);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.site-header__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand img { width: 52px; height: 52px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -.01em;
}

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav__link {
  position: relative;
  font-weight: 600;
  font-size: .98rem;
  padding: .25rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--tomato);
  transition: width .3s var(--ease);
}
.nav__link:hover::after { width: 100%; }
.nav__phone { display: none; }
.nav__social {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .35);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.nav__social:hover { background: #fff; color: var(--ink); border-color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 11px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* slide up under the sticky header so one background spans both */
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  min-height: min(94vh, 860px);
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(var(--hero-dark-rgb));
  overflow: hidden;
}
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-pattern.png") center / cover no-repeat;
  opacity: .3;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(4.5rem, 9vw, 7rem) clamp(5rem, 9vw, 8rem);
  width: 100%;
}
.hero__content { max-width: 560px; }
.hero__title {
  font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.8rem);
  letter-spacing: -.02em;
  margin-bottom: .5em;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__title em { color: #ffc9a3; }
.hero__lead {
  font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
  max-width: 46ch;
  color: rgba(255,255,255,.9);
  margin: 0 0 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.status.status--hero {
  display: flex;
  width: fit-content;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
  margin-bottom: 0;
  backdrop-filter: blur(4px);
}

/* hero floating pizza */
.hero__visual { display: grid; place-items: center; }
.hero__pizza-wrap {
  position: relative;
  width: min(520px, 92%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.hero__pizza-wrap > picture { display: contents; }
.hero__pizza-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 60px rgba(0, 0, 0, .5));
  animation: floatPizza 6s ease-in-out infinite;
}
.hero__pizza-glow {
  position: absolute;
  inset: -20%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(202, 8, 8, .12) 0%, rgba(202, 8, 8, .04) 40%, transparent 70%);
  animation: glowPulse 4s ease-in-out infinite;
}
.hero__pizza-ring {
  position: absolute;
  inset: -8%;
  z-index: 1;
  border: 1px dashed rgba(212, 162, 78, .15);
  border-radius: 50%;
  animation: spinSlow 60s linear infinite;
}
.hero__deco {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .45));
  animation: floatDeco 6s ease-in-out infinite;
}
.hero__deco img { width: 100%; height: auto; display: block; }
.hero__deco--basil    { top: 2%;  left: 68%; width: 21%;   animation-duration: 5s;   }
.hero__deco--onion    { top: 3%;  left: 28%; width: 13.5%; animation-duration: 6s;   animation-delay: 1s; }
.hero__deco--mushroom { top: 60%; left: 9%;  width: 12.5%; animation-duration: 7s;   animation-delay: .5s; }
.hero__deco--tomato   { top: 74%; left: 78%; width: 11%;   animation-duration: 5.5s; animation-delay: 1.5s; }
.hero__deco--herb     { top: 37%; left: 5%;  width: 14.5%; animation-duration: 6.5s; animation-delay: .3s; }

.hero__divider {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: clamp(40px, 5vw, 68px);
  z-index: 2;
  pointer-events: none;
  background: url("../img/hero-tear.png") center top / 100% 100% no-repeat;
}

@keyframes floatPizza {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-12px) rotate(2deg); }
}
@keyframes floatDeco {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%      { transform: translateY(-10px) rotate(5deg); }
  66%      { transform: translateY(6px) rotate(-3deg); }
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.05); opacity: .7; }
}
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---------- About ---------- */
.about { position: relative; padding-block: clamp(4rem, 8vw, 7rem); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1.5px solid var(--basil);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about__badge {
  position: absolute;
  right: -14px; bottom: -22px;
  background: var(--tomato);
  color: #fff;
  border-radius: 50%;
  width: 116px; height: 116px;
  display: grid;
  place-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  transform: rotate(-8deg);
}
.about__badge-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.about__badge-txt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.about__text p { color: var(--ink-soft); margin: 0 0 1.1rem; }
.about__text strong { color: var(--ink); }
.about__text a { color: var(--tomato); text-decoration: underline; text-underline-offset: 3px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--tomato);
  margin-top: .4rem;
}
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Features ---------- */
.features { padding-bottom: clamp(3rem, 6vw, 5rem); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--paper-2);
  color: var(--basil);
  margin-bottom: 1.1rem;
}
.feature__icon svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.feature p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Menu ---------- */
.menu { padding-block: clamp(4rem, 8vw, 7rem); }
.menu__head { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.menu__intro { color: var(--ink-soft); margin: 0; }

.menu__search {
  position: relative;
  max-width: 460px;
  margin: 0 auto 1.6rem;
}
.menu__search-ico {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  color: var(--ink-soft);
  pointer-events: none;
}
.menu__search-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: .8rem 1.1rem .8rem 2.9rem;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 100px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.menu__search-input::placeholder { color: var(--ink-soft); }
.menu__search-input:hover { border-color: var(--ink-soft); }
.menu__search-input:focus {
  outline: none;
  border-color: var(--tomato);
  box-shadow: 0 0 0 3px rgba(202, 8, 8, .12);
}
.menu__search-input:disabled { opacity: .5; cursor: not-allowed; }

.menu__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
  margin-bottom: 2.4rem;
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  padding: .9rem 0;
  background: linear-gradient(var(--paper) 70%, transparent);
}
.menu__tab {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .92rem;
  padding: .55rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.menu__tab:hover { transform: translateY(-2px); border-color: var(--ink); color: var(--ink); }
.menu__tab.is-active { background: var(--tomato); color: #fff; border-color: var(--tomato); }

.menu__state { color: var(--ink-soft); padding: 2rem 0; }
.menu__state.is-error { color: var(--tomato-dark); }

.menu__cat-title {
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  margin: 2.4rem 0 .4rem;
}
.menu__cat-desc { color: var(--ink-soft); margin: 0 0 1.4rem; max-width: 60ch; }

.menu__list { display: grid; gap: 2rem; }
.menu__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.dish {
  display: flex;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dish:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dish__thumb {
  flex: none;
  width: 92px; height: 92px;
  border-radius: 12px;
  object-fit: cover;
  cursor: zoom-in;
  /* graceful placeholder when the photo is missing/broken — a branded
     pizza slice instead of a dead grey square; a real image paints over it */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9B49C' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 19c5 2 11 2 16 0L12 3z'/%3E%3Ccircle cx='10' cy='12.5' r='1' fill='%23C9B49C' stroke='none'/%3E%3Ccircle cx='13.5' cy='15' r='1' fill='%23C9B49C' stroke='none'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--paper-2), #ECE0CB);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 44%, cover;
}
.dish__body { flex: 1; min-width: 0; }
.dish__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .8rem;
}
.dish__name { font-size: 1.12rem; line-height: 1.25; }
.dish__price {
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--tomato);
  white-space: nowrap;
}
.dish__desc { color: var(--ink-soft); font-size: .92rem; margin: .35rem 0 0; }
.dish__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: .6rem;
}
.dish__size {
  font-size: .8rem;
  font-weight: 600;
  color: var(--basil-dark);
  background: var(--paper-2);
  border-radius: 100px;
  padding: .2rem .65rem;
}

.menu__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

/* ---------- Order CTA ---------- */
.order { padding-block: clamp(3.5rem, 7vw, 6rem); }
.order__inner {
  background: var(--tomato);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.8rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.order__inner::after {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.order__title { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); margin-bottom: .25em; }
.order__lead { margin: 0; color: rgba(255,255,255,.9); max-width: 38ch; }
.order__actions { display: flex; flex-wrap: wrap; gap: .9rem; position: relative; z-index: 1; }

/* ---------- Contact ---------- */
.contact { padding-bottom: clamp(4rem, 8vw, 7rem); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.contact__list { list-style: none; margin: 1.6rem 0; padding: 0; display: grid; gap: 1rem; }
.contact__list li { display: flex; align-items: flex-start; gap: .9rem; }
.contact__list a:hover { color: var(--tomato); }
.contact__ico {
  flex: none;
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--paper-2);
  color: var(--tomato);
}
.contact__ico svg { width: 22px; height: 22px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: .5rem 1rem;
  font-weight: 600;
  font-size: .92rem;
  margin: 0 0 .5rem;
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-soft); box-shadow: 0 0 0 0 rgba(0,0,0,0); }
.status.is-open .status__dot { background: #2f9e44; box-shadow: 0 0 0 4px rgba(47,158,68,.2); }
.status.is-closed .status__dot { background: var(--tomato); box-shadow: 0 0 0 4px rgba(202,8,8,.18); }

.hours { margin-top: 1.6rem; }
.hours__title { font-size: 1.15rem; margin-bottom: .6rem; }
.hours__list { margin: 0; }
.hours__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .9rem;
  border-radius: 12px;
}
.hours__row dt, .hours__row dd { margin: 0; }
.hours__row dt { color: var(--ink-soft); }
.hours__row dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.hours__row.is-today { background: var(--paper-2); }
.hours__row.is-today dt { color: var(--ink); font-weight: 600; }
.hours__row.is-today dd { color: var(--tomato); }

.contact__fb {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.8rem;
  font-weight: 600;
  color: var(--basil);
}
.contact__fb:hover { color: var(--tomato); }

.contact__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
  border: 1px solid var(--line);
}
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.map-nav-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.2rem;
  background: var(--tomato);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.map-nav-btn:hover {
  background: var(--tomato-dark);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d9cdc2;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.site-footer__brand img { width: 60px; height: 60px; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 28ch; color: #ab9c8f; margin: 0; }
.site-footer h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ochre);
  margin-bottom: 1rem;
}
.site-footer__col p { margin: 0; color: #c4b6a9; line-height: 1.9; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer__col a:hover { color: #fff; }
.site-footer__social {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.18);
  color: #d9cdc2;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.site-footer__social:hover { background: var(--tomato); color: #fff; border-color: var(--tomato); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .88rem;
  color: #b3a597;
}
.site-footer__top:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(var(--hero-dark-rgb), .85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: lbFade .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(960px, 100%);
  max-height: 86vh;
  width: auto; height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
  animation: lbZoom .3s var(--ease);
}
.lightbox__close {
  position: absolute;
  top: clamp(.8rem, 3vw, 1.5rem);
  right: clamp(.8rem, 3vw, 1.5rem);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 1.9rem; line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .22); transform: scale(1.05); }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbZoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero__content { max-width: 600px; margin-inline: auto; order: 1; }
  .hero__content .status--hero { margin-inline: auto; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { order: 0; }
  .hero__pizza-wrap { width: min(420px, 80%); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 480px; margin-inline: auto; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .brand__name { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .4rem;
    background: rgb(var(--hero-dark-rgb));
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
    padding: 1.2rem clamp(1.1rem, 4vw, 2.5rem) 1.8rem;
    transform: translateY(-120%);
    transition: transform .4s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link { padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-align: center; }
  .nav__phone { color: #fff; border-color: rgba(255, 255, 255, .35); }
  .nav__phone:hover { border-color: #fff; }
  .nav__link::after { display: none; }
  .nav__phone { display: inline-flex; justify-content: center; margin-top: .6rem; }
  .nav .btn--primary { justify-content: center; }
  .nav__social { margin-top: .4rem; align-self: center; }
  .menu__items { grid-template-columns: 1fr; }
  .menu__tabs {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    background: none;
  }
  .order__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .features__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
