/* ==========================================================================
   Social Fusion — Demo 3D v2 ("il sito che si costruisce")
   Tema chiaro = identità del sito attuale (bianco, nero, giallo #FFD100).
   Tema scuro attivabile dal bottone in alto.
   ========================================================================== */
:root, [data-theme="light"] {
  --bg: #f3f2ee;
  --fg: #131313;
  --mute: #66655f;
  --line: rgba(0, 0, 0, .1);
  --glass: rgba(255, 255, 255, .74);
  --glass-b: rgba(0, 0, 0, .07);
  --card: linear-gradient(160deg, rgba(255, 255, 255, .97), rgba(255, 255, 255, .9));
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .18);
  --fade: 243, 242, 238;
}
[data-theme="dark"] {
  --bg: #0d0d0d;
  --fg: #f4f3ee;
  --mute: #a3a29b;
  --line: rgba(255, 255, 255, .12);
  --glass: rgba(22, 22, 22, .66);
  --glass-b: rgba(255, 255, 255, .08);
  --card: linear-gradient(160deg, rgba(40, 40, 40, .8), rgba(18, 18, 18, .66));
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
  --fade: 13, 13, 13;
}
:root {
  --y: #FFD100;
  --y-soft: #FFE566;
  --ink: #131313;
  --pad: clamp(18px, 5vw, 80px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif; font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
  transition: background .5s, color .5s;
}
h1, h2, h3, .btn, .tag, .eyebrow, .logo, .sf-mark { font-family: 'Poppins', 'Inter', sans-serif; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--y); outline-offset: 4px; border-radius: 6px; }
em { font-style: normal; background: linear-gradient(transparent 62%, var(--y) 62%, var(--y) 92%, transparent 92%); color: inherit; padding: 0 .04em; }
[data-theme="dark"] em { background: none; color: var(--y); }
::selection { background: var(--y); color: var(--ink); }
.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- layer fissi ---------- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; touch-action: pan-y; }
.readability {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(var(--fade), .92) 0%, rgba(var(--fade), .55) 34%, rgba(var(--fade), 0) 55%);
}
/* flash bianco a metà del "tuffo" tra una scena e l'altra (sotto i testi) */
#flash { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 50%, #fff 0%, #fff 55%, #f6f5f0 100%); }
main { position: relative; z-index: 2; }
#hud { position: fixed; inset: 0; z-index: 2; pointer-events: none; opacity: 0; }

/* ---------- loader ---------- */
#loader {
  position: fixed; z-index: 3; left: 50%; top: 30%; transform: translate(-50%, -50%);
  width: 230px; padding: 13px 18px 17px; border-radius: 16px; overflow: hidden; pointer-events: none;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  background: color-mix(in srgb, var(--bg) 85%, transparent); border: 1px solid var(--line); color: var(--fg);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
@media (min-width: 820px) { #loader { left: 72%; top: 50%; } }
#loader.out { opacity: 0; transform: translate(-50%, -50%) scale(.92); }
.loader-txt { color: var(--mute); font-size: 13px; font-weight: 600; }
.loader-pct { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); }
.loader-bar i { display: block; height: 100%; background: var(--y); transform-origin: left; transform: scaleX(0); }
.sf-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--y); color: var(--ink); font-weight: 800; font-size: 15px; }

/* ---------- cursore ---------- */
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; border-radius: 50%; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--y); box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); }
.cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(255, 209, 0, .9); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s; }
.cursor-ring.hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(255, 209, 0, .15); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-ring { display: none; } }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px var(--pad); transition: background .4s, padding .4s; }
.nav.scrolled { background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--glass-b); }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 17px; letter-spacing: -.02em; }
.logo-txt small { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 11px; color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 32px; font-size: 14px; font-weight: 500; }
.nav-links a { position: relative; opacity: .8; transition: opacity .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--y); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--fg); font-size: 18px; display: grid; place-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
[data-theme="light"] .theme-btn .sun, [data-theme="dark"] .theme-btn .moon { display: none; }
@media (max-width: 899px) { .nav-links { display: none; } .logo-txt small { display: none; } }
@media (max-width: 420px) { .logo-txt { display: none; } }

