/* Studio Dott. Leonardo Antonio Mauro, Dietista
   Palette del brand: bordeaux, avorio, bianco, rosa antico.
   Animazioni solo con transform/opacity, disattivate con "riduci movimento". */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-opsz-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --bordeaux: #7A1F35;
  --bordeaux-2: #64182B;
  --bordeaux-deep: #3D0C19;
  --bordeaux-ink: #26070F;
  --rose: #C98F95;            /* rosa antico */
  --rose-2: #E3BFBF;
  --rose-soft: #F3E3E0;
  --ivory: #F8F3EC;
  --ivory-2: #F1E8DC;
  --white: #FFFFFF;
  --ink: #23181B;
  --ink-2: #4A3B3F;
  --muted: #6E5E62;
  --line: rgba(61, 12, 25, .12);
  --line-2: rgba(61, 12, 25, .07);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --shadow: 0 1px 2px rgba(38,7,15,.04), 0 8px 24px -8px rgba(38,7,15,.12);
  --shadow-lg: 0 2px 4px rgba(38,7,15,.04), 0 30px 60px -24px rgba(38,7,15,.28);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bordeaux); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bordeaux-deep); }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
em { font-style: italic; }
h1 em, h2 em, h3 em { color: var(--bordeaux); font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--rose-2); color: var(--bordeaux-ink); }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding-inline: 20px; }
@media (min-width: 720px) { .wrap { padding-inline: 32px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bordeaux); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.ico { width: 20px; height: 20px; flex: none; }
.flip { transform: scaleX(-1); }

/* Segnaposto per i dati ancora da inserire */
.ph-inline { -webkit-box-decoration-break: clone; box-decoration-break: clone; background: repeating-linear-gradient(-45deg, rgba(201,143,149,.18) 0 6px, rgba(201,143,149,.08) 6px 12px); border: 1px dashed var(--rose); border-radius: 6px; padding: 0 6px; color: inherit; font-style: normal; }

/* ---------- Tipografia ---------- */
.eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bordeaux); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow-light { color: var(--rose-2); }
.h2 { font-size: clamp(36px, 5.2vw, 64px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 58ch; }
.section { padding-block: clamp(80px, 11vw, 148px); position: relative; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Pulsanti ---------- */
.btn {
  --bg: transparent; --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 15.5px/1.2 var(--sans); letter-spacing: -.005em;
  text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s, color .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .1s; }
.btn .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .ico:last-child:not(:first-child) { transform: translateX(3px); }
.btn::after { /* riflesso morbido al passaggio */
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn-primary { --bg: var(--bordeaux); --fg: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 10px 24px -10px rgba(122,31,53,.7); }
.btn-primary:hover { --bg: var(--bordeaux-2); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 16px 32px -12px rgba(122,31,53,.75); }
.btn-ghost { --fg: var(--ink); border-color: var(--line); background: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: rgba(61,12,25,.3); background: #fff; }
.btn-light { --bg: var(--ivory); --fg: var(--bordeaux-deep); }
.btn-light:hover { --bg: #fff; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 14.5px; }
.btn-lg { min-height: 56px; padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(248, 243, 236, .72); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .4s, background-color .4s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(248, 243, 236, .88); }
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-logo { height: 68px; width: auto; }
@media (max-width: 599px) { .brand-logo { height: 56px; } }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand-role { font-size: 12px; color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > a:not(.btn) { position: relative; padding: 10px 12px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; border-radius: 999px; transition: color .3s, background-color .3s; }
.menu > a:not(.btn):hover { color: var(--ink); background: rgba(122,31,53,.06); }
.menu-cta { margin-left: 10px; }
.badge { display: inline-block; margin-left: 4px; padding: 1px 7px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bordeaux); background: var(--rose-soft); border-radius: 999px; vertical-align: 1px; }
.menu-toggle { display: none; }

@media (max-width: 1023px) {
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; width: 46px; height: 46px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(255,255,255,.6); cursor: pointer; position: relative; z-index: 2;
  }
  .menu-toggle span { display: block; width: 18px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .menu {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(38,7,15,.25);
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease), visibility 0s .55s;
  }
  .menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease); }
  .menu > a:not(.btn) { padding: 15px 4px; font-size: 18px; font-family: var(--serif); color: var(--ink); border-radius: 0; border-bottom: 1px solid var(--line-2); }
  .menu-cta { margin: 18px 0 0; min-height: 52px; }
  .brand-role { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: -20% -10% auto auto; width: min(900px, 120vw); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(201,143,149,.35), rgba(201,143,149,.12) 45%, transparent 70%);
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; min-height: calc(100svh - var(--header-h) - 120px); } }
.hero-copy { display: grid; gap: 24px; justify-items: start; }
.hero-title { font-size: clamp(46px, 8.2vw, 104px); line-height: .98; letter-spacing: -.035em; font-weight: 400; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.hero-lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--ink-2); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; color: var(--muted); font-weight: 500; }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ico { width: 18px; height: 18px; color: var(--bordeaux); }

