/* ============================================================
   Romeo Gasparini — Codice Business™
   Stylesheet — palette navy/oro/cream, executive editorial
   ============================================================ */

:root {
  /* Surface — deep navy (executive contrast per il rosso del brand) */
  --bg:            #0F1F38;
  --bg-elev:       #17294B;
  --bg-elev-2:     #1E345E;
  --bg-soft:       #0A1729;

  /* Ink — warm cream */
  --ink:           #F2E9D8;
  --ink-muted:     #C9D1DD;
  --ink-dim:       #8595AB;

  /* Accent — lampone esatto del brand originale */
  --accent:        #C61645;
  --accent-soft:   #E83A6A;
  --accent-deep:   #960C32;
  --accent-faint:  rgba(198, 22, 69, 0.14);

  /* Functional */
  --whats:         #22A45B;
  --whats-hover:   #1c8e4f;
  --line:          rgba(242, 233, 216, 0.13);
  --line-strong:   rgba(242, 233, 216, 0.26);
  --shadow-lg:     0 30px 80px -30px rgba(3,8,18,.75), 0 12px 40px -20px rgba(3,8,18,.6);
  --shadow-md:     0 14px 40px -22px rgba(3,8,18,.7);

  /* Type */
  --font-display:  'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:     'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-italic:   'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-mono:     'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --maxw:          1180px;
  --maxw-narrow:   880px;
  --radius:        14px;
  --radius-lg:     22px;
  --ease:          cubic-bezier(.22,.61,.36,1);

  --space-xs: clamp(.5rem, .4rem + .4vw, .75rem);
  --space-sm: clamp(.75rem, .6rem + .6vw, 1.1rem);
  --space-md: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  --space-lg: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --space-xl: clamp(3.25rem, 2.5rem + 3vw, 5.5rem);
  --space-2xl: clamp(5rem, 4rem + 5vw, 8.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(15px, .95rem + .15vw, 17px);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent-soft); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; padding: .75rem 1rem;
  background: var(--accent); color: var(--bg); font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout helpers ---------- */
.container { max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }

.eyebrow {
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin: 0 0 .9rem;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow--center { display: flex; justify-content: center; }
.eyebrow__dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(232,58,106,.15);
}

.section-head { max-width: var(--maxw-narrow); margin: 0 auto var(--space-lg); text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 .8rem;
  color: var(--ink);
}
.section-title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -.01em;
  font-variation-settings: "opsz" 100;
}
.section-sub {
  color: var(--ink-muted);
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: .9rem 0;
  background: linear-gradient(to bottom, rgba(11,20,36,.6), rgba(11,20,36,0));
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(11,20,36,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: baseline; gap: .65rem;
  color: var(--ink);
  line-height: 1;
}
.brand:hover { color: var(--ink); }
.brand__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.02em;
}
.brand__sep {
  width: 1px; height: .85rem;
  background: var(--line-strong);
  display: inline-block;
  align-self: center;
}
.brand__tag {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}
.brand__tag sup { font-size: .7em; letter-spacing: 0; }
@media (max-width: 420px) {
  .brand__sep, .brand__tag { display: none; }
  .brand__name { font-size: .95rem; }
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  color: var(--ink-muted); font-size: .92rem; font-weight: 500; letter-spacing: .01em;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .btn { color: var(--ink); }

@media (max-width: 720px) {
  .site-nav a:not(.btn) { display: none; }
  .brand__tag { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .005em;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn--sm { padding: .6rem 1.1rem; font-size: .88rem; }
.btn--block { width: 100%; padding-block: 1.1rem; }

.btn--primary {
  background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  color: #FFF6E8;
  box-shadow: 0 10px 30px -12px rgba(232,58,106,.5), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { transform: translateY(-1px); color: #FFF6E8; box-shadow: 0 18px 40px -14px rgba(232,58,106,.65), inset 0 1px 0 rgba(255,255,255,.4); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--accent-faint); color: var(--accent-soft); border-color: var(--accent); }

.btn--whatsapp {
  background: var(--whats);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(34,164,91,.5);
}
.btn--whatsapp:hover { background: var(--whats-hover); color: #fff; transform: translateY(-1px); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-xl) + 4rem) 0 var(--space-xl);
  overflow: hidden;
}
@supports not (height: 100svh) {
  .hero { min-height: 100vh; }
}
@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding: calc(var(--space-lg) + 5rem) 0 var(--space-xl);
  }
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(232,58,106,.10), transparent 60%),
    radial-gradient(900px 500px at 100% 30%, rgba(150,12,50,.35), transparent 65%);
}
.hero__halo {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
}
.hero__halo--a { width: 380px; height: 380px; background: rgba(232,58,106,.22); top: -120px; left: -100px; }
.hero__halo--b { width: 500px; height: 500px; background: rgba(150,12,50,.4); bottom: -200px; right: -150px; }

.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: var(--space-xl);
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  width: 100%;
}
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-md); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.035em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}
.hero__title em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  font-size: 1.15em;
  color: var(--accent);
  position: relative;
  white-space: nowrap;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 144;
  vertical-align: -0.04em;
}
.hero__title em::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: -.04em; height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: .55;
}

