/* ============================================================
   SENTOSA LONGEVITY CLINIC
   Archetipo: Editorial Luxury · Awwwards-tier
   Fonts: Fraunces (serif variabile) + Plus Jakarta Sans
   ============================================================ */

:root {
  /* palette */
  --cream:      #FDFBF7;
  --cream-2:    #F6F1E9;
  --cream-3:    #EFE8DC;
  --ink:        #1A2620;
  --ink-soft:   #51604F;
  --ink-faint:  #8A9387;
  --sage:       #7C8C7A;
  --sand:       #C9B79C;
  --bronze:     #9C7B45;
  --bronze-lt:  #B79361;
  --dark:       #18221D;
  --dark-2:     #131B17;
  --white:      #FFFEFB;

  /* type */
  --serif: "Fraunces", Georgia, serif;
  --sans:  "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  /* motion (Emil Kowalski curves) */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-io:     cubic-bezier(0.77, 0, 0.175, 1);

  --maxw: 1240px;
  --r-lg: 28px;
  --r-md: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(156,123,69,.22); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 32px; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 380;
  line-height: 1.04;
  letter-spacing: -0.015em;
  font-optical-sizing: auto;
}
em { font-style: italic; color: var(--bronze); font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--bronze);
  padding: 8px 16px;
  border: 1px solid rgba(156,123,69,.28);
  border-radius: 100px;
  background: rgba(156,123,69,.05);
  margin-bottom: 28px;
}
.eyebrow.light { color: var(--sand); border-color: rgba(201,183,156,.3); background: rgba(201,183,156,.06); }

.section-title { font-size: clamp(2.1rem, 5vw, 3.9rem); color: var(--ink); }
.section-title.light { color: var(--white); }
.lead { font-size: 1.18rem; color: var(--ink-soft); line-height: 1.65; margin-top: 22px; font-weight: 300; }
.lead.center { max-width: 660px; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: .01em;
  padding: 14px 16px 14px 26px; border-radius: 100px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .16s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), box-shadow .4s var(--ease-out);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-ghost { padding: 14px 26px; }

.btn-icon {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 15px; line-height: 1;
  transition: transform .35s var(--ease-out), background-color .35s var(--ease-out);
}
.btn-primary {
  background: var(--bronze); color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 10px 26px rgba(156,123,69,.22);
}
.btn-primary .btn-icon { background: rgba(255,255,255,.16); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: rgba(26,38,33,.18);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: #8a6c3c; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 16px 36px rgba(156,123,69,.32); }
  .btn-primary:hover .btn-icon { transform: translate(3px, -1px) scale(1.06); background: rgba(255,255,255,.26); }
  .btn-ghost:hover { border-color: var(--ink); background: rgba(26,38,33,.04); }
}

/* ---------- nav (floating glass pill) ---------- */
.nav-wrap {
  position: fixed; top: 22px; left: 0; right: 0; z-index: 80;
  display: flex; justify-content: center;
  padding-inline: 20px;
  transition: top .4s var(--ease-out);
}
.nav-pill {
  display: flex; align-items: center; gap: 28px;
  width: 100%; max-width: var(--maxw);
  padding: 11px 11px 11px 22px;
  border-radius: 100px;
  background: rgba(253,251,247,.7);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(26,38,33,.07);
  box-shadow: 0 10px 40px rgba(26,38,33,.07);
  transition: padding .4s var(--ease-out), box-shadow .4s var(--ease-out), background-color .4s var(--ease-out);
}
.nav-wrap.scrolled .nav-pill { box-shadow: 0 14px 44px rgba(26,38,33,.12); background: rgba(253,251,247,.82); }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-emblem { width: 38px; height: 38px; display: grid; place-items: center; flex: none; }
.brand-emblem-img { width: 38px; height: 38px; object-fit: contain; }
.brand-emblem-fallback {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  color: var(--bronze); border: 1px solid rgba(156,123,69,.3);
  background: radial-gradient(120% 120% at 30% 20%, rgba(183,147,97,.16), transparent 70%);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-weight: 420; font-size: 19px; letter-spacing: .28em; color: var(--ink); }
