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

img {
  max-width: 100%;
  height: auto;
}

:root {
  --color-brand-0: #F7F9F7;
  --color-brand-50: #E8E9F3;
  --color-brand-100: #CECECE;
  --color-brand-200: #87A5C1;
  --color-brand-300: #19719D;
  --color-brand-400: #10324E;
  --color-brand-500: #008BD2;
  /* ← tinta principale */
  --color-brand-600: #009640;
  --color-brand-700: #272635;
  --color-brand-800: #fff3cd;
  --color-success: #DDE392;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --sans-primary: "Inter", sans-serif;

  /* Sezione patologie — progress track */
  --pr-tr: rgba(255, 255, 255, .13);

  /* Altezza del nav in stato "scrolled" (serve alla sezione sticky patologie) */
  --nav-scrolled-h: 74px;
}

.sub-citazione {
  /*font-family: 'Royal Signature', cursive;*/
  font-family: 'Cerita', cursive;
  font-size: 2rem !important;
  letter-spacing: 1px;
  line-height: 1.3 !important;
}

/* ── FLOATING WHATSAPP ───────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 12px;
  right: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  padding: 13px 20px 13px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .20);
  font-family: var(--sans-primary);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37, 211, 102, .5);
  color: #fff;
}

.wa-float-label {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .wa-float {
    padding: 14px;
    border-radius: 50%;
  }

  .wa-float-label {
    display: none;
  }
}

html {
  scroll-behavior: smooth;
}

.mt-20 {
  margin-top: 50px;
}

body {
  font-family: var(--sans-primary);
  background: var(--color-brand-0);
  color: var(--color-brand-300);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-color {
  background-color: var(--color-brand-50);
}

.text--dark {
  color: var(--color-brand-400);
}

.span-success {
  color: var(--color-brand-500);
}

.py-8 {
  padding: 8rem 0;
}

.pt-8 {
  padding-top: 8rem;
}

.fz-4 {
  font-size: 4rem !important;
}

/* -- NAV -- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4vw;
  transition: background .4s, backdrop-filter .4s;
}

nav.scrolled {
  background: var(--color-brand-0);
  backdrop-filter: blur(10px);
}

.nav-logo {
  position: relative;

  /* ── loghi ── */
  --logo-main-size: 140px;
  --logo-mark-size: 60px;

  /* ── altezze nav ── */
  --nav-height-default: 100px;
  --nav-height-scrolled: 64px;

  width: 150px;
  height: var(--nav-height-default);
  /* si adatta al logo */
  font-family: var(--sans-primary);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-brand-100);
  text-decoration: none;
  transition: color .4s ease, height .4s ease;
}

nav {
  --h: 270px;
  /* altezza default */
  --logo-a: 190px;
  /* logo-osteosophia.png */
  --logo-b: 65px;
  /* marchio.png (scrolled) */

  height: var(--h);
  transition: height .4s ease, background .4s ease;
}

nav.scrolled {
  --h: var(--nav-scrolled-h);
}

.nav-logo {
  position: relative;
  width: 200px;
  height: 100%;
  /* segue il nav automaticamente */
  color: var(--color-brand-100);
  font-family: var(--sans-primary);
  font-size: 1.15rem;
  font-style: italic;
  text-decoration: none;
  transition: color .4s ease;
}

nav.scrolled .nav-logo {
  color: var(--color-brand-300);
}

.nav-logo::before,
.nav-logo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center left;
  transition: opacity .4s ease, transform .4s ease;
}

.nav-logo::before {
  background-image: url(../img/logo-osteosophia.webp);
  background-size: var(--logo-a);
  opacity: 1;
  transform: scale(1);
}

.nav-logo::after {
  background-image: url(../img/marchio.webp);
  background-size: var(--logo-b);
  opacity: 0;
  transform: scale(0.85);
}

nav.scrolled .nav-logo::before {
  opacity: 0;
  transform: scale(0.85);
}

nav.scrolled .nav-logo::after {
  opacity: 1;
  transform: scale(1);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin-top: -130px;
}

.nav-cta {
  margin-top: -140px;
}

nav.scrolled .nav-cta,
nav.scrolled .nav-links {
  margin-top: 0;
}

.nav-links a {
  font-size: 0.9rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .25s;
  color: var(--color-brand-400);
  font-weight: 600;
}

nav.scrolled .nav-links a {
  color: var(--color-brand-700);
}

