/* Ottica Medical Vision — home fatta come una landing (step 5, 28/10/2026)
   Colori misurati sul design del kit (home-approvata.png) con confronta-design.py --colori e sui pixel.
   Font: DM Serif Display (titoli, il serif di contrasto del design) e Inter (testi), serviti dal sito. */

@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-display-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Serif Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/dm-serif-display-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-var.woff2") format("woff2");
}

:root {
  /* colori del design */
  --blu: #0066DB;            /* pulsanti, «di te.», pillola attiva */
  --blu-link: #0058E6;       /* link «Esplora →», «Chiedi questo modello →» */
  --notte: #00114E;          /* titoli serif */
  --inchiostro: #314880;     /* menu, prezzi, voci */
  --testo: #455A89;          /* testi */
  --testo-2: #6D7FA4;        /* testi secondari */
  --azzurro: #E6F1FB;        /* fondo della hero, bolle delle icone */
  --fascia: #EBF6FD;         /* fasce offerte, ortocheratologia, invito */
  --ghiaccio: #F8FCFE;       /* fondo delle card */
  --nebbia: #F0F5F8;         /* fondo delle foto delle schede */
  --bordo: #DCEAF6;          /* bordi sottili e separatori */
  --bianco: #FEFEFE;
  --verde-wa: #0AD86B;       /* il pulsante WhatsApp fisso */

  /* forme e movimento */
  --raggio: 14px;
  --raggio-piccolo: 9px;
  --ombra-morbida: 0 10px 30px rgba(0, 38, 110, .07);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --font-titoli: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-testo: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 32px;
  --testata-h: 96px;
}

/* ── base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--testata-h) + env(safe-area-inset-top, 0px) + 8px);
}
html.menu-aperto { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font-testo);
  font-size: 17px;
  line-height: 1.55;
  color: var(--testo);
  background: var(--bianco);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
input, select, textarea { font: inherit; font-size: 16px; }
:focus-visible { outline: 2px solid var(--blu); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.salta { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blu); color: var(--bianco); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.salta:focus { top: 12px; }

.contenitore {
  width: 100%;
  max-width: calc(1280px + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* icone del kit usate come maschera: prendono il colore del testo */
.ico {
  display: inline-block;
  width: 1em; height: 1em;
  flex: none;
  background-color: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.ico-dx { --m: url("../img/icone/freccia-destra.png"); }
.ico-sx { --m: url("../img/icone/freccia-sinistra.png"); }
.ico-giu { --m: url("../img/icone/chevron-giu.png"); }
.ico-cerca { --m: url("../img/icone/cerca.png"); }
.ico-wa { --m: url("../img/icone/whatsapp.png"); }
.ico-occhiali { --m: url("../img/icone/occhiali-vista.png"); }
.ico-negozio { --m: url("../img/icone/negozio.png"); }
.ico-blu { display: inline-block; flex: none; width: 26px; height: 26px; background-color: var(--blu); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico-pos { --m: url("../img/icone/posizione.png"); }
.ico-tel { --m: url("../img/icone/telefono.png"); }

/* ── pulsanti e link ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  border-radius: var(--raggio-piccolo);
  font-weight: 600; font-size: 16px; line-height: 1.2;
  white-space: nowrap;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .14s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn img { width: 24px; height: 24px; }
.btn .ico-dx { width: 18px; height: 18px; }
.btn-blu { background: var(--blu); color: var(--bianco); box-shadow: 0 10px 24px rgba(0, 102, 219, .22); }
.btn-bordo { border: 1.5px solid #9CC3EE; color: var(--blu-link); background: var(--bianco); }
.btn-grande { min-height: 62px; padding: 0 32px; font-size: 17.5px; }
.btn-piccolo { min-height: 44px; padding: 0 18px; font-size: 15px; gap: 9px; }
.btn-piccolo .ico-dx { width: 15px; height: 15px; }
.btn-piccolo .ico-wa { width: 20px; height: 20px; }
.btn-largo { width: 100%; }

.link {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--blu-link); font-weight: 600; font-size: 16.5px;
  user-select: none; -webkit-user-select: none;
  transition: color .2s ease;
}
.link .ico-dx { width: 17px; height: 17px; transition: transform .2s var(--ease-out); }
.link:active { opacity: .75; }
.link-sotto { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: rgba(0, 88, 230, .35); }
.link-forte { font-size: 18.5px; }

@media (hover: hover) and (pointer: fine) {
  .btn-blu:hover { background: #0058C7; box-shadow: 0 12px 28px rgba(0, 102, 219, .3); }
  .btn-bordo:hover { border-color: var(--blu); background: var(--ghiaccio); }
  .link:hover .ico-dx { transform: translateX(4px); }
  .link:hover { color: var(--blu); }
}

/* ── testata ─────────────────────────────────────────────────────────── */
.testata {
  position: sticky; top: 0; z-index: 50;
  background: var(--bianco);
  padding-top: env(safe-area-inset-top, 0px);
  transition: box-shadow .25s ease;
}
.testata.scorsa { box-shadow: 0 1px 0 var(--bordo), 0 8px 24px rgba(0, 38, 110, .05); }
.testata-in { display: flex; align-items: center; gap: 20px; height: var(--testata-h); }
.logo { display: block; flex: none; }
.logo img { height: clamp(68px, 5.7vw, 82px); width: auto; }
.testata .logo img { transform-origin: 0 50%; transition: transform .45s var(--ease-out); }
.testata.scorsa .logo img { transform: scale(.88); }
.menu { flex: 1; display: flex; justify-content: center; }
.menu-lista { display: flex; align-items: center; gap: clamp(20px, calc(5.5vw - 35px), 44px); }
.menu-lista > li > a, .menu-tendina-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; position: relative; white-space: nowrap;
  font-size: clamp(15.5px, 1.15vw, 16.5px); font-weight: 500; color: var(--inchiostro);
  transition: color .2s ease;
}
.menu-lista > li > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1.5px; border-radius: 2px;
  background: var(--blu); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .25s var(--ease-out);
}
.menu-tendina { position: relative; }
.menu-tendina-btn .ico-giu { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.menu-tendina-btn[aria-expanded="true"] .ico-giu { transform: rotate(180deg); }
.tendina {
  position: absolute; top: calc(100% + 10px); left: 50%;
  min-width: 290px; padding: 10px;
  background: var(--bianco);
  border: 1px solid var(--bordo); border-radius: var(--raggio);
  box-shadow: 0 18px 40px rgba(0, 38, 110, .1);
  opacity: 0; visibility: hidden;
  transform: translate(-50%, -6px) scale(.97); transform-origin: 50% 0;
  transition: opacity .14s var(--ease-out), transform .14s var(--ease-out), visibility 0s linear .14s;
}
.tendina::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.menu-tendina.aperta .tendina {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s;
}
.tendina a { display: block; padding: 11px 14px; border-radius: 8px; font-size: 15.5px; font-weight: 500; color: var(--inchiostro); }
.testata-azioni { display: flex; align-items: center; gap: 18px; flex: none; }
.btn-cerca { width: 44px; height: 44px; display: grid; place-items: center; color: var(--inchiostro); border-radius: 50%; transition: background-color .2s ease; }
.btn-cerca .ico { width: 24px; height: 24px; }
.btn-cerca:active { transform: scale(0.95); }
.testata-sep { width: 1px; height: 30px; background: var(--bordo); }
.btn-wa-testata { min-height: 52px; padding: 0 20px; font-size: 16px; }
.btn-wa-testata img { width: 26px; height: 26px; }
.btn-menu { display: none; width: 46px; height: 46px; border-radius: 10px; position: relative; }
.btn-menu span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--notte); transition: transform .25s var(--ease-out), opacity .2s ease; }
.btn-menu span:nth-child(1) { top: 15px; }
.btn-menu span:nth-child(2) { top: 22px; }
.btn-menu span:nth-child(3) { top: 29px; }
.btn-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.btn-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.btn-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (hover: hover) and (pointer: fine) {
  .menu-lista > li > a:hover, .menu-tendina-btn:hover { color: var(--blu); }
  .tendina a:hover { background: var(--ghiaccio); color: var(--blu); }
  .btn-cerca:hover { background: var(--ghiaccio); color: var(--blu); }
}

