/* =========================================================
   BLU Coaching — Main Stylesheet
   Design Tokens: Off-white / Off-black / #3076D4 Blue Palette
   Typography: Space Grotesk (headings) + Inter (body)
   ========================================================= */

:root {
  --white: #FFFFFF;
  --off-white: #F7F8FA;
  --off-white-2: #F1F3F7;
  --ink: #1C1F26;
  --slate: #5B6270;
  --slate-light: #8A90A0;
  --blue: #3076D4;
  --blue-dark: #1F5AA0;
  --blue-deep: #153E6E;
  --blue-tint: #EAF1FC;
  --blue-tint-2: #DCE9FA;
  --border: #E4E7EC;
  --shadow: 0 20px 50px -25px rgba(28,31,38,0.25);
  --shadow-sm: 0 10px 25px -15px rgba(28,31,38,0.15);
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --header-h: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
section { position: relative; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--ink);
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.4vw + 1rem, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 2.6vw + 1rem, 2.5rem); line-height: 1.15; }
h3 { font-size: clamp(1.15rem, 1.2vw + 1rem, 1.4rem); line-height: 1.3; }
p { color: var(--slate); margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px;
  background: var(--blue); display: inline-block; border-radius: 2px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  padding: 15px 28px; border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 14px 30px -12px rgba(48,118,212,0.55); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.btn-ghost-light { background: rgba(255,255,255,0.12); color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: var(--white); color: var(--blue-deep); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2.5px solid var(--blue); outline-offset: 3px;
}

/* ============ HEADER / BURGER MENU ============ */
header.site-header {
  position: fixed; 
  top: 0; left: 0; right: 0; 
  z-index: 1200; /* Superiore all'overlay: mantiene sempre visibile e cliccabile la 'X' */
  height: var(--header-h);
  background: rgba(247,248,250,0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background .25s ease, border-color .25s ease;
}

/* Header quando il menu è aperto */
.nav-open header.site-header {
  background: rgba(28, 31, 38, 0.95);
  border-bottom-color: rgba(255,255,255,0.12);
}
.nav-open .logo-mark { color: var(--white); }
.nav-open .logo-mark .dot, .nav-open .logo-mark .blue { color: #60A5FA; }

.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem;
  color: var(--ink); letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 1px;
}
.logo-mark .blue { color: var(--blue); }
.logo-mark .dot { color: var(--blue); font-size: 1.9rem; line-height: 0; margin-left: 1px; }

.header-right { display: flex; align-items: center; gap: 18px; }
.social-icons { display: flex; align-items: center; gap: 10px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--slate); border: 1.5px solid var(--border);
  transition: all .2s ease;
}
.social-icons a:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.social-icons svg { width: 16px; height: 16px; }

/* TASTO BURGER / CHIUSURA 'X' */
.burger {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--border);
  position: relative; 
  z-index: 1300; /* Sempre in primissimo piano */
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.burger:hover { border-color: var(--blue); }
.burger-lines { width: 18px; height: 12px; position: relative; }
.burger-lines span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .3s ease, opacity .3s ease, top .3s ease, background .3s ease;
}
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 5px; }
.burger-lines span:nth-child(3) { top: 10px; }

/* QUANDO IL MENU È APERTO: TRASFORMAZIONE IN 'X' BIANCA AD ALTO CONTRASTO */
.nav-open .burger {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
}
.nav-open .burger:hover {
  background: rgba(255,255,255,0.3);
  border-color: var(--white);
  transform: scale(1.05);
}
.nav-open .burger-lines span {
  background: #FFFFFF !important;
}
.nav-open .burger-lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-open .burger-lines span:nth-child(2) { opacity: 0; }
.nav-open .burger-lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* OVERLAY MENU CON SCROLLBAR VERTICALE FLUIDA */
body.nav-open {
  overflow: hidden; /* Blocca lo scroll della pagina di sfondo quando il menu è aperto */
}
.nav-overlay {
  position: fixed; 
  inset: 0; 
  z-index: 1100;
  background: var(--ink);
  display: flex; 
  align-items: flex-start; /* Consente lo scroll naturale dall'alto */
  justify-content: center;
  overflow-y: auto;        /* ABILITA LA SCROLLBAR quando il menu è più alto dello schermo */
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: calc(var(--header-h) + 40px) 24px 60px;
  opacity: 0; 
  visibility: hidden; 
  transform: translateY(-14px);
  transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.nav-open .nav-overlay {
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0);
  transition: opacity .35s ease, transform .35s ease;
}
.nav-overlay-inner { 
  width: 100%; 
  max-width: 640px; 
  margin: auto 0; /* Centra se lo schermo è ampio, scrolla se lo schermo è piccolo */
  padding: 0 20px; 
  text-align: center; 
}
.nav-overlay-list { display: flex; flex-direction: column; gap: 6px; }
.nav-overlay-list a {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: clamp(1.6rem, 4.5vw, 2.4rem); color: rgba(255,255,255,0.6);
  padding: 10px 0; display: flex; align-items: center; justify-content: center; gap: 14px;
  transition: color .2s ease;
}
.nav-overlay-list a:hover, .nav-overlay-list a:focus-visible { color: var(--white); }
.nav-overlay-list a .n { font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.85rem; color: var(--blue); }
.nav-overlay-cta { margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.nav-overlay-social { margin-top: 36px; display: flex; gap: 14px; justify-content: center; }
.nav-overlay-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.8);
  transition: all .2s ease;
}
.nav-overlay-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.nav-overlay-social svg { width: 17px; height: 17px; }

