/* ===========================================================
   il fisioterapista libero — stylesheet
   Palette: avorio #F3E7D5 · superficie #EFE2CE · cacao #3C3026
            terracotta #C67850 · ambra #BE8A4A
   =========================================================== */

:root {
  --bg: #F3E7D5;
  --surface: #EFE2CE;
  --paper: #FAF4EA;            /* avorio chiarissimo per le card in rilievo */
  --title: #3C3026;
  --body-text: #4A3D31;
  --muted: #75604F;            /* #8B7A68 scurito per contrasto AA */
  --accent: #C67850;
  --accent-deep: #A85F3B;      /* terracotta profondo: fondo bottoni con testo bianco AA */
  --accent-deeper: #8F4E2F;
  --accent-ink: #8A4A2E;       /* terracotta per testo piccolo su chiaro (AA) */
  --accent2: #BE8A4A;
  --accent2-ink: #D2A56C;      /* ambra per testo su fondo scuro (AA) */
  --dark-bg: #3C3026;
  --dark-bg-2: #332820;
  --dark-text: #F3E7D5;
  --line: rgba(60, 48, 38, 0.1);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(60, 48, 38, 0.05), 0 2px 8px rgba(60, 48, 38, 0.05);
  --shadow: 0 2px 4px rgba(60, 48, 38, 0.04), 0 12px 32px -8px rgba(60, 48, 38, 0.14);
  --shadow-lg: 0 4px 10px rgba(60, 48, 38, 0.05), 0 30px 60px -18px rgba(60, 48, 38, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --max-width: 1160px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body-text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: var(--accent-ink); }

h1, h2, h3,
.brand, .footer-brand, .quote blockquote, .pull, .stat strong, .price-amount, .step-num, .profile-name, .treat-cta-title {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 32;
}

h1, h2, h3 {
  color: var(--title);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.005em; }

h1 em, h2 em, .brand em, .footer-brand em, .quote em, .pull em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-ink);
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section-tight { padding-top: 24px; }
.section-alt { background: var(--surface); }

.section-header { margin-bottom: clamp(36px, 5vw, 56px); max-width: 680px; }
.section-header.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-header h2 { margin-bottom: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 16px;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}
.section-header.center .kicker::after {
  content: "";
  width: 22px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
}
.kicker-light { color: var(--accent2-ink); }

/* ---------- bottoni ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.005em;
  line-height: 1.2;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s ease;
}

.btn-primary {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 10px 24px -8px rgba(168, 95, 59, 0.6);
}
.btn-primary:hover {
  background: var(--accent-deeper);
  transform: translateY(-2px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 16px 32px -10px rgba(168, 95, 59, 0.7);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--accent2); outline-offset: 3px; }

.btn-arrow { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-sm { padding: 11px 20px; font-size: 0.92rem; }
.btn-block { width: 100%; }

/* bottone secondario (grazie.html) */
.btn-whatsapp {
  background: transparent;
  color: var(--title);
  box-shadow: inset 0 0 0 1.5px var(--accent2);
}
.btn-whatsapp:hover { background: var(--accent2); color: var(--dark-bg); }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 8px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: none;
  margin-top: 12px;
}
.text-link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 231, 213, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -12px rgba(60, 48, 38, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--title);
  font-weight: 500;
  font-size: 1.12rem;
  min-width: 0;
  position: relative;
  z-index: 2;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  padding: 6px;
  background: #fff;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.brand span { white-space: nowrap; }

.main-nav { display: flex; align-items: center; gap: 34px; }

.main-nav a:not(.btn) {
  position: relative;
  color: var(--body-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.97rem;
  padding: 6px 0;
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--title); }