/* la ricerca */
.cerca-pannello { border-top: 1px solid var(--bordo); background: var(--bianco); box-shadow: 0 16px 30px rgba(0, 38, 110, .06); }
.cerca-pannello[hidden] { display: none; }
.cerca-form { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; }
.cerca-form > .ico { width: 22px; height: 22px; color: var(--testo-2); }
.cerca-form input {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px;
  border: 1px solid var(--bordo); border-radius: var(--raggio-piccolo);
  background: var(--ghiaccio); color: var(--notte); font-size: 16px;
}
.cerca-form input:focus { outline: none; border-color: var(--blu); background: var(--bianco); }

/* il menu da telefono */
.menu-tel {
  position: fixed; inset: 0; z-index: 45;
  height: 100dvh;
  padding-top: calc(var(--testata-h) + env(safe-area-inset-top, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--bianco);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity .18s var(--ease-out), visibility 0s linear .18s;
}
.menu-tel[hidden] { display: none; }
.menu-tel.aperto { opacity: 1; visibility: visible; transition: opacity .32s var(--ease-out), visibility 0s; }
.menu-tel-in > * { opacity: 0; transform: translateY(14px); transition: opacity .16s var(--ease-out), transform .16s var(--ease-out); }
.menu-tel.aperto .menu-tel-in > * { opacity: 1; transform: none; transition: opacity .42s var(--ease-out) var(--d, 0ms), transform .52s var(--ease-out) var(--d, 0ms); }
.menu-tel-in > :nth-child(2) { --d: 50ms; }
.menu-tel-in > :nth-child(3) { --d: 100ms; }
.menu-tel-in > :nth-child(4) { --d: 150ms; }
.menu-tel-in { display: flex; flex-direction: column; gap: 22px; padding-top: 18px; padding-bottom: 32px; }
.cerca-tel { padding: 0; }
.menu-tel-lista > li { border-bottom: 1px solid var(--bordo); }
.menu-tel-lista > li > a { display: flex; align-items: center; min-height: 58px; font-family: var(--font-titoli); font-size: 27px; color: var(--notte); }
.menu-tel-sotto { padding: 0 0 14px; }
.menu-tel-sotto a { display: flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 500; color: var(--inchiostro); }
.menu-tel-sotto a:active, .menu-tel-lista > li > a:active { color: var(--blu); }
.menu-tel .btn img { width: 26px; height: 26px; }
.menu-tel-social { display: flex; gap: 14px; }
.menu-tel-social a { width: 48px; height: 48px; display: grid; place-items: center; }
.menu-tel-social img { width: 30px; height: 30px; }

/* ── hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(560px, 44vw, 700px);
  display: flex; align-items: center;
  background: var(--azzurro);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s var(--ease-out); }
.slide-piena, .slide-prodotto { transform: scale(1.045); transition: transform 1.6s var(--ease-out); }
.slide.is-attiva .slide-piena, .slide.is-attiva .slide-prodotto { transform: none; }
.slide.is-attiva { opacity: 1; }
.slide-piena, .slide-sfondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-piena { object-position: 100% 42%; }
.slide-sfondo { object-position: 70% 50%; }
.slide-prodotto {
  position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none;
  aspect-ratio: 1000 / 1018; object-fit: cover; object-position: 100% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(0deg, transparent 0, #000 8%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 26%), linear-gradient(0deg, transparent 0, #000 8%);
  mask-composite: intersect;
}
.slide-mj .slide-prodotto { top: auto; bottom: 0; height: 80%; }
.hero-in { position: relative; z-index: 2; pointer-events: none; }
.hero-testo { max-width: 610px; padding: 56px 0 70px; pointer-events: auto; }
.occhiello { font-size: 14.5px; font-weight: 500; letter-spacing: .045em; text-transform: uppercase; color: var(--inchiostro); }
.hero h1 {
  margin: 20px 0 26px;
  font-family: var(--font-titoli); font-weight: 400;
  font-size: clamp(54px, 7.2vw, 106px); line-height: .95; letter-spacing: -0.025em;
  color: var(--notte);
}
.hero h1 em { font-style: normal; color: var(--blu); }
.hero-sotto { font-size: 21px; line-height: 1.5; color: var(--testo); max-width: 520px; }
.hero-azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; margin-top: 34px; }
.hero-azioni .btn-blu { min-width: 300px; justify-content: space-between; }
.link-wa { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--blu-link); font-weight: 600; font-size: 17px; user-select: none; -webkit-user-select: none; }
.link-wa img { width: 34px; height: 34px; }
.link-wa:active { opacity: .75; }

.hero-nota {
  position: absolute; z-index: 3;
  top: 9%; right: max(var(--gutter), calc((100vw - 1280px) / 2 + 8px));
  font-family: var(--font-titoli); font-style: italic; font-size: 21px; line-height: 1.3;
  color: #1450B8; text-align: left;
  text-shadow: 0 0 14px rgba(254, 254, 254, .95), 0 0 4px rgba(254, 254, 254, .9);
}
.hero-nota-freccia {
  position: absolute; left: -64px; top: 46px; width: 50px; height: 50px;
  background-color: #1450B8;
  -webkit-mask: url("../img/icone/freccia-curva.png") center / contain no-repeat;
  mask: url("../img/icone/freccia-curva.png") center / contain no-repeat;
  transform: scaleX(-1) rotate(90deg);
}
.hero-freccia {
  position: absolute; z-index: 3; top: 57%;
  width: 54px; height: 54px; margin-top: -27px;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--bianco); color: var(--blu);
  box-shadow: 0 8px 22px rgba(0, 38, 110, .12);
  transition: transform .14s var(--ease-out), box-shadow .2s ease;
}
.hero-freccia .ico { width: 20px; height: 20px; }
.hero-freccia:active { transform: scale(0.95); }
.hero-prec { left: 46%; }
.hero-succ { right: max(var(--gutter), calc((100vw - 1280px) / 2 - 24px)); }
.hero-punti {
  position: absolute; z-index: 3; bottom: 26px;
  left: max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  display: flex; gap: 4px;
}
.hero-punti button { width: 28px; height: 28px; display: grid; place-items: center; }
.hero-punti button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #C9DCF0; transition: background-color .25s ease, transform .25s var(--ease-out); }
.hero-punti button[aria-pressed="true"]::before { background: var(--blu); transform: scale(1.25); }
@media (hover: hover) and (pointer: fine) {
  .hero-freccia:hover { box-shadow: 0 10px 28px rgba(0, 38, 110, .2); }
}

/* ── i tre passi ─────────────────────────────────────────────────────── */
.passi { background: var(--bianco); }
.passi-lista { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 30px; padding-bottom: 30px; }
.passo { display: flex; align-items: flex-start; gap: 26px; padding: 4px 32px; position: relative; }
.passo:first-child { padding-left: 32px; }
.passo + .passo::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 6px; width: 1px; background: var(--bordo); }
.passo-ico { width: 64px; height: 50px; color: #1269CE; margin-top: 2px; }
.passo h3 { font-size: 18.5px; font-weight: 700; color: #0A1F8A; line-height: 1.3; }
.passo-num { color: #1858B8; font-weight: 600; margin-right: 6px; }
.passo p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--testo-2); }

/* ── da vista e da sole ──────────────────────────────────────────────── */
.categorie-griglia { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cat-card {
  position: relative; display: flex; align-items: center;
  min-height: 250px; overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(100deg, #F1F8FE 0%, #EBF4FC 100%);
  transition: transform .14s var(--ease-out), box-shadow .25s ease;
}
.cat-card img {
  position: absolute; top: 0; right: 0; bottom: 0; left: 30%;
  width: 70%; height: 100%; object-fit: cover; object-position: 62% 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0, #000 22%);
  transition: transform .6s var(--ease-out);
}
.cat-card:active { transform: scale(0.97); }
.cat-testo { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 30px 32px; }
.cat-titolo { font-family: var(--font-titoli); font-size: 40px; line-height: 1.08; color: var(--notte); letter-spacing: -0.01em; }
.cat-sotto { margin-top: 8px; font-size: 17px; color: var(--testo); }
.cat-testo .link { margin-top: 22px; font-size: 18px; }
@media (hover: hover) and (pointer: fine) {
  .cat-card:hover { box-shadow: var(--ombra-morbida); }
  .cat-card:hover img { transform: scale(1.04); }
  .cat-card:hover .link .ico-dx { transform: translateX(4px); }
}

/* ── la vetrina ──────────────────────────────────────────────────────── */
.vetrina { padding-top: 56px; }
.titolo-sez {
  font-family: var(--font-titoli); font-weight: 400;
  font-size: clamp(36px, 3.9vw, 56px); line-height: 1.04; letter-spacing: -0.02em;
  color: var(--notte);
}
.sez-testa { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.sez-testa .link { margin-bottom: 8px; }
.filtri { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.pillole { display: flex; gap: 8px; }
.pillola {
  min-width: 118px; height: 50px; padding: 0 22px;
  border: 1px solid var(--bordo); border-radius: var(--raggio-piccolo);
  background: var(--bianco); color: var(--inchiostro);
  font-size: 15.5px; font-weight: 500;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .14s var(--ease-out);
}
.pillola:active { transform: scale(0.97); }
.pillola[aria-pressed="true"] { background: var(--blu); border-color: var(--blu); color: var(--bianco); font-weight: 600; box-shadow: 0 8px 18px rgba(0, 102, 219, .2); }
.marca { position: relative; }
.marca select {
  appearance: none; -webkit-appearance: none;
  width: 220px; height: 50px; padding: 0 44px 0 18px;
  border: 1px solid var(--bordo); border-radius: var(--raggio-piccolo);
  background: var(--bianco); color: var(--inchiostro);
  font-size: 16px; cursor: pointer;
}
.marca .ico { position: absolute; right: 16px; top: 50%; width: 14px; height: 14px; margin-top: -7px; color: var(--inchiostro); pointer-events: none; }
@media (hover: hover) and (pointer: fine) {
  .pillola:not([aria-pressed="true"]):hover { border-color: #9CC3EE; color: var(--blu); }
  .marca select:hover { border-color: #9CC3EE; }
}

.prodotti { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.prodotto {
  position: relative;
  display: flex; flex-direction: column;
  border: 1px solid #E4EDF6; border-radius: 13px; overflow: hidden;
  background: var(--bianco);
  transition: box-shadow .25s ease, transform .14s var(--ease-out);
}
.prodotto[hidden] { display: none; }
.prod-foto { aspect-ratio: 4 / 3.05; overflow: hidden; background: var(--nebbia); }
.prod-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% var(--y, 52%); transform: scale(var(--z, 1.14)); transition: transform .6s var(--ease-out); }
.prodotto:first-child .prod-foto img { --y: 30%; --z: 1.06; }
.prod-info { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.prod-nome { font-size: 17.5px; font-weight: 700; color: #00105A; text-transform: uppercase; letter-spacing: .01em; line-height: 1.3; }
.prod-nome-tipo { text-transform: none; letter-spacing: 0; }
.prod-tipo { margin-top: 4px; font-size: 16px; color: var(--testo-2); }
.prod-prezzo { margin-top: 6px; font-size: 16.5px; font-weight: 500; color: var(--inchiostro); }
.prod-wa {
  display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px;
  color: var(--blu-link); font-weight: 600; font-size: 15.5px;
  user-select: none; -webkit-user-select: none;
}
.prod-wa img { width: 30px; height: 30px; }
.prod-wa .ico-dx { width: 15px; height: 15px; transition: transform .2s var(--ease-out); }
.prod-wa::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.prod-wa:focus-visible { outline: none; }
.prodotto:has(.prod-wa:focus-visible) { outline: 2px solid var(--blu); outline-offset: 3px; }
.prodotto:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .prodotto:hover { box-shadow: var(--ombra-morbida); border-color: #CFE2F4; }
  .prodotto:hover .prod-foto img { transform: scale(calc(var(--z, 1.14) + .05)); }
  .prod-wa:hover .ico-dx { transform: translateX(4px); }
}
.vetrina-vuota {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
  margin-top: 18px; padding: 22px 26px;
  border-radius: var(--raggio); background: var(--fascia); color: var(--testo);
}
.vetrina-vuota[hidden] { display: none; }
.thk-nota-foto { margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--testo-2); }

/* ── le marche ───────────────────────────────────────────────────────── */
.marchi { padding: 30px 0 26px; }
.marchi-lista { display: flex; align-items: center; justify-content: space-between; }
.marchi-lista li { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; height: 54px; position: relative; padding: 0 12px; }
.marchi-lista li + li::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--bordo); }
.marchi-lista img { height: 26px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(0) saturate(100%); opacity: .92; }
.marchi-lista .marchio-rayban { height: 44px; }
.marchi-lista .marchio-valentino { height: 40px; }
.marchi-lista img[alt="Versace"] { height: 28px; }
.marchi-lista img[alt="Prada"] { height: 22px; }
.marchi-lista img[alt="Dsquared2"] { height: 20px; }
.marchi-lista img[alt="Marc Jacobs"] { height: 15px; }
.marchi-lista img[alt="John Richmond"] { height: 19px; }

/* ── fasce ───────────────────────────────────────────────────────────── */
.fascia {
  display: flex; align-items: center; gap: 30px;
  padding: 26px 56px 26px 48px;
  border-radius: 16px;
  background: var(--fascia);
}
.fascia-ico { flex: none; width: 64px; height: 64px; display: grid; place-items: center; }
.fascia-ico img { width: 60px; height: 60px; }
.fascia-testo { flex: 1; min-width: 0; }
.fascia h2 { font-family: var(--font-testo); font-size: 20px; font-weight: 700; color: #00105A; line-height: 1.3; }
.fascia p { margin-top: 4px; font-size: 16.5px; color: var(--testo); }
.fascia .link { flex: none; }

/* ── i servizi ───────────────────────────────────────────────────────── */
.valore { padding-top: 30px; }
.valore-in { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); gap: 40px; align-items: center; }
.valore .titolo-sez { font-size: clamp(34px, 3.45vw, 50px); }
.valore-testo p { margin-top: 18px; font-size: 19.5px; line-height: 1.5; color: var(--testo); max-width: 440px; }
.valore-testo .link { margin-top: 26px; font-size: 17px; }
.servizi-griglia { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.servizio { display: flex; }
.servizio-link {
  flex: 1; display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 18px; border: 1px solid #E4EDF6; border-radius: 13px; background: var(--bianco);
  transition: border-color .2s ease, box-shadow .25s ease, transform .14s var(--ease-out);
}
.servizio-link:active { transform: scale(0.97); }
.servizio-ico img { transition: transform .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .servizio-link:hover { border-color: #CFE2F4; box-shadow: var(--ombra-morbida); }
  .servizio-link:hover .servizio-ico img { transform: scale(1.08); }
  .menu-lista > li > a:hover::after { transform: scaleX(1); }
  .btn-blu:hover .ico-dx { transform: translateX(4px); }
}
.servizio-ico { flex: none; width: 68px; height: 68px; border-radius: 14px; background: var(--azzurro); display: grid; place-items: center; }
.servizio-ico img { width: 42px; height: 42px; }
.servizio h3 { font-size: 16.5px; font-weight: 700; line-height: 1.3; color: #00105A; }
.servizio p { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--testo-2); }

/* ── ortocheratologia ────────────────────────────────────────────────── */
.orto { padding-top: 22px; }
.fascia-orto { position: relative; padding-left: 300px; min-height: 118px; overflow: visible; }
.orto-lente { position: absolute; left: 44px; top: 50%; width: 220px; height: auto; translate: 0 -50%; animation: galleggia 7s var(--ease-in-out) infinite alternate; }
.riga-info { display: flex; align-items: center; gap: 22px; padding: 14px 56px 18px 32px; border-bottom: 1px solid var(--bordo); }
.riga-info-ico { flex: none; width: 54px; height: 40px; border-radius: 50%; background: var(--azzurro); display: grid; place-items: center; }
.riga-info-ico img { width: 28px; height: 28px; }
.riga-info p { flex: 1; font-size: 15.5px; color: var(--testo); }
.riga-info .link { flex: none; }

/* ── le sedi ─────────────────────────────────────────────────────────── */
.sedi { padding-top: 40px; }
.sez-sotto { margin-top: 10px; font-size: 18px; color: var(--testo); }
.sedi-griglia { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; margin-top: 24px; align-items: start; }
.sede { padding: 26px 28px 28px; border: 1px solid #E4EDF6; border-radius: 14px; background: var(--bianco); }
.sede-riga { display: flex; align-items: flex-start; gap: 22px; }
.sede-riga + .sede-riga { margin-top: 12px; align-items: center; }
.sede-riga .ico-blu { margin-top: 2px; }
.sede h3 { font-size: 21px; font-weight: 700; color: #00105A; line-height: 1.3; }
.sede p { margin-top: 8px; font-size: 17.5px; color: var(--testo); }
.sede-tel { font-size: 18px; color: var(--inchiostro); letter-spacing: .01em; }
.sede-azioni { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; padding-left: 48px; }
.sede-azioni .btn { flex: 1 1 auto; }
.sede-foto img { width: 100%; aspect-ratio: 2.3 / 1; object-fit: cover; border-radius: 12px; }
.sede-foto figcaption { margin-top: 8px; font-size: 14px; color: var(--testo-2); }

/* ── l'invito ────────────────────────────────────────────────────────── */
.cta { padding-top: 40px; }
.cta-box {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 44px;
  padding: 34px 48px 34px 56px; border-radius: 16px; background: var(--fascia);
}
.cta-testo h2 { font-family: var(--font-titoli); font-weight: 400; font-size: clamp(32px, 3vw, 44px); line-height: 1.08; letter-spacing: -0.01em; color: var(--notte); }
.cta-testo p { margin-top: 8px; font-size: 19.5px; color: var(--testo); }
.cta-btn { min-width: 360px; justify-content: space-between; }
.cta-btn img { width: 30px; height: 30px; }
.cta-lista { display: flex; flex-direction: column; gap: 10px; padding-left: 40px; border-left: 1px solid #CFE2F4; }
.cta-lista li { display: flex; align-items: center; gap: 18px; font-size: 14.5px; color: var(--testo); }
.cta-lista img { width: 28px; height: 28px; }

/* ── piè di pagina ───────────────────────────────────────────────────── */
.piede { margin-top: 26px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
.piede-in { display: flex; align-items: center; gap: 48px; padding-top: 18px; padding-bottom: 18px; }
.piede-logo img { height: 78px; width: auto; }
.piede-menu { flex: 1; }
.piede-menu ul { display: flex; flex-wrap: wrap; gap: 8px 44px; }
.piede-menu a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: var(--inchiostro); }
.piede-social { display: flex; gap: 14px; padding-right: 30px; border-right: 1px solid var(--bordo); }
.piede-social a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; transition: transform .14s var(--ease-out); }
.piede-social a:active { transform: scale(0.95); }
.piede-social img { width: 32px; height: 32px; }
.piede-legale { font-size: 15px; color: var(--testo-2); }
.piede-legale p:first-child { display: flex; gap: 22px; }
.piede-legale a { display: inline-flex; align-items: center; min-height: 32px; }
.piede-fondo { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 14px; font-size: 13.5px; color: var(--testo-2); }
.piede-fondo::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--bordo); }
.piede-sedi { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.piede-fondo a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(69, 90, 137, .4); }
@media (hover: hover) and (pointer: fine) {
  .piede-menu a:hover, .piede-legale a:hover, .piede-fondo a:hover { color: var(--blu); }
}

/* ── WhatsApp fisso ──────────────────────────────────────────────────── */
.wa-fisso {
  position: fixed; z-index: 40;
  right: calc(24px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--verde-wa);
  box-shadow: 0 12px 28px rgba(10, 160, 80, .35);
  transition: transform .14s var(--ease-out), box-shadow .2s ease;
}
.wa-fisso img { width: 36px; height: 36px; }
.wa-fisso:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .wa-fisso:hover { box-shadow: 0 14px 34px rgba(10, 160, 80, .45); }
}
html.menu-aperto .wa-fisso { opacity: 0; pointer-events: none; }

/* ── pagine legali e 404 ─────────────────────────────────────────────── */
.pagina-semplice { padding: 56px 0 72px; }
.legale { max-width: 780px; }
.legale h1, .pagina-404 h1 { font-family: var(--font-titoli); font-weight: 400; font-size: clamp(38px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -0.02em; color: var(--notte); }
.legale h1 + p { margin-top: 12px; font-size: 15px; color: var(--testo-2); }
.legale h2 { margin-top: 36px; font-size: 21px; font-weight: 700; color: #00105A; line-height: 1.3; }
.legale p, .legale li { font-size: 16.5px; line-height: 1.65; }
.legale p { margin-top: 12px; }
.legale ul { margin-top: 12px; padding-left: 22px; list-style: disc; }
.legale li + li { margin-top: 8px; }
.legale a { color: var(--blu-link); text-decoration: underline; text-underline-offset: 3px; }
.legale table { width: 100%; margin-top: 16px; border-collapse: collapse; font-size: 15px; }
.legale th, .legale td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bordo); }
.legale th { color: var(--notte); font-weight: 600; background: var(--ghiaccio); }
.tabella-scorre { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pagina-404 { text-align: left; max-width: 640px; }
.pagina-404 p { margin-top: 16px; font-size: 19px; }
.pagina-404 .hero-azioni { margin-top: 30px; }

/* ── sotto i 1200 px: il menu va nel pulsante ────────────────────────── */
@media (max-width: 1199px) {
  .menu, .btn-cerca, .testata-sep { display: none; }
  .btn-menu { display: block; }
  .testata-in { justify-content: space-between; }
  .testata-azioni { gap: 10px; }
  .cta-box { grid-template-columns: minmax(0, 1fr) auto; }
  .cta-lista { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 12px 32px; padding-left: 0; border-left: 0; }
  .piede-in { flex-wrap: wrap; gap: 20px 40px; }
}
@media (max-width: 1080px) {
  .hero-testo { max-width: 520px; }
  .passo { padding: 4px 20px; gap: 16px; }
  .valore-in { grid-template-columns: 1fr; gap: 28px; }
  .sedi-griglia { grid-template-columns: 1fr 1fr; }
  .sede-foto { grid-column: 1 / -1; }
  .sede-foto img { aspect-ratio: 2.6 / 1; }
  .prodotti { grid-template-columns: repeat(2, 1fr); }
  .marchi-lista { flex-wrap: wrap; row-gap: 6px; }
  .marchi-lista li { flex: 0 0 25%; }
  .marchi-lista li:nth-child(5)::before { display: none; }
}

/* ── telefono ────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  :root { --gutter: 16px; --testata-h: 70px; }
  body { font-size: 16px; }
  .logo img { height: 54px; }
  .btn-wa-testata { min-height: 44px; padding: 0 14px; gap: 8px; font-size: 15px; }
  .btn-wa-testata img { width: 22px; height: 22px; }
  .solo-largo { display: none; }

  /* hero: prima il testo, poi le foto */
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-in { order: 1; }
  .hero-media { order: 2; position: relative; inset: auto; height: auto; aspect-ratio: 1 / .9; margin-top: -8px; }
  .hero-testo { max-width: none; padding: 30px 0 10px; }
  .occhiello { font-size: 12.5px; letter-spacing: .04em; }
  .hero h1 { margin: 14px 0 16px; font-size: clamp(46px, 13.6vw, 58px); }
  .hero-sotto { font-size: 17.5px; }
  .hero-azioni { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 22px; }
  .hero-azioni .btn-blu { min-width: 0; width: 100%; }
  .link-wa { justify-content: center; font-size: 16px; }
  .link-wa img { width: 30px; height: 30px; }
  .slide-piena { object-position: 78% 50%; }
  .slide-mj .slide-prodotto { height: 78%; object-position: 50% 30%; }
  .slide-prodotto { height: 100%; left: auto; right: 0; aspect-ratio: auto; width: 100%; object-position: 100% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(0deg, transparent 0, #000 6%), linear-gradient(180deg, transparent 0, #000 8%);
    -webkit-mask-composite: source-in, source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(0deg, transparent 0, #000 6%), linear-gradient(180deg, transparent 0, #000 8%);
    mask-composite: intersect; }
  .hero-nota { top: 16px; right: 16px; font-size: 15.5px; }
  .hero-nota-freccia { left: -40px; top: 32px; width: 32px; height: 32px; }
  .hero-freccia { top: 50%; margin-top: -23px; width: 46px; height: 46px; }
  .hero-prec { left: 12px; }
  .hero-succ { right: 12px; }
  .hero-punti { left: 50%; bottom: 23px; transform: translateX(-50%); }

  /* passi */
  .passi-lista { grid-template-columns: 1fr; padding-top: 8px; padding-bottom: 8px; }
  .passo { padding: 16px 0; gap: 16px; }
  .passo:first-child { padding-left: 0; }
  .passo + .passo::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 1px; }
  .passo-ico { width: 48px; height: 40px; }
  .passo h3 { font-size: 17px; }
  .passo p { font-size: 14.5px; margin-top: 3px; }

  /* categorie */
  .categorie-griglia { grid-template-columns: 1fr; gap: 12px; }
  .cat-card { min-height: 190px; align-items: flex-start; }
  .cat-card img { left: 26%; width: 74%; top: auto; height: 78%; object-position: 70% 60%; }
  .cat-testo { padding: 22px 20px; }
  .cat-titolo { font-size: 30px; }
  .cat-sotto { font-size: 15px; margin-top: 4px; }
  .cat-testo .link { margin-top: 12px; font-size: 16px; }

  /* vetrina */
  .vetrina { padding-top: 40px; }
  .titolo-sez { font-size: clamp(32px, 9.4vw, 38px); }
  .sez-testa { align-items: flex-start; flex-direction: column; gap: 8px; }
  .sez-testa .link { margin-bottom: 0; }
  .filtri { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 18px; }
  .pillole { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .pillola { min-width: 0; height: 46px; padding: 0 6px; font-size: 14.5px; }
  .marca select { width: 100%; height: 48px; }
  .prodotti { gap: 10px; margin-top: 14px; }
  .prod-foto { aspect-ratio: 1 / 1; }
  .prod-info { padding: 12px 12px 14px; }
  .prod-nome { font-size: 14.5px; }
  .prod-tipo { font-size: 13.5px; }
  .prod-prezzo { font-size: 14px; margin-top: 4px; }
  .prod-wa { font-size: 13.5px; gap: 6px; padding-top: 10px; min-height: 44px; }
  .prod-wa img { width: 22px; height: 22px; }
  .prod-wa .ico-dx { display: none; }

  /* marche */
  .marchi { padding: 22px 0 18px; }
  .marchi-lista li { height: 46px; padding: 0 8px; }
  .marchi-lista li:nth-child(n+5) { flex-basis: 33.333%; }
  .marchi-lista img { height: 20px; }
  .marchi-lista .marchio-rayban { height: 32px; }
  .marchi-lista .marchio-valentino { height: 30px; }
  .marchi-lista img[alt="Versace"] { height: 20px; }
  .marchi-lista img[alt="Prada"] { height: 15px; }
  .marchi-lista img[alt="Dsquared2"] { height: 14px; }
  .marchi-lista img[alt="Marc Jacobs"] { height: 10px; }
  .marchi-lista img[alt="John Richmond"] { height: 13px; }

  /* fasce */
  .fascia { flex-wrap: wrap; gap: 12px 16px; padding: 20px; }
  .fascia-ico { width: 48px; height: 48px; }
  .fascia-ico img { width: 44px; height: 44px; }
  .fascia h2 { font-size: 18px; }
  .fascia p { font-size: 15px; }
  .fascia .link { flex-basis: 100%; min-height: 40px; }
  .fascia-orto { padding: 104px 20px 20px; }
  .orto-lente { left: 16px; top: 10px; width: 150px; translate: none; }
  .riga-info { flex-wrap: wrap; gap: 8px 14px; padding: 16px 4px 18px; }
  .riga-info-ico { width: 44px; height: 34px; }
  .riga-info p { flex: 1 1 200px; font-size: 14.5px; }
  .riga-info .link { flex-basis: 100%; padding-left: 58px; min-height: 40px; }

  /* servizi */
  .valore { padding-top: 34px; }
  .valore-testo p { font-size: 17px; margin-top: 12px; }
  .valore-testo .link { margin-top: 16px; }
  .servizi-griglia { grid-template-columns: 1fr; gap: 10px; }
  .servizio-link { padding: 14px; gap: 14px; align-items: center; }
  .servizio-ico { width: 58px; height: 58px; border-radius: 12px; }
  .servizio-ico img { width: 36px; height: 36px; }
  .servizio h3 { font-size: 16px; }
  .servizio p { font-size: 14.5px; margin-top: 3px; }

  /* sedi */
  .sedi { padding-top: 34px; }
  .sez-sotto { font-size: 16px; }
  .sedi-griglia { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
  .sede { padding: 20px; }
  .sede-riga { gap: 16px; }
  .sede h3 { font-size: 19px; }
  .sede p { font-size: 16px; margin-top: 4px; }
  .sede-azioni { padding-left: 0; }
  .sede-foto img { aspect-ratio: 1.95 / 1; }

  /* invito */
  .cta { padding-top: 34px; }
  .cta-box { grid-template-columns: 1fr; gap: 20px; padding: 26px 20px; }
  .cta-testo h2 { font-size: 32px; }
  .cta-testo p { font-size: 16.5px; }
  .cta-btn { min-width: 0; width: 100%; font-size: 16px; padding: 12px 20px; white-space: normal; line-height: 1.25; gap: 12px; }
  .cta-btn .ico-dx { margin-left: auto; }
  .cta-lista { flex-direction: column; gap: 10px; }

  /* piè di pagina */
  .piede-in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .piede-logo img { height: 62px; }
  .piede-menu ul { gap: 0 20px; }
  .piede-menu a { font-size: 15px; }
  .piede-social { border-right: 0; padding-right: 0; }
  .piede-fondo { flex-direction: column; padding-bottom: 76px; }

  .wa-fisso { right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; }
  .wa-fisso img { width: 32px; height: 32px; }

  .pagina-semplice { padding: 36px 0 56px; }
  .legale h2 { font-size: 19px; margin-top: 28px; }
  .legale p, .legale li { font-size: 16px; }
}

@media (max-width: 600px) {
  .btn-wa-testata { width: 46px; min-height: 46px; padding: 0; }
  .btn-wa-testata img { width: 24px; height: 24px; }
  .btn-wa-testata > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 370px) {
  .logo img { height: 46px; }
  .pillola { font-size: 13.5px; }
}

/* ── 5-bis · il movimento ─────────────────────────────────────────────
   La prima schermata entra col CSS, senza aspettare il JavaScript; la foto grande parte già visibile
   e si assesta. Le sezioni entrano scorrendo (.reveal → .in, main.js), una volta sola. */
@keyframes entra { from { opacity: 0; transform: translateY(var(--sale, 30px)); } }
@keyframes appare { from { opacity: 0; } }
@keyframes assesta { from { transform: scale(1.07); } }
@keyframes entra-wa { from { opacity: 0; transform: translateY(18px) scale(.92); } }
@keyframes galleggia { from { transform: translateY(4px) rotate(0deg); } to { transform: translateY(-8px) rotate(-2deg); } }

.hero-testo > * { animation: entra .9s var(--ease-out) backwards; }
.hero-testo > .occhiello { animation-delay: .05s; --sale: 20px; }
.hero-testo > h1 { animation-delay: .12s; animation-duration: 1s; --sale: 36px; }
.hero-testo > .hero-sotto { animation-delay: .26s; }
.hero-testo > .hero-azioni { animation-delay: .36s; }
.hero .slide:first-child .slide-piena { animation: assesta 1.8s var(--ease-out) backwards; }
.hero-nota { animation: entra .9s var(--ease-out) .6s backwards; --sale: 16px; }
.hero-freccia, .hero-punti { animation: appare .7s var(--ease-out) .7s backwards; }
.wa-fisso { animation: entra-wa .6s var(--ease-out) 1s backwards; }

.js .reveal:not(.in) { opacity: 0; }
.js .reveal.in { animation: entra .8s var(--ease-out) var(--d, 0ms) backwards; }
.js .marchi-lista .reveal.in { --sale: 20px; }

/* meno movimento: restano le dissolvenze, niente spostamenti */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cat-card img, .prod-foto img, .link .ico-dx, .prod-wa .ico-dx, .servizio-ico img { transition: none; }
  .btn:active, .cat-card:active, .pillola:active, .prodotto:active, .servizio-link:active { transform: none; }
  .hero-testo > *, .hero-nota, .js .reveal.in { animation-name: appare; animation-duration: .6s; }
  .hero .slide:first-child .slide-piena, .orto-lente { animation: none; }
  .wa-fisso { animation-name: appare; }
  .slide-piena, .slide-prodotto { transform: none; transition: none; }
  .menu-tel-in > * { transform: none; }
  .testata .logo img { transition: none; }
  .testata.scorsa .logo img { transform: none; }
}
