/* ==========================================================================
   CIAPPY — polleria / rosticceria, Barcellona Pozzo di Gotto (ME)
   Direction: "Carbone e brace" — warm charcoal canvas, single ember-orange
   accent (from the coals of the pollo alla brace), bone-cream text.
   No usable photos: this is a type-and-color-led build. Mobile-first (390px).
   Shape system: buttons + tags = pill (999px); panels/cards = 14px; nothing else.
   One accent (ember) used everywhere; no second action color.
   ========================================================================== */

:root {
  --bg:        #1b1a17;   /* warm charcoal — cooled coals */
  --surface:   #24221e;   /* raised cards / panels */
  --band:      #141311;   /* deeper band for contrast sections */
  --line:      #35322c;   /* hairlines / borders */
  --text:      #f4ece0;   /* bone-cream body (~14:1 on --bg) */
  --muted:     #ac9f8f;   /* secondary warm grey (~6.7:1 on --bg) */
  --accent:    #ec6a24;   /* ember orange — the ONE accent (~5.4:1 on --bg) */
  --accent-hi: #ff8038;   /* ember hover */
  --ink:       #1a0f05;   /* text on ember (dark) */

  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-body:    "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --measure: 64ch;
  --edge: 1.35rem;        /* page side padding */
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hi); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* ---- shared section shell ------------------------------------------------- */
.wrap { max-width: var(--measure); margin: 0 auto; padding-inline: var(--edge); }
.section { padding-block: clamp(3rem, 8vw, 5rem); }
.band { background: var(--band); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.9rem;
}
.section h2 { font-size: clamp(1.9rem, 6vw, 2.9rem); margin-bottom: 1rem; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 52ch; }

/* ---- top bar -------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.7rem var(--edge);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar .brand { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; }
.topbar .brand .dot { color: var(--accent); }

/* ---- buttons (pill) ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  padding: 0.72rem 1.35rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text);
  background: transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn:hover { border-color: var(--muted); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-hi); border-color: var(--accent-hi); color: var(--ink); }
.btn-sm { padding: 0.5rem 1.05rem; font-size: 0.92rem; }

/* ---- hero ----------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 11vh, 6rem) var(--edge) clamp(3.5rem, 10vh, 5.5rem);
  background:
    radial-gradient(135% 95% at 12% 118%, rgba(236,106,36,0.32), rgba(236,106,36,0.05) 42%, transparent 68%),
    radial-gradient(80% 60% at 88% -10%, rgba(236,106,36,0.10), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 44rem; margin: 0 auto; }
.hero-kicker {
  font-size: 0.82rem; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.2em; margin-bottom: 1.1rem;
}
.hero-kicker b { color: var(--accent); font-weight: 700; }
.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(3.6rem, 20vw, 8rem); line-height: 0.92;
  letter-spacing: -0.045em; margin-bottom: 1.1rem;
}
.hero h1 .dot { color: var(--accent); }
.hero-sub { color: var(--text); font-size: clamp(1.1rem, 3.4vw, 1.35rem); max-width: 34ch; margin-bottom: 1.9rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ember-rule {
  height: 3px; width: min(9rem, 60%); margin-top: 2.4rem; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-hi), rgba(236,106,36,0));
  box-shadow: 0 0 22px 2px rgba(236,106,36,0.45);
}

/* ---- signature statement (specialty band) -------------------------------- */
.specialty { padding-block: clamp(3.5rem, 9vw, 6rem); }
.specialty .wrap { max-width: 40rem; }
.specialty h2 { font-size: clamp(2rem, 7vw, 3.4rem); margin-bottom: 1.1rem; }
.specialty h2 em { color: var(--accent); font-style: normal; }
.specialty p { color: var(--muted); font-size: 1.12rem; max-width: 50ch; }

