/* ── RESTAUROITALIA.IT — STILE CONDIVISO ── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Nunito:wght@400;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@latest/tabler-icons.min.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blu:        #1a3e8c;
  --blu-dark:   #0f2660;
  --blu-light:  #eef2fb;
  --blu-mid:    #dce8f8;
  --arancio:    #e8660a;
  --arancio-lt: #fff4ee;
  --arancio-md: #fde8d4;
  --grigio:     #555555;
  --grigio-lt:  #f5f7fa;
  --bordo:      #dce4f5;
  --white:      #ffffff;
  --max-w:      1100px;
  --pad:        clamp(20px, 4vw, 48px);
}

html { scroll-behavior: smooth; }
body { font-family: 'Nunito', sans-serif; background: var(--grigio-lt); color: var(--grigio); line-height: 1.6; }

a { color: var(--blu); text-decoration: none; }
a:hover { color: var(--arancio); }
img { max-width: 100%; display: block; }

/* ── CONTAINER ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

/* ── HEADER ── */
.site-header {
  background: var(--white);
  border-bottom: 2px solid #f0f0f0;
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-box {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blu) 60%, var(--arancio) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-box svg { width: 26px; height: 26px; fill: #fff; }
.logo-text-wrap {}
.logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px; font-weight: 800; color: var(--blu); line-height: 1;
}
.logo-name span { color: var(--arancio); }
.logo-name .hammer { font-size: 22px; }
.logo-name .dot-it { color: #888; font-size: 18px; font-weight: 400; }
.logo-tag { font-size: 9px; color: #888; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.header-tel { text-align: right; }
.header-tel .lbl { font-size: 10px; color: #888; font-weight: 600; }
.header-tel .num { font-size: 16px; font-weight: 700; color: var(--blu); }

/* ── NAV ── */
.site-nav { background: var(--blu); }
.site-nav .container { display: flex; align-items: center; padding-top: 0; padding-bottom: 0; }
.site-nav a {
  color: rgba(255,255,255,0.75); font-size: 13px; font-weight: 600;
  text-decoration: none; padding: 13px 18px;
  border-bottom: 3px solid transparent; display: inline-block;
  transition: color .2s, border-color .2s;
}
.site-nav a:hover { color: #fff; }
.site-nav a.active { color: #fff; border-bottom: 3px solid var(--arancio); }
.nav-cta {
  margin-left: auto;
  background: var(--arancio); color: #fff;
  padding: 8px 18px; border-radius: 6px;
  font-size: 12px; font-weight: 700;
  transition: background .2s; cursor: pointer; border: none;
  font-family: 'Nunito', sans-serif;
}
.nav-cta:hover { background: #c9550a; }

/* ── SECTION LABELS ── */
.sec-label {
  text-align: center; font-size: 10px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--arancio); margin-bottom: 8px;
}
.sec-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(24px, 3vw, 32px); font-weight: 800; color: var(--blu);
  text-align: center; margin: 0 0 36px; line-height: 1.15;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  background: rgba(232,102,10,0.2); border: 1px solid rgba(232,102,10,0.5);
  color: #f5a05a; font-size: 10px; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}

/* ── FOOTER ── */
.site-footer { background: var(--white); border-top: 2px solid #f0f0f0; padding: 36px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 28px; }
.footer-brand .brand-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px; font-weight: 800; color: var(--blu);
}
.footer-brand .brand-name span { color: var(--arancio); }
.footer-brand .tagline { font-size: 11px; color: #888; margin-top: 4px; line-height: 1.5; max-width: 200px; }
.footer-brand .legal { font-size: 10px; color: #aaa; margin-top: 10px; line-height: 1.6; }
.footer-socials { display: flex; gap: 8px; margin-top: 14px; }
.footer-socials a {
  width: 32px; height: 32px; background: var(--blu-light);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  color: var(--blu); font-size: 16px; transition: all .2s; text-decoration: none;
}
.footer-socials a:hover { background: var(--blu); color: #fff; }
.footer-socials a.ig { color: var(--arancio); }
.footer-socials a.ig:hover { background: var(--arancio); color: #fff; }
.footer-col .col-title {
  font-size: 11px; font-weight: 700; color: var(--blu);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px;
}
.footer-col a { display: block; font-size: 11.5px; color: #777; margin-bottom: 8px; transition: color .2s; }
.footer-col a:hover { color: var(--arancio); }
.footer-col .open { font-size: 10px; color: #aaa; margin-top: 10px; }
.footer-bottom {
  border-top: 1px solid #f0f0f0; padding: 14px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom .copy { font-size: 10px; color: #bbb; }
.footer-legal-links { display: flex; gap: 16px; }
.footer-legal-links a { font-size: 10px; color: #bbb; }
.footer-legal-links a:hover { color: var(--arancio); }

/* ── HERO COMUNE ── */
.page-hero {
  background: linear-gradient(160deg, var(--blu) 0%, var(--blu-dark) 100%);
  padding: 48px var(--pad) 52px;
}
.page-hero .hero-badge { margin-bottom: 16px; }
.page-hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 5vw, 48px); font-weight: 900;
  color: #fff; line-height: 1.1; margin-bottom: 12px;
}
.page-hero h1 span { color: var(--arancio); }
.page-hero .hero-sub {
  color: rgba(255,255,255,0.72); font-size: 14px; line-height: 1.7;
  max-width: 480px; text-align: justify;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-col:first-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer-legal-links { flex-wrap: wrap; justify-content: center; }
  .site-nav a { padding: 12px 12px; font-size: 12px; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .logo-name { font-size: 20px; }
  .header-tel .num { font-size: 13px; }
}
