/* ============================================================
   La Tosca - Bologna  ·  pizzeria / kebab / hamburger da asporto
   Direction: urban street-food. Their real signage: electric-blue
   awning + red oval logo, red-brick interior.
   Roles:  BLUE = brand / identity bands (never interactive)
           RED  = the ONE action accent (CTA, links, prices, logo)
   Type:   Anton (display, condensed poster caps) + Archivo (body)
   Shape:  sharp, radius 2px (menu-board / signage). The logo oval
           is the brand mark, the one deliberate exception.
   Plain static HTML/CSS, zero JS. Double-click test safe.
   ============================================================ */

:root {
  --canvas:      #f4f6f8;   /* cool paper */
  --surface:     #ffffff;
  --ink:         #16202a;   /* cool near-black (the dark menu boards) */
  --muted:       #52616c;   /* secondary text, AA on canvas */
  --line:        #dce3e9;

  --blue:        #0b6fa8;   /* deep awning blue - white text passes AA */
  --blue-bright: #12a3e0;   /* electric accent - decorative fills only */
  --red:         #c8102e;   /* action accent + logo oval */
  --red-dark:    #a50d26;   /* red hover / pressed */

  --radius: 2px;
  --wrap: 1120px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);

  --shadow: 0 14px 34px rgba(18, 32, 42, .10);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3, .wordmark, .strip-word {
  font-family: "Anton", "Archivo Narrow", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .96;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

/* grid children never expand past their track (avoids long-word overflow) */
.strip-row > *, .menu-columns > *, .feature-grid > *, .info-grid > *, .reviews-grid > * { min-width: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5ch;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: .96rem;
  letter-spacing: .02em;
  text-decoration: none;
  padding: .82em 1.35em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  white-space: nowrap;
  transition: transform .12s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-onblue { background: #fff; color: var(--blue); }
.btn-onblue:hover { background: var(--red); color: #fff; }

.icon { width: 1.05em; height: 1.05em; flex: none; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 246, 248, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--wrap); margin-inline: auto;
  padding: .6rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.topnav { display: none; gap: 1.6rem; }
.topnav a {
  text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: .95rem;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.topnav a:hover { border-color: var(--red); }

/* ---------- brand oval (their red logo mark) ---------- */
.wordmark {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
  border-radius: 50% / 46%;
  padding: .34em 1.15em .4em;
  line-height: 1; text-decoration: none;
  box-shadow: 0 3px 0 var(--red-dark);
}
.wordmark .wm-la    { font-size: .62rem; letter-spacing: .22em; opacity: .95; }
.wordmark .wm-tosca { font-size: 1.42rem; letter-spacing: .03em; margin-top: .06em; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(1.6rem, 5vw, 3rem) clamp(2.2rem, 6vw, 3.6rem); }
.hero-grid { display: grid; gap: clamp(1.4rem, 4vw, 2.6rem); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero-kicker {
  font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 12vw, 6.2rem);
  color: var(--ink);
  margin-bottom: .5rem;
  overflow-wrap: break-word;
}
.hero h1 .accent { color: var(--red); }
.hero-sub {
  font-size: clamp(1.05rem, 3.2vw, 1.22rem);
  color: var(--muted);
  max-width: 34ch;
  margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero-figure { position: relative; }
.hero-figure img {
  width: 100%; aspect-ratio: 16 / 11; object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-figure figcaption {
  position: absolute; left: 0; bottom: 0;
  background: var(--red); color: #fff;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em;
  padding: .4em .8em;
}

/* ---------- blue offer strip ---------- */
.strip { background: var(--blue); color: #fff; }
.strip-inner {
  max-width: var(--wrap); margin-inline: auto; padding: clamp(1.6rem, 5vw, 2.4rem) var(--pad);
}
.strip-row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.strip-item { border-top: 3px solid rgba(255,255,255,.4); padding-top: .7rem; }
.strip-word { font-size: clamp(1.9rem, 8vw, 2.6rem); color: #fff; }
.strip-item p { font-size: .95rem; color: rgba(255,255,255,.9); margin-top: .15rem; }
.strip-tag {
  margin-top: 1.4rem; font-weight: 600; font-size: 1.02rem;
  color: #fff; border-top: 1px solid rgba(255,255,255,.28); padding-top: 1.1rem;
}
.strip-tag b { color: #fff; }

/* ---------- generic section ---------- */
.section { padding-block: clamp(2.6rem, 7vw, 4.6rem); }
.section-head { margin-bottom: clamp(1.4rem, 4vw, 2.2rem); }
.section-head h2 {
  font-size: clamp(2.1rem, 8vw, 3.2rem); color: var(--ink);
}
.section-head h2 .accent { color: var(--red); }
.section-lead { color: var(--muted); max-width: 56ch; margin-top: .7rem; font-size: 1.05rem; }
.eyebrow {
  font-weight: 700; font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: .7rem;
}

/* ---------- menu ---------- */
.menu-columns {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.6rem, 5vw, 2.6rem) 3rem;
}
.menu-group { break-inside: avoid; }
.menu-group h3 {
  font-size: 1.5rem; color: var(--ink);
  display: flex; align-items: baseline; gap: .6rem;
  padding-bottom: .55rem; margin-bottom: .7rem;
  border-bottom: 3px solid var(--red);
}
.menu-group h3 .g-note { font-family: "Archivo", sans-serif; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: .82rem; color: var(--muted); margin-left: auto; }

.menu-list { list-style: none; padding: 0; }
.menu-list li {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline;
  gap: .3rem .5rem; padding: .42rem 0;
  border-bottom: 1px solid var(--line);
}
.menu-list li:last-child { border-bottom: 0; }
.dish { font-weight: 600; }
.dish .desc { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); line-height: 1.35; }
.price { font-weight: 700; color: var(--red); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price .sep { color: var(--muted); font-weight: 600; padding-inline: .1em; }
.price-head {
  grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 2.1rem;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  padding: 0 0 .1rem;
}
.menu-note {
  margin-top: clamp(1.6rem, 4vw, 2.2rem);
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--blue-bright);
  padding: 1rem 1.15rem; border-radius: var(--radius);
  color: var(--muted); font-size: .95rem;
}

/* ---------- kebab feature (split band) ---------- */
.feature { background: var(--ink); color: #fff; }
.feature-grid { display: grid; grid-template-columns: 1fr; gap: 0; align-items: stretch; }
/* mobile: fixed landscape crop — height:100% collapses to the portrait source ratio
   here (single-column grid row), which would tower; desktop split restores fill below */
.feature-media img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.feature-body { padding: clamp(2rem, 6vw, 3.4rem) var(--pad); align-self: center; }
.feature-body .eyebrow { color: var(--blue-bright); }
.feature-body h2 { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: .9rem; }
.feature-body p { color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: .7rem; }
.feature-body .btn-onblue { margin-top: .8rem; }

/* ---------- reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
}
.review .stars { color: var(--red); letter-spacing: .1em; font-size: .9rem; margin-bottom: .6rem; }
.review blockquote { font-size: 1.08rem; line-height: 1.5; }
.review cite { display: block; margin-top: .8rem; font-style: normal; font-size: .82rem; color: var(--muted); font-weight: 600; }
.rating-line { margin-top: 1.3rem; font-weight: 600; color: var(--muted); }
.rating-line b { color: var(--ink); }

/* ---------- info (orari + contatti) ---------- */
.info-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.4rem, 4vw, 2.4rem); }
.info-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.4rem, 4vw, 1.9rem);
}
.info-card h3 { font-size: 1.4rem; margin-bottom: .9rem; }
.open-badge {
  display: inline-block; background: var(--blue); color: #fff;
  font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .35em .8em; border-radius: var(--radius); margin-bottom: 1rem;
}
.hours-line { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.hours-line:last-of-type { border-bottom: 0; }
.hours-line span:first-child { color: var(--muted); }
.hours-line span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }

.contact-lines { line-height: 1.9; }
.contact-lines a { color: var(--red); font-weight: 700; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.contact-address { color: var(--ink); font-weight: 600; }
.info-card .btn { margin-top: 1.1rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2rem; text-align: center; color: var(--muted); font-size: .9rem; }
.footer .wordmark { transform: scale(.82); margin-bottom: 1rem; }
.footer p + p { margin-top: .5rem; }
.demo-note { font-size: .8rem; color: #93a0a9; }

/* ============================================================
   Responsive - mobile-first above, wider layouts below
   ============================================================ */
@media (min-width: 620px) {
  .strip-row { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-columns { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 860px) {
  .topnav { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero h1 { font-size: clamp(4rem, 8vw, 6rem); }
  .feature-grid { grid-template-columns: .9fr 1.1fr; }
  .feature-media img { aspect-ratio: auto; height: 100%; min-height: 100%; }   /* desktop split: image fills the band height beside the text */
  .info-grid { grid-template-columns: 1fr 1fr; }
  .menu-columns { grid-template-columns: repeat(3, 1fr); align-items: start; }
}

/* ---------- motion ----------
   MOTION dial 3: hover / active states only (above, on .btn and links).
   No scroll-reveal: it must never leave core content (the menu) invisible. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
