/* ============================================================
   ALI GAADOUDI — PAGINE INTERNE
   Carica DOPO styles.css e sections.css.
============================================================ */

ol { list-style: none; }

/* ============================================================
   ENFASI SENZA <strong> / <b>
============================================================ */
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.em            { font-weight: 600; color: var(--text); }
.em-strong     { font-weight: 700; color: var(--text); }

.section-dark .em, .section-rose .em, .page-hero .em, .footer .em { color: inherit; }

.footer-brand .em {
  display: block;
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.025em;
}
.footer-credit .em { font-weight: 700; color: rgba(255, 255, 255, .88); }
.media-tag .em     { display: block; font-size: .9375rem; font-weight: 600; color: var(--text); line-height: 1.35; }

/* ============================================================
   PAGE HERO
============================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(5rem, 8vw, 7.5rem));
  padding-bottom: clamp(4rem, 7vw, 6.5rem);
  text-align: center;
  color: var(--white);
  background: var(--navy);
}

.page-hero .eyebrow {
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .22);
  color: rgba(255, 255, 255, .92);
}

.page-hero h1 {
  max-width: 18ch;
  margin: 1.75rem auto 0;
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
}

.page-hero .subtitle {
  margin-top: 1.25rem;
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.page-hero .lead {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: rgba(255, 255, 255, .78);
}
.page-hero .lead .font-semibold { color: var(--white); }

.page-hero .cta-row { justify-content: center; }

.hero-quote {
  max-width: 34rem;
  margin: 2.5rem auto 0;
  padding: 1.75rem 2rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  font-style: italic;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--white);
}
.hero-quote cite {
  display: block;
  margin-top: .875rem;
  font-size: var(--fs-xs);
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--orange);
}

.crumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.75rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .50);
}
.crumbs a { color: rgba(255, 255, 255, .72); transition: color .3s var(--ease); }
.crumbs a:hover { color: var(--orange); }
.crumbs span { color: rgba(255, 255, 255, .35); }

.jump-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; }
.jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  height: 42px;
  padding-inline: 1.125rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  white-space: nowrap;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), transform .3s var(--ease);
}
.jump-nav a:hover {
  background: rgba(255, 145, 77, .18);
  border-color: rgba(255, 145, 77, .45);
  color: var(--orange);
  transform: translateY(-2px);
}
.jump-nav .n {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  font-size: .75rem;
  color: var(--white);
}

/* ============================================================
   SERVICES
============================================================ */
.svc {
  position: relative;
  padding-block: clamp(6rem, 9vw, 8.5rem);
  background: var(--white);
  scroll-margin-top: calc(var(--nav-h) + 2rem);
}
.svc-alt { background: var(--cream); }

.svc-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
}
.svc.reverse .svc-media { order: 2; }
.svc.reverse .svc-copy  { order: 1; }

.svc-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  box-shadow: var(--sh-lg);
}
.svc-media img { width: 100%; height: 100%; object-fit: cover; }

.svc-badge {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .875rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--sh-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy);
  pointer-events: none;
}
.svc-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.svc-copy { max-width: 36rem; }

.svc-num {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.25rem;
  border-radius: var(--r-sm);
  background: var(--navy);
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
}
.svc:nth-of-type(even) .svc-num { background: var(--orange); color: var(--navy-900); }

.svc-copy h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); letter-spacing: -0.03em; }

.svc-steps { margin-top: 2.25rem; }
.svc-steps li { position: relative; padding: 0 0 1.75rem 2.5rem; }
.svc-steps li:last-child { padding-bottom: 0; }
.svc-steps li::before {
  content: "";
  position: absolute;
  left: 8px; top: 22px; bottom: -4px;
  width: 1px;
  background: linear-gradient(180deg, var(--hairline), transparent);
}
.svc-steps li:last-child::before { display: none; }
.svc-steps li::after {
  content: "";
  position: absolute;
  left: 3px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid #7C93B4;
}
.svc-steps li:nth-child(1)::after { border-color: var(--navy); }
.svc-steps li:nth-child(2)::after { border-color: var(--orange); }
.svc-steps li:nth-child(3)::after { border-color: var(--rose); }
.svc-steps li:nth-child(4)::after {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 145, 77, .18);
}
.svc-steps h3 {
  margin-bottom: .3125rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
}
.svc-steps li:nth-child(2) h3 { color: var(--orange-deep); }
.svc-steps li:nth-child(3) h3 { color: var(--rose-deep); }
.svc-steps li:nth-child(4) h3 { color: var(--clay-deep); }
.svc-steps p { font-size: var(--fs-sm); line-height: 1.7; color: var(--text-body); }
.svc-steps li:last-child p { color: var(--text); font-weight: 500; }

