/* =============================================
   ISABELLA POMPIGNOLI — PSICOLOGA
   style.css | Percorsi relativi (Hostinger-safe)
   Palette: bianco, azzurro polvere, navy, cipria
   Font: Cormorant Garamond + DM Sans
   ============================================= */

/* ---------- GOOGLE FONTS ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ---------- CSS VARIABLES ---------- */
:root {
  --white:       #FFFFFF;
  --off-white:   #faf9f8;
  --pearl:       #f0edeb;
  --powder-blue: #c6d3e3;
  --sky-light:   #f0eeec;
  --navy:        #2c4c3b;
  --navy-light:  #4a7a5e;
  --blush:       #ecdbde;
  --blush-light: #f6eff0;
  --text-dark:   #2a2a2a;
  --text-mid:    #4A4A5A;
  --text-light:  #7A7A8A;
  --border:      #ddd8d4;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', -apple-system, sans-serif;

  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-xl:   40px;

  --shadow-sm:   0 2px 12px rgba(44,76,59,0.07);
  --shadow-md:   0 6px 28px rgba(44,76,59,0.12);
  --shadow-lg:   0 16px 56px rgba(44,76,59,0.15);

  --transition:  0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:   1140px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; margin: 0; padding: 0; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.75rem;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

/* ---------- COOKIE BANNER ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.18);
}

#cookie-banner p {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.5;
  min-width: 220px;
}

#cookie-banner p a {
  color: var(--powder-blue);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--blush);
  color: var(--navy);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity var(--transition);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--powder-blue);
  border: 1px solid var(--powder-blue);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity var(--transition);
}

.btn-cookie-accept:hover,
.btn-cookie-reject:hover { opacity: 0.8; }

/* ---------- NAVBAR ---------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(30,45,74,0.07);
  transition: padding var(--transition), box-shadow var(--transition);
  overflow: hidden;
}

#navbar.scrolled {
  padding: 0.7rem 0;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}

.nav-logo-text em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.1rem;
}

.nav-menu-desktop {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu-desktop li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--navy);
  transition: width var(--transition);
}

.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* Hamburger → X quando menu è aperto */
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- HERO — foto fissa, testo scorre ---------- */
/*
 * Tecnica: .hero-bg è position:fixed, occupa l'area dell'hero mentre
 * l'hero è visibile. Il testo scorre normalmente (position:static).
 * Quando le sezioni successive arrivano, il loro background solido
 * copre il .hero-bg fixed → effetto "la foto si comprime".
 * Funziona su TUTTI i dispositivi (iOS incluso).
 * Il JS in fondo al file gestisce il clip del .hero-bg.
 */

/* Layer fotografico fisso — coperto dal JS con clip-path */
.hero-bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1; /* sotto tutto */
  overflow: hidden;
}

.hero-bg-fixed::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/image00003.jpeg');
  background-size: cover;
  background-position: center 55%;   /* desktop+iPad landscape: mostra più parte bassa */
  z-index: 0;
}

/* Overlay leggero per leggibilità */
.hero-bg-fixed::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Overlay ridotto: abbastanza per leggere il verde navy sul fondo chiaro della foto,
     non così denso da rendere tutto scuro. Gradiente verticale: più denso in basso
     dove sta il testo, quasi trasparente in alto. */
  background: linear-gradient(
    to bottom,
    rgba(240, 237, 235, 0.30) 0%,   /* top: quasi niente, la foto respira */
    rgba(240, 237, 235, 0.55) 40%,  /* centro: velo chiaro */
    rgba(240, 237, 235, 0.72) 100%  /* bottom: più coprente per leggere il testo verde */
  );
  z-index: 1;
}

/* Hero section — normale nel flusso, trasparente (foto viene da .hero-bg-fixed) */
#hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
}

/* Foto inline e desktop rimosse — sfondo dal layer fixed */
.hero-photo-desktop { display: none !important; }
.hero-photo-inline  { display: none !important; }

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 90%;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(7rem, 14vw, 11rem) 0 clamp(5rem, 8vw, 7rem);
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