.nav-cta {
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .55rem 1.4rem;
  border-radius: 2rem;
  transition: all .25s;
  background-color: var(--color-brand-300);
  color: var(--color-brand-50);
  font-family: var(--sans-primary);
}

nav.scrolled .nav-cta {
  border-color: var(--color-brand-400);
  color: var(--color-brand-50);
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--color-brand-700);
  color: var(--color-brand-100) !important;
}

/* -- HERO FULLSCREEN -- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  animation: zoomOut 1.6s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #272635 0%, #10324e57 45%, rgba(20, 12, 5, .04) 100%);
}

.hero-content {
  position: absolute;
  bottom: 10vh;
  left: 8vw;
  right: 8vw;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 1.4rem;
  opacity: 0;
  animation: fadeUp .8s .3s forwards;
}

.hero-h1 {
  font-family: var(--sans-primary);
  font-size: clamp(3rem, 6.5vw, 3.1rem);
  font-weight: 400;
  line-height: 1.0;
  color: var(--color-brand-100);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp .9s .5s forwards;
}

.hero-h1 em {
  font-style: italic;
}

.hero-actions {
  display: table;
  margin: 5px auto;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .8s .8s forwards;
}

.btn-primary {
  display: inline-block;
  padding: .9rem 1.4rem;
  background: var(--color-brand-300);
  color: var(--color-brand-0);
  border-radius: 2rem;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background .25s, transform .2s;
  margin: 10px;
}

.btn-primary:hover {
  background: var(--color-brand-500);
  color: var(--color-brand-50);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  padding: .9rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, .5);
  color: var(--color-brand-100);
  border-radius: 2rem;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all .25s;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

.hero-badge {
  opacity: 0;
  animation: fadeUp .8s 1s forwards;
  text-align: right;
}

.hero-badge p {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: .4rem;
}

.hero-badge span {
  font-family: var(--sans-primary);
  font-style: italic;
  font-size: 1rem;
  color: rgba(255, 255, 255, .7);
}

/* -- TICKER -- */
.ticker-wrap {
  overflow: hidden;
  background: var(--color-brand-700);
  padding: .9rem 0;
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
}

.ticker span {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-brand-100);
  padding: 0 2rem;
}

.ticker-dot {
  opacity: .5;
}

/* -- INTRO -- */
.intro-primary h2 .word {
  opacity: 0.12;
  transition: opacity 0.1s ease;
  display: inline;
  /* mantiene il flow naturale del testo */
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  padding: 10vh 8vw;
  align-items: center;
  background-color: var(--color-brand-0);
}

.intro-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: .8rem;
}

.intro-photos .ph {
  border-radius: .6rem;
  overflow: hidden;
}

.intro-photos .ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s;
}

.intro-photos .ph:hover img {
  transform: scale(1.04);
}

.photo-a {
  grid-column: 1;
  grid-row: 1 / 3;
}

.photo-b {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 4/5;
}

.photo-c {
  grid-column: 2;
  grid-row: 2;
  aspect-ratio: 4/5;
}

.section-label {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--color-brand-400);
  margin-bottom: 1.2rem;
}

.intro-text h2 {
  font-family: var(--sans-primary);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1.6rem;
}

.intro-primary .intro-text h2 {
  font-weight: 600;
}

/*.intro-text h2::after {
      content: '';
      display: block;
      width: 20%;
      height: 20px;
      margin-top: 10px;
      background: url(../img/title-img.svg) no-repeat center / 100% auto;
  }*/
.intro-text h2 em {
  font-style: italic;
}

.intro-text p {
  font-size: .90rem;
  font-weight: 500;
  color: var(--color-brand-700);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cred-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--color-brand-500);
  padding-top: 1.6rem;
  margin-top: 1.4rem;
}

.cred .num {
  font-family: var(--sans-primary);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-brand-400);
  line-height: 1;
}

.cred .lbl {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a8070;
  margin-top: .2rem;
}

.sub-title {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-brand-400)
}

/* ──────────── SEZIONE BOXES ──────────── */

.boxes-section {
  background: var(--color-brand-400);
  /* #10324E */
  padding: 5rem 4vw;
  display: grid;
  grid-template-columns: 1fr minmax(0, 480px) 1fr;
  grid-template-rows: auto;
  gap: 1.5rem;
  align-items: center;
}

