/* ════════════════════════════════════════════════════════════════════
   Neapolio skonis – public site
   ════════════════════════════════════════════════════════════════════ */

.site {
  overflow-x: clip;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

/* ── Logo ─────────────────────────────────────────────────────────── */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--red);
}
.logo__mark {
  width: 58px;
  height: auto;
  overflow: visible;
}
.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__name {
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: 0.2em;
}
.logo__sub {
  margin-top: 6px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  opacity: 0.85;
}
.logo--light .logo__text {
  color: #fff;
}
.logo-flame {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flicker 1.8s ease-in-out infinite alternate;
}
.logo-flame:nth-child(2) {
  animation-delay: -0.6s;
  animation-duration: 2.1s;
}
.logo-flame:nth-child(3) {
  animation-delay: -1.1s;
  animation-duration: 1.6s;
}
.logo-flame:nth-child(4) {
  animation-delay: -0.3s;
  animation-duration: 2.3s;
}

/* ── Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    background-color 0.25s,
    color 0.25s,
    border-color 0.25s,
    box-shadow 0.25s,
    translate 0.25s;
}
.btn--lg {
  padding: 15px 26px;
  font-size: 1.05rem;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(216, 69, 43, 0.32);
}
.btn--primary:hover {
  background: var(--red-deep);
  translate: 0 -2px;
  box-shadow: 0 12px 26px rgba(181, 48, 28, 0.4);
}
.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  translate: 0 -2px;
}
.btn__icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn__icon--arrow {
  transition: translate 0.25s;
}
.btn:hover .btn__icon--arrow {
  translate: 4px 0;
}
.btn__icon--ring {
  transform-origin: 50% 50%;
  animation: ring 2.6s ease-in-out infinite;
}

/* ── Header ───────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
}
[data-scrolled] .header,
.header.is-open {
  background: rgba(251, 246, 239, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 1px 0 var(--line),
    0 10px 30px rgba(60, 25, 10, 0.06);
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.header__logo {
  display: inline-flex;
  margin-right: auto;
}
.header__nav {
  display: flex;
  gap: 30px;
  font-weight: 500;
}
.header__nav a {
  position: relative;
  padding: 6px 0;
}
.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--red);
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.3s;
}
.header__nav a:hover::after {
  scale: 1 1;
}
.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
}
.header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.header.is-open .header__burger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header.is-open .header__burger span:nth-child(2) {
  opacity: 0;
}
.header.is-open .header__burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .header__bar {
    gap: 10px;
    min-height: 68px;
  }
  .header__burger {
    display: block;
  }
  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px clamp(18px, 4vw, 40px) 18px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(60, 25, 10, 0.1);
    font-size: 1.1rem;
  }
  .header.is-open .header__nav {
    display: flex;
  }
  .header__nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  .header__nav a::after {
    display: none;
  }
}
@media (max-width: 520px) {
  .header__cta {
    padding: 11px;
  }
  .header__cta span {
    display: none;
  }
  .logo__mark {
    width: 50px;
  }
}

/* ── Shared section pieces ────────────────────────────────────────── */
.section {
  position: relative;
  padding-block: clamp(72px, 9vw, 124px);
}
.section__head {
  max-width: 660px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow__icon {
  width: 18px;
  height: 18px;
  transform-origin: 50% 100%;
  animation: flicker 1.7s ease-in-out infinite alternate;
}
.section__title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.1;
  text-wrap: balance;
}
.section__lead {
  margin-top: 16px;
  font-size: 1.08rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.section__head--light .eyebrow {
  color: var(--ember);
}
.section__head--light .section__title {
  color: #fff;
}
.section__head--light .section__lead {
  color: rgba(255, 255, 255, 0.72);
}

/* ── Scroll reveal (activated by ScrollFx) ────────────────────────── */
.fx [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease var(--d, 0ms),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.fx [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  margin-top: -76px;
  padding-top: calc(76px + clamp(28px, 5vw, 64px));
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(245, 158, 59, 0.2), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(216, 69, 43, 0.08), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(140, 90, 50, 0.1) 1px, transparent 0) 0 0 / 26px 26px,
    var(--cream);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__copy {
  padding-block: clamp(20px, 4vw, 56px) clamp(48px, 7vw, 96px);
}
.hero__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5.6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--red-deep);
  text-wrap: balance;
}
.hero__subtitle {
  max-width: 34rem;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
  margin: 40px 0 0;
}
.facts__item {
  padding-inline: 26px;
  border-left: 2px solid var(--line);
}
.facts__item:first-child {
  padding-left: 0;
  border-left: 0;
}
.facts dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1.1;
}
.facts dd {
  margin: 4px 0 0;
  font-size: 0.9rem;
  color: var(--ink-mute);
}
.hero__in {
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms) both;
}
.hero__art {
  align-self: end;
}