.hero__lede {
  font-size: clamp(1.05rem, .98rem + .3vw, 1.2rem);
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0 0 var(--space-md);
  line-height: 1.65;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: var(--space-md); }
@media (max-width: 480px) {
  .hero__cta { gap: .7rem; }
  .hero__cta .btn { width: 100%; padding-block: 1.05rem; }
}

.hero__trust {
  display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem;
  list-style: none; padding: 0; margin: 0;
  font-size: .9rem; color: var(--ink-dim);
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.hero__trust strong { color: var(--ink); font-weight: 600; }

/* Hero scroll cue (desktop only — hero is 100svh there) */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.2rem, 2.5vw, 2rem);
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: .8rem;
  color: var(--ink-dim);
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  z-index: 2;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.hero__scroll:hover { color: var(--accent); transform: translateX(-50%) translateY(2px); }
.hero__scroll-line {
  display: block; width: 1px; height: 38px;
  background: linear-gradient(to bottom, transparent, var(--accent) 30%, var(--accent) 70%, transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: ""; position: absolute; top: -100%; left: 0; right: 0; height: 50%;
  background: linear-gradient(to bottom, transparent, var(--ink));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(0); }
  100% { transform: translateY(300%); }
}
@media (max-width: 920px) {
  .hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__scroll-line::after { animation: none; }
}

.hero__media {
  margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.hero__photo-wrap {
  position: relative;
  width: 100%; max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease);
  box-shadow:
    0 0 0 1px rgba(242,233,216,.10),
    0 0 0 12px rgba(232,58,106,.05),
    0 0 0 13px rgba(232,58,106,.14),
    0 40px 100px -30px rgba(3,8,18,.7),
    0 0 90px rgba(232,58,106,.22);
}
.hero__photo-wrap:hover { transform: scale(1.015); }
.hero__photo-wrap img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  filter: contrast(1.04) saturate(1.06);
  transform: scale(1.6);
  transform-origin: center 40%;
}
@media (max-width: 540px) {
  .hero__photo-wrap {
    max-width: 280px;
    box-shadow:
      0 0 0 1px rgba(242,233,216,.10),
      0 0 0 10px rgba(232,58,106,.05),
      0 0 0 11px rgba(232,58,106,.14),
      0 30px 70px -22px rgba(3,8,18,.7),
      0 0 60px rgba(232,58,106,.22);
  }
}
@media (max-width: 380px) {
  .hero__photo-wrap { max-width: 240px; }
}
.hero__photo-tag {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink-muted);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: .55rem .9rem;
  background: rgba(3,8,18,.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  white-space: nowrap;
}
.hero__photo-tag__dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(232,58,106,.2);
}
.hero__photo-tag__sep {
  width: 3px; height: 3px;
  background: var(--ink-dim);
  border-radius: 50%;
  opacity: .6;
}

/* ---------- PROBLEM ---------- */
.problem { padding: var(--space-xl) 0; background: var(--bg-soft); border-block: 1px solid var(--line); }
.problems {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  counter-reset: pcard;
}
@media (max-width: 900px) { .problems { grid-template-columns: 1fr; } }

