/* =========================================================
   SPUNTINI — style.css (pulito + ordinato)
   ========================================================= */

/* ========== RESET ========== */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== VARIABILI ========== */
:root{
  --rosso: #da0114;
  --rosso-chiaro: #b11226;
  --bianco: #ffffff;

  /* (se ti serve ancora per contatti/hero) */
  --contatti-x: 90%;
  --contatti-y: 87%;

  /* (opzionali, tenute qui per non duplicare :root) */
  --sync-speed: 3.6s;
  --sync-ease: ease-in-out;
}

/* ========== BASE ========== */
body{
  font-family: 'Inter', sans-serif;
  background-color: var(--rosso);
  color: var(--bianco);
  line-height: 1.6;
  animation: fadeIn 0.8s ease-in;
}

/* ========== TIPOGRAFIA ========== */
.hero h1,
.contenuto h2{
  font-family: 'Playfair Display', serif;
}

/* ========== HEADER / NAV ========== */
.header{
  text-align: center;
  padding: 30px 20px;
}

.logo img{
  height: 130px;
  margin-bottom: 20px;
}

.menu{
  display: flex;
  justify-content: center;
  gap: 30px;
}

.menu a{
  color: #fff;
  text-decoration: none;
  position: relative;
  font-weight: 500;
}

.menu a::after{
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

.menu a:hover::after{
  width: 100%;
}

/* Lingua */
.lang-switch{
  font-size: 14px;
  margin-top: 10px;
}

.lang-switch a{
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.lang-switch a:hover{
  opacity: 1;
}

/* Social */
.social{
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social a{
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.social a:hover{
  opacity: 0.7;
}

.social img{
  width: 28px;
  opacity: 0.8;
  transition: transform 0.3s, opacity 0.3s;
}

.social img:hover{
  transform: scale(1.1);
  opacity: 1;
}

/* ========== HERO (HOME) ========== */
.hero{
  background:
    linear-gradient(rgba(139,0,0,0.4), rgba(139,0,0,0.4)),
    url("hero-cibo.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 120px 20px;
} 

.hero.hero-focacce{
  background:
    linear-gradient(rgba(139,0,0,0.25), rgba(139,0,0,0.25)),
    url("focacce-hero.jpg");
  background-size: cover;
  background-position: 50% 50%;
} 

.hero.hero-rustici{
  background:
    linear-gradient(rgba(120,0,0,0.25), rgba(120,0,0,0.25)),
    url("rustici-hero.jpg");
  background-size: cover;
  background-position: 50% 50%;
} 

.hero.hero-classici{
  background:
    linear-gradient(rgba(120,0,0,0.25), rgba(120,0,0,0.25)),
    url("classici-hero.jpg");
  background-size: cover;
  background-position: 50% 50%;
} 
.hero.hero-pizzette{
  background:
    linear-gradient(rgba(120,0,0,0.22), rgba(120,0,0,0.22)),
    url("pizzette-hero.jpg");
  background-size: cover;
  background-position: 50% 50%;
} .hero.hero-conserve{
  background:
    linear-gradient(rgba(120,0,0,0.22), rgba(120,0,0,0.22)),
    url("conserve-hero.jpg");
  background-size: cover;
  background-position: 50% 58%;
} .hero.hero-sughi{
  background:
    linear-gradient(rgba(120,0,0,0.22), rgba(120,0,0,0.22)),
    url("sughi-hero.jpg");
  background-size: cover;
  background-position: 50% 60%;
} 

.hero.hero-marmellate{
  background:
    linear-gradient(rgba(120,0,0,0.22), rgba(120,0,0,0.22)),
    url("marmellate-hero.jpg");
  background-size: cover;
  background-position: 50% 70%;
} 

.hero.hero-marmellate-dolci{
  background:
    linear-gradient(rgba(120,0,0,0.22), rgba(120,0,0,0.22)),
    url("marmellate-dolci-hero.jpg");
  background-size: cover;
  background-position: 50% 55%;
}
.hero.hero-marmellate-salate{
  background:
    linear-gradient(rgba(120,0,0,0.22), rgba(120,0,0,0.22)),
    url("marmellate-salate-hero.jpg");
  background-size: cover;
  background-position: 50% 55%;
} 

.hero.hero-catering{
  background:
    linear-gradient(rgba(120,0,0,0.25), rgba(120,0,0,0.25)),
    url("catering-hero.jpg");
  background-size: cover;
  background-position: 50% 50%;
}
.hero.hero-passalacqua{
  background:
    linear-gradient(rgba(120,0,0,0.22), rgba(120,0,0,0.22)),
    url("passalacqua-hero.jpg");
  background-size: cover;
  background-position: 50% 45%;
} 

.hero{
  position: relative;
}

.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.05)
  );
  pointer-events: none;
} 

.hero h1,
.hero p{
  position: relative;
  z-index: 2;
}
.hero.hero-taralliefave{
  background:
    linear-gradient(rgba(120,0,0,0.22), rgba(120,0,0,0.22)),
    url("taralli-e-fave-hero.jpg");
  background-size: cover;
  background-position: 50% 50%;
}
/* ========== CONTENUTO (FINESTRA BIANCA) ========== */
.contenuto{
  background: #fff;
  color: var(--rosso);
  max-width: 1200px;
  margin: -60px auto 80px auto;
  padding: 70px 50px;
  border-radius: 18px;
  box-shadow: 0 35px 80px rgba(0,0,0,0.25);
  position: relative;
  z-index: 10;
}

.contenuto h2{
  margin-bottom: 20px;
} 

/* ========== PERCHE' PASSALACQUA ========== */

.perche-passalacqua{
  padding: 80px 20px 120px;
  background: transparent;
}

.perche-box{
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,255,255,0.92);
  border-radius: 20px;
  padding: 40px 45px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  text-align: center;
}

.perche-box h2{
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin-bottom: 22px;
  color: #b11226;
}

.perche-box p{
  font-size: 15px;
  line-height: 1.6;
  color: rgba(177,18,38,0.9);
  margin-bottom: 16px;
}

.perche-box p:last-child{
  margin-bottom: 0;
  font-style: italic;
}

/* ========== CARD PIATTI ========== */
.piatti{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
} 

/* Griglie centrate per pagine con meno card */
.piatti.piatti-3{
  grid-template-columns: repeat(3, minmax(220px, 260px));
  justify-content: center;
}

.piatti.piatti-2{
  grid-template-columns: repeat(2, minmax(220px, 260px));
  justify-content: center;
}

.card-link{
  text-decoration: none;
  color: inherit;
}

.card{
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: slideUp 0.6s ease both;
}

.card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0,0,0,0.18);
}