/* ---------- capitoli ---------- */
.chapters { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 9; display: grid; gap: 12px; }
.chapters a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; height: 12px; }
.chapters a::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mute); opacity: .45; transition: all .4s var(--ease); flex-shrink: 0; }
.chapters span { font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateX(8px); transition: all .35s var(--ease); background: var(--glass); padding: 3px 9px; border-radius: 99px; backdrop-filter: blur(8px); }
.chapters a:hover span, .chapters a:focus-visible span { opacity: 1; transform: none; }
.chapters li.on a::after { background: var(--y); opacity: 1; transform: scale(1.5); box-shadow: 0 0 0 3px rgba(255, 209, 0, .25); }
.chapter-now { display: none; }

/* ---------- bottoni ---------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; will-change: transform; transition: background .3s, color .3s, border-color .3s, transform .6s var(--ease); }
.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 20px 34px; font-size: 17px; }
.btn-y { background: var(--y); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(255, 209, 0, .8); }
.btn-y:hover { background: var(--y-soft); }
.btn-ghost { border: 1.5px solid var(--line); background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--y); }
.arr { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateY(3px); }

/* ---------- tipografia ---------- */
.eyebrow, .tag { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.tag::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--y); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--y); box-shadow: 0 0 0 4px rgba(255, 209, 0, .25); }
h2 { font-size: clamp(32px, 3.9vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; }
h3 { font-weight: 700; letter-spacing: -.02em; }
.lead { font-size: clamp(16px, 1.2vw, 19px); color: var(--mute); margin-top: 16px; max-width: 480px; }
.note { font-size: 12.5px; color: var(--mute); margin-top: 14px; opacity: .85; }
.checks { display: grid; gap: 9px; margin-top: 22px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--y); color: var(--ink); font-size: 13px; font-weight: 800; flex-shrink: 0; }

.reveal { opacity: 0; transform: perspective(900px) translate3d(0, 50px, -60px) rotateX(-14deg); transform-origin: 50% 100%; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- pin (sticky) + sheet testo ---------- */
.pin { position: relative; height: var(--h, 300vh); }
.pin-inner { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sheet {
  position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%);
  width: min(520px, 40vw);
}
.panels { position: relative; height: 230px; margin-top: 26px; }
.panel { position: absolute; inset: 0; opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .55s var(--ease), transform .8s var(--ease); pointer-events: none; }
.panel.on { opacity: 1; transform: none; pointer-events: auto; }
.panel h3 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 10px; display: flex; align-items: baseline; gap: 12px; }
.panel h3 b { font-size: .55em; background: var(--y); color: var(--ink); padding: 3px 10px; border-radius: 99px; letter-spacing: 0; transform: translateY(-3px); }
.panel p { color: var(--mute); margin-bottom: 14px; }
.panel ul { display: grid; gap: 7px; font-weight: 500; font-size: 15px; }
.panel li { display: flex; gap: 10px; align-items: baseline; }
.panel li::before { content: ""; width: 12px; height: 3px; border-radius: 3px; background: var(--y); flex-shrink: 0; transform: translateY(-4px); }
.steps { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--mute); }
.steps b { color: var(--fg); font-family: 'Poppins', sans-serif; font-size: 18px; }
.bar { position: relative; flex: 1; max-width: 220px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.bar i { position: absolute; inset: 0; background: var(--y); transform-origin: left; transform: scaleX(0); }
.phase-dots { display: flex; gap: 10px; }
.phase-dots li { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 1.5px solid var(--line); color: var(--mute); transition: all .5s var(--ease); }
.phase-dots li.on { background: var(--y); border-color: var(--y); color: var(--ink); transform: scale(1.1); }

/* ---------- 3D tag (HUD) ---------- */
.tag3d { position: absolute; left: 0; top: 0; will-change: transform, opacity; }
.tag3d i { display: none; }
.tag3d span {
  position: absolute; left: 0; top: 0; transform: translateY(calc(-100% - 8px)); white-space: nowrap;
  font: 700 13px/1 'Poppins', sans-serif; padding: 8px 12px; border-radius: 10px 10px 10px 3px;
  background: var(--y); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35);
}
.tag3d span b { margin-right: 6px; opacity: .55; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero-inner { padding: 100px var(--pad) 120px; width: min(760px, 50vw); box-sizing: content-box; }
.hero-title { font-size: clamp(42px, 5vw, 88px); font-weight: 800; line-height: .98; letter-spacing: -.045em; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; transform: translateY(115%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.3s var(--ease); }
.hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.hero-title .line:nth-child(3) > span { transition-delay: .18s; }
.intro .hero-title .line > span { transform: none; }
.hero-sub { font-size: clamp(17px, 1.3vw, 20px); color: var(--mute); max-width: 500px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.intro-fade { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease) .12s, transform 1s var(--ease) .12s; }
.intro .intro-fade { opacity: 1; transform: none; }
/* il sottotitolo è visibile da subito (scorre soltanto): è il primo contenuto grande che Google misura (LCP) */
.hero-sub.intro-fade { opacity: 1; transform: translateY(12px); transition: transform 1s var(--ease) .12s; }
.intro .hero-sub.intro-fade { transform: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600; color: var(--mute); white-space: nowrap; }
.intro .scroll-cue { transform: translateX(-50%); }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; border: 2px solid var(--mute); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--y); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(12px); opacity: 0; } }

