/* ==================================================================
   PLUS MARKET GIUNTELLI — foglio di stile condiviso (tutte le pagine)
   ================================================================== */

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

:root {
  --green:       #2E7D32;
  --green-dark:  #1B5E20;
  --green-deep:  #0F3D22;
  --green-light: #4CAF50;
  --green-tint:  #E8F5E9;
  --orange:      #E65100;
  --orange-lt:   #FF8F00;
  --orange-tint: #FFF3E0;
  --gold:        #F9A825;
  --cream:       #FBF8F3;
  --white:       #FFFFFF;
  --gray-light:  #F2F2F0;
  --gray:        #6B6B6B;
  --text:        #1E1E1E;
  --radius:      16px;
  --radius-lg:   24px;
  --shadow-sm:   0 2px 10px rgba(0,0,0,0.06);
  --shadow:      0 10px 30px rgba(0,0,0,0.10);
  --shadow-lg:   0 24px 60px rgba(0,0,0,0.18);
  --ease:        cubic-bezier(.2,.7,.2,1);
  --header-h:    76px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.15; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; }

/* ---------- Lingue ---------- */
html[lang="de"] .it-text, html[lang="en"] .it-text,
html[lang="it"] .de-text, html[lang="en"] .de-text,
html[lang="it"] .en-text, html[lang="de"] .en-text { display: none !important; }

/* ==================================================================
   HEADER
   ================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.header-inner {
  height: 100%; display: flex; align-items: center; gap: 20px;
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-text { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--green-dark); line-height: 1; }
.brand-text small { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-top: 4px; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; list-style: none; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Montserrat', sans-serif; font-size: 0.86rem; font-weight: 600;
  color: #333; padding: 9px 14px; border-radius: 10px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--gray-light); color: var(--green); }
.main-nav a.active { color: var(--green); background: var(--green-tint); }
.main-nav a .nav-pill {
  font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: var(--orange); color: #fff; padding: 2px 7px; border-radius: 20px;
}

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-switcher { display: flex; gap: 2px; background: var(--gray-light); border-radius: 24px; padding: 3px; }
.lang-btn {
  font-family: 'Montserrat', sans-serif; font-size: .74rem; font-weight: 700;
  padding: 5px 10px; border-radius: 20px; border: none; cursor: pointer;
  background: transparent; color: var(--gray); transition: all .2s;
}
.lang-btn.active { background: var(--green); color: #fff; }

.header-cta { padding: 11px 20px !important; font-size: .85rem !important; }

.hamburger { display: none; width: 44px; height: 44px; border: none; background: none; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px; }
.hamburger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.hamburger:hover { background: var(--gray-light); }
.menu-open .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .hamburger span:nth-child(2) { opacity: 0; }
.menu-open .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 20px 24px 120px;
  overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
}
.menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
.mobile-menu ul { list-style: none; }
.mobile-menu li a {
  display: flex; align-items: center; justify-content: space-between;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.15rem;
  padding: 16px 4px; border-bottom: 1px solid var(--gray-light);
}
.mobile-menu li a.active { color: var(--green); }
.mobile-menu li a::after { content: '›'; color: #bbb; font-size: 1.4rem; }
.mobile-menu .mobile-menu-ctas { display: grid; gap: 12px; margin-top: 24px; }
.mobile-menu .lang-switcher { margin-top: 24px; width: max-content; }

/* Barra azioni fissa in basso (solo mobile) */
.mobile-actionbar { display: none; }

@media (max-width: 1080px) {
  .main-nav, .header-actions .lang-switcher, .header-cta { display: none !important; }
  .hamburger { display: flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 768px) {
  :root { --header-h: 66px; }
  .brand img { height: 38px; }
  .brand-text { font-size: 1.02rem; }
  body { padding-bottom: 78px; }
  .mobile-actionbar {
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.08); box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
  }
  .mobile-actionbar .btn { padding: 13px 10px; font-size: .88rem; justify-content: center; }
}

