/* =========================================================
   Global Food Group – design system
   Colori del brand (sito di Will): blu #0033CC, giallo #FFD700,
   rosso e verde dalle linee del logo. Font ospitati in locale.
   ========================================================= */
@font-face { font-family: 'Rubik'; src: url('/assets/fonts/rubik-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('/assets/fonts/nunito-sans-latin-wght-normal.woff2') format('woff2-variations'); font-weight: 200 1000; font-display: swap; }

:root {
  --blue: #0033cc; --blue-600: #002db5; --blue-700: #00269a; --blue-800: #001d78; --blue-900: #001452; --navy: #0a1233;
  --blue-50: #eef3ff; --blue-100: #dde6ff; --blue-200: #bccdfb;
  --yellow: #ffd700; --yellow-600: #f2c500; --yellow-50: #fff9d6;
  --red: #d7141f; --red-50: #fdecec; --green: #128a43; --green-50: #e8f6ee;
  --ink: #0f172a; --text: #1e293b; --muted: #475569; --line: #e2e8f0; --soft: #f4f6fb; --white: #fff;
  --radius-sm: 10px; --radius: 16px; --radius-lg: 24px; --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 2px 8px rgba(15,23,42,.05);
  --shadow: 0 6px 24px rgba(10,18,51,.08), 0 2px 6px rgba(10,18,51,.05);
  --shadow-lg: 0 24px 60px rgba(10,18,51,.16);
  --font-head: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --container: 1240px; --ease: cubic-bezier(.2,.8,.2,1); --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--blue); border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }
[hidden] { display: none !important; }
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.18em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.narrow { max-width: 760px; }
main { display: block; }
main:focus { outline: none; }

/* ---------- Pulsanti ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; transition: transform .18s var(--ease), background-color .18s, color .18s, border-color .18s, box-shadow .18s; touch-action: manipulation; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(0,51,204,.25); }
.btn-primary:hover { background: var(--blue-800); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 22px rgba(255,215,0,.3); }
.btn-yellow:hover { background: #fff; color: var(--blue); }
.btn-outline { background: #fff; color: var(--blue); border-color: var(--blue-200); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-800); background: var(--blue-50); }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-50); }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--blue); }
.btn-lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.05rem; }
.btn-sm { min-height: 38px; padding: .45em .95em; font-size: .9rem; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.danger { color: var(--red) !important; }

/* ---------- Testi ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-head); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--red); }
.eyebrow-light { color: var(--yellow); }
.eyebrow-light::before { background: linear-gradient(90deg, var(--yellow), #fff); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); line-height: 1.55; }
.muted-head { color: var(--blue); }
.hl { position: relative; white-space: nowrap; color: var(--yellow); }
.hl-y { color: var(--yellow); }
.hl-dot { color: var(--yellow-600); }
.small-note { font-size: .82rem; color: var(--muted); margin-top: 18px; }
.help { font-size: .9rem; color: var(--muted); margin: .4em 0 0; }
.loading { color: var(--muted); padding: 30px 0; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 18px; border-radius: var(--radius); background: var(--blue-50); color: var(--blue-900); }
.notice-warn { background: var(--yellow-50); color: #5c4700; }

/* ---------- Header ---------- */
.announce { background: var(--yellow); color: var(--ink); font-weight: 700; text-align: center; font-size: .92rem; padding: 8px 0; }
.utility { background: var(--navy); color: #cdd6f6; font-size: .86rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.utility a { color: #fff; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; font-weight: 600; }
.utility a:hover { color: var(--yellow); }
.utility-claim { display: inline-flex; gap: 8px; align-items: center; }
.utility-claim .ico { color: var(--yellow); }
.utility-links { display: flex; gap: 22px; }
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(10,18,51,.08); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand img { width: auto; height: 50px; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.main-nav a { position: relative; padding: 10px 13px; border-radius: 10px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: .98rem; }
.main-nav a::after { content: ''; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.main-nav .nav-cta { margin-left: 10px; background: var(--blue); color: #fff; padding: 10px 18px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; }
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--blue-800); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--yellow); color: var(--ink); text-decoration: none; transition: transform .18s; }
.cart-btn:hover { transform: translateY(-2px); color: var(--ink); }
.cart-btn .ico { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--red); color: #fff; font-size: .75rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.cart-count.is-empty { display: none; }
.cart-btn.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.18); } }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: #fff; place-items: center; color: var(--ink); }
.menu-toggle .ico { width: 24px; height: 24px; }
.brand-rule { display: grid; grid-template-columns: 1fr 1fr; height: 4px; }
.brand-rule span:first-child { background: linear-gradient(90deg, var(--green), var(--green) 60%, #fff 60%, #fff 62%, var(--green) 62%); }
.brand-rule span:last-child { background: linear-gradient(90deg, var(--red) 38%, #fff 38%, #fff 40%, var(--red) 40%); }

.menu-toggle .ico-close, .nav-foot { display: none; }
@media (max-width: 1080px) {
  .menu-toggle { display: grid; transition: background .2s, color .2s, border-color .2s; }
  .menu-toggle[aria-expanded="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
  .menu-toggle[aria-expanded="true"] .ico-open { display: none; }
  .menu-toggle[aria-expanded="true"] .ico-close { display: block; }
  /* tendina agganciata sotto l'intestazione che occupa tutto il resto dello schermo */
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; height: var(--nav-h, calc(100dvh - var(--header-h))); margin: 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(18px, 5vw, 32px) calc(24px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .35s var(--ease), visibility 0s .35s; }
  .main-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .35s var(--ease), visibility 0s; }
  .main-nav > a:not(.nav-cta) { display: flex; justify-content: space-between; align-items: center; padding: 18px 4px; font-size: 1.25rem; font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 0; opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  .main-nav > a:not(.nav-cta)::before { content: '›'; order: 2; color: var(--blue); font-size: 1.5rem; line-height: 1; }
  .main-nav.is-open > a { opacity: 1; transform: none; }
  .main-nav.is-open > a:nth-child(2) { transition-delay: .04s; } .main-nav.is-open > a:nth-child(3) { transition-delay: .08s; } .main-nav.is-open > a:nth-child(4) { transition-delay: .12s; } .main-nav.is-open > a:nth-child(5) { transition-delay: .16s; } .main-nav.is-open > a:nth-child(6) { transition-delay: .2s; } .main-nav.is-open > a:nth-child(n+7) { transition-delay: .24s; }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta { margin: 24px 0 0; padding: 16px 18px; justify-content: center; font-size: 1.08rem; border: 0; }
  .nav-foot { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 24px; }
  .nav-foot a { display: inline-flex; gap: 10px; align-items: center; padding: 10px 4px; color: var(--muted); font-weight: 600; text-decoration: none; }
  .nav-foot a[hidden] { display: none; }
  .nav-foot .ico { color: var(--blue); }
  html.nav-open body { overflow: hidden; }
  html.nav-open .call-fab { display: none; }
  html.nav-open .site-header { box-shadow: none; }
  .header-actions { margin-left: auto; }
  .utility-claim { display: none; }
  .utility-inner { justify-content: center; }
}
@media (max-width: 1080px) and (prefers-reduced-motion: reduce) { .main-nav, .main-nav > a { transition: none !important; } }
}
@media (max-width: 520px) { .brand img { height: 40px; } .utility-links { gap: 14px; font-size: .8rem; } }

/* ---------- Hero home ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(1100px 600px at 85% -10%, rgba(255,215,0,.16), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(215,20,31,.18), transparent 60%), linear-gradient(135deg, var(--blue) 0%, var(--blue-800) 55%, var(--navy) 100%); }
.hero-pattern { position: absolute; inset: 0; opacity: .09; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M60 6l15 39 39 15-39 15-15 39-15-39L6 60l39-15z'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3Cpath d='M0 0l30 30M120 0L90 30M0 120l30-30M120 120L90 90'/%3E%3C/g%3E%3C/svg%3E"); background-size: 120px; mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 110px); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 6.6vw, 5.4rem); line-height: .98; letter-spacing: -.035em; margin-bottom: 22px; }
.hero h1 .hl::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .16em; background: var(--red); border-radius: 4px; z-index: -1; opacity: .95; }
.hero-intro { font-size: clamp(1.1rem, 1.7vw, 1.32rem); color: #dbe4ff; max-width: 34em; }
.hero-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; margin: 26px 0 22px; max-width: 560px; box-shadow: 0 18px 40px rgba(0,10,51,.3); }
.hero-search .ico { color: var(--blue); width: 22px; height: 22px; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1.02rem; padding: 10px 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 28px 0 0; color: #dbe4ff; font-size: .95rem; font-weight: 600; }
.hero-badges li { display: inline-flex; gap: 8px; align-items: center; }
.hero-badges .ico { color: var(--yellow); }
.hero-visual { position: relative; height: clamp(420px, 46vw, 600px); }
.hv-photo { position: absolute; margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border: 5px solid rgba(255,255,255,.95); }
.hv-photo img { width: 100%; height: 100%; object-fit: cover; }
.hv-main { right: 4%; top: 0; width: 52%; height: 92%; transform: rotate(2deg); }
.hv-side { left: 0; bottom: 4%; width: 58%; aspect-ratio: 16/10; transform: rotate(-3deg); }
.hv-product { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; background: #fff; color: var(--ink); border-radius: 999px; box-shadow: var(--shadow-lg); font-family: var(--font-head); font-weight: 600; font-size: .9rem; animation: float 6s ease-in-out infinite; }
.hv-product img { width: 58px; height: 58px; border-radius: 50%; object-fit: contain; background: var(--soft); }
.hv-p1 { left: 6%; top: 6%; }
.hv-p2 { right: -2%; top: 46%; animation-delay: -2s; }
.hv-p3 { left: 22%; top: 30%; animation-delay: -4s; }
.hv-stamp { position: absolute; right: 8%; bottom: -2%; width: 130px; height: 130px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-content: center; text-align: center; box-shadow: var(--shadow-lg); transform: rotate(-10deg); border: 4px dashed rgba(10,18,51,.25); }
.hv-stamp strong { font-family: var(--font-head); font-size: 2rem; line-height: 1; }
.hv-stamp span { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { height: 420px; max-width: 560px; width: 100%; margin: 10px auto 0; }
}
@media (max-width: 520px) { .hero-visual { height: 340px; } .hv-product { font-size: .78rem; } .hv-product img { width: 44px; height: 44px; } .hv-stamp { width: 100px; height: 100px; } .hv-stamp strong { font-size: 1.5rem; } .hero-search .btn { padding-inline: 1em; } }

/* ---------- Numeri ---------- */
.facts { position: relative; z-index: 2; margin-top: -48px; }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.fact { display: grid; gap: 2px; padding: 26px 22px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .ico { color: var(--blue); width: 28px; height: 28px; margin-bottom: 8px; }
.fact strong { font-family: var(--font-head); font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: var(--ink); line-height: 1.05; }
.fact span:last-child { color: var(--muted); font-size: .93rem; }
@media (max-width: 960px) { .facts-grid { grid-template-columns: repeat(2, 1fr); } .fact { border-bottom: 1px solid var(--line); } .fact:nth-child(2n) { border-right: 0; } .fact:last-child { grid-column: 1 / -1; } }

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section-soft { background: var(--soft); }
.section-blue { background: linear-gradient(135deg, var(--blue), var(--blue-900)); color: #e3e9ff; }
.section-blue h2, .section-blue h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 460px; color: var(--muted); margin: 0; }

/* page hero */
/* (stili della hero in fondo al file) */
.page-intro { color: #dbe4ff; font-size: 1.15rem; max-width: 46em; }
.breadcrumb { font-size: .9rem; color: #c6d3ff; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb a { color: #fff; }
.breadcrumb-dark { color: var(--muted); }
.breadcrumb-dark a { color: var(--blue); }

/* ---------- Shop teaser / soon ---------- */
.shop-teaser { padding-top: clamp(80px, 9vw, 120px); }
.soon-card { position: relative; overflow: hidden; text-align: center; border-radius: var(--radius-xl); padding: clamp(32px, 5vw, 64px); background: radial-gradient(700px 260px at 50% -80px, rgba(0,51,204,.12), transparent 60%), linear-gradient(135deg, var(--yellow-50), var(--blue-50)); border: 2px dashed var(--blue-200); }
.soon-card h2 { color: var(--blue); }
.soon-card p { max-width: 640px; margin-inline: auto; color: var(--muted); font-size: 1.1rem; }
.soon-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(215,20,31,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(215,20,31,0); } 100% { box-shadow: 0 0 0 0 rgba(215,20,31,0); } }
.soon-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0; }
.soon-pills span { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 700; font-size: .92rem; border: 1px solid var(--blue-100); }
.soon-actions, .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.shop-trust { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; padding: 22px 0 0; margin: 28px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: .95rem; }
.shop-trust li { display: inline-flex; gap: 8px; align-items: center; }
.shop-trust .ico { color: var(--green); }

/* ---------- About & timeline ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.timeline::before { content: ''; position: absolute; left: 34px; top: 10px; bottom: 10px; width: 3px; background: linear-gradient(var(--yellow), var(--blue)); border-radius: 3px; }
.timeline li { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 18px; align-items: center; background: #fff; padding: 14px 20px 14px 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.timeline b { position: relative; z-index: 1; display: grid; place-items: center; width: 70px; height: 44px; margin-left: 0; font-family: var(--font-head); font-size: 1.05rem; color: #fff; background: var(--blue); border-radius: 0 999px 999px 0; }
.timeline li:last-child b { background: var(--red); }
.timeline p { margin: 0; font-weight: 600; color: var(--ink); }
.timeline-wide { grid-template-columns: repeat(5, 1fr); }
.timeline-wide::before { display: none; }
.timeline-wide li { grid-template-columns: 1fr; padding: 22px; gap: 12px; align-content: start; }
.timeline-wide b { width: auto; border-radius: 999px; justify-self: start; padding: 0 16px; height: 40px; }
@media (max-width: 960px) { .about-grid { grid-template-columns: 1fr; } .timeline-wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .timeline-wide { grid-template-columns: 1fr; } }
.rounded-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }

/* ---------- Journey ---------- */
.journey-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; }
.journey-card { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--navy); }
.journey-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.journey-card:hover img { transform: scale(1.04); }
.journey-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; color: #fff; background: linear-gradient(transparent, rgba(5,10,35,.85)); display: grid; gap: 6px; }
.journey-card figcaption span { font-weight: 800; color: var(--yellow); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.journey-card figcaption b { font-family: var(--font-head); font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.15; }
@media (max-width: 860px) { .journey-grid { grid-template-columns: 1fr; } .journey-card { min-height: 340px; } .journey-tall { min-height: 480px; } }

/* ---------- Rete ---------- */
.network { background: radial-gradient(900px 500px at 75% 40%, rgba(0,51,204,.55), transparent 70%), var(--navy); color: #cfd8f7; padding-block: clamp(64px, 8vw, 110px); }
.network h2 { color: #fff; }
.network-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.network-list { list-style: none; padding: 0; margin: 28px 0 0; }
.network-list li { display: flex; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.network-list li:first-child { border-top: 1px solid rgba(255,255,255,.12); }
.network-list .nn { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #8ea2e6; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; }
.network-list .hq .nn { background: var(--red); border-color: var(--red); }
.network-list .port .nn { border-color: var(--yellow); color: var(--yellow); }
.network-list div { display: grid; }
.network-list small { color: #9fb0e8; font-size: .85rem; }
.network-list .port small { color: var(--yellow); }
.network-list b { font-family: var(--font-head); font-size: 1.25rem; color: #fff; font-weight: 600; }
.network-list span { font-size: .92rem; }
.network-map { min-width: 0; }
.italy-network { width: 100%; height: auto; overflow: visible; }
.italy-network text { font-family: var(--font-head); }
.land-route { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sea-route { fill: none; stroke: var(--yellow); stroke-width: 3; stroke-dasharray: 7 7; marker-end: url(#sea-arrow); }
.network-map.is-visible .land-route { animation: draw 1.6s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.map-note { text-align: center; font-size: .85rem; color: #9fb0e8; }
@media (max-width: 960px) { .network-grid { grid-template-columns: 1fr; } .network-map { max-width: 600px; margin: 0 auto; } }

/* ---------- Famiglie / tiles ---------- */
.family-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.family { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; transition: transform .25s var(--ease), box-shadow .25s; }
.family:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.family img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--soft); border-radius: var(--radius); margin-bottom: 18px; padding: 10px; }
.family p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .family-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .family-grid { grid-template-columns: 1fr; } }

.search-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 56px; align-items: center; margin-bottom: 40px; }
.big-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--blue-100); border-radius: 999px; padding: 7px 7px 7px 22px; box-shadow: var(--shadow); }
.big-search:focus-within { border-color: var(--blue); }
.big-search .ico { color: var(--blue); width: 22px; height: 22px; }
.big-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1.05rem; padding: 10px 0; }
@media (max-width: 860px) { .search-panel { grid-template-columns: 1fr; } }
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { position: relative; display: grid; gap: 4px; padding: 18px; background: #fff; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-200); color: var(--ink); }
.tile img { width: 100%; aspect-ratio: 4/3; object-fit: contain; margin-bottom: 10px; }
.tile strong { font-family: var(--font-head); font-size: 1.15rem; }
.tile span { color: var(--blue); font-weight: 700; font-size: .92rem; display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 860px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cataloghi PDF (sistema di Will) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cat-card { display: grid; gap: 10px; align-content: start; }
.cat-link { position: relative; display: block; border-radius: 22px; overflow: hidden; background: var(--navy); border: 1px solid rgba(2,6,23,.1); box-shadow: 0 12px 28px rgba(2,6,23,.1); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.cat-media { position: relative; display: block; aspect-ratio: 640 / 906; overflow: hidden; }
.cat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: none; transition: transform .7s var(--ease); }
.cat-label { position: absolute; right: 12px; top: 12px; display: flex; }
.cat-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); margin: 0; } /* il titolo è già stampato sulla copertina */
.cat-pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: background .2s, color .2s; }
.cat-link:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(2,6,23,.2); }
.cat-link:hover img { transform: scale(1.03); }
.cat-link:hover .cat-pill { background: var(--blue); color: #fff; }
.cat-actions { display: flex; justify-content: space-between; gap: 8px; padding: 0 4px; font-size: .9rem; white-space: nowrap; }
.cat-actions a { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); text-decoration: none; font-weight: 700; }
.cat-actions a:hover { color: var(--blue); }
@media (max-width: 1080px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .cat-pill { padding: 6px 9px; font-size: .66rem; } }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 32px; }
.why { display: grid; gap: 8px; align-content: start; padding: 26px; border-radius: var(--radius-lg); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.why .ico { color: var(--yellow); width: 32px; height: 32px; }
.why b { font-family: var(--font-head); color: #fff; font-size: 1.4rem; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Brand carousel ---------- */
.brands { overflow: hidden; }
.brand-window { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brand-track { display: flex; width: max-content; animation: marquee 90s linear infinite; }
.brand-track.is-paused, .brand-window:hover .brand-track, .brand-window:focus-within .brand-track { animation-play-state: paused; }
.brand-seq { display: flex; gap: 18px; padding-right: 18px; }
.brand-item { display: grid; place-items: center; width: 170px; height: 104px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.brand-item img { max-height: 72px; width: auto; object-fit: contain; filter: grayscale(.15); transition: filter .2s, transform .2s; }
.brand-item:hover img { filter: none; transform: scale(1.05); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Career strip / CTA band ---------- */
.career-strip { padding-block: 0; }
.career-inner, .cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-xl); background: linear-gradient(120deg, var(--yellow) 0%, #ffe766 100%); }
.career-inner > div, .cta-band > div:first-child { max-width: 680px; }
.career-inner h2, .cta-band h2 { margin-bottom: .3em; }
.career-inner p, .cta-band p { margin: 0; color: #3b3200; }
.career-strip + .section { margin-top: clamp(64px, 8vw, 112px); }

/* ---------- Contatti / form ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; padding: 18px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.contact-list .ico { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--blue-50); color: var(--blue); }
.contact-list div { display: grid; gap: 2px; }
.contact-list b { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.contact-list a { font-weight: 700; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.card-form { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3.5vw, 40px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-title { display: flex; gap: 10px; align-items: center; font-size: 1.45rem; }
.form-title .ico { color: var(--blue); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 18px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .95rem; color: var(--ink); }
.req { color: var(--red); }
.opt { font-weight: 500; color: var(--muted); font-size: .85em; }
.field input, .field select, .field textarea, .search-box input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cbd5e1; border-radius: 12px; background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,51,204,.14); }
.field input[type="file"] { padding: 10px; background: var(--soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fffafa; }
.field-error { color: var(--red); font-size: .88rem; font-weight: 700; margin: 0; min-height: 0; }
.field-error:empty { display: none; }
.field .ok-note { color: var(--green); font-size: .88rem; font-weight: 700; margin: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--blue); }
.check-field { padding-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-top: 24px; }
.form-actions.split { justify-content: space-between; }
.form-status { margin: 0; font-weight: 700; }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: var(--red); }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .ico { width: 64px; height: 64px; padding: 14px; border-radius: 50%; background: var(--green-50); color: var(--green); margin: 0 auto 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.is-loading { position: relative; color: transparent !important; }
.is-loading::after { content: ''; position: absolute; width: 20px; height: 20px; border: 3px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-outline.is-loading::after { border-color: var(--blue-100); border-top-color: var(--blue); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c4ea; padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; position: relative; }
/* striscia tricolore del piè di pagina rimossa */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-logo { background: #fff; padding: 10px 14px; border-radius: 14px; height: auto; width: 170px; }
.footer-claim { margin: 18px 0; max-width: 34ch; }
.footer-contacts { display: grid; gap: 10px; }
.footer-contacts a, .footer-contacts button { display: inline-flex; gap: 10px; align-items: center; color: #fff; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; font-weight: 600; }
.footer-contacts .ico { color: var(--yellow); }
.footer-col { display: grid; align-content: start; gap: 10px; }
.footer-col h2 { font-size: 1rem; color: #fff; letter-spacing: .02em; margin-bottom: 6px; }
.footer-col a, .footer-col button { color: #b9c4ea; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; }
.footer-col a:hover, .footer-col button:hover, .footer-contacts a:hover { color: var(--yellow); }
.footer-legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; color: #93a1d4; }
.footer-legal strong { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px 28px; font-size: .86rem; color: #93a1d4; }
.overeye-link { color: #fff; font-weight: 800; text-decoration: none; }
.overeye-link:hover { color: var(--yellow); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.call-fab { position: fixed; right: 16px; bottom: 16px; z-index: 800; display: none; align-items: center; gap: 8px; padding: 13px 18px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800; box-shadow: var(--shadow-lg); }
@media (max-width: 760px) { .call-fab { display: inline-flex; } body { padding-bottom: 70px; } }

/* ---------- Toast & cookie ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 1500; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: var(--shadow-lg); font-weight: 700; max-width: calc(100vw - 32px); display: flex; gap: 12px; align-items: center; }
.toast a { color: var(--yellow); }
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1400; display: flex; justify-content: center; }
.cookie-inner { position: relative; display: flex; gap: 20px 28px; align-items: flex-end; flex-wrap: wrap; max-width: 1100px; width: 100%; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 70px rgba(10,18,51,.3); border: 1px solid var(--line); padding: 24px 56px 24px 26px; }
.cookie-text { flex: 1 1 480px; }
.cookie-text h2 { font-size: 1.2rem; margin-bottom: 6px; }
.cookie-text p { font-size: .95rem; color: var(--muted); margin: 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions .btn { min-width: 128px; }
.cookie-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--soft); display: grid; place-items: center; }
.cookie-custom { display: grid; gap: 10px; margin-top: 14px; }
.switch-row { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.switch-row input { width: 20px; height: 20px; accent-color: var(--blue); }
@media (max-width: 640px) { .cookie-banner { left: 8px; right: 8px; bottom: 8px; } .cookie-inner { padding: 20px; } .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1 1 40%; min-width: 0; } .cookie-text { padding-right: 34px; } }

/* ---------- Prodotti / negozio ---------- */
.shop-head { background: linear-gradient(180deg, var(--blue-50), #fff); padding-block: 36px 20px; }
.shop-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.shop-head h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); margin-bottom: 6px; }
.shop-head p { color: var(--muted); margin: 0; }
.edition { padding: 8px 14px; border-radius: 999px; background: var(--yellow); font-weight: 800; font-size: .85rem; }
.shop-off-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 18px; border-radius: var(--radius); background: var(--yellow-50); border: 1px solid #f3df7a; color: #4a3b00; }
.shop-off-note .ico { margin-top: 3px; color: #8a6d00; }
.product-search { position: sticky; top: calc(var(--header-h) + 4px); z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.search-bar { display: flex; gap: 12px; align-items: center; padding-block: 12px; flex-wrap: wrap; }
.search-box { position: relative; flex: 1 1 320px; display: flex; align-items: center; }
.search-box > .ico { position: absolute; left: 16px; color: var(--blue); width: 20px; height: 20px; pointer-events: none; }
.search-box input { padding-left: 46px; padding-right: 44px; border-radius: 999px; }
.search-box input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,51,204,.14); }
.clear-search { position: absolute; right: 6px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.category-select, .sort-select { min-height: 50px; padding: 10px 14px; border-radius: 999px; border: 1.5px solid #cbd5e1; background: #fff; max-width: 100%; }
.category-select { display: none; }
.only-buy { white-space: nowrap; }
.catalog-layout { display: grid; grid-template-columns: 250px 1fr; gap: 36px; padding-block: 32px 80px; }
.category-sidebar { position: sticky; top: calc(var(--header-h) + 90px); align-self: start; max-height: calc(100vh - var(--header-h) - 110px); overflow-y: auto; padding-right: 6px; }
.category-sidebar h2 { font-size: 1.1rem; }
.category-list { display: grid; gap: 2px; }
.category-list button { display: flex; justify-content: space-between; gap: 8px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; text-align: left; color: var(--text); font-size: .95rem; }
.category-list button:hover { background: var(--soft); }
.category-list button[aria-pressed="true"] { background: var(--blue); color: #fff; font-weight: 700; }
.category-list .cnt { font-size: .8rem; opacity: .7; }
.sidebar-card { margin-top: 18px; padding: 16px; border-radius: var(--radius); background: var(--yellow-50); font-size: .92rem; }
.sidebar-card p { margin: 4px 0 8px; color: var(--muted); }
.sidebar-card a { font-weight: 800; display: inline-flex; gap: 6px; align-items: center; }
.results-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.results-head h2 { font-size: 1.6rem; margin-bottom: 2px; }
.results-head p { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .catalog-layout { grid-template-columns: 1fr; } .category-sidebar { display: none; } .category-select { display: block; flex: 1 1 200px; } }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-grid-wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.p-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; }
.p-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-200); }
.p-open { display: flex; flex-direction: column; flex: 1; text-align: left; border: 0; background: none; padding: 0; color: inherit; }
.p-img { position: relative; aspect-ratio: 1; background: linear-gradient(180deg, #fff, var(--soft)); display: grid; place-items: center; padding: 12px; }
.p-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.p-card:hover .p-img img { transform: scale(1.05); }
.p-badge { position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.p-badge.sale { background: var(--red); color: #fff; }
.p-badge.low { background: var(--yellow); color: var(--ink); }
.p-badge.out { background: var(--ink); color: #fff; }
.p-body { display: grid; gap: 4px; padding: 14px 16px 6px; }
.p-cat { font-size: .75rem; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.p-name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.p-code { font-size: .82rem; color: var(--muted); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 16px 16px; margin-top: auto; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--blue); font-variant-numeric: tabular-nums; }
.price-old { font-size: .85rem; color: var(--muted); text-decoration: line-through; margin-left: 6px; font-weight: 500; }
.price-na { font-size: .85rem; color: var(--muted); font-weight: 700; }
.add-btn { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 0; background: var(--yellow); color: var(--ink); display: grid; place-items: center; transition: transform .15s, background .15s; }
.add-btn:hover { background: var(--blue); color: #fff; transform: scale(1.06); }
.add-btn .ico { width: 22px; height: 22px; }
.info-link { font-size: .86rem; font-weight: 800; color: var(--blue); text-decoration: none; display: inline-flex; gap: 4px; align-items: center; }
.load-more { display: flex; margin: 32px auto 0; }
.catalog-note { margin-top: 36px; font-size: .86rem; color: var(--muted); }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; border: 2px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }
@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .product-grid, .product-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .p-body { padding: 12px 12px 4px; } .p-foot { padding: 6px 12px 12px; } .price { font-size: 1.08rem; } }

/* dialog prodotto */
dialog { border: 0; padding: 0; }
dialog::backdrop { background: rgba(5,10,35,.6); backdrop-filter: blur(3px); }
.product-dialog { width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: auto; }
.product-dialog[open] { animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }
.dialog-close:hover { background: var(--blue-100); }
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; }
.pd-photo { background: linear-gradient(180deg, #fff, var(--soft)); display: grid; place-items: center; padding: 30px; }
.pd-photo img { width: 100%; max-height: 520px; object-fit: contain; }
.pd-copy { padding: 40px 34px; display: grid; gap: 10px; align-content: start; }
.pd-cat { font-size: .8rem; font-weight: 800; color: var(--red); letter-spacing: .08em; text-transform: uppercase; }
.pd-copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.pd-code { color: var(--muted); margin: 0; }
.pd-buy { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--soft); }
.pd-buy:empty { display: none; }
.pd-buy .price { font-size: 1.8rem; }
.pd-vat { font-size: .85rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid #cbd5e1; border-radius: 999px; background: #fff; }
.qty button { width: 44px; height: 44px; border: 0; background: none; display: grid; place-items: center; color: var(--blue); border-radius: 50%; }
.qty button:hover { background: var(--blue-50); }
.qty input { width: 52px; text-align: center; border: 0; font-weight: 800; font-size: 1.05rem; background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.pd-desc { color: var(--text); margin: 6px 0 0; white-space: pre-line; }
.pd-desc:empty { display: none; }
.pd-food { display: grid; gap: 8px; margin: 6px 0 0; font-size: .94rem; }
.pd-food:empty { display: none; }
.pd-food div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.pd-food dt { font-weight: 800; color: var(--ink); }
.pd-food dd { margin: 0; white-space: pre-line; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 760px) { .pd-layout { grid-template-columns: 1fr; } .pd-photo { padding: 20px 20px 0; } .pd-photo img { max-height: 300px; } .pd-copy { padding: 22px; } .pd-food div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Carrello ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 16px; align-items: center; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cart-line img { width: 84px; height: 84px; object-fit: contain; background: var(--soft); border-radius: 12px; }
.cart-line .name { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.cart-line .meta { font-size: .85rem; color: var(--muted); }
.cart-line .line-total { font-family: var(--font-head); font-weight: 700; min-width: 90px; text-align: right; font-variant-numeric: tabular-nums; }
.cart-line .remove { border: 0; background: none; color: var(--muted); padding: 8px; border-radius: 8px; }
.cart-line .remove:hover { color: var(--red); background: var(--red-50); }
.cart-line.has-problem { border-color: var(--red); background: #fffafa; }
.line-problem { color: var(--red); font-weight: 700; font-size: .85rem; }
.cart-summary { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.cart-summary h2 { font-size: 1.4rem; margin: 0; }
.delivery { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.delivery legend { font-weight: 800; margin-bottom: 8px; }
.radio-card { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.radio-card input { width: 20px; height: 20px; accent-color: var(--blue); }
.radio-card span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; }
.radio-card small { grid-column: 2; color: var(--muted); }
.totals { margin: 0; display: grid; gap: 8px; }
.totals div { display: flex; justify-content: space-between; }
.totals dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.totals .total { padding-top: 10px; border-top: 1px solid var(--line); font-size: 1.25rem; font-family: var(--font-head); }
.totals .total small { font-family: var(--font-body); font-size: .75rem; color: var(--muted); font-weight: 600; }
.free-ship { margin: 0; padding: 10px 12px; background: var(--green-50); color: #0b5d2d; border-radius: 10px; font-weight: 700; font-size: .9rem; }
.free-ship .bar { height: 6px; background: #cde9d8; border-radius: 6px; margin-top: 6px; overflow: hidden; }
.free-ship .bar i { display: block; height: 100%; background: var(--green); border-radius: 6px; }
.min-order { margin: 0; padding: 10px 12px; background: var(--yellow-50); color: #5c4700; border-radius: 10px; font-weight: 700; font-size: .9rem; }
.terms { font-size: .9rem; }
.secure { display: flex; gap: 8px; align-items: flex-start; }
.secure .ico { color: var(--green); margin-top: 2px; }
.back-link { display: inline-block; margin-top: 18px; font-weight: 700; }
.cart-empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: var(--radius-lg); }
.cart-empty .ico { width: 56px; height: 56px; color: var(--blue-200); margin: 0 auto 12px; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } .cart-summary { position: static; } }
@media (max-width: 560px) { .cart-line { grid-template-columns: 64px 1fr auto; } .cart-line img { width: 64px; height: 64px; } .cart-line .qty { grid-column: 2; } .cart-line .line-total { grid-column: 3; grid-row: 1; } .cart-line .remove { grid-column: 3; grid-row: 2; justify-self: end; } }

.maintenance { text-align: center; max-width: 720px; margin: 0 auto; padding: clamp(32px, 6vw, 64px); border-radius: var(--radius-xl); background: linear-gradient(135deg, var(--yellow-50), var(--blue-50)); border: 2px dashed var(--blue-200); }
.maint-icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; box-shadow: var(--shadow); }
.maint-icon .ico { width: 36px; height: 36px; animation: spin 6s linear infinite; }
.maintenance p { color: var(--muted); font-size: 1.08rem; }
.order-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); margin-bottom: 24px; }
.order-number { display: inline-block; padding: 8px 16px; border-radius: 12px; background: var(--yellow); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: .03em; }
.order-items { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.status-pill { display: inline-flex; padding: 5px 12px; border-radius: 999px; font-weight: 800; font-size: .82rem; background: var(--blue-50); color: var(--blue); }
.history { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 6px; font-size: .92rem; color: var(--muted); }
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .area-grid { grid-template-columns: 1fr; } }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.help-card { display: grid; gap: 6px; padding: 22px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s; }
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.help-card .ico { width: 30px; height: 30px; color: var(--blue); }
.help-card b { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }
.help-card span { color: var(--muted); font-size: .94rem; }
@media (max-width: 960px) { .help-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .help-grid { grid-template-columns: 1fr; } }

/* ---------- Azienda ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.value { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.value .ico { width: 34px; height: 34px; color: var(--blue); margin-bottom: 12px; }
.value .num { display: inline-block; font-family: var(--font-head); font-weight: 700; color: var(--red); margin-bottom: 8px; }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 960px) { .value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .value-grid { grid-template-columns: 1fr; } }
.company-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; align-items: start; }
.company-data { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; }
.company-data div { padding: 16px; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); }
.company-data dt { font-size: .82rem; color: var(--yellow); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.company-data dd { margin: 4px 0 0; color: #fff; font-weight: 700; }
.company-data a { color: #fff; }
@media (max-width: 860px) { .company-card, .company-data { grid-template-columns: 1fr; } }

/* ---------- Lavora con noi ---------- */
.role-featured { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.role-card { display: grid; gap: 6px; text-align: left; padding: 22px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-lg); transition: transform .2s, box-shadow .2s, border-color .2s; }
.role-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.role-card small { color: var(--red); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: .75rem; }
.role-card b { font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); }
.role-card span { color: var(--muted); font-size: .95rem; }
.role-card em { font-style: normal; color: var(--blue); font-weight: 800; display: inline-flex; gap: 6px; align-items: center; margin-top: 6px; }
.role-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.role-groups > div { background: #fff; border-radius: var(--radius-lg); padding: 22px; border: 1px solid var(--line); }
.role-groups ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.role-groups button { width: 100%; text-align: left; background: none; border: 0; padding: 8px 10px; border-radius: 10px; color: var(--text); }
.role-groups button:hover { background: var(--blue-50); color: var(--blue); }
.spontaneous { margin-top: 24px; text-align: center; font-weight: 600; }
@media (max-width: 960px) { .role-featured, .role-groups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .role-featured, .role-groups { grid-template-columns: 1fr; } }
.application-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .application-grid { grid-template-columns: 1fr; } }
.steps { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0 0 12px; flex-wrap: wrap; }
.steps li { display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--soft); color: var(--muted); font-weight: 700; font-size: .9rem; }
.steps li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.steps li.is-current { background: var(--blue); color: #fff; }
.steps li.is-current span { background: var(--yellow); color: var(--ink); }
.application-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.js .js-hide { display: none; }
output { font-weight: 700; }

/* ---------- Legale ---------- */
.legal-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px; border-radius: var(--radius-lg); background: var(--soft); font-size: .92rem; }
.legal-toc ol { padding-left: 18px; margin: 10px 0 0; display: grid; gap: 6px; }
.legal-toc a { color: var(--text); text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }
.legal { max-width: 820px; }
.legal section { padding-bottom: 12px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal h2 { font-size: 1.45rem; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.ticks { list-style: none; padding: 0 !important; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 12px 0; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { background: var(--soft); font-weight: 800; }
.updated { color: var(--muted); font-size: .9rem; }
.model-form { padding: 20px; border-radius: var(--radius); background: var(--soft); border-left: 4px solid var(--blue); font-size: .95rem; }
.withdraw-box { position: sticky; top: calc(var(--header-h) + 24px); }
.legal-layout:has(.withdraw-box) { grid-template-columns: 1fr 420px; }
@media (max-width: 960px) { .legal-layout, .legal-layout:has(.withdraw-box) { grid-template-columns: 1fr; } .legal-toc, .withdraw-box { position: static; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .brand-track { animation: none; flex-wrap: wrap; width: auto; }
  .brand-seq[aria-hidden="true"] { display: none; }
  .land-route { stroke-dashoffset: 0; }
}

/* =========================================================
   Preloader (logo che pulsa) e stati di caricamento
   ========================================================= */
/* Preloader “il mondo sulla tua tavola”: il logo al centro, i prodotti in orbita,
   percentuale reale di caricamento, poi una tendina che si alza e scopre la pagina. */
.preloader { --orbit: clamp(108px, 22vmin, 150px); position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; overflow: hidden; color: #fff;
  background: radial-gradient(900px 600px at 50% 35%, rgba(255,215,0,.16), transparent 60%), radial-gradient(700px 500px at 50% 120%, rgba(215,20,31,.18), transparent 60%), linear-gradient(160deg, var(--blue) 0%, var(--blue-800) 55%, var(--navy) 100%);
  transition: transform .8s cubic-bezier(.76,0,.24,1), visibility 0s .8s; animation: plFailsafe .01s 7s forwards; }
.preloader::before { content: ''; position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M60 6l15 39 39 15-39 15-15 39-15-39L6 60l39-15z'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3C/g%3E%3C/svg%3E"); background-size: 110px; }
.preloader.is-hidden { transform: translateY(-100%); visibility: hidden; pointer-events: none; }
.preloader.is-hidden .pl-inner { opacity: 0; transform: translateY(-40px); }
/* (striscia tricolore rimossa) */
.pl-inner { position: relative; display: grid; justify-items: center; gap: 18px; transition: opacity .35s, transform .5s var(--ease); }
.pl-stage { position: relative; width: calc(var(--orbit) * 2 + 76px); aspect-ratio: 1; display: grid; place-items: center; }
.pl-ring { position: absolute; inset: 38px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.28); animation: plSpin 24s linear infinite reverse; }
.pl-orbit { position: absolute; inset: 0; animation: plSpin 12s linear infinite; }
.pl-item { position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 8px; box-shadow: 0 10px 26px rgba(0,8,40,.35); opacity: 0; animation: plPop .5s var(--ease) forwards; }
.pl-item img { width: 100%; height: 100%; object-fit: contain; animation: plSpin 12s linear infinite reverse; }
.pl-i1 { transform: rotate(0deg) translateX(var(--orbit)) rotate(0deg); animation-delay: .05s; }
.pl-i2 { transform: rotate(60deg) translateX(var(--orbit)) rotate(-60deg); animation-delay: .15s; }
.pl-i3 { transform: rotate(120deg) translateX(var(--orbit)) rotate(-120deg); animation-delay: .25s; }
.pl-i4 { transform: rotate(180deg) translateX(var(--orbit)) rotate(-180deg); animation-delay: .35s; }
.pl-i5 { transform: rotate(240deg) translateX(var(--orbit)) rotate(-240deg); animation-delay: .45s; }
.pl-i6 { transform: rotate(300deg) translateX(var(--orbit)) rotate(-300deg); animation-delay: .55s; }
.pl-core { position: relative; z-index: 1; width: calc(var(--orbit) * 1.25); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 24px 60px rgba(0,8,40,.45); animation: plBreath 2.4s ease-in-out infinite; }
.pl-logo { width: 74%; height: auto; clip-path: inset(0 100% 0 0); animation: plReveal .9s .2s cubic-bezier(.65,0,.35,1) forwards; }
.pl-claim { margin: 4px 0 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 3.2vw, 1.6rem); letter-spacing: -.01em; display: flex; gap: .3em; flex-wrap: wrap; justify-content: center; }
.pl-claim span { opacity: 0; transform: translateY(12px); animation: plWord .55s var(--ease) forwards; }
.pl-claim span:nth-child(1) { animation-delay: .7s; } .pl-claim span:nth-child(2) { animation-delay: .85s; } .pl-claim span:nth-child(3) { animation-delay: 1s; color: var(--yellow); }
.pl-progress { width: min(260px, 70vw); height: 6px; border-radius: 6px; background: rgba(255,255,255,.18); overflow: hidden; }
.pl-bar { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--yellow), #fff); transition: width .25s linear; }
.pl-meta { display: flex; align-items: center; justify-content: space-between; width: min(260px, 70vw); font-size: .82rem; font-weight: 700; color: #cdd6f6; font-variant-numeric: tabular-nums; }
.pl-label { letter-spacing: .08em; text-transform: uppercase; font-size: .72rem; opacity: .8; }
/* passaggio rapido tra le pagine (dalla seconda pagina in poi) */
.preloader.is-quick .pl-stage, .preloader.is-quick .pl-claim, .preloader.is-quick .pl-progress, .preloader.is-quick .pl-meta { display: none; }
.preloader.is-quick .pl-inner::after { content: ''; width: 150px; height: 58px; background: url('/assets/img/logo.png') center/contain no-repeat; filter: brightness(0) invert(1); animation: plWord .3s var(--ease) both; }
.preloader.is-quick { transition-duration: .55s; }
@keyframes plSpin { to { rotate: 360deg; } }
@keyframes plPop { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes plBreath { 50% { box-shadow: 0 0 0 18px rgba(255,255,255,.08), 0 24px 60px rgba(0,8,40,.45); } }
@keyframes plReveal { to { clip-path: inset(0 0 0 0); } }
@keyframes plWord { to { opacity: 1; transform: none; } }
@keyframes plFailsafe { to { transform: translateY(-100%); visibility: hidden; pointer-events: none; } }
html:not(.js) .preloader { display: none; }
@media (prefers-reduced-motion: reduce) { .pl-orbit, .pl-ring, .pl-item img, .pl-core { animation: none !important; } .pl-item { opacity: 1; } .pl-logo { clip-path: none; } .pl-claim span { opacity: 1; transform: none; } }

.skeleton, .row-skeleton { position: relative; overflow: hidden; background: #eef1f7; }
.skeleton::after, .row-skeleton::after { content: ''; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.p-card.skeleton { min-height: 330px; border: 0; }
.row-skeleton { height: 64px; border-radius: 14px; margin-bottom: 10px; }
.row-skeleton.tall { height: 260px; }

/* =========================================================
   Hero delle pagine interne
   ========================================================= */
.page-hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; padding-block: clamp(56px, 7vw, 104px) clamp(64px, 8vw, 116px); background: linear-gradient(135deg, var(--blue) 0%, var(--blue-800) 55%, var(--navy) 100%); }
.page-hero.has-image::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--hero-img) center/cover no-repeat; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
.page-hero.has-image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,26,120,.96) 0%, rgba(0,32,150,.88) 42%, rgba(10,18,51,.55) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.ph-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ph-pattern { position: absolute; inset: 0; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M60 6l15 39 39 15-39 15-15 39-15-39L6 60l39-15z'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3C/g%3E%3C/svg%3E"); background-size: 110px; mask-image: linear-gradient(90deg, transparent 0%, #000 50%, #000 100%); }
.ph-glow { position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,215,0,.22), transparent 65%); }
.ph-ring { position: absolute; right: 6%; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; border: 46px solid rgba(255,215,0,.1); }
.ph-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.page-hero:not(.has-aside) .ph-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: -.035em; max-width: 14em; margin-bottom: 18px; }
.page-hero .page-intro { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #dbe4ff; max-width: 40em; }
.page-hero .hero-actions { margin-top: 26px; }
.ph-copy > * { animation: rise .7s var(--ease) both; }
.ph-copy > *:nth-child(2) { animation-delay: .06s; } .ph-copy > *:nth-child(3) { animation-delay: .12s; } .ph-copy > *:nth-child(4) { animation-delay: .18s; } .ph-copy > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.ph-rule { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr 1fr; height: 6px; }
.ph-rule i:nth-child(1) { background: var(--green); } .ph-rule i:nth-child(2) { background: var(--yellow); } .ph-rule i:nth-child(3) { background: var(--red); }
.ph-facts { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 28px 0 0; }
.ph-facts li { display: grid; padding: 12px 18px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.ph-facts b { font-family: var(--font-head); font-size: 1.5rem; color: var(--yellow); line-height: 1.1; }
.ph-facts span { font-size: .85rem; color: #dbe4ff; }
.ph-aside { position: relative; min-height: 340px; }
.ph-stack { position: relative; height: 400px; }
.ph-card { position: absolute; margin: 0; width: 46%; aspect-ratio: 1; background: #fff; border-radius: 26px; padding: 14px; box-shadow: 0 26px 60px rgba(0,8,40,.4); display: grid; place-items: center; animation: float 7s ease-in-out infinite; }
.ph-card img { width: 100%; height: 100%; object-fit: contain; }
.ph-card figcaption { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .8rem; box-shadow: var(--shadow); }
.ph-card-1 { left: 0; top: 2%; width: 40%; rotate: -6deg; }
.ph-card-2 { right: 6%; top: 0; width: 40%; rotate: 5deg; animation-delay: -2s; }
.ph-card-3 { left: 22%; top: 50%; width: 38%; rotate: 2deg; animation-delay: -4s; z-index: 2; }
.ph-card-4 { right: 0; top: 54%; width: 30%; rotate: -4deg; animation-delay: -5s; }
.ph-covers { position: relative; height: 380px; }
.ph-cover { position: absolute; top: 50%; left: 50%; width: 46%; height: auto; border-radius: 16px; box-shadow: 0 28px 60px rgba(0,8,40,.45); border: 4px solid #fff; transition: transform .5s var(--ease); }
.ph-cover-1 { transform: translate(-108%, -50%) rotate(-12deg); }
.ph-cover-2 { transform: translate(-72%, -54%) rotate(-4deg); }
.ph-cover-3 { transform: translate(-32%, -52%) rotate(5deg); }
.ph-cover-4 { transform: translate(6%, -48%) rotate(13deg); }
.ph-covers:hover .ph-cover-1 { transform: translate(-118%, -52%) rotate(-15deg); }
.ph-covers:hover .ph-cover-4 { transform: translate(14%, -46%) rotate(16deg); }
.page-hero-compact { padding-block: clamp(40px, 5vw, 64px) clamp(46px, 5.5vw, 72px); }
.page-hero-compact h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.page-hero.tone-legal { background: linear-gradient(135deg, var(--navy), var(--blue-800)); }
@media (max-width: 960px) {
  .ph-grid { grid-template-columns: 1fr; }
  .ph-aside { min-height: 0; }
  .ph-stack { height: 280px; max-width: 460px; }
  .ph-covers { height: 260px; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 560px) { .ph-stack { height: 230px; } .ph-card figcaption { font-size: .7rem; } .ph-covers { height: 210px; } .ph-facts li { padding: 10px 14px; } .ph-facts b { font-size: 1.2rem; } }

/* =========================================================
   B2B: vetrina, area clienti, ordini, assistenza
   ========================================================= */
.b2b-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-xl); background: radial-gradient(700px 300px at 0% 0%, rgba(255,215,0,.22), transparent 60%), linear-gradient(135deg, var(--blue-50), #fff); border: 1px solid var(--blue-100); }
.b2b-copy p { color: var(--muted); font-size: 1.08rem; }
.soon-actions.start, .cta-actions.start { justify-content: flex-start; }
.b2b-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.b2b-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.b2b-steps li > span { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 700; }
.b2b-steps li:nth-child(2) > span { background: var(--yellow); color: var(--ink); }
.b2b-steps li:nth-child(3) > span { background: var(--green); }
.b2b-steps b { font-family: var(--font-head); color: var(--ink); font-size: 1.08rem; }
.b2b-steps p { margin: 2px 0 0; color: var(--muted); font-size: .95rem; }
.b2b-steps.vertical { margin: 22px 0; }
@media (max-width: 860px) { .b2b-band { grid-template-columns: 1fr; } }

.login-price { display: inline-flex; gap: 6px; align-items: center; font-size: .86rem; font-weight: 800; color: var(--blue); text-decoration: none; }
.login-price .ico { width: 1em; height: 1em; }
.price small { font-size: .7em; color: var(--muted); font-weight: 600; }
.login-box-mini { display: flex; gap: 12px; align-items: flex-start; }
.login-box-mini .ico { width: 28px; height: 28px; color: var(--blue); flex: none; }
.login-box-mini div { display: grid; gap: 2px; }
.login-box-mini span { color: var(--muted); font-size: .92rem; }

.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.auth-card { max-width: 520px; }
.auth-links { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 14px; font-size: .93rem; }
.auth-side { padding: clamp(20px, 3vw, 36px); border-radius: var(--radius-xl); background: var(--soft); }
.check-list { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.check-list .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: #fff; color: var(--blue); }
.form-grid.one { grid-template-columns: 1fr; }
.form-title.sub { margin-top: 26px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 52px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--soft); display: grid; place-items: center; color: var(--muted); }
.pw-meter { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--red); transition: width .25s, background .25s; }
.pw-meter i[data-level="3"] { background: var(--yellow-600); } .pw-meter i[data-level="4"], .pw-meter i[data-level="5"] { background: var(--green); }
@media (max-width: 860px) { .auth-grid { grid-template-columns: 1fr; } }

.dash-tabs { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.dash-tabs [role="tab"] { display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border: 0; border-radius: 999px; background: var(--soft); font-weight: 700; color: var(--muted); }
.dash-tabs [role="tab"][aria-selected="true"] { background: var(--blue); color: #fff; }
.spacer { flex: 1; }
.dash-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat-card { display: grid; gap: 2px; padding: 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.stat-card b { font-family: var(--font-head); font-size: 1.7rem; color: var(--ink); }
.stat-card span { color: var(--muted); font-size: .92rem; }
.stat-card.cta { background: var(--yellow); border-color: var(--yellow); place-content: center; text-align: center; justify-items: center; font-weight: 800; color: var(--ink); }
.stat-card.cta .ico { width: 30px; height: 30px; }
.orders-list { display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: 1fr auto auto; gap: 18px; align-items: center; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.order-row:hover { border-color: var(--blue-200); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--text); }
.order-row div { display: grid; }
.order-row b { font-family: var(--font-head); color: var(--ink); }
.order-row small { color: var(--muted); }
.order-row strong { font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.status-pill.s-ricevuto, .status-pill.s-aperto, .status-pill.s-nuova, .status-pill.s-invitato { background: var(--yellow-50); color: #6b5500; }
.status-pill.s-confermato, .status-pill.s-risposto { background: var(--blue-50); color: var(--blue); }
.status-pill.s-pagato, .status-pill.s-preparazione, .status-pill.s-spedito, .status-pill.s-pronto, .status-pill.s-consegnato, .status-pill.s-attivo, .status-pill.s-approvata { background: var(--green-50); color: #0b5d2d; }
.status-pill.s-annullato, .status-pill.s-sospeso, .status-pill.s-rifiutata, .status-pill.s-chiuso { background: #eef1f6; color: var(--muted); }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.profile-grid > :first-child { grid-row: span 2; }
.kv { margin: 0; display: grid; gap: 10px; }
.kv div { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.kv dt { font-weight: 800; color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; }
.compact-head { margin-bottom: 16px; }
.compact-head h2 { font-size: 1.4rem; }
@media (max-width: 860px) { .dash-cards { grid-template-columns: 1fr 1fr; } .profile-grid { grid-template-columns: 1fr; } .order-row { grid-template-columns: 1fr auto; } .order-row strong { grid-column: 2; } .kv div { grid-template-columns: 1fr; gap: 2px; } }

.order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.progress-steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.progress-steps li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; font-size: .82rem; font-weight: 700; color: var(--muted); }
.progress-steps li::before { content: ''; position: absolute; top: 17px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: -1; }
.progress-steps li:first-child::before { display: none; }
.progress-steps li span { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); font-weight: 800; }
.progress-steps li span .ico { width: 18px; height: 18px; }
.progress-steps li.done span { background: var(--green); border-color: var(--green); color: #fff; }
.progress-steps li.done::before, .progress-steps li.current::before { background: var(--green); }
.progress-steps li.current span { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px var(--blue-100); }
.progress-steps li.current { color: var(--blue); }
.progress-steps.cancelled { display: block; padding: 14px; border-radius: var(--radius); background: #eef1f6; color: var(--muted); font-weight: 800; text-align: center; }
@media (max-width: 640px) { .progress-steps { grid-template-columns: repeat(3, 1fr); row-gap: 16px; } .progress-steps li:nth-child(4)::before { display: none; } }
.order-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; }
.order-layout .card-form { margin-bottom: 18px; }
.order-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.order-table th { text-align: left; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 8px 6px; border-bottom: 2px solid var(--line); }
.order-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.order-table small { display: block; color: var(--muted); font-size: .8rem; }
.order-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-table tfoot td { border: 0; padding: 6px; }
.order-table .grand td { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--blue); border-top: 2px solid var(--line); }
@media (max-width: 960px) { .order-layout { grid-template-columns: 1fr; } }
.thread { display: grid; gap: 12px; margin: 10px 0 16px; }
.msg { padding: 14px 16px; border-radius: 16px; max-width: 92%; }
.msg-client { background: var(--soft); justify-self: end; border-bottom-right-radius: 4px; }
.msg-staff { background: var(--blue-50); border: 1px solid var(--blue-100); border-bottom-left-radius: 4px; }
.msg-head { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.msg-body { white-space: normal; line-height: 1.6; }
.msg-att { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.done-card { text-align: center; max-width: 680px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.done-icon { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; animation: pop .45s var(--ease); }
.done-icon .ico { width: 42px; height: 42px; }
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; padding: 16px 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.cat-count { color: var(--muted); font-size: .85rem; font-weight: 700; }
.muted { color: var(--muted); }

@media print {
  .utility, .site-header, .site-footer, .cookie-banner, .call-fab, .legal-toc, .withdraw-box, .ph-aside, .ph-bg, .ph-rule, .btn, .preloader { display: none !important; }
  .page-hero { background: none !important; color: #000; padding: 0; } .page-hero::before, .page-hero::after { display: none; } .page-hero h1, .page-hero .page-intro, .breadcrumb { color: #000; }
  body { font-size: 11pt; }
}

/* =========================================================
   Selettore lingua + traduttore automatico
   ========================================================= */
.lang-switch { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .9rem; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--blue); color: var(--blue); }
.lang-btn .ico { width: 18px; height: 18px; color: var(--blue); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 1200; min-width: 200px; max-height: 70vh; overflow-y: auto; margin: 0; padding: 6px; list-style: none; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.lang-menu li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-size: .95rem; }
.lang-menu li b { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: var(--soft); font-size: .72rem; color: var(--muted); }
.lang-menu li:hover, .lang-menu li:focus { background: var(--blue-50); outline: none; }
.lang-menu li[aria-selected="true"] { color: var(--blue); font-weight: 800; }
.lang-menu li[aria-selected="true"] b { background: var(--blue); color: #fff; }
@media (max-width: 520px) { .lang-btn { padding: 0 9px; height: 40px; } .lang-btn span { font-size: .8rem; } }
.translate-note { font-size: .82rem; color: #ffd700; }
/* nasconde la barra di Google Translate */
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; }
.gt-host { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   Promo: locandina pubblica (/promo/<nome>)
   ========================================================= */
.promo { --pc: var(--blue); --pc-2: var(--blue-800); --pc-3: var(--navy); --pc-accent: var(--yellow); --pc-ink: #fff; background: var(--soft); }
.promo.theme-rosso { --pc: #e0202b; --pc-2: #b0101a; --pc-3: #5c0710; }
.promo.theme-verde { --pc: #149a4b; --pc-2: #0d6e35; --pc-3: #06341a; }
.promo.theme-giallo { --pc: #ffd400; --pc-2: #ffb800; --pc-3: #f08a00; --pc-accent: var(--red); --pc-ink: var(--ink); }
.promo.theme-notte { --pc: #1b2550; --pc-2: #0f1636; --pc-3: #05081a; }
.promo-hero { position: relative; overflow: hidden; color: var(--pc-ink); text-align: center; padding: clamp(36px, 6vw, 72px) 0 clamp(80px, 9vw, 120px);
  background: radial-gradient(700px 380px at 50% -10%, rgba(255,255,255,.22), transparent 70%), linear-gradient(160deg, var(--pc) 0%, var(--pc-2) 55%, var(--pc-3) 100%); }
.promo-pattern { position: absolute; inset: 0; opacity: .1; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.4'%3E%3Cpath d='M60 6l15 39 39 15-39 15-15 39-15-39L6 60l39-15z'/%3E%3Ccircle cx='60' cy='60' r='22'/%3E%3C/g%3E%3C/svg%3E"); background-size: 110px; mask-image: linear-gradient(180deg, #000, transparent 90%); }
.theme-giallo .promo-pattern { filter: invert(1); opacity: .07; }
.promo-hero-inner { position: relative; display: grid; justify-items: center; gap: 14px; }
.promo-logo { display: inline-grid; place-items: center; background: #fff; border-radius: 22px; padding: 12px 22px; box-shadow: 0 16px 40px rgba(0,0,0,.18); margin-bottom: 6px; }
.promo-logo img { width: clamp(130px, 22vw, 180px); height: auto; }
.promo-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--pc-accent); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.theme-giallo .promo-kicker { color: #fff; }
.promo-kicker .ico { width: 16px; height: 16px; }
.promo-title { color: inherit; font-size: clamp(2.3rem, 7vw, 4.6rem); line-height: .98; letter-spacing: -.035em; max-width: 16ch; margin: 4px 0 0; text-wrap: balance; }
.promo-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 36em; margin: 0; opacity: .92; }
.promo-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 8px; }
.promo-pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); font-weight: 700; font-size: .9rem; }
.theme-giallo .promo-pill { background: rgba(255,255,255,.45); border-color: rgba(0,0,0,.08); }
.promo-pill .ico { width: 16px; height: 16px; }
.promo-expired { margin: 18px 0 0; display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: var(--radius); background: var(--yellow-50); color: #5c4700; font-weight: 600; position: relative; z-index: 1; }
.promo-grid-wrap { position: relative; margin-top: -64px; padding-bottom: clamp(36px, 5vw, 64px); }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(12px, 2vw, 22px); }
.promo-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; opacity: 0; transform: translateY(14px); animation: promoIn .55s var(--ease) forwards; animation-delay: calc(min(var(--i), 12) * 50ms + 150ms); transition: transform .2s var(--ease), box-shadow .2s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@keyframes promoIn { to { opacity: 1; transform: none; } }
.pc-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; }
.pc-img { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 14px; background: #fff; }
.pc-img img { width: 100%; height: 100%; object-fit: contain; }
.pc-label { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 6px 12px; border-radius: 999px; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .9rem; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(215,20,31,.3); transform: rotate(-4deg); }
.pc-body { display: grid; gap: 3px; padding: 4px 18px 16px; }
.pc-brand { font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pc); }
.theme-giallo .pc-brand { color: #b07400; }
.pc-name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; color: var(--ink); }
.pc-meta { font-size: .82rem; color: var(--muted); }
.pc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 12px 18px 16px; margin-top: auto; border-top: 1px dashed var(--line); }
.pc-price { margin-left: auto; display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border-radius: 14px; background: var(--yellow); color: var(--ink); }
.pc-price b { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.pc-price small { font-size: .9rem; margin-left: 2px; }
.pc-price em { font-style: normal; font-size: .78rem; font-weight: 700; opacity: .75; }
.pc-old { color: var(--muted); font-weight: 600; }
.promo-note { margin: 26px auto 0; max-width: 760px; text-align: center; font-size: 1.08rem; font-weight: 600; color: var(--ink); white-space: pre-line; }
.promo-legal { margin: 14px auto 0; max-width: 760px; text-align: center; font-size: .82rem; color: var(--muted); }
.promo-cta { color: #fff; background: linear-gradient(135deg, var(--blue) 0%, var(--blue-800) 60%, var(--navy) 100%); padding: clamp(36px, 5vw, 56px) 0; }
.promo-cta-inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.promo-cta h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin: 0 0 4px; }
.promo-cta p { margin: 0; color: #dbe4ff; }
.promo-cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: var(--yellow); color: var(--ink); }
.promo-tools { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: center; }
.link-light { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 6px 2px; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-light .ico { width: 18px; height: 18px; }
.promo-missing { padding: clamp(60px, 10vw, 120px) 0; text-align: center; }
.promo-missing-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--yellow-50); color: var(--blue); margin-bottom: 14px; }
.promo-missing-ico .ico { width: 34px; height: 34px; }
.promo-missing .promo-cta-row { margin-top: 22px; }
@media (max-width: 560px) {
  .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pc-img { padding: 8px; }
  .pc-body { padding: 2px 12px 12px; }
  .pc-name { font-size: .95rem; }
  .pc-foot { padding: 10px 12px 12px; flex-wrap: wrap; }
  .pc-price { padding: 5px 10px; } .pc-price b { font-size: 1.3rem; }
  .pc-label { top: 8px; left: 8px; font-size: .78rem; padding: 4px 9px; }
  .promo-cta-row .btn { width: 100%; }
  .promo-kicker { font-size: .7rem; letter-spacing: .02em; white-space: nowrap; padding: 6px 12px; }
  .promo-hero { padding-top: 28px; }
  .promo-logo { padding: 10px 18px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .promo-card { animation: none; opacity: 1; transform: none; } }
@media print {
  @page { size: A4; margin: 10mm; }
  .promo-page .preloader, .promo-page .cookie-banner, .promo-page .call-fab { display: none !important; }
  .promo { background: #fff; }
  .promo-hero { padding: 18px 0 70px; }
  .promo-hero, .promo-card, .pc-price, .pc-label, .promo-kicker { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .promo-title { font-size: 34pt; }
  .promo-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .promo-card { opacity: 1; transform: none; animation: none; box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .promo-cta { display: none; }
}

/* =========================================================
   La nostra rete: mappa animata
   ========================================================= */
.network { position: relative; overflow: hidden; }
.network::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(600px 420px at 70% 45%, rgba(61,107,255,.35), transparent 70%), radial-gradient(420px 300px at 85% 90%, rgba(255,215,0,.08), transparent 70%); }
.network-grid { position: relative; }
@media (min-width: 961px) { .network-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); } .network-map { margin-right: clamp(-40px, -2vw, 0px); } }
.network-map { position: relative; }
.gfg-map { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--font-head); }
.gfg-map .m-grid path { stroke: rgba(160,185,255,.07); stroke-width: 1; fill: none; }
.gfg-map .m-halo { fill: #2f5cff; opacity: .35; }
.gfg-map .m-land { fill: url(#gm-fill); }
.gfg-map .m-dots { opacity: .55; }
.gfg-map .m-coast { fill: none; stroke: #a9c1ff; stroke-opacity: .55; stroke-width: 1.1; stroke-linejoin: round; }
.gfg-map .m-wave { transform-box: fill-box; transform-origin: center; transform: scale(.1); opacity: 0; }
.gfg-map .m-served circle { fill: #fff6c2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.gfg-map .m-route { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.gfg-map .m-route-flow { fill: none; stroke: #ffd700; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1.5 12; opacity: 0; }
.gfg-map .m-sea { fill: none; stroke: #ffd700; stroke-opacity: .5; stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.gfg-map .m-sea-flow { fill: none; stroke: #ffd700; stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 6 9; opacity: 0; }
.gfg-map .m-truck { fill: #fff; opacity: 0; }
.gfg-map .m-ship { fill: #ffd700; opacity: 0; }
.gfg-map .m-landing { fill: none; stroke: #ffd700; stroke-width: 2; opacity: .8; }
.gfg-map .m-island text { fill: #b9c9f5; font-size: 17px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-anchor: middle; }
.gfg-map .m-node { cursor: default; }
.gfg-map .m-dot { fill: #3d6bff; stroke: #fff; stroke-width: 2.5; transition: r .25s; }
.gfg-map .m-hq .m-dot { fill: #e30613; stroke-width: 3; }
.gfg-map .m-port .m-dot { fill: #ffd700; stroke: #0a1233; }
.gfg-map .m-pulse { fill: none; stroke: #8fb0ff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.gfg-map .m-hq .m-pulse { stroke: #ff4d57; }
.gfg-map .m-port .m-pulse { stroke: #ffd700; }
.gfg-map .m-radar { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.4; stroke-dasharray: 3 7; transform-box: fill-box; transform-origin: center; }
.gfg-map .m-radar.r2 { stroke: rgba(255,77,87,.45); stroke-dasharray: 18 10; }
.gfg-map .m-label { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.gfg-map .m-label rect { fill: rgba(10,18,51,.72); stroke: rgba(169,193,255,.35); stroke-width: 1; transition: fill .2s, stroke .2s; }
.gfg-map .m-label text { fill: #fff; font-size: 17px; font-weight: 700; }
.gfg-map .m-label .m-sub { fill: #ffd700; font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.gfg-map .m-label-dot { fill: #3d6bff; }
.gfg-map .m-hq .m-label-dot, .gfg-map .m-label.m-hq .m-label-dot { fill: #e30613; }
.gfg-map .m-label.m-port .m-label-dot { fill: #ffd700; }
.gfg-map .m-label.m-hq rect { fill: rgba(227,6,19,.18); stroke: rgba(255,77,87,.6); }
.gfg-map .m-leader { fill: none; stroke: rgba(169,193,255,.45); stroke-width: 1; stroke-dasharray: 2 3; }

/* comparsa e animazioni continue (solo quando la sezione è a schermo) */
.network-map.is-visible .m-route { animation: draw 1.4s var(--ease) .2s forwards; }
.network-map.is-visible .m-sea { animation: draw 1.8s var(--ease) 1s forwards; }
.network-map.is-visible .m-route-flow { animation: mFadeIn .6s 1.5s forwards, mFlow 1.6s linear infinite; }
.network-map.is-visible .m-sea-flow { animation: mFadeIn .6s 2.6s forwards, mFlow 2.4s linear infinite; }
.network-map.is-visible .m-truck, .network-map.is-visible .m-ship { animation: mFadeIn .6s 1.6s forwards; }
.network-map.is-visible .m-wave { animation: mWave 5.4s cubic-bezier(.2,.6,.3,1) 1s infinite; }
.network-map.is-visible .m-wave.w2 { animation-delay: 2.8s; }
.network-map.is-visible .m-wave.w3 { animation-delay: 4.6s; }
.network-map.is-visible .m-served circle { animation: mPop .5s var(--ease) var(--d) forwards, mTwinkle 3.2s ease-in-out calc(var(--d) + .5s) infinite; }
.network-map.is-visible .m-pulse { animation: mPulse 2.6s ease-out infinite; }
.network-map.is-visible .m-pulse.p2 { animation-delay: 1.3s; }
.network-map.is-visible .m-radar { animation: mSpin 10s linear infinite; }
.network-map.is-visible .m-radar.r2 { animation-duration: 16s; animation-direction: reverse; }
.network-map.is-visible .m-label { opacity: 1; transform: none; }
.network-map.is-visible .m-label:nth-of-type(2) { transition-delay: .9s; }
.network-map .m-label { transition-delay: .6s; }
.network-map.is-visible .m-label[data-node="hq"] { transition-delay: .3s; }
.network-map.is-visible .m-label[data-node="milano"] { transition-delay: .9s; }
.network-map.is-visible .m-label[data-node="torino"] { transition-delay: 1.05s; }
.network-map.is-visible .m-label[data-node="roma"] { transition-delay: 1.2s; }
.network-map.is-visible .m-label[data-node="livorno"] { transition-delay: 1.5s; }
.network-map.is-visible .m-label[data-node="civitavecchia"] { transition-delay: 1.65s; }
.network-map.is-paused * { animation-play-state: paused !important; }
@keyframes mFadeIn { to { opacity: 1; } }
@keyframes mFlow { to { stroke-dashoffset: -27; } }
@keyframes mWave { 0% { transform: scale(.1); opacity: 0; } 12% { opacity: 1; } 100% { transform: scale(7); opacity: 0; } }
@keyframes mPop { from { opacity: 0; transform: scale(0); } to { opacity: .9; transform: scale(1); } }
@keyframes mTwinkle { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }
@keyframes mPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes mSpin { to { transform: rotate(360deg); } }

/* evidenziazione: passando su una voce dell'elenco o su un punto della mappa */
.gfg-map.has-focus .m-label { transition-delay: 0s !important; }
.gfg-map .m-label, .gfg-map .m-node { cursor: pointer; }
.gfg-map .is-on.m-label { filter: drop-shadow(0 0 14px rgba(255,215,0,.55)); }
.gfg-map .is-on.m-label .m-leader { stroke: #ffd700; stroke-opacity: 1; stroke-dasharray: none; stroke-width: 1.6; }
.gfg-map .is-on.m-node { filter: drop-shadow(0 0 10px rgba(255,215,0,.9)); }
.gfg-map .is-on.m-node .m-pulse { stroke: #ffd700; }
.gfg-map .is-on.m-route, .gfg-map .is-on.m-sea { filter: drop-shadow(0 0 6px rgba(255,215,0,.9)); }
.gfg-map .is-on.m-island text { filter: drop-shadow(0 0 10px rgba(255,215,0,.7)); }
.gfg-map .is-on.m-label { opacity: 1 !important; }
.gfg-map .is-on.m-label rect { fill: #fff; stroke: #fff; }
.gfg-map .is-on.m-label text:not(.m-sub) { fill: var(--blue); }
.gfg-map .is-on.m-label .m-sub { fill: #b07400; }
.gfg-map .is-on .m-dot { r: 11; }
.gfg-map .is-on.m-route, .gfg-map .is-on.m-sea { opacity: 1 !important; stroke: #ffd700; stroke-width: 3.2; stroke-opacity: 1; }
.gfg-map .is-on.m-island text { fill: #ffd700; }
.network-list li[data-node] { position: relative; cursor: default; border-radius: 12px; transition: background .2s, padding .2s; outline: none; }
.network-list li[data-node]:hover, .network-list li[data-node]:focus-visible, .network-list li.is-on { background: rgba(255,255,255,.06); padding-inline: 12px; }
.network-list li[data-node]:focus-visible { box-shadow: 0 0 0 2px var(--yellow); }

/* legenda e numeri */
.map-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; list-style: none; margin: 6px 0 0; padding: 0; color: #b9c6ee; font-size: .86rem; font-weight: 600; }
.map-legend li { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.map-legend .lg-hq { background: #e30613; box-shadow: 0 0 0 3px rgba(227,6,19,.3); }
.map-legend .lg-hub { background: #3d6bff; box-shadow: 0 0 0 3px rgba(61,107,255,.3); }
.map-legend .lg-sea { width: 22px; height: 0; border-radius: 0; border-top: 2px dashed #ffd700; }
.map-legend .lg-served { width: 7px; height: 7px; background: #fff6c2; box-shadow: 0 0 8px #fff6c2; }
.map-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.map-stats div { padding: 14px 12px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(169,193,255,.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); text-align: center; }
.map-stats dt { order: 2; color: #9fb0e8; font-size: .78rem; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.map-stats div { display: flex; flex-direction: column; }
.map-stats dd { order: 1; margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.map-stats dd small { font-size: .55em; color: #ffd700; }
.network .map-note { text-align: center; color: #7f90c8; font-size: .8rem; margin-top: 12px; }
@media (max-width: 560px) {
  .map-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .gfg-map .m-route, .gfg-map .m-sea { stroke-dashoffset: 0; animation: none !important; }
  .gfg-map .m-route-flow, .gfg-map .m-sea-flow, .gfg-map .m-travellers, .gfg-map .m-wave, .gfg-map .m-pulse, .gfg-map .m-radar { display: none; }
  .gfg-map .m-served circle { opacity: .8; animation: none !important; }
  .gfg-map .m-label { opacity: 1; transform: none; transition: none; }
}
@media print { .gfg-map .m-route, .gfg-map .m-sea { stroke-dashoffset: 0; } .gfg-map .m-label { opacity: 1; transform: none; } .gfg-map .m-travellers { display: none; } }

.brand-rule, .ph-rule { display: none !important; }

/* =========================================================
   FX: stesso linguaggio visivo della mappa su tutto il sito
   (puntini luminosi, bagliori, luce che segue il cursore, comparse a cascata)
   ========================================================= */
:root { --dots-blue: radial-gradient(circle, rgba(0,51,204,.13) 1.15px, transparent 1.6px); --dots-white: radial-gradient(circle, rgba(169,193,255,.22) 1.15px, transparent 1.6px); }

/* barra di avanzamento della lettura */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--blue), #3d6bff 60%, var(--yellow)); box-shadow: 0 0 12px rgba(61,107,255,.6); }

/* sfondi delle sezioni */
.section-soft { background:
  radial-gradient(700px 420px at 8% 0%, rgba(61,107,255,.10), transparent 70%),
  radial-gradient(600px 380px at 100% 100%, rgba(255,215,0,.12), transparent 70%),
  radial-gradient(ellipse at 50% 50%, transparent 35%, var(--soft) 82%),
  var(--dots-blue) 0 0 / 22px 22px,
  var(--soft); }
.section-blue, .why-section { position: relative; isolation: isolate; background:
  radial-gradient(800px 500px at 85% 15%, rgba(61,107,255,.55), transparent 70%),
  radial-gradient(600px 400px at 0% 100%, rgba(255,215,0,.12), transparent 70%),
  var(--dots-white) 0 0 / 22px 22px,
  linear-gradient(135deg, var(--blue-800), var(--navy)); }
.site-footer { background:
  radial-gradient(700px 360px at 85% 0%, rgba(61,107,255,.28), transparent 70%),
  var(--dots-white) 0 0 / 24px 24px,
  var(--navy); }
.site-footer::after { content: ''; position: absolute; top: 0; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, rgba(169,193,255,.5), transparent); }

/* hero delle pagine interne: puntini e bagliore che si muove piano */
.ph-bg::after { content: ''; position: absolute; inset: 0; background: var(--dots-white) 0 0 / 22px 22px; mask-image: radial-gradient(ellipse 70% 90% at 75% 40%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 75% 40%, #000, transparent 75%); opacity: .8; }
.ph-glow { animation: fxDrift 14s ease-in-out infinite alternate; }
.ph-ring { animation: fxSpin 60s linear infinite; border-style: dashed; }
@keyframes fxDrift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6%, 10%) scale(1.15); } }
@keyframes fxSpin { to { transform: rotate(360deg); } }

/* schede: luce che segue il cursore + bordo luminoso */
.fx-card { position: relative; isolation: isolate; }
fx-glow { display: block; }
.fx-glow { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(61,107,255,.11), transparent 45%); }
.fx-glow::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(0,51,204,.7), rgba(255,215,0,.35) 40%, transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.fx-card:hover > .fx-glow, .fx-card:focus-within > .fx-glow { opacity: 1; }
.fx-dark > .fx-glow { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,215,0,.12), transparent 45%); }
.fx-dark > .fx-glow::after { background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255,215,0,.8), rgba(169,193,255,.4) 40%, transparent 65%); }
.fx-tilt { transition: rotate .45s var(--ease), transform .35s var(--ease), box-shadow .35s, border-color .35s; will-change: rotate; }
.fx-tilt.is-tilting { transition: rotate .08s linear, transform .35s var(--ease), box-shadow .35s, border-color .35s; }

/* comparsa a cascata degli elementi di una griglia */
.fx-stagger > .fx-rise { opacity: 0; translate: 0 22px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.fx-stagger.fx-in > .fx-rise { opacity: 1; translate: 0 0; }

/* pulsanti: riflesso al passaggio */
.btn-primary, .btn-yellow, .btn-white { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-yellow::after, .btn-white::after { content: ''; position: absolute; inset: -2px; z-index: -1; pointer-events: none; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); width: 60%; transition: transform .7s var(--ease); }
.btn-primary:hover::after, .btn-yellow:hover::after, .btn-white:hover::after { transform: translateX(230%) skewX(-20deg); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(0,51,204,.35), 0 0 0 4px rgba(61,107,255,.12); }

/* titolini: il trattino si allunga quando la sezione compare */
.eyebrow::before { transition: width .8s var(--ease) .1s; }
.fx-in .eyebrow::before, .is-visible .eyebrow::before, .eyebrow.fx-on::before { width: 42px; }

/* foto del viaggio della merce: zoom lento continuo */
.journey-card img { animation: fxKen 18s ease-in-out infinite alternate; }
.journey-card:nth-child(2) img { animation-delay: -6s; }
@keyframes fxKen { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.journey-card figcaption { backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }

/* linea del tempo che si riempie scorrendo */
.timeline::after { content: ''; position: absolute; left: 34px; top: 10px; width: 3px; height: calc((100% - 20px) * var(--tp, 0)); border-radius: 3px; background: linear-gradient(var(--red), #ff7a82); box-shadow: 0 0 12px rgba(227,6,19,.55); }
.timeline li { z-index: 1; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.timeline::after { z-index: 0; }
.timeline li.is-passed { box-shadow: 0 10px 28px rgba(10,18,51,.08); }
.timeline li.is-passed b { box-shadow: 0 0 0 4px rgba(227,6,19,.12); }

/* barra dei numeri sotto la hero: vetro e riflesso */
.facts-grid { position: relative; background: rgba(255,255,255,.88); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255,255,255,.7); }
.facts-grid::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.7) 45%, transparent 60%) -150% 0 / 250% 100% no-repeat; animation: fxSheen 6s ease-in-out 1.5s infinite; }
@keyframes fxSheen { 0%, 60% { background-position: -150% 0; } 100% { background-position: 250% 0; } }
.fact .ico { transition: transform .4s var(--ease); }
.fact:hover .ico { transform: translateY(-3px) scale(1.12); }

/* moduli: campo attivo con alone */
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(61,107,255,.14); }
.card-form { position: relative; }

@media (prefers-reduced-motion: reduce) {
  .ph-glow, .ph-ring, .journey-card img, .facts-grid::before { animation: none !important; }
  .fx-stagger > .fx-rise { opacity: 1; translate: none; transition: none; }
  .btn-primary::after, .btn-yellow::after, .btn-white::after { display: none; }
  .read-progress { display: none; }
}
@media print { .read-progress, .fx-glow { display: none; } .fx-stagger > .fx-rise { opacity: 1; translate: none; } }

/* =========================================================
   Schermate di accesso (area clienti, password)
   ========================================================= */
.auth-section { background:
  radial-gradient(700px 420px at 0% 0%, rgba(61,107,255,.12), transparent 70%),
  radial-gradient(600px 400px at 100% 100%, rgba(255,215,0,.14), transparent 70%),
  radial-gradient(ellipse at 50% 50%, transparent 30%, var(--soft) 80%),
  var(--dots-blue) 0 0 / 22px 22px, var(--soft); }
.auth-grid { align-items: stretch; }
.auth-card { position: relative; max-width: none; padding: clamp(24px, 3.4vw, 40px); border-radius: 28px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 30px 70px rgba(10,18,51,.14), 0 2px 6px rgba(10,18,51,.05); }
.auth-card::before { content: ''; position: absolute; left: 28px; right: 28px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue), #3d6bff, var(--yellow)); }
.auth-card-center { max-width: 560px; margin: 0 auto; }
.auth-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.auth-head .form-title { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.auth-head .help { margin: 4px 0 0; }
.auth-badge { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-800)); box-shadow: 0 12px 26px rgba(0,51,204,.3), inset 0 1px 0 rgba(255,255,255,.25); }
.auth-badge .ico { width: 26px; height: 26px; }
.ico-input { position: relative; }
.ico-input > .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: #8a97b8; pointer-events: none; transition: color .2s; }
.ico-input input { padding-left: 46px !important; }
.ico-input:focus-within > .ico { color: var(--blue); }
.pw-toggle { color: #8a97b8; transition: color .2s, background .2s; }
.pw-toggle:hover { color: var(--blue); background: var(--blue-50); }
.pw-toggle .i-hide, .pw-toggle.is-on .i-show { display: none; }
.pw-toggle.is-on .i-hide { display: block; }
.caps-hint { display: flex; gap: 6px; align-items: center; margin: 6px 0 0; color: #8a5a00; font-size: .85rem; font-weight: 700; }
.caps-hint[hidden] { display: none; }
.caps-hint::before { content: '⇪'; }
.auth-secure { display: flex; gap: 8px; align-items: center; margin: 18px 0 0; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .85rem; }
.auth-secure .ico { width: 18px; height: 18px; color: var(--green); flex: none; }
.auth-side { position: relative; overflow: hidden; isolation: isolate; color: #cfd8f7; padding: clamp(26px, 3.6vw, 44px); border-radius: 28px;
  background: radial-gradient(500px 340px at 90% 10%, rgba(61,107,255,.55), transparent 70%), var(--dots-white) 0 0 / 22px 22px, linear-gradient(150deg, var(--blue-800), var(--navy)); box-shadow: 0 30px 70px rgba(10,18,51,.25); }
.auth-side h2 { color: #fff; }
.auth-side .lead { color: #dbe4ff; }
.auth-side .check-list li { color: #fff; }
.auth-side .check-list .ico { background: rgba(255,255,255,.1); color: var(--yellow); border: 1px solid rgba(255,255,255,.15); }
.auth-art { position: absolute; z-index: -1; right: -12%; bottom: -14%; width: 72%; opacity: .55; pointer-events: none; }
.italy-glyph .ig-ping { fill: none; stroke: #8fb0ff; stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: igPing 2.6s ease-out infinite; }
.italy-glyph .ig-hq { stroke: #ff4d57; }
.italy-glyph .ig-glow { animation: igGlow 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes igPing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.6); opacity: 0; } }
@keyframes igGlow { 50% { transform: scale(1.25); opacity: .7; } }
@media (max-width: 860px) { .auth-side { display: flex; flex-direction: column; } .auth-side .btn { align-self: flex-start; } .auth-art { position: static; order: 99; display: block; width: min(78%, 320px); margin: 26px auto -6px; opacity: .9; } }
@media (prefers-reduced-motion: reduce) { .italy-glyph .ig-ping, .italy-glyph .ig-glow { animation: none; } }

/* hero della home: stesso sfondo a puntini delle sezioni */
.hero-pattern { opacity: 1; background: radial-gradient(circle, rgba(190,208,255,.38) 1.25px, transparent 1.7px) 0 0 / 22px 22px; mask-image: radial-gradient(ellipse 80% 90% at 70% 40%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 40%, #000 20%, transparent 80%); }
.hero::after { content: ''; position: absolute; right: -8%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(61,107,255,.45), transparent 65%); animation: fxDrift 14s ease-in-out infinite alternate; }
@media (prefers-reduced-motion: reduce) { .hero::after { animation: none; } }
.hero::after { z-index: 0; } .hero-grid { z-index: 1; }

/* ---------- piè di pagina: orari e HACCP ---------- */
.footer-grid { grid-template-columns: 1.35fr 1.05fr .9fr .95fr 1fr; gap: 32px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 620px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-hours { grid-column: 1 / -1; } }
.footer-col h2 .ico { width: 16px; height: 16px; color: var(--yellow); vertical-align: -2px; margin-right: 4px; }
.hours dl { margin: 0; display: grid; gap: 4px; }
.hours dl div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 8px; margin: 0 -8px; border-radius: 8px; font-size: .9rem; }
.hours dt { color: #fff; font-weight: 600; }
.hours dd { margin: 0; color: #b9c4ea; text-align: right; font-variant-numeric: tabular-nums; }
.hours dl div.is-today { background: rgba(255,255,255,.08); }
.hours dl div.is-today dt::after { content: ' · oggi'; color: var(--yellow); font-weight: 700; font-size: .78rem; }
.hours-now { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 5px 11px; border-radius: 999px; font-size: .8rem; font-weight: 800; background: rgba(255,255,255,.08); color: #fff; }
.hours-now i { width: 8px; height: 8px; border-radius: 50%; background: #9aa6bf; }
.hours-now.is-open i { background: #2ee07b; box-shadow: 0 0 0 0 rgba(46,224,123,.6); animation: hoursPing 2s infinite; }
@keyframes hoursPing { 70% { box-shadow: 0 0 0 8px rgba(46,224,123,0); } 100% { box-shadow: 0 0 0 0 rgba(46,224,123,0); } }
.hours-light dt { color: var(--ink); }
.hours-light dd { color: var(--muted); }
.hours-light dl div.is-today { background: var(--blue-50); }
.hours-light dl div.is-today dt::after { color: var(--blue); }
.hours-light .hours-now { background: var(--soft); color: var(--ink); margin-top: 6px; }
.contact-list .hours { width: 100%; margin-top: 4px; }
.contact-list li > div:has(.hours) { flex: 1; }
.footer-haccp { display: flex; gap: 12px; align-items: center; margin-top: 20px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(169,193,255,.2); color: #b9c4ea; text-decoration: none; font-size: .82rem; line-height: 1.35; max-width: 340px; transition: background .2s, border-color .2s; }
.footer-haccp:hover { background: rgba(255,255,255,.1); border-color: rgba(255,215,0,.45); color: #dbe4ff; }
.footer-haccp img { width: 56px; height: 56px; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); }
.footer-haccp b { display: block; color: #fff; font-family: var(--font-head); font-size: .98rem; }
/* ---------- azienda: qualità ---------- */
.quality-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.quality-seal { width: clamp(150px, 20vw, 230px); height: auto; filter: drop-shadow(0 24px 40px rgba(0,51,204,.25)); animation: sealFloat 6s ease-in-out infinite; }
@keyframes sealFloat { 50% { transform: translateY(-8px) rotate(-3deg); } }
.quality-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quality-list .ico { background: var(--blue-50); }
@media (max-width: 760px) { .quality-grid { grid-template-columns: 1fr; justify-items: center; text-align: left; } .quality-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .quality-seal, .hours-now.is-open i { animation: none; } }

/* =========================================================
   Piè di pagina (nuovo)
   ========================================================= */
.site-footer { padding-top: clamp(40px, 5vw, 64px); color: #b9c4ea; }
.ft-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 22px 40px; flex-wrap: wrap; padding: clamp(24px, 3.5vw, 40px) clamp(22px, 4vw, 48px); border-radius: 28px;
  background: radial-gradient(500px 260px at 100% 0%, rgba(255,215,0,.22), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(61,107,255,.6), transparent 70%), linear-gradient(120deg, var(--blue), var(--blue-800));
  box-shadow: 0 30px 70px rgba(0,8,40,.45), inset 0 1px 0 rgba(255,255,255,.2); }
.ft-cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle, rgba(255,255,255,.2) 1.15px, transparent 1.6px) 0 0 / 20px 20px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.ft-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.3rem); margin: 8px 0 0; line-height: 1.08; }
.ft-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ft-main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.9fr) minmax(280px, 1fr); gap: clamp(28px, 4vw, 56px); padding-block: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 40px); }
.ft-logo { display: inline-block; background: #fff; border-radius: 18px; padding: 12px 18px; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.ft-logo img { width: 150px; height: auto; display: block; }
.ft-claim { margin: 18px 0 20px; color: #b9c4ea; font-size: .95rem; line-height: 1.55; max-width: 30em; }
.ft-contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft-contacts a, .ft-contacts button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.ft-contacts small { display: block; color: #8d9bcb; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ft-contacts a:hover, .ft-contacts button:hover { color: var(--yellow); }
.ft-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(169,193,255,.18); color: var(--yellow); transition: background .2s, transform .2s; }
.ft-ic .ico { width: 18px; height: 18px; }
.ft-contacts a:hover .ft-ic, .ft-contacts button:hover .ft-ic { background: rgba(255,215,0,.14); transform: translateY(-2px); }
.ft-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ft-col { display: grid; align-content: start; gap: 11px; }
.ft-col h2, .ft-hours h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.ft-col a, .ft-col button { position: relative; width: fit-content; padding: 0; border: 0; background: none; color: #b9c4ea; font: inherit; font-size: .95rem; text-align: left; text-decoration: none; cursor: pointer; transition: color .2s, transform .2s; }
.ft-col a::before, .ft-col button::before { content: ''; position: absolute; left: -14px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); transform: translateY(-50%) scale(0); transition: transform .2s; }
.ft-col a:hover, .ft-col button:hover { color: #fff; transform: translateX(4px); }
.ft-col a:hover::before, .ft-col button:hover::before { transform: translateY(-50%) scale(1); }
.ft-hours { align-self: start; padding: 22px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(169,193,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ft-hours h2 .ico { width: 16px; height: 16px; color: var(--yellow); }
.hours dl { margin: 0; display: grid; gap: 2px; }
.hours dl div { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 10px; padding: 6px 10px; margin: 0 -10px; border-radius: 10px; font-size: .9rem; }
.hours dt { color: #fff; font-weight: 700; }
.hours dt abbr { text-decoration: none; }
.hours dt::after { content: none !important; }
.hours dd { margin: 0; display: flex; justify-content: flex-end; gap: 6px; flex-wrap: wrap; color: #cfd8f7; font-variant-numeric: tabular-nums; text-align: right; }
.hours dd span { white-space: nowrap; }
.hours dd span + span::before { content: '·'; margin-right: 6px; color: #6f7fb3; }
.hours dd .closed { color: #7f8cbc; }
.hours dl div.is-today { background: rgba(255,215,0,.1); box-shadow: inset 3px 0 0 var(--yellow); }
.hours dl div.is-today dt { color: var(--yellow); }
.hours-now { margin: 0 0 12px; }
.ft-hours-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--yellow); font-weight: 700; font-size: .88rem; text-decoration: none; }
.ft-hours-link .ico { width: 16px; height: 16px; }
.ft-hours-link:hover { color: #fff; }
.hours-light dt { color: var(--ink); }
.hours-light dd { color: var(--muted); }
.hours-light dd span + span::before { color: #b6c0d8; }
.hours-light dl div.is-today { background: var(--blue-50); box-shadow: inset 3px 0 0 var(--blue); }
.hours-light dl div.is-today dt { color: var(--blue); }
.ft-trust { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; border-top: 1px solid rgba(169,193,255,.14); border-bottom: 1px solid rgba(169,193,255,.14); }
.ft-trust li, .ft-trust li > a { display: flex; align-items: center; gap: 12px; color: #b9c4ea; text-decoration: none; font-size: .82rem; line-height: 1.3; }
.ft-trust b { display: block; color: #fff; font-family: var(--font-head); font-size: .95rem; }
.ft-trust small { font-size: .8rem; }
.ft-haccp img { width: 52px; height: 52px; flex: none; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); transition: transform .3s var(--ease); }
.ft-haccp a:hover img { transform: rotate(-8deg) scale(1.06); }
.ft-haccp a:hover b { color: var(--yellow); }
.ft-legal { padding-block: 22px 6px; }
.ft-legal dl { margin: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: .82rem; }
.ft-legal dl div { display: grid; gap: 1px; }
.ft-legal dt { color: #7f8cbc; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ft-legal dd { margin: 0; color: #cfd8f7; }
.ft-legal .translate-note { font-size: .8rem; color: #93a1d1; margin: 0 0 10px; }
.ft-bottom { display: flex; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 18px 28px; font-size: .85rem; color: #8d9bcb; }
.ft-made { margin-left: auto; }
.ft-top { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(169,193,255,.3); background: rgba(255,255,255,.06); color: #fff; cursor: pointer; transition: background .2s, transform .2s, color .2s; }
.ft-top .ico { transform: rotate(-90deg); width: 18px; height: 18px; }
.ft-top:hover { background: var(--yellow); color: var(--ink); transform: translateY(-3px); }
@media (max-width: 1180px) { .ft-main { grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); } .ft-links { grid-column: 1 / -1; grid-row: 2; } .ft-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .ft-main { grid-template-columns: 1fr; }
  .ft-links { grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-links .ft-col:last-child { grid-column: 1 / -1; }
  .ft-cta-actions, .ft-cta-actions .btn { width: 100%; }
  .ft-trust { grid-template-columns: 1fr; }
  .ft-made { margin-left: 0; }
  .ft-top { margin-left: auto; }
}
.ft-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr) minmax(340px, 1.1fr); }
.hours dd { flex-wrap: nowrap; font-size: .86rem; }
.ft-col h2 { letter-spacing: .07em; }
@media (max-width: 1180px) { .ft-main { grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); } }
@media (max-width: 760px) { .ft-main { grid-template-columns: 1fr; } .hours dd { flex-wrap: wrap; } }
