/* =====================================================================
   MABA STORE — sito pubblico, stile "Acqua"
   Luminoso e fotografico: bianco, azzurri dell'acqua, blu profondo.
   Onde tra le sezioni, angoli morbidi, animazione d'apertura con l'acqua.
   ===================================================================== */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/site/fonts/outfit-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 300 800; font-display: swap; src: url('/site/fonts/outfit-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/site/fonts/inter-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/site/fonts/inter-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bianco: #ffffff;
  --azzurro-0: #f3f9fd;
  --azzurro-1: #e3f2fb;
  --azzurro-2: #bfe3f6;
  --acqua: #0b8fd0;
  --acqua-2: #22c1dc;
  --acqua-scuro: #0a6aa6;
  --profondo: #06324f;
  --profondo-2: #0a4268;
  --abisso: #031d30;
  --testo: #0d2232;
  --testo-2: #3d5566;
  --tenue: #6c8494;
  --linea: #dbe9f2;
  --verde: #21b573;
  --rosso: #e0584b;
  --sole: #ffc43d;
  --grad: linear-gradient(120deg, var(--acqua) 0%, var(--acqua-2) 100%);
  --grad-profondo: linear-gradient(160deg, var(--profondo-2) 0%, var(--profondo) 55%, var(--abisso) 100%);
  --ombra: 0 1px 2px rgba(6, 50, 79, .06), 0 12px 32px -12px rgba(6, 50, 79, .18);
  --ombra-forte: 0 2px 4px rgba(6, 50, 79, .08), 0 30px 60px -20px rgba(6, 50, 79, .35);
  --raggio: 26px;
  --raggio-s: 16px;
  --titoli: 'Outfit', system-ui, sans-serif;
  --corpo: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --larghezza: 1240px;
  --margine: clamp(18px, 4.5vw, 48px);
  --testata: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--testata) + 12px); }
