/* ===================================================
   EGHEIRO — Centro di Psicoterapia
   style.css v3.0 — mobile audit completo
   ================================================= */

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

:root {
  --teal:        #009bd6;
  --teal-dark:   #075ea8;
  --teal-xdark:  #075ea8;
  --teal-light:  #e6f7fd;
  --gold:        #fab71f;
  --gold-light:  #fcd36a;
  --white:       #ffffff;
  --pearl:       #f7f9fa;
  --border:      #dce8eb;
  --text:        #1e2d32;
  --text-mid:    #4a6670;
  --text-light:  #8aacb5;
  --shadow-sm:   0 2px 14px rgba(42,143,160,.08);
  --shadow-md:   0 8px 40px rgba(42,143,160,.13);
  --shadow-lg:   0 20px 60px rgba(42,143,160,.17);
  --radius:      12px;
  --radius-lg:   20px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-out:    cubic-bezier(.22,1,.36,1);
  --t:           .28s;
}

/* Fix iOS: overflow-x solo su html, non interferisce con position:fixed */
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); font-size: 1rem; line-height: 1.7; color: var(--text); background: var(--white); }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }

/* ─── CONTAINER ─────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

/* ─── SECTION HEADER ────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); background: var(--teal-light);
  padding: 5px 16px; border-radius: 50px; margin-bottom: 16px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 400; color: var(--text); line-height: 1.2; margin-bottom: 14px;
}
.section-intro { font-size: 1rem; color: var(--text-mid); max-width: 580px; margin: 0 auto; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn-primary {
  display: inline-block; background: var(--teal); color: var(--white);
  font-size: .9rem; font-weight: 500; padding: 13px 30px;
  border-radius: 50px; border: none; cursor: pointer;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  letter-spacing: .02em; touch-action: manipulation;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary.full-width { width: 100%; text-align: center; }

.btn-ghost {
  display: inline-block; color: var(--teal);
  font-size: .9rem; font-weight: 500; padding: 13px 30px;
  border-radius: 50px; border: 2px solid var(--teal); cursor: pointer;
  transition: all var(--t) var(--ease); touch-action: manipulation;
}
.btn-ghost:hover { background: var(--teal); color: var(--white); }

.btn-outline {
  display: inline-block; color: var(--teal-dark);
  font-size: .85rem; font-weight: 500; padding: 10px 24px;
  border-radius: 50px; border: 1.5px solid var(--teal); cursor: pointer;
  transition: all var(--t) var(--ease); touch-action: manipulation;
}
.btn-outline:hover { background: var(--teal); color: var(--white); }

.btn-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 500; color: var(--teal);
  transition: gap var(--t) var(--ease); touch-action: manipulation;
}
.btn-back:hover { gap: 12px; }
.btn-back::before { content: '←'; }

/* ─── COOKIE BANNER ─────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  background: var(--text); color: var(--white);
  box-shadow: 0 -4px 24px rgba(0,0,0,.2);
}
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; max-width: 1140px; margin: 0 auto; padding: 16px 28px;
}
.cookie-banner p { font-size: .875rem; opacity: .85; }
.cookie-banner a { color: var(--gold-light); text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--teal); color: var(--white); border: none;
  padding: 9px 22px; border-radius: 50px; font-size: .85rem; font-weight: 500;
  cursor: pointer; transition: background var(--t); touch-action: manipulation;
}
.btn-cookie-accept:hover { background: var(--teal-dark); }
.btn-cookie-decline {
  background: transparent; color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.3); padding: 9px 22px;
  border-radius: 50px; font-size: .85rem; cursor: pointer;
  transition: all var(--t); touch-action: manipulation;
}
.btn-cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,.6); }
@media(max-width:600px){ .cookie-inner{ flex-direction:column; align-items:flex-start; } }

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 80px;
  transition: background var(--t), box-shadow var(--t);
}
.navbar.hero-nav { background: transparent; }
.navbar.scrolled, .navbar.solid {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
}
.navbar-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 52px; width: auto;
  object-fit: contain; display: block;
}
.nav-logo-text { display: none; }

.navbar-links { display: flex; align-items: center; gap: 18px; }
.navbar-links a {
  font-size: .8rem; font-weight: 500;
  color: rgba(255,255,255,.9); transition: color var(--t);
  touch-action: manipulation; white-space: nowrap;
}
.navbar.scrolled .navbar-links a,
.navbar.solid    .navbar-links a { color: var(--text-mid); }
.navbar-links a:hover { color: var(--white) !important; }
.navbar.scrolled .navbar-links a:hover,
.navbar.solid    .navbar-links a:hover { color: var(--teal) !important; }

.nav-cta {
  background: var(--gold) !important; color: var(--white) !important;
  padding: 8px 16px !important; border-radius: 50px;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Hamburger — z-index > pannello menu per stare sempre sopra */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  gap: 5px; z-index: 1002; padding: 0;
  touch-action: manipulation; position: relative;
}
.hamburger span {
  display: block; width: 24px; height: 2px; border-radius: 2px;
  transition: var(--t) var(--ease);
  /* Colore di default su hero trasparente */
  background: var(--white);
}
/* Su sfondo bianco (solid/scrolled) le span diventano scure */
.navbar.scrolled .hamburger span,
.navbar.solid    .hamburger span { background: var(--teal-dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay — fade in/out fluido */
.nav-overlay {
  display: block;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.48);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .38s ease;
  -webkit-tap-highlight-color: transparent;
}
.nav-overlay.active { opacity: 1; pointer-events: auto; }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100dvh; min-height: 100vh;
  background: linear-gradient(145deg, var(--teal-xdark) 0%, var(--teal) 60%, #3aadbe 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  padding: 110px 40px 80px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(255,255,255,.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(201,150,58,.1) 0%, transparent 60%);
}
/* Rete di nodi SVG ispirata al logo */
.hero-network {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 55%; pointer-events: none; opacity: .42;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 900px; width: 100%;
}
.hero-tag {
  display: inline-block; font-size: .7rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-light); background: rgba(201,150,58,.15);
  padding: 5px 16px; border-radius: 50px; margin-bottom: 22px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 300; color: var(--white); line-height: 1.1; margin-bottom: 22px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,.82); margin-bottom: 36px; max-width: 500px; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; justify-content: center; }