.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    padding: 0 12px;
    border: 0;
    border-radius: 50%;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    position: relative;
    z-index: 2;
  }
  .menu-toggle span {
    display: block;
    height: 1.8px;
    border-radius: 2px;
    background: var(--title);
    transition: transform 0.4s var(--ease);
  }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.9px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.9px) rotate(-45deg); }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    padding: 100px 28px 40px;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) {
    font-family: 'Fraunces', Georgia, serif;
    font-optical-sizing: none;
    font-variation-settings: "opsz" 32;
    font-size: 2.3rem;
    color: var(--title);
    transform: translateY(12px);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
  }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav a[aria-current="page"] { font-style: italic; color: var(--accent-ink); }
  .menu-open .main-nav a { transform: none; opacity: 1; }
  .menu-open .main-nav a:nth-child(2) { transition-delay: 0.05s; }
  .menu-open .main-nav a:nth-child(3) { transition-delay: 0.1s; }
  .main-nav .nav-cta { margin-top: 28px; padding: 17px 30px; font-size: 1.02rem; }
  .menu-open { overflow: hidden; }
  /* backdrop-filter crea un contenitore per gli elementi fixed: va tolto a menu aperto */
  .menu-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
}

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  overflow: hidden; overflow: clip;
  padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px);
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; overflow: clip; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.blob-1 {
  width: 520px; height: 520px;
  right: -140px; top: -120px;
  background: radial-gradient(circle, rgba(198, 120, 80, 0.45), transparent 65%);
}
.blob-2 {
  width: 440px; height: 440px;
  left: -180px; bottom: -200px;
  background: radial-gradient(circle, rgba(190, 138, 74, 0.4), transparent 65%);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 920px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 40px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(250, 244, 234, 0.8);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--title);
  margin-bottom: 26px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(198, 120, 80, 0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(198, 120, 80, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(198, 120, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(198, 120, 80, 0); }
}

.hero h1 { margin-bottom: 24px; }
.hero .subtitle {
  font-size: clamp(1.08rem, 2vw, 1.22rem);
  color: var(--body-text);
  max-width: 34em;
  margin-bottom: 32px;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--title);
}
.trust-list li { display: flex; align-items: center; gap: 12px; }
.trust-list svg {
  flex: none;
  width: 24px; height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(198, 120, 80, 0.14);
  color: var(--accent-ink);
}

.hero-visual { display: flex; justify-content: center; }
.orbit {
  position: relative;
  width: min(100%, 440px);
  aspect-ratio: 1;
}
.orbit-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 60s linear infinite;
}
.ring { fill: none; stroke-width: 1.2; }
.ring-1 { stroke: rgba(190, 138, 74, 0.55); stroke-dasharray: 2 10; stroke-linecap: round; }
.ring-2 { stroke: rgba(198, 120, 80, 0.35); }
@keyframes spin { to { transform: rotate(360deg); } }