/* CARD immagini: centrate e tutte uguali */
.card img{
  width: 100%;
  height: 180px;          /* puoi alzare a 200 se vuoi */
  object-fit: cover;       /* ritaglia senza deformare */
  object-position: center; /* centra il soggetto */
  display: block;
  border-radius: 12px;
}

.card h3{
  margin: 15px 0 5px;
  color: var(--rosso);
}

.card p{
  font-size: 14px;
  padding-bottom: 20px;
}

/* effetto stagger */
.card:nth-child(1){ animation-delay: 0.05s; }
.card:nth-child(2){ animation-delay: 0.10s; }
.card:nth-child(3){ animation-delay: 0.15s; }
.card:nth-child(4){ animation-delay: 0.20s; }
.card:nth-child(5){ animation-delay: 0.25s; }

/* ========== LIGHTBOX ========== */
#lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#lightbox img{
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
} 


/* linea sottile sopra le sezioni */
.divider-top{
  position: relative;
  margin-top: 38px;
  padding-top: 26px;
}

.divider-top::before{
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72%;
  height: 1px;
  background: rgba(0,0,0,0.10);
}


/* ========== IMMAGINI / ILLUSTRAZIONI ========== */
.immagine{
  width: 100%;
  max-width: 400px;
  margin-top: 30px;
  border-radius: 6px;
  transition: transform 0.4s ease;
}