/* colonna sinistra e destra: 2 box impilati */
.boxes-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* singolo box */
.box-card {
  background: var(--color-brand-50);
  /* #E8E9F3 */
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform .25s ease;
}

.box-card:hover {
  transform: translateY(-3px);
  background-color: var(--color-brand-800);
}

/* icona */
.box-icon {
  width: 36px;
  height: 36px;
  background: var(--color-brand-400);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}

.box-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-brand-100);
  /* #008BD2 */
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.box-card h3 {
  font-family: var(--sans-primary);
  /* Cormorant Garamond */
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-brand-400);
  line-height: 1.2;
  margin: 0;
  text-wrap: balance;
}

.box-card p {
  font-family: var(--sans-primary);
  font-size: 0.85rem;
  color: var(--color-brand-700);
  line-height: 1.65;
  margin: 0;
  font-weight: 500;
}

/* ── immagine centrale ── */
.boxes-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 520px;
  margin: 0 auto;
}

.boxes-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 55%;
}

/* overlay sfumato leggero */
.boxes-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      transparent 50%,
      rgba(16, 50, 78, 0.35) 100%);
  pointer-events: none;
}

/* placeholder immagine (rimuovere quando c'è la foto) */
.boxes-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: var(--color-brand-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .35);
  font-family: var(--sans-primary);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* -- TESTIMONIALS -- */
.testi {
  padding: 10vh 8vw;
}

.testi-head {
  text-align: center;
  margin-bottom: 4rem;
}

.testi-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
}

.testi-head h2 em {
  font-style: italic;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--white);
  border-radius: .8rem;
  padding: 2.2rem 2rem;
}

.stars {
  margin-bottom: 1rem;
}

.testi-card q {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.65;
  display: block;
  margin-bottom: 1.4rem;
}

.testi-author {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9a8070;
}

.testi-swiper {
  padding-bottom: 3.5rem !important;
  /* spazio per la pagination */
  overflow: visible;
  /* consente alle card adiacenti di "affacciarsi" */
}

.testi-swiper .swiper-slide {
  height: auto;
  /* tutte le card stessa altezza */
}

/* Card — mantieni il tuo stile .testi-card e aggiungi solo questo */
.testi-card {
  height: 100%;
  box-sizing: border-box;
}

/* Paginazione bullets */
.testi .swiper-pagination {
  bottom: 0;
}

.testi .swiper-pagination-bullet {
  background: currentColor;
  opacity: 0.25;
  width: 8px;
  height: 8px;
  transition: opacity .25s, transform .25s;
}

.testi .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.3);
}

/* Frecce prev/next */
.testi-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testi-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #555;
  /* colore esplicito — non dipende dall'ereditato */
  background: transparent;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity .2s, border-color .2s;
  color: #555;
  /* forza il colore anche per lo stroke SVG */
}

.testi-btn:hover {
  opacity: 1;
  border-color: #222;
  color: #222;
}

.testi-btn:focus-visible {
  outline: 2px solid #555;
  outline-offset: 3px;
}

.testi-btn.swiper-button-disabled {
  opacity: 0.2;
  pointer-events: none;
}

.testi-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Link Google */
.testi-google-link {
  display: block;
  text-align: center;
  margin-top: 2rem;
  font-size: .9rem;
  opacity: 1;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s;
  color: var(--color-brand-700);
}

.testi-google-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.testi-google-link svg {
  display: inline-block;
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  margin-top: -2px;
}

/* Swiper CDN nasconde overflow per default — forziamo visibilità sulle card affiancate */
.testi .swiper {
  overflow: visible;
}

.testi {
  overflow: hidden;
}

/* clip esterno per evitare scroll orizzontale */

/* Fix altezza: ogni slide cresce/si chiude indipendentemente.
   Senza questo, Swiper stretch tutte le slide all'altezza della più alta. */
.testi .swiper-wrapper {
  align-items: flex-start;
}