body { margin: 0; font-family: var(--corpo); font-size: 17px; line-height: 1.6; color: var(--testo); background: var(--bianco); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--acqua-scuro); }
h1, h2, h3, h4 { font-family: var(--titoli); color: var(--testo); margin: 0; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(42px, 6.4vw, 86px); letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -0.03em; }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
::selection { background: var(--acqua-2); color: #fff; }
:focus-visible { outline: 3px solid var(--acqua-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }

.contenitore { width: 100%; max-width: var(--larghezza); margin: 0 auto; padding: 0 var(--margine); }
.contenitore.stretto { max-width: 820px; }
.sezione { position: relative; padding: clamp(70px, 9vw, 130px) 0; }
.sezione.stretta { padding: clamp(40px, 6vw, 80px) 0; }
.occhiello { display: inline-flex; align-items: center; gap: 10px; font-family: var(--titoli); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--acqua); }
.occhiello::before { content: ''; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.introduzione { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, .88); max-width: 60ch; }
.introduzione.scura { color: var(--testo-2); }

/* ------------------------------------------------------------- bottoni */
.bottone { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--grad); color: #fff; font-family: var(--titoli); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px -10px rgba(11, 143, 208, .7); transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.bottone:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(11, 143, 208, .8); }
.bottone svg { width: 18px; height: 18px; flex: none; }
.bottone .arrow { transition: transform .2s; }
.bottone:hover .arrow { transform: translateX(4px); }
.bottone.grande { min-height: 58px; padding: 0 30px; font-size: 17px; }
.bottone.piccolo { min-height: 42px; padding: 0 18px; font-size: 15px; }
.bottone.vetro { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bottone.vetro:hover { background: rgba(255, 255, 255, .24); }
.bottone.bianco { background: #fff; color: var(--profondo); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
.bottone.chiaro { background: var(--azzurro-1); color: var(--profondo); box-shadow: none; }
.bottone.contorno { background: transparent; color: var(--acqua-scuro); box-shadow: inset 0 0 0 2px var(--azzurro-2); }
.bottone.contorno:hover { box-shadow: inset 0 0 0 2px var(--acqua); }
.tondo { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; }
.tondo svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------- stato orari */
.stato { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--azzurro-1); color: var(--profondo); font-size: 14px; font-weight: 600; text-decoration: none; }
.stato.chiaro { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.punto { width: 9px; height: 9px; border-radius: 50%; background: var(--rosso); box-shadow: 0 0 0 4px rgba(224, 88, 75, .2); flex: none; }
.punto.on { background: var(--verde); box-shadow: 0 0 0 4px rgba(33, 181, 115, .25); animation: pulsa 2s infinite; }
@keyframes pulsa { 50% { box-shadow: 0 0 0 7px rgba(33, 181, 115, 0); } }

/* -------------------------------------------------------------- testata */
.testata { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s, transform .3s; }
.testata-in { max-width: 1400px; margin: 0 auto; height: var(--testata); padding: 0 var(--margine); display: flex; align-items: center; gap: 28px; }
.marchio img { height: 28px; width: auto; filter: brightness(0) invert(1); transition: filter .3s; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 9px 14px; border-radius: 999px; color: #fff; text-decoration: none; font-family: var(--titoli); font-weight: 500; font-size: 16px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .14); }
.nav a[aria-current="page"] { background: rgba(255, 255, 255, .2); }
.testata-azioni { display: flex; align-items: center; gap: 10px; }
.testata .stato { background: rgba(255, 255, 255, .16); color: #fff; }
.testata.solida { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--linea), 0 10px 30px -20px rgba(6, 50, 79, .4); }
.testata.solida .marchio img { filter: none; }
.testata.solida .nav a { color: var(--testo); }
.testata.solida .nav a:hover { background: var(--azzurro-1); }
.testata.solida .nav a[aria-current="page"] { background: var(--azzurro-1); color: var(--acqua-scuro); }
.testata.solida .stato { background: var(--azzurro-1); color: var(--profondo); }
.testata.nascosta { transform: translateY(-100%); }
body:not(:has(.eroe, .testata-pagina)) .testata { background: #fff; }
body:not(:has(.eroe, .testata-pagina)) .testata .marchio img { filter: none; }
body:not(:has(.eroe, .testata-pagina)) .testata .nav a { color: var(--testo); }
.hamburger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); cursor: pointer; position: relative; }
.hamburger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s, top .3s; }
.hamburger span:first-child { top: 18px; }
.hamburger span:last-child { top: 26px; }
.testata.solida .hamburger, body:not(:has(.eroe, .testata-pagina)) .hamburger { background: var(--azzurro-1); }
.testata.solida .hamburger span, body:not(:has(.eroe, .testata-pagina)) .hamburger span { background: var(--profondo); }
.menu-aperto .hamburger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-aperto .hamburger span:last-child { top: 22px; transform: rotate(-45deg); }
.menu-mobile { position: fixed; inset: 0; z-index: 45; background: var(--grad-profondo); color: #fff; padding: calc(var(--testata) + 20px) var(--margine) 30px;
  display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 46px) 38px); transition: clip-path .6s cubic-bezier(.7, 0, .2, 1); visibility: hidden; }
.menu-aperto .menu-mobile { clip-path: circle(150% at calc(100% - 46px) 38px); visibility: visible; }
.menu-aperto .testata { background: transparent; box-shadow: none; }
.menu-aperto .testata .marchio img { filter: brightness(0) invert(1); }
.menu-aperto .testata .hamburger { background: rgba(255, 255, 255, .16); }
.menu-aperto .testata .hamburger span { background: #fff; }
.menu-mobile nav { display: flex; flex-direction: column; gap: 4px; }
.menu-mobile nav a { color: #fff; text-decoration: none; font-family: var(--titoli); font-size: clamp(30px, 8vw, 44px); font-weight: 600; padding: 6px 0; letter-spacing: -0.02em; }
.menu-mobile nav a[aria-current="page"] { color: var(--acqua-2); }
.menu-mobile-piede { display: grid; gap: 10px; justify-items: start; }
.menu-mobile-piede .stato { background: rgba(255, 255, 255, .14); color: #fff; }

/* ------------------------------------------------------------------ eroe */
.eroe { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--profondo); }
.eroe-foto, .testata-foto { position: absolute; inset: 0; }
.eroe-foto img, .testata-foto img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: respiro 22s ease-in-out infinite alternate; }
@keyframes respiro { to { transform: scale(1.14) translate(-1%, -1%); } }
.eroe-velo { position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(3, 29, 48, .92) 0%, rgba(6, 50, 79, .78) 42%, rgba(10, 106, 166, .35) 75%, rgba(34, 193, 220, .15) 100%),
  linear-gradient(0deg, rgba(3, 29, 48, .55), transparent 40%); }