.hero-ctas .btn-primary { background: var(--white); color: var(--teal-dark); }
.hero-ctas .btn-primary:hover { background: var(--pearl); }
.hero-ctas .btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.hero-ctas .btn-ghost:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.hero-stats { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; color: var(--white); line-height: 1; }
.stat-label { font-size: .75rem; color: rgba(255,255,255,.6); letter-spacing: .03em; }
.stat-div { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* ─── HERO LOGO FULL ────────────────────────────── */
.hero-logo-full {
  width: 100%; max-width: 720px; height: auto;
  display: block; margin-bottom: 16px;
}
/* Mobile hero logo stacked */
.hero-logo-mobile { display: none; }
.hero-brain-mobile { width: 150px; height: auto; display: block; margin: 0 auto 12px; }
.hero-wordmark-mobile {
  font-family: var(--font-display); font-size: 3.6rem; font-weight: 300;
  color: var(--white); letter-spacing: .06em; line-height: 1; margin-bottom: 4px;
}
.hero-tagline-mobile {
  font-size: .92rem; font-weight: 300; letter-spacing: .18em;
  text-transform: lowercase; color: rgba(255,255,255,.75); margin-bottom: 12px;
}
.hero-location {
  font-size: .82rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(255,255,255,.7);
  margin-bottom: 40px;
}

/* ─── HERO ACCREDITAMENTO ───────────────────────── */
.hero-accred {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  justify-content: center; margin-top: 4px;
}
.hero-accred-label {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); white-space: nowrap;
}
.hero-accred-logo { height: 40px; width: auto; object-fit: contain; opacity: .88; }