/* ── Eyebrow ── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1.6rem;
  text-shadow: 0 0 10px rgba(255,255,255,0.80);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--blush);
}

/* ── Titolo — stesso colore degli altri titoli del sito ── */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 300;
  color: var(--navy);           /* stesso verde degli altri titoli */
  line-height: 1.13;
  margin-bottom: 1.8rem;
  /* text-shadow bianco crea un alone chiaro attorno alle lettere verdi,
     garantendo contrasto sulla foto in qualsiasi condizione di luminosità */
  text-shadow:
    0 0 18px rgba(255,255,255,0.85),
    0 0 35px rgba(255,255,255,0.60),
    0 2px 8px  rgba(255,255,255,0.50);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--navy-light);     /* stesso verde chiaro degli em nel sito */
  display: block;
  text-shadow:
    0 0 18px rgba(255,255,255,0.80),
    0 0 32px rgba(255,255,255,0.55);
}

/* ── Testo body ── */
.hero-desc {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 2.8rem;
  text-shadow: 0 0 12px rgba(255,255,255,0.90), 0 1px 4px rgba(255,255,255,0.70);
}

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

/* ── Bottone primario su foto ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── Bottone secondario su foto ── */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--navy);
  transition: border-color var(--transition), color var(--transition);
  text-shadow: 0 0 10px rgba(255,255,255,0.80);
}

.btn-secondary:hover {
  border-color: var(--navy-light);
  color: var(--navy-light);
}

/* ---------- CHI SONO ---------- */
#chi-sono {
  overflow: hidden;
  background: var(--pearl);
}

.chi-sono-inner {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.chi-sono-text {}

.chi-sono-text .section-label {
  color: var(--text-light);
  font-weight: 500;
}

.chi-sono-text h2 {
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.chi-sono-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.chi-sono-text p:last-of-type { margin-bottom: 1.8rem; }

.chi-sono-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  color: var(--text-dark);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-xl);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  border: 1.5px solid var(--blush);
}

/* Foto Chi Sono */
.chi-sono-photo {
  position: relative;
}

.chi-sono-photo-frame {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sky-light);
  position: relative;
}

.chi-sono-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12% !important;
}

.chi-sono-photo-frame .photo-placeholder {
  border-radius: var(--radius-lg);
}

/* Accent box */
.chi-sono-accent {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--sky-light);
  border: 1px solid var(--powder-blue);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  max-width: 200px;
  box-shadow: var(--shadow-md);
}

.chi-sono-accent p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.5;
}

/* ---------- SERVIZI ---------- */
#servizi {
  overflow: hidden;
  background: var(--pearl);
}

.servizi-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.servizi-header h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.servizi-header p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
}

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

/* Tablet 640-1023px: 2 colonne, card 03 centrata, 04-05 affiancate */
@media (max-width: 1023px) and (min-width: 640px) {
  .servizi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Card 03 da sola → occupa entrambe le colonne centrata */
  .servizi-grid .servizio-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: calc(50% - 0.75rem);
    margin: 0 auto;
  }
  /* Card 04 e 05 affiancate normalmente */
  .servizi-grid .servizio-card:nth-child(4),
  .servizi-grid .servizio-card:nth-child(5) {
    grid-column: auto;
  }
}

/* Desktop: le ultime 2 card si centrano sotto le prime 3 */
@media (min-width: 1024px) {
  .servizi-grid .servizio-card:nth-child(4) { grid-column: 1; }
  .servizi-grid .servizio-card:nth-child(5) { grid-column: 2; }
}

.servizio-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  border: 1.5px solid var(--blush);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.servizio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--powder-blue), var(--navy));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.servizio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blush);
}

.servizio-card:hover::before { transform: scaleX(1); }

.servizio-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: var(--blush);
  line-height: 1;
  margin-bottom: 1.2rem;
  opacity: 1;
}