.logo-disc {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.logo-disc { box-shadow: var(--shadow-lg), 0 0 0 12px rgba(198, 120, 80, 0.1); }
.logo-disc img { width: 62%; height: auto; mix-blend-mode: multiply; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 16px;
  background: rgba(250, 244, 234, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float-chip strong { display: block; font-size: 0.92rem; color: var(--title); line-height: 1.25; }
.float-chip small { display: block; font-size: 0.78rem; color: var(--muted); }
.chip-icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--accent-deep);
  color: #fff;
}
.chip-icon svg { width: 20px; height: 20px; }
.chip-1 { left: -4%; top: 16%; }
.chip-2 { right: -4%; bottom: 14%; animation-delay: -3s; }
.chip-2 .chip-icon { background: var(--accent2); color: var(--dark-bg); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 480px) {
  .float-chip { padding: 9px 12px 9px 9px; gap: 9px; }
  .chip-icon { width: 34px; height: 34px; border-radius: 10px; }
  .float-chip strong { font-size: 0.82rem; }
  .float-chip small { font-size: 0.72rem; }
  .chip-1 { left: -2%; top: 8%; }
  .chip-2 { right: -2%; bottom: 6%; }
}

/* ---------- numeri ---------- */
.stats { background: var(--dark-bg); color: var(--dark-text); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
@media (min-width: 800px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; padding: 0 8px; }
@media (min-width: 800px) {
  .stat + .stat { border-left: 1px solid rgba(243, 231, 213, 0.12); }
}
.stat strong {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1;
  color: var(--accent2-ink);
  margin-bottom: 10px;
}
.stat strong small { font-size: 0.5em; opacity: 0.8; }
.stat > span { font-size: 0.9rem; color: rgba(243, 231, 213, 0.78); }

/* ---------- missione ---------- */
.mission { text-align: center; }
.quote { margin: 0 auto; max-width: 820px; }
.quote-mark { width: 52px; height: 40px; margin: 0 auto 28px; color: var(--accent); opacity: 0.55; }
.quote blockquote {
  margin: 0 0 32px;
  font-size: clamp(1.35rem, 3.2vw, 1.95rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--title);
  letter-spacing: -0.01em;
}
.quote figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.quote figcaption::before {
  content: "";
  width: 40px; height: 1.5px;
  background: var(--accent2);
  margin-bottom: 16px;
}
.sig { font-weight: 600; color: var(--title); }
.sig-role { font-size: 0.9rem; color: var(--muted); }

/* ---------- vantaggi ---------- */
.benefits-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.benefit {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.benefit-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(198, 120, 80, 0.18), rgba(190, 138, 74, 0.12));
  color: var(--accent-ink);
  margin-bottom: 22px;
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit p { margin: 0; color: var(--body-text); }

/* ---------- come funziona ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 36px;
  position: relative;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps::before {
    content: "";
    position: absolute;
    top: 32px;
    left: 16%;
    right: 16%;
    border-top: 1.5px dashed rgba(190, 138, 74, 0.6);
  }
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(198, 120, 80, 0.35);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--accent-ink);
}
.step p { color: var(--body-text); max-width: 28ch; margin: 0 auto; }

/* ---------- esplora ---------- */
.explore-grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .explore-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--body-text);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.explore-card::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  right: -60px; bottom: -80px;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 138, 74, 0.35);
  transition: transform 0.6s var(--ease);
}
.explore-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.explore-card:hover::after { transform: scale(1.25); }
.explore-card p { flex-grow: 1; margin-bottom: 24px; }
.explore-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(198, 120, 80, 0.14);
  color: var(--accent-ink);
  margin-bottom: 22px;
}
.explore-icon svg { width: 24px; height: 24px; }
.explore-card h3 { font-size: 1.55rem; font-weight: 500; }
.explore-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent-ink);
}
.explore-link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.explore-card:hover .explore-link svg { transform: translateX(5px); }

.explore-card-dark { background: var(--dark-bg); color: rgba(243, 231, 213, 0.85); }
.explore-card-dark h3 { color: var(--dark-text); }
.explore-card-dark .explore-icon { background: rgba(210, 165, 108, 0.16); color: var(--accent2-ink); }
.explore-card-dark .explore-link { color: var(--accent2-ink); }
.explore-card-dark::after { border-color: rgba(210, 165, 108, 0.3); }

/* ---------- testata pagine interne ---------- */
.page-hero {
  position: relative;
  overflow: hidden; overflow: clip;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); max-width: 16ch; }
.page-lead { font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 36em; margin: 0; }

.page-hero-split { display: grid; gap: 32px; align-items: end; }
@media (min-width: 860px) { .page-hero-split { grid-template-columns: 1fr auto; } }

.price-tag {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 26px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
  justify-self: start;
}
.price-amount { font-size: 2.6rem; font-weight: 500; color: var(--accent-ink); line-height: 1; }
.price-note { font-size: 0.88rem; line-height: 1.4; color: var(--muted); border-left: 1px solid var(--line); padding-left: 18px; }

/* ---------- chi sono ---------- */
.about-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 380px 1fr; gap: 72px; }
  .profile-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