/* ─── SEZIONE ISABEL FERNANDEZ ──────────────────── */
.section-isabel { background: var(--text); padding: 40px 0; }
.isabel-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.isabel-text { font-size: .97rem; color: rgba(255,255,255,.8); line-height: 1.7; max-width: 640px; }
.isabel-text strong { color: var(--white); }
.isabel-loghi { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.isabel-logo { height: 48px; width: auto; object-fit: contain; }

/* ─── SEZIONE CENTRO ─────────────────────────────── */
.section-centro { padding: 96px 0; background: var(--white); }
.centro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.centro-text p { color: var(--text-mid); margin-bottom: 18px; line-height: 1.8; }
.centro-text strong { color: var(--teal-dark); }
.consulenza-box {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--teal-light); border-left: 3px solid var(--gold);
  padding: 18px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin-top: 8px;
}
.consulenza-box p { font-size: .9rem; color: var(--text-mid); margin: 0; }
.consulenza-box strong { color: var(--text); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar {
  background: var(--pearl); border-radius: var(--radius);
  padding: 26px 22px; border: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.pillar:hover { border-color: var(--border); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.pillar-icon { font-size: 1.3rem; color: var(--teal); margin-bottom: 10px; }
.pillar h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.pillar p { font-size: .855rem; color: var(--text-mid); line-height: 1.65; }

/* ─── SEZIONE EMDR ───────────────────────────────── */
.section-emdr { padding: 96px 0; background: var(--pearl); }
.emdr-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.emdr-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid var(--border);
  transition: box-shadow var(--t), transform var(--t);
}
.emdr-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.emdr-card.featured { background: var(--teal-xdark); border-color: transparent; }
.emdr-letter { font-family: var(--font-display); font-size: 3.5rem; font-weight: 300; color: var(--border); line-height: 1; margin-bottom: 14px; opacity: .6; }
.emdr-card.featured .emdr-letter { color: var(--gold-light); opacity: .5; }
.emdr-card h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.emdr-card.featured h3 { color: var(--white); }
.emdr-card p { font-size: .93rem; color: var(--text-mid); line-height: 1.75; margin-bottom: 18px; }
.emdr-card.featured p { color: rgba(255,255,255,.75); }
.emdr-list li { font-size: .87rem; color: var(--text-mid); padding: 5px 0 5px 16px; position: relative; border-top: 1px solid var(--border); }
.emdr-list li::before { content: '→'; position: absolute; left: 0; color: var(--teal); font-size: .8rem; }
.emdr-card.featured .emdr-list li { color: rgba(255,255,255,.65); border-color: rgba(255,255,255,.1); }
.emdr-card.featured .emdr-list li::before { color: var(--gold-light); }
.emdr-ribbon {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.emdr-ribbon p { font-size: .93rem; color: var(--text-mid); max-width: 680px; }
.emdr-ribbon strong { color: var(--text); }

/* ─── SEZIONE ATTIVITÀ ───────────────────────────── */
.section-attivita { padding: 96px 0; background: var(--white); }
.attivita-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.attivita-card {
  background: var(--pearl); border-radius: var(--radius);
  padding: 30px 26px; border: 1px solid var(--border);
  transition: box-shadow var(--t), transform var(--t), border-color var(--t);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.attivita-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--teal); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.attivita-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--teal-light); }
.attivita-card:hover::after { transform: scaleX(1); }
.attivita-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; color: var(--border); margin-bottom: 10px; transition: color var(--t); }
.attivita-card:hover .attivita-num { color: var(--teal-light); }
.attivita-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 10px; line-height: 1.3; }
.attivita-card p { font-size: .87rem; color: var(--text-mid); line-height: 1.65; flex: 1; }
.attivita-card-link { margin-top: 18px; font-size: .83rem; font-weight: 500; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; transition: gap var(--t); touch-action: manipulation; }
.attivita-card:hover .attivita-card-link { gap: 10px; }
.attivita-card-link::after { content: '→'; }

/* ─── SEZIONE TEAM ───────────────────────────────── */
.section-team { padding: 96px 0; background: var(--pearl); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 24px; border: 1px solid var(--border);
  text-align: center; transition: box-shadow var(--t), transform var(--t);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-card.featured {
  grid-column: span 3; text-align: left;
  background: var(--teal-xdark); border-color: transparent; color: var(--white);
  display: grid; grid-template-columns: 88px 1fr; gap: 0 24px; padding: 40px;
}
.team-badge {
  font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-light); background: rgba(201,150,58,.15);
  padding: 4px 14px; border-radius: 50px; margin-bottom: 18px;
  grid-column: 1 / -1; width: fit-content; display: inline-block;
}
.team-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600;
  color: var(--teal-dark); margin: 0 auto 16px; letter-spacing: .03em;
}
.team-card.featured .team-avatar {
  width: 88px; height: 88px; font-size: 1.3rem;
  background: rgba(255,255,255,.12); color: var(--white);
  margin: 0; grid-row: 2 / 4; align-self: start;
}
.team-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.team-card.featured h3 { color: var(--white); font-size: 1.4rem; align-self: end; }
.team-spec { font-size: .79rem; color: var(--text-light); line-height: 1.55; }
.team-card.featured .team-spec { color: rgba(255,255,255,.55); font-size: .84rem; }
.team-desc { grid-column: 1 / -1; font-size: .9rem; color: rgba(255,255,255,.72); line-height: 1.75; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.team-link { display: inline-block; margin-top: 14px; font-size: .8rem; font-weight: 500; color: var(--teal); touch-action: manipulation; }
.team-card:hover .team-link { text-decoration: underline; }
.team-card.featured .team-link { color: var(--gold-light); }

/* ─── SEZIONE CONTATTI ───────────────────────────── */
.section-contatti { padding: 96px 0; background: var(--white); }
.contatti-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contatto-info { display: flex; flex-direction: column; gap: 26px; }
.contatto-item { display: flex; align-items: flex-start; gap: 16px; }
.contatto-icon-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--teal-light); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contatto-item strong { display: block; font-size: .78rem; font-weight: 500; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.contatto-item p, .contatto-item a { font-size: .97rem; color: var(--text-mid); }
.contatto-item a:hover { color: var(--teal); }

.contatto-form { background: var(--pearl); border-radius: var(--radius-lg); padding: 40px; display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .8rem; font-weight: 500; color: var(--text-mid); letter-spacing: .04em; }
.form-group input, .form-group textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 11px 15px; outline: none; width: 100%;
  transition: border-color var(--t), box-shadow var(--t); -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,143,160,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-privacy { display: flex; align-items: flex-start; gap: 10px; font-size: .82rem; color: var(--text-mid); }
.form-privacy input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; appearance: none; -webkit-appearance: none;
  background: var(--white); border: 2px solid var(--border); border-radius: 4px;
  cursor: pointer; transition: var(--t); margin-top: 1px;
}
.form-privacy input[type="checkbox"]:checked {
  background: var(--teal); border-color: var(--teal);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M2 6l3 3 5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.form-privacy a { color: var(--teal); }
.form-success { color: var(--teal-dark); font-size: .9rem; font-weight: 500; text-align: center; padding: 12px; background: var(--teal-light); border-radius: 8px; }

/* ─── FOOTER ─────────────────────────────────────── */
.footer { background: var(--text); padding: 52px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-logo { display: block; font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: var(--white); letter-spacing: .08em; margin-bottom: 8px; }
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.45); margin-bottom: 5px; }
.footer-tagline { font-style: italic; color: rgba(201,150,58,.65) !important; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.55); transition: color var(--t); touch-action: manipulation; }
.footer-links a:hover { color: var(--teal); }
.footer-legal { text-align: right; }
.footer-legal p { font-size: .78rem; color: rgba(255,255,255,.35); margin-bottom: 4px; }