/* ── "Leggi di più" ── */
/* Testo troncato a 4 righe — via inline style nel JS, non via classe */
.testi-card q {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bottone toggle */
.testi-readmore {
  display: inline-block;
  margin-top: .4rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  opacity: .55;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .15s;
}

.testi-readmore:hover {
  opacity: 1;
}

/* ──────────── RESPONSIVE ──────────── */

/* tablet: immagine in cima, 4 card in griglia 2×2 */
@media (max-width: 960px) {
  .boxes-section {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .boxes-image {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
    max-height: 320px;
    order: -1;
  }

  .boxes-col {
    flex-direction: column;
  }
}

@media (max-width: 580px) {
  .boxes-section {
    grid-template-columns: 1fr;
    padding: 3rem 5vw;
  }

  .boxes-image {
    aspect-ratio: 4 / 3;
    max-height: 240px;
  }
}

.servizi-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 6rem 5vw;
  overflow: hidden;
  margin: 40px;
  border-radius: 10px;
}

/* ── BACKGROUND ── */
.servizi-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  /* Placeholder — sostituire con img reale:
     <img src="img/bg-osteopatia.jpg" alt=""> */
  background:
    radial-gradient(ellipse at 70% 40%, rgba(25, 113, 157, .15) 0%, transparent 60%),
    linear-gradient(160deg, #1a2a36 0%, #10324E 40%, #0a1e2e 100%);
}

/* quando si inserisce l'immagine, questa classe la gestisce */
.servizi-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* overlay sfumato per leggibilità testo */
.servizi-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgb(10 20 32 / 56%) 25%, rgba(10, 20, 32, .25) 40%, rgba(10, 20, 32, .60) 100%);
}

/* ── TESTO CENTRALE ── */
.servizi-intro {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  padding-bottom: 3rem;
}

.servizi-intro .section-label {
  /* eredita .section-label esistente — forza colore chiaro */
  color: rgba(255, 255, 255, .55);
  margin-bottom: 1rem;
}

.servizi-intro h2 {
  font-family: var(--sans-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.servizi-intro p {
  font-family: var(--sans-primary);
  font-size: 1rem;
  color: rgb(255 255 255);
  line-height: 1.5;
  margin: 0 0 2rem;
}

/* CTA buttons */
.servizi-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gs-primary {
  font-family: var(--sans-primary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-brand-300);
  /* #19719D */
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  transition: background .25s ease;
}

.btn-gs-primary:hover {
  background: var(--color-brand-500);
}

.btn-gs-secondary {
  font-family: var(--sans-primary);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50px;
  padding: 0.75rem 1.75rem;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease;
}

.btn-gs-secondary:hover {
  background: rgba(255, 255, 255, .2);
  border-color: rgba(255, 255, 255, .5);
}

/* ── GLASS CARDS ROW ── */
.glass-cards-row {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  /* gap sottilissimo tra le card */
  align-items: stretch;
}

/* 5 card: prima riga 3×(span 2), seconda riga 2×(span 3) — layout 3+2 centrato */
.glass-cards-row .glass-card:nth-child(-n+3) {
  grid-column: span 2;
}

.glass-cards-row .glass-card:nth-last-child(-n+2) {
  grid-column: span 3;
}

/* singola glass card */
.glass-card {
  background: rgb(255 255 255 / 8%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  padding: 2rem 1.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
  transition: background .3s ease;
  border-radius: 7px;
}

.glass-card:hover {
  background: #87a5c1ad;
}

/* header card: titolo + icona */
.glass-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.glass-card h3 {
  font-family: var(--sans-primary);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

/* icona SVG */
.glass-card-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  opacity: 0.7;
}

.glass-card-icon svg {
  width: 100%;
  height: 100%;
  stroke: #fff;
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* testo descrittivo */
.glass-card p {
  font-family: var(--sans-primary);
  font-size: 0.83rem;
  color: rgba(255, 255, 255, .68);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

/* link "scopri" in fondo */
.glass-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  transition: color .2s ease;
}

.glass-card-link:hover {
  color: #fff;
}

.glass-card-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  transition: transform .2s ease;
}

.glass-card-link:hover svg {
  transform: translateX(3px);
}

/* ── RESPONSIVE ── */

@media (max-width: 960px) {
  .glass-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .glass-card {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
}

@media (max-width: 580px) {
  .servizi-hero {
    padding: 4rem 5vw 0;
  }

  .servizi-intro {
    padding-bottom: 2.5rem;
  }

  .glass-cards-row {
    grid-template-columns: 1fr;
  }

  .glass-card {
    border: 1px solid rgba(255, 255, 255, .1);
    border-bottom: none;
  }

  .glass-card:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
}

/* -- HOW IT WORKS -- */
.how {
  padding: 10vh 8vw;
  background: var(--color-brand-400);
  color: var(--color-brand-100);
}

.how .section-label {
  color: rgba(253, 250, 246, .6);
  margin-bottom: 1rem;
}

.how h2 {
  font-family: var(--sans-primary);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  margin-bottom: 4rem;
  line-height: 1.1;
}

.how h2 em {
  font-style: italic;
  color: rgba(253, 250, 246, .7);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-num {
  font-family: var(--sans-primary);
  font-size: 3.5rem;
  font-weight: 400;
  color: rgba(253, 250, 246, .25);
  line-height: 1;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: var(--sans-primary);
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: .6rem;
  font-style: italic;
}

.step p {
  font-size: .85rem;
  font-weight: 300;
  color: rgba(253, 250, 246, .7);
  line-height: 1.75;
}

/* -- FULL IMAGE BAND -- */
.img-band {
  height: 55vh;
  overflow: hidden;
  position: relative;
}

.img-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.img-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20, 12, 5, .55) 0%, transparent 60%);
  display: flex;
  align-items: center;
  padding: 0 8vw;
}

.img-band-quote {
  font-family: var(--sans-primary);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--color-brand-100);
  max-width: 18ch;
  line-height: 1.25;
}

/* -- TESTIMONIALS -- */
.testi {
  padding: 10vh 8vw;
  background: var(--color-brand-200);
}

.testi-head {
  text-align: center;
  margin-bottom: 4rem;
}

.testi-head h2 {
  font-family: var(--sans-primary);
  color: var(--color-brand-400);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
}

.testi-head h2 span {
  font-style: italic;
  color: var(--color-brand-300);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--color-brand-0);
  border-radius: .8rem;
  padding: 2.2rem 2rem;
}

