/* ==========================================================================
   DOTT.SSA ALESSIA CARINI - PSICOLOGA CLINICA
   Clean, Calming, Editorial Design System
   Modeled after prestigious psychology practices
   ========================================================================== */

:root {
  /* Warm Organic Therapy Palette */
  --bg-primary: #fbf9f5;          /* Warm linen/oat off-white (soothing, organic) */
  --bg-secondary: #f4efe6;        /* Soft warm sand / stone */
  --bg-card: #ffffff;             /* Crisp pure card canvas */
  --bg-card-hover: #ffffff;
  --bg-dark: #192226;             /* Grounding deep slate */

  /* Healthcare & Calming Accent Tones */
  --color-teal: #236f61;          /* Therapeutic sage green (grounding & serene) */
  --color-teal-dark: #185247;     /* Deep forest sage */
  --color-teal-light: #edf5f2;    /* Soft eucalyptus mist */
  --color-teal-subtle: rgba(35, 111, 97, 0.08);

  /* Warm Empathetic Terracotta/Coral Accent */
  --color-terracotta: #c86d51;    /* Calming warm terracotta (empathy, heart, warmth) */
  --color-terracotta-light: #fcf2ee;
  --color-terracotta-subtle: rgba(200, 109, 81, 0.08);

  /* Typography Colors */
  --text-primary: #1e262a;        /* Warm deep slate charcoal */
  --text-secondary: #526068;      /* Calming mineral slate */
  --text-tertiary: #839099;       /* Muted neutral */
  --text-inverse: #ffffff;

  /* Glassmorphism & Borders */
  --glass-bg: rgba(251, 249, 245, 0.94);
  --glass-border: rgba(35, 111, 97, 0.1);
  --card-border: rgba(30, 38, 42, 0.06);
  --card-shadow: 0 4px 20px rgba(25, 34, 39, 0.04);
  --card-shadow-hover: 0 12px 32px rgba(25, 34, 39, 0.08);

  /* Typography Settings */
  --font-heading: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: var(--font-heading);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacings & Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 980px;
  --container-max: 1140px;
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* ==========================================================================
   NAVIGATION BAR (Sticky Glassmorphism con Logo)
   ========================================================================== */
/* ==========================================================================
   NAVIGATION BAR (Floating Glassmorphism Capsule con Menu Interattivo)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1240px;
  height: 64px;
  background: rgba(251, 249, 245, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(226, 220, 209, 0.85);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(44, 38, 30, 0.05);
  z-index: 9999;
  transition: top 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 0 12px 0 20px;
}

.navbar.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(35, 111, 97, 0.16);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  gap: 16px;
}

/* 1. Brand Logo & Name Pulito (senza badge ridondanti) */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
  cursor: pointer;
}

.brand-logo {
  height: 40px;
  width: 40px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-brand:hover .brand-logo {
  transform: scale(1.06);
}

.brand-logo-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav-brand:hover .brand-name {
  color: var(--color-teal);
}

/* 2. Menu di Navigazione Centrale Interattivo */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  background: rgba(0, 0, 0, 0.024);
  padding: 4px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.035);
  margin: 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  position: relative;
}

.nav-link:hover {
  color: var(--color-teal-dark);
  background: rgba(35, 111, 97, 0.08);
}

.nav-link.active {
  color: var(--color-teal);
  background: var(--color-teal-light);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(35, 111, 97, 0.12);
}

/* 3. Azioni Desktop a Destra */
.nav-actions-desktop {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-social-cluster {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-right: 8px;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.035);
  color: var(--text-secondary) !important;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-social-btn:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.nav-social-btn:hover:not(.instagram):not(.guidapsicologi) {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2 !important;
  border-color: rgba(10, 102, 194, 0.2);
}

.nav-social-btn.instagram:hover {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c !important;
  border-color: rgba(225, 48, 108, 0.2);
}

.nav-social-btn.guidapsicologi:hover {
  background: rgba(26, 115, 232, 0.1);
  color: #1a73e8 !important;
  border-color: rgba(26, 115, 232, 0.2);
}

.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-teal);
  color: #ffffff !important;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(35, 111, 97, 0.22);
}

.nav-cta-pill i {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}