.hero-pick { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid var(--line-2); color: var(--ink); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: transform .6s var(--ease), box-shadow .6s var(--ease), background .4s; }
.hero-pick:hover { transform: translateY(-2px); box-shadow: var(--shadow); background: #fff; }
.hero-pick-k { padding: 4px 10px; border-radius: 999px; background: var(--bordeaux); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-pick .ico { width: 16px; height: 16px; color: var(--bordeaux); transition: transform .4s var(--ease); }
.hero-pick:hover .ico { transform: translateX(3px); }

.hero-media { position: relative; justify-self: center; width: min(100%, 500px); }
.portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 44px; overflow: hidden;
  background: var(--rose-soft); box-shadow: var(--shadow-lg);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.portrait::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); pointer-events: none; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.7); border-radius: 18px; box-shadow: var(--shadow); line-height: 1.25;
}
.float-card b { display: block; font-size: 14px; }
.float-card small { font-size: 12.5px; color: var(--muted); }
.fc-1 { left: -6%; bottom: 14%; }
.fc-2 { right: -5%; top: 12%; }
.fc-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--bordeaux); color: #fff; }
.fc-ico .ico { width: 18px; height: 18px; }
.fc-dot { width: 10px; height: 10px; margin-left: 6px; border-radius: 50%; background: #3A9A6A; box-shadow: 0 0 0 4px rgba(58,154,106,.18); }
@media (max-width: 599px) {
  .hero .eyebrow { font-size: 11.5px; letter-spacing: .12em; }
  .hero-actions .btn { width: 100%; }
  .fc-1 { left: 8px; bottom: 16px; }
  .fc-2 { right: 8px; top: 16px; }
  .float-card { padding: 9px 12px 9px 9px; }
  .float-card small { display: none; }
}

/* Nastro scorrevole */
.marquee { position: relative; z-index: 1; margin-top: clamp(48px, 7vw, 88px); border-block: 1px solid var(--line); overflow: hidden; padding-block: 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; padding-right: 48px; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 28px); font-style: italic; color: var(--ink-2); white-space: nowrap; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Credenziali ---------- */
.creds { padding-block: 40px 0; }
.creds-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cred:last-child { grid-column: 1 / -1; }
@media (min-width: 960px) { .creds-grid { grid-template-columns: repeat(3, 1fr); } .cred:last-child { grid-column: auto; } }
.cred { display: grid; gap: 6px; padding: 22px 20px; background: var(--ivory); }
.cred-k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux); }
.cred-v { font-size: 15px; font-weight: 500; line-height: 1.4; }