.problem-card {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.85rem;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
}
.problem-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.problem-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.problem-card:hover::before { opacity: 1; }
.problem-card__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .78rem; color: var(--accent);
  margin-bottom: 1rem;
  letter-spacing: .12em;
  font-weight: 500;
}
.problem-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.35rem; line-height: 1.2;
  letter-spacing: -.02em;
  margin: 0 0 .65rem;
  color: var(--ink);
}
.problem-card p { color: var(--ink-muted); margin: 0; font-size: .98rem; }

/* ---------- METHOD ---------- */
.method { padding: var(--space-2xl) 0; }
.phases {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px) { .phases { grid-template-columns: 1fr; } }

.phase {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.phase:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.phase--accent {
  background: linear-gradient(180deg, #C61645, #960C32);
  border-color: rgba(232,58,106,.4);
  box-shadow: 0 0 0 1px rgba(232,58,106,.12), 0 20px 50px -25px rgba(3,8,18,.7);
}
.phase__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.phase__num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.phase h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.025em; margin: 0; color: var(--ink); }
.phase > p { color: var(--ink-muted); margin: 0 0 1rem; }
.phase__list { list-style: none; padding: 0; margin: 0; }
.phase__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: .55rem;
  color: var(--ink);
  font-size: .94rem;
}
.phase__list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .6rem; height: 1px; background: var(--accent);
}

/* ---------- BIO ---------- */
.bio {
  padding: var(--space-xl) 0;
  background:
    radial-gradient(800px 500px at 80% 0%, rgba(232,58,106,.08), transparent 60%),
    var(--bg-soft);
  border-block: 1px solid var(--line);
}
.bio__inner { max-width: var(--maxw-narrow); margin: 0 auto; }
.bio__copy p { color: var(--ink-muted); font-size: 1.05rem; margin: 0 0 1.1rem; }
.bio__copy p strong { color: var(--ink); font-weight: 600; }
.bio__copy .section-title { text-align: left; }

/* Pull-quote (manifesto) */
.pull-quote {
  margin: var(--space-md) 0;
  padding: 0;
  border: 0;
  position: relative;
  padding-left: clamp(1.25rem, .6rem + 1.5vw, 2rem);
  border-left: 2px solid var(--accent);
}
.pull-quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -.02em;
  margin: 0;
}
.pull-quote em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 100;
  letter-spacing: -.01em;
}

.bio__stats {
  margin: var(--space-lg) 0 0;
  padding: var(--space-md) 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 1rem + 1vw, 2rem);
  border-top: 1px solid var(--line);
}
.bio__stats > div { text-align: left; }
.bio__stats dt {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.8rem);
  font-weight: 600;
  color: var(--accent);
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: .55rem;
  white-space: nowrap;
}
.bio__stats-sep {
  color: var(--accent-soft);
  opacity: .55;
  padding: 0 .04em;
  font-weight: 400;
}
.bio__stats dd {
  margin: 0;
  color: var(--ink-muted);
  font-size: .92rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  line-height: 1.3;
}
.bio__stats dd em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  font-variation-settings: "opsz" 36;
}
@media (max-width: 560px) {
  .bio__stats { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- VOICES / TESTIMONIALS ---------- */
.voices {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(700px 400px at 90% 10%, rgba(232,58,106,.08), transparent 60%),
    var(--bg);
  border-block: 1px solid var(--line);
}
.voices__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}
@media (max-width: 920px) { .voices__grid { grid-template-columns: 1fr; } }

.voice {
  position: relative;
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem 1.6rem;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
}
.voice:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.voice--accent {
  background: linear-gradient(180deg, #C61645, #960C32);
  border-color: rgba(232,58,106,.4);
  box-shadow: 0 0 0 1px rgba(232,58,106,.12), 0 20px 50px -25px rgba(3,8,18,.7);
}
.voice--accent:hover { border-color: rgba(232,58,106,.55); }

.voice__mark {
  position: absolute;
  top: -.4rem; left: 1.2rem;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: .25;
  pointer-events: none;
  user-select: none;
}

.voice__quote {
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1;
}
.voice__quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -.005em;
}
.voice__quote em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 36;
}
.voice--accent .voice__quote em { color: var(--accent-soft); }