.brand-sub { font-family: var(--sans); font-size: 8.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--bronze); margin-top: 5px; font-weight: 600; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
  font-size: 13.5px; font-weight: 400; color: var(--ink-soft);
  position: relative; transition: color .25s var(--ease-out);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -7px; height: 1px; width: 0;
  background: var(--bronze); transition: width .3s var(--ease-out);
}
@media (hover: hover) { .nav-links a:hover { color: var(--ink); } .nav-links a:hover::after { width: 100%; } }
.nav-cta { font-size: 13.5px; padding: 11px 12px 11px 20px; }
.nav-cta .btn-icon { width: 24px; height: 24px; font-size: 13px; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 0; cursor: pointer;
}
.nav-toggle span { width: 22px; height: 1.6px; background: var(--ink); margin-inline: auto; transition: transform .4s var(--ease-drawer), opacity .25s var(--ease-out); }

/* overlay menu */
.nav-overlay {
  position: fixed; inset: 0; z-index: 79;
  background: rgba(253,251,247,.85);
  backdrop-filter: blur(26px) saturate(1.3);
  -webkit-backdrop-filter: blur(26px) saturate(1.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 50px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .45s var(--ease-out), transform .55s var(--ease-drawer), visibility .45s;
}
body.menu-open { overflow: hidden; }
body.menu-open .nav-overlay { opacity: 1; visibility: visible; transform: none; }
.overlay-links { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.overlay-links a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 380; color: var(--ink);
  overflow: hidden; line-height: 1.18;
}
.overlay-links a span {
  display: block; transform: translateY(115%);
  transition: transform .6s var(--ease-drawer); transition-delay: 0ms;
}
body.menu-open .overlay-links a span { transform: translateY(0); }
body.menu-open .overlay-links a:nth-child(1) span { transition-delay: .08s; }
body.menu-open .overlay-links a:nth-child(2) span { transition-delay: .13s; }
body.menu-open .overlay-links a:nth-child(3) span { transition-delay: .18s; }
body.menu-open .overlay-links a:nth-child(4) span { transition-delay: .23s; }
body.menu-open .overlay-links a:nth-child(5) span { transition-delay: .28s; }
body.menu-open .overlay-links a:nth-child(6) span { transition-delay: .33s; }
.overlay-foot { text-align: center; color: var(--ink-soft); font-size: .9rem; opacity: 0; transition: opacity .4s var(--ease-out) .4s; }
.overlay-foot p + p { margin-top: 4px; }
body.menu-open .overlay-foot { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(110% 80% at 82% 12%, rgba(183,147,97,.30) 0%, transparent 55%),
    radial-gradient(90% 80% at 8% 92%, rgba(124,140,122,.26) 0%, transparent 55%),
    linear-gradient(165deg, #FFFDF9 0%, var(--cream) 45%, var(--cream-2) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 78% 28%, rgba(183,147,97,.14), transparent 70%);
  animation: drift 16s var(--ease-io) infinite alternate;
}
@keyframes drift { to { transform: translate(-3%, 2%) scale(1.1); } }
.hero-inner { position: relative; z-index: 1; padding-top: 96px; max-width: 920px; }
.hero-title { font-size: clamp(3rem, 8.4vw, 6.6rem); color: var(--ink); margin: 6px 0; font-weight: 360; }
.hero-title .line { display: block; }
.hero-lead { font-size: clamp(1.05rem, 1.7vw, 1.32rem); color: var(--ink-soft); max-width: 600px; margin-top: 26px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 42px; }

.scroll-hint { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border: 1px solid rgba(26,38,33,.25); border-radius: 100px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; background: var(--bronze); border-radius: 3px; transform: translateX(-50%); animation: scrolldot 1.9s var(--ease-io) infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 70%{opacity:1;transform:translate(-50%,14px)} 100%{opacity:0;transform:translate(-50%,16px)} }

/* ---------- sections ---------- */
.section { padding: clamp(90px, 13vw, 170px) 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(54px, 7vw, 90px); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 7vw, 100px); align-items: center; }
.split-text p + p { margin-top: 16px; }

/* ---------- double-bezel card ---------- */
.card {
  background: rgba(26,38,33,.035);
  border: 1px solid rgba(26,38,33,.06);
  border-radius: var(--r-lg);
  padding: 7px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  will-change: transform;
}
.card-inner {
  background: var(--white);
  border-radius: calc(var(--r-lg) - 7px);
  padding: 32px 30px;
  height: 100%;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.7), 0 1px 2px rgba(26,38,33,.03);
  position: relative; overflow: hidden;
}
.card-inner::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--bronze), var(--sand));
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(26,38,33,.10); }
  .card:hover .card-inner::before { transform: scaleX(1); }
}
.card h4 { font-size: 1.45rem; margin-bottom: 11px; color: var(--ink); font-weight: 400; }
.card p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- philosophy ---------- */
.section-philosophy { background: var(--cream); }
.pillars { display: flex; flex-direction: column; gap: 16px; }
.pillar .card-inner { display: flex; flex-direction: column; }
.pillar-num { font-family: var(--serif); font-size: 13px; color: var(--bronze); letter-spacing: .12em; }
.pillar h3 { font-size: 1.5rem; margin: 8px 0 8px; font-weight: 400; }
.pillar p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- services ---------- */
.section-services { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.group + .group { margin-top: 64px; }
.group-title {
  font-size: 1.5rem; color: var(--bronze); margin-bottom: 26px; font-weight: 380;
  display: flex; align-items: center; gap: 16px; letter-spacing: -0.01em;
}
.group-title::before { content: ""; width: 30px; height: 1px; background: var(--bronze); opacity: .6; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-wide { grid-column: 1 / -1; }
.card-wide h4 { font-size: 1.75rem; }

/* ---------- spotlight video ---------- */
.section-spotlight { background: var(--dark); color: var(--white); position: relative; }
.spotlight-lead { color: rgba(253,251,247,.72); }
.spotlight-videos { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 22px; align-items: center; }
.video-frame {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,183,156,.16);
  border-radius: var(--r-lg);
  padding: 8px;
  box-shadow: 0 40px 80px rgba(0,0,0,.35);
}
.video-frame-inner {
  border-radius: calc(var(--r-lg) - 8px);
  overflow: hidden; background: #0c120f;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.08);
}
.video-frame video { width: 100%; object-fit: cover; display: block; }
.video-frame.landscape video { aspect-ratio: 16 / 9; }
.video-frame.portrait video { aspect-ratio: 9 / 16; }

/* ---------- method ---------- */
.section-method { background: var(--dark-2); color: var(--white); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; padding: 16px; }
.step-num {
  display: inline-grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
  border: 1px solid rgba(201,183,156,.35);
  font-family: var(--serif); font-size: 1.5rem; color: var(--sand);
  margin-bottom: 24px;
  background: radial-gradient(120% 120% at 30% 20%, rgba(201,183,156,.1), transparent 70%);
}
.step h3 { font-size: 1.55rem; margin-bottom: 12px; color: var(--white); font-weight: 400; }
.step p { color: rgba(253,251,247,.68); font-size: 1.02rem; }

/* ---------- clinic ---------- */
.section-clinic { background: var(--cream); }
.clinic-gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 480px; }
.g-tile { border-radius: var(--r-md); background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(156,123,69,.1); }
.g-1 { grid-row: 1 / 3; background: linear-gradient(150deg, #ECE3D2, #CBB89C); }
.g-2 { background: linear-gradient(150deg, #DED5C3, #B6A78C); }
.g-3 { background: linear-gradient(150deg, #E3DBCB, #9FAE9C); }
.gallery-note { margin-top: 20px; font-size: .9rem; color: var(--sage); }

/* ---------- contact ---------- */
.section-contact { background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream-3) 100%); }
.contact-card { border-radius: 34px; }
.contact-inner { border-radius: 27px; padding: clamp(36px, 5vw, 70px); }
.contact-inner.card-inner::before { display: none; }
.contact-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 5vw, 70px); }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; justify-content: center; border-left: 1px solid rgba(156,123,69,.18); padding-left: clamp(24px, 4vw, 54px); }
.info-block h4 { font-size: 1.1rem; color: var(--bronze); margin-bottom: 6px; font-weight: 400; }
.info-block p { color: var(--ink-soft); font-size: 1rem; }
.info-link { color: var(--ink-soft); transition: color .25s var(--ease-out); border-bottom: 1px solid transparent; }
@media (hover: hover) { .info-link:hover { color: var(--bronze); border-bottom-color: rgba(156,123,69,.4); } }
.info-block p .info-link { line-height: 2; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark-2); color: rgba(253,251,247,.7); padding: 70px 0 46px; }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer-emblem { height: 78px; width: auto; margin-bottom: 16px; }
.footer-wordmark { display: flex; flex-direction: column; align-items: center; }
.footer-wordmark .brand-name { color: var(--white); font-size: 24px; letter-spacing: .3em; }
.footer-wordmark .brand-sub { color: var(--sand); }
.footer-addr { font-size: .97rem; }
.footer-legal { font-size: .8rem; color: rgba(253,251,247,.45); }
.footer-legal a { color: var(--sand); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  transition: transform .3s var(--ease-out);
}
.wa-float:active { transform: scale(0.94); }
@media (hover: hover) { .wa-float:hover { transform: scale(1.08) translateY(-2px); } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); filter: blur(6px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out), filter .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .spotlight-videos { grid-template-columns: 1fr; }
  .video-frame.portrait { max-width: 380px; margin-inline: auto; width: 100%; }
  .contact-inner { grid-template-columns: 1fr; }
  .contact-info { border-left: 0; padding-left: 0; border-top: 1px solid rgba(156,123,69,.18); padding-top: 30px; }
  .clinic-gallery { height: 380px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .nav-wrap { top: 14px; padding-inline: 14px; }
  .nav-pill { padding: 9px 9px 9px 18px; }
  .cards { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-actions .btn { width: 100%; justify-content: center; }
  .section { padding: 84px 0; }
}

/* menu open: morph hamburger to X */
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); }

