/*
 * styles.css — CSS autonomo ed esclusivo per le pagine nella cartella landing/.
 * Non dipende da ../styles.css né da ../styles.min.css.
 * Include: reset, tipografia, container, form, bottoni, layout hero split, footer minimal, city-suggest.
 * Colori brand allineati al sito principale: --brand-cta: #c4d83a (verde, stessi btn-primary), --ink: #0f172a.
 */

/* ─── Variabili ─── */
:root {
  --brand-accent: #c4d83a;
  /* Bottone primario = verde brand, identico a .btn-primary del sito principale */
  --brand-cta: #c4d83a;
  --brand-cta-dark: #afc233;
  /* Arancio usato solo come accento decorativo (frecce bullets, link secondari) */
  --cta-orange: #f97316;
  --ink: #0f172a;
  --ink-mid: #334155;
  --ink-light: #64748b;
  --ink-muted: #94a3b8;
  --surface: #f8fafc;
  --surface-alt: #f1f5f9;
  --border: #e2e8f0;
  --white: #ffffff;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --radius-card: 1rem;
  --radius-pill: 999px;
}

/* ─── Reset base ─── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

/* ─── Accessibilità ─── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  left: 0;
}

/* ─── Container ─── */
.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

/* ─── Bottoni ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  padding: 0.7rem 1.5rem;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.btn-full {
  width: 100%;
}

/* Pulsante primario: verde brand #c4d83a con testo scuro — identico al sito principale */
.btn-primary {
  background: var(--brand-cta);
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(196, 216, 58, 0.35);
  border-radius: var(--radius-pill);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.btn-primary:hover {
  background: var(--brand-cta-dark);
  transform: translateY(-1px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7);
  color: var(--ink);
  text-decoration: none;
}

/* ─── Form (quiz-form) ─── */
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.field > span,
.field > label > span {
  color: var(--ink-mid);
  font-weight: 500;
  font-size: 0.83rem;
}

.field input,
.field select,
.field textarea {
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  padding: 0.6rem 0.85rem;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

/* Evita zoom iOS su input focus */
@media (max-width: 720px) {
  .field input,
  .field select,
  .field textarea {
    font-size: 16px !important;
  }
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-cta);
  box-shadow: 0 0 0 3px rgba(196, 216, 58, 0.22);
}

.field-invalid,
input.field-invalid,
select.field-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.15) !important;
}

.field-valid,
input.field-valid,
select.field-valid {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.12) !important;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.checkbox-field {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-field span {
  color: var(--ink-light);
  font-size: 0.72rem;
  font-weight: 400;
  line-height: 1.4;
}

/* Nessun bold nei testi consent — il CONTENT potrebbe iniettare <strong> */
.checkbox-field span strong,
.checkbox-field span b {
  font-weight: 400;
}

.checkbox-field a {
  color: var(--brand-cta-dark);
  text-decoration: underline;
}

.checkbox-field input[type="checkbox"] {
  margin-top: 0.2rem;
  cursor: pointer;
  accent-color: var(--brand-cta);
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
}

/* ─── City-suggest autocomplete ─── */
.city-suggest {
  position: fixed;
  z-index: 9999;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.65rem;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.15);
  overflow: hidden;
  min-width: 220px;
}

.city-suggest-item {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  font-family: var(--font);
}

.city-suggest-item:last-child {
  border-bottom: none;
}

.city-suggest-item:hover,
.city-suggest-item[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
}

/* ─── Flash messaggi esito ─── */
.landing-flash {
  padding: 0.75rem 1rem 0;
}

.landing-flash__inner {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 0.6rem;
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.45;
}

.landing-flash--ok .landing-flash__inner {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #065f46;
}

.landing-flash--err .landing-flash__inner {
  background: rgba(254, 226, 226, 0.95);
  border: 1px solid rgba(248, 113, 113, 0.5);
  color: #991b1b;
}

/* ─── HERO SPLIT ─── */
.lp-hero {
  --hero-bg: none;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(120deg, rgba(2,6,23,0.82) 0%, rgba(15,23,42,0.72) 50%, rgba(2,6,23,0.88) 100%),
    var(--hero-bg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  color: #f8fafc;
}

/* Top bar: stessa larghezza massima e padding orizzontale di lp-hero__inner — logo allineato al testo */
.lp-hero__topbar {
  position: relative;
  z-index: 5;
  /* Stesso padding orizzontale e max-width di .lp-hero__inner */
  padding: 0.75rem clamp(1rem, 3vw, 2.5rem);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.lp-hero__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.lp-hero__logo img {
  height: 70px;
  width: auto;
  /* Rende il logo bianco su sfondo scuro */
  filter: brightness(0) invert(1);
}

.lp-hero__topbar-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.lp-hero__topbar-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}

.lp-hero__topbar-link:hover {
  color: #f8fafc;
  text-decoration: none;
}

/* Grid interna hero: copy | card */
.lp-hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 400px);
  align-items: start;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1rem, 3vw, 2.5rem) clamp(2.5rem, 5vh, 4rem);
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Copy sinistra */
.lp-hero__copy { max-width: 600px; }