/* ==================================================================
   BOTTONI
   ================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .95rem;
  padding: 15px 28px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
  white-space: nowrap; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(230,81,0,.32); }
.btn-orange:hover { background: #F4511E; box-shadow: 0 12px 28px rgba(230,81,0,.42); }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 8px 22px rgba(46,125,50,.28); }
.btn-green:hover { background: var(--green-dark); }
.btn-white { background: #fff; color: var(--green-dark); box-shadow: var(--shadow-sm); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-outline { background: transparent; color: var(--green-dark); border-color: var(--green); }
.btn-outline:hover { background: var(--green-tint); }
.btn-wa { background: #25D366; color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,.3); }
.btn-wa:hover { background: #1EBE5A; }
.btn-lg { padding: 18px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; }

/* ==================================================================
   TIPOGRAFIA SEZIONI
   ================================================================== */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-green { background: var(--green-deep); color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-size: .74rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange); background: var(--orange-tint);
  padding: 6px 14px; border-radius: 30px; margin-bottom: 16px;
}
.bg-green .eyebrow { background: rgba(249,168,37,.15); color: var(--gold); }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 16px; }
.h2 em, .h1 em { font-style: normal; color: var(--green); }
.bg-green .h2 em { color: var(--gold); }
.lead { font-size: 1.08rem; color: var(--gray); max-width: 640px; }
.bg-green .lead { color: rgba(255,255,255,.8); }
.section-head { margin-bottom: 52px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* ==================================================================
   PAGE HERO (pagine interne)
   ================================================================== */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--green-deep) 0%, var(--green-dark) 55%, var(--green) 100%);
  padding: 72px 0 80px;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--hero-img, none); background-size: cover; background-position: center;
  opacity: .22; mix-blend-mode: luminosity;
}
.page-hero::after {
  content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle, rgba(249,168,37,.28), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: .82rem; opacity: .75; margin-bottom: 18px; font-family: 'Montserrat', sans-serif; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 800; margin-bottom: 14px; max-width: 820px; }
.page-hero h1 em { font-style: normal; color: var(--gold); }
.page-hero p { font-size: 1.1rem; opacity: .88; max-width: 640px; }
.page-hero .hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ==================================================================
   HOME HERO
   ================================================================== */
.home-hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--green-deep);
  padding: 80px 0 150px;
}
.home-hero-bg {
  position: absolute; inset: 0;
  background: url('../img/panorama.jpg') center 30% / cover no-repeat;
  transform: scale(1.06); transition: transform 6s ease-out;
}
.home-hero.loaded .home-hero-bg { transform: scale(1); }
.home-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10,40,22,.96) 0%, rgba(15,61,34,.88) 45%, rgba(15,61,34,.45) 100%);
}
.home-hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  padding: 7px 16px 7px 8px; border-radius: 40px;
  font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 700; margin-bottom: 22px;
}
.hero-tag b { background: var(--orange); color: #fff; padding: 3px 10px; border-radius: 30px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.home-hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: 20px; }
.home-hero h1 em { font-style: normal; color: var(--gold); }
.home-hero p.hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 32px; }
.home-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-size: .86rem; color: rgba(255,255,255,.75); }
.hero-trust img { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 4px; }
.hero-phone-wrap { display: flex; justify-content: center; position: relative; }
.hero-phone-wrap::before {
  content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(249,168,37,.35), transparent 65%); top: 50%; left: 50%; transform: translate(-50%,-50%);
}
@media (max-width: 960px) {
  .home-hero { padding: 56px 0 130px; }
  .home-hero .container { grid-template-columns: 1fr; }
  .hero-phone-wrap { display: none; }
}