/* ============ HERO ============ */
.hero {
  padding: calc(var(--header-h) + 64px) 0 80px;
  background:
    radial-gradient(1100px 480px at 82% -10%, var(--blue-tint) 0%, rgba(234,241,252,0) 60%),
    var(--off-white);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy p.lead { font-size: 1.12rem; margin-top: 20px; max-width: 520px; color: var(--slate); }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust .stat { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--ink); }
.hero-trust .stat span { display: block; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 0.78rem; color: var(--slate-light); margin-top: 2px; }
.hero-trust-divider { width: 1px; height: 34px; background: var(--border); }

.hero-visual { position: relative; }
.hero-photo {
  aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(145deg, #2563EB 0%, #153E6E 100%);
  box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-visual-art {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 30px; text-align: center;
  color: #FFFFFF; background: radial-gradient(circle at center, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.2) 100%);
}
.hero-visual-art svg { width: 90px; height: 90px; margin-bottom: 20px; color: #93C5FD; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.25)); }
.hero-visual-art h3 { font-size: 1.4rem; color: #FFFFFF; margin-bottom: 8px; }
.hero-visual-art p { font-size: 0.9rem; color: rgba(255,255,255,0.85); max-width: 280px; }

.hero-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 18px 22px; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 14px; max-width: 270px;
  border: 1px solid var(--border);
}
.hero-badge .num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.7rem; color: var(--blue); }
.hero-badge .txt { font-size: 0.82rem; color: var(--slate); line-height: 1.35; }

/* ============ SEZIONE GENERICA ============ */
.section { padding: 96px 0; }
.section.alt { background: var(--white); }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ============ STAT STRIP ============ */
.stat-strip { background: var(--ink); padding: 60px 0; }
.stat-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-card { color: var(--white); border-left: 2px solid rgba(255,255,255,0.15); padding-left: 22px; }
.stat-card:first-child { border-left: none; padding-left: 0; }
.stat-card .val { font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--blue); font-size: clamp(1.7rem, 2.4vw, 2.3rem); line-height: 1; }
.stat-card .lbl { font-size: 0.86rem; color: rgba(255,255,255,0.72); margin-top: 10px; line-height: 1.45; }
.stat-card .src { font-size: 0.74rem; color: rgba(255,255,255,0.45); margin-top: 8px; font-style: italic; }

/* ============ COS'È IL BUSINESS COACHING ============ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.about-photo {
  aspect-ratio: 1/1; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--blue-tint) 0%, var(--blue-tint-2) 100%);
  border: 1.5px solid var(--blue-tint-2); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about-photo-graphic {
  text-align: center; padding: 30px;
}
.about-photo-graphic svg { width: 80px; height: 80px; color: var(--blue); margin-bottom: 16px; }
.about-photo-graphic span { display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--blue-deep); font-size: 1.1rem; }
.about-text p { margin-bottom: 16px; font-size: 1.02rem; }
.about-quote {
  margin-top: 24px; padding: 22px 26px; background: var(--blue-tint);
  border-radius: var(--radius-md); border-left: 3px solid var(--blue);
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; color: var(--blue-deep); font-size: 1.05rem;
}

/* ============ PERCHÉ / SEZIONE IMMAGINE ============ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-text p { margin-bottom: 16px; }
.why-text .highlight {
  margin-top: 22px; padding: 20px 22px; border-radius: var(--radius-md);
  background: var(--white); border: 1.5px solid var(--border);
}
.why-text .highlight strong { color: var(--blue-dark); }

/* CONTENITORE FOTO (al posto della piramide) */
.why-photo {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--blue-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.why-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ============ NUMERI ICF ============ */
.icf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.icf-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 26px 22px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.icf-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--blue-tint-2); }
.icf-card .pct { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.1rem; color: var(--blue); }
.icf-card p { font-size: 0.85rem; margin-top: 8px; color: var(--slate); }
.icf-source { margin-top: 28px; font-size: 0.82rem; color: var(--slate-light); text-align: center; }