/* floating ingredients */
.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  animation: float 9s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 8px rgba(60, 25, 10, 0.15));
}
.deco--1 {
  top: 17%;
  left: 3%;
  width: 62px;
  translate: 0 calc(var(--sy, 0) * -0.1px);
}
.deco--2 {
  top: 12%;
  left: 46%;
  width: 44px;
  animation-duration: 11s;
  animation-delay: -3s;
  translate: 0 calc(var(--sy, 0) * -0.22px);
}
.deco--3 {
  top: 60%;
  left: 49%;
  width: 50px;
  rotate: 130deg;
  animation-duration: 8s;
  animation-delay: -5s;
  translate: 0 calc(var(--sy, 0) * -0.16px);
}
.deco--4 {
  top: 14%;
  right: 3%;
  width: 52px;
  rotate: -35deg;
  animation-duration: 12s;
  animation-delay: -2s;
  translate: 0 calc(var(--sy, 0) * -0.28px);
}
.deco--5 {
  bottom: 22%;
  right: 2%;
  width: 38px;
  animation-duration: 10s;
  animation-delay: -7s;
  translate: 0 calc(var(--sy, 0) * -0.12px);
}

/* ── Oven scene ───────────────────────────────────────────────────── */
.oven {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
  aspect-ratio: 1 / 1.2;
}
.oven__glow {
  position: absolute;
  top: 2%;
  left: 4%;
  right: 4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 59, 0.5), rgba(245, 158, 59, 0) 66%);
  animation: glow 2.8s ease-in-out infinite alternate;
}
.oven__svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  overflow: visible;
}
.oven__brick {
  animation: brick-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.flame {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: flicker 1.7s ease-in-out infinite alternate;
}
.oven__sparks {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 600 / 340;
  pointer-events: none;
}
.spark {
  position: absolute;
  bottom: 0;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 2px rgba(255, 170, 50, 0.85);
  opacity: 0;
  animation: spark 3s linear infinite;
}
.peel {
  position: absolute;
  z-index: 2;
  top: 45%;
  left: 21%;
  width: 58%;
  transform-origin: 50% 31%;
  animation: peel-out 1.8s cubic-bezier(0.2, 0.75, 0.2, 1) 0.35s both;
}
.peel__bob {
  position: relative;
  transform-origin: 50% 31%;
  animation: bob 5s ease-in-out 2.2s infinite alternate;
}
.peel__wood {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 22px rgba(60, 25, 10, 0.28));
}
.peel__shadow {
  position: absolute;
  top: 4.6%;
  left: 5%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(60, 25, 10, 0.4) 55%, rgba(60, 25, 10, 0) 72%);
}
.peel__pizza {
  position: absolute;
  top: 3.75%;
  left: 6%;
  width: 88%;
  height: auto;
  rotate: calc(var(--sy, 0) * 0.08deg);
  animation: spin 110s linear infinite;
}
.steam {
  position: absolute;
  top: -7%;
  left: 20%;
  width: 60%;
  overflow: visible;
  pointer-events: none;
}
.steam__wisp {
  fill: none;
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 70 220;
  opacity: 0;
  animation: steam 3.6s ease-in-out 2.4s infinite;
}
.steam__wisp:nth-child(2) {
  animation-delay: 3.4s;
}
.steam__wisp:nth-child(3) {
  animation-delay: 4.3s;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__copy {
    padding-bottom: 8px;
    text-align: center;
  }
  .hero__subtitle {
    margin-inline: auto;
  }
  .hero__actions,
  .facts {
    justify-content: center;
  }
  .facts__item {
    padding-inline: 18px;
  }
  .oven {
    width: min(88vw, 440px);
    aspect-ratio: 1 / 1.12;
  }
  .deco--2,
  .deco--3 {
    display: none;
  }
}
@media (max-width: 520px) {
  .hero__actions .btn {
    width: 100%;
  }
  .facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: center;
  }
  .facts dt {
    font-size: 1.4rem;
  }
  .facts dd {
    font-size: 0.8rem;
  }
  .facts__item,
  .facts__item:first-child {
    padding-inline: 8px;
  }
  .deco--1 {
    width: 40px;
    top: 78px;
    left: 5%;
  }
}