.immagine:hover{
  transform: scale(1.03);
}

.illustrazione{
  width: 120px;
  margin: 20px auto;
  display: block;
  opacity: 0.9;
}

/* ========== MAP ========== */
.map{
  margin-top: 30px;
  border-radius: 12px;
  overflow: hidden;
}

/* ========== CATERING MENU ========== */
.menu-catering h3{
  margin-top: 30px;
  font-family: 'Playfair Display', serif;
}

.menu-catering ul{
  list-style: none;
  margin-top: 15px;
}

.menu-catering li{
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px dashed #ccc;
}

/* Menu mobile (lista) */
.menu-mobile{
  margin-top: 70px;
  padding-top: 40px;
  border-top: 2px solid #f0f0f0;
}

.menu-mobile h2{
  font-family: 'Playfair Display', serif;
  margin-bottom: 25px;
}

.menu-mobile .item{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.menu-mobile h4{
  font-weight: 600;
}

.menu-mobile span{
  font-weight: 600;
  color: var(--rosso);
}

/* ========== NEWSLETTER ========== */
.newsletter{
  background:
    linear-gradient(rgba(255,245,235,0.85), rgba(255,245,235,0.85)),
    url("newsletter-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #8b0000;
  text-align: center;
  padding: 80px 30px;
  margin-top: 80px;
  border-radius: 16px;
  overflow: hidden;
}

.newsletter h2{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 15px;
}

.newsletter p{
  max-width: 520px;
  margin: 0 auto 25px;
  font-size: 16px;
}

.newsletter form{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.newsletter input{
  padding: 12px 15px;
  border-radius: 30px;
  border: 1px solid #ccc;
  width: 260px;
  font-size: 14px;
}

.newsletter button{
  padding: 12px 22px;
  border-radius: 30px;
  border: none;
  background: #b30000;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.newsletter-note{
  margin-top: 20px;
  font-style: italic;
  font-size: 14px;
}

/* ========== FILOSOFIA (icone + tooltip) ========== */


.philosophy h2{
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  margin-top: 70px;
  margin-bottom: 30px;
  text-align: center;
}

.philosophy-icons{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  flex-wrap: wrap;
  margin: 60px auto;
  padding: 10px 0;
  background: none;
}

.philosophy-icons > *{
  position: relative;
  z-index: 1;
}

.icon-btn{
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

.icon{
  height: 90px;
  width: auto;
  display: block;
}

.symbol{
  font-size: 28px;
  font-weight: 500;
  color: #333;
}

.icon-ingredienti{ height: 190px; }
.icon-cuore{ height: 155px; }
.icon-spuntino{ height: 250px; }

.icon-spuntino{
  animation: spuntini-bounce 2.6s ease-in-out infinite;
  transform-origin: 50% 70%;
}

@keyframes spuntini-bounce{
  0%, 84%, 100% { transform: translateY(0); }
  88% { transform: translateY(-5px); }
  92% { transform: translateY(0); }
  96% { transform: translateY(-2px); }
}

.tooltip{
  position: absolute;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(20, 20, 20, 0.92);
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  z-index: 50;

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -110%);
  pointer-events: none;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.tooltip.show{
  opacity: 1;
  visibility: visible;
}

.philosophy-text{
  max-width: 720px;
  margin: 40px auto 70px;
  font-size: 17px;
  line-height: 1.75;
  text-align: center;
  color: var(--rosso);
}

.philosophy-text strong{
  font-weight: 600;
}

.philosophy-quote{
  position: relative;
  margin: 80px auto 40px;
  height: 320px;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;

  background-image:
    linear-gradient(rgba(255,255,255,0.65), rgba(255,255,255,0.65)),
    url("impasti-banner.jpg");
  background-size: cover;
  background-position: center;
}

.quote-overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.quote-overlay p{
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #b30000;
  line-height: 1.3;
}

/* ========== SEZIONI EXTRA (did you know / delivery / music base) ========== */
.did-you-know,
.delivery,
.music{
  margin-top: 60px;
}

.did-you-know{
  padding: 40px 30px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.06);
}

.did-you-know p{
  max-width: 700px;
  margin: 10px auto 0;
  text-align: center;
}

.quiz{
  max-width: 720px;
  margin: 25px auto 0;
  text-align: center;
}

.quiz-btn{
  margin: 8px 6px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
}

.quiz-result{
  margin-top: 14px;
  font-weight: 600;
  color: var(--rosso);
}

.delivery{
  padding: 34px 30px;
  border-radius: 18px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.06);
}

.delivery-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.music{
  padding: 34px 30px;
  border-radius: 18px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Bottoni */
.btn{
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--rosso);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* ========== TEST SPUNTINI ========== */
.spuntini-test{
  margin-top: 60px;
}

.test-card{
  position: relative;
  border-radius: 18px;
  padding: 28px 22px;
  background: linear-gradient(135deg, #b30000, #da0114);
  color: #fff;
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  overflow: hidden;
}

.test-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.45;
  pointer-events: none;
}

.test-card > *{
  position: relative;
  z-index: 1;
}

.test-header{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.test-hand{
  width: 160px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  transform: rotate(-6deg);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.22));
  animation: hand-pop 2.8s ease-in-out infinite;
}

@keyframes hand-pop{
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%      { transform: translateY(-8px) rotate(-6deg); }
}

.test-title-wrap h2{
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  line-height: 1.05;
  margin: 0;
  color: #fff;
}

.test-subtitle{
  margin-top: 4px;
  opacity: 0.9;
  font-size: 14px;
}

.test-question{
  margin: 16px 0 14px;
  font-size: 16px;
  line-height: 1.4;
}

.test-options{
  display: grid;
  gap: 12px;
}

.test-option{
  width: 100%;
  text-align: left;
  border: 0;
  border-radius: 14px;
  padding: 14px 14px;
  background: rgba(255,255,255,0.92);
  color: #8b0000;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.test-option:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.15);
}

.test-option:active{
  transform: translateY(0);
}

.test-option.is-correct{
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35), 0 12px 22px rgba(0,0,0,0.18);
}

.test-option.is-wrong{
  background: rgba(255,255,255,0.75);
  opacity: 0.9;
}

.test-result{
  margin-top: 14px;
  font-size: 15px;
  min-height: 22px;
  opacity: 0.95;
}

.test-footer{
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.test-reset{
  border: 1px solid rgba(255,255,255,0.55);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s ease;
}

.test-reset:hover{
  background: rgba(255,255,255,0.14);
}

/* ========== DELIVERY FANCY ========== */
.delivery-fancy{
  background: linear-gradient(135deg, #fff5ee, #ffffff);
  border-radius: 18px;
  padding: 50px 40px;
  margin-top: 70px;
  border: 1px solid rgba(0,0,0,0.06);
}

.delivery-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.delivery-text h2{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--rosso);
  margin-bottom: 12px;
}

.delivery-text p{
  font-size: 16px;
  color: #8b0000;
  margin-bottom: 24px;
  line-height: 1.5;
}

.delivery-visual{
  position: relative;
  overflow: hidden;
}

.delivery-sticker{
  width: 260px;
  max-width: 100%;
  animation: vespa-move 4.5s ease-in-out infinite;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.18));
}