/* Duo card App + Offerte (sovrapposte al fondo dell'hero) */
.duo { position: relative; z-index: 5; margin-top: -96px; }
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  padding: 36px 36px 32px; color: #fff; min-height: 250px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), box-shadow .3s;
}
.duo-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(0,0,0,.24); }
.duo-card.offers { background: linear-gradient(135deg, #E65100 0%, #FF8F00 100%); }
.duo-card.app { background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 60%, #43A047 100%); }
.duo-card .duo-icon { font-size: 2.6rem; line-height: 1; }
.duo-card h3 { font-size: 1.65rem; font-weight: 800; margin: 12px 0 8px; }
.duo-card p { color: rgba(255,255,255,.9); max-width: 380px; }
.duo-card .duo-link { font-family: 'Montserrat', sans-serif; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.18); padding: 11px 20px; border-radius: 40px; width: max-content; }
.duo-card:hover .duo-link { background: #fff; color: var(--text); }
.duo-card .duo-deco { position: absolute; right: -30px; bottom: -40px; font-size: 11rem; opacity: .13; transform: rotate(-12deg); pointer-events: none; }
@media (max-width: 760px) { .duo-grid { grid-template-columns: 1fr; } .duo-card { min-height: 0; padding: 28px; } }

/* ==================================================================
   INFO STRIP
   ================================================================== */
.info-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-item { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid #ECECEC; border-radius: var(--radius); padding: 18px 20px; }
.info-item .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--green-tint); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }
.info-item strong { display: block; font-family: 'Montserrat', sans-serif; font-size: .92rem; }
.info-item span { font-size: .84rem; color: var(--gray); }
@media (max-width: 960px) { .info-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .info-strip { grid-template-columns: 1fr; } }

/* ==================================================================
   PASSI (come funziona)
   ================================================================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); border: 1px solid #EEE; position: relative; }
.step-num { width: 52px; height: 52px; border-radius: 16px; background: var(--orange); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 18px rgba(230,81,0,.3); }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: .95rem; }
.bg-green .step { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.bg-green .step p { color: rgba(255,255,255,.75); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ==================================================================
   SPLIT (testo + immagine)
   ================================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-img { position: relative; }
.split-img img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; }
.split-img .float-badge {
  position: absolute; left: -24px; bottom: -24px; background: #fff; border-radius: var(--radius);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
  max-width: 290px; font-size: .84rem; line-height: 1.4;
}
.split-img .float-badge img { width: 54px; height: auto; box-shadow: none; aspect-ratio: auto; border-radius: 0; }
.split-img .float-badge strong { display: block; font-family: 'Montserrat', sans-serif; color: var(--green-dark); }
.split p + p { margin-top: 14px; }
.split .text p { color: #444; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .split-img .float-badge { left: 12px; bottom: -20px; }
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 32px; }
.stat { background: var(--cream); border-radius: 14px; padding: 16px 12px; text-align: center; }
.stat b { display: block; font-family: 'Montserrat', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.stat span { font-size: .78rem; color: var(--gray); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ==================================================================
   CARD GRIGLIE (reparti, servizi, sedi)
   ================================================================== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.photo-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #EEE; transition: transform .3s var(--ease), box-shadow .3s; }
.photo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.photo-card .ph { aspect-ratio: 3/2; overflow: hidden; }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo-card:hover .ph img { transform: scale(1.06); }
.photo-card .body { padding: 18px 20px 22px; }
.photo-card h3 { font-size: 1.02rem; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.photo-card p { font-size: .88rem; color: var(--gray); line-height: 1.55; }

.icon-card { background: #fff; border-radius: var(--radius); padding: 26px 24px; border: 1px solid #EEE; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), border-color .3s; }
.icon-card:hover { transform: translateY(-4px); border-color: var(--green-light); }
.icon-card .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--green-tint); display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 16px; }
.icon-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.icon-card p { font-size: .9rem; color: var(--gray); line-height: 1.55; }
.bg-green .icon-card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); box-shadow: none; }
.bg-green .icon-card .ico { background: rgba(255,255,255,.1); }
.bg-green .icon-card p { color: rgba(255,255,255,.72); }

.store-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow); }
.store-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.store-card:hover > img { transform: scale(1.05); }
.store-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,35,20,.92) 0%, rgba(10,35,20,.35) 55%, transparent 100%); }
.store-card .body { position: relative; z-index: 1; padding: 28px; width: 100%; }
.store-card .badge { display: inline-block; background: var(--orange); font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 10px; }
.store-card h3 { font-size: 1.9rem; font-weight: 800; margin-bottom: 8px; }
.store-card .meta { font-size: .92rem; opacity: .92; display: grid; gap: 4px; }
.store-card .store-actions { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.store-card .store-actions .btn { padding: 10px 18px; font-size: .84rem; }

/* Chip categorie catalogo */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E6E6E6; border-radius: 40px; padding: 8px 16px; font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 600; }

/* ==================================================================
   CTA BAND
   ================================================================== */
.cta-band { border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: linear-gradient(120deg, var(--green-deep), var(--green)); color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(249,168,37,.3), transparent 70%); }
.cta-band.orange { background: linear-gradient(120deg, #BF360C, var(--orange) 50%, var(--orange-lt)); }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; padding: 34px 26px; } .cta-band .actions { justify-content: flex-start; } }

/* ==================================================================
   PHONE MOCKUP (app)
   ================================================================== */
.phone {
  position: relative; z-index: 1; width: 270px; aspect-ratio: 9/18.5;
  background: #0b0f0d; border-radius: 42px; padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 0 0 2px #2a2f2c;
  transform: rotate(-4deg);
}
.phone.flat { transform: none; }
.phone-screen { width: 100%; height: 100%; background: #F3F6F4; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; background: #0b0f0d; border-radius: 20px; z-index: 2; }
.ps-top { background: var(--green); color: #fff; padding: 44px 16px 14px; }
.ps-top .ps-brand { display: flex; align-items: center; gap: 8px; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .8rem; }
.ps-top .ps-brand img { width: 26px; height: 26px; background: #fff; border-radius: 7px; padding: 2px; object-fit: contain; }
.ps-search { margin-top: 10px; background: rgba(255,255,255,.95); color: #999; font-size: .66rem; border-radius: 10px; padding: 7px 10px; }
.ps-tabs { display: flex; gap: 6px; padding: 10px 12px 4px; }
.ps-tabs span { font-family: 'Montserrat', sans-serif; font-size: .58rem; font-weight: 700; padding: 4px 9px; border-radius: 20px; background: #fff; color: #666; }
.ps-tabs span.on { background: var(--orange); color: #fff; }
.ps-list { padding: 6px 12px; display: grid; gap: 7px; flex: 1; }
.ps-item { background: #fff; border-radius: 12px; padding: 8px; display: flex; align-items: center; gap: 9px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.ps-item .em { width: 34px; height: 34px; border-radius: 9px; background: var(--cream); display: grid; place-items: center; font-size: 1.1rem; }
.ps-item .nm { flex: 1; font-family: 'Montserrat', sans-serif; font-size: .62rem; font-weight: 700; line-height: 1.25; }
.ps-item .nm small { display: block; font-weight: 600; color: var(--orange); font-size: .54rem; }
.ps-item .add { width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 800; }
.ps-cart { margin: 8px 12px 16px; background: var(--orange); color: #fff; border-radius: 14px; padding: 11px; text-align: center; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .68rem; letter-spacing: .04em; }

/* ==================================================================
   FAQ / ACCORDION
   ================================================================== */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid #E8E8E8; border-radius: 14px; padding: 4px 22px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--green-light); }
.faq summary { cursor: pointer; list-style: none; font-family: 'Montserrat', sans-serif; font-weight: 700; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--green); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: #555; }

/* ==================================================================
   FOOTER
   ================================================================== */
.site-footer { background: #0B2E19; color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand .brand-text { color: #fff; font-size: 1.3rem; }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-logos { display: flex; gap: 10px; margin-top: 18px; }
.footer-logos img { height: 58px; width: auto; background: #fff; border-radius: 10px; padding: 4px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a:hover { color: var(--gold); }
.footer-app { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 20px; }
.footer-app p { margin-bottom: 14px; }
.footer-app .btn { padding: 11px 18px; font-size: .85rem; }
.footer-bottom { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==================================================================
   ANIMAZIONI
   ================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .home-hero-bg { transition: none; }
  html { scroll-behavior: auto; }
}

/* ==================================================================
   COOKIE BANNER + MODAL
   ================================================================== */
#cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1500;
  max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius);
  box-shadow: 0 16px 50px rgba(0,0,0,.2); padding: 18px 20px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  transition: transform .4s var(--ease), opacity .4s;
}
#cookie-banner.hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
#cookie-banner p { flex: 1; min-width: 240px; font-size: .86rem; color: #444; line-height: 1.5; }
#cookie-banner p a { color: var(--green); text-decoration: underline; }
#cookie-banner .ck-actions { display: flex; gap: 8px; }
#cookie-banner .btn { padding: 10px 18px; font-size: .82rem; }
@media (max-width: 768px) { #cookie-banner { bottom: 90px; } }

#cookie-info-modal { display: none; position: fixed; inset: 0; z-index: 2100; align-items: center; justify-content: center; padding: 20px; }
#cookie-info-modal.open { display: flex; }
.ck-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.ck-box { position: relative; background: #fff; border-radius: var(--radius-lg); max-width: 560px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 34px 30px; box-shadow: var(--shadow-lg); }
.ck-box h3 { font-size: 1.3rem; margin-bottom: 10px; }
.ck-box > p { color: var(--gray); font-size: .9rem; margin-bottom: 18px; }
.ck-row { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--gray-light); }
.ck-row .ico { font-size: 1.3rem; }
.ck-row strong { display: block; font-family: 'Montserrat', sans-serif; font-size: .88rem; }
.ck-row code { font-size: .74rem; background: var(--gray-light); padding: 1px 6px; border-radius: 4px; margin-left: 4px; }
.ck-row span { font-size: .82rem; color: var(--gray); line-height: 1.5; }
.ck-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: none; background: var(--gray-light); cursor: pointer; }
.ck-box .btn { margin-top: 18px; }

/* ==================================================================
   FLIPBOOK (volantino sfogliabile) — modale e in pagina
   ================================================================== */
.flipbook-modal { display: none; position: fixed; inset: 0; z-index: 2000; align-items: center; justify-content: center; }
.flipbook-modal.open { display: flex; }
.flipbook-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(6px); cursor: pointer; }
.flipbook-container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px; max-height: 100vh; }
.flipbook-close { position: absolute; top: -8px; right: -8px; width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; font-size: 1rem; font-weight: 700; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.3); z-index: 30; transition: .2s; }
.flipbook-close:hover { background: #f44336; color: #fff; }

/* Versione in pagina (pagina Offerte) */
.flipbook-stage { background: radial-gradient(ellipse at top, #1d5a33 0%, #0B2E19 70%); padding: 48px 0 56px; }
.flipbook-stage .flipbook-container { padding: 0 12px; max-height: none; }
.flipbook-stage .flipbook-close { display: none; }

.flipbook-book { display: flex; align-items: stretch; perspective: 1800px; box-shadow: 0 24px 80px rgba(0,0,0,.6); border-radius: 4px; overflow: visible; background: #1a1a1a; position: relative; min-height: 200px; }
.flipbook-page { position: relative; background: #fff; overflow: hidden; flex-shrink: 0; min-width: 140px; }
.flipbook-page canvas { display: block; max-width: 100%; height: auto; }
.flipbook-left { border-right: 1px solid #ddd; box-shadow: inset -4px 0 12px rgba(0,0,0,.08); }
.flipbook-right { border-left: 1px solid #ddd; box-shadow: inset 4px 0 12px rgba(0,0,0,.08); }
.flipbook-spine { width: 8px; background: linear-gradient(to right, #bbb 0%, #fff 40%, #fff 60%, #bbb 100%); flex-shrink: 0; box-shadow: 0 0 8px rgba(0,0,0,.2); }

.fb-flipper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; transform-style: preserve-3d; transform-origin: left center; z-index: 20; pointer-events: none; display: none; }
.fb-flipper.flipping { display: block; }
.fb-flipper-front, .fb-flipper-back { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fff; overflow: hidden; }
.fb-flipper-front canvas, .fb-flipper-back canvas { display: block; width: 100%; height: 100%; }
.fb-flipper-back { transform: rotateY(180deg); }
.fb-flipper-front::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to left, rgba(0,0,0,.2) 0%, transparent 55%); pointer-events: none; }
.fb-flipper-back::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.2) 0%, transparent 55%); pointer-events: none; }
.flipbook-left.dimming::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.12); animation: dimFade .65s ease-in-out; pointer-events: none; }
@keyframes dimFade { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }

.flipbook-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f9f9f9; gap: 12px; font-family: 'Montserrat', sans-serif; font-size: .85rem; color: var(--gray); }
.flipbook-spinner { width: 36px; height: 36px; border: 3px solid #eee; border-top-color: var(--green); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.flipbook-controls { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 50px; padding: 8px 14px; backdrop-filter: blur(8px); }
.flipbook-controls button { background: none; border: none; color: #fff; font-family: 'Montserrat', sans-serif; font-size: .88rem; font-weight: 700; cursor: pointer; padding: 8px 16px; border-radius: 20px; transition: background .2s; }
.flipbook-controls button:hover:not(:disabled) { background: rgba(255,255,255,.15); }
.flipbook-controls button:disabled { opacity: .3; cursor: default; }
.fb-indicator { font-family: 'Montserrat', sans-serif; font-size: .84rem; font-weight: 600; color: rgba(255,255,255,.85); min-width: 80px; text-align: center; }
.flipbook-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.flipbook-download { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; font-family: 'Montserrat', sans-serif; font-size: .82rem; font-weight: 600; padding: 9px 18px; border-radius: 20px; transition: background .2s; }
.flipbook-download:hover { background: rgba(255,255,255,.22); }
.fb-hint { color: rgba(255,255,255,.55); font-size: .8rem; }
@media (max-width: 700px) {
  .flipbook-left, .flipbook-spine { display: none; }
  .flipbook-book { border-radius: 6px; }
}

/* Utility */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
.small { font-size: .85rem; color: var(--gray); }
/* Nota: nelle pagine, --hero-img va scritto relativo a questo file CSS, es. url('../img/foto.jpg') */
