@font-face {
  font-family: 'DDIN';
  src: url('fonts/D-DINCondensed-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}
/* =========================================
   VARIABILI GLOBALI DEL SITO
========================================= */
:root {
  --bg-top: #000000;
  --bg-mid: #F3B63D;
  --bg-bottom: #000000;

  --text: #F3B63D;
  --panel: rgba(243, 182, 61, 0.04);
  --panel-strong: rgba(243, 182, 61, 0.06);
  --line: rgba(243, 182, 61, 0.18);

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;

  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --max: 1240px;
}


/* =========================================
   RESET BASE
========================================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
.section {
  scroll-margin-top: 140px;
}
/* =========================================
   STILE GENERALE DEL BODY
========================================= */
body {
  margin: 0;
  color: var(--text);
  background: #F3B63D;
  font-family: "DDIN", "Oswald";
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================================
   TITOLI E TESTI EVIDENZIATI
========================================= */
h1, h2, h3, h4, h5, h6,
.nav-links a,
.btn,
.brand-word,
.tag,
.eyebrow,
.visual-badge,
.stat strong,
.info-box strong {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

/* =========================================
   ELEMENTI GENERICI
========================================= */
a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

/* =========================================
   HEADER FISSO IN ALTO
========================================= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: none;
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid var(--line);
  min-height: 140px;
}

/* =========================================
   NAVIGAZIONE PRINCIPALE
========================================= */
.nav {
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* =========================================
   BLOCCO BRAND / LOGO
========================================= */
.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  height: 120px;
  width: auto;
  display: block;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 1rem;
}

.brand-word {
  font-size: 1.05rem;
  text-transform: uppercase;
  color: var(--text);
}

.brand small {
  display: block;
  color: var(--text);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 3px;
  opacity: 1;
}

/* =========================================
   LINK DEL MENU IN ALTO
========================================= */
.nav-links {
  display: none;
  align-items: center;
  gap: 22px;
  color: var(--text);
  font-size: 0.95rem;
}

.nav-links a:hover {
  opacity: 0.8;
}

/* =========================================
   AZIONI A DESTRA DELLA NAV
========================================= */
.nav-actions {
  display: none;
}

/* =========================================
   BOTTONI GENERALI
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #000;
  transition: 0.2s ease;
  cursor: pointer;
  font-size: 0.92rem;
  color: #000;
  background: transparent;
  white-space: nowrap;
}
.franchising-btn{
  background: #F3B63D;
  color:#000;
  border:none;
  font-weight: 700;

}
.franchising-btn:hover {
  background: #000;
  color: #F3B63D;
  border: 1px solid #F3B63D;
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--panel);
}

.btn-primary {
  background: #F3B63D;
  color: #000;
  border: 1px solid #0000;
  border-color: #000;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
}

/* =========================================
   BOTTONE MENU
========================================= */
.mobile-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: transparent;
  color: var(--text);
  border: 0;
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 0px;
  top: 56%;
  transform: translateY(-50%);
}
.mobile-toggle img {
  width: 13px;
  height: auto;

}
.menu-label{
  margin-top: 6px;
  font-family: "Montserrat";
  font-weight: 700;
  font-size:9px;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
/* =========================================
   MENU APERTO
========================================= */
.nav.open .nav-links {
  display: flex;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  background: #000000;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  width: 220px;
  z-index: 1001;
}

.nav.open .nav-actions {
  display: none;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
  padding: 58px 0 34px;
  background: #F3B63D;
  color:#000000;
}
.hero *{
  color:#000;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

/* =========================================
   PANEL BASE RIUTILIZZABILE
========================================= */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

/* =========================================
   BLOCCO TESTUALE DELLA HERO
========================================= */
.hero-copy {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* =========================================
   EYEBROW
========================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #000;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

/* =========================================
   TITOLO PRINCIPALE HERO
========================================= */
h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.92;
  margin: 0 0 18px;
  text-transform: uppercase;
  color: #000;
}
h1.h1-small {
  font-size: clamp(2.2rem, 9vw, 3.6rem);
}
.hero-copy p {
  color: #000;
  max-width: 58ch;
  font-size: 1.05rem;
  margin: 0 0 28px;
}

/* =========================================
   BOTTONI HERO
========================================= */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

/* =========================================
   STATISTICHE HERO
========================================= */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  background:#000;
  border: 5px solid #F3B63D;
  color: #F3B63D;
  border-radius: 40px;
  padding: 18px;
}
.stat:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.15);
}
.stat strong {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 5px;
  color: #F3B63D;
}

.stat span {
  color: #F3B63D;
}

/* =========================================
   COLONNA DESTRA HERO
========================================= */
.hero-side {
  display: grid;
  gap: 18px;
}

/* =========================================
   BOX VISIVO DELLA HERO
========================================= */
.visual {
  min-height: 360px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.45)),
    url('https://images.unsplash.com/photo-1521389508051-d7ffb5dc8f70?auto=format&fit=crop&w=1400&q=80') center/cover;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

/* =========================================
   BADGE SOPRA L'IMMAGINE HERO
========================================= */
.visual-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(0,0,0,0.6);
  border: 1px solid var(--line);
  color: #000;
  padding: 10px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
}

