@font-face {
  font-family: "ObelixPro";
  src: url("../fonts/ObelixPro-Bold.woff2") format("woff2"),
       url("../fonts/ObelixPro-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: url("../fonts/Gotham-Bold.woff2") format("woff2"),
       url("../fonts/Gotham-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --rosso: #da0612;
  --rosso-scuro: #bd010a;
  --giallo: #fff200;
  --crema: #fff8df;
  --nero: #151515;
  --bianco: #ffffff;
  --ombra: 0 18px 45px rgba(0, 0, 0, 0.2);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Gotham", Arial, Helvetica, sans-serif;
  font-weight: 700;
  background: var(--crema);
  color: var(--nero);
  line-height: 1.5;
}
h1, h2, h3, .brand-title {
  font-family: "ObelixPro", "Gotham", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0;
}
a { color: inherit; }
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: #da0612;
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--giallo);
}
.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto; display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 12px 0; color: var(--bianco);
}
.logo img { width: 174px; max-width: 45vw; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 0.9rem; text-transform: uppercase; }
.nav-links a { text-decoration: none; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--giallo); }
.mini-cta { background: var(--giallo); color: var(--rosso-scuro) !important; padding: 9px 14px; border-radius: 999px; }
.menu-toggle { display: none; background: var(--giallo); color: var(--rosso-scuro); border: 0; border-radius: 14px; padding: 8px 12px; font: inherit; font-size: 1.3rem; }
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(255,242,0,0.35), transparent 24%), linear-gradient(135deg, var(--rosso), var(--rosso-scuro));
  color: var(--bianco);
}
.hero::after { content: ""; position: absolute; inset: auto -80px -160px auto; width: 420px; height: 420px; border-radius: 999px; background: rgba(255, 242, 0, 0.18); }
.hero-inner { position: relative; z-index: 1; width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 54px; padding: 88px 0 76px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; margin-bottom: 20px; border: 2px solid var(--giallo); border-radius: 999px; color: var(--giallo); text-transform: uppercase; font-size: 0.85rem; }
.hero h1 { font-size: clamp(3rem, 8vw, 6.7rem); text-transform: uppercase; text-shadow: 5px 5px 0 rgba(0,0,0,0.18); }
.hero-logo-title {
  display: block;
  max-width: min(760px, 100%);
  margin: 0;
  line-height: 0;
  text-shadow: none;
}

.hero-logo-title img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(5px 5px 0 rgba(0,0,0,0.18));
}

