/* ==========================================================================
   Big Bar — dal 1960
   ========================================================================== */

/* Font ospitati sul sito (nessun collegamento a Google). Variabili, sottoinsieme latino. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
  src: url("../fonts/playfair.woff2") format("woff2");
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/playfair-italic.woff2") format("woff2");
}

:root {
  --base: #1a1008;
  --surface: #2a1c0e;
  --gold: #c8922a;
  --cream: #f5efe6;
  --muted: #a89070;
  --line: rgba(200, 146, 42, 0.22);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 76px;
  --radius: 10px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--base);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 .6em; }
h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.center { text-align: center; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8em;
}

/* ---------- Bottoni ---------- */
.btn {
  display: inline-block;
  padding: .85em 1.8em;
  background: var(--gold);
  color: var(--base);
  font-weight: 600;
  border: 1px solid var(--gold);
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--gold); text-decoration: none; }
.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--base); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(26, 16, 8, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--cream);
}
.brand:hover { text-decoration: none; }
.brand:hover span { color: var(--gold); }
.brand-logo { height: 58px; width: auto; color: var(--gold); flex-shrink: 0; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 10px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: absolute;
  top: var(--header-h); left: 0; right: 0;
  display: none;
  flex-direction: column;
  background: var(--base);
  border-bottom: 1px solid var(--line);
  padding: 8px 20px 20px;
}
.nav.is-open { display: flex; }
.nav a {
  color: var(--cream);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.nav a:last-child { border-bottom: 0; }
.nav a:hover { color: var(--gold); text-decoration: none; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; display: flex; flex-direction: row; gap: 32px;
    background: none; border: 0; padding: 0;
  }
  .nav a { padding: 0; border: 0; font-size: .95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(200, 146, 42, 0.16), transparent 60%),
    var(--base);
}
.hero-year {
  position: absolute;
  right: -0.08em;
  bottom: -0.2em;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(9rem, 42vw, 34rem);
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(200, 146, 42, 0.35);
  user-select: none;
  pointer-events: none;
}
.hero-content { position: relative; padding-top: 48px; padding-bottom: 48px; }
.hero-title {
  font-size: clamp(3.4rem, 14vw, 7.5rem);
  font-weight: 900;
  margin-bottom: .1em;
}
.hero-since {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 5vw, 2.2rem);
  color: var(--muted);
  margin-bottom: .8em;
}
.hero-since span { color: var(--gold); font-style: normal; font-weight: 700; }
.hero-claim { font-size: 1.15rem; max-width: 28ch; margin-bottom: 2em; }

/* Fade all'apertura */
.hero-content, .hero-year { animation: fade-in 1.1s ease-out both; }
.hero-year { animation-duration: 1.8s; }
@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content, .hero-year { animation: none; }
}

/* ---------- Sezioni ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
@media (min-width: 800px) { .section { padding: 112px 0; } }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }

#chi-siamo p { color: var(--cream); max-width: 60ch; }

/* ---------- Al banco ---------- */
#bar p { max-width: 60ch; }
#bar strong { color: var(--gold); font-weight: 600; }
.feature {
  position: relative;
  background: var(--base);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 36px 28px;
}
.feature h3 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 900;
  color: var(--gold);
}
.feature p:last-child { margin-bottom: 0; }
.feature strong { color: var(--cream) !important; }

.photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

/* ---------- Servizi ---------- */
.cards {
  list-style: none; margin: 40px 0 0; padding: 0;
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  background: var(--base);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s;
}
.card:hover { border-color: var(--gold); }
.section:not(.section-alt) .card { background: var(--surface); }
.card p { color: var(--muted); margin: 0; font-size: .95rem; }
.card-icon {
  width: 32px; height: 32px; margin-bottom: 18px;
  fill: none; stroke: var(--gold); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}

.lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.lead strong { color: var(--cream); font-weight: 600; }