/* ---------- Chi sono ---------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) { .about-grid { grid-template-columns: .9fr 1.1fr; gap: 88px; } }
.about-media { position: relative; }
.about-media picture img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.about-quote { margin: 0; position: relative; margin-top: -72px; margin-inline: 20px; padding: 24px 26px; background: var(--bordeaux); color: var(--ivory); border-radius: var(--r); box-shadow: var(--shadow-lg); }
.about-quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.8vw, 21px); font-style: italic; line-height: 1.4; }
@media (min-width: 960px) { .about-quote { position: absolute; right: -40px; bottom: -36px; margin: 0; max-width: 360px; } }
.about-copy { display: grid; gap: 22px; }
.prose { display: grid; gap: 14px; color: var(--ink-2); max-width: 60ch; }
.timeline { margin-top: 10px; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.t-year { font-family: var(--serif); font-size: 20px; color: var(--bordeaux); line-height: 1.3; }
.t-year .ph-inline { font-family: var(--sans); font-size: 13px; }
.t-body { display: grid; gap: 2px; }
.t-body b { font-weight: 600; }
.t-body small { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Effetto luce sulle schede (stile Linear) ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201,143,149,.22), transparent 60%);
  transition: opacity .5s;
}
.spot:hover::before { opacity: 1; }

/* ---------- Servizi ---------- */
.services { background: var(--white); }
.svc-grid { display: grid; gap: 20px; }
@media (min-width: 860px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
.svc { display: grid; align-content: start; gap: 16px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line-2); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.svc h3 { font-size: clamp(30px, 3.4vw, 42px); }
.svc > p { color: var(--ink-2); max-width: 46ch; }
.svc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.svc-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--white); color: var(--bordeaux); border: 1px solid var(--line-2); }
.svc-ico .ico { width: 24px; height: 24px; }
.svc-tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc-dark { background: var(--bordeaux-deep); color: var(--ivory); border-color: transparent; }
.svc-dark h3 { color: #fff; }
.svc-dark > p, .svc-dark .svc-tag { color: rgba(248,243,236,.72); }
.svc-dark .svc-ico { background: rgba(255,255,255,.08); color: var(--rose-2); border-color: rgba(255,255,255,.1); }
.svc-dark .ticks li { border-color: rgba(255,255,255,.1); }
.svc-dark .ticks .ico { color: var(--rose-2); }
.svc-dark .link-arrow { color: var(--rose-2); }
.svc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.svc-dark .btn-ghost { --fg: var(--ivory); color: var(--ivory); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.06); }
.svc-dark .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); }
.svc-dark.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(201,143,149,.18), transparent 60%); }
.ticks { display: grid; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 15.5px; }
.ticks li:last-child { border-bottom: 0; }
.ticks .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--bordeaux); }
.goals { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; }
.goals-k { font-size: 14.5px; color: var(--muted); margin-right: 6px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14.5px; background: var(--ivory); }