.svc-cta { margin-top: 2.5rem; }

/* ============================================================
   ABOUT — Story
============================================================ */
.story-split { padding-block: clamp(6rem, 9vw, 8.5rem); background: var(--white); }
.story-split .split-media.media-portrait { aspect-ratio: 4 / 5; }

.story-copy h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
.story-copy p  { margin-top: 1.25rem; font-size: var(--fs-body); line-height: 1.8; color: var(--text-body); }
.story-copy p .em, .story-copy p .font-semibold { color: var(--text); }

.pull {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--r-md);
  background: var(--cream);
  border-left: 3px solid var(--orange);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-style: italic;
  color: var(--text);
}

/* ============================================================
   ABOUT — Philosophy
============================================================ */
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.principle {
  padding: 2.25rem 2rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: transform .5s var(--ease), background .4s var(--ease);
}
.principle:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .11); }

.principle .n {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 1.375rem;
  border-radius: var(--r-sm);
  font-size: .8125rem; font-weight: 600;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .20);
  color: var(--white);
}
.principle:nth-child(2) .n { background: var(--orange); border-color: transparent; color: var(--navy-900); }
.principle:nth-child(3) .n { background: var(--rose);   border-color: transparent; color: var(--white); }

.principle h3 { font-size: var(--fs-h3); color: var(--white); letter-spacing: -0.025em; }
.principle p  { margin-top: .625rem; font-size: var(--fs-sm); line-height: 1.7; color: rgba(255, 255, 255, .74); }

.values { display: flex; flex-wrap: wrap; justify-content: center; gap: .625rem; margin-top: 3rem; }
.values li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .625rem 1.125rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, .86);
}
.values li svg { width: 15px; height: 15px; color: var(--orange); }