@keyframes vespa-move{
  0%   { transform: translateX(-10px) translateY(0) rotate(-2deg); }
  50%  { transform: translateX(12px) translateY(-6px) rotate(1deg); }
  100% { transform: translateX(-10px) translateY(0) rotate(-2deg); }
}

.delivery-fancy h2,
.delivery-fancy p{
  color: var(--rosso);
}

/* ========== MUSIC FANCY ========== */
.music-fancy{
  margin-top: 70px;
  border-radius: 18px;
  padding: 50px 40px;
  border: 1px solid rgba(255,255,255,0.15);
  background: linear-gradient(135deg, #b30000, #da0114);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.music-fancy::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.35;
  pointer-events: none;
}

.music-fancy .music-inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.music-fancy .music-text h2{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #fff;
  margin-bottom: 12px;
}

.music-fancy .music-text p{
  font-size: 16px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 24px;
  line-height: 1.5;
}

.music-fancy .btn-white{
  margin-top: 18px;
  background: #fff;
  color: #b30000;
}

.music-fancy .music-visual{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.music-fancy .music-sticker-img{
  width: 260px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.22));
  transform-origin: 50% 70%;
  animation: head-bop 1.25s ease-in-out infinite;
}

@keyframes head-bop{
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50%      { transform: rotate(2deg) translateY(-6px); }
}