/* ---------- Il percorso (sezione scura) ---------- */
.journey { background: var(--bordeaux-ink); color: var(--ivory); overflow: hidden; }
.journey-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(201,143,149,.18), transparent 70%),
    radial-gradient(500px 500px at 0% 100%, rgba(122,31,53,.55), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 100% 64px;
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 70%, transparent);
}
.journey h2 { color: #fff; }
.journey h2 em { color: var(--rose-2); }
.journey .lead { color: rgba(248,243,236,.72); }
.journey-grid { position: relative; display: grid; gap: 56px; }
@media (min-width: 960px) {
  .journey-grid { grid-template-columns: .9fr 1.1fr; gap: 96px; align-items: start; }
  .journey-head { position: sticky; top: calc(var(--header-h) + 48px); }
}
.journey-head { display: grid; gap: 22px; justify-items: start; }
.steps { position: relative; display: grid; gap: 14px; padding-left: 28px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 7px; top: 12px; bottom: 12px; width: 1px; }
.steps::before { background: rgba(255,255,255,.12); }
.steps::after { background: linear-gradient(var(--rose-2), var(--rose)); transform-origin: top; transform: scaleY(var(--p)); }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 26px; border-radius: var(--r); background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.07); transition: background-color .6s var(--ease), border-color .6s var(--ease); }
.step::before { content: ""; position: absolute; left: -26px; top: 34px; width: 11px; height: 11px; border-radius: 50%; background: var(--bordeaux-ink); border: 1px solid rgba(255,255,255,.3); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.step.on { background: rgba(255,255,255,.07); border-color: rgba(227,191,191,.25); }
.step.on::before { background: var(--rose-2); border-color: var(--rose-2); box-shadow: 0 0 0 5px rgba(227,191,191,.15); }
.step-n { font-family: var(--serif); font-size: 15px; color: var(--rose-2); padding-top: 6px; }
.step h3 { font-size: clamp(24px, 2.4vw, 30px); color: #fff; margin-bottom: 8px; }
.step p { color: rgba(248,243,236,.72); font-size: 16px; }
.step-meta { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--rose-2); background: rgba(227,191,191,.1); }
.journey .ph-inline { border-color: rgba(227,191,191,.5); }

/* ---------- Prezzi ---------- */
.price-grid { display: grid; gap: 16px; }

@media (min-width: 960px) { .price-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; max-width: 1080px; margin-inline: auto; } }
.price { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 26px 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-2); box-shadow: var(--shadow); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.price:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-name { font-weight: 700; font-size: 15.5px; }
.price-v { font-family: var(--serif); font-size: 60px; line-height: 1; letter-spacing: -.04em; margin-top: 6px; }
.price-v .cur { font-size: 26px; vertical-align: 22px; margin-right: 4px; letter-spacing: 0; color: var(--muted); }
.price-sub { font-size: 14.5px; color: var(--muted); min-height: 2.6em; }
.price .ticks { margin: 8px 0 18px; flex: 1; }
.price .ticks li { font-size: 14.5px; padding: 9px 0; }
.price .btn { width: 100%; }
.price-featured { background: var(--bordeaux); color: var(--ivory); border-color: transparent; box-shadow: 0 30px 60px -24px rgba(122,31,53,.6); }
.price-featured .price-v .cur, .price-featured .price-sub { color: rgba(248,243,236,.75); }
.price-featured .ticks li { border-color: rgba(255,255,255,.14); }
.price-featured .ticks .ico { color: var(--rose-2); }
.price-featured.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.14), transparent 60%); }
.price-flag { position: absolute; top: -12px; left: 26px; box-shadow: var(--shadow); padding: 4px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--rose-2); color: var(--bordeaux-deep); }
.price-v .price-old { display: block; width: fit-content; margin-bottom: 8px; font-size: 26px; letter-spacing: -.01em; color: var(--muted); text-decoration: none; position: relative; }
.price-v .price-old::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 2px; border-radius: 2px; background: var(--rose); transform: rotate(-8deg); }
.price-featured .price-v .price-old { color: rgba(248,243,236,.6); }
.price-featured .price-v .price-old::after { background: var(--rose-2); }
.fineprint { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- Ricettario ---------- */
.book { background: var(--rose-soft); }
.book-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .book-grid { grid-template-columns: .95fr 1.05fr; gap: 64px; } }
.book-visual { position: relative; border-radius: var(--r-lg); overflow: visible; }
.book-visual picture { display: block; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--white); }
.book-visual img { width: 100%; height: 100%; object-fit: cover; }
.book-badge { position: absolute; right: -10px; bottom: -14px; display: grid; justify-items: center; padding: 14px 18px; border-radius: 18px; background: var(--bordeaux); color: #fff; box-shadow: var(--shadow-lg); line-height: 1.1; }
.book-badge small { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-2); }
.book-badge b { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -.02em; }
.book-copy { display: grid; gap: 18px; justify-items: start; }
.book-copy .ticks li { padding: 9px 0; }
.book-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 6px; }
.book-price { display: grid; line-height: 1.05; }
.book-price small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.book-price b { font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: -.03em; }
.book-note { font-size: 13.5px; color: var(--muted); max-width: 48ch; }
@media (max-width: 599px) { .book-badge { right: 8px; bottom: -14px; } .book-buy .btn { width: 100%; } }

