/* ============================================================
   Mettiti comodo — Gabetti Franchising Vasto
   Foglio di stile condiviso (index.html + thankyou.html)
   ============================================================ */

/* ---------- Font Inter ospitato localmente (nessuna chiamata a Google) ---------- */
@font-face{ font-family:"Inter"; font-style:normal; font-weight:400; font-display:swap; src:url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face{ font-family:"Inter"; font-style:normal; font-weight:500; font-display:swap; src:url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face{ font-family:"Inter"; font-style:normal; font-weight:600; font-display:swap; src:url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face{ font-family:"Inter"; font-style:normal; font-weight:700; font-display:swap; src:url("../fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face{ font-family:"Inter"; font-style:normal; font-weight:800; font-display:swap; src:url("../fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root{
  --rosso: #A6213A;          /* rosso ufficiale Gabetti */
  --rosso-scuro: #7F1A2D;    /* hover / testi su chiaro */
  --rosso-chiaro: #F6E7EA;
  --calce: #F7F3ED;
  --calce-2: #F1EAE0;
  --inchiostro: #232020;
  --inchiostro-soft: #5C5650;
  --pietra: #DCD4C8;
  --mare: #2E5C57;
  --bianco: #FFFFFF;
  --footer: #232020;

  --font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font);
  color: var(--inchiostro);
  background: var(--calce);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
:focus-visible{ outline: 2px solid var(--mare); outline-offset: 3px; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }
.wrap-narrow{ max-width:760px; margin:0 auto; padding:0 24px; }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* ---------- Pulsanti ---------- */
.btn{
  display:inline-block;
  background: var(--rosso);
  color: var(--bianco);
  font-weight:700;
  font-size:16px;
  line-height:1.2;
  padding:16px 30px;
  border-radius:4px;
  text-decoration:none;
  text-align:center;
  transition: background .2s ease, transform .2s ease;
  box-shadow: 0 8px 20px -10px rgba(166,33,58,.55);
}
.btn:hover{ background: var(--rosso-scuro); transform: translateY(-1px); }
.btn-small{ font-size:14px; padding:10px 18px; box-shadow:none; }

/* ---------- Barra di navigazione ---------- */
.nav{
  position: sticky; top:0; z-index:50;
  background: rgba(247,243,237,.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--pietra);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  max-width:1180px; margin:0 auto; padding:12px 24px;
}
.nav-logo img{ height:40px; width:auto; }
.nav-inner.center{ justify-content:center; }
.cta-short{ display:none; }
@media (max-width: 560px){
  .nav-logo img{ height:32px; }
  .cta-long{ display:none; }
  .cta-short{ display:inline; }
}

/* ---------- Titoli di sezione ---------- */
.eyebrow{
  font-size:13px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  color: var(--rosso);
  margin-bottom:14px;
}
.divider{ height:3px; width:56px; background: var(--rosso); border-radius:2px; margin-bottom:28px; }
.h2{
  font-weight:800;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height:1.18;
  letter-spacing:-.02em;
  color: var(--inchiostro);
}
.h2 em{ font-style:normal; color: var(--rosso); }
.lead{ font-size:17px; line-height:1.7; color: var(--inchiostro-soft); }
.lead strong{ color: var(--inchiostro); font-weight:600; }

/* ---------- Footer ---------- */
.footer{
  background: var(--footer);
  color: #CFC8BF;
  padding: 56px 0 32px;
  font-size: 14px;
  text-align:center;
}
.footer-logo{ height:44px; width:auto; margin:0 auto 32px; }
.footer-sedi{
  display:grid; grid-template-columns:1fr 1fr; gap:24px;
  max-width:520px; margin:0 auto 28px;
}
.footer-sede-nome{ font-weight:700; color: var(--bianco); margin-bottom:4px; font-size:15px; }
.footer-sede-indirizzo{ color:#CFC8BF; }
.footer-tel{ margin:0 auto 24px; color:#CFC8BF; font-size:15px; }
.footer-tel a{ color: var(--bianco); font-weight:700; text-decoration:none; white-space:nowrap; }
.footer-links{ margin: 0 auto 24px; display:flex; justify-content:center; flex-wrap:wrap; gap:8px 20px; }
.footer-links a{ color: var(--bianco); text-decoration: underline; text-underline-offset:3px; }
.footer-legal{
  border-top:1px solid rgba(255,255,255,.14);
  padding-top:24px;
  font-size:13px; line-height:1.7; color:#A9A29A;
}
.footer-legal strong{ color:#E6E0D8; font-weight:600; }
@media (max-width:480px){
  .footer-sedi{ grid-template-columns:1fr; gap:18px; }
}
