/* Laboratorio Odontotecnico Caizzo Giuliano — v2 (motion) */
:root {
  --teal: #0F4C5C;
  --teal-dark: #0B3A47;
  --teal-deep: #082E39;
  --ivory: #F5EFE6;
  --ivory-2: #EDE3D3;
  --gold: #C8A96A;
  --gold-dark: #8A6A2B;
  --ink: #1E2A30;
  --body: #4A5A62;
  --wa: #25D366;
  --wa-ink: #06301A;
  --white: #FFFFFF;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(8, 46, 57, .14);
  --shadow-sm: 0 6px 18px rgba(8, 46, 57, .08);
  --wrap: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  padding-bottom: 76px;
}
main { overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
h1, h2, h3 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600; color: var(--ink); line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 7.4vw, 5rem); }
h2 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
h3 { font-size: 1.4rem; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--teal); }
.dark h2 em, .hero h1 em { color: var(--gold); }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sec { padding: 84px 0; position: relative; scroll-margin-top: 64px; }
.center { text-align: center; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.lead { font-size: 1.18rem; }
.ivory { background: var(--ivory); }
.dark { background: var(--teal); color: #E6EFF1; }
.dark h2, .dark h3 { color: var(--white); }
@media (min-width: 900px) { .sec { padding: 128px 0; } }

.skip { position: absolute; left: -9999px; top: 0; z-index: 400; background: var(--white); color: var(--teal); padding: 12px 18px; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.icon { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }
.rule { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 0 0 24px; }

/* Etichetta di sezione */
.kicker {
  display: flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
}
.kicker-n { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.15rem; letter-spacing: 0; color: var(--gold-dark); }
.kicker-line { width: 56px; height: 1px; background: var(--gold); transform-origin: left; }
.center .kicker { justify-content: center; }
.dark .kicker { color: var(--ivory); }
.dark .kicker-n { color: var(--gold); }

/* Bottoni */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 58px; padding: 14px 30px; width: 100%;
  font: 600 1.06rem/1.2 "Inter", system-ui, sans-serif;
  border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(8, 46, 57, .22); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon { transform: rotate(-10deg) scale(1.1); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-outline { background: rgba(255, 255, 255, .06); color: var(--white); border-color: rgba(255, 255, 255, .85); }
.btn-outline:hover { background: var(--white); color: var(--teal); }
.btn-outline-teal { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline-teal:hover { background: var(--teal); color: var(--white); }
.btn-white { background: var(--white); color: var(--teal); }
.btn-row { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
@media (min-width: 700px) {
  .btn { width: auto; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .center .btn-row, .btn-row.mid { justify-content: center; }
}

/* ---------- Intro ---------- */
.intro { display: none; }
.intro-on .intro {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; overflow: visible;
  background: var(--teal-deep); color: var(--white);
  animation: intro-out 1.1s var(--ease-io) 2.4s forwards;
}
.intro-on .intro::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -89px; height: 90px;
  background: var(--teal-deep); border-radius: 0 0 50% 50%;
}
/* alone di luce */
.intro-glow {
  position: absolute; left: 50%; top: 50%; width: 620px; height: 620px; max-width: 130vw; margin: -310px 0 0 -310px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 139, 160, .55), rgba(200, 169, 106, .1) 55%, transparent 72%);
  filter: blur(42px); pointer-events: none; opacity: 0; transform: scale(.6);
  animation: glow-in 1.6s var(--ease) forwards;
}
@media (max-width: 620px) { .intro-glow { left: 0; margin-left: -15vw; } }
/* polvere di porcellana */
.intro-dust { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.intro-dust i {
  position: absolute; left: var(--x); top: var(--y); width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%;
  background: var(--c, var(--gold)); opacity: 0; animation: dust var(--t, 3s) ease-out var(--dl, 0s) forwards;
}
@keyframes dust { 0% { opacity: 0; transform: translate(0, 30px); } 25% { opacity: .9; } 100% { opacity: 0; transform: translate(var(--dx, 12px), -90px); } }
.intro-in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 24px; width: min(600px, 100%); animation: intro-in-out .55s ease 2.2s forwards; }
@media (min-width: 700px) { .intro-mark { width: 124px !important; height: 124px !important; } .intro-eyebrow { white-space: nowrap; } }
/* il dente: entra, si disegna, si riempie e brilla */
.intro-mark { position: relative; width: 104px; height: 104px; opacity: 0; transform: translate(-150px, 70px) rotate(-26deg) scale(.6); animation: mark-in 1.15s var(--ease) .05s forwards; }
.intro-tooth { width: 100%; height: 100%; overflow: visible; }
.intro-tooth .t-line { fill: none; stroke: var(--gold); stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.25s var(--ease-io) .2s forwards; }
.intro-tooth .t-fill { fill: var(--ivory); stroke: none; opacity: 0; animation: tooth-fill .7s ease 1.15s forwards; }
.intro-spark { position: absolute; width: 26px; height: 26px; right: -4px; top: 2px; fill: var(--white); opacity: 0; transform: scale(0) rotate(0deg); animation: spark .8s var(--ease) 1.4s forwards; }
.intro-spark.s2 { width: 13px; height: 13px; right: -16px; top: 30px; fill: var(--gold); animation-delay: 1.62s; }
.intro-word-mask { overflow: hidden; margin-top: 18px; padding: 0 .1em .14em; }
.intro-word { display: block; font: 600 clamp(3.4rem, 13vw, 6rem)/1 "Playfair Display", Georgia, serif; letter-spacing: -.02em; transform: translateY(112%); animation: rise .95s var(--ease) .45s forwards; }
.intro-eyebrow { margin-top: 12px; padding-left: .3em; font-size: .72rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--ivory); opacity: 0; animation: fade-in .7s ease 1s forwards; }
/* la linea che si riempie, dal 2006 al 2026 */
.intro-years { align-self: stretch; display: flex; align-items: center; gap: 14px; margin-top: 30px; font: italic 600 1.05rem/1.3 "Playfair Display", Georgia, serif; font-variant-numeric: tabular-nums lining-nums; color: var(--ivory); opacity: 0; animation: fade-in .5s ease .25s forwards; }
.intro-line { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), #F0E2BF); transform: scaleX(0); transform-origin: left; animation: grow-x 1.8s var(--ease) .25s forwards; }
.intro-reel { height: 1.3em; overflow: hidden; color: var(--gold); }
.intro-reel span { display: flex; flex-direction: column; animation: reel 1.45s steps(20) .35s forwards; }
.intro-reel b { height: 1.3em; font-weight: 600; }
@keyframes intro-out { to { transform: translateY(-118%); visibility: hidden; } }
@keyframes intro-in-out { to { opacity: 0; transform: translateY(-36px); } }
@keyframes glow-in { to { opacity: 1; transform: scale(1); } }
@keyframes mark-in { to { opacity: 1; transform: none; } }
@keyframes tooth-fill { to { opacity: .16; } }
@keyframes spark { 0% { opacity: 0; transform: scale(0) rotate(0deg); } 45% { opacity: 1; transform: scale(1.15) rotate(70deg); } 100% { opacity: 0; transform: scale(0) rotate(140deg); } }
@keyframes reel { to { transform: translateY(-95.238%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { transform: none; } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes grow-x { to { transform: scaleX(1); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, .95); border-bottom: 1px solid rgba(200, 169, 106, .4);
  transition: background-color .45s ease, border-color .45s ease, box-shadow .45s ease;
}
.site-header.scrolled { box-shadow: 0 8px 28px rgba(8, 46, 57, .08); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); transition: min-height .45s var(--ease); }
.scrolled .header-in { min-height: 64px; }
.progress { position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background: var(--gold); transform-origin: left; transform: scaleX(var(--sp, 0)); pointer-events: none; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo .icon { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.5; transition: transform .6s var(--ease); }
.logo:hover .icon { transform: rotate(-12deg) scale(1.08); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.6rem; transition: color .45s ease; }
.logo-sub { font-size: .6rem; font-weight: 600; letter-spacing: .16em; color: var(--teal); margin-top: 5px; white-space: nowrap; transition: color .45s ease; }
.nav { display: none; }
.nav a { position: relative; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 10px 2px; transition: color .3s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn { width: auto; min-height: 48px; padding: 10px 20px; font-size: .98rem; white-space: nowrap; }
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(15, 76, 92, .3); background: transparent; color: var(--teal); cursor: pointer; transition: color .3s, border-color .3s, transform .4s var(--ease);
}
.menu-btn .icon { width: 24px; height: 24px; }
.menu-btn .i-close, .menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.menu-btn[aria-expanded="true"] { transform: rotate(90deg); }

/* header trasparente sopra la hero (solo home, solo con JS) */
.js .home .site-header:not(.scrolled), .site-header.menu-open { background: transparent; border-color: transparent; box-shadow: none; }
.js .home .site-header:not(.scrolled) .logo-name, .site-header.menu-open .logo-name,
.js .home .site-header:not(.scrolled) .nav a { color: var(--white); }
.js .home .site-header:not(.scrolled) .logo-sub, .site-header.menu-open .logo-sub { color: var(--ivory); }
.js .home .site-header:not(.scrolled) .btn-teal, .site-header.menu-open .btn-teal { background: var(--white); color: var(--teal); }
.js .home .site-header:not(.scrolled) .menu-btn, .site-header.menu-open .menu-btn { color: var(--white); border-color: rgba(255, 255, 255, .6); }

@media (max-width: 479px) {
  .header-actions .btn { width: 48px; padding: 0; gap: 0; }
  .header-actions .btn .btn-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .header-in { gap: 10px; }
}
@media (max-width: 380px) { .logo-sub { font-size: .5rem; letter-spacing: .1em; } .logo .icon { width: 28px; height: 28px; } }
@media (min-width: 980px) { .nav { display: flex; gap: 26px; } .menu-btn { display: none; } }

/* Menu mobile a tutto schermo */
.mobile-nav {
  position: fixed; inset: 0; z-index: 95; background: var(--teal-deep); color: var(--white);
  padding: calc(var(--header-h) + 28px) 28px 120px; display: flex; flex-direction: column; justify-content: center; gap: 4px;
  clip-path: circle(0 at calc(100% - 44px) 38px); visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s .75s;
}
.mobile-nav.open { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; transition: clip-path .75s var(--ease-io), visibility 0s; }
.mobile-nav a.m-link {
  display: flex; align-items: baseline; gap: 16px; padding: 12px 0; color: var(--white); text-decoration: none;
  font: 600 2rem/1.2 "Playfair Display", Georgia, serif; border-bottom: 1px solid rgba(200, 169, 106, .25);
  opacity: 0; transform: translateY(26px); transition: opacity .5s ease, transform .7s var(--ease);
}
.mobile-nav a.m-link small { font: italic 600 1rem "Playfair Display", Georgia, serif; color: var(--gold); }
.mobile-nav.open a.m-link { opacity: 1; transform: none; transition-delay: calc(.2s + var(--i) * 70ms); }
.mobile-nav .m-foot { margin-top: 26px; color: var(--ivory); font-size: 1rem; }
.mobile-nav .m-foot a { color: var(--white); font-weight: 600; }
@media (min-width: 980px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--teal-deep); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-par { position: absolute; inset: -9% 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 16s var(--ease) both; }
.intro-on .hero-img { animation-delay: 1.9s; }
@keyframes kenburns { from { transform: scale(1.22); } to { transform: scale(1.03); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 46, 57, .93) 0%, rgba(15, 76, 92, .78) 48%, rgba(15, 76, 92, .56) 100%),
              linear-gradient(0deg, rgba(8, 46, 57, .75) 0%, rgba(8, 46, 57, 0) 40%);
}
.hero-in { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: calc(var(--header-h) + 36px) 20px 86px; }
.hero-copy { max-width: 880px; }
.status {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; margin-bottom: 22px;
  border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  font-size: .95rem; font-weight: 600; color: var(--white); backdrop-filter: blur(6px);
}
.status[hidden] { display: none; }
.status-dot { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--wa); flex: none; }
.status-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }
.status.closed .status-dot { background: var(--gold); }
.status.closed .status-dot::after { animation: none; }
.status--light { background: var(--ivory); border-color: rgba(200, 169, 106, .6); color: var(--ink); backdrop-filter: none; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; display: flex; align-items: center; gap: 14px; }
.eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold); flex: none; }
.hero h1 { color: var(--white); margin-bottom: .45em; }
.hero-sub { font-size: 1.2rem; color: #EAF2F3; max-width: 620px; }
.ticks { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: 8px; }
.ticks .icon { color: var(--gold); stroke-width: 2.4; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--white); font-weight: 600; text-underline-offset: 6px; text-decoration-color: var(--gold); padding: 8px 0; }
.hero-link .icon { transition: transform .4s var(--ease); }
.hero-link:hover .icon { transform: translateX(8px); }
.seal { position: absolute; z-index: 5; right: 16px; bottom: -52px; width: 108px; height: 108px; border-radius: 50%; background: var(--teal-deep); box-shadow: 0 0 0 1px rgba(200, 169, 106, .7), var(--shadow); display: grid; place-items: center; }
.seal svg.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.seal-ring text { font: 600 11.5px "Inter", system-ui, sans-serif; letter-spacing: .08em; fill: var(--ivory); }
.seal-c { display: flex; flex-direction: column; align-items: center; line-height: 1; color: var(--gold); }
.seal-c b { font: 600 2rem/1 "Playfair Display", Georgia, serif; }
.seal-c span { font-size: .5rem; font-weight: 600; letter-spacing: .22em; margin-top: 3px; color: var(--ivory); }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { display: none; }
@media (min-width: 700px) {
  .hero-in { padding-bottom: 120px; }
  .ticks { flex-direction: row; flex-wrap: wrap; gap: 10px 28px; }
}
@media (min-width: 1000px) {
  .seal { right: max(28px, calc((100vw - var(--wrap)) / 2 + 20px)); bottom: 96px; width: 196px; height: 196px; }
  .seal-c b { font-size: 4rem; }
  .seal-c span { font-size: .72rem; }
  .scroll-cue { display: block; position: absolute; z-index: 3; left: 50%; bottom: 0; width: 1px; height: 70px; background: rgba(255, 255, 255, .25); overflow: hidden; }
  .scroll-cue::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 50%; background: var(--gold); animation: cue 2.2s var(--ease-io) infinite; }
}
@keyframes cue { 0% { transform: translateY(-100%); } 100% { transform: translateY(220%); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 1; overflow: hidden; background: var(--teal-deep); color: var(--ivory); padding: 20px 0; border-top: 1px solid rgba(200, 169, 106, .35); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; flex: none; }
.marquee-item { font: italic 600 clamp(1.3rem, 3.2vw, 2.1rem)/1.2 "Playfair Display", Georgia, serif; padding: 0 26px; white-space: nowrap; }
.marquee .icon { color: var(--gold); width: 22px; height: 22px; stroke-width: 1.5; }

/* ---------- Trust ---------- */
.trust { background: var(--ivory); padding: 52px 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 16px; }
.trust li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.trust-ic { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold-dark); background: rgba(255, 255, 255, .6); }
.trust-ic .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.trust-num { font: 600 3.6rem/64px "Playfair Display", Georgia, serif; color: var(--teal); font-variant-numeric: tabular-nums; }
@media (min-width: 860px) {
  .trust ul { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .trust li + li { border-left: 1px solid rgba(200, 169, 106, .55); }
  .trust li { padding: 6px 20px; }
}

/* ---------- Layout comuni ---------- */
.split-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) { .split-grid { grid-template-columns: 1.08fr .92fr; gap: 72px; } }
.ph-wrap { position: relative; }
.ph { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 4.4; background: var(--ivory-2); }
.ph-par { position: absolute; inset: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--arch { border-radius: 999px 999px 22px 22px; aspect-ratio: 4 / 5.2; }
.ph-frame { position: absolute; inset: 0; border: 1px solid var(--gold); border-radius: 999px 999px 22px 22px; transform: translate(14px, 14px); pointer-events: none; z-index: -1; }
.float-card {
  position: absolute; left: -8px; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 12px;
  background: var(--white); color: var(--ink); font-weight: 600; line-height: 1.3; padding: 14px 18px; border-radius: 16px; box-shadow: var(--shadow); max-width: 250px;
}
.float-card .icon { color: var(--teal); width: 30px; height: 30px; }
.bob { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (min-width: 900px) { .float-card { left: -34px; bottom: 44px; } }

/* ---------- Riparazioni: passi ---------- */
.steps-title { margin: 72px 0 34px; font-size: 1.7rem; }
.steps-wrap { position: relative; --p: 1; }
.js .steps-wrap { --p: 0; }
.steps-line { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: rgba(200, 169, 106, .3); }
.steps-fill { position: absolute; inset: 0; background: var(--gold); transform-origin: top; transform: scaleY(var(--p)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.step { position: relative; padding-left: 74px; }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; }
.step-n {
  position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 2px solid var(--gold); color: var(--teal);
  font: 600 1.3rem/1 "Playfair Display", Georgia, serif; transition: background-color .5s ease, color .5s ease, transform .6s var(--ease), box-shadow .6s ease;
}
.step.on .step-n, html:not(.js) .step-n { background: var(--teal); color: var(--white); transform: scale(1.12); box-shadow: 0 0 0 7px rgba(200, 169, 106, .22); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps-line { left: 16.66%; right: 16.66%; top: 23px; bottom: auto; width: auto; height: 2px; }
  .steps-fill { transform-origin: left; transform: scaleX(var(--p)); }
  .step { padding: 78px 12px 0; text-align: center; }
  .step-n { left: 50%; margin-left: -24px; }
}

/* ---------- Riparazioni: pannello WhatsApp ---------- */
.wa-panel { margin-top: 72px; background: var(--ivory); border-radius: 28px; padding: 30px 22px; display: grid; gap: 32px; align-items: center; border: 1px solid rgba(200, 169, 106, .5); }
.highlight { margin: 0; padding: 24px; border: 2px solid var(--gold); border-radius: var(--radius); background: #FDFAF5; color: var(--ink); font-size: 1.2rem; font-weight: 600; line-height: 1.45; display: flex; gap: 16px; align-items: flex-start; }
.highlight .icon { width: 34px; height: 34px; color: var(--teal); margin-top: 2px; }
.chat { position: relative; background: #E9E1D5; border-radius: 22px; padding: 44px 16px 20px; display: flex; flex-direction: column; gap: 12px; min-height: 290px; box-shadow: inset 0 0 0 1px rgba(8, 46, 57, .08); }
.chat-tag { position: absolute; top: 12px; left: 16px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--body); }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 1rem; line-height: 1.4; color: var(--ink); box-shadow: 0 2px 6px rgba(8, 46, 57, .1); }
.bubble.out { align-self: flex-end; background: #D9FDD3; border-bottom-right-radius: 4px; }
.bubble.in { align-self: flex-start; background: var(--white); border-bottom-left-radius: 4px; }
.bubble img { width: 180px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.typing { display: inline-flex; gap: 5px; padding: 6px 2px; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: #9AA8AD; animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-4px); } }
.bubble.typing-b { display: none; }
.js .chat .bubble { opacity: 0; transform: translateY(18px) scale(.96); transform-origin: bottom left; transition: opacity .45s ease, transform .6s var(--ease); }
.js .chat .bubble.out { transform-origin: bottom right; }
.js .chat .bubble.show { opacity: 1; transform: none; }
.js .chat .bubble.typing-b.show { display: block; }
@media (min-width: 900px) { .wa-panel { grid-template-columns: 1.1fr .9fr; padding: 48px; gap: 56px; } }

/* ---------- Dentisti ---------- */
.dentisti { overflow: clip; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: .5; }
.orb-1 { width: 460px; height: 460px; background: #1B7A8F; top: -140px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 380px; height: 380px; background: rgba(200, 169, 106, .5); bottom: -160px; left: -100px; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-70px, 60px) scale(1.2); } }
.dentisti .wrap { position: relative; z-index: 1; }
.checks { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 4px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; color: var(--white); font-weight: 600; line-height: 1.45; padding: 15px 0; border-bottom: 1px solid rgba(200, 169, 106, .28); }
.check-ic { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; flex: none; color: var(--gold); }
.check-ic .icon { width: 16px; height: 16px; stroke-width: 3; }
.alt-cta { margin: 30px 0 0; color: var(--white); }
.alt-cta a { color: var(--white); font-weight: 600; white-space: nowrap; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.form-card { position: relative; background: var(--white); color: var(--body); border-radius: 24px; padding: 30px 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .3); overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold), #E7D3A4, var(--gold)); background-size: 200% 100%; animation: sheen 5s linear infinite; }
@keyframes sheen { to { background-position: -200% 0; } }
.form-card h3 { color: var(--ink); font-size: 1.6rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 6px; font-size: 1rem; }
.field .opt { font-weight: 400; color: var(--body); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 12px 14px; font: inherit; color: var(--ink); border: 1.5px solid #9FB0B6; border-radius: 12px; background: var(--white); transition: border-color .25s ease, box-shadow .25s ease; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(200, 169, 106, .45); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.45; margin: 6px 0 20px; }
.consent input { width: 24px; height: 24px; flex: none; margin: 2px 0 0; accent-color: var(--teal); }
.form-card .btn { width: 100%; }
.form-ok { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: #E8F5EC; color: #14532D; font-weight: 600; border: 1px solid #A7D7B5; }
.form-ok.show { display: block; animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
@media (min-width: 700px) { .form-card { padding: 40px; } .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 900px) { .dentisti .split-grid { align-items: start; } .dentisti .sticky-col { position: sticky; top: 110px; } }

/* ---------- Servizi ---------- */
.svc-head { display: grid; gap: 8px; margin-bottom: 44px; }
.svc-list { display: grid; gap: 22px; }
@media (min-width: 700px) { .svc-list { grid-template-columns: 1fr 1fr; } }
.service { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid rgba(15, 76, 92, .08); overflow: hidden; display: flex; flex-direction: column; }
.service > .svc-img { overflow: hidden; }
.service img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover img { transform: scale(1.07); }
.service-body { padding: 24px 26px 28px; border-top: 2px solid var(--gold); }
.service h3 { margin-bottom: .35em; }
.service p { margin: 0; }
.svc-stage { display: none; }
.note { margin: 40px 0 0; font-style: italic; color: var(--body); max-width: 640px; }
@media (min-width: 960px) {
  .svc-on .svc-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: 72px; align-items: start; }
  .svc-on .svc-list { display: block; counter-reset: svc; border-bottom: 1px solid rgba(15, 76, 92, .16); }
  .svc-on .service {
    position: relative; display: grid; grid-template-columns: 70px 1fr; align-items: baseline; padding: 28px 0;
    background: none; border: 0; border-top: 1px solid rgba(15, 76, 92, .16); border-radius: 0; box-shadow: none; overflow: visible; cursor: pointer;
    transition: padding-left .6s var(--ease);
  }
  .svc-on .service > .svc-img { display: none; }
  .svc-on .service::before { counter-increment: svc; content: "0" counter(svc); font: italic 600 1.2rem "Playfair Display", Georgia, serif; color: var(--gold-dark); }
  .svc-on .service::after { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
  .svc-on .service-body { padding: 0; border: 0; }
  .svc-on .service h3 { font-size: 2rem; transition: color .35s ease; }
  .svc-on .service.is-active { padding-left: 20px; }
  .svc-on .service.is-active::after { transform: scaleX(1); }
  .svc-on .service.is-active h3 { color: var(--teal); }
  .svc-on .svc-stage { display: block; position: sticky; top: 104px; height: min(74vh, 620px); border-radius: 999px 999px 22px 22px; overflow: hidden; box-shadow: var(--shadow); background: var(--ivory-2); }
  .svc-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.18); z-index: 0; }
  .svc-stage img.was { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
  .svc-stage img.is-active { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; transition: clip-path .95s var(--ease-io), transform 1.5s var(--ease); }
  .svc-count { position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%); background: rgba(8, 46, 57, .78); color: var(--white); font: italic 600 1rem "Playfair Display", Georgia, serif; padding: 6px 16px; border-radius: 999px; }
}
@media (min-width: 1000px) { [data-services]:not(.svc-on) .svc-list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Chi siamo ---------- */
.about { overflow: clip; }
.ghost-num { position: absolute; right: -2vw; top: 4%; font: 600 clamp(11rem, 32vw, 27rem)/.8 "Playfair Display", Georgia, serif; color: transparent; -webkit-text-stroke: 1.5px rgba(200, 169, 106, .55); pointer-events: none; user-select: none; }
.about .wrap { position: relative; z-index: 1; }
.about .ph-wrap { max-width: 440px; margin: 0 auto; width: 100%; }
.sig { display: flex; align-items: center; gap: 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--gold); }
.sig-photo { width: 120px; height: 120px; flex: none; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--gold), var(--shadow); }
.signature { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 600; font-size: 1.45rem; line-height: 1.3; color: var(--teal); margin: 0; }
.flourish { display: block; width: 190px; height: 16px; margin-top: 6px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
@media (min-width: 900px) { .about .split-grid { grid-template-columns: .82fr 1.18fr; } }

/* ---------- Perché sceglierci ---------- */
.why-grid { display: grid; gap: 22px; margin-top: 48px; }
@media (min-width: 700px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card { perspective: 900px; }
.why-in {
  position: relative; height: 100%; background: var(--white); border-radius: 22px; padding: 30px 26px 32px; overflow: hidden;
  border: 1px solid rgba(15, 76, 92, .1); box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s ease;
}
.why-in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(200, 169, 106, .22), transparent 60%); opacity: 0; transition: opacity .4s ease; pointer-events: none; }
.why-in:hover { box-shadow: var(--shadow); border-color: rgba(200, 169, 106, .8); }
.why-in:hover::before { opacity: 1; }
.why-n { position: absolute; right: 20px; top: 12px; font: italic 600 3.4rem/1 "Playfair Display", Georgia, serif; color: rgba(200, 169, 106, .35); }
.why-ic { width: 58px; height: 58px; border-radius: 16px; background: var(--ivory); color: var(--teal); display: grid; place-items: center; margin-bottom: 20px; transition: background-color .4s ease, color .4s ease, transform .6s var(--ease); }
.why-ic .icon { width: 28px; height: 28px; }
.why-in:hover .why-ic { background: var(--teal); color: var(--white); transform: rotate(-8deg) scale(1.06); }
.why-in h3 { margin-bottom: .35em; }
.why-in p { margin: 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 36px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } .faq-grid .sticky-col { position: sticky; top: 110px; } }
.faq details { border-top: 1px solid rgba(15, 76, 92, .2); }
.faq details:last-child { border-bottom: 1px solid rgba(15, 76, 92, .2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 18px; font: 600 1.3rem/1.3 "Playfair Display", Georgia, serif; color: var(--ink); transition: color .3s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq-ic { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold); flex: none; transition: background-color .35s ease, transform .5s var(--ease); }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--teal); transition: transform .5s var(--ease), background-color .35s ease; }
.faq-ic::after { transform: rotate(90deg); }
.faq details[open] .faq-ic { background: var(--teal); transform: rotate(180deg); }
.faq details[open] .faq-ic::before, .faq details[open] .faq-ic::after { background: var(--white); }
.faq details[open] .faq-ic::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 56px 24px 0; }

/* ---------- CTA band ---------- */
.band { position: relative; background: var(--teal-deep); color: #E6EFF1; text-align: center; overflow: hidden; padding: 110px 0; }
.band .wrap { position: relative; z-index: 2; }
.band h2 { color: var(--white); max-width: 900px; margin-left: auto; margin-right: auto; }
.band h2 em { color: var(--gold); }
.band p { font-size: 1.25rem; margin: 0; }
.ghost-marquee { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); z-index: 1; pointer-events: none; overflow: hidden; }
.ghost-marquee .marquee-item { font: italic 600 clamp(6rem, 20vw, 15rem)/1 "Playfair Display", Georgia, serif; color: transparent; -webkit-text-stroke: 1px rgba(200, 169, 106, .15); padding: 0 .25em; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; gap: 40px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(200, 169, 106, .5); }
.c-ic { width: 46px; height: 46px; border-radius: 50%; background: var(--ivory); color: var(--teal); display: grid; place-items: center; flex: none; transition: background-color .35s ease, color .35s ease, transform .5s var(--ease); }
.contact-list li:hover .c-ic { background: var(--teal); color: var(--white); transform: scale(1.08) rotate(-6deg); }
.contact-list a { font-weight: 600; text-underline-offset: 4px; display: inline-block; padding: 2px 0; font-size: 1.1rem; }
.contact-list small { display: block; font-size: .88rem; color: var(--body); }
.contact-list address { font-style: normal; color: var(--ink); font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; margin: 0 0 28px; }
.hours caption { text-align: left; font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-size: 1.3rem; color: var(--ink); padding-bottom: 10px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-top: 1px solid rgba(200, 169, 106, .6); font-weight: 400; }
.hours td { text-align: right; font-weight: 600; color: var(--ink); }
.map { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); min-height: 400px; background: var(--ivory); position: relative; height: 100%; }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; position: absolute; inset: 0; }
.map-ph { min-height: 400px; height: 100%; padding: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.map-ph .icon { width: 44px; height: 44px; color: var(--teal); }
.map-ph p { margin: 0; max-width: 420px; }
.map-ph strong { color: var(--ink); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: stretch; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #D5DDE0; padding: 64px 0 28px; font-size: 1rem; overflow: hidden; }
.site-footer .logo, .site-footer .logo-sub, .site-footer .logo-name { color: var(--white); }
.site-footer h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 12px; }
.site-footer a { color: var(--white); text-underline-offset: 4px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid { display: grid; gap: 34px; }
.footer-word { display: flex; justify-content: center; overflow: hidden; margin: 48px 0 0; font: 600 clamp(5rem, 25vw, 20rem)/.86 "Playfair Display", Georgia, serif; color: transparent; -webkit-text-stroke: 1px rgba(200, 169, 106, .6); user-select: none; padding-bottom: .08em; }
.footer-word span { display: inline-block; }
.js .footer-word span { transform: translateY(105%); transition: transform 1.2s var(--ease) calc(var(--i) * 70ms); }
.js .footer-word.in span { transform: none; }
.footer-bottom { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(200, 169, 106, .5); display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; font-size: .92rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--white); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- Barra mobile + WhatsApp flottante ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; background: var(--white); box-shadow: 0 -6px 20px rgba(0, 0, 0, .14); padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
.sticky-bar .btn { min-height: 56px; padding: 10px; }
.sticky-bar .btn:hover { transform: none; box-shadow: none; }
.intro-on .sticky-bar { animation: bar-in .8s var(--ease) 3.1s both; }
@keyframes bar-in { from { transform: translateY(110%); } }
.wa-float { display: none; position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 64px; height: 64px; border-radius: 50%; background: var(--wa); color: var(--wa-ink); align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform .4s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: ping-soft 2.6s ease-out infinite; }
@keyframes ping-soft { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float .icon { width: 34px; height: 34px; }
@media (min-width: 900px) { body { padding-bottom: 0; } .sticky-bar { display: none; } .wa-float { display: flex; } }

/* ---------- Cookie ---------- */
.cookie { position: fixed; left: 10px; right: 10px; bottom: 86px; z-index: 120; background: var(--white); color: var(--body); border-radius: 20px; border: 1px solid rgba(15, 76, 92, .2); box-shadow: 0 16px 44px rgba(0, 0, 0, .28); padding: 20px; font-size: 1rem; line-height: 1.5; max-width: 560px; animation: cookie-in .7s var(--ease); }
@keyframes cookie-in { from { opacity: 0; transform: translateY(30px); } }
.cookie[hidden] { display: none; }
.cookie strong { color: var(--ink); display: block; font-size: 1.1rem; margin-bottom: 6px; }
.cookie p { flex: 1; }
.cookie p { margin: 0 0 14px; }
.cookie-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie .btn { min-height: 52px; padding: 10px; width: 100%; }
@media (min-width: 900px) {
  .cookie { left: 0; right: 0; bottom: 18px; margin: 0 auto; width: min(940px, calc(100% - 200px)); max-width: none; display: flex; align-items: center; gap: 22px; padding: 14px 16px 14px 24px; font-size: .92rem; }
  .cookie strong { display: inline; font-size: 1em; margin: 0 6px 0 0; }
  .cookie p { margin: 0; }
  .cookie-btns { flex: none; }
  .cookie .btn { min-height: 48px; padding: 8px 22px; }
}

/* ---------- Privacy ---------- */
.page { padding: calc(var(--header-h) + 48px) 0 72px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.9rem); }
.page h2 { font-size: 1.5rem; margin-top: 1.8em; }
.page .wrap { max-width: 820px; }
.page li { margin-bottom: .5em; }
.back { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 26px; padding: 8px 0; }

/* ---------- Sistema di animazione ---------- */
.js:not(.ready) [data-split]:not(.split) { visibility: hidden; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .07em .16em 0; margin: -.08em -.07em -.16em 0; }
.split .wi { display: inline-block; transform: translateY(112%) rotate(5deg); transform-origin: left top; transition: transform 1.05s var(--ease) calc(var(--d, 0s) + var(--i) * 48ms); }
.split.in .wi { transform: none; }

.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s ease var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-46px); }
.js [data-reveal="right"] { transform: translateX(46px); }
.js [data-reveal="scale"] { transform: scale(.88); }
.js [data-reveal="line"] { opacity: 1; transform: scaleX(0); transition: transform 1.1s var(--ease-io) var(--d, 0s); }
/* il taglio sta sul figlio: un elemento tagliato del tutto non verrebbe mai "visto" dall'osservatore */
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > * { clip-path: inset(0 0 100% 0); transition: clip-path 1.35s var(--ease-io) var(--d, 0s); }
.js [data-reveal="clip"] img { transform: scale(1.3); transition: transform 1.9s var(--ease) var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="clip"].in > * { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].in img { transform: scale(1); }

.js [data-draw] .icon:not(.icon-fill), .js [data-draw].flourish { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s var(--ease-io) calc(var(--d, 0s) + .15s); }
.js [data-draw].in .icon:not(.icon-fill), .js [data-draw].in.flourish { stroke-dashoffset: 0; }

/* Movimento ridotto o in pausa */
.no-motion { scroll-behavior: auto; }
.no-motion *, .no-motion *::before, .no-motion *::after { animation: none !important; transition: none !important; }
.no-motion [data-reveal], .no-motion .split .wi, .no-motion .footer-word span, .no-motion .chat .bubble:not(.typing-b), .no-motion .mobile-nav a.m-link { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.no-motion [data-reveal="clip"] img, .no-motion .hero-img { transform: none !important; }
.no-motion [data-reveal="clip"] > * { clip-path: none !important; }
.no-motion [data-draw] .icon, .no-motion [data-draw].flourish { stroke-dashoffset: 0 !important; }
.no-motion [data-split] { visibility: visible !important; }
.no-motion .intro { display: none !important; }