.servizio-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.servizio-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* Tariffa agevolata callout */
.tariffa-callout {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.tariffa-callout .tag {
  background: var(--blush);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-xl);
  display: inline-block;
  margin-bottom: 0.6rem;
}

.tariffa-callout h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.tariffa-callout p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

.tariffa-callout .btn-callout {
  margin-left: auto;
  background: var(--white);
  color: var(--navy);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.tariffa-callout .btn-callout:hover { opacity: 0.85; }

/* ---------- AREE DI LAVORO ---------- */
#aree {
  overflow: hidden;
  background: var(--off-white);
}

.aree-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.aree-left h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.aree-left p {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.aree-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.area-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-dark);
  border: 1.5px solid var(--blush);
  transition: background var(--transition), border-color var(--transition);
  font-weight: 400;
}

.area-item:hover {
  background: var(--blush-light);
  border-color: var(--blush);
  color: var(--text-dark);
}

.area-item::before {
  content: '✓';
  color: var(--blush);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
  font-weight: 600;
}

/* ---------- DOVE RICEVO ---------- */
#dove-ricevo {
  background: var(--pearl);
  color: var(--text-dark);
}

.dove-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.dove-header .section-label { color: var(--text-light); opacity: 1; }

.dove-header h2 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.dove-header p {
  color: var(--text-mid);
  font-size: 0.98rem;
}

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

.sede-card {
  background: var(--white);
  border: 1.5px solid var(--blush);
  border-radius: var(--radius-md);
  padding: 2rem 1.8rem;
  transition: background var(--transition), border-color var(--transition);
}

.sede-card:hover {
  background: var(--blush);
  border-color: var(--blush);
}

.sede-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.sede-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  fill: none;
}

.sede-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.sede-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Foto studio */
.studio-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 1.25rem;
  border-radius: var(--radius-md);
  overflow: visible;
}

.studio-photo {
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--pearl);
}

/* Foto grande — occupa 2 righe a sinistra */
.studio-photo-main {
  grid-column: 1 / 3;
  grid-row: 1;
  aspect-ratio: unset;
}

.studio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Correzioni object-position foto per foto */
/* image00008 (5ª carta): mostra più in basso */
.studio-photos .studio-photo:nth-child(5) img { object-position: center bottom; }
/* image00009 (6ª carta): mostra parte bassa */
.studio-photos .studio-photo:nth-child(6) img { object-position: center 70%; }
/* image00010 (7ª carta): abbassa punto di vista */
.studio-photos .studio-photo:nth-child(7) img { object-position: center 65%; }
/* image00011 (8ª carta): abbassa punto di vista */
.studio-photos .studio-photo:nth-child(8) img { object-position: center 65%; }
/* image00014 (11ª carta): mostra più area */
.studio-photos .studio-photo:nth-child(11) img { object-position: center 60%; }

/* hover rimosso per performance */



.contatti-clicca-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.contatti-clicca-link:hover { color: var(--navy-light); }

/* ---------- STUDIO SLIDER (sezione Spazio) ---------- */
/*
 * Formato: rettangolo orizzontale 16:9 (lato lungo a destra).
 * aspect-ratio garantisce proporzioni fluide su ogni dispositivo.
 * Bordi smussati (radius-lg). Una foto per slide, tutte visibili bene.
 * Frecce + dots. Funziona su mobile, iPad portrait/landscape, desktop.
 */

.studio-slider-wrapper {
  position: relative;
  margin-top: 2.5rem;
  /* Nessun overflow:hidden sul wrapper — il gap tra card deve respirare
     e le frecce devono stare fuori dalle card */
  overflow: visible;
  width: 100%;
}