/* ---------- Recensioni ---------- */
.reviews { background: var(--rose-soft); }
.rev-grid { display: grid; gap: 16px; }
@media (min-width: 860px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow); }
.rev blockquote { margin: 0; flex: 1; font-family: var(--serif); font-size: 20px; line-height: 1.45; }
.stars { color: var(--bordeaux); letter-spacing: 3px; font-size: 15px; }
.rev figcaption { display: flex; align-items: center; gap: 12px; line-height: 1.3; }
.rev figcaption small { display: block; font-size: 13px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ivory-2); font-family: var(--serif); color: var(--bordeaux); }

/* ---------- Studio (galleria) ---------- */
.studio { padding-bottom: clamp(60px, 8vw, 110px); }
.studio-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.studio-head > div:first-child { display: grid; gap: 18px; }
.gal-nav { display: none; gap: 10px; }
@media (min-width: 720px) { .gal-nav { display: flex; } }
.gal-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: transform .5s var(--ease), background-color .3s, color .3s; }
.gal-btn:hover { background: var(--bordeaux); color: #fff; transform: scale(1.05); }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 380px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  padding-inline: max(20px, calc((100vw - 1240px) / 2 + 32px)); scroll-padding-inline: max(20px, calc((100vw - 1240px) / 2 + 32px));
  padding-bottom: 8px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { margin: 0; scroll-snap-align: start; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ivory-2); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- Sedi ---------- */
.places { background: var(--white); }
.place-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .place-grid { grid-template-columns: 1.15fr .85fr; } }
.place { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--r-lg); background: var(--ivory); border: 1px solid var(--line-2); }
.place-k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux); }
.place-k .ico { width: 18px; height: 18px; }
.place h3 { font-size: 28px; }
.place > p { color: var(--ink-2); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 4px 0 0; font-size: 14.5px; padding-top: 14px; border-top: 1px solid var(--line); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.place-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: auto; padding-top: 14px; }
.place-online { background: var(--rose-soft); border-color: transparent; }

/* ---------- Prenota ---------- */
.book-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .book-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; } }
.book-copy { display: grid; gap: 22px; }
@media (min-width: 960px) { .book-copy { position: sticky; top: calc(var(--header-h) + 48px); } }
.contact-list { display: grid; gap: 4px; margin-top: 8px; }
.contact-list li { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 500; word-break: break-word; }
.contact-list .ico { color: var(--bordeaux); }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--bordeaux); text-decoration: underline; }
.book-panel-k { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 12px 16px; border-radius: 16px; background: var(--ivory); font-weight: 600; color: var(--bordeaux-deep); }
.book-panel-k .ico { width: 20px; height: 20px; color: #25A162; }
.book-panel { background: var(--white); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow-lg); border: 1px solid var(--line-2); }
.pane[hidden] { display: none; }
[hidden] { display: none !important; }
.form { display: grid; gap: 18px; }
.row2 { display: grid; gap: 18px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; padding: 0; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--ivory);
  font: 500 16px var(--sans); color: var(--ink); transition: border-color .3s, box-shadow .3s, background-color .3s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%237A1F35' stroke-width='1.6' stroke-linecap='round' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bordeaux); background: #fff; box-shadow: 0 0 0 4px rgba(122,31,53,.1); }