/* ---------- 02 stats ---------- */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 26px; margin-top: 30px; }
.stats b { display: block; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(38px, 3.6vw, 58px); line-height: 1; letter-spacing: -.04em; }
.stats small { font-size: .45em; margin-left: 3px; letter-spacing: 0; color: var(--mute); }
.stats div > span { font-size: 14px; color: var(--mute); }

/* ---------- 05 case ---------- */
.case { margin-top: 24px; padding: 24px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.case h3 { font-size: 22px; }
.case-meta { color: var(--mute); font-size: 14px; margin: 4px 0 18px; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.case-stats b { display: block; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(22px, 2vw, 32px); letter-spacing: -.03em; }
.case-stats b::before { content: "+"; color: var(--y); }
.case-stats span { font-size: 12.5px; color: var(--mute); line-height: 1.3; display: block; }
.case .btn { margin-top: 16px; }

/* ---------- 07 differenza ---------- */
.diff { padding: 20vh 0 16vh; position: relative; }
.diff h2 { max-width: 920px; margin-bottom: 56px; }
.diff-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dcard { position: relative; padding: 30px 28px 32px; border-radius: 24px; background: var(--card); border: 1px solid var(--glass-b); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow: hidden; transform-style: preserve-3d; }
.dcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 209, 0, .22), transparent 45%); }
.dcard:hover::after { opacity: 1; }
.dcard.in.tilting { transition: transform .15s linear, opacity 1s var(--ease); }
.dnum { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--y); color: var(--ink); font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 14px; margin-bottom: 22px; }
.dcard h3 { font-size: 20px; margin-bottom: 8px; }
.dcard p { color: var(--mute); font-size: 15px; }
.diff-grid .dcard:nth-child(3n+2) { transition-delay: .08s; }
.diff-grid .dcard:nth-child(3n) { transition-delay: .16s; }

/* ---------- 08 recensioni ---------- */
.testi-head { position: absolute; left: var(--pad); top: 13vh; }
.testi-stage { position: absolute; left: 0; right: 0; top: 54%; transform: translateY(-40%); perspective: 1300px; }
.testi-track { display: flex; gap: 36px; width: max-content; transform-style: preserve-3d; will-change: transform; }
.tcard { width: min(420px, 80vw); min-height: 290px; padding: 30px; border-radius: 26px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; background: var(--card); border: 1px solid var(--glass-b); box-shadow: var(--shadow); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); will-change: transform, opacity; }
.stars { color: #e0b400; letter-spacing: 3px; }
.tcard blockquote { font-size: 16.5px; line-height: 1.55; }
.tcard figcaption { display: flex; align-items: center; gap: 14px; }
.tcard figcaption b { display: block; font-size: 15px; }
.tcard figcaption small { color: var(--mute); font-size: 13px; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--y); color: var(--ink); font-weight: 800; font-size: 14px; font-family: 'Poppins', sans-serif; }
.tcard-cta { justify-content: center; align-items: flex-start; background: var(--y); color: var(--ink); border-color: var(--y); }
.tcard-cta .g { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: grid; place-items: center; font: 800 24px 'Poppins', sans-serif; }
.tcard-cta b { font: 800 30px/1.1 'Poppins', sans-serif; letter-spacing: -.03em; }
.tcard-cta .link { font-weight: 600; }