.lp-hero__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.68);
}

.lp-hero__h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3.2vw + 0.5rem, 2.6rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(2, 6, 23, 0.8);
}

.lp-hero__h1-line { display: block; }

/* Box "MERITI." — verde brand */
.lp-hero__h1-accent {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.06em 0.38em 0.1em;
  background: var(--brand-accent);
  color: var(--ink);
  border-radius: 0.18em;
  box-shadow: 0 4px 22px rgba(196, 216, 58, 0.45);
}

.lp-hero__lead {
  margin: 0 0 1.2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: #e2e8f0;
  max-width: 34rem;
}

/* Bullet list con frecce arancioni */
.lp-hero__bullets {
  list-style: none;
  margin: 0 0 1.65rem;
  padding: 0;
}

.lp-hero__bullets li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.55rem;
  font-size: 0.97rem;
  line-height: 1.5;
  color: #f1f5f9;
}

.lp-hero__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.06em;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--brand-accent);
}

/* CTA pill: verde brand — identico al btn-primary del sito principale */
.lp-hero__cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  background: var(--brand-cta);
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(196, 216, 58, 0.42);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}

.lp-hero__cta-pill:hover {
  background: var(--brand-cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.55);
  color: var(--ink);
  text-decoration: none;
}

/* Colonna destra: card */
.lp-hero__aside {
  position: relative;
  z-index: 4;
}

/* Card bianca nel hero — più rifinita */
.lp-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 32px 72px rgba(2, 6, 23, 0.6), 0 2px 0 rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

/* Header colorato sopra la card */
.lp-card__header {
  background: var(--brand-cta);
  padding: 0.9rem 1.4rem 0.85rem;
  text-align: center;
}

.lp-card__header-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.03em;
}

.lp-card__header-sub {
  margin: 0.15rem 0 0;
  font-size: 0.73rem;
  color: rgba(15, 23, 42, 0.7);
  font-weight: 500;
}

/* Corpo della card */
.lp-card__body {
  padding: clamp(1.1rem, 2.5vw, 1.4rem) clamp(1.1rem, 2vw, 1.4rem);
}

/* Badge urgency nella card */
.lp-card__urgency {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(196, 216, 58, 0.12);
  border: 1px solid rgba(196, 216, 58, 0.35);
  border-radius: 0.5rem;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: #3d5a00;
}

.lp-card__urgency-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5c8a00;
  flex-shrink: 0;
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Nota post-submit sotto bottone */
.lp-card__post-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: 0.55rem;
  font-size: 0.7rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Override campo form dentro la card (testo scuro su sfondo bianco) */
.lp-card .field > span {
  color: var(--ink-mid);
}

.lp-card .field input,
.lp-card .field select {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}

.lp-card .checkbox-field span {
  color: var(--ink-mid);
}

/* ─── Fascia inferiore: nota legale + secondo form ─── */
.lp-lower {
  background: var(--surface-alt);
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.lp-legal-note {
  max-width: 640px;
  margin: 0 auto 2rem;
  padding: 0 1rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--ink-light);
}

.lp-legal-note a {
  color: var(--cta-orange);
  text-decoration: underline;
}

/* Secondo form (variante pagina: card centrata) */
.landing-lead-block {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.landing-lead-block--page .container {
  max-width: 560px;
}

.landing-lead-block__title {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}

.landing-lead-block__intro {
  text-align: center;
  color: var(--ink-light);
  font-size: 0.93rem;
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.landing-lead-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border);
}

/* Override campo form nella landing-lead-card (sfondo bianco) */
.landing-lead-card .field > span {
  color: var(--ink-mid);
}

.landing-lead-card .checkbox-field span {
  color: var(--ink-mid);
}

.landing-lead-card .field input,
.landing-lead-card .field select {
  background: var(--white);
  color: var(--ink);
  border-color: var(--border);
}