/* ── Marquee ──────────────────────────────────────────────────────── */
.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding-block: 16px;
  background: var(--red-deep);
  color: #fff3e4;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 -10px 30px rgba(60, 25, 10, 0.12);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__group {
  display: flex;
  flex: none;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-left: 26px;
  white-space: nowrap;
}
.marquee__flame {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

/* ── Menu ─────────────────────────────────────────────────────────── */
.tabs {
  display: grid;
  /* side by side while they fit; with large text they stack */
  grid-template-columns: repeat(auto-fit, minmax(max(140px, 9em), 1fr));
  gap: 8px;
  max-width: calc(var(--count, 2) * 320px);
  margin-inline: auto;
  padding: 8px;
  border-radius: 24px;
  background: var(--sand);
}
.tabs__tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 16px;
  border: 0;
  border-radius: 17px;
  background: transparent;
  color: var(--ink-soft);
  transition:
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.tabs__tab:hover {
  background: rgba(255, 255, 255, 0.6);
}
.tabs__tab[aria-selected='true'] {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(216, 69, 43, 0.35);
}
.tabs__name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tabs__addr {
  font-size: 0.85rem;
  opacity: 0.85;
}
.menu__panel {
  animation: panel-in 0.5s ease both;
}
.cat {
  margin-top: clamp(36px, 5vw, 52px);
}
.cat__title {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cat__dash {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--red);
}
.pizza-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.pizza {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px 22px 16px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition:
    translate 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.fx .pizza[data-reveal] {
  transition:
    opacity 0.7s ease var(--d, 0ms),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    translate 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}
.pizza:hover {
  translate: 0 -4px;
  border-color: #e9cbb6;
  box-shadow: var(--shadow-md);
}
.pizza__img {
  width: 132px;
  aspect-ratio: 1;
  filter: drop-shadow(0 8px 9px rgba(60, 25, 10, 0.24));
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms);
}
.fx [data-reveal='pizza'] .pizza__img {
  transform: rotate(-150deg) scale(0.45);
}
.fx [data-reveal='pizza'].is-in .pizza__img {
  transform: none;
}
.pizza__img img,
.pizza__img svg {
  width: 100%;
  height: 100%;
  transition: rotate 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), scale 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.pizza:hover .pizza__img img,
.pizza:hover .pizza__img svg {
  rotate: 45deg;
  scale: 1.07;
}
.pizza__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.pizza__name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}
.pizza__price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--red);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pizza__desc {
  margin-top: 6px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.tag {
  display: inline-flex;
  flex: none;
  width: 21px;
  height: 21px;
}
.tag svg {
  width: 100%;
  height: 100%;
}
.tag--veg {
  color: var(--leaf);
}
.tag--spicy {
  color: var(--red);
}
.pizza--off .pizza__img,
.pizza--off .pizza__desc,
.pizza--off .pizza__head {
  opacity: 0.5;
}
.pizza__off {
  display: inline-block;
  margin-top: 8px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--sand);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.price-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 56px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.price-list li.is-off {
  opacity: 0.45;
  text-decoration: line-through;
}
.price-list__name {
  font-weight: 600;
}
.price-list__dots {
  flex: 1;
  border-bottom: 2px dotted #dccbb9;
  translate: 0 -4px;
}
.price-list__price {
  font-weight: 800;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.menu__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.legend {
  display: flex;
  gap: 24px;
  color: var(--ink-soft);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.legend__icon {
  width: 20px;
  height: 20px;
}
.legend__icon--veg {
  color: var(--leaf);
}
.legend__icon--spicy {
  color: var(--red);
}

@media (max-width: 960px) {
  .pizza-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .pizza {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px 14px 12px;
  }
  .pizza__img {
    width: 96px;
  }
  .pizza__name {
    font-size: 1.1rem;
  }
  .pizza__price {
    font-size: 1.08rem;
  }
  .pizza__desc {
    font-size: 0.9rem;
  }
  .tabs__addr {
    font-size: 0.74rem;
  }
  .tabs__name {
    font-size: 0.98rem;
  }
  .price-list {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .menu__foot {
    justify-content: center;
  }
  .menu__foot .btn {
    width: 100%;
  }
}

/* ── About ────────────────────────────────────────────────────────── */
.about {
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand), var(--cream));
}
.about__pizza {
  position: absolute;
  top: 50%;
  right: -190px;
  width: 470px;
  height: auto;
  margin-top: -235px;
  rotate: calc(var(--sy, 0) * 0.05deg);
  filter: drop-shadow(0 24px 30px rgba(60, 25, 10, 0.3));
  pointer-events: none;
}
.about__grid {
  position: relative;
  display: grid;
  gap: 40px;
}
.about__copy {
  max-width: 640px;
}
.about__copy .section__title,
.about__copy .section__lead {
  text-wrap: pretty;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
}
.feature {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: rgba(216, 69, 43, 0.1);
  color: var(--red);
}
.feature__icon svg {
  width: 28px;
  height: 28px;
}
.feature__icon--flame svg {
  transform-origin: 50% 100%;
  animation: flicker 1.6s ease-in-out infinite alternate;
}
.feature__icon--leaf {
  background: rgba(75, 138, 58, 0.12);
  color: var(--leaf);
}
.feature__icon--leaf svg {
  transform-origin: 20% 90%;
  animation: sway 3.4s ease-in-out infinite alternate;
}
.feature__icon--peel svg {
  animation: sway 4s ease-in-out infinite alternate-reverse;
}
.feature h3 {
  font-size: 1.15rem;
  font-weight: 700;
}
.feature p {
  margin-top: 8px;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
@media (max-width: 1240px) {
  .about__pizza {
    right: -230px;
    width: 420px;
    margin-top: -210px;
    opacity: 0.9;
  }
  .features {
    max-width: 760px;
  }
}
@media (max-width: 1020px) {
  .about__pizza {
    top: -110px;
    right: -110px;
    width: 300px;
    margin-top: 0;
  }
  .about__copy {
    max-width: 520px;
  }
  .features {
    max-width: none;
  }
}
@media (max-width: 760px) {
  .features {
    grid-template-columns: 1fr;
  }
  .about__pizza {
    top: -90px;
    right: -100px;
    width: 230px;
    opacity: 0.85;
  }
}

/* ── Locations ────────────────────────────────────────────────────── */
.places {
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 50% 115%, rgba(216, 69, 43, 0.45), transparent 70%),
    radial-gradient(600px 300px at 12% 0%, rgba(245, 158, 59, 0.12), transparent 70%),
    var(--char);
  color: #fff;
}
.places__embers span {
  position: absolute;
  bottom: -10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px 2px rgba(255, 160, 50, 0.8);
  opacity: 0;
  animation: ember 7s linear infinite;
}
.places .container {
  position: relative;
}
.places__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(20px, 3vw, 32px);
}
.place {
  overflow: hidden;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}
.place__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px clamp(18px, 2.6vw, 28px);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
}
.place__pin {
  flex: none;
  width: 36px;
  height: 36px;
  animation: pin 2.8s ease-in-out infinite;
}
.place__district {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.25;
  text-transform: uppercase;
}
.place__addr {
  margin-top: 2px;
  font-size: 0.97rem;
  opacity: 0.95;
}
.place__addr strong {
  font-weight: 700;
}
.place__body {
  padding: 22px clamp(18px, 2.6vw, 28px) 26px;
}
.place__status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.place__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
}
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 13px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: panel-in 0.4s ease both;
}
.open-badge--pending {
  width: 120px;
  visibility: hidden;
}
.open-badge--open {
  background: #e5f3de;
  color: #2c6a20;
}
.open-badge--closed {
  background: var(--sand);
  color: var(--ink-soft);
}
.open-badge__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
}
.open-badge--open .open-badge__dot {
  animation: pulse 1.8s ease-out infinite;
}
.hours {
  width: 100%;
  border-collapse: collapse;
}
.hours th {
  width: 30%;
  padding: 5px 0;
  border-right: 2px solid var(--line);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 800;
  text-align: left;
}
.hours td {
  padding: 5px 0 5px clamp(16px, 2.4vw, 28px);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hours tr.is-closed td {
  color: var(--red-deep);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.place__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.place__map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  transition: color 0.2s;
}
.place__map:hover {
  color: var(--red);
}
.place__map-icon {
  width: 18px;
  height: 18px;
}
@media (max-width: 880px) {
  .places__grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .place__call {
    width: 100%;
  }
  .place__actions {
    justify-content: center;
  }
}

/* ── How to order ─────────────────────────────────────────────────── */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.steps::before {
  content: '';
  position: absolute;
  top: 47px;
  left: 17%;
  right: 17%;
  border-top: 3px dashed #e3cdb9;
}
.step {
  position: relative;
  padding-inline: 8px;
  text-align: center;
}
.step__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--red);
  box-shadow: var(--shadow-sm);
}
.step__icon svg {
  width: 38px;
  height: 38px;
}
.step__icon--list svg {
  animation: nudge 2.6s ease-in-out infinite;
}
.step__icon--phone svg {
  animation: ring 2.4s ease-in-out infinite;
}
.step__icon--pizza img {
  width: 76px;
  height: 76px;
  animation: spin 16s linear infinite;
}
.step__num {
  position: absolute;
  z-index: 2;
  top: -6px;
  left: calc(50% + 26px);
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(216, 69, 43, 0.4);
}
.step h3 {
  font-size: 1.25rem;
  font-weight: 800;
}
.step p {
  max-width: 17rem;
  margin: 8px auto 0;
  color: var(--ink-soft);
}
.order__calls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(max(280px, 19em), 100%), 1fr));
  gap: 18px;
  max-width: calc(var(--count, 2) * 390px);
  margin: clamp(40px, 5vw, 60px) auto 0;
}
.call-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  transition:
    background-color 0.25s,
    translate 0.25s,
    box-shadow 0.25s;
}
.call-card:hover {
  background: var(--red-deep);
  translate: 0 -3px;
  box-shadow: 0 14px 30px rgba(181, 48, 28, 0.35);
}
.call-card__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--red);
}
.call-card:hover .call-card__icon {
  background: rgba(255, 255, 255, 0.18);
}
.call-card__icon svg {
  width: 24px;
  height: 24px;
}
.call-card__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.call-card__name {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.call-card__phone {
  font-size: 1.35rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.call-card__arrow {
  width: 22px;
  height: 22px;
  margin-left: auto;
  transition: translate 0.25s;
}
.call-card:hover .call-card__arrow {
  translate: 5px 0;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .steps::before {
    display: none;
  }
  .order__calls {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ───────────────────────────────────────────────────────── */
.footer {
  padding-top: 56px;
  background: #170d0a;
  color: rgba(255, 255, 255, 0.72);
}
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 40px;
}
.footer__brand {
  flex: 1.5 1 260px;
}
.footer__col {
  flex: 1 1 160px;
}
.footer__brand p {
  margin-top: 14px;
}
.footer__col h3 {
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.footer__col a {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--ember);
}
.footer__bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}
@media (max-width: 760px) {
  .footer__grid {
    flex-direction: column;
  }
  .footer__brand,
  .footer__col {
    flex-basis: auto;
  }
}

/* ── Keyframes ────────────────────────────────────────────────────── */
@keyframes flicker {
  0% {
    transform: scale(1, 1) skewX(0deg);
  }
  25% {
    transform: scale(0.94, 1.12) skewX(-3deg);
  }
  50% {
    transform: scale(1.05, 0.92) skewX(2deg);
  }
  75% {
    transform: scale(0.96, 1.08) skewX(4deg);
  }
  100% {
    transform: scale(1.02, 0.97) skewX(-2deg);
  }
}
@keyframes glow {
  from {
    opacity: 0.65;
    scale: 0.96;
  }
  to {
    opacity: 1;
    scale: 1.04;
  }
}
@keyframes brick-in {
  from {
    opacity: 0;
    transform: translateY(-26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes spark {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(18px, -230px) scale(0.3);
  }
}
@keyframes peel-out {
  0% {
    opacity: 0;
    transform: translateY(-40%) scale(0.36) rotate(0deg);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(13deg);
  }
}
@keyframes bob {
  from {
    transform: translateY(0) rotate(-1.300deg);
  }
  to {
    transform: translateY(-10px) rotate(1.300deg);
  }
}
@keyframes steam {
  0% {
    opacity: 0;
    stroke-dashoffset: 40;
    transform: translateY(12px);
  }
  30% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -150;
    transform: translateY(-18px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes float {
  from {
    transform: translateY(-10px) rotate(-8deg);
  }
  to {
    transform: translateY(14px) rotate(10deg);
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sway {
  from {
    transform: rotate(-9deg);
  }
  to {
    transform: rotate(9deg);
  }
}
@keyframes ring {
  0%,
  60%,
  100% {
    transform: rotate(0deg);
  }
  66% {
    transform: rotate(-14deg);
  }
  72% {
    transform: rotate(12deg);
  }
  78% {
    transform: rotate(-10deg);
  }
  84% {
    transform: rotate(8deg);
  }
  90% {
    transform: rotate(-4deg);
  }
}
@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes pin {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(44, 106, 32, 0.5);
  }
  100% {
    box-shadow: 0 0 0 9px rgba(44, 106, 32, 0);
  }
}
@keyframes ember {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(1);
  }
  10% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translate(40px, -620px) scale(0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fx [data-reveal],
  .fx [data-reveal='pizza'] .pizza__img {
    opacity: 1;
    transform: none;
  }
  .spark,
  .places__embers,
  .steam {
    display: none;
  }
  .marquee__track {
    animation: none;
  }
}

/* ── Buttons with a phone number ──────────────────────────────────── */
/* Icon, label and number are separate pieces: when space runs out the whole
   number moves to the next line – it is never split in the middle. */
.btn--phone {
  flex-wrap: wrap;
  column-gap: 8px;
  row-gap: 2px;
  white-space: normal;
  text-align: center;
}
.btn--phone .nowrap {
  font-variant-numeric: tabular-nums;
}

/* ── Uploaded logo image (admin → Logotipas) ──────────────────────── */
.logo--image {
  display: inline-flex;
}
.logo__img {
  display: block;
  width: auto;
  height: 54px;
  max-width: 270px;
  object-fit: contain;
}
/* On the dark footer an uploaded logo sits on a light card, so any colours stay readable. */
.logo--uploaded.logo--light {
  padding: 8px 14px;
  border-radius: 14px;
  background: var(--cream);
}
@media (max-width: 520px) {
  .logo__img {
    height: 42px;
    max-width: 170px;
  }
}