/* ─── PAGINE INTERNE (attività + terapeuti) ──────── */
.page-hero {
  background: linear-gradient(145deg, var(--teal-xdark) 0%, var(--teal) 100%);
  padding: 120px 0 56px; color: var(--white);
}
.page-hero-inner { display: flex; flex-direction: column; gap: 12px; }
.page-hero .breadcrumb { font-size: .8rem; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--t); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb span { opacity: .4; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 300; line-height: 1.15; }
.page-hero .page-subtitle { font-size: 1rem; color: rgba(255,255,255,.72); max-width: 580px; }

.page-body { padding: 72px 0 96px; }
.page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.page-sidebar { position: sticky; top: 100px; }
.sidebar-title { font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .15em; color: var(--text-light); margin-bottom: 12px; }
.sidebar-list { display: flex; flex-direction: column; gap: 2px; }
.sidebar-list a {
  font-size: .875rem; color: var(--text-mid); padding: 8px 12px;
  border-radius: 6px; border-left: 2px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t);
  display: block; touch-action: manipulation;
}
.sidebar-list a:hover { background: var(--teal-light); color: var(--teal-dark); }
.sidebar-list a.active { background: var(--teal-light); color: var(--teal-dark); border-left-color: var(--teal); font-weight: 500; }

.page-content h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--text); margin: 36px 0 14px; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--teal-dark); margin: 28px 0 10px; }
.page-content p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.page-content strong { color: var(--text); }
.page-content ul.bullet-list { padding-left: 0; margin-bottom: 20px; }
.page-content ul.bullet-list li { font-size: .95rem; color: var(--text-mid); padding: 7px 0 7px 20px; position: relative; border-bottom: 1px solid var(--border); line-height: 1.65; }
.page-content ul.bullet-list li::before { content: '—'; position: absolute; left: 0; color: var(--teal); font-size: .85rem; }

.highlight-box { background: var(--teal-light); border-left: 3px solid var(--teal); padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.highlight-box p { color: var(--text-mid); font-size: .93rem; margin: 0; }

/* Terapeuta page */
.terapeuta-card-bio {
  background: var(--pearl); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--border); text-align: center; margin-bottom: 24px;
}
.terapeuta-avatar-lg {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--white); margin: 0 auto 14px; letter-spacing: .04em;
}
.terapeuta-card-bio h2 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.terapeuta-spec { font-size: .82rem; color: var(--text-light); line-height: 1.6; }
.terapeuta-role { display: inline-block; margin-top: 10px; font-size: .7rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--teal); background: var(--teal-light); padding: 4px 12px; border-radius: 50px; }

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