/* Track: stesso gap delle recensioni (1.25rem) */
.studio-slider-track {
  display: flex;
  gap: 1.25rem;                  /* card separate, identico alle recensioni */
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.studio-slider-track::-webkit-scrollbar { display: none; }

/* Desktop (≥1024px): 3 card per "pagina", stessa larghezza di rec-card
   formula identica: calc(33.333% - gap*2/3) */
.studio-slide {
  flex: 0 0 calc(33.333% - 0.85rem);  /* stessa formula di .rec-card */
  min-width: 0;
  scroll-snap-align: start;
  aspect-ratio: 4 / 5;               /* identico a .chi-sono-photo-frame */
  overflow: hidden;
  border-radius: var(--radius-lg);    /* bordi smussati come chi-sono */
  background: var(--pearl);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.studio-slide:hover {
  box-shadow: var(--shadow-md);
}

.studio-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* Frecce: posizionate fuori dal track, centrate verticalmente */
.studio-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.18);
  transition: background var(--transition), transform var(--transition);
  z-index: 10;
  pointer-events: auto;
}

.studio-btn:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.studio-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--navy);
  flex-shrink: 0;
}

.studio-btn-prev { left: -1.5rem; }
.studio-btn-next { right: -1.5rem; }

/* Dots indicatori */
.studio-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.studio-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.studio-dot.active {
  background: var(--navy);
  transform: scale(1.35);
}

/* ── Tablet iPad portrait + landscape (< 1024px): 1 foto per volta,
   card a piena larghezza con bordi smussati come su mobile ── */
@media (max-width: 1023px) {
  .studio-slider-wrapper { overflow: hidden; }  /* nascondi overflow su touch */
  .studio-slide {
    flex: 0 0 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
  }
  .studio-slider-track { gap: 0; }
  .studio-btn { width: 40px; height: 40px; }
  .studio-btn-prev { left: 0.75rem; }
  .studio-btn-next { right: 0.75rem; }
}

/* ── Mobile (< 640px) ── */
@media (max-width: 639px) {
  .studio-btn { width: 36px; height: 36px; }
  .studio-btn svg { width: 16px; height: 16px; }
  .studio-btn-prev { left: 0.5rem; }
  .studio-btn-next { right: 0.5rem; }
  .studio-dots { gap: 0.4rem; }
  .studio-dot { width: 6px; height: 6px; }
}

/* ── Desktop ── */
@media (min-width: 1024px) {
  .studio-slider-wrapper { margin-top: 3rem; }
}
/* ---------- RECENSIONI ---------- */
#recensioni {
  background: var(--off-white);
  overflow: hidden;
}

.recensioni-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.recensioni-header h2 {
  color: var(--navy);
  margin-bottom: 0;
}

/* SLIDER */
.slider-wrapper {
  position: relative;
  margin: 0;
  padding-bottom: 0.5rem;
}

.slider-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
  /* scroll-snap gestito via JS per evitare conflitti iOS */
}

.slider-track::-webkit-scrollbar { display: none; } /* Chrome/Safari */

/* CARD */
.rec-card {
  flex: 0 0 calc(33.333% - 0.85rem);
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-sizing: border-box;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.rec-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--powder-blue);
}

.rec-stelle {
  color: var(--blush);
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
}

.rec-testo {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.75;
  flex: 1;
  margin: 0;
  padding: 0;
  border: none;
}

.rec-more-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-align: left;
  transition: opacity var(--transition);
  align-self: flex-start;
}

.rec-more-btn:hover { opacity: 0.65; }

.rec-autore {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.rec-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sky-light);
  border: 1px solid var(--powder-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  flex-shrink: 0;
}