/* ─── FAQ ─── */
.lp-faq {
  padding: clamp(2rem, 5vw, 3rem) 0 3.5rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.lp-faq .container { max-width: 720px; }

.lp-faq h2 {
  margin: 0 0 1.25rem;
  font-size: 1.45rem;
  color: var(--ink);
}

.lp-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

.lp-faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.lp-faq-item p {
  margin: 0;
  color: var(--ink-mid);
  line-height: 1.6;
  font-size: 0.97rem;
}

/* ─── Footer minimal (da inc/footer.php con __isLandingHost) ─── */
.site-footer--minimal {
  background: var(--ink);
  color: rgba(248, 250, 252, 0.75);
  padding: 1.25rem 1rem;
}

.site-footer--minimal-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.site-footer--minimal-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
  margin: 0 auto;
}

.site-footer--minimal-copy {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.site-footer--minimal-copy a {
  color: rgba(248, 250, 252, 0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer--minimal-copy a:hover {
  color: #f8fafc;
}

/* ─── Sezioni orientamento (ispirate screenshot concorrente) ─── */

/* Blocco generico: sfondo alternato, split 2 colonne */
.lp-orient-block {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.lp-orient-block--alt {
  background: var(--surface-alt);
}

.lp-orient-block__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.lp-orient-block__inner--reverse { direction: rtl; }
.lp-orient-block__inner--reverse > * { direction: ltr; }

.lp-orient-block__kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 0.4rem;
}

.lp-orient-block__h2 {
  font-size: clamp(1.25rem, 2.5vw + 0.3rem, 1.9rem);
  font-weight: 800;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.lp-orient-block__h2 span {
  color: var(--brand-cta-dark);
}

.lp-orient-block__text {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.7;
  margin: 0 0 1.2rem;
}

/* Lista corsi */
.lp-course-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0;
}

.lp-course-list li {
  font-size: 0.88rem;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lp-course-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cta);
  flex-shrink: 0;
}

.lp-course-more {
  margin-top: 0.65rem;
  font-size: 0.83rem;
  color: var(--ink-muted);
  font-style: italic;
}

/* Modalità di studio: 3 card */
.lp-study-modes {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lp-study-mode {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem;
}

.lp-study-mode__icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.lp-study-mode__title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.2rem;
}

.lp-study-mode__desc {
  font-size: 0.8rem;
  color: var(--ink-light);
  line-height: 1.5;
  margin: 0;
}

/* Profili studente: grid card cliccabili/visive */
.lp-profiles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.lp-profile-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 0.875rem;
  padding: 1rem 1.1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.lp-profile-card:hover {
  border-color: var(--brand-cta);
  box-shadow: 0 4px 16px rgba(196, 216, 58, 0.18);
}

.lp-profile-card__icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.lp-profile-card__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.2rem;
  line-height: 1.25;
}

.lp-profile-card__desc {
  font-size: 0.73rem;
  color: var(--ink-muted);
  line-height: 1.45;
  margin: 0;
}

/* Strip "unisciti" con avatar faces + CTA */
.lp-join {
  background: var(--ink);
  padding: clamp(2rem, 5vw, 3rem) 0;
  text-align: center;
}

.lp-join .container { max-width: 640px; }

.lp-join__avatars {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.lp-join__avatar-row {
  display: flex;
  align-items: center;
}

/* Ogni faccia "guarda" verso il bottone che segue */
.lp-join__face {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  overflow: hidden;
  margin-left: -10px;
  background: #cbd5e1;
  flex-shrink: 0;
  position: relative;
}

.lp-join__face:first-child { margin-left: 0; }

/* Foto dentro il cerchio */
.lp-join__face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

/* Freccia tra avatar e bottone */
.lp-join__arrow {
  font-size: 1.4rem;
  color: var(--brand-cta);
  margin: 0 0.6rem;
  line-height: 1;
}

.lp-join__text {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.9);
  margin: 0 0 0.3rem;
}

.lp-join__sub {
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.5);
  margin: 0 0 1.5rem;
}

/* ─── Trust strip (numeri social proof sotto hero) ─── */
.lp-trust {
  background: var(--ink);
  padding: 1rem 0;
}

.lp-trust__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.lp-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 0.35rem 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.lp-trust__item:last-child { border-right: none; }

.lp-trust__num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand-accent);
  line-height: 1;
}

.lp-trust__label {
  font-size: 0.7rem;
  color: rgba(248, 250, 252, 0.65);
  font-weight: 400;
  text-align: center;
}