.nav-cta-pill:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(35, 111, 97, 0.32);
}

.nav-cta-pill:hover i {
  transform: translateX(3px);
}

.nav-mobile-actions {
  display: none;
}

/* Hamburger Toggle Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--color-teal);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--color-teal);
}

/* ==========================================================================
   BUTTONS (Organic Pill Style)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-teal);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(35, 111, 97, 0.25);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-primary);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.07);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff;
  font-weight: 600;
}

.btn-whatsapp:hover {
  background: #20BA5A;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.28);
  transform: translateY(-2px);
}

.btn-call {
  background: var(--color-teal);
  color: #ffffff;
  font-weight: 600;
}

.btn-call:hover {
  background: var(--color-teal-dark);
  box-shadow: 0 8px 22px rgba(35, 111, 97, 0.28);
  transform: translateY(-2px);
}

/* ==========================================================================
   HERO CLEAN (Foto Sfumata nel Background & Calore Emotivo)
   ========================================================================== */
.hero-clean {
  padding-top: 130px;
  padding-bottom: 84px;
  position: relative;
  background: radial-gradient(circle at 75% 25%, rgba(35, 111, 97, 0.06) 0%, rgba(200, 109, 81, 0.04) 35%, transparent 65%);
}

.hero-clean-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-clean-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.hero-clean-desc {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-clean-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 0;
}

/* Hero Visual: Foto PNG Trasparente Integrata nello Sfondo */
.hero-clean-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-portrait-blend {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
}

.hero-faded-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  /* Sfumatura morbida sul taglio inferiore per fondersi con lo sfondo */
  -webkit-mask-image: linear-gradient(to bottom, black 82%, transparent 99%);
  mask-image: linear-gradient(to bottom, black 82%, transparent 99%);
  filter: drop-shadow(0 14px 28px rgba(35, 111, 97, 0.07));
  transition: transform 0.4s ease, filter 0.4s ease;

  /* Protezione anti-espansione: impedisce click, trascinamento in nuova scheda e menu contestuale iOS/desktop */
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.hero-portrait-blend:hover .hero-faded-img {
  transform: translateY(-4px) scale(1.015);
  filter: drop-shadow(0 20px 36px rgba(35, 111, 97, 0.12));
}

.hero-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  width: 100%;
  max-width: 440px;
  justify-content: center;
}

.profile-link-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.profile-link-chip.linkedin {
  color: #0a66c2;
}

.profile-link-chip.linkedin:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
  transform: translateY(-2px);
}

.profile-link-chip.instagram {
  color: #e1306c;
}

.profile-link-chip.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
}

.profile-link-chip.guidapsicologi {
  color: #1a73e8;
}

.profile-link-chip.guidapsicologi:hover {
  background: #1a73e8;
  color: #ffffff;
  border-color: #1a73e8;
  transform: translateY(-2px);
}

/* ==========================================================================
   CLEAN SECTIONS & HEADINGS (Spacious, Uncluttered, Restful)
   ========================================================================== */
.section-clean {
  padding: 96px 0;
}

.bg-warm {
  background-color: var(--bg-secondary);
}

.clean-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.clean-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-teal);
  margin-bottom: 12px;
}

.clean-heading {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.clean-subheading {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   CHI SONO (Storia di Studio e Lavoro in Ordine Inverso, Senza Numeri)
   ========================================================================== */
.story-clean-layout {
  max-width: 960px;
  margin: 0 auto;
}

.timeline-story-flow {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.timeline-story-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
}

.timeline-story-card:hover {
  transform: translateY(-2px);
  border-color: rgba(35, 111, 97, 0.24);
  box-shadow: var(--card-shadow-hover);
}

.timeline-story-card.current-focus {
  border-left: 4px solid var(--color-teal);
  background: linear-gradient(135deg, rgba(237, 245, 242, 0.4) 0%, var(--bg-card) 60%);
}

.story-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.story-badge-period {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-teal);
  background: var(--color-teal-light);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
}

.story-role-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-terracotta);
  background: rgba(200, 109, 81, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.story-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}

.timeline-story-card p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.timeline-story-card p:last-child {
  margin-bottom: 0;
}