/* Navbar hamburger — breakpoint più alto (7 voci) */
@media (max-width: 1200px) {
  .hamburger { display: flex; }

  /* Menu mobile — slide-in da destra, 100dvh con fallback per iOS Safari */
  .navbar-links {
    position: fixed; top: 0; right: 0;
    width: min(300px, 88vw);
    height: 100vh; height: 100dvh;
    background: var(--text); flex-direction: column; align-items: flex-start;
    padding: 100px 32px 48px; gap: 4px;
    z-index: 1001;
    visibility: hidden; opacity: 0; transform: translateX(100%);
    transition: visibility var(--t), opacity var(--t), transform var(--t) var(--ease);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .navbar-links.open { visibility: visible; opacity: 1; transform: translateX(0); }
  .navbar-links a {
    font-size: 1.05rem; color: rgba(255,255,255,.85) !important;
    touch-action: manipulation;
    padding: 12px 0; display: block; width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.07);
    opacity: 0; transform: translateX(20px);
    transition: color var(--t), opacity .38s var(--ease-out), transform .38s var(--ease-out);
  }
  .navbar-links.open a { opacity: 1; transform: translateX(0); }
  .navbar-links a:last-child { border-bottom: none; }
  .navbar-links a:hover { color: var(--teal) !important; }
  .navbar-links .nav-active { color: var(--teal) !important; }
  /* CTA nel menu mobile */
  .navbar-links .nav-cta {
    padding: 12px 24px !important; border-radius: 50px;
    text-align: center; margin-top: 16px; border-bottom: none !important;
    display: inline-block; width: auto;
  }

  .navbar { padding: 0 20px; height: 72px; }
  .nav-logo-img { height: 42px; }
}

/* Layout breakpoint (griglie, sezioni) — invariato a 1023px */
@media (max-width: 1023px) {
  .hero { padding: 100px 24px 60px; }
  .hero-network { display: none; }
  .hero-content { max-width: 100%; }
  .centro-grid { grid-template-columns: 1fr; gap: 40px; }
  .emdr-split { grid-template-columns: 1fr; }
  .contatti-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-card.featured { grid-column: span 2; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-legal { text-align: center; }
  .footer-links { align-items: center; }
  .form-row { grid-template-columns: 1fr; }
  .page-layout { grid-template-columns: 1fr; }
  .page-sidebar { position: relative; top: 0; }
  .sidebar-list { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .sidebar-list a { padding: 6px 14px; border-left: none; border-bottom: 2px solid transparent; }
  .sidebar-list a.active { border-bottom-color: var(--teal); border-left: none; }
}

@media (max-width: 600px) {
  .section-centro, .section-emdr, .section-attivita, .section-team, .section-contatti { padding: 68px 0; }
  .section-header { margin-bottom: 40px; }
  /* Hero: riporta padding normale senza l'indent desktop */
  .hero { padding: 100px 20px 60px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; text-align: center; }
  .pillars { grid-template-columns: 1fr; }
  .attivita-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card.featured {
    grid-column: span 1; grid-template-columns: 1fr; text-align: center;
  }
  .team-card.featured .team-avatar { margin: 0 auto 16px; grid-row: auto; }
  .team-card.featured h3 { grid-column: 1; }
  .team-card.featured .team-spec { grid-column: 1; }
  .contatto-form { padding: 26px 18px; }
  .page-hero { padding: 96px 0 44px; }
  .page-body { padding: 48px 0 72px; }
  .emdr-ribbon { flex-direction: column; padding: 22px; }
  .stat-div { display: none; }
  .hero-stats { gap: 16px; }
  .hero-logo-desktop { display: none; }
  .hero-logo-mobile {
    display: flex; flex-direction: column;
    align-items: center; text-align: center; margin-bottom: 8px;
  }
  .hero-location { font-size: .75rem; margin-bottom: 28px; }
  .isabel-inner { flex-direction: column; align-items: flex-start; }
  .isabel-loghi { gap: 16px; }
  .isabel-logo { height: 38px; }
}

/* ═══════════════════════════════════════════════
   EGHEIRO v6 — aggiunte e correzioni
   ═══════════════════════════════════════════════ */

/* ─── CERCHIETTO LOGO nelle card ────────────────
   Sostituisce rombi ◈ e numeri nelle pillar/attività
   ─────────────────────────────────────────────── */
.card-circle {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
}
/* Contenitore icona pillar: allineato in alto a sinistra */
.pillar-icon {
  display: flex; align-items: center;
  margin-bottom: 14px;
  font-size: 1rem; /* reset simbolo precedente */
}
/* Contenitore icona attività card */
.attivita-num {
  display: flex; align-items: center;
  margin-bottom: 14px;
  font-family: inherit; font-size: 1rem; /* reset numeretti */
  color: inherit;
}

/* ─── TITOLO card attività più grande ─────────── */
.attivita-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; /* era 1.1rem */
  font-weight: 600; color: var(--text);
  margin-bottom: 10px; line-height: 1.3;
}

/* ─── SEZIONE CENTRO senza section-header sopra ─ */
.section-centro { padding: 72px 0 96px; }

/* ─── CONTATTI: nuova struttura con mappa ─────── */
.contatto-left {
  display: flex; flex-direction: column; gap: 28px;
}
.contatto-mappa {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* ─── FOOTER: nuova colonna destra con loghi ──── */
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px; align-items: start;
}
.footer-right {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 16px;
}
.footer-loghi {
  display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap; justify-content: flex-end;
}
.footer-logo-emdr {
  height: 90px; width: auto;
  object-fit: contain;
  transition: opacity var(--t);
}
.footer-logo-emdr:hover { opacity: .85; }
.footer-legal {
  text-align: right;
}
.footer-legal p { font-size: .78rem; color: rgba(255,255,255,.35); margin-bottom: 4px; }

/* ─── TEAM UNIFORME (pagina team.html) ─────────── */
.team-grid-uniform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.team-grid-uniform .team-card {
  background: var(--white); border-radius: var(--radius);
  padding: 30px 24px; border: 1px solid var(--border);
  text-align: center; transition: box-shadow var(--t), transform var(--t);
}
.team-grid-uniform .team-card:hover {
  box-shadow: var(--shadow-md); transform: translateY(-4px);
}
.team-grid-uniform .team-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1rem; font-weight: 600;
  margin: 0 auto 14px; letter-spacing: .03em;
}
.team-grid-uniform .team-card h3 {
  font-family: var(--font-display); font-size: 1.05rem;
  font-weight: 600; color: var(--text); margin-bottom: 6px;
}
.team-grid-uniform .team-spec {
  font-size: .79rem; color: var(--text-light); line-height: 1.55;
}
.team-grid-uniform .team-link {
  display: inline-block; margin-top: 14px; font-size: .8rem;
  font-weight: 500; color: var(--teal); touch-action: manipulation;
}
.team-grid-uniform .team-card:hover .team-link { text-decoration: underline; }