.voice__author {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  margin: 0;
}
.voice--accent .voice__author { border-top-color: rgba(232,58,106,.22); }
.voice__avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  border-radius: 50%;
  letter-spacing: -.02em;
}
.voice--accent .voice__avatar {
  background: linear-gradient(135deg, var(--ink), #E5D3B8);
  color: #5A1820;
}
.voice__name {
  margin: 0;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.005em;
}
.voice__meta {
  margin: 1px 0 0;
  font-size: .76rem;
  color: var(--ink-dim);
  letter-spacing: .02em;
}
.voice--accent .voice__meta { color: var(--ink-muted); opacity: .85; }

/* ---------- FAQ ---------- */
.faq { padding: var(--space-2xl) 0; }
.faq__list { max-width: var(--maxw-narrow); margin: 0 auto; display: grid; gap: .75rem; }

.faq__item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--line-strong); background: var(--bg-elev-2); }
.faq__item summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500;
  letter-spacing: -.015em;
  color: var(--ink);
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-soft); }
.faq__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: relative;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--accent); top: 50%; left: 50%;
  width: 10px; height: 1.5px; transform: translate(-50%, -50%);
  transition: transform .3s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { background: var(--accent); transform: rotate(180deg); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--bg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }

.faq__body { padding: 0 1.4rem 1.3rem; color: var(--ink-muted); }
.faq__body p { margin: 0; }
.faq__item[open] .faq__body {
  animation: faqIn .35s var(--ease) both;
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__item[open] .faq__body { animation: none; }
}

/* ---------- PRENOTA / FORM ---------- */
.prenota {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(232,58,106,.10), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}
.prenota__inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-xl);
  align-items: start;
}
@media (max-width: 980px) {
  .prenota__inner { grid-template-columns: 1fr; }
}
.prenota__intro .section-title { text-align: left; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); }
.prenota__intro p { color: var(--ink-muted); font-size: 1.05rem; }
.prenota__alt { margin-top: 1rem; color: var(--ink-dim); font-size: .95rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--accent); font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
}
.link-arrow:hover { color: var(--accent-soft); border-bottom-color: var(--accent); }

.form-card {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg-elev-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  display: grid; gap: 1.15rem;
}
.field { display: grid; gap: .45rem; }
.field-row { display: grid; gap: 1.15rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-dim); font-weight: 500;
}
.field__opt { text-transform: none; letter-spacing: 0; color: var(--ink-dim); font-style: italic; font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(11,20,36,.65);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .85rem 1rem;
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); opacity: .7; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(11,20,36,.85);
  box-shadow: 0 0 0 4px rgba(232,58,106,.10);
}
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select {
  border-color: #d97373;
}
.field__error {
  font-size: .82rem; color: #f0a4a4; min-height: 1em; line-height: 1.3;
}

.select-wrap {
  position: relative;
}
.select-wrap::after {
  content: ""; position: absolute; right: 1rem; top: 50%;
  width: 8px; height: 8px;
  border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.select-wrap select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}
.select-wrap select option { background: var(--bg-elev); color: var(--ink); }

