/* ===================================================================
   Studio Delta — stylesheet
   Palette: bone paper, ink, terracotta rust, ochre, muted chart-teal
=================================================================== */

:root{
  --paper:      #f3ede1;
  --paper-deep: #ece2cf;
  --card:       #fbf8f1;
  --vellum:     rgba(251, 248, 241, 0.72);
  --ink:        #211c17;
  --ink-soft:   #574d42;
  --rust:       #b2451f;
  --rust-deep:  #8a3216;
  --ochre:      #c69a3d;
  --teal:       #3c584e;
  --line:       rgba(33, 28, 23, 0.16);
  --line-strong:rgba(33, 28, 23, 0.32);

  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;

  --container: 1180px;
  --edge: clamp(1.25rem, 4vw, 4rem);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

::selection{ background: var(--rust); color: var(--paper); }

:focus-visible{
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

.skip-link{
  position: fixed;
  top: -3rem;
  left: 1rem;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.7em 1.1em;
  transition: top 0.2s ease;
}
.skip-link:focus{ top: 1rem; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

em{
  font-style: italic;
  color: var(--rust);
}

p{ margin: 0; }

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

/* ---------- scroll progress ---------- */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--rust);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- vertical index rail ---------- */
.index-rail{
  position: fixed;
  left: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 0;
}
.index-rail::before{
  content: "";
  position: absolute;
  top: -1rem; bottom: -1rem;
  left: 50%;
  width: 1px;
  background: var(--line-strong);
  z-index: -1;
}
.rail-dot{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
}
.rail-no{
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  font-size: 0;
  transition: all 0.3s ease;
}
.rail-dot::after{
  content: attr(data-label);
  position: absolute;
  left: 140%;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.25em 0.6em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.rail-dot:hover::after{ opacity: 1; transform: translateY(-50%) translateX(0); }
.rail-dot:hover .rail-no{ border-color: var(--rust); }
.rail-dot.active .rail-no{
  background: var(--rust);
  border-color: var(--rust);
  width: 10px; height: 10px;
}

@media (max-width: 1180px){
  .index-rail{ display: none; }
}

/* ---------- shared bits ---------- */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust-deep);
  margin: 0;
}

.index-no{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 0.18em 0.7em;
}

.section-head{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}
.section-head::after{
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section{
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.5rem) var(--edge);
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.85em 1.5em;
  border-radius: 2px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-solid{
  background: var(--rust);
  color: var(--paper);
  border: 1px solid var(--rust);
}
.btn-solid:hover{ background: var(--rust-deep); border-color: var(--rust-deep); transform: translateY(-2px); }
.btn:active{ transform: translateY(0) scale(0.97); }

.btn-line{
  border: 1px solid var(--line-strong);
  color: var(--ink);
}
.btn-line:hover{ border-color: var(--rust); color: var(--rust-deep); transform: translateY(-2px); }

.btn-ghost{
  border: 1px solid transparent;
  color: var(--ink);
}
.btn-ghost:hover{ color: var(--rust-deep); }

/* ---------- reveal-on-scroll ---------- */
.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in{ opacity: 1; transform: translateY(0); }

/* =================== HEADER =================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 237, 225, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--rust);
}

.header-utility{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.5rem var(--edge);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
}
.utility-meta{
  color: var(--ink-soft);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.utility-actions{
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.utility-link{ color: var(--ink-soft); transition: color 0.2s ease; }
.utility-link:hover{ color: var(--rust-deep); }
.utility-sep{ color: var(--line-strong); }

.header-main{
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.85rem var(--edge);
}

.brand{
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
}
.brand-mark{
  width: 24px; height: 22px;
  fill: none;
  stroke: var(--rust);
  stroke-width: 6;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name{
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.brand-tag{
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--rust-deep);
  margin-top: 0.15rem;
}

.site-nav{
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.site-nav a:not(.header-cta){
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 3px;
}
.nav-no{
  font-size: 0.66rem;
  color: var(--line-strong);
  transition: color 0.2s ease;
}
.site-nav a:not(.header-cta)::after{
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--rust);
  transition: width 0.25s ease;
}
.site-nav a:not(.header-cta):hover{ color: var(--ink); }
.site-nav a:not(.header-cta):hover::after{ width: 100%; }
.site-nav a:not(.header-cta):hover .nav-no{ color: var(--rust); }
.site-nav a.current:not(.header-cta){ color: var(--rust-deep); }
.site-nav a.current:not(.header-cta)::after{ width: 100%; }
.site-nav a.current .nav-no{ color: var(--rust); }

.header-cta{
  display: inline-flex;
  padding: 0.45em 1em;
}
.header-cta:hover{ transform: none; }

.admin-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.admin-link svg{ width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.admin-link:hover{ border-color: var(--rust); color: var(--rust-deep); }

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span{
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.site-header.nav-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* =================== HERO =================== */
.hero{
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6.4rem) var(--edge) clamp(3rem, 6vw, 5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(21rem, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
}

.hero-copy .eyebrow{ margin-bottom: 1.1rem; }
.case-label{
  width: min(100%, 30rem);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--line);
  background: var(--vellum);
  padding: 0.55rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero h1{
  font-size: clamp(2.45rem, 5vw, 4.05rem);
  line-height: 1.05;
  max-width: 11.5ch;
}

.hero-lede{
  margin-top: 1.6rem;
  max-width: 50ch;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

.hero-proof{
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 42rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-proof span{
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.8rem 1rem 0.8rem 0;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-proof span + span{
  border-left: 1px solid var(--line);
  padding-left: 1rem;
}
.hero-proof strong{
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: none;
}

.hero-actions{
  margin-top: 2.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-figure{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.anatomy-frame{
  position: relative;
  width: min(80%, 320px);
}
.anatomy-frame::before{
  content: "";
  position: absolute;
  inset: 8% -10%;
  background: radial-gradient(ellipse at center, var(--line) 0%, transparent 70%);
  opacity: 0.6;
  z-index: -1;
}

.anatomy{
  display: block;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  animation: anatomy-in 0.9s cubic-bezier(.2,.7,.3,1) forwards;
  animation-delay: 0.15s;
}
.anatomy-illustration{
  aspect-ratio: 2 / 3;
  object-fit: contain;
}
@keyframes anatomy-in{
  to{ opacity: 1; transform: translateY(0); }
}

.body-tag{
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transform: translateY(-50%);
  opacity: 0;
  animation: fade-in 0.6s ease forwards;
  animation-delay: 1.1s;
}
.body-tag:nth-of-type(2){ animation-delay: 1.2s; }
.body-tag:nth-of-type(3){ animation-delay: 1.3s; }
.body-tag:nth-of-type(4){ animation-delay: 1.4s; }
@keyframes fade-in{
  from{ opacity: 0; }
  to{ opacity: 1; }
}

.body-tag::before{
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.2px solid var(--rust);
  background: var(--card);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--paper);
}
.body-tag .tag-line{
  width: 16px;
  height: 1px;
  background: var(--line-strong);
  flex-shrink: 0;
}
.body-tag .tag-label{
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--rust-deep);
  background: rgba(251, 248, 241, 0.82);
  backdrop-filter: blur(3px);
  border: 1px solid var(--line);
  padding: 0.15em 0.45em;
  white-space: nowrap;
}
.body-tag.right{ transform: translate(0, -50%); }
.body-tag.left{ flex-direction: row-reverse; transform: translate(-100%, -50%); }

.rating-seal{
  position: absolute;
  right: -0.5rem;
  top: 38%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 1.5px dashed var(--rust);
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px var(--line-strong);
  background: var(--card);
  transform: rotate(-9deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  text-align: center;
}
.rating-stars{ color: var(--ochre); font-size: 0.72rem; letter-spacing: 0.1em; }
.rating-number{ font-family: var(--font-display); font-size: 1.7rem; font-weight: 560; line-height: 1; }
.rating-sub{
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}
.rating-source{
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust-deep);
  margin-top: 0.2rem;
}
.rating-source img{ width: 11px; height: 11px; }

/* =================== TRUST PANEL =================== */
.trust-panel{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.4rem;
  padding-top: 1rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.trust-card,
.trust-metrics{
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  backdrop-filter: blur(3px);
}
.trust-card{
  padding: clamp(1.7rem, 3vw, 2.4rem);
  box-shadow: 6px 6px 0 var(--rust);
  overflow: hidden;
}
.trust-card::after{
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 11rem;
  height: 11rem;
  border: 1px solid rgba(178, 69, 31, 0.28);
  transform: rotate(45deg);
}
.trust-no{
  display: inline-flex;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--rust-deep);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 0.18em 0.7em;
}
.trust-card h2{
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  line-height: 1.05;
  max-width: 16ch;
}
.trust-card p{
  margin-top: 1.2rem;
  max-width: 54ch;
  color: var(--ink-soft);
}
.trust-metrics{
  display: grid;
  grid-template-columns: 1fr;
}
.trust-metrics span{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-height: 110px;
  padding: 1.1rem 1.3rem;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.trust-metrics span + span{ border-top: 1px solid var(--line); }
.trust-metrics strong{
  color: var(--rust-deep);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 560;
  letter-spacing: 0;
  text-transform: none;
}

/* =================== IL TERAPISTA =================== */
.therapist-grid{
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.therapist-photo{
  margin: 0;
}
.therapist-photo .photo-frame{
  position: relative;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px var(--paper), 10px 10px 0 var(--rust), 0 22px 48px rgba(33, 28, 23, 0.12);
  transform: rotate(-0.7deg);
}
.therapist-photo picture{
  display: block;
  overflow: hidden;
}
.therapist-photo img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  filter: sepia(6%) saturate(92%);
}
.therapist-photo figcaption{
  margin-top: 1rem;
}
.therapist-photo h2{ font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
.role-label{
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rust-deep);
}

.therapist-text > *{ margin: 1.3rem 0 0; }
.therapist-text > *:first-child{ margin-top: 0; }

.therapist-text p{
  color: var(--ink-soft);
  max-width: 58ch;
}

.therapist-text .lede{
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  max-width: 30ch;
  line-height: 1.35;
}
.therapist-text .lede em{ font-style: italic; }

.focus-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}
.focus-tags li{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rust-deep);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 0.35em 0.85em;
}

.pull-quote{
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  border-left: 3px solid var(--rust);
  padding: 0.2rem 0 0.2rem 1.6rem;
}
.pull-quote::before{
  content: "“";
  position: absolute;
  left: 0.55rem;
  top: -0.7rem;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 3.2rem;
  color: var(--ochre);
  opacity: 0.5;
  line-height: 1;
}

.therapist-stat{
  display: flex;
  align-items: baseline;
  gap: 1.3rem;
  padding-top: 1.3rem !important;
  border-top: 1px solid var(--line);
}

/* =================== METODO =================== */
.method{
  position: relative;
}
.method-layout{
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.method-copy{
  position: sticky;
  top: 7.5rem;
}
.method-stamp{
  display: inline-flex;
  margin-bottom: 1rem;
  border: 1px solid var(--rust);
  color: var(--rust-deep);
  padding: 0.28em 0.7em;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.method-copy h2{
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.06;
  max-width: 12ch;
}
.method-copy p{
  margin-top: 1.2rem;
  max-width: 42ch;
  color: var(--ink-soft);
}
.method-steps{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 6px 6px 0 var(--line);
}
.method-step{
  min-height: 210px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s ease, transform 0.25s ease;
}
.method-step:hover{
  background: var(--paper);
  transform: translateY(-2px);
}
.method-step:nth-child(2n){ border-right: 0; }
.method-step:nth-last-child(-n + 2){ border-bottom: 0; }
.method-step span{
  display: block;
  margin-bottom: 2.2rem;
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 340;
  color: var(--line-strong);
}
.method-step h3{
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
}
.method-step p{
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.stat-number{
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 560;
  color: var(--ink);
}
.stat-number em{
  font-style: normal;
  font-size: 0.5em;
  color: var(--ochre);
  margin-left: 0.15em;
}
.stat-copy{
  color: var(--ink-soft);
  max-width: 30ch;
  font-size: 0.95rem;
}

/* =================== TRATTAMENTI =================== */
.section > h2{
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  max-width: 20ch;
  margin-bottom: 2.6rem;
}

.treatment-list{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}
.treatment{
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: var(--card);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.treatment:hover{
  border-color: var(--rust);
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--line-strong), 0 22px 40px rgba(33, 28, 23, 0.1);
}

.treatment-visual{
  position: relative;
  padding: clamp(2.2rem, 4vw, 3rem) clamp(1.8rem, 3vw, 2.4rem) clamp(2.8rem, 5vw, 3.6rem);
  background:
    radial-gradient(circle at 85% 12%, rgba(178, 69, 31, 0.16), transparent 55%),
    linear-gradient(160deg, var(--paper-deep), var(--paper));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.treatment-cover{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.treatment:hover .treatment-cover{ transform: scale(1.04); }
.treatment-visual::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 28, 23, 0.4), transparent 45%);
}
.treatment-no{
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  color: var(--paper);
  opacity: 0.9;
}
.treatment-icon-wrap{
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--card);
  box-shadow: 4px 4px 0 var(--rust);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.treatment:hover .treatment-icon-wrap{ transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--rust); }
.treatment-icon{
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--rust-deep);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}
.treatment:hover .treatment-icon{ stroke: var(--rust); }

.treatment-body{
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2rem) clamp(1.8rem, 3vw, 2.4rem) 0;
}
.treatment-body h3{
  font-size: clamp(1.3rem, 2vw, 1.55rem);
  font-weight: 560;
  margin-bottom: 0.6rem;
}
.treatment-body p{
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.treatment-footer{
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1.8rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2rem);
}
.treatment-price{
  display: flex;
  flex-direction: column;
}
.treatment-price strong{
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 560;
  color: var(--ink);
}
.treatment-price span{
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.treatment-link{
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rust-deep);
  font-weight: 500;
}
.treatment-link svg{
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}
.treatment:hover .treatment-link{ color: var(--rust); }
.treatment:hover .treatment-link svg{ transform: translateX(4px); }

/* =================== RECENSIONI =================== */
.reviews-top{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
}
.reviews-top h2{ font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 20ch; }

.google-badge{
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line-strong);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.google-badge:hover{
  border-color: var(--rust);
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--line-strong);
}
.google-badge-logo{ width: 26px; height: 26px; flex-shrink: 0; }
.google-badge-text{ display: flex; flex-direction: column; gap: 0.15rem; }
.google-badge-rating{
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 560;
  color: var(--ink);
}
.google-badge-stars{ color: var(--ochre); font-size: 0.8rem; letter-spacing: 0.06em; margin-left: 0.2em; }
.google-badge-count{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.reviews-marquee{
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.reviews-track{
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  width: max-content;
  padding: 1.5rem 0 2rem;
  animation: reviews-scroll 42s linear infinite;
}
.reviews-marquee:hover .reviews-track{ animation-play-state: paused; }
@keyframes reviews-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .reviews-track{ animation: none; }
}

.slip{
  margin: 0;
  flex: 0 0 min(85vw, 340px);
  position: relative;
  background: linear-gradient(165deg, var(--card), var(--paper-deep));
  border: 1px solid var(--line);
  padding: 2.1rem 1.7rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: 0 12px 26px rgba(33, 28, 23, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.slip::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rust), var(--ochre));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.slip:hover{
  transform: translateY(-8px);
  border-color: var(--rust);
  box-shadow: 0 24px 44px rgba(33, 28, 23, 0.16);
}
.slip:hover::before{ transform: scaleX(1); }

.slip-quote-mark{
  position: absolute;
  top: -1.6rem;
  right: 0.8rem;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--rust);
  opacity: 0.09;
  pointer-events: none;
  user-select: none;
}
.slip-stars{
  color: var(--ochre);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}
.slip p{
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--ink);
}
.slip cite{
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-style: normal;
  margin-top: auto;
  padding-top: 0.3rem;
}
.slip-avatar{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 560;
  font-size: 1rem;
}
.slip:nth-child(3n+2) .slip-avatar{ background: var(--teal); }
.slip:nth-child(3n+3) .slip-avatar{ background: var(--ochre); color: var(--ink); }
.slip-cite-text{
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.slip-name{
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink);
}
.slip-source{
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.slip-source img{ width: 12px; height: 12px; flex-shrink: 0; }

/* =================== STUDIO / CONTATTI =================== */
.studio-grid{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.studio-info h2{ font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 2rem; }

.studio-info dl{
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  margin: 0 0 2.2rem;
}
.studio-info dt{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rust-deep);
  margin-bottom: 0.3rem;
}
.studio-info dd{
  margin: 0;
  font-size: 1.02rem;
}
.studio-info dd a:hover{ color: var(--rust-deep); }
.note{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  opacity: 0.7;
  margin-top: 0.2rem;
}

.studio-map-frame{
  position: relative;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px var(--paper), 10px 10px 0 var(--rust), 0 20px 46px rgba(33, 28, 23, 0.12);
}

.map-corner{
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 2;
  pointer-events: none;
}
.corner-tl{ top: 4px; left: 4px; border-top: 2px solid var(--rust); border-left: 2px solid var(--rust); }
.corner-tr{ top: 4px; right: 4px; border-top: 2px solid var(--rust); border-right: 2px solid var(--rust); }
.corner-bl{ bottom: 4px; left: 4px; border-bottom: 2px solid var(--rust); border-left: 2px solid var(--rust); }
.corner-br{ bottom: 4px; right: 4px; border-bottom: 2px solid var(--rust); border-right: 2px solid var(--rust); }

.map-label{
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(251, 248, 241, 0.9);
  backdrop-filter: blur(3px);
  border: 1px solid var(--line);
  padding: 0.4em 0.75em;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.map-label svg{ width: 11px; height: 10px; fill: var(--rust); flex-shrink: 0; }

.studio-map{
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  filter: sepia(18%) saturate(72%) contrast(96%);
}
.studio-map iframe{
  width: 100%; height: 100%;
  border: 0;
}

/* =================== FOOTER =================== */
.site-footer{
  max-width: var(--container);
  margin: 0 auto;
  padding: 3rem var(--edge) 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
.site-footer .brand-mark{
  width: 26px; height: 24px;
  stroke: var(--rust);
  stroke-width: 5;
}
.site-footer p{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.footer-fine{ opacity: 0.65; font-size: 0.7rem !important; }
.footer-fine a{ color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.back-to-top{
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.back-to-top:hover{ color: var(--rust-deep); border-color: var(--rust); }

.count-inline, .rating-number, .rating-count{
  font-variant-numeric: tabular-nums;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 900px){
  .header-utility{ display: none; }
  .site-nav{ display: none; }
  .nav-toggle{ display: flex; }

  .hero{ grid-template-columns: 1fr; }
  .hero::after{ right: var(--edge); font-size: 18vw; }
  .hero-figure{ order: -1; margin-bottom: 1rem; }
  .anatomy-frame{ width: min(62%, 270px); }

  .therapist-grid{ grid-template-columns: 1fr; }
  .studio-grid{ grid-template-columns: 1fr; }
  .trust-panel{ grid-template-columns: 1fr; }
  .method-layout{ grid-template-columns: 1fr; }
  .method-copy{ position: static; }
}

@media (max-width: 900px){
  .site-header.nav-open .site-nav{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    padding: 1.5rem var(--edge) 2rem;
    border-bottom: 1px solid var(--line);
    gap: 1.1rem;
  }
  .site-nav .header-cta{ margin-top: 0.4rem; }
}

@media (max-width: 560px){
  .hero h1{ max-width: none; }
  .hero-proof{ grid-template-columns: 1fr; }
  .hero-proof span + span{ border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .method-steps{ grid-template-columns: 1fr; }
  .method-step,
  .method-step:nth-child(2n),
  .method-step:nth-last-child(-n + 2){ border-right: 0; border-bottom: 1px solid var(--line); }
  .method-step:last-child{ border-bottom: 0; }
  .treatment-list{ grid-template-columns: 1fr; }
  .hero-figure{ display: none; }
  .case-label{ flex-direction: column; gap: 0.25rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal{ transition: none; opacity: 1; transform: none; }
  .anatomy{ animation: none !important; opacity: 1 !important; transform: none !important; }
}