.profile-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.profile-top {
  position: relative;
  padding: 36px 28px 30px;
  text-align: center;
  background: var(--dark-bg);
  color: var(--dark-text);
  overflow: hidden;
}
.profile-top::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  left: 50%; top: -170px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 120, 80, 0.4), transparent 70%);
}
.profile-logo {
  position: relative;
  width: 112px; height: 112px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 6px rgba(243, 231, 213, 0.1);
}
.profile-logo img { width: 64%; height: auto; }
.profile-name { position: relative; font-size: 1.4rem; margin: 0; color: var(--dark-text); }
.profile-role { position: relative; font-size: 0.92rem; color: rgba(243, 231, 213, 0.72); margin: 2px 0 18px; }
.badge-ordine {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(243, 231, 213, 0.1);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--dark-text);
}
.badge-ordine svg { width: 16px; height: 16px; color: var(--accent2-ink); }

.profile-bottom { padding: 28px; }
.profile-bottom h3 { font-size: 1.1rem; margin-bottom: 18px; }

.timeline { list-style: none; margin: 0 0 22px; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 16px 24px;
  font-size: 0.95rem;
  line-height: 1.45;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 3px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 7px; top: 20px; bottom: 2px;
  width: 1px;
  background: rgba(198, 120, 80, 0.3);
}
.timeline strong { display: block; color: var(--title); font-weight: 600; }
.timeline span { color: var(--muted); font-size: 0.9rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--body-text);
}

.bio .lead {
  font-family: 'Fraunces', Georgia, serif;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 32;
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  line-height: 1.45;
  color: var(--title);
  margin-bottom: 1.2em;
}
.bio p { max-width: 62ch; }
.bio strong { color: var(--title); font-weight: 600; }
.bio-h { font-size: clamp(1.5rem, 3vw, 1.9rem); margin-top: 1.6em; }

.pull {
  margin: 36px 0;
  padding: 6px 0 6px 28px;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.4;
  color: var(--title);
  max-width: 30em;
}

/* ---------- trattamenti ---------- */
.treat-grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .treat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .treat-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.treat {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.treat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.treat h2 { font-size: 1.3rem; font-weight: 600; line-height: 1.2; margin-bottom: 10px; }
.treat p { margin: 0; color: var(--body-text); }
.treat-icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent-ink);
  margin-bottom: 22px;
  transition: background-color 0.4s ease, color 0.4s ease;
}
.treat-icon svg { width: 32px; height: 32px; }
.treat:hover .treat-icon { background: var(--accent-deep); color: #fff; }

.treat-featured {
  background: var(--dark-bg);
  color: rgba(243, 231, 213, 0.85);
  overflow: hidden;
}
.treat-featured::before {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  right: -120px; top: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 120, 80, 0.45), transparent 70%);
}
.treat-featured > * { position: relative; }
.treat-featured h2 { color: var(--dark-text); font-size: clamp(1.45rem, 2.6vw, 1.8rem); font-weight: 500; }
.treat-featured p { color: rgba(243, 231, 213, 0.82); max-width: 40ch; }
.treat-featured .treat-icon { background: rgba(243, 231, 213, 0.1); color: var(--accent2-ink); }
.treat-featured:hover .treat-icon { background: var(--accent2); color: var(--dark-bg); }
.treat-label {
  position: absolute;
  top: 26px; right: 26px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent2);
  color: var(--dark-bg);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (min-width: 680px) { .treat-featured { grid-column: span 2; } }
@media (min-width: 1000px) { .treat-featured { grid-row: span 2; grid-column: span 1; justify-content: flex-end; } }