.card ul { list-style: none; margin: 0; padding: 0; }
.card ul li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: var(--muted);
  font-size: .95rem;
  border-top: 1px solid var(--line);
}
.card ul li:first-child { border-top: 0; padding-top: 0; }
.card ul li::before {
  content: "";
  position: absolute; left: 2px; top: 14px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}
.card ul li:first-child::before { top: 8px; }
.card-link { display: flex; flex-direction: column; }
.card-more { margin-top: auto; padding-top: 16px; font-weight: 600; }
.card-legal { margin-top: 14px !important; font-size: .78rem !important; opacity: .8; }

/* ---------- Ritiro pacchi ---------- */
.couriers {
  list-style: none; margin: 32px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.couriers li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
}

.steps {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; gap: 32px;
  counter-reset: step;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3.2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  margin-bottom: 12px;
  font-variant-numeric: lining-nums;
}
.steps h3 { margin-bottom: .4em; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }
.steps strong { color: var(--cream); font-weight: 600; }

.note-box {
  margin: 48px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--base);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .95rem;
}

/* ---------- Orari ---------- */
.hours { width: 100%; border-collapse: collapse; margin-top: 24px; }
.hours th, .hours td { padding: 14px 0; border-bottom: 1px solid var(--line); }
.hours th { text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--gold); font-weight: 600; }
.hours tr.is-today th::after {
  content: "oggi";
  margin-left: 10px;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--gold); border-radius: 999px; padding: 2px 8px;
  vertical-align: middle;
}
.note { color: var(--muted); font-size: .9rem; margin-top: 16px; }

/* ---------- Dove siamo ---------- */
address { font-style: normal; font-size: 1.1rem; margin-bottom: 28px; }
.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-link { display: block; height: 100%; }
.map-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.map-link:hover img { transform: scale(1.03); }
.map-pin {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -100%);
  display: flex; align-items: flex-start;
}
.map-pin svg {
  width: 34px; height: 45px;
  fill: var(--gold); stroke: var(--base); stroke-width: 1.2;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .6));
}
.map-pin circle { fill: var(--base); stroke: none; }
.map-label {
  position: absolute;
  left: 38px; top: 4px;
  white-space: nowrap;
  padding: 3px 12px;
  background: var(--base);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1rem;
  color: var(--cream);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .5);
}
.map-cta {
  position: absolute;
  right: 12px; bottom: 12px;
  padding: 6px 14px;
  background: rgba(26, 16, 8, .85);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem; font-weight: 600;
  color: var(--gold);
}
.map-link:hover .map-cta { border-color: var(--gold); }
.map-credit {
  position: absolute;
  left: 10px; bottom: 8px;
  font-size: .7rem;
  color: var(--muted);
}
.map-credit a { color: var(--muted); }

/* ---------- Contatti ---------- */
.contacts { list-style: none; padding: 0; margin: 32px 0 0; }
.contacts li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contacts li:last-child { border-bottom: 0; }
.contacts span {
  display: block;
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 4px;
}
.contacts a { font-family: var(--font-display); font-size: 1.4rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 40px 0;
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
}
.site-footer p { margin: 0 0 .4em; }
.footer-brand { font-family: var(--font-display); font-size: 1.4rem; color: var(--cream); font-weight: 700; }
.footer-brand span { color: var(--gold); font-weight: 500; font-style: italic; font-size: 1rem; }

@media (min-width: 800px) {
  :root { --header-h: 88px; }
  .brand { font-size: 1.8rem; gap: 12px; }
  .brand-logo { height: 70px; }
}

/* ---------- Pagine testuali (privacy) ---------- */
.back-link { color: var(--cream); font-weight: 500; font-size: .95rem; }
.back-link:hover { color: var(--gold); text-decoration: none; }
.legal { max-width: 720px; }
.legal h1 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; }
.legal h2 {
  font-size: 1.4rem;
  margin-top: 2.2em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.legal p, .legal li { color: var(--cream); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal li::marker { color: var(--gold); }
.legal strong { color: var(--gold); font-weight: 600; }
.legal-meta { color: var(--muted) !important; font-size: .9rem; }