/* ============================================================
   ABOUT — 4 lenti
============================================================ */
.lenses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.lens {
  padding: 2.25rem 1.75rem;
  border-radius: var(--r-lg);
  color: var(--white);
  box-shadow: 0 24px 50px -22px rgba(11, 31, 64, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.lens:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -22px rgba(11, 31, 64, .45); }

.lens:nth-child(1) { background: linear-gradient(160deg, #14305C 0%, #0B1F40 100%); }
.lens:nth-child(2) { background: linear-gradient(160deg, #FF9A5A 0%, #F0762B 100%); color: var(--navy-900); }
.lens:nth-child(3) { background: linear-gradient(160deg, #BE898E 0%, #8A5459 100%); }
.lens:nth-child(4) { background: linear-gradient(160deg, #9B6C46 0%, #6F4A2F 100%); }

.lens .ico {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 1.375rem;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .24);
  color: currentColor;
}
.lens:nth-child(2) .ico { background: rgba(6, 20, 40, .12); border-color: rgba(6, 20, 40, .18); }
.lens .ico svg { width: 22px; height: 22px; }

.lens h3 { font-size: 1.0625rem; letter-spacing: -0.02em; color: inherit; }
.lens p  { margin-top: .5rem; font-size: var(--fs-sm); line-height: 1.65; color: rgba(255, 255, 255, .82); }
.lens:nth-child(2) p { color: rgba(6, 20, 40, .78); }

.biomech { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 2.5rem; }
.biomech li {
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  background: var(--cream);
  border: 1px solid var(--cream-line);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

/* ============================================================
   ABOUT — Chi seguo
============================================================ */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.aud {
  display: flex; flex-direction: column;
  padding: 2.25rem 2rem;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--cream-line);
  box-shadow: var(--sh-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.aud:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }

.aud .age {
  align-self: flex-start;
  margin-bottom: 1rem;
  padding: .3125rem .75rem;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(11, 31, 64, .06);
  color: var(--navy);
}
.aud:nth-child(2) .age { background: rgba(255, 145, 77, .16);  color: var(--orange-deep); }
.aud:nth-child(3) .age { background: rgba(175, 119, 124, .16); color: var(--rose-deep); }

.aud h3 { font-size: var(--fs-h3); letter-spacing: -0.025em; }
.aud ul { margin-top: 1.125rem; }
.aud li {
  position: relative;
  padding-left: 1.375rem;
  margin-bottom: .625rem;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-body);
}
.aud li::before {
  content: "";
  position: absolute;
  left: 0; top: .55rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ============================================================
   ABOUT — Prima consulenza
============================================================ */
.expect { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; list-style: none; }

.expect li {
  position: relative;
  padding: 2.25rem 1.75rem;
  border-radius: var(--r-lg);
  color: var(--white);
  box-shadow: 0 24px 50px -22px rgba(11, 31, 64, .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.expect li:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -22px rgba(11, 31, 64, .45); }

.expect li:nth-child(1) { background: linear-gradient(160deg, #14305C 0%, #0B1F40 100%); }
.expect li:nth-child(2) { background: linear-gradient(160deg, #FF9A5A 0%, #F0762B 100%); color: var(--navy-900); }
.expect li:nth-child(3) { background: linear-gradient(160deg, #BE898E 0%, #8A5459 100%); }
.expect li:nth-child(4) { background: linear-gradient(160deg, #9B6C46 0%, #6F4A2F 100%); }

.expect .step {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, .38);
}
.expect li:nth-child(2) .step { color: rgba(6, 20, 40, .32); }

.expect h3 { font-size: 1.0625rem; font-weight: 600; color: inherit; letter-spacing: -0.02em; }
.expect p  { margin-top: .5rem; font-size: var(--fs-sm); line-height: 1.65; color: rgba(255, 255, 255, .82); }
.expect li:nth-child(2) p { color: rgba(6, 20, 40, .78); }

/* ============================================================
   APPROACH — Biomeccanica
============================================================ */
.bio { padding-block: clamp(6rem, 9vw, 8.5rem); background: var(--white); }
.bio-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(3rem, 6vw, 5.5rem);
}
.bio-copy { max-width: 36rem; }
.bio-copy h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
.bio-copy p  { margin-top: 1.25rem; font-size: var(--fs-body); line-height: 1.8; color: var(--text-body); }
.bio-copy p .em, .bio-copy p .font-semibold { color: var(--text); }

.bio-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  box-shadow: var(--sh-lg);
}
.bio-media img { width: 100%; height: 100%; object-fit: cover; }

.bio-params { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 2.25rem; }
.bio-params li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  border-radius: var(--r-md);
  background: var(--cream);
  border: 1px solid var(--cream-line);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy);
}
.bio-params .dot { width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--navy); }
.bio-params li:nth-child(2) .dot { background: var(--orange); }
.bio-params li:nth-child(3) .dot { background: var(--rose); }
.bio-params li:nth-child(4) .dot { background: var(--clay); }

/* ============================================================
   APPROACH — Infografica
============================================================ */
.flow { position: relative; }
.flow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 3rem; bottom: 3rem;
  width: 2px;
  margin-left: -1px;
  border-radius: 2px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, .05) 0%,
    rgba(255, 255, 255, .28) 12%,
    rgba(255, 145, 77, .60) 50%,
    rgba(255, 255, 255, .28) 88%,
    rgba(255, 255, 255, .05) 100%);
  pointer-events: none;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: 1.25rem;
}

.flow-card {
  padding: 2rem 2rem 1.875rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .55);
  transition: transform .5s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.flow-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 145, 77, .38);
}

.flow-kicker {
  display: inline-block;
  margin-bottom: .625rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
}
.flow-card h3 { font-size: var(--fs-h3); color: var(--white); letter-spacing: -0.025em; }
.flow-card p  { margin-top: .625rem; font-size: var(--fs-sm); line-height: 1.7; color: rgba(255, 255, 255, .76); }
.flow-card p .em, .flow-card p .font-semibold { color: var(--white); }

.flow-node {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 50%;
  font-size: .9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white);
  background: #14305C;
  border: 2px solid rgba(255, 255, 255, .22);
  box-shadow: 0 0 0 8px rgba(6, 20, 40, .55);
}
.flow-step:nth-child(2) .flow-node { background: var(--orange); color: var(--navy-900); border-color: rgba(255, 255, 255, .35); }
.flow-step:nth-child(3) .flow-node { background: var(--rose); }
.flow-step:nth-child(4) .flow-node { background: var(--clay); }

.flow-step:nth-child(odd)  .flow-card { grid-column: 1; text-align: right; }
.flow-step:nth-child(odd)  .flow-node { grid-column: 2; }
.flow-step:nth-child(odd)  .flow-spacer { grid-column: 3; }
.flow-step:nth-child(even) .flow-spacer { grid-column: 1; }
.flow-step:nth-child(even) .flow-node   { grid-column: 2; }
.flow-step:nth-child(even) .flow-card   { grid-column: 3; text-align: left; }

/* ============================================================
   APPROACH — chiusura
============================================================ */
.closing { padding-block: clamp(6rem, 9vw, 8rem); background: var(--white); text-align: center; }
.closing blockquote {
  max-width: 46rem;
  margin-inline: auto;
  font-size: clamp(1.375rem, 2.4vw, 1.875rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--text);
}
.closing .mark {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  color: var(--orange);
}
.closing cite {
  display: block;
  margin-top: 1.5rem;
  font-size: var(--fs-xs);
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.closing .cta-row { justify-content: center; margin-top: 2.75rem; }

/* ============================================================
   SUCCESS STORIES — case study
============================================================ */
.case {
  padding-block: clamp(5rem, 8vw, 7rem);
  background: var(--white);
  scroll-margin-top: calc(var(--nav-h) + 2rem);
}
.case-alt { background: var(--cream); }

.case > .container { max-width: 1320px; }

.case-inner {
  display: grid;
  grid-template-columns: minmax(280px, .68fr) minmax(0, 1.32fr);
  align-items: center;
  gap: clamp(2.5rem, 4.5vw, 4rem);
}
.case-media { grid-column: 1; grid-row: 1; }
.case-copy  { grid-column: 2; grid-row: 1; }

.case.reverse .case-inner {
  grid-template-columns: minmax(0, 1.32fr) minmax(280px, .68fr);
}
.case.reverse .case-media { grid-column: 2; grid-row: 1; }
.case.reverse .case-copy  { grid-column: 1; grid-row: 1; }

.case-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  box-shadow: var(--sh-lg);
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }

.case-tag {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .875rem;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: var(--blur);
  backdrop-filter: var(--blur);
  border: 1px solid var(--glass-line);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy);
  pointer-events: none;
}
.case-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.case-copy { min-width: 0; }

.case-kicker {
  display: inline-block;
  margin-bottom: 1rem;
  padding: .375rem .875rem;
  border-radius: var(--r-pill);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(11, 31, 64, .06);
  color: var(--navy);
}
.case-alt .case-kicker { background: rgba(255, 145, 77, .16); color: var(--orange-deep); }

.case-copy h2 { font-size: clamp(1.75rem, 2.8vw, 2.375rem); letter-spacing: -0.03em; }

.case-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.75rem;
}
.case-meta > div {
  min-width: 0;
  padding-left: 1.125rem;
  border-left: 2px solid var(--hairline);
}
.case-meta h3 {
  margin-bottom: .3125rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.case-meta p { font-size: var(--fs-sm); line-height: 1.7; color: var(--text-body); }
.case-meta p .font-semibold { color: var(--text); }

/* Riquadro profilo (sostituisce la foto: nessun volto finto) */
/* niente proporzione fissa e niente spazio vuoto: il riquadro è alto quanto il
   suo contenuto e resta visibile (sticky) mentre si legge la storia accanto. */
.case .case-media.case-profile,
.case.reverse .case-media.case-profile {
  aspect-ratio: auto;
  align-self: start;
  min-height: 0;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.case-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .25rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(165deg, #123059 0%, #0B1F40 100%);
  color: #fff;
}
/* l'etichetta sta nel flusso della card: non può mai sovrapporsi al monogramma */
.case-profile .case-tag {
  position: static;
  align-self: center;
  margin-bottom: 1.5rem;
}
.cp-monogram {
  width: 92px; height: 92px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em;
  color: #fff;
}
.cp-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.cp-age { font-size: var(--fs-sm); color: rgba(255, 255, 255, .6); }
.cp-goal { margin-top: 1.25rem; max-width: 22rem; font-size: var(--fs-sm); line-height: 1.6; color: rgba(255, 255, 255, .82); }
.cp-goal-label { display: block; margin-bottom: .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }

/* Storia del caso in 4 parti */
.case-story { margin-top: 1.75rem; display: grid; gap: 1.5rem; }
.case-block { padding-left: 1.125rem; border-left: 2px solid var(--hairline); }
.case-block h3 {
  margin-bottom: .45rem;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted);
}
.case-block > p { font-size: var(--fs-sm); line-height: 1.7; color: var(--text-body); }
.case-block--result { border-left-color: var(--orange); }
.case-points { margin-top: .5rem; display: grid; gap: .45rem; }
.case-points li {
  position: relative;
  padding-left: 1.05rem;
  font-size: var(--fs-sm); line-height: 1.6; color: var(--text-body);
}
.case-points li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--orange);
}
.case-points li .font-semibold { color: var(--text); font-weight: 600; }

.ba {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  align-items: stretch;
  gap: .75rem;
  margin-top: 2rem;
}
.ba > * { min-width: 0; }

.ba-panel { padding: 1.5rem 1.625rem 1.375rem; border-radius: var(--r-md); }
.ba-before { background: rgba(175, 119, 124, .10); border: 1px solid rgba(175, 119, 124, .22); }
.ba-after  { background: rgba(255, 145, 77, .12);  border: 1px solid rgba(255, 145, 77, .30); }

.ba-panel h3 {
  margin-bottom: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ba-before h3 { color: var(--rose-deep); }
.ba-after  h3 { color: var(--orange-deep); }
.ba-panel p { font-size: var(--fs-sm); line-height: 1.65; color: var(--text-body); }
.ba-after  p { color: var(--text); font-weight: 500; }

.ba-arrow { display: grid; place-items: center; align-self: center; color: var(--text-muted); }
.ba-arrow svg { width: 22px; height: 22px; }

.case-cta { margin-top: 2.25rem; }

/* ============================================================
   SUCCESS STORIES — Google reviews
   Card più larghe + altezze uniformi
============================================================ */
#reviews > .container { max-width: 1320px; }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;          /* stessa altezza: niente colonna sbilenca */
  gap: 1.5rem;
}

.review {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.25rem 2.125rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 30px 70px -28px rgba(0, 0, 0, .55);
  transition: transform .5s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.review:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 145, 77, .35);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.review-g {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.review-g svg { width: 18px; height: 18px; }

.stars { display: flex; gap: .1875rem; color: var(--orange); }
.stars svg { width: 14px; height: 14px; }

.review blockquote { font-size: var(--fs-sm); line-height: 1.7; color: rgba(255, 255, 255, .88); }

.review-author {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-top: auto;
  padding-top: 1.75rem;
}

/* FIX — l'avatar è un cerchio: la lettera resta dentro */
.review-author .review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  color: var(--white);
  background: linear-gradient(150deg, #14305C, #0B1F40);
  border: 1px solid rgba(255, 255, 255, .20);
  overflow: hidden;
}
.review:nth-child(2) .review-author .review-avatar { background: linear-gradient(150deg, #FF9A5A, #F0762B); color: var(--navy-900); }
.review:nth-child(3) .review-author .review-avatar { background: linear-gradient(150deg, #BE898E, #8A5459); }

/* solo il blocco testo, non l'avatar */
.review-author > span:not(.review-avatar) { min-width: 0; }
.review-author cite {
  display: block;
  font-style: normal;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, .88);
}
.review-author > span:not(.review-avatar) > span {
  display: block;
  font-size: var(--fs-xs);
  line-height: 1.35;
  color: rgba(255, 255, 255, .48);
}

.reviews-cta { justify-content: center; margin-top: 3rem; }

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 1080px) {
  .lenses  { grid-template-columns: repeat(2, 1fr); }
  .expect  { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
}

@media (max-width: 960px) {
  .case-inner,
  .case.reverse .case-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .case-media, .case.reverse .case-media { grid-column: 1; grid-row: 1; aspect-ratio: 16 / 10; }
  /* il riquadro profilo non ha altezza fissa: si adatta al testo (anche nei casi "reverse") */
  .case .case-media.case-profile,
  .case.reverse .case-media.case-profile {
    aspect-ratio: auto;
    min-height: 0;
    padding: 2.5rem 1.5rem;
    position: static;
  }
  .case-copy,  .case.reverse .case-copy  { grid-column: 1; grid-row: 2; }
}

@media (max-width: 900px) {
  .svc-inner { grid-template-columns: 1fr; gap: 2.75rem; }
  .svc-media, .svc.reverse .svc-media { order: 1; aspect-ratio: 4 / 3; }
  .svc-copy,  .svc.reverse .svc-copy  { order: 2; max-width: 100%; }

  .bio-inner { grid-template-columns: 1fr; gap: 2.75rem; }
  .bio-media { order: 1; aspect-ratio: 4 / 3; }
  .bio-copy  { order: 2; max-width: 100%; }

  .principles-grid,
  .audience-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }

  .flow::before { left: 30px; }
  .flow-step { grid-template-columns: 60px 1fr; gap: 1.5rem; align-items: start; }
  /* numero e card SEMPRE sulla stessa riga (grid-row: 1), a prescindere
     dall'ordine nel markup: così il numero non scivola sotto la card */
  .flow-step:nth-child(odd)  .flow-card,
  .flow-step:nth-child(even) .flow-card { grid-column: 2; grid-row: 1; text-align: left; }
  .flow-step:nth-child(odd)  .flow-node,
  .flow-step:nth-child(even) .flow-node { grid-column: 1; grid-row: 1; }
  .flow-spacer { display: none; }
}

@media (max-width: 700px) {
  .case-meta { grid-template-columns: 1fr; gap: 1.25rem; }
  .ba { grid-template-columns: 1fr; gap: 1rem; }
  .ba-arrow { width: 100%; transform: rotate(90deg); }
  .ba-panel h3 { white-space: normal; }
}

@media (max-width: 640px) {
  /* riquadro profilo compatto sugli schermi piccoli */
  .case .case-media.case-profile,
  .case.reverse .case-media.case-profile { padding: 2rem 1.25rem; }
  .cp-monogram { width: 74px; height: 74px; font-size: 1.9rem; margin-bottom: .85rem; }
  .cp-name { font-size: 1.3rem; }
  .cp-goal { margin-top: 1rem; }

  .page-hero h1 { max-width: 100%; }
  .jump-nav a { width: 100%; justify-content: center; }
  .svc-cta .btn, .case-cta .btn { width: 100%; }
  .lenses, .expect { grid-template-columns: 1fr; }
  .bio-params { grid-template-columns: 1fr; }
  .flow-card { padding: 1.75rem 1.5rem; }
  .closing .cta-row .btn { width: 100%; }
}

/* ============================================================
   Sovrapposizioni biomeccaniche sulle foto dei servizi
   ------------------------------------------------------------
   L'SVG è lo sfondo di uno pseudo-elemento che copre il
   contenitore con lo stesso background-size: cover della foto:
   si ritaglia in sincrono con essa, quindi la grafica resta
   incollata alle articolazioni a ogni larghezza.

   ATTENZIONE — vincoli responsive, verificati a tutti i breakpoint:
   1. Il contenitore assume solo due proporzioni: 4:5 sopra i 900px
      e 4:3 sotto. In 4:3 resta visibile soltanto la fascia dal 20%
      all'80% dell'altezza dell'immagine: qualunque testo fuori da
      quella fascia viene tagliato. Le etichette degli SVG stanno
      tutte dentro, verificato uno per uno.
   2. Il badge della categoria sta sempre in alto a sinistra del
      contenitore: nel ritaglio 4:3 scende fino al 28% circa
      dell'immagine, quindi lì non vanno messe etichette.
   3. La grafica resta identica a ogni larghezza: dimensioni del testo
      e spessori sono calibrati perché reggano anche a 345px, che è la
      larghezza dell'immagine su uno smartphone da 390px.
============================================================ */
.svc-media,
.bio-media { position: relative; }

.svc-media::after,
.bio-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: inherit;
}

.svc-media:has(img[src*="service-posture"])::after,
.bio-media:has(img[src*="service-posture"])::after {
  background-image: url("assets/overlay-posture.svg");
}
/* Pain & Injury Recovery: la colonna e la zona di dolore sono dentro
   la foto stessa, quindi qui NON va applicata nessuna sovrapposizione
   (ne risulterebbero due colonne sovrapposte). */

