/* ═══════════════════════════════════════════════════════════════
   TEMA RH — livello visivo caricato DOPO style.css.
   Fasce piene, sezioni tinte alternate, card arrotondate, pulsanti
   a pillola con ombra netta. Palette RH: navy, blu, cielo, ambra.
   Togliere il <link> a questo file riporta il sito allo stile precedente.
   ═══════════════════════════════════════════════════════════════ */
:root {
  --rh-ink:    #0d1e4a;
  --rh-blu:    #1c3fb7;
  --rh-tinta:  #EAF0FF;
  --rh-tinta2: #D6E0FA;
  --rh-cielo:  #A9C8FF;
  --rh-ambra:  #FFC15A;
  --rh-linea:  #D6DEF5;
  --rh-r:      14px;
}
body { background: #fff; }
::selection { background: var(--rh-cielo); color: var(--rh-ink); }

/* ── PULSANTI A PILLOLA ─────────────────────────────────────── */
.btn-primary, .btn-outline, .nav-cta, .pnrr-cta-btn, .btn-all-reviews, .btn-review,
.banner-cta, .btn-submit, .modal-close, .article-cta a, .mobile-menu-cta {
  border-radius: 999px !important;
  border: 2px solid var(--rh-ink) !important;
  box-shadow: 0 3px 0 var(--rh-ink) !important;
  font-weight: 800;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease !important;
}
.btn-primary:hover, .btn-outline:hover, .nav-cta:hover, .pnrr-cta-btn:hover, .btn-all-reviews:hover,
.btn-review:hover, .banner-cta:hover, .btn-submit:hover, .modal-close:hover, .article-cta a:hover, .mobile-menu-cta:hover {
  transform: translateY(-1px) !important; box-shadow: 0 4px 0 var(--rh-ink) !important;
}
.btn-primary:active, .btn-outline:active, .nav-cta:active, .pnrr-cta-btn:active, .btn-all-reviews:active,
.btn-review:active, .banner-cta:active, .btn-submit:active, .modal-close:active {
  transform: translateY(2px) !important; box-shadow: 0 1px 0 var(--rh-ink) !important;
}
/* principale: cielo RH */
.btn-primary, .nav-cta, .pnrr-cta-btn, .btn-all-reviews, .btn-review, .banner-cta, .btn-submit, .mobile-menu-cta, .article-cta a {
  background: var(--rh-cielo) !important; color: var(--rh-ink) !important;
}
.btn-primary:hover, .nav-cta:hover, .pnrr-cta-btn:hover, .btn-all-reviews:hover, .btn-review:hover, .banner-cta:hover, .btn-submit:hover { background: #BDD5FF !important; }
/* secondario: bianco */
.btn-outline, .modal-close { background: #fff !important; color: var(--rh-ink) !important; }
.btn-submit:disabled { opacity: .6; transform: none !important; }
.nav-cta { padding: 8px 18px; }

/* ── MENU BIANCO ───────────────────────────────────────────── */
nav { background: #fff; border-bottom: 1px solid var(--rh-linea); }
.nav-logo img, .footer-logo img { filter: none; }
.footer-logo img { filter: brightness(0) invert(1); }
.nav-logo-text strong { color: var(--rh-ink); }
.nav-logo-text span { color: #5B6A8C; }
.nav-links a { color: var(--rh-ink); font-weight: 600; opacity: .82; }
.nav-links a:hover { color: var(--rh-blu); opacity: 1; }
.nav-hamburger span { background: var(--rh-ink); }
.mobile-menu { background: #fff; border-top: 1px solid var(--rh-linea); box-shadow: 0 12px 24px rgba(13,30,74,.08); }
.mobile-menu ul li { border-bottom: 1px solid var(--rh-linea); }
.mobile-menu ul li a { color: var(--rh-ink); }
.mobile-menu ul li a:hover { color: var(--rh-blu); }
#scroll-progress { background: var(--rh-blu); }

/* ── HERO: fascia blu piena ────────────────────────────────── */
#hero, .page-hero { background: var(--rh-blu); background-image: none; }
#hero::before, #hero::after, .page-hero::before, .page-hero::after { display: none; }
#hero { min-height: 540px; padding: 72px 5% 80px; }
.hero-badge, .pnrr-badge {
  background: var(--rh-ambra); color: var(--rh-ink); border: none; border-radius: 6px;
  letter-spacing: .6px; font-size: .72rem; padding: 6px 12px;
}
.hero-badge::before { background: var(--rh-ink); box-shadow: none; }
.hero-content h1 { font-weight: 800; letter-spacing: -.8px; }
.hero-content h1 span, .page-hero h1 span, .pnrr-left h2 span, .pnrr-cta-left h2 span,
.candidati-banner h2 span, .overlay-header h2 span { color: var(--rh-cielo); }
.hero-content p { opacity: .95; }
#dm33-callout { border-radius: 6px; }
.hero-card { border-radius: 18px; box-shadow: 0 24px 60px rgba(8,18,52,.35); }
.hcard-header { background: var(--rh-ink); }
.hcard-badge { border-radius: 99px; }
.page-hero { padding: 52px 5% 60px; }
.page-hero-bread, .page-hero-bread a { color: rgba(255,255,255,.75); }
.page-hero-bread span { color: rgba(255,255,255,.45); }
.page-hero .section-label { background: rgba(255,255,255,.14); color: #fff; border: none; }
.page-hero > p { opacity: .95; }

/* ── SEZIONI ───────────────────────────────────────────────── */
section { border-top: none !important; padding: 80px 5%; }
.section-label {
  display: inline-flex; width: fit-content; gap: 0; background: #fff; color: var(--rh-blu);
  border: 1px solid var(--rh-linea); border-radius: 99px; padding: 5px 12px;
  font-size: .7rem; letter-spacing: 1.2px; margin-bottom: 14px;
}
.section-label::before { display: none; }
.section-title { font-weight: 800; letter-spacing: -.6px; color: var(--rh-ink); }
.section-sub { color: #4A5878; margin-bottom: 40px; }

/* alternanza fasce in home */
#chi-siamo { background: #fff; }
#servizi, #processo, #candidati, #faq { background: var(--rh-tinta); }
#formatori, #recensioni, #contatti, #risorse { background: #fff; }

/* ── NUMERI ────────────────────────────────────────────────── */
.stats-strip {
  background: var(--rh-tinta); border: none; gap: 12px; padding: 14px;
  margin: 40px 5% 0; border-radius: var(--rh-r);
}
.stat-item { background: #fff; border: 1px solid var(--rh-tinta2) !important; border-radius: 10px; padding: 24px 16px; }
.stat-item:last-child { background: var(--rh-ambra); border-color: var(--rh-ambra) !important; }
.stat-item:last-child span { color: var(--rh-ink); font-weight: 700; }

/* ── CHI SIAMO ─────────────────────────────────────────────── */
.value-card { border: 1px solid var(--rh-linea); border-radius: 12px; background: var(--rh-tinta); }
.about-image { border-radius: 20px; }
.about-image::before { display: none; }
.about-image-icon { border-radius: 10px; }
.about-panel-stats { border-radius: 12px; overflow: hidden; }
.mepa-badge { border-radius: 99px; }

/* ── BANDA PNRR (home) ─────────────────────────────────────── */
.pnrr-cta-section { background: var(--rh-ink); }
.pnrr-cta-inner { background-image: none; }
.pnrr-cta-note, .banner-note { color: rgba(255,255,255,.7); }

/* ── FOTO ──────────────────────────────────────────────────── */
.photo-strip { gap: 12px; padding: 0 5%; height: 360px; border-top: none; background: #fff; margin: 80px 0 0; }
.photo-strip-item { border-radius: 18px; }
.photo-strip-item + .photo-strip-item { border-left: none; }
.photo-divider { margin: 0 5%; border-radius: 20px; height: 300px; }
.photo-divider .section-label { background: rgba(255,255,255,.16) !important; color: #fff !important; border: none; }
.photo-divider-overlay { background: linear-gradient(120deg, rgba(28,63,183,.88) 0%, rgba(13,30,74,.45) 100%); }

/* ── SERVIZI ───────────────────────────────────────────────── */
.services-grid { border: none; gap: 16px; }
.service-card { background: #fff; border: none; border-radius: var(--rh-r); padding: 30px 26px; }
.service-card::before { display: none; }
.service-card:hover { background: #fff; box-shadow: 0 0 0 2px var(--rh-blu); }
.service-icon, .about-image-icon { border-radius: 12px; }
.service-icon { background: var(--rh-ink); }
.service-icon svg { stroke: #fff; }
.service-tag, .faq-tag, .role-pill, .hcard-badge { border-radius: 99px; }
.service-tag { background: var(--rh-tinta); color: var(--rh-blu); }

/* ── FORMATORI ─────────────────────────────────────────────── */
.trainer-card { border: 1px solid var(--rh-linea); border-radius: var(--rh-r); background: var(--rh-tinta); }
.trainer-card:hover { border-color: var(--rh-blu); }
.trainer-icon { border-radius: 12px; }

/* ── PROCESSO: passi con cerchio numerato ──────────────────── */
.process-steps { border: none; gap: 14px; }
.step { background: #fff; border: none; border-radius: var(--rh-r); padding: 26px 24px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--rh-tinta2); color: var(--rh-ink);
  font-size: 1rem; letter-spacing: 0; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step:last-child .step-num { background: var(--rh-ambra); }

/* ── RECENSIONI ────────────────────────────────────────────── */
.review-card { border: 1px solid var(--rh-linea); border-radius: var(--rh-r); background: #fff; }
#recensioni .review-card { background: var(--rh-tinta); border-color: var(--rh-tinta2); }
.review-card::after { color: var(--rh-tinta2); }
.review-avatar { background: var(--rh-blu); }

/* ── BANNER CANDIDATI ──────────────────────────────────────── */
.candidati-banner { border-radius: 22px; background-image: none; background: var(--rh-ink); }
.candidati-banner::before { display: none; }
.banner-eyebrow, .overlay-eyebrow { border-radius: 99px; }

/* ── CONTATTI E FORM ───────────────────────────────────────── */
.contact-item { border: none; border-radius: 12px; background: var(--rh-tinta); }
.contact-icon { border-radius: 10px; background: var(--rh-ink); }
.contact-form-simple { border: 1.5px solid var(--rh-blu); border-radius: 18px; }
.form-group label { color: var(--rh-ink); font-size: .82rem; }
.form-group input, .form-group select, .form-group textarea {
  border: 1.5px solid #8E9AC0; border-radius: 8px !important; min-height: 44px; font-size: .95rem;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--rh-blu); box-shadow: 0 0 0 3px rgba(28,63,183,.15); }
.upload-area { border-radius: 12px; border-color: #A9B6D8; background: var(--rh-tinta); }

/* ── PAGINA PNRR ───────────────────────────────────────────── */
#pnrr { background: var(--rh-ink); }
.pnrr-left::before { display: none; }
.pnrr-checklist li::before { color: var(--rh-cielo); }
.pnrr-avviso-box { border-radius: var(--rh-r); }
.pnrr-avviso-box strong { color: var(--rh-cielo); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-item { border: none; border-radius: 12px; }
.faq-item:hover, .faq-item.open { box-shadow: 0 0 0 2px var(--rh-blu); }
.faq-chevron { border-radius: 50%; background: var(--rh-tinta); color: var(--rh-ink); }
.faq-item.open .faq-chevron { background: var(--rh-ink); }
.faq-tag { background: var(--rh-tinta); color: var(--rh-blu); }

/* ── RISORSE / ARTICOLI ────────────────────────────────────── */
.blog-card { border: 1px solid var(--rh-linea); border-radius: 16px; }
.blog-card-header { background: var(--rh-blu); }
.blog-card-header .blog-cat, .article-header .blog-cat { border-radius: 99px; background: var(--rh-ambra); color: var(--rh-ink); border: none; }
.article-panel, .review-panel { border-radius: 20px; }
.article-header, .review-panel-header { background: var(--rh-blu); }
.article-close, .overlay-close { border-radius: 50%; }
.article-body .highlight-box { border-left: none; border-radius: 12px; background: var(--rh-tinta); }
.article-cta { border-radius: 16px; background: var(--rh-ink); }

/* ── CANDIDATI ─────────────────────────────────────────────── */
.role-card { border-radius: 18px; }
.role-card.ins { background: var(--rh-tinta); border-color: var(--rh-tinta2); }
.lab-detail { border-radius: 20px; background: var(--rh-tinta); }
.phase-block { border: none; border-radius: var(--rh-r); }
.phase-num { border-radius: 50%; background: var(--rh-ambra); color: var(--rh-ink); }
.lab-target-tag { border-radius: 99px; border-color: var(--rh-tinta2); }
.candidacy-form-wrap { border-radius: 22px; background: var(--rh-ink); }
section > .candidacy-form-wrap { margin: 0 5% 80px; }
.candidacy-form-wrap .form-group input, .candidacy-form-wrap .form-group select, .candidacy-form-wrap .form-group textarea { border-color: rgba(255,255,255,.35); }
.role-checkbox-label { border-radius: 99px; }
.role-checkbox-label.checked { background: var(--rh-cielo); color: var(--rh-ink); border-color: var(--rh-cielo); }
.overlay-header { background: var(--rh-blu); }

/* ── MODALE E FOOTER ───────────────────────────────────────── */
.modal { border-radius: 20px; }
footer { background: var(--rh-ink); }
.mepa-strip { border-radius: 12px; }

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .photo-strip { height: auto; margin-top: 56px; }
  .photo-strip-item + .photo-strip-item { border-top: none; }
  .photo-divider { height: 220px; }
  section { padding: 60px 5%; }
}
@media (max-width: 600px) {
  .stats-strip { margin: 24px 4% 0; padding: 10px; gap: 10px; }
  .photo-strip { padding: 0 4%; }
  .photo-divider { margin: 0 4%; }
  section { padding: 52px 4%; }
  .candidati-banner, .candidacy-form-wrap, .lab-detail { border-radius: 16px; }
  section > .candidacy-form-wrap { margin: 0 4% 52px; }
}

/* Pagina recensioni: la sezione ha uno sfondo inline, qui card bianche su fascia tinta */
#recensioni[style] { background: var(--rh-tinta) !important; }
#recensioni[style] .review-card { background: #fff; border-color: var(--rh-linea); }
