/* =====================================================
   ALESSANDRO SIMONE — alessandro.simonelabs.it
   Design: bianco + grafite + accento dalla foto
   Fonts: Poppins (display) + Inter (body)
   NOTA: --accent è un segnaposto blu professionale.
   Aggiornare con i colori estratti dalla foto.
===================================================== */

:root {
  --bg:          #FFFFFF;
  --surface:     #F6F7F9;
  --surface-2:   #EDEEF2;
  --text:        #1C1F26;
  --text-muted:  #6B7280;
  --accent:      #0891B2;   /* teal — estratto dalla foto (esplosione ciano) */
  --accent-2:    #066E8E;   /* teal scuro — hover e ombre */
  --magenta:     #C42678;   /* magenta — estratto dalla foto, usato solo sulla linea del principio */
  --accent-light: rgba(8, 145, 178, 0.08);
  --border:      rgba(28, 31, 38, 0.1);
  --border-strong: rgba(28, 31, 38, 0.18);
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  200ms ease;
  --max-w:       1040px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1, h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h3, h4 {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.25;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 8vw, 4.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); }
h3 { font-size: 1.05rem; }

p { max-width: 68ch; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color var(--transition), text-decoration-color var(--transition);
}
a:hover { color: var(--accent-2); }
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
  text-decoration: none;
}

/* ── LAYOUT ──────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
section:nth-child(even) { background: var(--surface); }

/* ── NAVIGATION ──────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.nav__logo {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.nav__logo:hover { color: var(--accent); text-decoration: none; }

.nav__menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__menu a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition);
  letter-spacing: 0.01em;
}
.nav__menu a:hover,
.nav__menu a[aria-current="page"] { color: var(--text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  color: var(--text);
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 680px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 60px 0 0 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .nav__menu.is-open {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
  .nav__menu a { font-size: 1.2rem; }
}

/* ── HERO ────────────────────────────────────────── */
.hero {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 720px) {
  .hero__inner { grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
}

.hero__subtitle {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  text-decoration: none;
}

.hero__name {
  margin-bottom: 1.75rem;
}

.hero__tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--text);
  line-height: 1.6;
  font-weight: 400;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
  max-width: 55ch;
}

.hero__photo {
  width: 240px;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  text-decoration: none;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

@media (min-width: 720px) {
  .hero__photo { width: 280px; height: 330px; }
}

/* ── ANIMATIONS ──────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero__subtitle { animation: fade-up 0.4s ease 0.1s both; }
  .hero__name     { animation: fade-up 0.5s ease 0.2s both; }
  .hero__tagline  { animation: fade-up 0.5s ease 0.35s both; }
  .hero__photo    { animation: fade-in 0.6s ease 0.2s both; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── SECTION LABEL ───────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.6rem;
  display: block;
}

.section-title { margin-bottom: 2rem; }

/* ── PRINCIPIO (CITAZIONE) ───────────────────────── */
.principio {
  background: var(--text);
  color: var(--bg);
  padding: 5rem 0;
}

.principio .container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.principio__line {
  width: 3px;
  min-height: 80px;
  background: var(--magenta);
  flex-shrink: 0;
  margin-top: 0.3rem;
}

.principio__quote {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.25rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  color: #F6F7F9;
  max-width: 38em;
}

/* ── CHI SONO ────────────────────────────────────── */
.chi-sono__text p + p { margin-top: 1.1rem; }
.chi-sono__text p { color: var(--text-muted); }
.chi-sono__text p strong { color: var(--text); }
.chi-sono__note {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--surface-2);
  border-left: 3px solid var(--border-strong);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── AUTOMAZIONI (overview) ──────────────────────── */
.auto-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.auto-item {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.auto-item:hover { border-color: var(--accent); }

.auto-item__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.4rem;
}

.auto-item__name {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--text);
}

.auto-item__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ── FORMAZIONE & COMPETENZE ─────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .edu-grid { grid-template-columns: 1fr 1fr; }
}

.edu-item {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.edu-item__year {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  text-decoration: none;
}
.edu-item__title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}
.edu-item__org { font-size: 0.85rem; color: var(--text-muted); }

.skills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.skill-tag {
  display: inline-block;
  padding: 0.35em 0.85em;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition);
  text-decoration: none;
}
.skill-tag:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

/* ── CONTATTI ────────────────────────────────────── */
.contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.6em 1.1em;
  border: 1.5px solid var(--border-strong);
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--transition), color var(--transition);
}
.contact-chip:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.contact-chip--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.contact-chip--primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }

/* ── AUTOMAZIONI (pagina dedicata) ──────────────── */
.automazione-card {
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  transition: border-color var(--transition);
}
.automazione-card:hover { border-color: var(--accent); }
.automazione-card h3 { margin-bottom: 0.5rem; }
.automazione-card p { color: var(--text-muted); font-size: 0.9rem; }
.automazione-card__tag {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.2em 0.7em;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ── BREADCRUMB ──────────────────────────────────── */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  padding-top: 2rem;
  text-decoration: none;
}
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb__sep { color: var(--border-strong); }
.breadcrumb__current { color: var(--text); }

/* ── PAGE HERO (pagine interne) ──────────────────── */
.page-hero {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}
.page-hero h1 { font-size: clamp(1.8rem, 6vw, 3rem); margin-bottom: 0.75rem; }
.page-hero .lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 58ch;
  line-height: 1.65;
}

/* ── CONTACT PAGE ────────────────────────────────── */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  transition: border-color var(--transition);
}
.contact-item:hover { border-color: var(--accent); }
.contact-item__icon {
  width: 40px;
  height: 40px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 700;
}
.contact-item__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
  text-decoration: none;
}
.contact-item__value { font-size: 0.95rem; font-weight: 500; }
.contact-item__value a { text-decoration: none; color: var(--text); }
.contact-item__value a:hover { color: var(--accent); }
.contact-item__note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ── FOOTER ──────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: var(--bg);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.footer__iscrizioni {
  font-size: 0.75rem;
  color: var(--text-muted);
  width: 100%;
}
.footer a { color: var(--text-muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* ── UTILITY ─────────────────────────────────────── */
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.section-intro {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 60ch;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--accent);
  margin-top: 0.5rem;
}
.link-more:hover { color: var(--accent-2); }

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.text-muted { color: var(--text-muted); }

.section-cta { padding: 4rem 0; }

.cta-heading {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-section { padding: 2.5rem 0 5rem; }

.contact-wrap { max-width: 520px; }

.contact-item--muted { background: var(--surface); }

.contact-item__value--light {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--text-muted);
}
/* clickable card variants */
a.automazione-card { display: block; color: inherit; text-decoration: none; }
a.auto-item { display: flex; color: inherit; text-decoration: none; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ══════════════════════════════════════════════════
   HOME v2 — Jobiri-inspired layout
   Namespace: jb- (no conflict with existing styles)
══════════════════════════════════════════════════ */

/* Placeholder foto */
.jb-img {
  width: 100%;
  min-height: 360px;
  border-radius: 0 80px 80px 80px;
  background: linear-gradient(135deg, var(--accent) 0%, #005f74 100%);
  flex-shrink: 0;
  overflow: hidden;
}
.jb-img img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.jb-img--round { border-radius: 80px; }
.jb-img--round-alt { border-radius: 80px 0 80px 80px; }
.jb-img--round-bl { border-radius: 0 80px 80px 80px; }

/* Bottoni */
.jb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.jb-btn--primary { background: var(--magenta); color: #fff; border-color: var(--magenta); }
.jb-btn--primary:hover { background: #a3205e; border-color: #a3205e; color: #fff; }
.jb-btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.jb-btn--ghost:hover { background: var(--accent); color: #fff; }
.jb-btn--white { background: #fff; color: var(--accent); border-color: #fff; }
.jb-btn--white:hover { background: #e8f7fb; color: var(--accent-2); }
.jb-btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.jb-btn--outline-white:hover { border-color: #fff; }

/* 2-col grid generico */
.jb-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .jb-grid { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .jb-grid--rev > *:first-child { order: 2; }
  .jb-grid--rev > *:last-child  { order: 1; }
}

/* Eyebrow */
.jb-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.jb-eyebrow--white { color: rgba(255,255,255,0.7); }
.jb-eyebrow--center { text-align: center; }
.jb-btn--mt { margin-top: 0.5rem; }
.jb-btn--mt-lg { margin-top: 2.5rem; }
.jb-check-list--mt { margin-top: 1.75rem; }
.jb-guide__cta { text-align: center; margin-top: 2.5rem; }
.jb-dark .container { text-align: center; }
.jb-confronto .jb-eyebrow { text-align: center; }
.jb-guide .jb-eyebrow { color: rgba(255,255,255,0.7); text-align: center; }
.jb-faq .jb-eyebrow { text-align: center; }

/* Titoli sezione */
.jb-h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}
.jb-h2--white { color: #fff; }
.jb-h2--center { text-align: center; }

.jb-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 60ch;
}
.jb-lead--white { color: rgba(255,255,255,0.8); }
.jb-lead--center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── 1. HERO ──────────────────────────────────────── */
section.jb-hero {
  background: var(--accent-light) !important;
  padding: 5rem 0 !important;
  border-bottom: 1px solid var(--border);
}
.jb-hero__h1 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.jb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* ── 2. STRIP ─────────────────────────────────────── */
section.jb-strip {
  background: var(--accent) !important;
  padding: 2.5rem 0 !important;
}
.jb-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  justify-content: space-around;
  align-items: center;
}
.jb-strip__item { text-align: center; }
.jb-strip__num {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
}
.jb-strip__label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 0.2rem;
}

/* ── 3. AUTOMAZIONI ───────────────────────────────── */
section.jb-automazioni {
  background: linear-gradient(135deg, #FFF9F0 0%, #FEF3C7 100%) !important;
  padding: 5rem 0 !important;
  position: relative;
  overflow: hidden;
}
section.jb-automazioni::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 400px; height: 400px;
  background: rgba(8,145,178,0.06);
  border-radius: 50%;
  pointer-events: none;
}
.jb-auto-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
  margin: 1.5rem 0 2rem;
}
.jb-auto-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s;
}
.jb-auto-link:hover { background: rgba(8,145,178,0.1); color: var(--accent); }
.jb-auto-link__chevron { color: var(--magenta); font-size: 1.1em; flex-shrink: 0; }

/* ── 4. STRADA ────────────────────────────────────── */
section.jb-strada {
  background: #fff !important;
  padding: 5rem 0 !important;
}

/* ── 5. STEP ──────────────────────────────────────── */
section.jb-steps {
  background: var(--accent-light) !important;
  padding: 5rem 0 !important;
}
.jb-step-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}
.jb-step-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.jb-step-card__num {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--magenta);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.jb-step-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.jb-step-card__body {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
}

/* ── 6. PERCHÉ ────────────────────────────────────── */
section.jb-perche {
  background: #fff !important;
  padding: 5rem 0 !important;
}
.jb-check-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.jb-check-item { display: flex; gap: 1rem; align-items: flex-start; }
.jb-check-item__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: #d1fae5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #059669;
  font-size: 0.75rem;
  margin-top: 3px;
}
.jb-check-item__title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.jb-check-item__body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: none;
}

/* ── 7. COMPETENZE DARK ───────────────────────────── */
section.jb-dark {
  background: #0A0F1A !important;
  padding: 5rem 0 !important;
}
.jb-skill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.jb-skill-pill {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9999px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.jb-skill-pill:hover { border-color: var(--accent); color: var(--accent); }

/* ── 8. CONFRONTO ─────────────────────────────────── */
section.jb-confronto {
  background: linear-gradient(rgba(0,0,0,0.82), rgba(0,0,0,0.75)), #05101F !important;
  padding: 6rem 0 !important;
  text-align: center;
}
.jb-compare-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0 2.5rem;
}
.jb-compare-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  text-align: left;
}
.jb-compare-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
}
.jb-compare-card__body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: none;
}