/* ============ PERCORSI ============ */
.percorsi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.percorso-card {
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px; display: flex; flex-direction: column; transition: border-color .2s ease, box-shadow .2s ease;
}
.percorso-card:hover { border-color: var(--blue-tint-2); box-shadow: var(--shadow-sm); }
.percorso-tag {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); background: var(--blue-tint);
  display: inline-block; padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; align-self: flex-start;
}
.percorso-card h3 { margin-bottom: 12px; }
.percorso-card p.desc { font-size: 0.92rem; line-height: 1.6; }
.percorso-card details { margin-top: 16px; }
.percorso-card summary {
  cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.85rem;
  color: var(--blue-dark); list-style: none; display: flex; align-items: center; gap: 6px;
  padding: 6px 0;
}
.percorso-card summary::-webkit-details-marker { display: none; }
.percorso-card summary::after { content: "+"; font-size: 1.1rem; margin-left: auto; transition: transform .2s ease; }
.percorso-card details[open] summary::after { transform: rotate(45deg); }
.percorso-card .learn-list { margin-top: 12px; display: flex; flex-direction: column; gap: 9px; }
.percorso-card .learn-list li {
  font-size: 0.86rem; color: var(--slate); padding-left: 20px; position: relative; line-height: 1.5;
}
.percorso-card .learn-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
}
.percorso-footer { margin-top: auto; padding-top: 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.percorso-footer a {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.84rem;
  color: var(--blue); display: inline-flex; align-items: center; gap: 6px;
}
.percorso-footer a:hover { color: var(--blue-dark); text-decoration: underline; }

/* ============ AZIENDE — SCROLL ORIZZONTALE ============ */
.logos-section { 
  padding: 70px 0; 
  background: transparent; 
  overflow: hidden; 
}
.logos-head { 
  text-align: center; 
  margin-bottom: 38px; 
}
.marquee {
  position: relative; 
  width: 100%; 
  padding: 15px 0; 
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { 
  display: flex; 
  gap: 36px; 
  align-items: center; 
  width: max-content; 
  animation: scroll-x 45s linear infinite; 
}
.marquee:hover .marquee-track { 
  animation-play-state: paused; 
}
@keyframes scroll-x { 
  from { transform: translateX(0); } 
  to { transform: translateX(-50%); } 
}
/* ZERO SFONDO, ZERO BORDI, NESSUN TAGLIO */
.logo-chip {
  width: 100px; 
  height: 100px; 
  min-width: 0; 
  padding: 0; 
  margin: 0;
  display: flex; 
  align-items: center; 
  justify-content: center;
  border: none !important; 
  background: transparent !important; 
  box-shadow: none !important;
  border-radius: 0 !important; 
  overflow: visible; 
  flex-shrink: 0;
}
/* IMMAGINE QUADRATA COMPLETA AL 100% (NON TAGLIATA) */
.logo-chip img {
  width: 100px; 
  height: 100px; 
  max-width: 100px; 
  max-height: 100px;
  object-fit: contain; /* Garantisce la visione intera dell'immagine senza ritagli */
  display: block; 
  border: none !important;
  background: transparent !important; 
  border-radius: 0 !important;
  transition: transform .25s ease;
}
.logo-chip:hover img {
  transform: scale(1.06);
}
@media (max-width: 720px) {
  .marquee-track { gap: 20px; }
  .logo-chip { width: 80px; height: 80px; }
  .logo-chip img { width: 80px; height: 80px; max-width: 80px; max-height: 80px; }
}


/* ============ TESTIMONIANZE ============ */
.testi-section { background: var(--off-white-2); }
.testi-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.testi-controls { display: flex; gap: 10px; }
.testi-controls button {
  width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--ink);
  transition: all .2s ease;
}
.testi-controls button:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.testi-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start; flex: 0 0 auto; width: min(380px, 84vw);
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.testi-stars { color: var(--blue); font-size: 0.95rem; letter-spacing: 2px; margin-bottom: 16px; }
.testi-quote { font-size: 0.95rem; color: var(--ink); line-height: 1.65; flex: 1; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  flex-shrink: 0;
}
.testi-person .name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--ink); }
.testi-person .role { font-size: 0.78rem; color: var(--slate-light); margin-top: 2px; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-deep) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15); top: -260px; right: -140px;
}
.cta-banner h2 { color: var(--white); max-width: 680px; margin: 0 auto; }
.cta-banner p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 18px auto 32px; font-size: 1.05rem; }
.cta-banner .btn-primary { background: var(--white); color: var(--blue-deep); box-shadow: none; }
.cta-banner .btn-primary:hover { background: var(--off-white); transform: translateY(-2px); }