/* ─── SEZIONE TEAM (pagina team) ─────────────── */
.section-team { padding: 72px 0 96px; }

/* ─── NAV ACTIVE per pagine interne ─────────── */
.nav-active { color: var(--teal) !important; font-weight: 500; }
.navbar.solid .nav-active { color: var(--teal) !important; }

/* ─── RESPONSIVE aggiuntivo ──────────────────── */
@media (max-width: 1023px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-right { align-items: center; }
  .footer-loghi { justify-content: center; }
  .footer-legal { text-align: center; }
}

@media (max-width: 600px) {
  .team-grid-uniform { grid-template-columns: 1fr 1fr; gap: 14px; }
  .footer-logo-emdr { height: 70px; }
}

@media (max-width: 400px) {
  .team-grid-uniform { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════
   EGHEIRO v7 — nuove sezioni homepage
   ═══════════════════════════════════════════════ */

/* ─── CHI SIAMO (homepage) ──────────────────── */
.section-chi-siamo { padding: 96px 0; background: var(--white); }
.chi-siamo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.chi-siamo-text h2 {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 400; color: var(--text); line-height: 1.2; margin: 12px 0 20px;
}
.chi-siamo-text p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.chi-siamo-text em { font-style: italic; color: var(--teal); }
.chi-siamo-text strong { color: var(--text); }
.chi-siamo-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ─── SEZIONE AREE (homepage) ───────────────── */
.section-aree { padding: 96px 0; background: var(--pearl); }

/* ─── APPROCCIO EMDR (homepage) ────────────── */
.section-approccio { padding: 96px 0; background: var(--white); }
.approccio-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.approccio-text h2 {
  font-family: var(--font-display); font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 400; color: var(--text); margin: 12px 0 20px; line-height: 1.2;
}
.approccio-text p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.approccio-text strong { color: var(--text); }
.approccio-visual { }
.approccio-card {
  background: var(--teal-xdark); border-radius: var(--radius-lg); padding: 40px;
  color: var(--white);
}
.approccio-letter {
  font-family: var(--font-display); font-size: 3.5rem; font-weight: 300;
  color: var(--gold-light); opacity: .5; line-height: 1; display: block; margin-bottom: 12px;
}
.approccio-card p { font-size: .93rem; color: rgba(255,255,255,.7); margin-bottom: 20px; }

/* ─── TEAM HOMEPAGE (3 card) ────────────────── */
.section-team-hp { padding: 96px 0; background: var(--pearl); }
.team-hp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.team-hp-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 24px;
  border: 1px solid var(--border); text-align: center;
  transition: box-shadow var(--t), transform var(--t);
}
.team-hp-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-hp-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }

/* ─── FORMAZIONE HP (breve) ─────────────────── */
.section-formazione-hp { padding: 72px 0; background: var(--teal-xdark); }
.section-formazione-hp .section-tag { color: var(--gold-light); background: rgba(201,150,58,.15); }
.section-formazione-hp h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 400; color: var(--white); margin: 12px 0 18px; }
.section-formazione-hp p { color: rgba(255,255,255,.75); line-height: 1.8; max-width: 660px; }
.formazione-hp-inner { max-width: 700px; }

/* ─── CENTRO FULL (layout testo lungo) ──────── */
.centro-full { max-width: 800px; }
.centro-lead {
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 300; color: var(--text-mid); line-height: 1.8; margin-bottom: 32px;
  font-style: italic;
}
.centro-full h2 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--text); margin: 40px 0 14px;
}
.centro-full h2:first-of-type { margin-top: 0; }
.centro-full p { color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.centro-full strong { color: var(--text); }
.centro-full em { font-style: italic; color: var(--teal-dark); }
.centro-full .pillars { max-width: 100%; }

/* ─── SEZIONE EMDR PAGE ─────────────────────── */
.section-emdr-page { padding: 72px 0 96px; background: var(--white); }

/* ─── SEZIONE FORMAZIONE ────────────────────── */
.section-formazione { padding: 72px 0 96px; background: var(--white); }
.section-formazione .centro-full { max-width: 800px; }

/* ─── SEZIONE COLLOQUIO ─────────────────────── */
.section-colloquio { padding: 72px 0 96px; background: var(--white); }

/* ─── RESPONSIVE v7 ─────────────────────────── */
@media (max-width: 1023px) {
  .chi-siamo-grid { grid-template-columns: 1fr; gap: 40px; }
  .approccio-grid { grid-template-columns: 1fr; gap: 40px; }
  .team-hp-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 600px) {
  .section-chi-siamo, .section-aree, .section-approccio,
  .section-team-hp, .section-formazione-hp { padding: 68px 0; }
  .chi-siamo-pillars { grid-template-columns: 1fr; }
  .team-hp-grid { grid-template-columns: 1fr; }
  .centro-full { max-width: 100%; }
}
/* ═══════════════════════════════════════════════
   FOOTER BOTTOM — Social + Partner
   ═══════════════════════════════════════════════ */
/* footer-bottom rimosso dall'HTML — regola vuota per retrocompatibilità */
.footer-bottom { display: none; }
.footer-partner-block {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 20px; padding: 12px 18px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(255,255,255,.15);
  transition: opacity .2s, box-shadow .2s;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
}
.footer-partner-block:hover {
  opacity: .9;
  box-shadow: 0 4px 20px rgba(0,0,0,.28);
}
.footer-partner-label {
  font-size: .8rem; font-weight: 500;
  color: var(--text); line-height: 1.4;
  letter-spacing: .01em;
}
.footer-partner-logo {
  height: 44px; width: auto; object-fit: contain; flex-shrink: 0;
}

.footer-social {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-social-label {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.45); white-space: nowrap; margin-right: 2px;
}
.footer-social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.7);
  transition: background .2s, color .2s;
}
.footer-social-icon:hover { background: var(--teal); color: var(--white); }
.footer-social-icon svg { width: 15px; height: 15px; }


/* ═══════════════════════════════════════════════
   TEAM — Direttore Clinico in evidenza
   ═══════════════════════════════════════════════ */
.team-director-wrap {
  display: flex; justify-content: center; margin-bottom: 40px;
}
.team-card-director {
  position: relative; width: 100%; max-width: 100%;
  display: flex; flex-direction: row; align-items: center;
  gap: 32px; text-align: left;
  border: 2px solid var(--teal); box-shadow: 0 4px 24px rgba(0,155,214,.15);
  padding: 40px 48px;
}
.team-director-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--teal); color: var(--white);
  font-size: .68rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 50px;
  white-space: nowrap;
}
.team-avatar-director { width: 120px; height: 120px; font-size: 1.6rem; flex-shrink: 0; }
.team-director-info {
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.team-director-info .team-spec { text-align: left; }
.team-director-info .team-link { align-self: flex-start; margin-top: 8px; }

/* Foto terapeuta nelle card */
.team-photo {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  display: block; margin: 0 auto 16px;
}
.team-photo-director {
  width: 140px; height: 140px; border-radius: 50%;
  object-fit: cover; object-position: center;
  flex-shrink: 0;
}
/* Foto grande nelle pagine terapeuta */
.terapeuta-photo-lg {
  width: 160px; height: 160px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  display: block; margin: 0 auto 16px;
}

@media (max-width: 768px) {
  .team-card-director {
    flex-direction: column; text-align: center; padding: 40px 24px 28px;
  }
  .team-card-director .team-spec,
  .team-card-director .team-link { text-align: center; align-self: center; }
}

/* ═══════════════════════════════════════════════
   PUBBLICAZIONI — Podcast grid
   ═══════════════════════════════════════════════ */
.podcast-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px;
}
@media (max-width: 768px) {
  .podcast-grid { grid-template-columns: 1fr; }
  .footer-partner-block { align-self: flex-start; }
  .footer-social { justify-content: flex-start; }
}