/* =========================================
   PICCOLA CARD SECONDARIA HERO
========================================= */
.mini-card {
  padding: 22px;
  border-radius: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.mini-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text);
}

.mini-card p {
  margin: 0;
  color: var(--text);
}

/* =========================================
   SEZIONE GENERICA DEL SITO
========================================= */
.section {
  padding: 34px 0;
}

/* =========================================
   TESTATA DI OGNI SEZIONE
========================================= */
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  text-transform: uppercase;
  color: var(--text);
}

.section-head p {
  margin: 0;
  color: var(--text);
  max-width: 66ch;
}

/* =========================================
   GRIGLIE GENERICHE
========================================= */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 18px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =========================================
   CARD STANDARD
========================================= */
.card {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--text);
}

.card p,
.card li,
.contact-form input,
.contact-form textarea {
  color: var(--text);
}

/* =========================================
   TAG PICCOLI SOPRA LE CARD
========================================= */
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text);
}

/* =========================================
   TESTO IN EVIDENZA NELLE CARD PREMI
========================================= */
.award-value {
  font-size: 1.3rem;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
  text-transform: uppercase;
}

/* =========================================
   LAYOUT DUE COLONNE PER NUOVE STRUTTURE
========================================= */
.split-highlight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* =========================================
   LAYOUT CONTATTI FRANCHISING
========================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

/* =========================================
   STACK DI BOX INFORMATIVI
========================================= */
.info-stack {
  display: grid;
  gap: 14px;
}

.info-box {
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.info-box strong {
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--text);
}

/* =========================================
   FORM GENERALI
========================================= */
.contact-form {
  display: grid;
  gap: 14px;
  max-width: 520px;
}

/* input e textarea (TUO STILE) */
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(243, 182, 61, 0.03);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px 16px;
  color: var(--text);
  font: inherit;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text);
  opacity: 1;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* 👇 CHECKBOX PRIVACY (NUOVO) */
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text);
}

.privacy-check input {
  margin-top: 4px;
  width: auto;
}

/* link privacy */
.privacy-check a {
  text-decoration: underline;
}

/* 👇 MESSAGGIO FORM (NUOVO) */
#formMessage {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 8px;
}

/* =========================================
   FOOTER
========================================= */
.footer {
  padding: 24px 0 44px;
  color: #000;
}

.footer-wrap {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}


/* =========================================
   RESPONSIVE TABLET
========================================= */
@media (max-width: 1100px) {

  /* DIMENSIONI HEADER */
  .logo {
    height: 110px;
  }

  .topbar,
  .nav {
    min-height: 200px;
  }
}

/* =========================================
   RESPONSIVE TABLET LAYOUT
========================================= */
@media (max-width: 1024px) {
  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .split-highlight,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
/* 💣 HEADER + LOGO */
  .logo {
    height: 135px;
  }

  .topbar,
  .nav {
    min-height: 205px;
  }
  .hero-copy {
    min-height: auto;
  }
}

/* =========================================
   RESPONSIVE MOBILE
========================================= */
@media (max-width: 840px) {
  .logo {
    height: 82px;
  }

  .topbar,
  .nav {
    min-height: 130px;
  }

  .hero-copy,
  .card,
  .mini-card {
    padding: 22px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.8rem);
  }
  .riconoscimenti-page .hero h1 {
    font-size: clamp(2.5rem, 6vw, 3rem);
    line-height: 1 ;
}
}


/* =========================================
   NAV ACTIONS (FRANCHISING)
========================================= */

/* nascosto di default */
.nav-actions {
  display: none;
}

/* visibile solo su desktop grandi */
@media (min-width: 1200px) {
  .nav-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    top: 50%;
    right: 96px;
    transform: translateY(-50%);
    align-items: stretch;
  }
}

/* =========================================
   POPUP LINGUA
========================================= */
.language-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.language-box {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(90vw, 360px);
  margin: 0 auto;
}
.language-link {
  width: 100%;
  justify-content: center;
}
.dark-section {
  background: #000;
  color: #F3B63D;
}

.dark-panel {
  background: #000;
  color: #F3B63D;
  border: 1px solid #F3B63D;
}

.dark-panel * {
  color: #F3B63D;
}
.h5-hero {
  font-size: clamp(2.8rem, 5vw, 4.5rem); /* più grande dell’h1 */
  line-height: 0.95;
  margin: 0 0 24px;
  text-transform: uppercase;
  color: #000;

  font-family: "Montserrat", sans-serif; /* stesso dei titoli */
  font-weight: 800;
  letter-spacing: -0.04em;

  text-align: center; /* centrato */
}