.field input[aria-invalid="true"] { border-color: #B3261E; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--ivory); font-size: 15px; font-weight: 600; color: var(--ink-2); transition: all .35s var(--ease); }
.seg input:checked + span { background: var(--bordeaux); border-color: var(--bordeaux); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--bordeaux); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--bordeaux); }
.form-msg { font-size: 14.5px; font-weight: 500; min-height: 0; }
.form-msg:empty { display: none; }
.form-msg.err { color: #B3261E; }
.form-msg.ok { color: #2E7D57; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-grid { display: grid; gap: 40px; }
.faq-grid > div:first-child { display: grid; gap: 18px; align-content: start; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 80px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; min-height: 56px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(19px, 1.8vw, 22px); letter-spacing: -.01em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ico { width: 22px; height: 22px; color: var(--bordeaux); transition: transform .5s var(--ease); }
.faq-list details[open] summary .ico { transform: rotate(45deg); }
.faq-list .a { padding: 0 40px 24px 0; color: var(--ink-2); }
.faq-list .a ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.js .faq-list details[open] .a { animation: faqIn .5s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- Ricettario + social ---------- */
.extras { padding-top: clamp(60px, 8vw, 110px); }
.extras-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .extras-grid { grid-template-columns: 1.15fr .85fr; } }
.book-promo { display: grid; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
@media (min-width: 640px) { .book-promo { grid-template-columns: .9fr 1.1fr; } }
.book-promo img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.book-promo-body { display: grid; align-content: center; gap: 12px; padding: 28px; }
.book-promo h3 { font-size: 30px; }
.book-promo-body > p:not(.eyebrow) { color: var(--ink-2); font-size: 15.5px; }
.book-promo-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.price-tag { font-family: var(--serif); font-size: 22px; }
.social { display: grid; align-content: center; justify-items: start; gap: 16px; padding: 34px; border-radius: var(--r-lg); background: var(--bordeaux); color: var(--ivory); }
.social h3 { font-size: clamp(26px, 2.6vw, 32px); color: #fff; }
.social h3 em { color: var(--rose-2); }
.social p:not(.eyebrow) { color: rgba(248,243,236,.78); font-size: 15.5px; }
.social.spot::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.12), transparent 60%); }

/* ---------- Area clienti ---------- */
.members { padding-top: 16px; }
.members-card { position: relative; display: grid; gap: 40px; padding: clamp(32px, 5vw, 64px); border-radius: 32px; overflow: hidden; background: var(--bordeaux-ink); color: var(--ivory); }
.members-card::before { content: ""; position: absolute; inset: auto -10% -60% auto; width: 600px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(201,143,149,.3), transparent); pointer-events: none; }
@media (min-width: 960px) { .members-card { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 64px; } }
.members-copy { position: relative; display: grid; gap: 20px; justify-items: start; }
.members-card h2 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); }
.members-card h2 em { color: var(--rose-2); }
.members-card .lead { color: rgba(248,243,236,.74); }
.soon-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rose-2); background: rgba(227,191,191,.1); border: 1px solid rgba(227,191,191,.2); }
.soon-pill .ico { width: 16px; height: 16px; }
.members-list { position: relative; display: grid; gap: 12px; }
.members-list li { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--r); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.members-list b { font-family: var(--serif); font-weight: 500; font-size: 21px; color: #fff; }
.members-list span { font-size: 15px; color: rgba(248,243,236,.7); }

/* ---------- CTA finale ---------- */
.final-cta { padding-block: clamp(90px, 12vw, 160px); text-align: center; }
.final-inner { display: grid; justify-items: center; gap: 22px; }
.final-cta .h2 { font-size: clamp(40px, 6.4vw, 84px); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bordeaux-ink); color: rgba(248,243,236,.72); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: 15px; }
.site-footer a { color: var(--ivory); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-grid { display: grid; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-brand { display: flex; gap: 16px; align-items: center; }
.foot-brand b { color: #fff; font-family: var(--serif); font-weight: 500; font-size: 18px; }
.foot-logo { width: min(260px, 70vw); height: auto; display: block; }
.foot-col { display: grid; gap: 10px; align-content: start; line-height: 1.7; }
.foot-k { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-2); }
.foot-legal { padding-top: 24px; font-size: 13px; color: rgba(248,243,236,.55); }
.site-footer .ph-inline { border-color: rgba(227,191,191,.5); }
.site-footer > .wrap:only-child { padding-block: 8px; } /* pagine legali */

/* ---------- Barra prenotazione da telefono ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(248,243,236,.95) 30%); transform: translateY(110%); transition: transform .6s var(--ease); }
.mobile-bar.show { transform: none; }
@media (min-width: 960px) { .mobile-bar { display: none; } }
@media (max-width: 959px) { .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }

/* ---------- Pagine legali (privacy, cookie, 404) ---------- */
.doc { max-width: 780px; padding-block: 56px 96px; }
.doc h1 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 14px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.doc p + p { margin-top: 12px; }
.updated { font-size: 14px; color: var(--muted); }
.notice { margin: 24px 0; padding: 16px 20px; border-radius: var(--r-sm); background: var(--rose-soft); border: 1px solid var(--rose-2); color: var(--ink); }
.btn-wa { --bg: var(--bordeaux); --fg: #fff; }
.legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Le sezioni fuori schermo vengono disegnate solo quando servono */
main > .section:not(.journey):not(.book):not(.studio), .site-footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* ---------- Finestra patologie ---------- */
.modal { width: min(920px, calc(100% - 24px)); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--white); color: var(--ink); box-shadow: 0 40px 120px -30px rgba(61,12,25,.55); overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(61,12,25,.42); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] { animation: modal-in .5s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.modal-box { padding: clamp(24px, 4vw, 44px); display: grid; gap: 22px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal-head h2 { font-size: clamp(32px, 4vw, 46px); margin-top: 8px; }
.modal-x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; transition: background .3s; }
.modal-x:hover { background: var(--rose-soft); }
.modal-lead { color: var(--ink-2); max-width: 62ch; }
.patho-grid { display: grid; gap: 12px; }
@media (min-width: 700px) { .patho-grid { grid-template-columns: 1fr 1fr; } }
.patho { padding: 20px 22px; border-radius: var(--r); background: var(--ivory); border: 1px solid var(--line-2); }
.patho h3 { font-size: 21px; margin-bottom: 8px; color: var(--bordeaux-deep); }
.patho ul { display: grid; gap: 4px; font-size: 14.5px; color: var(--ink-2); padding-left: 18px; list-style: disc; }
.patho li::marker { color: var(--rose); }
.modal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); }
html.modal-open { overflow: hidden; }

/* ---------- Animazioni d'ingresso ---------- */
.js .hero-in { transform: translateY(18px); }
.js .hero-title .hero-in { transform: translateY(105%); }
.js .hero-lead.hero-in { transform: none; }
.js .eyebrow.hero-in, .js .hero-actions.hero-in, .js .hero-proof.hero-in, .js .hero-pick.hero-in { opacity: 0; }
.js.ready .hero-in { opacity: 1; transform: none; transition: transform 1.1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms + 40ms); }
.js .portrait { clip-path: inset(8% 6% 0 6% round 44px); }
.js .portrait img { transform: scale(1.12); }
.js.ready .portrait { clip-path: inset(0 0 0 0 round 44px); transition: clip-path 1.4s var(--ease) .15s; }
.js.ready .portrait img { transform: scale(1); transition: transform 1.8s var(--ease) .15s; }
.js .float-card { opacity: 0; transform: translateY(16px) scale(.96); }
.js.ready .float-card { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js.ready .fc-2 { transition-delay: .8s; }
.js.ready .fc-1 { transition-delay: 1s; }
.js.ready .float-card { animation: floaty 7s ease-in-out 2s infinite; }
.js.ready .fc-1 { animation-delay: 3s; }
@keyframes floaty { 50% { translate: 0 -8px; } }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .hero-in, .js .reveal, .js .float-card { opacity: 1 !important; transform: none !important; }
  .js .portrait { clip-path: none; }
  .js .portrait img { transform: none; }
  .marquee-track { transform: none; }
}

@media print {
  .site-header, .mobile-bar, .marquee, .book-panel, .gal-nav { display: none !important; }
  body { background: #fff; }
}
.modal-x .ico { width: 20px; height: 20px; transform: rotate(45deg); }