.stars {
  color: var(--color-brand-400);
  margin-bottom: 1rem;
}

.testi-card q {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-brand-400);
  display: block;
  margin-bottom: 1.4rem;
}

.testi-author {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-brand-700);
}

/* -- CTA -- */
.cta-band {
  padding: 10vh 8vw;
  background: var(--color-brand-800);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cta-band h2 {
  font-family: var(--sans-primary);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 500;
  color: var(--color-brand-400);
  line-height: 1.1;
}

.cta-band h2 em {
  font-style: italic;
  color: var(--color-brand-300);
  font-weight: 500;
}

.cta-band p {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-brand-700);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.btn-dark-color {
  display: inline-block;
  padding: .9rem 2.4rem;
  background: var(--color-brand-400);
  color: var(--color-brand-100);
  border-radius: 2rem;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: background .25s, transform .2s;
}

.btn-dark-color:hover {
  background: var(--color-brand-400-d);
  transform: translateY(-2px);
}

/* -- FOOTER -- */
footer {
  background: var(--color-brand-300);
  padding: 5vh 8vw 2.5vh;
  border-top: 1px solid rgba(245, 239, 230, .06);
  margin: 70px;
  border-radius: 50px;
}

.footer-big {
  font-family: var(--sans-primary);
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 400;
  color: rgba(245, 239, 230, .04);
  line-height: 1;
  text-align: center;
  padding: 1rem 0 .5rem;
  letter-spacing: -.02em;
  font-style: italic;
  pointer-events: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 239, 230, .1);
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  font-family: var(--sans-primary);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-brand-0);
  max-width: 28ch;
  line-height: 1.3;
  margin-top: 30px;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-brand-300);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-brand-0);
  text-decoration: none;
  margin-bottom: .5rem;
  transition: color .2s;
}

.footer-col a:hover {
  color: var(--color-brand-100);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: .72rem;
  color: var(--color-brand-0);
}

.footer-credit a {
  color: var(--color-brand-0);
  text-decoration: none;
  font-style: italic;
}

footer hr {
  margin: 1rem 0;
  color: #fff;
  border: 0;
  border-top: var(--bs-border-width) solid;
  opacity: .25;
}

/* -- ANIMATIONS -- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes zoomOut {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s, transform .7s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* mob-label visibile solo mobile */
.mob-label {
  display: none;
}

