/* ==========================================================================
   Italiano con Fabio — Hub Self-Service V1
   assets/hub/hub.css — Stili condivisi di tutto il core
   Palette, Font e Design System verificati da audit e Brief REV7
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --cream: #F5F0E8;
  --warm-white: #FDFAF4;
  --terracotta: #C4552A;
  --terracotta-light: #D4724A;
  --forest: #2C4A3E;
  --forest-light: #3D6455;
  --gold: #B8922A;
  --gold-light: #D4AD50;
  --ink: #1A1A18;
  --muted: #6B6660;
  --border: rgba(44, 74, 62, 0.15);
  --border-light: rgba(44, 74, 62, 0.08);
  --card-bg: #FFFFFF;
  --header-height: 68px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--warm-white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── MULTILINGUA ── */
[data-lang] { display: none !important; }
[data-lang].active { display: block !important; }
[data-lang-inline] { display: none !important; }
[data-lang-inline].active { display: inline !important; }
[data-lang-flex] { display: none !important; }
[data-lang-flex].active { display: flex !important; }
[data-lang-grid] { display: none !important; }
[data-lang-grid].active { display: grid !important; }

/* Selected answers keep their existing approved labels and individual edit controls. */
.choice-rows { display: flex; flex-wrap: wrap; gap: 4px 16px; min-width: 0; }
.choice-row { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 100%; }
.choice-row > span { overflow-wrap: anywhere; }
.booking-step-container, .summary-box { scroll-margin-top: calc(var(--header-height) + 20px); }
.option-card-btn.selected { border-width: 2px; }

/* ── ANCORE CON SCROLL MARGIN TOP (Header Sticky) ── */
#percorsi,
#fiducia,
#chi-sono,
#formule,
#esami,
#condizioni-lezioni,
#condizioni-certificazioni,
#vita-conversazione,
#famiglia-relazioni,
#lavoro-studio,
#cultura-viaggi-piacere {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

/* ── LAYOUT GLOBALE ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
  position: relative;
}

.section-alt {
  background-color: var(--cream);
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  max-width: 680px;
  margin-bottom: 40px;
}

.section-header-center {
  text-align: center;
}
.section-header-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ── HEADER CONDIVISO ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(253, 250, 244, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.site-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-logo:hover {
  color: var(--terracotta);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--forest);
  font-weight: 500;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 1px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Selettore Lingua */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(44, 74, 62, 0.05);
  padding: 3px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.lang-btn {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn:hover {
  color: var(--forest);
}

.lang-btn.active {
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--forest);
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* ── PULSANTI ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  min-height: 44px;
  padding: 14px 32px;
  text-align: center;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  border: 1px solid var(--forest);
}

.btn-primary:hover {
  background: var(--forest-light);
  border-color: var(--forest-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 74, 62, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--forest);
}

.btn-secondary:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

.btn-tertiary,
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  padding: 6px 0;
  min-height: 44px;
}

.link-arrow:hover,
.btn-tertiary:hover {
  color: var(--terracotta);
  gap: 10px;
}

.btn-header-prenota {
  padding: 8px 18px;
  font-size: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--forest);
  color: var(--cream);
  border: none;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}

.btn-header-prenota:hover {
  background: var(--forest-light);
  color: white;
}

/* ── HERO COMPONENT ── */
.hero-section {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 72px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 16px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 36px;
}

.hero-subtitle p + p {
  margin-top: 10px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(44, 74, 62, 0.12);
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}

/* Home Hero specifico (volto + spalle, crop responsive elegante) */
.home-hero-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(44, 74, 62, 0.12);
  width: 100%;
  max-width: 460px;
  height: 520px;
  margin: 0 auto;
}

.home-hero-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 18% center;
  border-radius: 4px;
}

/* Home Chi sono: piccolo ritratto accanto alla presentazione */
#chi-sono .home-about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}

#chi-sono .home-about-heading {
  padding-top: 6px;
}

#chi-sono .home-about-body {
  border-left: 1px solid var(--border);
  padding-left: 40px;
}

/* ── CARDS & GRIGLIE ── */
.cards-grid-5 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid-5 .card:nth-child(4),
.cards-grid-5 .card:nth-child(5) {
  grid-column: span 1;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(44, 74, 62, 0.08);
  border-color: var(--forest-light);
}

.card-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
}

.card-text {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-meta {
  font-size: 12px;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 8px;
}

.card-price-row {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.card-price-row strong {
  color: var(--ink);
  font-weight: 600;
}

.card-footer-cta {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ── PASSI NUMERATI (Come lavoriamo) ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.steps-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card {
  min-width: 0;
  overflow-wrap: anywhere;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 28px 24px;
}

.step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

/* ── SEZIONE FIDUCIA & METRICHE ── */
.metrics-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.metric-item {
  text-align: center;
}

.metric-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--forest);
  line-height: 1;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.testimonial-card {
  max-width: 640px;
  margin: 0 auto 24px;
  background: white;
  border-left: 3px solid var(--terracotta);
  padding: 24px 28px;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.testimonial-quote {
  font-size: 15px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 12px;
}

.testimonial-author {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

/* ── APPROFONDIMENTI EDITORIALI /lezioni/ (REV6/REV7) ── */
.editorial-need-block {
  max-width: 720px;
  margin: 0 auto 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
}

.editorial-need-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.editorial-need-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 16px;
  line-height: 1.25;
}

.editorial-need-text p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 14px;
}

.editorial-need-cta {
  margin-top: 18px;
}

/* ── CONDIZIONI CHIARE (#condizioni-lezioni / #condizioni-certificazioni) ── */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.conditions-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.condition-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 24px 20px;
}

.condition-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 12px;
}