.rec-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.rec-nome {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.rec-fonte {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* CONTROLLI */
.slider-wrapper {
  position: relative;
  margin: 0;
  padding-bottom: 0.5rem;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.slider-btn-prev { left: -22px; }
.slider-btn-next { right: -22px; }

.slider-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--navy);
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.slider-btn:hover svg { stroke: var(--white); }

.slider-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.slider-dot.active {
  background: var(--navy);
  transform: scale(1.3);
}

/* CTA LASCIA RECENSIONE */
.rec-cta-wrapper {
  text-align: center;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.rec-cta-label {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.rec-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.rec-cta-btn:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* MODAL */
.rec-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 40, 0.55);
  z-index: 9500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.rec-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.rec-modal-box {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 80vh;
  overflow-y: auto;
}

.rec-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  transition: color var(--transition);
}

.rec-modal-close:hover { color: var(--navy); }

.rec-modal-testo {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.85;
  margin: 0;
  padding: 0;
  border: none;
}

/* RESPONSIVE SLIDER */
@media (max-width: 1023px) {
  .rec-card { flex: 0 0 calc(50% - 0.625rem); }
}

@media (max-width: 639px) {
  /* Card intera su mobile */
  .rec-card {
    flex: 0 0 100%;
  }

  .rec-modal-box { padding: 1.75rem 1.25rem; }

  /* Spazio laterale per le frecce assolute */
  .slider-wrapper { padding: 0 28px 0.5rem; }
  .slider-btn-prev { left: -8px; }
  .slider-btn-next { right: -8px; }
}

/* ---------- METODO ---------- */
#metodo {
  overflow: hidden;
  background: var(--off-white);
}

.metodo-content {
  max-width: 780px;
  margin: 0 auto;
}

.metodo-content p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.metodo-content p:last-child { margin-bottom: 0; }

/* Griglia 4 sedi */
.dove-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.dove-grid-4 {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 900px) {
  .dove-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
  .dove-grid-4 { grid-template-columns: 1fr !important; }
}

/* Convenzioni callout — più sobrio della tariffa */
.convenzioni-callout {
  margin-top: 2rem;
  background: transparent;
  border: 1.5px solid var(--blush);
  border-radius: var(--radius-md);
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.convenzioni-callout p {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  min-width: 200px;
}

.convenzioni-callout .btn-callout {
  background: var(--navy);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity var(--transition);
}

.convenzioni-callout .btn-callout:hover { opacity: 0.85; }

/* Tendina "e tanto altro" */
.aree-altro {
  margin-top: 1rem;
}

.aree-altro summary {
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 500;
  cursor: pointer;
  padding: 0.5rem 0;
  user-select: none;
  list-style: none;
}

.aree-altro summary::before {
  content: '+ ';
  color: var(--navy);
}

.aree-altro[open] summary::before { content: '− '; }

.aree-altro p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding: 0.5rem 0 0 0;
}

/* Logo grande footer */
.footer-logo-big {
  display: block;
  height: 80px;
  width: auto;
  max-width: 280px;
  margin-top: 1.8rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  object-fit: contain;
}

/* Footer logo inline */
.footer-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-brand .nav-logo-img { height: 28px; filter: brightness(0) invert(1); }
.footer-brand .nav-logo-text { color: var(--white); }
.footer-brand .nav-logo-text em { color: rgba(255,255,255,0.6); }


/* Logo centrato nella navbar */
.nav-logo-center {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%) invert(20%) sepia(40%) saturate(500%) hue-rotate(100deg) brightness(85%);
  opacity: 0.9;
  pointer-events: none;
}

/* Hero: colonna singola da 1023px (stesso del menu hamburger) */
/* ── HERO responsive — audit completo ── */

/* Desktop grande (> 1400px): testo max-width contenuto */
@media (min-width: 1400px) {
  .hero-inner { max-width: 900px; }
}

/* Desktop standard (1024–1399px): invariato */

/* iPad landscape (1024px, orientation landscape) */
@media (min-width: 1024px) and (max-width: 1180px) {
  .hero-inner { max-width: 720px; }
}

/* iPad portrait (768–1023px, orientation portrait) */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .hero-bg-fixed { height: 100svh; }
  .hero-bg-fixed::before { background-position: center 22%; }
  .hero-inner {
    max-width: 680px;
    padding: clamp(6.5rem, 16vw, 9rem) 0 clamp(4rem, 8vw, 5rem);
  }
  .hero-title { font-size: clamp(2.6rem, 5.5vw, 3.6rem); }
}