/* ---- menu (grouped, no prices) ------------------------------------------- */
.menu-note { margin-top: 1.6rem; color: var(--muted); font-size: 0.92rem; }
.menu-groups { display: grid; gap: 1rem; margin-top: 2rem; }
.menu-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.menu-card h3 {
  font-size: 1.35rem; color: var(--text); margin-bottom: 0.2rem;
  display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap;
}
.menu-card .tag {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding: 0.15rem 0.6rem; border-radius: 999px;
}
.menu-card ul { list-style: none; padding: 0; margin-top: 1rem; }
.menu-card li { padding: 0.6rem 0; border-top: 1px solid var(--line); }
.menu-card li:first-child { border-top: 0; }
.menu-card .dish { font-weight: 600; }
.menu-card .desc { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }

/* ---- honest points -------------------------------------------------------- */
.points { display: grid; gap: 0; margin-top: 2rem; border-top: 1px solid var(--line); }
.points li {
  list-style: none;
  display: flex; align-items: baseline; gap: 0.8rem;
  padding: 1.05rem 0.2rem; border-bottom: 1px solid var(--line);
}
.points .mark { color: var(--accent); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; flex: none; }
.points .txt b { font-weight: 600; }
.points .txt span { color: var(--muted); }

/* ---- reviews -------------------------------------------------------------- */
.rating {
  display: inline-flex; align-items: baseline; gap: 0.6rem; margin-bottom: 1.8rem;
  font-family: var(--font-display);
}
.rating .score { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; }
.rating .stars { color: var(--accent); font-size: 1.15rem; letter-spacing: 0.1em; }
.rating .count { font-family: var(--font-body); color: var(--muted); font-size: 0.95rem; }
.quotes { display: grid; gap: 1rem; }
.quote {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.quote p { font-size: 1.08rem; }
.quote cite { display: block; margin-top: 0.9rem; color: var(--muted); font-size: 0.88rem; font-style: normal; }

/* ---- info (orari + contatti) --------------------------------------------- */
.info-grid { display: grid; gap: 2.4rem; margin-top: 2rem; }
.info-grid h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.9rem; font-family: var(--font-body); font-weight: 700; }
.hours { border-collapse: collapse; width: 100%; max-width: 22rem; }
.hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.hours tr:last-child td { border-bottom: 0; }
.hours td:first-child { color: var(--text); font-weight: 600; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours .today td { color: var(--accent); }
.hours .today td:first-child { color: var(--accent); }
.contact-lines { color: var(--text); line-height: 1.9; margin-bottom: 1.4rem; }
.contact-lines .addr { color: var(--muted); }

/* ---- footer --------------------------------------------------------------- */
.footer {
  padding: 2.6rem var(--edge) 3.2rem; text-align: center;
  color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line);
}
.footer .brand { font-family: var(--font-display); font-weight: 800; color: var(--text); font-size: 1.1rem; letter-spacing: -0.02em; }
.footer .brand .dot { color: var(--accent); }
.footer p { margin-top: 0.5rem; }
.demo-note { opacity: 0.65; font-size: 0.82rem; }

/* ---- entrance motion (gentle, gated) ------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise 0.7s cubic-bezier(0.16,1,0.3,1) both; }
  .hero-inner > *:nth-child(2) { animation-delay: 0.06s; }
  .hero-inner > *:nth-child(3) { animation-delay: 0.12s; }
  .hero-inner > *:nth-child(4) { animation-delay: 0.18s; }
  .hero-inner > *:nth-child(5) { animation-delay: 0.24s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ---- responsive ----------------------------------------------------------- */
@media (min-width: 720px) {
  :root { --edge: 2rem; }
  .menu-groups { grid-template-columns: repeat(2, 1fr); }
  .menu-groups .menu-card:first-child { grid-column: 1 / -1; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .points { grid-template-columns: 1fr 1fr; column-gap: 2.4rem; }
}
@media (min-width: 1024px) {
  .section { padding-block: clamp(4rem, 7vw, 6rem); }
}