.timeline-story-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   IL METODO (Approccio Sistemico, Mindfulness, Spazio Sicuro)
   ========================================================================== */
.method-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.method-pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.method-pillar-card:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 111, 97, 0.25);
  box-shadow: var(--card-shadow-hover);
}

.method-pillar-card .pillar-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--color-teal-light);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.method-pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 6px;
}

.pillar-subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-terracotta);
  margin-bottom: 16px;
  font-style: italic;
  line-height: 1.4;
}

.method-pillar-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin: 0;
}

.method-pillar-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   CANALI UFFICIALI E PROFILI VERIFICATI (Sezione Dedicata)
   ========================================================================== */
.section-profiles-verified {
  padding: 56px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.verified-strip-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.verified-strip-text {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.verified-strip-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 8px 0 8px;
  letter-spacing: -0.02em;
}

.verified-strip-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.verified-strip-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1040px;
  width: 100%;
  margin: 0 auto;
}

.verified-badge-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
  position: relative;
}

.verified-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(35, 111, 97, 0.25);
}

.verified-badge-card .badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.verified-badge-card.guidapsicologi .badge-icon {
  background: rgba(26, 115, 232, 0.1);
  color: #1a73e8;
}

.verified-badge-card.linkedin .badge-icon {
  background: rgba(10, 102, 194, 0.1);
  color: #0a66c2;
}

.verified-badge-card.instagram .badge-icon {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c;
}

.verified-badge-card.albo .badge-icon {
  background: var(--color-teal-light);
  color: var(--color-teal);
}

.badge-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.badge-info span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.badge-arrow {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  transition: var(--transition-smooth);
}

.verified-badge-card:hover .badge-arrow {
  color: var(--color-teal);
  transform: translate(2px, -2px);
}

/* ==========================================================================
   AREE DI INTERVENTO (3 Focused Pillars: DCA, Coppia, Ansia)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(35, 111, 97, 0.2);
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--color-teal-light);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.pillar-card:nth-child(2) .pillar-icon {
  background: var(--color-terracotta-light);
  color: var(--color-terracotta);
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.pillar-card p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin-bottom: 26px;
  flex-grow: 1;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pillar-tags span {
  font-size: 0.74rem;
  font-weight: 500;
  background: var(--bg-primary);
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.pillars-bottom-callout {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: var(--card-shadow);
  max-width: 960px;
  margin: 0 auto;
}

.callout-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-teal-light);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.callout-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
}

.callout-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   IL PERCORSO (3 Linear Minimal Steps)
   ========================================================================== */
.linear-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.linear-step {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  position: relative;
}

.linear-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-hover);
}

.step-badge {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-teal);
  background: var(--color-teal-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}

.linear-step h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.linear-step p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Garanzie Sanitarie e Deontologiche (Posizione Logica in Percorso) */
.percorso-guarantee-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1040px;
  margin: 44px auto 0;
  padding-top: 36px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.guarantee-pill-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.guarantee-pill-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(35, 111, 97, 0.22);
}

