/* ============================================================
   Il Toro è il Gallo — rosticceria & braceria, Barcellona P.G.
   Direzione: bottega chiara + accento rosso-manzo + lavagna nera.
   Display: Bricolage Grotesque · Body: Hanken Grotesk.
   Plain static HTML/CSS. Mobile-first (390px).
   ============================================================ */

:root {
  --paper:      #f4f3ef;
  --paper-2:    #efede6;
  --card:       #fbfaf7;
  --line:       #e4e0d8;
  --line-2:     #d8d3c8;
  --ink:        #211d1a;
  --muted:      #6b635b;
  --red:        #9e2b25;
  --red-dk:     #85231e;
  --board:      #161310;
  --board-2:    #211b15;
  --chalk:      #ece7de;
  --chalk-mut:  #a89e8f;

  --maxw: 1120px;
  --pad: 20px;
  --radius: 4px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dk); }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ------------------------------------------------ topbar */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  height: 62px;
  padding: 0 var(--pad);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand .e { color: var(--red); font-style: italic; }
.topbar-cta {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red); color: #fff;
  font-weight: 600; font-size: 0.94rem;
  padding: 9px 15px; border-radius: 999px;
  white-space: nowrap;
  transition: background 0.25s var(--ease), transform 0.15s var(--ease);
}
.topbar-cta:hover { background: var(--red-dk); color: #fff; }
.topbar-cta:active { transform: translateY(1px); }
.topbar-cta svg { width: 15px; height: 15px; }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 1rem;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  color: var(--ink); background: transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { color: var(--ink); background: rgba(33,29,26,0.06); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: var(--red); border-color: var(--red); color: #fff;
}
.btn-primary:hover { background: var(--red-dk); border-color: var(--red-dk); color: #fff; }

/* ------------------------------------------------ hero */
.hero { padding-top: 34px; padding-bottom: 44px; }
.hero-grid { display: grid; gap: 26px; }
.hero-kicker {
  margin: 0 0 18px;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red);
}
.hero h1 {
  font-size: clamp(2.9rem, 13vw, 4.6rem);
  font-weight: 800;
}
.hero h1 .e {
  color: var(--red); font-style: italic; font-weight: 700;
  padding: 0 0.04em;
}
.hero-sub {
  margin: 20px 0 0;
  font-size: 1.12rem; color: var(--muted);
  max-width: 34ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero-figure img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hero-badge {
  position: absolute; left: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  background: color-mix(in srgb, var(--board) 82%, transparent);
  color: var(--chalk);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 7px 12px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.hero-badge b { color: #fff; }
.hero-badge .star { color: #e8b23a; }

/* ------------------------------------------------ tris "cosa trovi" */
.offer { padding: 8px 0 48px; }
.offer-grid { display: grid; gap: 4px; }
.offer-item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.offer-item h3 {
  font-size: 1.32rem; font-weight: 700;
  margin-bottom: 7px;
}
.offer-item .num {
  color: var(--red); font-weight: 700;
  margin-right: 10px; font-size: 0.95rem;
  font-family: "Hanken Grotesk", sans-serif;
  vertical-align: 2px;
}
.offer-item p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ------------------------------------------------ section frame */
.section { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(2rem, 8vw, 2.9rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }

/* ------------------------------------------------ lavagna (dark board) */
.board {
  background: var(--board);
  color: var(--chalk);
  background-image:
    radial-gradient(120% 80% at 15% 0%, rgba(255,255,255,0.05), transparent 60%);
}
.board .wrap { padding-top: 58px; padding-bottom: 60px; }
.board h2 { color: #fff; font-size: clamp(2rem, 8vw, 2.9rem); }
.board .eyebrow {
  color: var(--red);
  filter: brightness(1.7) saturate(1.2);
}
.board-lead { color: var(--chalk-mut); margin: 14px 0 34px; max-width: 52ch; font-size: 1.06rem; }
.board-cols { display: grid; gap: 34px; }
.board-col h3 {
  font-size: 1.05rem; font-weight: 700;
  color: #fff;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding-bottom: 12px; margin-bottom: 6px;
  border-bottom: 1px solid rgba(236,231,222,0.16);
  font-family: "Hanken Grotesk", sans-serif;
}
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li {
  padding: 11px 0;
  border-bottom: 1px dashed rgba(236,231,222,0.14);
  font-size: 1.08rem;
  display: flex; align-items: baseline; gap: 12px;
}
.board-list li:last-child { border-bottom: 0; }
.board-list .mark { color: var(--red); filter: brightness(1.7); font-weight: 700; }
.board-list small { color: var(--chalk-mut); font-size: 0.86rem; font-weight: 400; }
.board-note { color: var(--chalk-mut); font-size: 0.95rem; margin: 30px 0 0; }

/* ------------------------------------------------ feature splits */
.feature { display: grid; gap: 24px; align-items: center; }
.feature-media {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
}
.feature-media img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.feature-body h2 { font-size: clamp(1.9rem, 7.5vw, 2.6rem); }
.feature-body p { color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.feature-tags li {
  font-size: 0.9rem; font-weight: 500;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 6px 13px; border-radius: 999px;
}

/* ------------------------------------------------ quote */
.quote { text-align: center; }
.quote .wrap { max-width: 760px; }
.quote blockquote {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 5.5vw, 2.15rem);
  line-height: 1.16; letter-spacing: -0.015em;
}
.quote .mk { color: var(--red); }
.quote cite {
  display: block; margin-top: 22px;
  font-family: "Hanken Grotesk", sans-serif;
  font-style: normal; font-weight: 600; font-size: 0.95rem;
  color: var(--muted); letter-spacing: 0.02em;
}
.quote cite .star { color: #d99a1f; }

/* ------------------------------------------------ info / dove */
.info-grid { display: grid; gap: 34px; }
.info-block h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 16px;
}
.hours { width: 100%; border-collapse: collapse; font-size: 1.02rem; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours tr:last-child td { border-bottom: 0; }
.hours td:first-child { font-weight: 600; padding-right: 16px; white-space: nowrap; }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours .closed { color: var(--red); font-weight: 600; }
.hours .today td { color: var(--ink); }
.hours .today td:first-child::after {
  content: "oggi"; display: inline-block;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: #fff; background: var(--red);
  padding: 1px 7px; border-radius: 999px; margin-left: 8px; vertical-align: 1px;
}
.contact-lines { margin: 0 0 20px; font-size: 1.05rem; line-height: 1.9; }
.contact-lines .addr { color: var(--ink); }
.contact-lines a { font-weight: 600; }
.map-embed { margin-top: 6px; }

/* ------------------------------------------------ footer */
.footer {
  background: var(--board); color: var(--chalk-mut);
  padding: 46px 0 40px;
}
.footer .brand-lg {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800; font-size: 1.9rem; color: #fff;
  letter-spacing: -0.02em; margin: 0 0 14px;
}
.footer .brand-lg .e { color: var(--red); filter: brightness(1.6); font-style: italic; }
.footer p { margin: 5px 0; font-size: 0.96rem; }
.footer a { color: var(--chalk); font-weight: 600; }
.footer a:hover { color: #fff; }
.footer .foot-cols { display: grid; gap: 26px; }
.footer .copy { margin-top: 30px; font-size: 0.85rem; color: var(--chalk-mut); }
.demo-note {
  margin-top: 14px !important;
  font-size: 0.8rem !important; color: #7d7264 !important;
  border-top: 1px dashed rgba(236,231,222,0.16); padding-top: 14px;
}

/* ------------------------------------------------ reveal (progressive, no JS) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      animation: rise-in 0.8s var(--ease) forwards;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
  }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero .reveal-load { animation: rise-in 0.9s var(--ease) both; }
  .hero .d1 { animation-delay: 0.05s; }
  .hero .d2 { animation-delay: 0.14s; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 620px) {
  .board-cols { grid-template-columns: 1fr 1fr; gap: 44px; }
  .feature-tags li { font-size: 0.94rem; }
}

@media (min-width: 780px) {
  body { font-size: 18px; }
  .section { padding: 76px 0; }
  .offer-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .offer-item {
    padding: 4px 30px 4px 0;
    border-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 26px;
  }
  .offer-item:first-child { border-left: 0; padding-left: 0; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .footer .foot-cols { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 900px) {
  :root { --pad: 32px; }
  .hero { padding-top: 56px; padding-bottom: 76px; }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px; align-items: center;
  }
  .hero-sub { font-size: 1.2rem; }
  .hero-figure img { aspect-ratio: 4 / 3; }   /* wide shop shot — stays landscape */

  .feature {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
  }
  .feature-media img { aspect-ratio: 3 / 2; } /* landscape sources — no towering */
  .feature.reverse .feature-media { order: 2; }
  .feature.reverse .feature-body { order: 1; }
}

@media (min-width: 1040px) {
  .hero h1 { font-size: 5rem; }
}