/* ============================================================
   NUOVE SEZIONI (copy esteso)
   ============================================================ */

/* hero stats */
.hero-stats { display: flex; gap: clamp(28px, 5vw, 56px); margin-top: 56px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--bronze); line-height: 1; font-weight: 420; }
.stat-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); }

/* method / sistema integrato */
.section-method-sys { background: var(--cream); }
.sys-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sys-card .card-inner { display: flex; flex-direction: column; height: 100%; }
.sys-ico { font-size: 26px; color: var(--bronze); margin-bottom: 16px; line-height: 1; }
.sys-card h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 400; }
.sys-card p { color: var(--ink-soft); font-size: .98rem; }
.method-note { text-align: center; margin-top: 44px; color: var(--ink-soft); font-size: 1.06rem; }
.method-note.light { color: rgba(253,251,247,.72); }

/* tecnologie */
.section-tech { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tech-cat { display: inline-block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .18em; color: var(--bronze); font-weight: 600; margin-bottom: 12px; }
.tech-card h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 400; }
.tech-card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 20px; }
.benefits { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.benefits li { position: relative; padding-left: 28px; font-size: .95rem; color: var(--ink); }
.benefits li::before {
  content: "✓"; position: absolute; left: 0; top: .12em;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(156,123,69,.15); color: var(--bronze);
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.tech-also { text-align: center; margin-top: 40px; color: var(--ink-soft); }
.tech-also strong { color: var(--ink); font-weight: 500; }

/* protocolli */
.section-protocols { background: var(--cream-2); }
.protocols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.protocol .card-inner { display: flex; flex-direction: column; height: 100%; }
.protocol.featured { background: rgba(156,123,69,.06); border-color: rgba(156,123,69,.24); box-shadow: 0 30px 64px rgba(26,38,33,.11); }
.proto-dur { align-self: flex-start; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--bronze); border: 1px solid rgba(156,123,69,.3); border-radius: 100px; padding: 6px 14px; margin-bottom: 20px; }
.protocol h3 { font-size: 1.6rem; font-weight: 400; }
.proto-sub { color: var(--bronze); font-style: italic; font-family: var(--serif); font-size: 1.18rem; margin: 4px 0 16px; }
.protocol > .card-inner > p { color: var(--ink-soft); font-size: .98rem; }
.proto-h { font-size: .76rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); margin: 24px 0 12px; font-family: var(--sans); font-weight: 600; }
.proto-tech { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.proto-tech li { font-size: .92rem; color: var(--ink-soft); padding-left: 18px; position: relative; }
.proto-tech li::before { content: "—"; position: absolute; left: 0; color: var(--bronze); }
.proto-cta { margin-top: 26px; align-self: flex-start; }

/* diagnostica */
.section-diagnostics { background: var(--dark); color: var(--white); }
.diag-lead { color: rgba(253,251,247,.72); }
.diag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.diag-col { padding: 28px 26px; border: 1px solid rgba(201,183,156,.16); border-radius: var(--r-md); background: rgba(255,255,255,.03); }
.diag-col h3 { font-size: 1.18rem; color: var(--white); margin-bottom: 16px; font-weight: 400; }
.diag-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.diag-col li { font-size: .92rem; color: rgba(253,251,247,.74); padding-left: 18px; position: relative; }
.diag-col li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--sand); }