.music-fancy .sound-line{
  position: absolute;
  right: 18%;
  top: 34%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  opacity: 0;
}

.music-fancy .sl1{ width: 28px; top: 40%; animation: sound-pop 1.2s ease-in-out infinite; }
.music-fancy .sl2{ width: 20px; top: 50%; animation: sound-pop 1.2s ease-in-out infinite 0.2s; }
.music-fancy .sl3{ width: 16px; top: 32%; animation: sound-pop 1.2s ease-in-out infinite 0.35s; }

@keyframes sound-pop{
  0%   { transform: translateX(0) scaleX(0.8); opacity: 0; }
  35%  { opacity: 1; }
  60%  { transform: translateX(12px) scaleX(1); opacity: 0.9; }
  100% { transform: translateX(18px) scaleX(1.05); opacity: 0; }
}

/* ========== STORIA (hero + contenuti) ========== */
.storia p{
  max-width: 700px;
  margin-bottom: 20px;
}

/* HERO STORIA */
.hero-storia{
  background:
    linear-gradient(rgba(139,0,0,0.35), rgba(139,0,0,0.35)),
    url("hero-storia.jpg");
  background-size: cover;
  background-position: center;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0;
}

.hero-storia h1{
  font-size: 64px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 15px;
}

.hero-storia p{
  font-size: 22px;
  opacity: 0.9;
}

/* layout pagina storia */
.storia-page{
  padding-top: 80px;
}

.hero-storia .hero-overlay{
  text-align: center;
  padding: 0 20px;
}

.hero-storia .hero-overlay h1{
  font-size: 64px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 12px;
}

.hero-storia .hero-overlay p{
  font-size: 20px;
  opacity: 0.92;
}

/* testo storia */
.storia h2{
  text-align: center;
  margin-bottom: 25px;
}

.testo-storia{
  max-width: 750px;
  margin: 0 auto 50px auto;
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
}

/* gallery foto storia (semplice) */
.storia-foto{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.storia-foto img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.storia-foto img:hover{
  transform: scale(1.04);
}

/* Story intro “card” */
.story-intro{
  background: linear-gradient(135deg, #fff5ee, #ffffff);
  border-radius: 18px;
  padding: 50px 40px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.story-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-text h2{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--rosso);
  margin-bottom: 12px;
}

.story-text p{
  font-size: 16px;
  color: var(--rosso);
  line-height: 1.55;
  margin-bottom: 14px;
}

.story-text strong{
  font-weight: 600;
}

.story-visual{
  display: flex;
  justify-content: center;
  align-items: center;
}

.story-sticker{
  width: 260px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 20px rgba(0,0,0,0.18));
  animation: story-float 3.8s ease-in-out infinite;
  transform-origin: 50% 60%;
}

@keyframes story-float{
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}

/* timeline */
.story-timeline{
  margin-top: 70px;
}

.story-timeline h2{
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--rosso);
  text-align: center;
  margin-bottom: 26px;
}

.timeline{
  max-width: 820px;
  margin: 0 auto;
  padding-left: 18px;
  border-left: 2px solid rgba(179,0,0,0.18);
}

.t-item{
  position: relative;
  padding: 18px 0 18px 24px;
}

.t-dot{
  position: absolute;
  left: -9px;
  top: 28px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--rosso);
  box-shadow: 0 0 0 6px rgba(218,1,20,0.12);
}