/* Tutti i mobile/tablet < 1023px */
@media (max-width: 1023px) {
  .hero-bg-fixed::before { background-position: center 20%; }
  .hero-inner {
    padding: clamp(6rem, 18vw, 9rem) 0 clamp(4rem, 8vw, 5rem);
    max-width: 100%;
  }
}

/* Mobile landscape (altezza ridotta) — testo compatto */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 600px) {
  .hero-bg-fixed { height: 100svh; }
  .hero-bg-fixed::before { background-position: center 12%; }
  .hero-inner { padding: 5rem 0 3rem; }
  .hero-title { font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.15; }
  .hero-desc { font-size: 0.92rem; margin-bottom: 1.8rem; }
}

/* Mobile portrait (< 640px) */
@media (max-width: 639px) {
  .hero-bg-fixed::before { background-position: center 15%; }
  .hero-title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: auto; }
}

/* Mobile piccolo (< 390px) */
@media (max-width: 389px) {
  .hero-title { font-size: clamp(2rem, 10vw, 2.6rem); }
  .hero-inner { padding: 5.5rem 0 3.5rem; }
}

.nav-logo-center { display: none; }

/* Section label in rosa */
.section-label-blush {
  color: var(--blush);
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* Accent box rosa */
.chi-sono-accent-blush {
  background: var(--blush-light);
  border-color: var(--blush);
}


/* ── RECENSIONI: iniziale senza avatar ── */
.rec-iniziale {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--navy);
  letter-spacing: 0.05em;
}

.rec-autore {
  display: flex;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* Rec-card su sfondo sky-light → usa white */
#recensioni .rec-card {
  background: var(--white);
}

/* ── CHI SONO: mobile ordine header → foto → testo ── */
.chi-sono-header {}
.chi-sono-body {}

/* ── LINEE DECORATIVE sezioni ── */
.section-deco {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--blush);
  margin: 0 auto 1rem;
  opacity: 0.6;
}

/* Linea decorativa sotto titolo sezione */
/* barrette h2 rimosse */

/* barretta aree h2 rimossa */

/* ---------- CONTATTI ---------- */
#contatti {
  overflow: hidden;
  background: var(--pearl);
}

.contatti-inner {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contatti-info h2 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.contatti-info > p {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contatti-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contatto-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contatto-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--blush);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contatto-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text-mid);
  fill: none;
}

.contatto-data {
  display: flex;
  flex-direction: column;
}

.contatto-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.contatto-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
}

/* Form */
.contatti-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contatti-form h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.6rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--powder-blue);
  box-shadow: 0 0 0 3px rgba(200,216,232,0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.form-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--navy);
  scrollbar-color: var(--navy) transparent;
  cursor: pointer;
}

.form-privacy label {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  cursor: pointer;
}

.form-privacy label a {
  color: var(--navy);
  text-decoration: underline;
}

.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-submit:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-brand .nav-logo {
  color: var(--white);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

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

.footer-bottom p {
  font-size: 0.78rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);
  text-decoration: underline;
  font-size: 0.78rem;
}

/* ---------- SCROLL REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- MOBILE RESPONSIVE ---------- */

/* Mobile menu nascosto su desktop — mostrato solo dentro il media query mobile */

/* Overlay dietro menu panel */
#menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 8999;
}

#menu-overlay.open {
  display: block;
}

#mobile-menu { display: none; }
#menu-overlay { display: none; }
#mobile-close { display: none; }