/* ─── Testimonials ─── */
.lp-testimonials {
  background: var(--surface-alt);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 1px solid var(--border);
}

.lp-testimonials .container { max-width: 900px; }

.lp-testimonials__title {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.35rem;
}

.lp-testimonials__sub {
  text-align: center;
  color: var(--ink-light);
  font-size: 0.88rem;
  margin: 0 0 1.75rem;
}

.lp-testimonials__stars {
  color: #f59e0b;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.25rem;
}

.lp-testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.lp-testimonial-card {
  background: var(--white);
  border-radius: 0.875rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lp-testimonial-card__quote {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.6;
  font-style: italic;
  flex: 1;
}

.lp-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border);
}

.lp-testimonial-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--surface-alt);
  flex-shrink: 0;
}

.lp-testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lp-testimonial-card__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

.lp-testimonial-card__course {
  font-size: 0.73rem;
  color: var(--ink-muted);
  font-weight: 400;
}

/* ─── Strip approccio / valori (ex lp-expertise) — sfondo scuro, 4 colonne ─── */
.lp-expertise {
  background: var(--ink);
  /* Bordo superiore verde brand come accento visivo */
  border-top: 4px solid var(--brand-cta);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.lp-expertise .container {
  max-width: 1000px;
  text-align: center;
}

.lp-expertise__heading {
  font-size: clamp(1.15rem, 2vw + 0.3rem, 1.55rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 0.35rem;
}

.lp-expertise__sub {
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.55);
  margin: 0 0 2rem;
  line-height: 1.5;
}

/* Griglia 4 colonne */
.lp-expertise__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  overflow: hidden;
}

.lp-expertise__item {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.6rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  transition: background 0.15s;
}

.lp-expertise__item:hover {
  background: rgba(196, 216, 58, 0.07);
}

.lp-expertise__icon {
  font-size: 1.85rem;
  line-height: 1;
}

.lp-expertise__item-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--brand-cta);
  margin: 0;
}

.lp-expertise__item-desc {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.55);
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* ─── Sticky CTA mobile ─── */
/* Visibile solo su mobile, scompare quando il form hero è in viewport */
.lp-sticky-cta {
  display: none; /* attivato solo via media query */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--ink);
  border-top: 3px solid var(--brand-cta);
  padding: 0.75rem 1rem;
  box-shadow: 0 -4px 24px rgba(2, 6, 23, 0.35);
}

.lp-sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
}

.lp-sticky-cta__text {
  font-size: 0.78rem;
  color: rgba(248, 250, 252, 0.75);
  line-height: 1.3;
  flex: 1;
}

.lp-sticky-cta__text strong {
  color: #f8fafc;
  display: block;
  font-size: 0.83rem;
}

.lp-sticky-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 0.65rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--brand-cta);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.83rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.1s;
}

.lp-sticky-cta__btn:hover {
  background: var(--brand-cta-dark);
  text-decoration: none;
  color: var(--ink);
}

.lp-sticky-cta__close {
  background: none;
  border: none;
  color: rgba(248, 250, 252, 0.4);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.1rem 0.2rem;
  line-height: 1;
  flex-shrink: 0;
  font-family: var(--font);
}

.lp-sticky-cta__close:hover {
  color: rgba(248, 250, 252, 0.7);
}

/* Attivato solo su mobile */
@media (max-width: 767px) {
  .lp-sticky-cta {
    display: block;
  }

  /* Nasconde la sticky quando il form top è visibile (gestito da JS IntersectionObserver) */
  .lp-sticky-cta.is-hidden {
    display: none;
  }
}

/* ─── Mobile <= 900px ─── */
@media (max-width: 900px) {
  .lp-hero__inner {
    grid-template-columns: 1fr;
    padding-bottom: 2.5rem;
  }

  .lp-hero__copy { max-width: 100%; }

  .lp-hero__aside {
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
  }

  .lp-hero__h1 { font-size: clamp(1.3rem, 5vw + 0.4rem, 2rem); }
}

  .lp-testimonials__grid {
    grid-template-columns: 1fr;
  }

  .lp-expertise__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-orient-block__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .lp-orient-block__inner--reverse { direction: ltr; }

  .lp-profiles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .lp-hero__topbar { padding: 0.65rem 1rem; }
  .lp-hero__topbar-links { display: none; }
  .lp-hero__inner { padding-inline: 1rem; }
  .field-row { grid-template-columns: 1fr; }
  .lp-trust__item { min-width: 90px; padding: 0.3rem 0.5rem; }
  .lp-trust__num { font-size: 1.1rem; }
}