/* ---------- 09 CTA ---------- */
.cta { position: relative; height: 100vh; height: 100svh; }
.sheet-cta h2 { font-size: clamp(44px, 6vw, 100px); line-height: .98; letter-spacing: -.05em; }
.sheet-cta .hero-ctas { margin-top: 28px; }
.foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 18px var(--pad) 22px; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); }
.foot a { text-decoration: underline; }

/* ==========================================================================
   MOBILE: 3D a tutto schermo, testo in un "foglio" di vetro in basso
   ========================================================================== */
@media (max-width: 819px) {
  .readability { background: linear-gradient(0deg, rgba(var(--fade), .95) 0%, rgba(var(--fade), .6) 30%, rgba(var(--fade), 0) 52%); }
  .chapters { display: none; }
  .chapter-now {
    display: block; position: fixed; left: 50%; top: 62px; z-index: 9; transform: translateX(-50%);
    font: 700 11px 'Poppins', sans-serif; letter-spacing: .12em; text-transform: uppercase;
    background: var(--glass); border: 1px solid var(--glass-b); padding: 6px 12px; border-radius: 99px;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: opacity .4s;
  }
  .chapter-now span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--y); margin-right: 8px; vertical-align: middle; }

  .hero { align-items: flex-end; }
  .hero-inner { width: auto; padding: 0 var(--pad) calc(70px + env(safe-area-inset-bottom)); }
  .hero-title { font-size: clamp(32px, 9.4vw, 50px); margin-bottom: 12px; }
  .hero-sub { font-size: 14.5px; margin-bottom: 16px; }
  .btn { padding: 12px 18px; font-size: 13.5px; }
  .nav { padding: 12px var(--pad); }
  .nav.scrolled { padding-top: 8px; padding-bottom: 8px; }
  .nav .btn-sm { padding: 9px 14px; font-size: 12.5px; }
  .sf-mark { width: 34px; height: 34px; border-radius: 10px; font-size: 13px; }
  .theme-btn { width: 36px; height: 36px; font-size: 15px; }
  .scroll-cue { bottom: 18px; font-size: 12px; }

  .sheet {
    left: 10px; right: 10px; top: auto; bottom: calc(10px + env(safe-area-inset-bottom)); transform: none; width: auto;
    padding: 15px 16px 14px; border-radius: 22px;
    background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--shadow);
    backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  }
  .sheet .tag { margin-bottom: 6px; font-size: 10.5px; }
  .sheet h2 { font-size: 21px; }
  .sheet .lead { font-size: 13.5px; margin-top: 6px; }
  .panels { height: 120px; margin-top: 10px; }
  .panel h3 { font-size: 17px; margin-bottom: 4px; }
  .panel p { font-size: 13.5px; margin-bottom: 0; }
  .panel ul { display: none; }
  .steps { margin-top: 4px; }
  .stats { gap: 10px 16px; margin-top: 14px; }
  .stats b { font-size: 25px; }
  .stats div > span { font-size: 12px; }
  .checks { margin-top: 10px; gap: 5px; font-size: 13.5px; }
  .checks li::before { width: 20px; height: 20px; font-size: 11px; }
  .case { margin-top: 12px; padding: 0; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .case h3 { font-size: 17px; }
  .case-meta, .case .note { display: none; }
  .case-meta + .case-stats { margin-top: 10px; }
  .case .btn { margin-top: 12px; }
  .phase-dots li { width: 30px; height: 30px; font-size: 12px; }
  #metodo .panels { height: 110px; }

  .diff { padding: 14vh 0 10vh; }
  .diff-grid { grid-template-columns: 1fr; gap: 14px; }
  .testi-head { top: 120px; }
  .tcard blockquote { font-size: 15px; }
  .cta .sheet-cta h2 { font-size: 34px; }
  .sheet-cta { bottom: calc(92px + env(safe-area-inset-bottom)); }
  .foot { font-size: 11.5px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .tag3d span { font-size: 11.5px; padding: 7px 10px; }
}
@media (min-width: 820px) and (max-width: 1100px) { .diff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  .reveal, .intro-fade, .hero-title .line > span { transition-duration: .01s !important; transition-delay: 0s !important; }
  .scroll-cue i::after { animation: none; }
}