.t-content{
  background: #fff;
  border-radius: 16px;
  padding: 18px 18px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 12px 25px rgba(0,0,0,0.06);
}

.t-content h3{
  color: var(--rosso);
  margin-bottom: 6px;
  font-size: 18px;
}

.t-content p{
  color: var(--rosso);
  font-size: 15px;
  line-height: 1.55;
}

/* gallery intro testo */
.story-gallery-intro{
  max-width: 640px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: var(--rosso);
}



/* ===== STORIA – GALLERY (elegante / magazine) ===== */

.story-gallery {
  margin-top: 110px;          /* più aria dalla timeline */
  text-align: center;
}

.story-gallery h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;            /* più autorevole */
  color: var(--rosso);
  margin-bottom: 14px;
  position: relative;
}

/* linea editoriale sotto il titolo */
.story-gallery h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--rosso);
  margin: 16px auto 0;
  opacity: 0.6;
}

.story-gallery-intro {
  max-width: 600px;
  margin: 32px auto 48px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--rosso);
}

/* Fix: story intro rossa (come nel tuo) */
.storia-page .story-intro{
  background: linear-gradient(135deg, #b30000, #da0114) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
}

.storia-page .story-intro .story-text h2,
.storia-page .story-intro .story-text p,
.storia-page .story-intro .story-text strong{
  color: #fff !important;
}

/* ========== FOOTER ========== */
.footer{
  text-align: center;
  padding: 30px;
  font-size: 14px;
}

/* ========== ANIMAZIONI BASE ========== */
@keyframes fadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

@keyframes slideUp{
  from{ opacity: 0; transform: translateY(20px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ========== ACCESSIBILITÀ ========== */
@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
  }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px){
  .piatti{
    grid-template-columns: repeat(2, 1fr);
  }

  .storia-foto{
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-storia h1{
    font-size: 46px;
  }

  .hero-storia .hero-overlay h1{
    font-size: 46px;
  }

  .story-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .story-sticker{
    width: 220px;
  }

  .timeline{
    padding-left: 10px;
  }
}

@media (max-width: 768px){
  .menu{
    flex-direction: column;
    gap: 15px;
  }

  .hero h1{
    font-size: 36px;
  }

  .philosophy-quote{
    height: 240px;
  }

  .quote-overlay p{
    font-size: 24px;
  }

  .delivery-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .delivery-sticker{
    margin: 0 auto;
    width: 220px;
  }

  .music-fancy .music-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .music-fancy .music-sticker-img{
    width: 220px;
  }
}

@media (max-width: 520px){
  .test-title-wrap h2{
    font-size: 30px;
  }

  .test-hand{
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 500px){
  .piatti{
    grid-template-columns: 1fr;
  }

  .storia-foto{
    grid-template-columns: 1fr;
  }
} 



/* =========================
   PRE-ORDINI (NUOVO)
   ========================= */

/* HERO con foto (come catering) */




.hero-preordini{
  background:
    linear-gradient(rgba(139,0,0,0.30), rgba(139,0,0,0.35)),
    url("hero-preordini.jpg");
  background-size: cover;
  background-position: center;
  padding: 120px 20px;
}

.hero-preordini .hero-overlay{
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-preordini h1{
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  line-height: 1.05;
  margin-bottom: 14px;
  color: #fff;
}

.hero-preordini p{
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1.5;
  max-width: 760px;
  margin: 0 auto;
}

/* layout principale */
.preordini-main{
  padding: 0 20px 90px;
}

.preordini-shell{
  max-width: 1100px;
  margin: -55px auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 35px 80px rgba(0,0,0,0.22);
  padding: 34px;
}

/* CARD ROSSA form */
.pre-card{
  background: linear-gradient(135deg, #b30000, #da0114);
  border-radius: 18px;
  padding: 34px;
  color: #fff;
}

.pre-card-head{
  text-align: center;
  margin-bottom: 22px;
}

.pre-card-head h2{
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  margin-bottom: 10px;
  color: #fff;
}

.pre-card-head p{
  color: rgba(255,255,255,0.92);
  font-size: 15px;
}

/* grid form */
.pre-grid{
  display: grid;
  gap: 16px;
}

.pre-grid-2{
  grid-template-columns: repeat(2, 1fr);
}

.pre-field label{
  display: block;
  font-size: 13px;
  opacity: 0.92;
  margin-bottom: 8px;
}

.pre-field input,
.pre-field select,
.pre-field textarea{
  width: 100%;
  border: 0;
  outline: none;
  border-radius: 14px;
  padding: 14px 14px;
  background: #fff;
  color: #7a0000;
  font-size: 15px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.pre-field textarea{
  resize: vertical;
  min-height: 110px;
}

.pre-field input:focus,
.pre-field select:focus,
.pre-field textarea:focus{
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.55), 0 12px 26px rgba(0,0,0,0.15);
}

.pre-divider{
  height: 1px;
  margin: 22px 0;
  background: rgba(255,255,255,0.18);
}

/* Titoli sezioni */
.pre-section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 14px;
}

.pre-section-head h3{
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin: 0;
  color: #fff;
}

.pre-cap{
  font-size: 13px;
  opacity: 0.9;
}

/* prodotti */
.pre-products{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.pre-products-3{
  grid-template-columns: repeat(3, 1fr);
}

.pre-prod{
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.10);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
  display: grid;
  gap: 12px;
}

.pre-prod strong{
  display: block;
  font-size: 15px;
  color: #fff;
}

.pre-price{
  display: block;
  font-size: 13px;
  opacity: 0.9;
  margin-top: 4px;
}

/* quantità: PIÙ GRANDE e più “facile” */
.pre-qty{
  height: 56px;
  border-radius: 14px !important;
  font-size: 18px !important;
  font-weight: 600;
  padding: 10px 14px !important;
}

/* Totale */
.pre-total{
  margin-top: 18px;
  padding: 16px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

.pre-total-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
}

.pre-total-row strong{
  font-size: 20px;
}

.pre-limit{
  margin-top: 8px;
  font-size: 13px;
  opacity: 0.92;
}

.pre-limit.is-error{
  color: #fff;
  opacity: 1;
  font-weight: 600;
}

/* note */
.pre-notes{
  margin-top: 18px;
}

/* bottoni */
.pre-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn.btn-white{
  background: #fff;
  color: #b30000;
}

.btn.btn-ghost{
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.6);
}

.btn.btn-ghost:hover{
  background: rgba(255,255,255,0.14);
}

.pre-small{
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.9;
  text-align: center;
}

/* COME FUNZIONA sotto (bianco, pulito) */
.how-card{
  margin-top: 26px;
  border-radius: 18px;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}

.how-card h2{
  font-family: 'Playfair Display', serif;
  color: var(--rosso);
  font-size: 34px;
  text-align: center;
  margin-bottom: 18px;
}

.how-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.how-item{
  display: flex;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 14px;
  background: rgba(218,1,20,0.05);
  border: 1px solid rgba(0,0,0,0.06);
}

.how-ico{
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}

.how-item strong{
  display: block;
  color: var(--rosso);
  margin-bottom: 4px;
}

.how-item p{
  color: #8b0000;
  font-size: 14px;
  line-height: 1.45;
}

/* responsive */
@media (max-width: 900px){
  .preordini-shell{ padding: 22px; }
  .pre-card{ padding: 22px; }
  .pre-products-3{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px){
  .hero-preordini h1{ font-size: 46px; }
  .pre-grid-2{ grid-template-columns: 1fr; }
  .pre-products{ grid-template-columns: 1fr; }
  .pre-products-3{ grid-template-columns: 1fr; }
  .how-grid{ grid-template-columns: 1fr; }
}



/* =========================
   CONTATTI (pagina contatti)
   Incolla in fondo a style.css
========================= */

/* HERO CONTATTI: foto + overlay elegante */
.hero-contatti{
	background-color: #da0114;
  background:
    linear-gradient(rgba(120,0,0,0.10), rgba(120,0,0,0.18)),
    url("hero-contatti.jpg");
  background-size: 105%;
  background-position: 50% 35%;
  background-repeat: no-repeat;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0;
}

.hero-contatti .hero-overlay{
  padding: 0 20px;
  max-width: 900px;
}

.hero-contatti h1{
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  letter-spacing: 0.2px;
  margin-bottom: 10px;
}

.hero-contatti p{
  font-size: 18px;
  opacity: 0.92;
}

/* pagina contatti: spacing */
.contatti-page{
  padding-top: 70px; /* aria sotto hero */
}

/* card principale (2 colonne) */
.contact-card{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;

  background: #ffffff;
  border-radius: 18px;
  padding: 36px 34px;
  box-shadow: 0 22px 55px rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.06);
}

/* singoli blocchi */
.contact-block h2{
  font-family: 'Playfair Display', serif;
  color: var(--rosso);
  font-size: 34px;
  margin-bottom: 14px;
}

.contact-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-list li{
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
  color: var(--rosso);
  font-size: 15px;
  line-height: 1.5;
}

.contact-list i{
  color: var(--rosso);
  opacity: 0.9;
  font-size: 16px;
}

.contact-list a{
  color: var(--rosso);
  text-decoration: none;
  font-weight: 600;
}

.contact-list a:hover{
  text-decoration: underline;
}

/* CTA buttons */
.contact-cta{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* variante whatsapp */
.btn-wa{
  background: #1db954; /* verde whatsapp vibe */
  color: #fff !important;
  border: 0;
}

.btn-wa:hover{
  filter: brightness(0.96);
}

/* outline elegante (riusa .btn-outline se già esiste, ma lo rinforzo qui) */
.btn-outline{
  background: transparent;
  border: 1px solid rgba(218,1,20,0.28);
  color: var(--rosso) !important;
}

.btn-outline:hover{
  background: rgba(218,1,20,0.06);
}

/* Orari */
.hours-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.hours-list li{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(218,1,20,0.25);
  color: var(--rosso);
  font-size: 15px;
}

.hours-list li span{
  opacity: 0.95;
}

.hours-list li strong{
  font-weight: 700;
}

/* nota sotto orari */
.contact-note{
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(139,0,0,0.9);
}

/* MAP: card separata, elegante */
.contact-map{
  margin-top: 22px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
}

.contact-map iframe{
  display: block;
}

/* Responsive */
@media (max-width: 900px){
  .hero-contatti h1{ font-size: 46px; }
  .contact-card{
    grid-template-columns: 1fr;
    padding: 30px 22px;
  }
}

@media (max-width: 520px){
  .hero-contatti{ min-height: 56vh; }
  .hero-contatti h1{ font-size: 40px; }
  .contact-block h2{ font-size: 30px; }
}



/* MAPPA - look premium */
.map-wrap{
  width: 100%;
  max-width: 920px;
  margin: 22px auto 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.map-wrap iframe{
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* Mobile */
@media (max-width: 640px){
  .map-wrap{ border-radius: 14px; }
  .map-wrap iframe{ height: 300px; }
} 






/* ===== Menu focacce: watermark pulito ===== */
.menu-mobile{
  position: relative;
  overflow: hidden;
}

/* niente velo bianco totale */
.menu-mobile::before{
  content:"";
  display:none;
}

/* watermark */
.menu-mobile::after{
  content:"";
  position:absolute;
  inset:-40px;                 /* un po’ più grande per non tagliarla */
  background: url("focaccia-illustration.png") no-repeat;
  background-position: 78% 72%; /* in basso a destra */
  background-size: 420px auto;  /* regola qui */
  opacity: 0.14;                /* regola qui (0.06–0.12) */
  filter: saturate(0.75)
  brightness(1.05)
  blur(0.3px);
  pointer-events:none;
  z-index: 0;
}

.menu-mobile > *{
  position: relative;
  z-index: 1;
}



.menu-mobile .item:last-child{
  border-bottom: none;
}