@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1023px) {

  /* Nascondi menu desktop su mobile */
  .nav-menu-desktop { display: none; }

  /* Nascondi logo centrale su tablet/mobile */
  .nav-logo-center { display: none; }

  /* Mostra hamburger */
  .nav-toggle {
    display: flex;
    z-index: 9999;
    position: relative;
  }

  /* ---- MENU MOBILE OVERLAY ----
     È figlio diretto di body: nessun contesto stacking che lo limita.
     Chiuso di default con opacity:0 + pointer-events:none.
     NON si usa display:none per evitare bug iOS Safari.
  */
  #mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--white);
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
    z-index: 9000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #mobile-menu.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  /* Pulsante X dentro il menu — sempre visibile quando il menu è aperto */
  /* Header panel: logo + close */
  .menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    flex-shrink: 0;
  }

  .menu-header-logo {
    height: 34px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(20%) sepia(40%) saturate(500%) hue-rotate(100deg) brightness(85%);
    opacity: 0.9;
    object-fit: contain;
  }

  #mobile-close {
    display: block;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    position: static;
    flex-shrink: 0;
  }

  #mobile-menu ul {
    list-style: none;
    padding: 2rem 2.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    flex: 1;
  }

  .mobile-link {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    padding: 1.2rem 0;
    border-bottom: none;
    width: 100%;
    transition: color 0.2s ease;
  }

  .mobile-link:hover { color: var(--navy); }

  .mobile-cta {
    background: var(--navy);
    color: var(--white) !important;
    padding: 0.9rem 2rem !important;
    border-radius: 999px;
    border-bottom: none !important;
    margin-top: 2rem;
    text-align: center;
    display: block;
    transition: background 0.2s ease !important;
  }

  .mobile-cta:hover { background: var(--navy-light) !important; }

  .nav-toggle {
    display: flex;
    position: fixed;
    top: 1rem;
    right: 5%;
    z-index: 9999;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
  }

  /* Hero mobile: content sopra, foto sotto */
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    padding: 6rem 1.5rem 1.5rem;
    order: 2;
  }

  

  /* Foto mobile: object-position centrata per vedere la stanza */
  

  /* Sfumatura solo leggera in basso — foto quasi completamente visibile */
  

  .chi-sono-inner {
    grid-template-columns: 1fr;
  }

  .chi-sono-inner { display: flex; flex-direction: column; gap: 0; }
  .chi-sono-header { order: 1; margin-bottom: 1.2rem; }
  .chi-sono-photo { order: 2; margin: 0 0 1.5rem 0; }
  .chi-sono-body { order: 3; }
  .chi-sono-text { display: contents; }

  .chi-sono-accent { 
    display: block;
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }

  .chi-sono-text .section-label { text-align: center; display: block; }

  .aree-inner { grid-template-columns: 1fr; }
  .aree-list { grid-template-columns: 1fr; }

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

  .studio-photos {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px;
    grid-auto-rows: 160px;
    gap: 0.75rem;
  }

  .studio-photo-main {
    grid-column: 1 / -1;
    grid-row: 1;
    border-radius: var(--radius-md);
  }

  .contatti-inner { grid-template-columns: 1fr; }

  .tariffa-callout {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .tariffa-callout .btn-callout { margin-left: 0; }

  .footer-inner { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .chi-sono-badges { gap: 0.4rem; }
  .contatti-form { padding: 1.75rem 1.25rem; }
  .servizi-grid { grid-template-columns: 1fr !important; }
  .servizi-grid .servizio-card:nth-child(3) { grid-column: auto; max-width: none; margin: 0; }
}

/* ── ELEMENTI DECORATIVI ────────────────────────────────────── */

/* Hero: filo ondulato sopra l'eyebrow */


/* Metodo: spirale angolo in basso a destra */


/* Contatti: fiore di loto angolo in alto a destra */


/* Mobile: riduci decorativi */
/* ── DECORATIVI SEZIONI ─────────────────────────────────────── */


/* Chi sono: ramo in alto a destra */


/* Servizi: cerchi concentrici in alto a sinistra */


/* Aree: foglia in basso a destra */


/* Dove ricevo: onda sotto il titolo, centrata */


/* Recensioni: fiore in alto a destra */


/* Mobile: decorativi ridotti, non interferiscono con scroll */
@media (max-width: 1023px) {
  
}
/* ──────────────────────────────────────────────────────────── */