.dark-panel .h5-hero {
  color: #000; /* resta nero anche su sfondo nero (se vuoi contrasto diverso lo cambiamo) */
}
.dark-panel p,
.dark-panel li,
.dark-panel span {
  color: #F3B63D;
}
.section:not(.dark-section),
.section:not(.dark-section) h1,
.section:not(.dark-section) h2,
.section:not(.dark-section) h3,
.section:not(.dark-section) h4,
.section:not(.dark-section) h5,
.section:not(.dark-section) h6,
.section:not(.dark-section) p,
.section:not(.dark-section) li,
.section:not(.dark-section) span,
.section:not(.dark-section) strong,
.section:not(.dark-section) a,
.section:not(.dark-section) .section-head h2,
.section:not(.dark-section) .section-head p,
.section:not(.dark-section) .card h3,
.section:not(.dark-section) .card p,
.section:not(.dark-section) .info-box strong,
.section:not(.dark-section) .info-box p,
.section:not(.dark-section) .contact-form input,
.section:not(.dark-section) .contact-form textarea,
.section:not(.dark-section) .contact-form input::placeholder,
.section:not(.dark-section) .contact-form textarea::placeholder {
  color: #000;
}

.section .card,
.section .info-box {
  background: transparent;
  border: 4px solid #000;
}

.section .btn-secondary {
  color: #000;
  border: 4px solid #000;
}
.section .contact-form input,
.section .contact-form textarea {
  background: transparent;
  border: 1.5px solid #000; /* bordo nero visibile */
  color: #000;
}
.section .contact-form input::placeholder,
.section .contact-form textarea::placeholder {
  color: rgba(0, 0, 0, 0.6);
}
.section .black-section {
  background: #000;
  border: 2px solid #F3B63D;
  border-radius: 24px;
  padding: 30px;
  margin: 10px 0;
}

/* TESTO GIALLO FORZATO */
.section .black-section p,
.section .black-section li,
.section .black-section span,
.section .black-section strong {
  color: #F3B63D !important;
}
.hero + .section {
  padding-top: 10px;
}
.black-section {
  background: #000 !important;
  border: 2px solid #F3B63D;
  border-radius: 24px;
  padding: 40px;
  margin: 20px 0;
}

.black-section p,
.black-section strong {
  color: #F3B63D !important;
}
.allergen-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.allergen-tags span {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.78rem;
}
.pasta-card {
  position: relative;
  padding-bottom: 60px; /* spazio per icona */
}

.pasta-card img {
  position: absolute;
  bottom: 12px;
  right: 12px;

  width: 130px;
  height: auto;

  opacity: 0.9;
  filter: drop-shadow(0 3px 5px rgba(0,0,0,0.15));
}
.menu-page .sughi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.menu-page .sughi-grid .card h3 {
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
  font-size: 1rem;
}
.card h3 {
  font-size: 1rem;
}
.sugo-group {
  grid-column: 1 / -1; /* occupa tutta la larghezza */
}

.sugo-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin: 10px 0 10px;
  font-size: 5rem;
  letter-spacing: 0.08em;
}

.btn-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top:20px;

  padding: 18px; /* più piccoli */
  font-size: 0.7rem;
  font-weight: 700;

  border-radius: 999px;
  border: 2px solid #000;

  background: #000 !important;/* come btn-primary */
  color: #F3B63D !important;

  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;

  line-height: 1;
  text-decoration: none;
  white-space: nowrap;

  transition: 0.2s ease;
}

.btn-chip:hover {
  background: #000;
  color: #F3B63D;
}
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

/* =========================================
   FOOTER COMPLETO
========================================= */
.footer-legal {
  background: #000;
  color: #F3B63D;
  padding: 38px 0 26px;
  border-top: 1px solid rgba(243, 182, 61, 0.18);
}

.footer-legal .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Riga alta: brand a sinistra, social a destra */
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-wrap > div {
  color: #F3B63D;
}

/* Social */
.social-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  margin-right: 8px; /* respiro dal bordo destro */
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.social-icons img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain;
}

/* Link legali */
.footer-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 30px;
  text-align: center;
}

.footer-links-row a {
  color: #F3B63D;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer-links-row a:hover {
  opacity: 0.75;
}

.footer-links-row-second {
  margin-top: -6px;
}

/* Copyright finale */
.footer-copy {
  text-align: center;
  color: rgba(243, 182, 61, 0.75);
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* =========================================
   FOOTER RESPONSIVE
========================================= */
@media (max-width: 840px) {
  .footer-legal {
    padding: 28px 0 22px;
  }

  .footer-legal .container {
    gap: 20px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .social-icons {
    justify-content: center;
    margin-right: 0;
    gap: 14px;
  }



  .footer-links-row {
    gap: 12px 18px;
  }

  .footer-links-row a,
  .footer-copy,
  .footer-wrap > div {
    font-size: 0.85rem;
  }
}



.social-icons img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(79%) sepia(68%) saturate(548%) hue-rotate(345deg) brightness(101%) contrast(91%);
}


.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #000;
}

.privacy-check input {
  margin-top: 3px;
  width: auto;
}

.privacy-check a {
  text-decoration: underline;
}

/* =========================
   MENU TRANSLATION
========================= */

.menu-translation {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: 4px;
}

/* sotto i titoli */
.card h3 + .menu-translation {
  margin-top: 6px;
}

/* leggermente più elegante */
.menu-translation {
  letter-spacing: 0.2px;
}