/* risultati */
.section-results { background: linear-gradient(180deg, var(--cream-2), var(--cream-3)); }
.results-stats { display: flex; justify-content: center; gap: clamp(36px, 6vw, 72px); flex-wrap: wrap; margin-bottom: 62px; }
.rstat { text-align: center; }
.rstat .stat-num { font-size: clamp(2.6rem, 5vw, 3.7rem); }
.rstat .stat-label { display: block; margin-top: 8px; }
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi .card-inner { display: flex; flex-direction: column; height: 100%; }
.testi blockquote { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--ink); font-style: italic; }
.testi-metrics { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 18px; }
.testi-metrics span { font-size: .73rem; background: rgba(156,123,69,.1); color: var(--bronze); padding: 5px 11px; border-radius: 100px; font-weight: 600; }
.testi figcaption { color: var(--ink-soft); font-size: .92rem; margin-top: auto; }
.testi figcaption strong { color: var(--ink); font-weight: 600; }
.results-note { text-align: center; margin-top: 42px; color: var(--ink-faint); font-size: .84rem; letter-spacing: .04em; }

/* percorso */
.section-journey { background: var(--cream); }
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.jstep .step-num { margin-bottom: 18px; border-color: rgba(156,123,69,.35); color: var(--bronze); background: radial-gradient(120% 120% at 30% 20%, rgba(156,123,69,.1), transparent 70%); }
.jdur { display: block; font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; color: var(--bronze); margin-bottom: 8px; font-weight: 600; }
.jstep h3 { font-size: 1.3rem; margin-bottom: 10px; font-weight: 400; }
.jstep p { color: var(--ink-soft); font-size: .96rem; }