/* -- MOBILE -- */
@media (max-width: 900px) {
  nav .nav-links {
    display: none;
  }

  .hero-h1 {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero-badge {
    display: none;
  }

  .intro {
    grid-template-columns: 1fr;
  }

  .intro-photos {
    display: grid;
  }

  .sticky-services {
    padding: 40px 0;
    grid-template-columns: 1fr;
  }

  .sticky-left {
    position: relative;
    height: auto;
    padding: 8vh 6vw 3vh;
  }

  .service-list {
    display: none;
  }

  .scroll-img-wrap {
    background: rgba(255, 255, 255, .04);
    border-radius: 1rem;
    overflow: hidden;
  }

  .scroll-img-wrap img {
    aspect-ratio: 4/3;
    object-fit: cover;
    width: 100%;
    display: block;
  }

  .scroll-img-wrap .mob-label {
    display: block;
    padding: 1.2rem 1.4rem;
  }

  .scroll-img-wrap .mob-label strong {
    display: block;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--color-brand-700);
    font-weight: 600;
    margin-bottom: .5rem;
  }

  .scroll-img-wrap .mob-label span {
    display: block;
    font-size: .85rem;
    font-weight: 400;
    color: var(--color-brand-700);
    line-height: 1.7;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions a {
    text-align: center;
  }
}

@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   SEZIONE PATOLOGIE (scroll orizzontale sticky)
   ──────────────────────────────────────────────────────────────────
   Logica fluida, senza altezze fisse né media query per risoluzione:
   - .hs è sempre alto esattamente un viewport e parte SOTTO il nav fisso;
   - titolo e barra di avanzamento prendono solo lo spazio che serve;
   - tutto lo spazio rimanente va alla fascia delle card (.ho);
   - dentro la card il testo mantiene la sua altezza naturale (sempre
     leggibile) e l'immagine assorbe lo spazio che resta: si allarga
     sugli schermi alti e si riduce su quelli bassi.
   ══════════════════════════════════════════════════════════════════ */

.hw {
  position: relative;
}

.hs {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--color-brand-400);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* il nav fisso (scrolled) copre la parte alta: lo compensiamo */
  padding-top: calc(var(--nav-scrolled-h) + clamp(12px, 3.5vh, 44px));
  padding-bottom: clamp(14px, 3.5vh, 36px);
}

/* Header: titolo + hint */
.sh {
  flex: 0 0 auto;
  padding-inline: max(24px, 5.5vw);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(14px, 3.5vh, 40px);
}

.sh-title {
  font-family: var(--sans-primary);
  /* scala sia con la larghezza sia con l'altezza del viewport */
  font-size: clamp(1.5rem, min(3.6vw, 5.5vh), 3rem);
  font-weight: 500;
  color: var(--color-brand-0);
  line-height: 1.05;
  margin: 0;
}

.sh-hint {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--color-brand-200);
  transition: opacity .4s;
  user-select: none;
}

.sh-hint svg {
  width: 17px;
  height: 17px;
  animation: sh-nudge 2.8s ease-in-out infinite;
}

@keyframes sh-nudge {

  0%,
  55%,
  100% {
    transform: translateX(0);
  }

  78% {
    transform: translateX(5px);
  }
}

/* Fascia card: prende tutto lo spazio verticale disponibile */
.ho {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  display: flex;
}

/* Track orizzontale (traslato via JS) */
.ht {
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  padding-inline: max(24px, 5.5vw);
  will-change: transform;
}

/* Card: altezza = spazio disponibile, con un tetto sugli schermi molto alti */
.pat-card {
  flex-shrink: 0;
  width: clamp(260px, 26vw, 420px);
  height: min(100%, 600px);
  background: var(--color-brand-0);
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Immagine: assorbe lo spazio rimasto dopo il testo */
.pat-img {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

.pat-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.pat-card:hover .pat-img img {
  transform: scale(1.04);
}

/* Placeholder segnaposto (resta sotto l'immagine) */
.pat-img-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--color-brand-400) 0%, var(--color-brand-700) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pat-img-ph svg {
  width: 52px;
  height: 52px;
  stroke: rgba(247, 249, 247, .18);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Corpo testo: altezza naturale, mai compresso */
.pat-body {
  flex: 0 0 auto;
  padding: clamp(12px, 2vh, 18px) 22px clamp(12px, 2vh, 18px);
  display: flex;
  flex-direction: column;
}

.pat-tag {
  display: inline-flex;
  align-items: center;
  font-size: .63rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--color-brand-300);
  background: rgba(25, 113, 157, .1);
  padding: 3px 9px;
  border-radius: 100px;
  margin-bottom: clamp(6px, 1.2vh, 12px);
  width: fit-content;
}

.pat-card h3 {
  font-family: var(--sans-primary);
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-brand-400);
  margin-bottom: clamp(5px, 1vh, 9px);
  text-wrap: balance;
}