/* ── 9. CHI SONO ──────────────────────────────────── */
section.jb-chisono {
  background: var(--surface) !important;
  padding: 5rem 0 !important;
}

/* ── 10. APPROFONDIMENTI ──────────────────────────── */
section.jb-guide {
  background: var(--accent) !important;
  padding: 5rem 0 !important;
}
.jb-guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.jb-guide-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.jb-guide-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.jb-guide-card__img {
  height: 180px;
  background: linear-gradient(135deg, #005f74, #0A0F1A);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
.jb-guide-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.jb-guide-card__tag { position: relative; z-index: 1; }
.jb-guide-card__tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  background: var(--accent);
  color: #fff;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.jb-guide-card__body { padding: 1.25rem; }
.jb-guide-card__title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
  max-width: none;
}

/* ── 11. FAQ ──────────────────────────────────────── */
section.jb-faq {
  background: var(--accent-light) !important;
  padding: 5rem 0 !important;
}
.jb-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 2.5rem;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.jb-faq-item {
  background: rgba(255,255,255,0.9);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.jb-faq-btn {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.jb-faq-icon {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.2rem;
  transition: transform 0.2s;
  line-height: 1;
}
.jb-faq-item.is-open .jb-faq-icon { transform: rotate(180deg); }
.jb-faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: none;
}
.jb-faq-item.is-open .jb-faq-answer { display: block; }

/* ── 12. CTA FINALE ───────────────────────────────── */
section.jb-cta-final {
  background: linear-gradient(135deg, #005f74 0%, #0A0F1A 100%) !important;
  padding: 6rem 0 !important;
}
.jb-cta-final .jb-img {
  border-radius: 80px 0 80px 80px;
  min-height: 360px;
  opacity: 0.85;
}