/* founder */
.section-founder { background: linear-gradient(180deg, var(--cream), var(--cream-2)); }
.section-founder .split { align-items: start; }
.founder-portrait { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: linear-gradient(150deg, #E7DECF, #C2A875); display: grid; place-items: center; box-shadow: 0 30px 70px rgba(26,38,33,.12); }
.founder-img { width: 100%; height: 100%; object-fit: cover; }
.founder-portrait.no-img .founder-img { display: none; }
.founder-fallback { display: none; font-family: var(--serif); font-size: 1.7rem; color: #6b573a; text-align: center; letter-spacing: .05em; line-height: 1.3; }
.founder-portrait.no-img .founder-fallback { display: block; }
.founder-fallback small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.founder-values { display: flex; flex-direction: column; gap: 18px; margin-top: 32px; }
.fval h4 { font-size: 1.1rem; color: var(--ink); font-weight: 400; margin-bottom: 4px; }
.fval p { color: var(--ink-soft); font-size: .95rem; }
.founder-sign { margin-top: 30px; font-family: var(--serif); font-size: 1.2rem; color: var(--ink); }
.founder-sign span { font-family: var(--sans); font-size: .85rem; color: var(--ink-soft); display: block; margin-top: 3px; }

/* footer extra */
.footer-tag { max-width: 440px; color: rgba(253,251,247,.6); font-size: .92rem; margin-top: 2px; }
.footer-disclaimer { max-width: 680px; color: rgba(253,251,247,.4); font-size: .76rem; line-height: 1.6; margin-top: 10px; }
.results-disclaimer { text-align: center; max-width: 640px; margin: 14px auto 0; color: var(--ink-faint); font-size: .78rem; line-height: 1.6; font-style: italic; }

/* banner conversione (assistente) */
.section-cta-banner { background: var(--dark); color: var(--white); position: relative; overflow: hidden; }
.section-cta-banner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 80% 10%, rgba(183,147,97,.22), transparent 60%),
              radial-gradient(50% 70% at 10% 95%, rgba(124,140,122,.18), transparent 60%);
}
.cta-banner { position: relative; text-align: center; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.cta-banner-lead { color: rgba(253,251,247,.74); margin-bottom: 38px; }

/* assistant CTA (dentro protocolli) */
.assistant-cta {
  margin-top: 44px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.assistant-cta p { color: var(--ink-soft); font-size: 1.08rem; max-width: 520px; }

/* assistant modal */
.assistant-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility .35s; }
body.assistant-open { overflow: hidden; }
body.assistant-open .assistant-modal { opacity: 1; visibility: visible; }
.assistant-backdrop { position: absolute; inset: 0; background: rgba(20,28,23,.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.assistant-card {
  position: relative; z-index: 1; width: 100%; max-width: 480px;
  background: var(--cream); border: 1px solid rgba(156,123,69,.18);
  border-radius: 26px; padding: 28px; box-shadow: 0 40px 100px rgba(20,28,23,.32);
  transform: translateY(14px) scale(.98); transition: transform .45s var(--ease-drawer);
  max-height: 88vh; overflow-y: auto;
}
body.assistant-open .assistant-card { transform: none; }
.assistant-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(26,38,33,.12); background: transparent; cursor: pointer; color: var(--ink-soft); font-size: 13px; transition: background-color .25s, transform .2s var(--ease-out); }
.assistant-close:hover { background: rgba(26,38,33,.05); }
.assistant-close:active { transform: scale(.94); }
.assistant-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.assistant-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--bronze); background: radial-gradient(120% 120% at 30% 20%, rgba(183,147,97,.2), rgba(156,123,69,.08)); border: 1px solid rgba(156,123,69,.25); flex: none; }
.assistant-id { display: flex; flex-direction: column; line-height: 1.3; }
.assistant-id strong { font-family: var(--serif); font-weight: 460; font-size: 1.15rem; color: var(--ink); }
.assistant-status { font-size: .78rem; color: var(--bronze); letter-spacing: .04em; }
.assistant-progress { height: 3px; background: rgba(156,123,69,.14); border-radius: 3px; overflow: hidden; margin-bottom: 22px; }
.assistant-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--bronze), var(--sand)); border-radius: 3px; transition: width .45s var(--ease-out); }
.assistant-q { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; color: var(--ink); margin-bottom: 20px; }
.assistant-opts { display: flex; flex-direction: column; gap: 10px; }
.assistant-opt {
  text-align: left; padding: 15px 18px; border-radius: 14px;
  border: 1px solid rgba(26,38,33,.12); background: var(--white);
  font-family: var(--sans); font-size: 1rem; color: var(--ink); cursor: pointer;
  transition: border-color .25s var(--ease-out), background-color .25s var(--ease-out), transform .18s var(--ease-out);
}
.assistant-opt:hover { border-color: var(--bronze); background: rgba(156,123,69,.05); }
.assistant-opt:active { transform: scale(.985); }
.assistant-hint { font-size: .82rem; color: var(--bronze); margin: -10px 0 16px; letter-spacing: .02em; }
.assistant-opts.multi .assistant-opt { padding-left: 46px; position: relative; }
.assistant-opts.multi .assistant-opt::before {
  content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid rgba(26,38,33,.22);
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.assistant-opt.sel { border-color: var(--bronze); background: rgba(156,123,69,.08); }
.assistant-opts.multi .assistant-opt.sel::before { background: var(--bronze); border-color: var(--bronze); }
.assistant-opts.multi .assistant-opt.sel::after {
  content: "✓"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 11px; font-weight: 700;
}
.assistant-opts.err .assistant-opt::before { border-color: #c0563f; }
.assistant-opts.multi + .assistant-next { margin-top: 18px; }
.assistant-field {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(26,38,33,.14);
  background: var(--white); font-family: var(--sans); font-size: 1rem; color: var(--ink); resize: vertical;
}
.assistant-field:focus { outline: none; border-color: var(--bronze); }
.assistant-field.err { border-color: #c0563f; }
.assistant-next { margin-top: 16px; }
.assistant-summary { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 22px; }
.assistant-summary li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; background: var(--white); border: 1px solid rgba(156,123,69,.14); border-radius: 12px; font-size: .95rem; }
.assistant-summary li span { color: var(--ink-soft); }
.assistant-summary li strong { color: var(--ink); font-weight: 600; text-align: right; }
.assistant-send { width: 100%; justify-content: center; background: #25D366; box-shadow: 0 10px 26px rgba(37,211,102,.28); }
.assistant-send:hover { background: #1fbb59; }
.assistant-send .btn-icon { background: rgba(255,255,255,.22); }
.assistant-restart { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--ink-soft); font-size: .85rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* responsive nuove sezioni */
@media (max-width: 940px) {
  .sys-grid { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .protocols { grid-template-columns: 1fr; }
  .protocol.featured { box-shadow: 0 20px 44px rgba(26,38,33,.10); }
  .diag-grid { grid-template-columns: 1fr 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hero-stats { gap: 26px; }
  .sys-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  .diag-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .results-stats { gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .overlay-links a span { transform: none; }
  .hero-bg::after { animation: none; }
}