.pat-card p {
  font-size: .8rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-brand-700);
  margin: 0;
}

.pat-cf {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--color-brand-100);
  font-size: .68rem;
  font-weight: 500;
  color: var(--color-brand-500);
  letter-spacing: .04em;
}

/* Barra di avanzamento */
.hp {
  flex: 0 0 auto;
  padding-inline: max(24px, 5.5vw);
  margin-top: clamp(12px, 3vh, 36px);
}

.pb {
  height: 3px;
  background: var(--pr-tr);
  border-radius: 5px;
  overflow: hidden;
}

.pf {
  height: 100%;
  width: 0%;
  background: var(--color-brand-800);
  border-radius: 2px;
  transition: width .07s linear;
}

.pl {
  margin-top: 9px;
  margin-bottom: 0;
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .07em;
  color: var(--color-brand-200);
}

/* ── Patologie: pochi aggiustamenti generici ── */

/* tablet e giù: niente hint (lo scroll è evidente) */
@media (max-width: 999px) {
  .sh-hint {
    display: none;
  }
}

/* smartphone: card più larghe = meno righe di testo */
@media (max-width: 580px) {
  .pat-card {
    width: min(82vw, 320px);
    border-radius: 20px;
  }

  .pat-body {
    padding-inline: 18px;
  }
}

/* schermi bassi: testo leggermente più compatto */
@media (max-height: 760px) {
  .pat-card p {
    font-size: .77rem;
    line-height: 1.55;
  }
}

/* schermi molto bassi (es. smartphone in orizzontale): solo testo */
@media (max-height: 540px) {
  .pat-img {
    display: none;
  }

  .pat-card {
    height: auto;
    max-height: 100%;
  }

  .hp {
    margin-top: 10px;
  }
}

.pg-cta {
  padding: 96px max(24px, 8vw);
  text-align: center;
  background: var(--color-brand-0);
}

.pg-cta h2 {
  font-family: var(--sans-primary);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--color-brand-400);
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: 16px;
}

.pg-cta p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-brand-700);
  max-width: 48ch;
  margin: 0 auto 36px;
}

@media (max-width: 1400px) {
  .sticky-left {
    padding: 6vh 1vw 6vh 1vw;
  }
}

@media (max-width: 1300px) {
  .hero-content {
    width: 70%;
  }

  nav {
    --h: 240px;
    --logo-a: 160px;
  }

  .hero-h1 {
    font-size: clamp(3rem, 6.5vw, 3rem);
  }
}

@media (max-width: 1024px) {
  .nav-logo {
    width: 160px;
  }
}

@media (max-width: 999px) {
  .hero-h1 {
    font-size: clamp(3rem, 6.5vw, 2.5rem);
  }

  nav {
    --h: 250px;
    --logo-a: 150px;
  }

  .nav-links {
    margin-top: -90px;
    gap: 1.4rem;
  }

  .nav-cta {
    margin-top: -104px;
  }

  .nav-cta {
    padding: .55rem 1rem;
  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .boxes-image img {
    object-fit: contain;
  }

  .fz-4 {
    font-size: 3rem !important;
  }

  .hero-content {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .hero-actions {
    width: 68%;
  }

  .hero-h1 {
    font-size: clamp(1.2rem, 6.5vw, 2rem);
  }

  .hero-content {
    width: 90%;
    top: 33vh !important;
    bottom: auto;
  }

  .btn-primary,
  .btn-ghost {
    padding: .9rem 1rem;
    font-size: .7rem;
  }

  .wa-float {
    font-size: .8rem;
    padding: 10px 15px;
  }
}



/* ═══════════════════════════════════════════════
   HAMBURGER BUTTON & MOBILE MENU
   ═══════════════════════════════════════════════ */

/* ── Bottone hamburger ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 201;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.25s ease, background-color 0.3s ease;
  transform-origin: center;
}

/* Quando il nav è scrolled, le barre diventano scure */
nav.scrolled .nav-hamburger span {
  background-color: var(--color-brand-700);
}

/* Animazione X quando aperto */
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: #fff !important;
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: #fff !important;
}

/* ── Overlay mobile menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-brand-400);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.mobile-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.mobile-menu-links li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-links li:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-links a {
  display: block;
  padding: 1.25rem 0;
  font-family: var(--sans-primary, 'Inter', sans-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-menu-links a:hover {
  color: #fff;
}

.mobile-menu-cta {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  background: var(--color-brand-300);
  color: #fff;
  font-family: var(--sans-primary, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2rem;
  transition: opacity 0.2s ease;
}

.mobile-menu-cta:hover {
  opacity: 0.85;
  color: #fff;
}

/* ── Mostra hamburger, nascondi CTA desktop su mobile ── */
@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }
}