.treat-cta {
  margin-top: clamp(48px, 7vw, 72px);
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.treat-cta p { margin: 0; }
.treat-cta-title { font-size: clamp(1.35rem, 2.8vw, 1.7rem); color: var(--title); line-height: 1.2; margin-bottom: 6px !important; }
.treat-cta-sub { color: var(--muted); }
@media (max-width: 560px) { .treat-cta .btn { width: 100%; white-space: normal; } }

/* ---------- contatti ---------- */
.contact {
  position: relative;
  overflow: hidden; overflow: clip;
  background: var(--dark-bg);
  color: rgba(243, 231, 213, 0.85);
  padding: clamp(56px, 9vw, 110px) 0;
}
.contact::before {
  content: "";
  position: absolute;
  width: 640px; height: 640px;
  left: -260px; top: -260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 120, 80, 0.28), transparent 65%);
  pointer-events: none;
}
.contact::after {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  right: -200px; bottom: -260px;
  border-radius: 50%;
  border: 1.5px solid rgba(210, 165, 108, 0.18);
  pointer-events: none;
}
.contact-grid { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
/* mobile: titolo → modulo → recapiti; desktop: modulo a destra */
.contact-grid { grid-template-areas: "copy" "form" "direct"; }
.contact-copy { grid-area: copy; }
.contact-grid .form-card { grid-area: form; }
.contact-direct { grid-area: direct; }
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr 460px;
    grid-template-areas: "copy form" "direct form";
    column-gap: 72px;
    row-gap: 0;
  }
  .contact-copy { align-self: end; padding-bottom: 32px; }
  .contact-direct { align-self: start; }
}

.contact h1 { color: var(--dark-text); font-size: clamp(2.3rem, 5.5vw, 3.5rem); }
.contact h1 em { color: var(--accent2-ink); }
.contact-lead { font-size: 1.15rem; max-width: 30em; margin-bottom: 28px; }

.reassure { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.reassure li { display: flex; align-items: center; gap: 12px; color: var(--dark-text); font-weight: 500; }
.reassure svg {
  flex: none;
  width: 24px; height: 24px;
  padding: 4px;
  border-radius: 50%;
  background: rgba(210, 165, 108, 0.18);
  color: var(--accent2-ink);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(243, 231, 213, 0.12);
  display: grid;
  gap: 14px;
  font-size: 0.97rem;
}
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list svg { flex: none; width: 20px; height: 20px; color: var(--accent2-ink); }
.contact-list a { color: var(--dark-text); text-decoration: none; border-bottom: 1px solid rgba(210, 165, 108, 0.4); word-break: break-word; }
.contact-list a:hover { border-bottom-color: var(--accent2-ink); }

.form-card {
  background: var(--paper);
  color: var(--body-text);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
}
.form-card h2 { font-size: 1.7rem; margin-bottom: 4px; }
.form-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }

.form-field { position: relative; margin-bottom: 16px; }
.form-field input {
  width: 100%;
  padding: 26px 18px 10px;
  border-radius: 14px;
  border: 1.5px solid rgba(60, 48, 38, 0.14);
  background: #fff;
  color: var(--title);
  font-family: inherit;
  font-size: 1.05rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-field label {
  position: absolute;
  left: 19px;
  top: 18px;
  font-size: 1rem;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.25s var(--ease), color 0.25s ease;
}
.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(198, 120, 80, 0.16);
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label {
  transform: translateY(-11px) scale(0.78);
  color: var(--accent-ink);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  margin: 6px 0 22px;
  cursor: pointer;
}
.checkbox-field input { margin-top: 3px; flex-shrink: 0; width: 18px; height: 18px; accent-color: var(--accent-deep); }

.form-card .btn { white-space: normal; text-align: center; }

.form-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.93rem;
  color: var(--muted);
}
.form-alt a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--title);
  text-decoration: none;
}
.form-alt a:hover { color: var(--accent-ink); }
.form-alt svg { width: 20px; height: 20px; color: #25A244; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--dark-bg-2);
  color: var(--dark-text);
  padding: 56px 0 28px;
}
.page-contact .site-footer { border-top: 1px solid rgba(243, 231, 213, 0.08); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  color: var(--dark-text);
  text-decoration: none;
  margin-bottom: 16px;
}
.footer-brand em { color: var(--accent2-ink); }
.footer-brand img {
  width: 40px; height: 40px;
  padding: 5px;
  background: #fff;
  border-radius: 50%;
  object-fit: contain;
}
.site-footer p { color: rgba(243, 231, 213, 0.7); font-size: 0.9rem; margin: 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-nav a { color: var(--dark-text); text-decoration: none; font-weight: 500; }
.footer-nav a:hover { color: var(--accent2-ink); }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(243, 231, 213, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 0.84rem;
  color: rgba(243, 231, 213, 0.6);
}
.footer-bottom a { color: var(--accent2-ink); }

/* ---------- CTA sticky mobile ---------- */
.sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  transform: translateY(140%);
  transition: transform 0.5s var(--ease);
}
.sticky-cta .btn { box-shadow: 0 16px 36px -10px rgba(60, 48, 38, 0.55); }
.sticky-cta.is-visible { transform: none; }
@media (min-width: 861px) { .sticky-cta { display: none; } }