.hero p { max-width: 640px; margin: 22px 0 0; font-size: clamp(1rem, 2vw, 1.25rem); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.actions.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 22px; border-radius: 999px; border: 3px solid transparent; text-decoration: none; text-transform: uppercase; box-shadow: 0 10px 25px rgba(0,0,0,0.18); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(0,0,0,0.26); }
.btn-primary { background: var(--giallo); color: var(--rosso-scuro); border-color: var(--giallo); }
.btn-secondary { background: var(--bianco); color: var(--rosso); border-color: var(--bianco); }
.hero-card { background: var(--bianco); color: var(--rosso); border: 6px solid var(--giallo); border-radius: var(--radius); padding: 32px; box-shadow: var(--ombra); transform: rotate(2deg); }
.hero-card img { width: 100%; height: auto; display: block; margin-bottom: 20px; }
.claim { display: grid; gap: 12px; text-transform: uppercase; font-size: clamp(1.25rem, 3vw, 2.2rem); color: var(--rosso); text-align: center; }
section { padding: 82px 0; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section-title { font-size: clamp(2rem, 5vw, 4.4rem); color: var(--rosso); margin-bottom: 22px; text-transform: uppercase; }
.section-title-light { color: var(--giallo); }
.intro-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 38px; align-items: stretch; }
.panel { background: var(--bianco); border-radius: var(--radius); padding: 34px; box-shadow: 0 12px 35px rgba(147,0,11,0.12); border: 3px solid rgba(228, 0, 18, 0.08); }
.panel.red { background: var(--rosso); color: var(--bianco); border-color: var(--giallo); }
.panel p { margin: 0 0 18px; font-size: 1.08rem; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag { background: var(--giallo); color: var(--rosso-scuro); border-radius: 999px; padding: 9px 13px; font-size: 0.88rem; text-transform: uppercase; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.feature { background: var(--bianco); padding: 24px; border-radius: 24px; border-bottom: 6px solid var(--rosso); box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
.feature strong { display: block; color: var(--rosso); font-family: "ObelixPro", Impact, sans-serif; font-size: 1.2rem; margin-bottom: 8px; }
.map-section { background: linear-gradient(180deg, var(--crema) 0%, #ffe9b0 100%); }
.lead { font-size: 1.15rem; margin: 0; }
.map-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 34px; }
.phone-section { display: grid; gap: 8px; margin: 18px 0; padding: 16px; border-radius: 18px; background: var(--crema); border: 2px solid rgba(228, 0, 18, 0.12); }
.phone-label { color: var(--rosso); text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.04em; }
.phone-section a { color: var(--nero); text-decoration: none; }
.phone-section a:hover { color: var(--rosso); }

.store-card { overflow: hidden; background: var(--bianco); border-radius: var(--radius); box-shadow: var(--ombra); border: 4px solid var(--bianco); }
.store-body { padding: 26px; }
.store-body h3 { color: var(--rosso); font-size: 1.6rem; margin-bottom: 10px; }
.store-body p { margin: 0 0 14px; }
.text-link { color: var(--rosso); text-transform: uppercase; }
iframe { width: 100%; height: 310px; border: 0; display: block; }
.cta { background: var(--rosso); color: var(--bianco); text-align: center; padding: 70px 0; }
.cta p { max-width: 780px; margin: 0 auto 28px; font-size: 1.15rem; }
footer { background: var(--nero); color: var(--bianco); padding: 34px 0; border-top: 5px solid var(--giallo); }
.footer-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner img { width: 150px; }

.footer-social { display: flex; align-items: center; gap: 14px; }
.social-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--bianco); text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,0.24); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.social-icon:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,0.32); }
.social-icon svg { width: 22px; height: 22px; fill: currentColor; display: block; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-icon.facebook { background: #1877f2; }

@media (max-width: 900px) {
  .hero-inner, .intro-grid, .map-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: inline-flex; }
  .nav { position: relative; }
  .nav-links { display: none; position: absolute; right: 0; left: 0; top: 100%; background: var(--rosso); padding: 18px; border-bottom: 4px solid var(--giallo); flex-direction: column; align-items: flex-start; }
  .nav-links.is-open { display: flex; }
  .hero-card { transform: none; }
}
@media (max-width: 560px) {
  section { padding: 58px 0; }
  .features { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .btn { width: 100%; }
  .panel { padding: 24px; }
}


/* Slideshow hero card */
.hero-slider-card { padding: 0; overflow: hidden; }
.hero-slideshow { position: relative; width: 100%; aspect-ratio: 1.15 / 1; min-height: 360px; border-radius: calc(var(--radius) - 6px); overflow: hidden; background: var(--crema); }
.hero-slideshow .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; opacity: 0; transform: scale(1.04); transition: opacity 0.8s ease, transform 1.2s ease; }
.hero-slideshow .slide.is-active { opacity: 1; transform: scale(1); }


/* Slideshow foto punti vendita */
.store-slideshow { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 240px; overflow: hidden; background: var(--crema); border-top: 4px solid var(--bianco); }
.store-slideshow::after { content: "Foto locale"; position: absolute; left: 18px; bottom: 18px; z-index: 2; background: var(--giallo); color: var(--rosso-scuro); border-radius: 999px; padding: 8px 12px; font-size: 0.78rem; text-transform: uppercase; box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.store-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 0.8s ease, transform 1.2s ease; }
.store-slide.is-active { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .hero-slideshow .slide, .store-slide { transition: none; transform: none; } }
@media (max-width: 560px) { .store-slideshow { min-height: 190px; } }


.careers { padding: 50px 0 20px; text-align: center; }
.careers p { margin: 12px auto 18px; max-width: 680px; }
.careers-mail { color: var(--rosso); font-weight: 700; font-size: 1.05rem; text-decoration: none; }
.careers-mail:hover { text-decoration: underline; }

/* Banner scelta punto vendita ordine online */
.order-banner { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 22px; }
.order-banner.is-open { display: flex; }
.order-banner-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.58); }
.order-banner-panel { position: relative; z-index: 1; width: min(680px, 100%); background: var(--bianco); color: var(--nero); border: 5px solid var(--giallo); border-radius: var(--radius); box-shadow: var(--ombra); padding: 32px; text-align: center; }
.order-banner-close { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 0; border-radius: 999px; background: var(--rosso); color: var(--bianco); font-size: 2rem; line-height: 1; cursor: pointer; }
.order-eyebrow { margin-bottom: 14px; color: var(--rosso); border-color: var(--rosso); }
.order-banner-panel h2 { color: var(--rosso); font-size: clamp(1.8rem, 5vw, 3rem); text-transform: uppercase; margin-bottom: 10px; }
.order-banner-panel p { margin: 0 auto 24px; max-width: 520px; }
.order-store-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.order-store-card { display: grid; gap: 8px; padding: 22px; border-radius: 22px; border: 3px solid rgba(228,0,18,0.14); text-align: left; text-decoration: none; background: var(--crema); color: var(--nero); }
.order-store-card strong { color: var(--rosso); font-family: "ObelixPro", Impact, sans-serif; font-size: 1.2rem; }
.order-store-card em { justify-self: start; margin-top: 8px; padding: 8px 12px; border-radius: 999px; background: var(--giallo); color: var(--rosso-scuro); font-style: normal; text-transform: uppercase; font-size: 0.82rem; }
.order-store-card.active { border-color: var(--rosso); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.order-store-card.active:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.15); }
.order-store-card.disabled { opacity: 0.55; filter: grayscale(0.35); cursor: not-allowed; }
.order-store-card.disabled em { background: #ddd; color: #555; }
body.order-banner-open { overflow: hidden; }

@media (max-width: 560px) {
  .order-banner-panel { padding: 28px 20px; }
  .order-store-grid { grid-template-columns: 1fr; }
}