.condition-box p {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.condition-box p:last-child {
  margin-bottom: 0;
}

.condition-box ul {
  padding-left: 18px;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
}

/* ── FLUSSI DI PRENOTAZIONE (/prenota/ e /certificazioni/prenota/) ── */
.booking-flow-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.booking-step-container {
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px;
  box-shadow: 0 8px 30px rgba(44, 74, 62, 0.05);
  margin-bottom: 24px;
}

.booking-step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}

.booking-step-subline {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 24px;
}

.options-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.option-card-btn {
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: 3px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 90px;
}

.option-card-btn:hover {
  border-color: var(--forest);
  background: white;
}

.option-card-btn.selected {
  border-color: var(--forest);
  background: white;
  box-shadow: 0 0 0 1px var(--forest), 0 4px 14px rgba(44, 74, 62, 0.1);
}

.option-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.option-card-meta {
  font-size: 12px;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 6px;
}

.option-card-desc {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.4;
}

/* Riga scelte completate */
.choices-summary-strip {
  background: rgba(44, 74, 62, 0.04);
  border: 1px solid var(--border-light);
  border-radius: 3px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--ink);
}

.btn-modify-choice {
  background: transparent;
  border: none;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  text-decoration: underline;
}

/* Riepilogo pre-pagamento */
.summary-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 28px;
  margin-top: 24px;
}

.summary-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 8px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--ink);
}

.summary-row.price-row {
  font-size: 17px;
  font-weight: 600;
  color: var(--forest);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}

.summary-note {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 20px;
  line-height: 1.5;
}

/* Input Form */
.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 12px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: white;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 2px rgba(44, 74, 62, 0.12);
}

.form-error {
  font-size: 12px;
  color: #C0392B;
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

/* ── FOOTER CONDIVISO ── */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 72px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}

.footer-tagline {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.65);
  line-height: 1.55;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.legacy-signature {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.6);
  letter-spacing: 0.03em;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image-wrap {
    max-width: 480px;
    margin: 0 auto;
  }
  .home-hero-image-wrap {
    max-width: 380px;
    height: 420px;
  }
  .home-hero-image-wrap img {
    object-position: 20% center;
  }
  .cards-grid-5 {
    grid-template-columns: 1fr;
  }
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
  .cards-grid-2 {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .conditions-grid,
  .conditions-grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .site-header .header-inner { gap: 8px; padding: 0 16px; }
  .site-logo { font-size: 20px; margin-right: auto; white-space: nowrap; }
  .btn-header-prenota { padding: 8px 10px; flex-shrink: 0; }
  .nav-wrap { margin-left: 0; }

  #chi-sono .home-about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #chi-sono .home-about-heading {
    padding-top: 0;
  }
  #chi-sono .home-about-body {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 24px;
  }
  .home-hero-image-wrap {
    max-width: 300px;
    height: 340px;
  }
  .home-hero-image-wrap img {
    object-position: 18% center;
  }
  .nav-wrap {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  .nav-wrap.mobile-open {
    display: flex;
  }
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
  }
  .main-nav li {
    width: 100%;
  }
  .nav-link {
    display: block;
    font-size: 16px;
    padding: 8px 0;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .options-selector-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .section-title {
    font-size: 32px;
  }
  .hero-title {
    font-size: 36px;
  }
}

@media (max-width: 580px) {
  section {
    padding: 64px 0;
  }
  .booking-step-container {
    padding: 24px 18px;
  }
  .home-hero-image-wrap {
    max-width: 260px;
    height: 290px;
  }
  .home-hero-image-wrap img {
    object-position: 19% center;
  }
}

/* ── PREFERS REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Accessibilità dei controlli condivisi e dei riepiloghi */
.nav-link, .footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.btn-modify-choice { min-height: 44px; min-width: 44px; padding: 8px; }
.choices-summary-strip { gap: 16px; flex-wrap: wrap; }
.summary-row { gap: 16px; flex-wrap: wrap; }
.form-label { cursor: pointer; }
#e4-skills-group label { min-height: 44px; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

.site-logo { min-height: 44px; }
.nav-link, .footer-links a { min-width: 44px; }

.link-touch { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; max-width: 100%; }

/* Contatti social richiesti da Fabio: icone locali e nomi accessibili. */
.footer-socials { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 16px 0 0; }
.footer-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; color: inherit; text-decoration: none; }
.footer-socials a:hover { color: var(--gold); text-decoration: underline; }
.footer-socials svg { flex: 0 0 22px; }

/* Recensioni Home richieste e autorizzate da Fabio, 02/10/2026. */
.home-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.home-review-grid .testimonial-card { display: flex; flex-direction: column; margin: 0; max-width: none; width: auto; }
.home-review-grid .testimonial-quote { margin: 0 0 20px; font-size: 18px; flex: 1; }
.home-review-grid .testimonial-author { font-size: 13px; text-align: left; }
.home-review-grid .testimonial-author small { display: block; font-size: 11px; margin-top: 8px; line-height: 1.5; font-weight: 400; }
@media (max-width: 820px) { .home-review-grid { grid-template-columns: 1fr; } }

/* Preferenze di Fabio: percorsi senza foto, piccolo ritratto in Chi sono. */
.hero-grid.hero-grid-text-only { grid-template-columns: minmax(0, 1fr); max-width: 800px; gap: 0; }
.home-about-photo { display: block; width: 160px; height: 160px; max-width: 100%; object-fit: cover; border-radius: 50%; margin-bottom: 24px; }
