/* ============================================================
   PizzAmò
   Truck green, white, one tomato red. Plain and bold.
   ============================================================ */

:root {
  --green:     #003633;   /* truck wrap / logo green (Pantone 567 C) */
  --green-2:   #12463f;   /* lines on green */
  --paper:     #f7f5f0;   /* light sections */
  --white:     #ffffff;
  --red:       #e2432a;   /* tomato: buttons + accents only */
  --red-dk:    #c4351f;
  --ink:       #0f2523;   /* text on paper */
  --ink-soft:  #4c605d;
  --line:      #dfe3dc;

  --maxw: 1080px;
  --gutter: clamp(1rem, 5vw, 2.5rem);

  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-label:   'Barlow Condensed', 'Arial Narrow', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h2 { font-size: clamp(2rem, 6vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1rem; }
a  { color: inherit; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3rem, 9vw, 5.5rem); }
.section--paper { background: var(--paper); color: var(--ink); }

.label {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background 0.15s ease;
}
.btn--order { background: var(--red); color: var(--white); }
.btn--order:hover { background: var(--red-dk); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.btn[aria-disabled='true'] { opacity: 0.55; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* ---------- Header ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);   /* solid, so the logo's green box blends in */
  border-bottom: 0;
}
.hdr::after { content: ''; display: block; height: 4px; background: linear-gradient(90deg, #009246 0 33.33%, #ffffff 33.33% 66.66%, #ce2b37 66.66% 100%); }
.hdr__inner { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.hdr__brand img { height: 36px; width: auto; }
@media (min-width: 860px) { .hdr__brand img { height: 42px; } }
.hdr__nav {
  display: none;
  gap: 1.5rem;
  margin-left: auto;
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hdr__nav a { text-decoration: none; opacity: 0.85; }
.hdr__nav a:hover { opacity: 1; }
.hdr__cta { margin-left: auto; min-height: 42px; padding: 0.5rem 1.1rem; font-size: 1rem; }
@media (min-width: 720px) {
  .hdr__nav { display: flex; }
  .hdr__cta { margin-left: 0; }
}

/* ---------- Hero (collage) ---------- */
.hero { padding-block: clamp(2.5rem, 8vw, 5rem); overflow: hidden; }
.hero__inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 860px) { .hero__inner { grid-template-columns: 1fr 1.05fr; gap: 3rem; } }
.hero__title { font-size: clamp(2.4rem, 6.5vw, 4rem); margin-bottom: 1rem; }
.hero__sub { font-size: clamp(1.1rem, 2.6vw, 1.2rem); opacity: 0.9; max-width: 36ch; }
.hero__today { opacity: 0.85; min-height: 1.5em; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero__actions .btn { min-width: 170px; }
.collage { position: relative; aspect-ratio: 1 / .95; }
.collage img { position: absolute; object-fit: cover; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.4); height: auto; }
.collage .c1 { left: 0; top: 0; width: 78%; aspect-ratio: 4 / 3; }
.collage .c2 { right: 0; top: 42%; width: 46%; aspect-ratio: 1; transform: rotate(4deg); }
.collage .c3 { left: 8%; bottom: 0; width: 40%; aspect-ratio: 1; transform: rotate(-5deg); }

/* ---------- Menu ---------- */

.menu { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 860px) { .menu { grid-template-columns: 1fr 1fr; column-gap: 4rem; } }
.menu__cat-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green);
  color: var(--green);
}
.menu__cat-title--gap { margin-top: 2.5rem; }
.menu__cat-note {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__item { padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
.menu__row { display: flex; align-items: baseline; gap: 0.5rem; }
.menu__name { font-weight: 600; font-size: 1.1rem; }
.menu__dots { flex: 1; border-bottom: 1px dotted var(--ink-soft); opacity: 0.4; transform: translateY(-4px); }
.menu__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.menu__desc { margin: 0.2rem 0 0; color: var(--ink-soft); font-size: 0.97rem; }
.menu__tag {
  margin-left: 0.4rem;
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--green);
  border: 1px solid currentColor;
  border-radius: 4px;
  padding: 0 0.3rem;
}
.menu__legend { margin-top: 1.5rem; font-size: 0.9rem; color: var(--ink-soft); }
.menu__cta { margin-top: 2rem; }

/* ---------- Where & when ---------- */
.find { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .find { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }
.find__address { font-style: normal; font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; }
.find__note { opacity: 0.85; }
.find__map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 8px; margin-top: 1.25rem; filter: grayscale(0.2); }
.find__hours-title {
  font-family: var(--font-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-top: 0.4rem;
}
.find__hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.find__hours th, .find__hours td { padding: 0.55rem 0; border-bottom: 1px solid var(--green-2); text-align: left; }
.find__hours th { font-weight: 400; }
.find__hours td { text-align: right; font-weight: 600; }

/* ---------- Photos ---------- */
.photos-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }

.photos-strip img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
@media (min-width: 860px) { .photos { grid-template-columns: repeat(3, 1fr); } }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }

/* ---------- About ---------- */
.about { padding-block: clamp(2.5rem, 7vw, 4rem); }
.about__inner { max-width: 720px; }
.about__text { font-size: 1.2rem; }
.about__catering { color: var(--ink-soft); margin: 0; }
.about__catering a { color: var(--green); font-weight: 600; }

/* ---------- Footer ---------- */
.ftr { border-top: 1px solid var(--green-2); padding-block: 3rem; }
.ftr__inner { display: grid; gap: 2rem; }
@media (min-width: 860px) { .ftr__inner { grid-template-columns: 1.4fr 1fr auto; align-items: start; } .ftr__tile { grid-column: 3; grid-row: 1; justify-self: end; } }
.ftr__tile { width: 120px; height: auto; transform: rotate(-6deg); border-radius: 24px; box-shadow: 0 0 0 1px var(--green-2); }
.ftr__logo { width: 240px; height: auto; margin: -10px 0 1rem -12px; }
.ftr__brand p { margin: 0 0 0.4rem; opacity: 0.85; }
.ftr__hours { font-family: var(--font-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.95rem; }
.ftr__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-family: var(--font-label); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ftr__links a { text-decoration: none; }
.ftr__links a:hover { text-decoration: underline; }
.ftr__catering { margin: 0; opacity: 0.8; grid-column: 1 / -1; }
.ftr__catering a { color: inherit; font-weight: 600; }
.ftr__small { font-size: 0.85rem; opacity: 0.65; margin: 0; grid-column: 1 / -1; border-top: 1px solid var(--green-2); padding-top: 1.25rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 1rem; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.15rem; color: var(--green); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-weight: 400; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0.75rem 0 0; color: var(--ink-soft); }
.faq a { color: var(--green); font-weight: 600; }
.todo { background: #fff3c4; color: #6b5300 !important; padding: 0.2rem 0.4rem; border-radius: 4px; }  /* placeholder: remove before launch */

/* ---------- Sticky order bar (phones) ---------- */
.orderbar { display: none; }
@media (max-width: 719px) {
  .orderbar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    background: var(--green); border-top: 1px solid var(--green-2);
  }
  .orderbar .btn { min-height: 48px; padding-inline: 0.5rem; }
  body { padding-bottom: 76px; }
  .hdr__cta { display: none; }   /* the bar replaces it on phones */
}

/* ---------- Contact ---------- */
.contact { display: grid; gap: 2rem; }
@media (min-width: 860px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 4rem; } }
.contact__intro { opacity: 0.85; max-width: 34ch; }
.contact__form { display: grid; gap: 1rem; }
.contact__form label { display: grid; gap: 0.35rem; font-family: var(--font-label); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.95rem; }
.contact__form .opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: 0.7; }
.contact__form input, .contact__form textarea {
  font: inherit; font-family: var(--font-display); text-transform: none; letter-spacing: 0;
  padding: 0.75rem 0.9rem; border-radius: 8px; border: 1px solid var(--green-2);
  background: color-mix(in srgb, var(--white) 6%, var(--green)); color: var(--white);
}
.contact__form input:focus, .contact__form textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.contact__form .btn { justify-self: start; }
.contact__privacy { font-size: 0.85rem; opacity: 0.75; margin: 0; }
.contact__privacy a, .ftr__small a { color: inherit; }
.contact__status { margin: 0; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }

/* ---------- Simple text page (privacy) ---------- */
.page { padding-block: clamp(2.5rem, 8vw, 5rem); }
.page .container { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 7vw, 3.2rem); }
.page h2 { font-size: 1.4rem; margin-top: 2rem; }
.page p, .page li { opacity: 0.9; }
.page a { color: inherit; }

/* ---------- Italian touch ---------- */
.tricolore { height: 6px; background: linear-gradient(90deg, #009246 0 33.33%, #ffffff 33.33% 66.66%, #ce2b37 66.66% 100%); }
.find__truck { margin: 0 0 2rem; }
.find__truck img { width: 100%; height: auto; border-radius: 12px; }
.find__truck figcaption { font-size: 0.9rem; opacity: 0.75; margin-top: 0.5rem; }
.tricolore--short { width: 96px; height: 6px; border-radius: 3px; margin: 0.25rem 0 0; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 860px) { .photos-strip img { aspect-ratio: 2 / 1; } }