/* ---------- pagine semplici (grazie / privacy) ---------- */
.simple-page {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 72px 0;
}
.simple-page .container { max-width: 760px; }
.simple-page.centered { text-align: center; }
.simple-page .subtitle { font-size: 1.2rem; color: var(--title); }
.simple-page .cta-row { justify-content: center; }
.check-icon {
  width: 84px; height: 84px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 0 0 10px rgba(198, 120, 80, 0.15);
}
.check-icon svg { width: 40px; height: 40px; }

.legal { padding: 64px 0 96px; }
.legal .container { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
.legal h2 { margin-top: 1.8em; font-size: 1.35rem; font-weight: 600; }
.legal h2:first-of-type { margin-top: 0.8em; }
.legal p, .legal li { color: var(--body-text); }

.back-link { display: inline-block; margin-top: 24px; font-weight: 600; }

/* ===========================================================
   EFFETTI "PREMIUM"
   =========================================================== */

::selection { background: rgba(198, 120, 80, 0.25); color: var(--title); }

/* grana leggerissima, effetto carta */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.05;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* barra di avanzamento della lettura */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 150;
  pointer-events: none;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform-origin: left;
  transform: scaleX(0);
}

/* sezioni sovrapposte come fogli: profondità */
.sheet {
  position: relative;
  z-index: 1;
  margin-top: -40px;
  border-radius: 40px 40px 0 0;
  background-color: var(--bg);
  box-shadow: 0 -22px 40px -28px rgba(60, 48, 38, 0.45);
}
.sheet.section-alt { background-color: var(--surface); }
.stats.sheet { background-color: var(--dark-bg); padding: 64px 0 88px; }
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: -40px;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -22px 40px -28px rgba(0, 0, 0, 0.5);
}
@media (max-width: 640px) {
  .sheet, .site-footer { margin-top: -28px; border-radius: 28px 28px 0 0; }
}

/* titolo che sale parola per parola */
.js h1.reveal.split { opacity: 1; transform: none; }
h1.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.06em 0.1em 0;
  margin: 0 -0.06em -0.1em 0;
}
h1.split .w > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i) * 70ms + 0.1s);
}
h1.split.is-visible .w > span { transform: none; }

/* lineette dei sottotitoli che si allungano */
.kicker::before, .section-header.center .kicker::after { transition: width 0.9s var(--ease) 0.2s; }
.js .reveal:not(.is-visible) .kicker::before,
.js .reveal:not(.is-visible) .kicker::after,
.js .kicker.reveal:not(.is-visible)::before { width: 0; }

/* hero: anelli che si disegnano, respiro del logo, alone */
.orbit { isolation: isolate; }
.ring-2 {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 2.8s var(--ease) 0.3s forwards;
}
.ring-3, .ring-4 {
  stroke-width: 2.6;
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: center;
}
.ring-3 { stroke: rgba(198, 120, 80, 0.75); stroke-dasharray: 12 88; animation: spin 16s linear infinite reverse; }
.ring-4 { stroke: rgba(190, 138, 74, 0.8); stroke-dasharray: 7 93; stroke-dashoffset: -50; animation: spin 24s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.glow {
  position: absolute;
  inset: 4%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 120, 80, 0.38), rgba(190, 138, 74, 0.12) 45%, transparent 68%);
  filter: blur(18px);
  animation: glow 7s ease-in-out infinite;
}
@keyframes glow { 50% { opacity: 0.6; transform: scale(1.08); } }