.checkbox {
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: .9rem; color: var(--ink-muted); line-height: 1.5;
  cursor: pointer;
}
.checkbox input {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; flex-shrink: 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: rgba(11,20,36,.7);
  cursor: pointer;
  position: relative;
  transition: background .2s, border-color .2s;
  margin-top: 1px;
}
.checkbox input:checked { background: var(--accent); border-color: var(--accent); }
.checkbox input:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px;
  width: 6px; height: 11px;
  border: solid var(--bg); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form-card__note {
  font-size: .82rem;
  color: var(--ink-dim);
  text-align: center;
  margin: -.4rem 0 0;
  line-height: 1.55;
}
.form-card__status {
  margin: 0; font-size: .92rem; min-height: 1.2em; text-align: center;
}
.form-card__status.is-success { color: #8ad9a4; }
.form-card__status.is-error { color: #f0a4a4; }

/* ---------- FOOTER ---------- */
.site-footer {
  padding: var(--space-xl) 0 calc(var(--space-lg) + env(safe-area-inset-bottom, 0px) + 80px);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-lg);
}
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; gap: var(--space-md); } }
.site-footer__brand { display: flex; flex-direction: column; gap: .25rem; }
.site-footer__name { margin: 0; font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.site-footer__tag { margin: 0; color: var(--ink-dim); font-size: .85rem; }
.site-footer__meta p { margin: 0 0 .8rem; color: var(--ink-dim); font-size: .82rem; line-height: 1.6; }
.site-footer__legal { font-style: italic; opacity: .8; }
.site-footer__copy { color: var(--ink-dim); }
.site-footer__links {
  display: flex; flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.social-link {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink-muted);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: -.005em;
  transition: color .2s var(--ease);
}
.social-link:hover { color: var(--accent); }
.social-link svg { flex-shrink: 0; }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: max(clamp(1rem, 3vw, 1.5rem), env(safe-area-inset-right, 0px));
  bottom: max(clamp(1rem, 3vw, 1.5rem), env(safe-area-inset-bottom, 0px));
  z-index: 40;
  width: 56px; height: 56px;
  background: var(--whats); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(34,164,91,.55), 0 0 0 0 rgba(34,164,91,.4);
  transition: transform .25s var(--ease), background .2s var(--ease), box-shadow .3s var(--ease);
  animation: pulse 2.6s var(--ease) infinite;
}
@media (max-width: 480px) {
  .wa-fab { width: 52px; height: 52px; }
}
.wa-fab:hover { background: var(--whats-hover); color: #fff; transform: scale(1.08); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 12px 30px -8px rgba(34,164,91,.55), 0 0 0 0 rgba(34,164,91,.4); }
  60% { box-shadow: 0 12px 30px -8px rgba(34,164,91,.55), 0 0 0 16px rgba(34,164,91,0); }
}
@media (prefers-reduced-motion: reduce) { .wa-fab { animation: none; } }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  background: linear-gradient(to right, var(--accent-deep), var(--accent), var(--accent-soft));
  z-index: 100;
  pointer-events: none;
  transition: transform .12s linear;
}

/* ---------- Mesh + grain inside hero ---------- */
.hero__mesh {
  position: absolute; inset: -15% -10%;
  background:
    radial-gradient(closest-side at 30% 25%, rgba(232,58,106,.32), transparent 70%),
    radial-gradient(closest-side at 75% 55%, rgba(198,60,80,.45), transparent 70%),
    radial-gradient(closest-side at 50% 95%, rgba(232,140,150,.22), transparent 70%);
  filter: blur(50px) saturate(1.1);
  opacity: .85;
  animation: meshDrift 22s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes meshDrift {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  50%  { transform: translate(-2%, 1.5%) scale(1.06) rotate(2deg); }
  100% { transform: translate(2%, -1%) scale(1.03) rotate(-1.5deg); }
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.95 0 0 0 0 0.91 0 0 0 0 0.85 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .12;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero__mesh { animation: none; }
}

/* ---------- Word-by-word reveal (hero H1) ---------- */
.hero__title .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  will-change: opacity, transform, filter;
}
.hero__title .word.is-in {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.hero__title .space { display: inline-block; width: .3em; }
@media (prefers-reduced-motion: reduce) {
  .hero__title .word { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: 1.4rem 0;
  background: linear-gradient(180deg, var(--bg-soft), color-mix(in srgb, var(--bg-soft) 80%, black));
  border-block: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 2.5rem;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee__group { display: flex; gap: 2.5rem; align-items: center; flex-shrink: 0; }
.marquee__group span:not(.marquee__dot) {
  font-size: clamp(1.05rem, .9rem + .5vw, 1.4rem);
  color: var(--ink-muted);
  white-space: nowrap;
  letter-spacing: -.01em;
  font-weight: 400;
}
.marquee__group em {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-variation-settings: "opsz" 100;
  margin: 0 .1em;
}
.marquee__dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  opacity: .55;
  flex-shrink: 0;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Selection ---------- */
::selection { background: var(--accent); color: var(--bg); }
