/* POP-up Pizza — global styles */
:root {
  --tomato: #e8452c;
  --tomato-dark: #c7321c;
  --crust: #fbf3e4;
  --crust-deep: #f4e4c7;
  --cheese: #ffc849;
  --basil: #2f7a4f;
  --ink: #221a15;
  --ink-soft: #5d4f45;
  --line: rgba(34, 26, 21, 0.12);
  --radius: 20px;
  --shadow-sm: 0 2px 8px rgba(34, 26, 21, 0.06);
  --shadow-md: 0 12px 32px rgba(34, 26, 21, 0.12);
  --shadow-lg: 0 28px 64px rgba(34, 26, 21, 0.18);
  --max: 1160px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--crust);
  color: var(--ink);
  font-family: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--tomato-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(251, 243, 228, 0.86);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand:hover { text-decoration: none; }
.brand svg { flex: none; }
.brand-logo { height: 42px; width: auto; display: block; }

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 15px;
  font-weight: 600;
}
.nav a { color: var(--ink-soft); }
.nav a:hover,
.nav a[aria-current="page"] { color: var(--tomato); text-decoration: none; }

.lang-switch {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
}
.lang-switch:hover { border-color: var(--tomato); color: var(--tomato); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 16px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--tomato);
  color: #fff;
  box-shadow: 0 10px 24px rgba(232, 69, 44, 0.32);
}
.btn-primary:hover { background: var(--tomato-dark); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--tomato); color: var(--tomato); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 104px;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-shop.jpg");
  background-size: cover;
  background-position: center 60%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(251, 243, 228, 0.95) 0%,
      rgba(251, 243, 228, 0.86) 34%,
      rgba(251, 243, 228, 0.38) 66%,
      rgba(251, 243, 228, 0.06) 100%
    ),
    linear-gradient(180deg, rgba(251, 243, 228, 0.3), rgba(251, 243, 228, 0) 45%, var(--crust) 99%);
}
.hero .wrap { position: relative; z-index: 1; max-width: 860px; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 200, 73, 0.35);
  border: 1px solid rgba(232, 69, 44, 0.2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tomato-dark);
  margin-bottom: 22px;
}

h1 {
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}
h1 .accent { color: var(--tomato); }

.lede {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 34px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 60px 0; }
.section.alt { background: var(--crust-deep); }

.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
}
.section-head p { margin: 0; color: var(--ink-soft); }

/* ---------- feature cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin: 16px 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(232, 69, 44, 0.1);
  color: var(--tomato);
}

/* ---------- gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.shot {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: #fff;
}
.shot img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.shot figcaption {
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink-soft);
}

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  counter-increment: step;
  position: relative;
  padding: 24px 26px 24px 78px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step::before {
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--tomato);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- page hero (inner pages) ---------- */
.page-head {
  padding: 64px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(32px, 4.6vw, 50px); margin-bottom: 12px; }
.page-head p { margin: 0; color: var(--ink-soft); max-width: 640px; }

/* ---------- prose ---------- */
.prose { max-width: 760px; padding: 56px 0 24px; }
.prose h2 { font-size: 25px; margin: 40px 0 12px; letter-spacing: -0.01em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 28px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose .updated { font-size: 14px; color: var(--ink-soft); opacity: 0.75; }

/* ---------- menu list ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.menu-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.menu-item .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--basil);
  background: rgba(47, 122, 79, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.menu-item h3 { margin: 0 0 6px; font-size: 19px; }
.menu-item p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* ---------- news ---------- */
.news-list { display: grid; gap: 16px; max-width: 820px; }
.news-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.news-item time {
  font-size: 13px;
  font-weight: 700;
  color: var(--tomato);
  letter-spacing: 0.04em;
}
.news-item h2 { margin: 8px 0 10px; font-size: 22px; }
.news-item p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- faq ---------- */
.faq { max-width: 800px; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
}
.faq summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--tomato); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--ink-soft); font-size: 15.5px; }

/* ---------- cta band ---------- */
.cta-band {
  background: var(--ink);
  color: var(--crust);
  border-radius: 28px;
  padding: 56px 40px;
  text-align: center;
}
.cta-band h2 { margin: 0 0 12px; font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.015em; }
.cta-band p { margin: 0 auto 28px; max-width: 520px; opacity: 0.72; }
.cta-band .cta-row { justify-content: center; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  margin-top: 40px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--tomato); }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  .site-header .wrap { height: 60px; gap: 14px; }
  .brand-logo { height: 30px; }
  .nav { display: none; }
  .hero {
    padding: 56px 0 64px;
    min-height: 0;
    align-items: flex-start;
  }
  .hero::after {
    background: linear-gradient(180deg, rgba(251, 243, 228, 0.94) 0%, rgba(251, 243, 228, 0.88) 55%, var(--crust) 96%);
  }
  .section { padding: 60px 0; }
  .cta-band { padding: 40px 22px; border-radius: 20px; }
}