/* ── Tasto X chiudi menu mobile ── */
.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.mobile-menu-close span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
  transition: background-color 0.2s ease;
  position: absolute;
}

.mobile-menu-close span:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.mobile-menu-close:hover span {
  background-color: #fff;
}

/* ══════════════════════════════════════════
   SEZIONE CONTATTI
══════════════════════════════════════════ */

#contatti {
  padding: 6rem 0;
}

.ct-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── Header ── */
.ct-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(135, 165, 193, 0.25);
}

.ct-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-brand-300);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ct-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--color-brand-200), transparent);
  max-width: 80px;
}

.ct-title {
  font-family: var(--sans-primary);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 500;
  color: var(--color-brand-400);
  line-height: 1.15;
  margin: 0;
}

.ct-subtitle {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-brand-700);
  opacity: 1;
  align-self: end;
  margin: 0;
}

/* ── Corpo 2 colonne ── */
.ct-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Label sezione ── */
.ct-direct-label,
.ct-loc-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brand-300);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

/* ── Colonna SX: link contatto ── */
.ct-direct {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ct-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-brand-700);
  border: 1px solid rgba(135, 165, 193, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ct-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(16, 50, 78, 0.1);
  border-color: rgba(0, 139, 210, 0.3);
  text-decoration: none;
  color: var(--color-brand-700);
}

.ct-link-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-link--phone .ct-link-icon {
  background: var(--color-brand-400);
}

.ct-link--email .ct-link-icon {
  background: var(--color-brand-300);
}

.ct-link--wa .ct-link-icon {
  background: #25D366;
}

.ct-link-body {
  flex: 1;
}

.ct-link-meta {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-700);
  opacity: 0.4;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ct-link-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brand-400);
  letter-spacing: -0.01em;
}

.ct-link-arrow {
  color: var(--color-brand-200);
  font-size: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.ct-link:hover .ct-link-arrow {
  transform: translateX(3px);
  color: var(--color-brand-500);
}

/* ── Colonna DX: studi ── */
.ct-locations {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ct-loc-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid rgba(135, 165, 193, 0.2);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ct-loc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(16, 50, 78, 0.1);
}

.ct-loc-card--primary {
  border-left: 3px solid var(--color-brand-500);
}

.ct-loc-card--secondary {
  border-left: 3px solid var(--color-brand-200);
}

.ct-loc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 139, 210, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-loc-icon--secondary {
  background: rgba(135, 165, 193, 0.15);
}

.ct-loc-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ct-loc-tag {
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.ct-loc-tag--primary {
  color: var(--color-brand-500);
}

.ct-loc-tag--secondary {
  color: var(--color-brand-300);
}

.ct-loc-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brand-400);
  line-height: 1.3;
}

.ct-loc-address {
  font-size: 0.76rem;
  color: var(--color-brand-700);
  opacity: 0.55;
  line-height: 1.5;
}

.ct-loc-hours {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  font-weight: 500;
}

.ct-loc-hours::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ct-loc-hours--primary {
  color: var(--color-brand-500);
}

.ct-loc-hours--primary::before {
  background: var(--color-brand-500);
}

.ct-loc-hours--secondary {
  color: var(--color-brand-200);
}

.ct-loc-hours--secondary::before {
  background: var(--color-brand-200);
}

/* ── Nota ROI ── */
.ct-note {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(135, 165, 193, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--color-brand-700);
  opacity: 0.5;
}

.ct-note::before {
  content: 'ROI';
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-brand-300);
  background: rgba(25, 113, 157, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  flex-shrink: 0;
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 800px) {
  .ct-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ct-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  nav {
    --h: 220px;
    --logo-a: 140px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 87vh;
  }

  .logo-footer {
    display: table;
    margin: 0 auto;
  }

  footer {
    margin: 10px;
  }

  nav {
    --h: 170px;
    --logo-a: 110px;
  }

  #contatti {
    padding: 3.5rem 0;
  }

  .ct-wrap {
    padding: 0 1.25rem;
  }
}