/* ═══════════════════════════════════════════════
   LIBRI — Book card (pubblicazioni.html)
   ═══════════════════════════════════════════════ */
.book-card {
  display: flex; gap: 40px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md); margin-top: 32px;
}
.book-cover-wrap { flex-shrink: 0; width: 200px; }
.book-cover-img  { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.book-tag-new {
  display: inline-block; font-size: .7rem; font-weight: 500;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); background: #fff8e6;
  padding: 5px 16px; border-radius: 50px; margin-bottom: 14px;
}
.book-title-main {
  font-family: var(--font-display); font-size: 1.45rem; font-weight: 600;
  color: var(--text); line-height: 1.25; margin-bottom: 6px;
}
.book-subtitle-main {
  font-size: .92rem; color: var(--teal); font-style: italic; margin-bottom: 16px;
}
.book-authors-main { font-weight: 500; color: var(--text); margin-bottom: 5px; }
.book-meta-main { font-size: .88rem; color: var(--text-mid); margin-bottom: 5px; }
.book-description-main {
  margin: 18px 0 28px; color: var(--text); line-height: 1.7; font-size: .97rem;
}
@media (max-width: 680px) {
  .book-card { flex-direction: column; padding: 24px 20px; gap: 24px; }
  .book-cover-wrap { width: 100%; max-width: 180px; margin: 0 auto; }
}

/* ═══════════════════════════════════════════════
   LIBRO PROMO — sezione homepage (index.html)
   ═══════════════════════════════════════════════ */
.section-libro-promo {
  background: var(--pearl);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.libro-promo-inner {
  display: flex; gap: 52px; align-items: center;
}
.libro-promo-cover { flex-shrink: 0; width: 160px; }
.libro-promo-img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.libro-promo-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600; color: var(--text);
  margin: 12px 0 16px; line-height: 1.25;
}
.libro-promo-text p { color: var(--text-mid); max-width: 580px; margin-bottom: 28px; }
.libro-promo-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
@media (max-width: 680px) {
  .libro-promo-inner { flex-direction: column; gap: 28px; text-align: center; }
  .libro-promo-cover { width: 130px; }
  .libro-promo-ctas { justify-content: center; }
}

/* ═══════════════════════════════════════════════
   FOTO AUTORI — sezione libro (cerchi)
   ═══════════════════════════════════════════════ */
.book-authors-photos {
  display: flex; gap: 28px; margin: 16px 0 20px; align-items: flex-start; flex-wrap: wrap; justify-content: center;
}
.book-author-photo-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.book-author-photo {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; object-position: center top;
  border: 3px solid var(--teal-light);
  box-shadow: var(--shadow-sm);
}
.book-author-name {
  font-size: .78rem; font-weight: 500; color: var(--text-mid);
  text-align: center; line-height: 1.3;
}
/* Versione più piccola per la promo homepage */
.libro-promo-authors {
  display: flex; gap: 20px; margin: 16px 0 24px; align-items: flex-start; justify-content: center;
}
.libro-promo-authors .book-author-photo { width: 64px; height: 64px; }
.libro-promo-authors .book-author-name { font-size: .75rem; }

/* ═══════════════════════════════════════════════
   ANIMAZIONI — keyframes globali
   ═══════════════════════════════════════════════ */

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero homepage — entrata fluida */
.hero-content {
  animation: fadeSlideUp .9s var(--ease-out) .08s both;
}

/* Hero pagine interne */
.page-hero-inner {
  animation: fadeSlideUp .65s var(--ease-out) .04s both;
}

/* Pulsante — lift al hover (usa transition:all già dichiarato) */
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,155,214,.28);
}
.btn-ghost:hover { transform: translateY(-2px); }

/* Team card — lift */
.team-card:hover { transform: translateY(-4px); }

/* Libro card — lift */
.libro-card:hover { transform: translateY(-3px); }

/* Screen-reader only — visibile ai motori, invisibile agli utenti */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