/* ============ CONTATTI ============ */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p.lead { font-size: 1.05rem; margin-bottom: 32px; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-item .ico {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue-tint); color: var(--blue-dark);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-item .ico svg { width: 18px; height: 18px; }
.contact-info-item .lbl { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.contact-info-item .val { font-size: 0.86rem; color: var(--slate); margin-top: 2px; }
.contact-note {
  margin-top: 32px; padding: 18px 20px; background: var(--off-white); border-radius: var(--radius-md);
  font-size: 0.85rem; color: var(--slate); border-left: 3px solid var(--blue);
}

.contact-form {
  background: var(--off-white); border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.82rem;
  color: var(--ink); margin-bottom: 7px;
}
.field label .req { color: var(--blue); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); font-family: 'Inter', sans-serif; font-size: 0.92rem; color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: none; box-shadow: 0 0 0 4px var(--blue-tint);
}
.field textarea { resize: vertical; min-height: 120px; }

/* GDPR & Privacy Checkbox */
.field-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.field-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.field-check label { font-size: 0.82rem; color: var(--slate); font-weight: 400; margin: 0; line-height: 1.45; cursor: pointer; }
.field-check label a { color: var(--blue); text-decoration: underline; font-weight: 500; }
.field-check label a:hover { color: var(--blue-dark); }

/* Informativa Sintetica di Primo Livello Art. 13 GDPR */
.form-gdpr-notice {
  font-size: 0.76rem; color: var(--slate-light); line-height: 1.4;
  margin-bottom: 20px; padding: 10px 14px; background: rgba(0,0,0,0.02);
  border-radius: var(--radius-sm); border: 1px dashed var(--border);
}

/* honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* captcha */
.captcha-box {
  display: flex; align-items: center; gap: 14px; background: var(--white); border: 1.5px dashed var(--blue-tint-2);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px;
}
.captcha-box .q { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--blue-dark); white-space: nowrap; }
.captcha-box input { width: 80px; flex-shrink: 0; }

.form-submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-msg { font-size: 0.86rem; padding: 12px 16px; border-radius: var(--radius-sm); display: none; width: 100%; line-height: 1.4; }
.form-msg.show { display: block; }
.form-msg.ok { background: #E7F5EC; color: #1E7A42; border: 1px solid #C3E6D0; }
.form-msg.err { background: #FBEAEA; color: #B23434; border: 1px solid #F5C6C6; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); padding: 64px 0 32px; color: rgba(255,255,255,0.65); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { max-width: 360px; }
.footer-logo { display: inline-block; margin-bottom: 6px; }
.footer-logo img { 
  max-height: 40px; 
  width: auto; 
  display: block; 
  object-fit: contain; 
}
.footer-tag { font-size: 0.88rem; margin: 10px 0 16px; color: rgba(255,255,255,0.7); }
.company-legal-info { font-size: 0.78rem; line-height: 1.6; color: rgba(255,255,255,0.5); }
.company-legal-info p { margin-bottom: 4px; color: rgba(255,255,255,0.5); }
.company-legal-info strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.company-legal-info a { color: rgba(255,255,255,0.7); text-decoration: underline; }
.company-legal-info a:hover { color: var(--white); }

.footer-cols { display: flex; gap: 50px; flex-wrap: wrap; }
.footer-col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.82rem; color: var(--white); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.86rem; color: rgba(255,255,255,0.6); transition: color .2s ease; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7);
  transition: all .2s ease;
}
.footer-social a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ============ REVEAL ON SCROLL ============ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 420px; margin: 0 auto; width: 100%; }
  .percorsi-grid { grid-template-columns: repeat(2, 1fr); }
  .icf-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-strip .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .stat-card { border-left: none !important; padding-left: 0 !important; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  .section { padding: 64px 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 56px; }
  .header-right { gap: 10px; }
  .social-icons { display: none; }
  .percorsi-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 20px; max-width: 100%; }
  .footer-top { flex-direction: column; }
  .footer-cols { gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px; }
  .iceberg-labels { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .stat-strip .wrap { grid-template-columns: 1fr; }
  .icf-grid { grid-template-columns: 1fr 1fr; }
  .captcha-box { flex-wrap: wrap; }
}