.eroe-testo { position: relative; z-index: 2; padding-top: calc(var(--testata) + 40px); padding-bottom: 170px; }
.eroe h1 { color: #fff; margin: 22px 0 22px; max-width: 13ch; }
.eroe h1 .riga { display: block; }
.eroe h1 em { font-style: normal; background: linear-gradient(90deg, #7ee3f5, #ffffff 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eroe-azioni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.eroe-punti { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 34px; padding: 0; margin: 44px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; }
.eroe-punti b { display: block; font-family: var(--titoli); font-size: 30px; color: #fff; font-weight: 700; letter-spacing: -0.02em; }
.eroe-onde { position: absolute; left: 0; right: 0; bottom: -2px; height: 130px; z-index: 1; overflow: hidden; }
.eroe-onde svg { position: absolute; bottom: 0; width: 200%; height: 100%; }
.onda-lenta { fill: rgba(255, 255, 255, .35); animation: scorri 16s linear infinite; }
.onda-veloce { fill: #fff; animation: scorri 10s linear infinite reverse; }
@keyframes scorri { to { transform: translateX(-50%); } }

/* ------------------------------------------------------ testata pagine */
.testata-pagina { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--profondo); }
.testata-pagina::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(3, 29, 48, .9) 0%, rgba(6, 50, 79, .7) 50%, rgba(10, 106, 166, .3) 100%); }
.testata-testo { position: relative; z-index: 2; padding-top: calc(var(--testata) + 60px); padding-bottom: clamp(110px, 12vw, 160px); }
.testata-pagina .occhiello { color: #9ce8f6; }
.testata-pagina h1 { color: #fff; margin: 18px 0 18px; max-width: 14ch; }

/* ------------------------------------------------------------------ onde */
.onda { display: block; position: absolute; left: 0; width: 100%; height: clamp(40px, 6vw, 90px); pointer-events: none; }
.onda-bianca { bottom: -1px; fill: #fff; z-index: 3; }
.onda-sopra { top: -1px; fill: #fff; transform: scaleY(-1); }
.onda-piede { top: -1px; fill: #fff; transform: scaleY(-1); }

/* ---------------------------------------------------------- marchi */
.marchi { border-bottom: 1px solid var(--linea); }
.marchi-in { display: flex; align-items: center; gap: 28px; padding-top: 18px; padding-bottom: 22px; }
.marchi-in > span { flex: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--tenue); }
.marchi-scorre { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marchi-traccia { display: flex; gap: 56px; width: max-content; animation: scorri 32s linear infinite; }
.marchi-traccia b { font-family: var(--titoli); font-size: 26px; font-weight: 700; color: #9db3c2; letter-spacing: -0.02em; transition: color .2s; }
.marchi-traccia b:hover { color: var(--acqua); }

/* ------------------------------------------------------ titoli sezione */
.titolo-sezione { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.titolo-sezione p { color: var(--testo-2); font-size: 18px; margin: 0; }
.titolo-sezione.centrato { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }
.titolo-sezione.chiaro h2 { color: #fff; }
.titolo-sezione.chiaro p { color: rgba(255, 255, 255, .78); }
.titolo-sezione.chiaro .occhiello { color: #9ce8f6; }
.titolo-sezione.con-azione { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.titolo-sezione.con-azione > div { display: grid; gap: 14px; }

/* ----------------------------------------------------------- due porte */
.porte { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.porta { display: flex; flex-direction: column; border-radius: var(--raggio); background: #fff; color: inherit; text-decoration: none; overflow: hidden; box-shadow: var(--ombra); border: 1px solid var(--linea); transition: transform .35s, box-shadow .35s; }
.porta:hover { transform: translateY(-6px); box-shadow: var(--ombra-forte); }
.porta-foto { aspect-ratio: 16 / 10; overflow: hidden; }
.porta-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.porta:hover .porta-foto img { transform: scale(1.06); }
.porta-testo { padding: 28px 30px 30px; display: grid; gap: 12px; }
.porta h3 { font-size: 32px; }
.porta p { color: var(--testo-2); margin: 0; }
.porta-vai { display: inline-flex; align-items: center; gap: 8px; color: var(--acqua); font-family: var(--titoli); font-weight: 600; margin-top: 6px; }
.porta-vai svg { width: 18px; height: 18px; transition: transform .2s; }
.porta:hover .porta-vai svg { transform: translateX(5px); }
.spunte { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spunte li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: 999px; background: var(--azzurro-0); border: 1px solid var(--linea); font-size: 14px; font-weight: 500; color: var(--profondo); }
.spunte li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.spunte.grandi { display: grid; gap: 10px; margin-top: 18px; }
.spunte.grandi li { background: none; border: 0; padding: 0; font-size: 17px; color: var(--testo); }
.spunte.grandi li::before { width: 22px; height: 22px; flex: none; background: var(--grad) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ------------------------------------------------- sezioni colorate */
.sezione.azzurra { background: linear-gradient(180deg, var(--azzurro-1) 0%, var(--azzurro-0) 100%); padding-top: clamp(110px, 13vw, 180px); }
.sezione.profonda { background: var(--grad-profondo); color: #fff; overflow: hidden; }
.sezione.profonda::before { content: ''; position: absolute; width: 900px; height: 900px; right: -300px; top: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 193, 220, .28), transparent 65%); pointer-events: none; }
.sezione.profonda::after { content: ''; position: absolute; width: 700px; height: 700px; left: -300px; bottom: -400px; border-radius: 50%; background: radial-gradient(circle, rgba(11, 143, 208, .3), transparent 65%); pointer-events: none; }
.sezione.profonda .contenitore { position: relative; z-index: 1; }

/* ----------------------------------------------------------- categorie */
.griglia-categorie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.categoria { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: var(--raggio); background: #fff; color: inherit; text-decoration: none; box-shadow: var(--ombra); overflow: hidden; transition: transform .3s, box-shadow .3s; isolation: isolate; }
.categoria::after { content: ''; position: absolute; inset: auto -20% -60% -20%; height: 70%; background: var(--grad); border-radius: 50% 50% 0 0; transform: translateY(40%); opacity: 0; transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .3s; z-index: -1; }
a.categoria:hover { transform: translateY(-6px); box-shadow: var(--ombra-forte); }
a.categoria:hover::after { transform: translateY(0); opacity: .1; }
.categoria h3 { font-size: 23px; margin-top: 8px; }
.categoria p { color: var(--testo-2); margin: 0; font-size: 16px; }
.categoria-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--grad); box-shadow: 0 12px 24px -12px rgba(11, 143, 208, .8); }
.categoria-ico svg { width: 36px; height: 36px; fill: none; stroke: #fff; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.categoria-ico.grande { width: 84px; height: 84px; border-radius: 26px; flex: none; }
.categoria-ico.grande svg { width: 46px; height: 46px; }
.categoria-vai { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; color: var(--acqua); font-family: var(--titoli); font-weight: 600; font-size: 15px; }
.categoria-vai svg { width: 16px; height: 16px; transition: transform .2s; }
a.categoria:hover .categoria-vai svg { transform: translateX(4px); }

/* ---------------------------------------------------- numeri e vantaggi */
.numeri { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-radius: var(--raggio); overflow: hidden; background: rgba(255, 255, 255, .1); }
.numeri > div { padding: 30px 26px; background: rgba(3, 29, 48, .35); backdrop-filter: blur(6px); }
.numeri b { display: block; font-family: var(--titoli); font-size: clamp(42px, 5vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -0.03em; color: #fff; text-shadow: 0 0 30px rgba(34, 193, 220, .45); }
.numeri > div > span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .72); font-size: 15px; }
.vantaggi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(40px, 5vw, 64px); }
.vantaggio { padding: 30px; border-radius: var(--raggio); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); }
.vantaggio h3 { color: #fff; margin: 18px 0 8px; }
.vantaggio p { color: rgba(255, 255, 255, .72); margin: 0; }
.vantaggio-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad); }
.vantaggio-ico svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.vantaggi.chiari .vantaggio { background: #fff; border-color: var(--linea); box-shadow: var(--ombra); }
.vantaggi.chiari .vantaggio h3 { color: var(--testo); }
.vantaggi.chiari .vantaggio p { color: var(--testo-2); }
.sezione.stretta:first-of-type .vantaggi.chiari, .testata-pagina + .sezione.stretta .vantaggi.chiari { margin-top: calc(-1 * clamp(70px, 9vw, 120px)); position: relative; z-index: 4; }

/* -------------------------------------------------------------- passi */
.passi { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: passo; position: relative; }
.passi::before { content: ''; position: absolute; top: 34px; left: 8%; right: 8%; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, rgba(34, 193, 220, .7), transparent); }
.passi li { position: relative; text-align: center; padding: 0 8px; }
.passi b { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-family: var(--titoli); font-size: 26px; box-shadow: 0 0 0 8px rgba(34, 193, 220, .14), 0 14px 30px -10px rgba(11, 143, 208, .9); }
.passi h3 { color: #fff; margin-bottom: 8px; }
.passi p { color: rgba(255, 255, 255, .72); margin: 0; font-size: 15px; }

/* --------------------------------------------------------- affiancati */
.affiancati { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.affiancati.inverso > :first-child { order: 2; }
.affiancati h2 { margin: 14px 0 18px; }
.affiancati p { color: var(--testo-2); }
.foto-tonda { position: relative; border-radius: 44% 56% 52% 48% / 48% 42% 58% 52%; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--ombra-forte); animation: forma 14s ease-in-out infinite alternate; }
.foto-tonda img { width: 100%; height: 100%; object-fit: cover; }
@keyframes forma { to { border-radius: 56% 44% 46% 54% / 42% 56% 44% 58%; } }

/* -------------------------------------------------------------- vetrina */
.vetrina { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 18px; }
.vetrina figure { position: relative; margin: 0; border-radius: var(--raggio); overflow: hidden; }
.vetrina img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.vetrina figure:hover img { transform: scale(1.06); }
.vetrina figcaption { position: absolute; left: 16px; bottom: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-family: var(--titoli); font-weight: 600; font-size: 14px; color: var(--profondo); }
.vetrina .v1 { grid-row: span 2; }
.vetrina .v2 { grid-column: span 2; }

/* ----------------------------------------------------------- citazione */
.sezione.citazione { text-align: center; background: var(--azzurro-0); }
.citazione blockquote { margin: 18px auto 22px; max-width: 26ch; font-family: var(--titoli); font-size: clamp(28px, 3.6vw, 48px); font-weight: 600; line-height: 1.18; letter-spacing: -0.025em; color: var(--profondo); }
.citazione-goccia { display: inline-grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; background: var(--grad); }
.citazione-goccia svg { width: 28px; height: 28px; fill: #fff; }

/* ------------------------------------------------------------ banda CTA */
.banda-cta { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: clamp(36px, 5vw, 64px); border-radius: calc(var(--raggio) + 8px); background: var(--grad); color: #fff; box-shadow: var(--ombra-forte); }
.banda-cta h2 { color: #fff; font-size: clamp(30px, 3.6vw, 46px); }
.banda-cta p { margin: 12px 0 0; color: rgba(255, 255, 255, .9); font-size: 18px; }
.banda-azioni { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.banda-bolle { position: absolute; inset: 0; pointer-events: none; }
.banda-bolle i, .bolle i { position: absolute; left: var(--x); bottom: -30px; width: var(--s); height: var(--s); border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .9), rgba(255, 255, 255, .15) 60%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  animation: sali 7s ease-in infinite; animation-delay: var(--d); opacity: 0; }
@keyframes sali { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 100% { transform: translate(14px, -420px); opacity: 0; } }

/* --------------------------------------------------- prodotti e partner */
.elenco-prodotti { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.prodotto { display: flex; gap: 24px; padding: 32px; border-radius: var(--raggio); background: #fff; border: 1px solid var(--linea); box-shadow: var(--ombra); scroll-margin-top: calc(var(--testata) + 20px); }
.prodotto h2 { font-size: 28px; margin-bottom: 10px; }
.prodotto p { color: var(--testo-2); }
.etichette { display: flex; gap: 8px; }
.etichette span { padding: 4px 12px; border-radius: 999px; background: var(--azzurro-1); color: var(--acqua-scuro); font-size: 13px; font-weight: 600; }
.testata-pagina + .sezione.stretta .elenco-prodotti { margin-top: calc(-1 * clamp(70px, 9vw, 120px)); position: relative; z-index: 4; }
.partner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner span { display: grid; place-items: center; min-height: 110px; border-radius: var(--raggio-s); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); font-family: var(--titoli); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; transition: background .3s, transform .3s; }
.partner span:hover { background: rgba(34, 193, 220, .2); transform: translateY(-4px); }

/* -------------------------------------------------------------- galleria */
.galleria { columns: 3; column-gap: 18px; }
.galleria button { display: block; width: 100%; margin: 0 0 18px; padding: 0; border: 0; border-radius: var(--raggio-s); overflow: hidden; cursor: zoom-in; break-inside: avoid; background: none; box-shadow: var(--ombra); }
.galleria img { width: 100%; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.galleria button:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; background: rgba(3, 29, 48, .94); padding: 60px 20px; }
.lightbox.aperta { display: grid; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--raggio-s); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox p { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); margin: 0; }
.lightbox .chiudi { position: absolute; top: 18px; right: 18px; }
.lightbox .prec { position: absolute; left: 18px; top: 50%; }
.lightbox .succ { position: absolute; right: 18px; top: 50%; }

/* -------------------------------------------------------------- contatti */
.contatti { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: start; margin-top: calc(-1 * clamp(70px, 9vw, 120px)); position: relative; z-index: 4; }
.contatti-schede { display: grid; gap: 14px; }
.contatto { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--raggio-s); background: #fff; border: 1px solid var(--linea); box-shadow: var(--ombra); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
a.contatto:hover { transform: translateX(6px); box-shadow: var(--ombra-forte); }
.contatto small { display: block; color: var(--tenue); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.contatto b { font-family: var(--titoli); font-size: 21px; font-weight: 600; color: var(--profondo); word-break: break-word; }
.contatto-ico { width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.contatto-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2.2; }
.contatto-ico svg[viewBox="0 0 72 72"] { width: 30px; height: 30px; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.orari-scheda { align-items: flex-start; }
.orari { border-collapse: collapse; margin-top: 6px; font-size: 15px; }
.orari th { text-align: left; font-weight: 600; padding: 6px 18px 6px 0; color: var(--testo); vertical-align: top; }
.orari td { padding: 6px 0; color: var(--testo-2); }
.orari tr.oggi th, .orari tr.oggi td { color: var(--acqua-scuro); font-weight: 700; }
.modulo-scheda { padding: clamp(26px, 3.6vw, 42px); border-radius: var(--raggio); background: #fff; border: 1px solid var(--linea); box-shadow: var(--ombra-forte); }
.modulo-scheda h2 { font-size: 34px; margin-bottom: 8px; }
.modulo-scheda > p { color: var(--testo-2); }
.modulo { display: grid; gap: 14px; margin-top: 18px; }
.modulo .due { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.modulo label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--testo-2); }
.modulo input, .modulo select, .modulo textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--linea); border-radius: 14px; font: inherit; font-size: 16px; color: var(--testo); background: var(--azzurro-0); transition: border-color .2s, background .2s, box-shadow .2s; }
.modulo textarea { min-height: 130px; resize: vertical; }
.modulo input:focus, .modulo select:focus, .modulo textarea:focus { outline: none; border-color: var(--acqua); background: #fff; box-shadow: 0 0 0 4px rgba(11, 143, 208, .14); }
.modulo .spunta { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
.modulo .spunta input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--acqua); }
.modulo .bottone { justify-self: start; }
.modulo-ok { margin-top: 14px; color: var(--verde); font-weight: 600; }
.mappa { position: relative; display: block; height: clamp(280px, 36vw, 420px); border-radius: calc(var(--raggio) + 8px); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--ombra-forte); }
.mappa img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.mappa:hover img { transform: scale(1.04); }
.mappa::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 29, 48, .88), rgba(6, 50, 79, .35)); }
.mappa-testo { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(26px, 5vw, 60px); }
.mappa-testo .occhiello { color: #9ce8f6; }
.mappa-testo b { font-family: var(--titoli); font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.02em; }
.pagina-testo { padding-top: calc(var(--testata) + 60px); }
.pagina-testo h1 { font-size: clamp(38px, 5vw, 64px); margin: 16px 0 26px; }
.pagina-testo p { color: var(--testo-2); font-size: 18px; }

/* ------------------------------------------------------------------ piede */
.piede { position: relative; background: var(--grad-profondo); color: rgba(255, 255, 255, .75); padding: clamp(110px, 12vw, 160px) 0 34px; margin-top: 40px; }
.piede-alto { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.piede-marchio img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 18px; }
.piede-marchio p { max-width: 34ch; }
.piede-link { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.piede h4 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.piede a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.piede a:hover { color: #9ce8f6; }
.piede-basso { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 14px; color: rgba(255, 255, 255, .55); }
.piede-basso a { color: rgba(255, 255, 255, .7); }
.piede .bottone { min-height: 44px; font-size: 15px; }

/* ------------------------------------------------- comparsa allo scorrimento */
.js [data-rivela] { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--r, 0ms); }
.js [data-rivela].visto { opacity: 1; transform: none; }
.js .eroe h1 .riga, .js .eroe .introduzione, .js .eroe-azioni, .js .eroe-punti, .js .eroe .stato { opacity: 0; transform: translateY(30px); }
.js.pronto .eroe h1 .riga, .js.pronto .eroe .introduzione, .js.pronto .eroe-azioni, .js.pronto .eroe-punti, .js.pronto .eroe .stato { opacity: 1; transform: none; transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); }
.js.pronto .eroe .stato { transition-delay: 0ms; }
.js.pronto .eroe h1 .riga:nth-child(1) { transition-delay: 80ms; }
.js.pronto .eroe h1 .riga:nth-child(2) { transition-delay: 200ms; }
.js.pronto .eroe .introduzione { transition-delay: 340ms; }
.js.pronto .eroe-azioni { transition-delay: 460ms; }
.js.pronto .eroe-punti { transition-delay: 580ms; }

/* ============================================ animazione d'apertura: acqua */
.intro { display: none; }
.con-intro .intro { display: block; position: fixed; inset: 0; z-index: 200; overflow: hidden; pointer-events: auto; background: #eaf7fc; }
.con-intro body { overflow: hidden; }
.intro-onde { position: absolute; left: 0; bottom: 0; width: 200%; height: 106%; transform: translateY(100%); animation: acqua-sale 1.5s cubic-bezier(.55, .1, .25, 1) forwards; }
.intro-onde .onda-a { animation: onda-x 2.6s linear infinite; }
.intro-onde .onda-b { animation: onda-x 1.9s linear infinite reverse; }
@keyframes acqua-sale { 0% { transform: translateY(100%); } 100% { transform: translateY(0); } }
@keyframes onda-x { to { transform: translateX(-1440px); } }
.intro .bolle { position: absolute; inset: 0; }
.intro .bolle i { animation-duration: var(--t); animation-delay: calc(var(--d) + .5s); animation-iteration-count: 2; }
.intro-centro { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 16px; }
.intro-logo { width: min(320px, 64vw); height: auto; filter: brightness(0) invert(1); opacity: 0; transform: scale(.86); animation: logo-entra .9s cubic-bezier(.2, .7, .2, 1) 1.25s forwards; }
.intro-claim { color: rgba(255, 255, 255, .85); font-family: var(--titoli); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; opacity: 0; animation: logo-entra .9s ease 1.6s forwards; }
@keyframes logo-entra { to { opacity: 1; transform: none; } }
.intro-goccia { position: absolute; left: 50%; top: 0; width: 40px; height: 40px; margin-left: -20px; transform: translateY(-60px); animation: goccia-cade .9s cubic-bezier(.6, 0, .9, .5) .35s forwards; }
.intro-goccia svg { width: 100%; height: 100%; fill: #22c1dc; filter: drop-shadow(0 6px 10px rgba(6, 50, 79, .35)); }
@keyframes goccia-cade { 0% { transform: translateY(-60px); opacity: 1; } 92% { opacity: 1; } 100% { transform: translateY(calc(50vh - 40px)) scale(.6); opacity: 0; } }
.intro-anello { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); opacity: 0; animation: anello 1.4s ease-out 1.2s forwards; }
.intro-anello.due { animation-delay: 1.4s; }
@keyframes anello { 0% { opacity: .9; transform: scale(.2); } 100% { opacity: 0; transform: scale(14); } }
.intro-salta { position: absolute; right: 20px; bottom: 20px; padding: 9px 18px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .2); color: #fff; font: 600 14px var(--titoli); cursor: pointer; backdrop-filter: blur(6px); }
.con-intro .intro.esce { animation: intro-esce 1s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes intro-esce { 0% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(100% 0 0 0); } }
.intro.esce .intro-centro { transition: transform .9s cubic-bezier(.7, 0, .2, 1), opacity .5s; transform: translateY(80px); opacity: 0; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .hamburger { display: block; }
  .testata-azioni { margin-left: auto; }
  .griglia-categorie { grid-template-columns: repeat(2, 1fr); }
  .piede-alto { grid-template-columns: 1fr 1fr; }
  .passi { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .passi::before { display: none; }
}
@media (max-width: 820px) {
  :root { --testata: 66px; }
  body { font-size: 16px; }
  .testata .stato, .testata .bottone span { display: none; }
  .testata .bottone.piccolo { width: 46px; padding: 0; }
  .porte, .affiancati, .elenco-prodotti, .contatti, .vantaggi { grid-template-columns: 1fr; }
  .affiancati.inverso > :first-child { order: 0; }
  .numeri { grid-template-columns: 1fr 1fr; }
  .vetrina { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; }
  .vetrina .v1 { grid-row: auto; grid-column: span 2; }
  .vetrina .v2 { grid-column: auto; }
  .vetrina .v4 { grid-column: span 2; }
  .galleria { columns: 2; }
  .partner { grid-template-columns: 1fr 1fr; }
  .partner span { font-size: 22px; min-height: 84px; }
  .prodotto { flex-direction: column; padding: 26px; }
  .modulo .due { grid-template-columns: 1fr; }
  .marchi-in > span { display: none; }
  .eroe-testo { padding-bottom: 140px; }
  .eroe-punti { gap: 10px 24px; }
  .eroe-punti b { font-size: 24px; }
  .eroe-azioni .bottone { flex: 1 1 100%; }
  .banda-azioni .bottone { flex: 1 1 100%; }
  .foto-tonda { max-width: 440px; width: 100%; margin: 0 auto; }
}
@media (max-width: 520px) {
  .griglia-categorie { grid-template-columns: 1fr; }
  .galleria { columns: 1; }
  .piede-alto { grid-template-columns: 1fr; }
  .categoria { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-rivela] { opacity: 1; transform: none; }
}

/* Area clienti in testata (l'unico collegamento all'area riservata) */
.testata .area-clienti { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.testata.solida .area-clienti { background: var(--azzurro-1); color: var(--profondo); box-shadow: none; }
@media (max-width: 820px) { .testata .area-clienti { display: none; } }

/* Modulo "Chiedi informazioni" */
.modulo .trappola { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.modulo-nota { margin: -6px 0 0; font-size: 13px; color: var(--testo-2); }
.modulo-errore { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fdecec; color: #9b1c1c; font-size: 14px; font-weight: 600; }