.logo-disc { animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.03); } }

.blob { animation: drift 18s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.2) rotate(25deg); } }

/* parallasse: profondità con mouse e scorrimento */
.hero .blob-1, .page-hero .blob-1 { translate: calc(var(--mx, 0) * 40px) calc(var(--my, 0) * 30px + var(--sy, 0) * 0.3px); }
.hero .blob-2 { translate: calc(var(--mx, 0) * -30px) calc(var(--my, 0) * -20px + var(--sy, 0) * -0.15px); }
.hero .orbit { translate: calc(var(--mx, 0) * -14px) calc(var(--my, 0) * -14px + var(--sy, 0) * -0.08px); }
.hero .logo-disc { translate: calc(var(--mx, 0) * 8px) calc(var(--my, 0) * 8px); }
.hero .chip-1 { translate: calc(var(--mx, 0) * -30px) calc(var(--my, 0) * -22px); }
.hero .chip-2 { translate: calc(var(--mx, 0) * 26px) calc(var(--my, 0) * 20px); }

/* le etichette del hero entrano per ultime */
.js .hero-visual .float-chip { opacity: 0; scale: 0.85; transition: opacity 0.9s var(--ease), scale 0.9s var(--ease); }
.js .hero-visual .chip-1 { transition-delay: 1s; }
.js .hero-visual .chip-2 { transition-delay: 1.3s; }
.js .hero-visual.is-visible .float-chip { opacity: 1; scale: 1; }

/* citazione che si "accende" mentre si scorre */
.quote blockquote.is-split .qw { color: rgba(60, 48, 38, 0.18); transition: color 0.45s ease; }
.quote blockquote.is-split .qw.lit { color: var(--title); }
.quote blockquote.is-split em .qw.lit { color: var(--accent-ink); }

/* linea dei tre passi che si disegna */
.js .steps.draw::before { transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) 0.4s; }
.js .steps.draw.is-visible::before { transform: scaleX(1); }

/* luce che segue il cursore sulle card */
.js .spot {
  background-image: radial-gradient(460px circle at var(--x, -1000px) var(--y, -1000px), rgba(198, 120, 80, 0.14), transparent 45%);
}
.js .treat-featured.spot,
.js .explore-card-dark.spot {
  background-image: radial-gradient(460px circle at var(--x, -1000px) var(--y, -1000px), rgba(210, 165, 108, 0.22), transparent 45%);
}

/* inclinazione 3D delle card "Da dove vuoi iniziare?" */
.explore-card.tilt:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  transition: transform 0.15s ease-out, box-shadow 0.5s var(--ease);
}

/* riflesso di luce sui bottoni di prenotazione */
.btn-shine { overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  animation: shine 5s ease-in-out 1.5s infinite;
}
@keyframes shine { 0% { left: -60%; } 28%, 100% { left: 130%; } }

/* modulo: reazioni mentre si compila */
.form-card { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.form-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6), 0 0 0 4px rgba(210, 165, 108, 0.35);
}
.form-field input { padding-right: 54px; }
.field-ok {
  position: absolute;
  right: 16px;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-deep);
  color: #fff;
  opacity: 0;
  scale: 0.4;
  transition: opacity 0.35s ease, scale 0.5s var(--ease);
  pointer-events: none;
}
.field-ok svg { width: 15px; height: 15px; }
.form-field input:valid:not(:placeholder-shown) ~ .field-ok { opacity: 1; scale: 1; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn-arrow { animation: nudge 0.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }

/* passaggio morbido tra le pagine */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 0.3s ease both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* ---------- animazioni di comparsa ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  .btn-shine::after { display: none; }
}

/* utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