.guarantee-pill-item i {
  font-size: 1.3rem;
  color: var(--color-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.guarantee-pill-item strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.guarantee-pill-item span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   FAQ SECTION (Clean Reassuring Accordion)
   ========================================================================== */
.faq-container-clean {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.faq-item.active {
  border-color: rgba(35, 111, 97, 0.28);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  transition: transform 0.3s ease;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 26px 24px;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ==========================================================================
   CONTATTI E PRENOTAZIONE (Modulo Diretto Email + WhatsApp)
   ========================================================================== */
.contact-clean-card {
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 40px rgba(25, 34, 39, 0.05);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}

.contact-clean-info {
  padding: 56px 44px;
  background: linear-gradient(160deg, #fbf9f5 0%, #f4efe6 100%);
  display: flex;
  flex-direction: column;
}

.contact-clean-info .clean-heading {
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.contact-clean-info p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.62;
  margin-bottom: 32px;
}

.contact-direct-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.direct-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
}

.direct-contact-item:hover {
  transform: translateX(4px);
  border-color: rgba(35, 111, 97, 0.25);
}

.direct-contact-item i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.direct-contact-item span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.direct-contact-item strong {
  font-size: 0.94rem;
  color: var(--text-primary);
}

.contact-links-discreet {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.contact-links-discreet a:hover {
  color: var(--color-teal);
  text-decoration: underline;
}

.contact-clean-form-box {
  padding: 56px 48px;
  background: #ffffff;
}

.contact-clean-form-box h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.contact-clean-form-box > p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: var(--bg-primary);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-teal);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(35, 111, 97, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 86px;
}

.form-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.form-feedback-message {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 14px;
  line-height: 1.45;
}

.form-feedback-message.error {
  background: #fdf2f2;
  border: 1px solid #f8b4b4;
  color: #9b1c1c;
}

.form-success-box {
  text-align: center;
  padding: 40px 16px;
}

.form-success-box .success-icon {
  width: 60px;
  height: 60px;
  background: var(--color-teal-light);
  color: var(--color-teal);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.form-success-box h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.form-success-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 6px;
}

.form-success-box .success-sub {
  color: var(--text-tertiary);
  font-size: 0.85rem;
}

.privacy-note {
  display: block;
  font-size: 0.74rem;
  color: var(--text-tertiary);
  margin-top: 14px;
  line-height: 1.45;
  text-align: center;
}

.privacy-note i {
  color: var(--color-teal);
  margin-right: 4px;
}

/* ==========================================================================
   FOOTER (Centered Editorial & Serene Grounding)
   ========================================================================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding: 64px 0 40px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.footer-centered-container {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-centered-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 26px;
}

.footer-centered-logo {
  height: 50px;
  width: 50px;
  object-fit: contain;
  margin-bottom: 12px;
  display: block;
}

.footer-centered-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.footer-centered-sub {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-teal);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
}

.footer-centered-desc {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

.footer-centered-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 26px;
  margin-bottom: 22px;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  width: 100%;
}

.footer-centered-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-centered-nav a:hover {
  color: var(--color-teal);
}

.footer-centered-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  background: #ffffff;
  border: 1px solid var(--card-border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.footer-social-link.linkedin { color: #0a66c2; }
.footer-social-link.instagram { color: #e1306c; }
.footer-social-link.whatsapp { color: #25d366; }
.footer-social-link.guidapsicologi { color: #1a73e8; }

.footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.footer-centered-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 18px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.footer-centered-contacts a {
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-centered-contacts a:hover {
  color: var(--color-teal);
}

.footer-centered-contacts span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-sep {
  color: var(--card-border);
  font-size: 0.75rem;
}

.footer-centered-legal {
  font-size: 0.76rem;
  color: var(--text-tertiary);
  line-height: 1.6;
}

.footer-centered-legal p {
  margin: 0 0 4px;
}

.footer-fiscal-note {
  opacity: 0.85;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS (WhatsApp Hub & Back to Top)
   ========================================================================== */
.floating-whatsapp-hub {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
}

.whatsapp-fab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  padding: 12px 20px 12px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  position: relative;
}

.whatsapp-fab-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
}

.whatsapp-fab-btn i {
  font-size: 1.4rem;
}

.fab-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulse-ring 2.4s infinite;
  pointer-events: none;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--card-shadow);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  color: var(--color-teal);
  transform: translateY(-2px);
  box-shadow: var(--card-shadow-hover);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 992px) {
  .navbar {
    width: calc(100% - 32px);
    top: 12px;
    height: 60px;
    padding: 0 12px 0 18px;
  }
  .nav-brand .brand-name {
    font-size: 1.1rem;
  }
  .nav-actions-desktop {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(251, 249, 245, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 22px;
    border: 1px solid rgba(226, 220, 209, 0.95);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
    padding: 22px 18px;
    flex-direction: column;
    gap: 16px;
    max-height: 82vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-menu.active {
    display: flex;
    animation: menu-slide-down 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes menu-slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    gap: 6px;
  }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 16px;
    font-size: 0.95rem;
  }
  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .nav-mobile-cta {
    width: 100%;
    padding: 12px;
    font-size: 0.92rem;
  }
  .nav-mobile-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
  }
  .hero-clean-title {
    font-size: 2.8rem;
  }
  .hero-clean-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .hero-clean-text {
    order: 1;
  }
  .hero-clean-visual {
    order: 2;
  }
  .method-pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .verified-strip-badges {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .linear-steps-grid {
    grid-template-columns: 1fr;
  }
  .percorso-guarantee-strip {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }
  .contact-clean-card {
    grid-template-columns: 1fr;
  }
  .footer-centered-nav {
    gap: 12px 18px;
  }
  .footer-centered-contacts {
    flex-direction: column;
    gap: 8px;
  }
  .footer-centered-contacts .footer-sep {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-clean {
    padding: 60px 0;
  }
  .clean-section-header {
    margin-bottom: 34px;
  }
  .clean-heading {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .clean-subheading {
    font-size: 1rem;
    line-height: 1.55;
  }
  .navbar {
    width: calc(100% - 24px);
    top: 10px;
    height: 56px;
    padding: 0 10px 0 14px;
  }
  .brand-logo {
    height: 36px;
    width: 36px;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .hero-clean {
    padding-top: 100px;
    padding-bottom: 56px;
  }
  .hero-clean-title {
    font-size: 2.15rem;
  }
  .hero-clean-desc {
    font-size: 1.02rem;
  }
  .hero-clean-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-clean-actions .btn {
    width: 100%;
  }
  .hero-portrait-blend {
    max-width: 340px;
    margin: 0 auto;
  }
  .hero-faded-img {
    max-height: 390px;
  }
  .hero-profile-links {
    max-width: 340px;
  }
  .timeline-story-card {
    padding: 26px 20px;
  }
  .verified-strip-badges {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-control {
    font-size: 16px; /* Evita zoom automatico sgradevole su iOS Safari */
  }
  .contact-clean-info,
  .contact-clean-form-box {
    padding: 36px 24px;
  }
  .direct-contact-item strong {
    word-break: break-all;
  }
  .floating-whatsapp-hub {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-fab-btn {
    padding: 12px;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    justify-content: center;
  }
  .whatsapp-fab-btn .fab-text {
    display: none;
  }
  .back-to-top {
    bottom: 20px;
    left: 20px;
  }
}

/* Ottimizzazione Specifica per Smartphone Compatti (iPhone SE, Galaxy, schermi <= 480px) */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 28px);
  }
  .navbar {
    width: calc(100% - 16px);
    top: 8px;
    height: 52px;
    padding: 0 8px 0 12px;
  }
  .brand-name {
    font-size: 0.98rem;
  }
  .brand-logo {
    height: 32px;
    width: 32px;
  }
  .hero-clean {
    padding-top: 86px;
    padding-bottom: 44px;
  }
  .hero-clean-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }
  .hero-clean-desc {
    font-size: 0.96rem;
    margin-bottom: 24px;
  }
  .hero-faded-img {
    max-height: 330px;
  }
  .clean-heading {
    font-size: 1.6rem;
    line-height: 1.25;
  }
  .clean-section-header {
    margin-bottom: 28px;
  }
  .section-clean {
    padding: 46px 0;
  }
  .story-badge-period {
    font-size: 0.76rem;
    padding: 4px 10px;
  }
  .story-card-title {
    font-size: 1.15rem;
  }
  .timeline-story-card {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .method-pillar-card,
  .pillar-card,
  .linear-step {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .faq-question {
    padding: 18px 16px;
    font-size: 0.96rem;
  }
  .faq-answer p {
    padding: 0 16px 18px;
    font-size: 0.9rem;
  }
  .contact-clean-info,
  .contact-clean-form-box {
    padding: 26px 18px;
    border-radius: 18px;
  }
  .contact-clean-info h2 {
    font-size: 1.7rem;
  }
  .direct-contact-item {
    padding: 12px 14px;
    gap: 12px;
  }
  .footer {
    padding: 48px 0 32px;
  }
  .footer-centered-nav {
    gap: 10px 14px;
  }
  .footer-centered-contacts {
    font-size: 0.82rem;
  }
  .floating-whatsapp-hub {
    bottom: 16px;
    right: 16px;
  }
  .whatsapp-fab-btn {
    width: 48px;
    height: 48px;
  }
  .back-to-top {
    bottom: 16px;
    left: 16px;
    width: 40px;
    height: 40px;
    font-size: 0.88rem;
  }
}
