/* ==========================================================
   Mentor-LAB - Public custom style
   Stage 4: Navbar + Hero refresh
   ========================================================== */

:root {
  --mentor-blue-deep: #233f68;
  --mentor-blue: #335989;
  --mentor-blue-soft: #eaf4ff;
  --mentor-cyan: #42c6e8;
  --mentor-cyan-strong: #1fb4d6;
  --mentor-white: #ffffff;
  --mentor-text: #1f2f46;
  --mentor-muted: #6d7d93;
  --mentor-shadow: 0 22px 70px rgba(23, 47, 82, 0.24);
}

body {
  color: var(--mentor-text);
}

/* Header pubblico */
#header {
  padding: 14px 0;
  background: rgba(51, 89, 137, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(15, 35, 65, 0.12);
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(36, 63, 104, 0.96);
  box-shadow: 0 12px 34px rgba(15, 35, 65, 0.18);
}

.mentor-header-container {
  gap: 24px;
}

.mentor-brand {
  min-width: 218px;
  color: var(--mentor-white);
}

.mentor-brand:hover {
  color: var(--mentor-white);
}

.mentor-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #dff7ff 100%);
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 28px rgba(19, 37, 67, 0.18);
}

.mentor-brand-text {
  color: var(--mentor-white);
  font-family: "Jost", sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  line-height: 1;
}

.mentor-navbar {
  flex: 1;
  justify-content: center;
}

.navbar a,
.navbar a:focus {
  padding: 10px 12px;
  margin: 0 2px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.navbar .getstarted {
  margin-left: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
}

.navbar .getstarted:hover {
  background: var(--mentor-cyan-strong);
  border-color: var(--mentor-cyan-strong);
}

.mentor-lang-switch {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  white-space: nowrap;
}

.mentor-lang-label {
  padding: 0 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.mentor-lang-label.is-active {
  color: #ffffff;
}

.mentor-lang-switch .form-check-input {
  width: 38px;
  height: 20px;
  margin-top: 0;
  cursor: pointer;
  border: 0;
  background-color: rgba(255, 255, 255, 0.45);
}

.mentor-lang-switch .form-check-input:checked {
  background-color: var(--mentor-cyan);
}

.mentor-lang-switch .form-check-input:focus {
  box-shadow: 0 0 0 0.16rem rgba(66, 198, 232, 0.25);
}

/* Hero pubblico */
#hero.mentor-hero,
#hero {
  min-height: 86vh;
  height: auto;
  padding: 128px 0 78px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 34%, rgba(91, 214, 238, 0.28) 0%, rgba(91, 214, 238, 0.06) 26%, transparent 48%),
    linear-gradient(135deg, #3f6596 0%, #335989 45%, #284a78 100%);
}

#hero.mentor-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.12), transparent 30%);
  pointer-events: none;
}

#hero.mentor-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 0;
}

.mentor-hero-copy {
  max-width: 620px;
}

.mentor-hero-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

#hero h1 {
  margin: 0 0 18px;
  max-width: 640px;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -1.2px;
}

#hero h2 {
  max-width: 620px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 500;
  line-height: 1.52;
}

.mentor-hero-actions {
  gap: 14px;
  margin-bottom: 24px;
}

#hero .btn-get-started,
#hero .mentor-btn-outline {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: all 0.25s ease;
}

#hero .btn-get-started {
  margin: 0;
  padding: 12px 24px;
  color: var(--mentor-blue-deep);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(18, 43, 78, 0.18);
}

#hero .btn-get-started:hover {
  color: var(--mentor-blue-deep);
  background: #e8fbff;
  transform: translateY(-2px);
}

#hero .mentor-btn-outline {
  padding: 12px 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.10);
}

#hero .mentor-btn-outline i {
  margin-right: 8px;
  font-size: 18px;
  line-height: 1;
}

#hero .mentor-btn-outline:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.mentor-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mentor-hero-tags span {
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 13px;
  font-weight: 600;
}

.mentor-hero-visual {
  position: relative;
}

.mentor-hero-image-card {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 16px;
}

.mentor-hero-image-card::before {
  content: "";
  position: absolute;
  width: 82%;
  height: 72%;
  right: 8%;
  bottom: 2%;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.10);
  filter: blur(1px);
  transform: rotate(-3deg);
}

#hero .mentor-hero-image-card img {
  position: relative;
  width: min(100%, 620px);
  filter: drop-shadow(var(--mentor-shadow));
}

#hero .animated {
  animation: mentor-float 3.2s ease-in-out infinite alternate-reverse both;
}

@keyframes mentor-float {
  0% { transform: translateY(8px); }
  100% { transform: translateY(-8px); }
}

@media (max-width: 1200px) {
  .mentor-brand {
    min-width: auto;
  }

  .mentor-brand-text {
    font-size: 22px;
    letter-spacing: 2px;
  }

  .navbar a,
  .navbar a:focus {
    padding-left: 9px;
    padding-right: 9px;
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  #header {
    padding: 12px 0;
  }

  .mentor-header-container {
    gap: 12px;
  }

  .mentor-navbar {
    flex: 0 0 auto;
    order: 3;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .navbar-mobile ul {
    top: 64px;
  }

  .navbar-mobile a,
  .navbar-mobile a:focus {
    margin: 0;
    border-radius: 0;
    color: var(--mentor-blue-deep);
    background: transparent;
  }

  .navbar-mobile a:hover,
  .navbar-mobile .active,
  .navbar-mobile li:hover > a {
    color: var(--mentor-cyan-strong);
    background: rgba(31, 180, 214, 0.08);
  }

  .mentor-lang-switch {
    margin-left: auto !important;
  }

  #hero.mentor-hero,
  #hero {
    min-height: auto;
    padding: 118px 0 64px;
    text-align: center;
  }

  .mentor-hero-copy {
    max-width: none;
  }

  #hero h1,
  #hero h2 {
    margin-left: auto;
    margin-right: auto;
  }

  .mentor-hero-tags {
    justify-content: center;
  }

  #hero .hero-img img {
    width: min(82%, 460px);
  }
}

@media (max-width: 575px) {
  .mentor-brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    margin-right: 9px;
    font-size: 12px;
  }

  .mentor-brand-text {
    font-size: 18px;
    letter-spacing: 1.4px;
  }

  .mentor-lang-switch {
    padding: 4px 6px;
  }

  .mentor-lang-label {
    padding: 0 5px;
    font-size: 11px;
  }

  #hero h1 {
    font-size: 36px;
  }

  #hero h2 {
    font-size: 17px;
  }

  .mentor-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #hero .btn-get-started,
  #hero .mentor-btn-outline {
    width: 100%;
  }
}

/* ==========================================================
   Mentor-LAB - Services / cosa facciamo
   Stage 6
   ========================================================== */

.mentor-section-title h2 {
  color: var(--mentor-blue-deep);
  letter-spacing: 0.5px;
}

.mentor-section-title p {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: var(--mentor-muted);
  font-size: 17px;
  line-height: 1.72;
}

.mentor-services {
  padding: 74px 0 82px;
  background:
    radial-gradient(circle at 12% 18%, rgba(66, 198, 232, 0.14) 0%, transparent 34%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.mentor-services-grid {
  row-gap: 24px;
}

.services .mentor-service-card {
  width: 100%;
  padding: 34px 30px;
  border-radius: 24px;
  border: 1px solid rgba(51, 89, 137, 0.10);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(31, 55, 91, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.services .mentor-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(66, 198, 232, 0.32);
  box-shadow: 0 26px 60px rgba(31, 55, 91, 0.14);
}

.services .mentor-service-card .mentor-service-icon {
  width: 62px;
  height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(66, 198, 232, 0.16), rgba(51, 89, 137, 0.10));
}

.services .mentor-service-card .mentor-service-icon i {
  font-size: 32px;
  color: var(--mentor-cyan-strong);
}

.services .mentor-service-card h4 {
  margin-bottom: 14px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.services .mentor-service-card h4 a {
  color: var(--mentor-blue-deep);
}

.services .mentor-service-card h4 a:hover {
  color: var(--mentor-cyan-strong);
}

.services .mentor-service-card p {
  margin-bottom: 0;
  color: var(--mentor-muted);
  font-size: 15.5px;
  line-height: 1.68;
}

@media (max-width: 991px) {
  .mentor-services {
    padding: 62px 0 68px;
  }

  .services .mentor-service-card {
    padding: 30px 26px;
  }
}

/* ==========================================================
   Mentor-LAB - About / Chi siamo
   Stage 7
   ========================================================== */

.mentor-section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(66, 198, 232, 0.12);
  color: var(--mentor-cyan-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.mentor-about {
  position: relative;
  padding: 78px 0;
  background:
    radial-gradient(circle at 84% 18%, rgba(66, 198, 232, 0.12) 0%, transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mentor-about-row {
  row-gap: 24px;
}

.mentor-about-card {
  width: 100%;
  border-radius: 28px;
  border: 1px solid rgba(51, 89, 137, 0.10);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 54px rgba(31, 55, 91, 0.08);
}

.mentor-about-card-left {
  padding: 34px 34px 28px;
}

.mentor-about-card-right {
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(51, 89, 137, 0.98) 0%, rgba(35, 63, 104, 0.98) 100%);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 66px rgba(31, 55, 91, 0.18);
}

.mentor-about-card p,
.mentor-about-card li {
  font-size: 15.8px;
  line-height: 1.76;
}

.mentor-about-card-left p {
  color: var(--mentor-muted);
}

.mentor-about-card-left b,
.mentor-about-card-left strong {
  color: var(--mentor-blue-deep);
}

.mentor-about-card-left ul {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mentor-about-card-left li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 34px;
  color: var(--mentor-text);
}

.mentor-about-card-left li i {
  position: absolute;
  left: 0;
  top: 2px;
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(66, 198, 232, 0.13);
  color: var(--mentor-cyan-strong);
  font-size: 15px;
}

.mentor-about-card-right p,
.mentor-about-card-right li,
.mentor-about-card-right span {
  color: rgba(255, 255, 255, 0.86);
}

.mentor-about-card-right b,
.mentor-about-card-right strong {
  color: #ffffff;
}

.mentor-about-highlight {
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.mentor-about-highlight strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.mentor-about-highlight span {
  display: block;
  font-size: 15px;
  line-height: 1.65;
}

.mentor-about .mentor-about-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.mentor-about .mentor-about-button:hover {
  background: var(--mentor-cyan-strong);
  border-color: var(--mentor-cyan-strong);
  color: #ffffff;
}

@media (max-width: 991px) {
  .mentor-about {
    padding: 64px 0;
  }

  .mentor-about-card-left,
  .mentor-about-card-right {
    padding: 28px;
  }
}

/* ==========================================================
   Mentor-LAB - CTA / Unisciti a noi
   Stage 9
   ========================================================== */

.mentor-cta {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(66, 198, 232, 0.16) 0%, transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.mentor-cta .mentor-cta-panel {
  position: relative;
  overflow: hidden;
  padding: 44px 46px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 12%, rgba(66, 198, 232, 0.34) 0%, transparent 34%),
    linear-gradient(135deg, rgba(51, 89, 137, 0.98) 0%, rgba(35, 63, 104, 0.98) 100%);
  box-shadow: 0 26px 70px rgba(31, 55, 91, 0.20);
}

.mentor-cta .mentor-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.10), transparent 44%),
    radial-gradient(circle at 10% 12%, rgba(255, 255, 255, 0.10), transparent 34%);
  pointer-events: none;
}

.mentor-cta .row {
  position: relative;
  z-index: 1;
}

.mentor-cta-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.mentor-cta h3 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.4px;
}

.mentor-cta .mentor-cta-text {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16.5px;
  line-height: 1.72;
}

.mentor-cta .mentor-cta-text p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.mentor-cta .mentor-cta-text b,
.mentor-cta .mentor-cta-text strong {
  color: #ffffff;
}

.mentor-cta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mentor-cta-chips span {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  font-weight: 700;
}

.mentor-cta-btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--mentor-blue-deep);
  box-shadow: 0 18px 42px rgba(18, 43, 78, 0.24);
  font-family: "Jost", sans-serif;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.mentor-cta-btn i {
  margin-left: 6px;
  font-size: 22px;
  line-height: 1;
}

.mentor-cta-btn:hover {
  color: var(--mentor-blue-deep);
  background: #e8fbff;
  transform: translateY(-2px);
}

.mentor-cta-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 991px) {
  .mentor-cta {
    padding: 62px 0;
  }

  .mentor-cta .mentor-cta-panel {
    padding: 34px 28px;
    text-align: center;
  }

  .mentor-cta .mentor-cta-text {
    margin-left: auto;
    margin-right: auto;
  }

  .mentor-cta-chips {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .mentor-cta .mentor-cta-panel {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .mentor-cta-btn {
    width: 100%;
  }
}


/* ==========================================================
   Mentor-LAB - CTA doppia azione
   Stage 57
   ========================================================== */

.mentor-cta-actions {
  display: grid;
  gap: 16px;
}

.mentor-cta-action {
  padding: 18px 18px 17px;
  border-radius: 22px;
  text-align: left;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 18px 42px rgba(18, 43, 78, 0.12);
}

.mentor-cta-action p {
  margin: 0 0 13px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.55;
}

.mentor-cta-action .mentor-cta-btn {
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 14px 34px rgba(18, 43, 78, 0.20);
}

.mentor-cta-btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

.mentor-cta-btn-secondary:hover {
  color: var(--mentor-blue-deep);
  background: #ffffff;
}

@media (max-width: 991px) {
  .mentor-cta-actions {
    max-width: 620px;
    margin: 0 auto;
  }

  .mentor-cta-action {
    text-align: center;
  }

  .mentor-cta-action .mentor-cta-btn {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .mentor-cta-actions {
    gap: 14px;
  }

  .mentor-cta-action {
    padding: 16px;
  }
}

/* ==========================================================
   Mentor-LAB - Eventi
   Stage 10
   ========================================================== */

.mentor-events {
  padding: 78px 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(66, 198, 232, 0.12) 0%, transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.mentor-events .mentor-section-title p {
  max-width: 820px;
}

.mentor-events-filters {
  gap: 10px;
  padding: 0;
  margin: 0 0 34px;
  list-style: none;
}

.mentor-events-filters li {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(51, 89, 137, 0.14);
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(31, 55, 91, 0.07);
  transition: all 0.25s ease;
}

.mentor-events-filters li:hover,
.mentor-events-filters li.filter-active {
  color: #ffffff;
  background: var(--mentor-blue);
  border-color: var(--mentor-blue);
  box-shadow: 0 16px 36px rgba(51, 89, 137, 0.22);
}

.mentor-events-grid {
  row-gap: 28px;
}

.mentor-event-card {
  height: 100%;
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(51, 89, 137, 0.10);
  box-shadow: 0 18px 48px rgba(31, 55, 91, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mentor-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 64px rgba(31, 55, 91, 0.16);
}

.mentor-event-image {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  background: linear-gradient(135deg, rgba(51, 89, 137, 0.08), rgba(66, 198, 232, 0.12));
}

.mentor-event-image img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mentor-event-card:hover .mentor-event-image img {
  transform: scale(1.04);
}

.mentor-event-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(35, 63, 104, 0.88);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.mentor-event-preview {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--mentor-blue-deep);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(31, 55, 91, 0.18);
  text-decoration: none;
}

.mentor-event-preview i {
  font-size: 22px;
  line-height: 1;
}

.mentor-event-preview:hover {
  color: #ffffff;
  background: var(--mentor-cyan-strong);
}

.mentor-event-body {
  padding: 24px 24px 26px;
}

.mentor-event-body h4 {
  margin: 0 0 10px;
  color: var(--mentor-blue-deep);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.mentor-event-body p {
  min-height: 48px;
  margin: 0 0 20px;
  color: #637083;
  font-size: 15px;
  line-height: 1.6;
}

.mentor-event-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--mentor-blue);
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 32px rgba(51, 89, 137, 0.20);
}

.mentor-event-link i {
  margin-left: 5px;
  font-size: 20px;
  line-height: 1;
}

.mentor-event-link:hover {
  color: #ffffff;
  background: var(--mentor-cyan-strong);
}

.mentor-events-empty {
  max-width: 720px;
  margin: 0 auto;
  padding: 26px 28px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(51, 89, 137, 0.10);
  color: #637083;
  text-align: center;
  box-shadow: 0 18px 48px rgba(31, 55, 91, 0.08);
}

/* ==========================================================
   Mentor-LAB - Dettaglio evento
   Stage 10
   ========================================================== */

.mentor-event-breadcrumbs {
  margin-top: 74px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef7ff 100%);
}

.mentor-event-detail {
  padding: 58px 0 78px;
  background: #ffffff;
}

.mentor-event-detail-main,
.mentor-event-detail-info {
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid rgba(51, 89, 137, 0.10);
  box-shadow: 0 20px 54px rgba(31, 55, 91, 0.10);
}

.mentor-event-detail-main {
  overflow: hidden;
}

.mentor-event-detail-image img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  display: block;
}

.mentor-event-detail-description {
  padding: 34px;
}

.mentor-event-detail-description h1 {
  margin: 0 0 12px;
  color: var(--mentor-blue-deep);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.6px;
}

.mentor-event-detail-description h2 {
  margin-top: 28px;
  color: var(--mentor-blue-deep);
  font-size: 24px;
  font-weight: 800;
}

.mentor-event-detail-subtitle {
  color: #637083;
  font-size: 18px;
  line-height: 1.65;
}

.mentor-event-detail-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--mentor-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.mentor-event-detail-text {
  color: #536274;
  font-size: 16px;
  line-height: 1.78;
}

.mentor-event-detail-text p:last-child {
  margin-bottom: 0;
}

.mentor-event-detail-back {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--mentor-blue);
  font-family: "Jost", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.mentor-event-detail-back i {
  margin-right: 4px;
  font-size: 22px;
  line-height: 1;
}

.mentor-event-detail-back:hover {
  color: #ffffff;
  background: var(--mentor-cyan-strong);
}

.mentor-event-detail-info {
  padding: 26px;
}

.mentor-event-detail-info h3 {
  color: var(--mentor-blue-deep);
  font-size: 21px;
  font-weight: 800;
}

.mentor-event-detail-info ul {
  margin: 0;
  padding: 0;
}

.mentor-event-detail-info li {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(51, 89, 137, 0.10);
  color: #637083;
  font-size: 15px;
  line-height: 1.55;
}

.mentor-event-detail-info li:last-child {
  border-bottom: 0;
}

.mentor-event-detail-info strong {
  color: var(--mentor-blue-deep);
}

@media (max-width: 991px) {
  .mentor-events {
    padding: 64px 0;
  }

  .mentor-event-breadcrumbs {
    margin-top: 68px;
  }
}

@media (max-width: 575px) {
  .mentor-events-filters li {
    width: 100%;
  }

  .mentor-event-body,
  .mentor-event-detail-description,
  .mentor-event-detail-info {
    padding: 24px;
  }
}

/* ==========================================================
   Mentor-LAB - Team / La Squadra
   Stage 11
   ========================================================== */

.mentor-team {
  position: relative;
  padding: 78px 0 86px;
  background:
    radial-gradient(circle at 12% 16%, rgba(66, 198, 232, 0.14) 0%, transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.mentor-team-intro {
  max-width: 880px;
  margin: 0 auto;
  color: var(--mentor-muted);
  font-size: 17px;
  line-height: 1.72;
}

.mentor-team-intro p:last-child {
  margin-bottom: 0;
}

.mentor-team-grid {
  row-gap: 24px;
}

.mentor-team-card {
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(51, 89, 137, 0.10);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 54px rgba(31, 55, 91, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.mentor-team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(66, 198, 232, 0.30);
  box-shadow: 0 28px 68px rgba(31, 55, 91, 0.14);
}

.mentor-team-photo {
  flex: 0 0 124px;
  width: 124px;
  height: 124px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(66, 198, 232, 0.16), rgba(51, 89, 137, 0.12));
  box-shadow: 0 16px 36px rgba(31, 55, 91, 0.12);
}

.mentor-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mentor-team-photo span {
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 42px;
  font-weight: 850;
}

.mentor-team-content {
  min-width: 0;
  padding-top: 2px;
}

.mentor-team-role {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(66, 198, 232, 0.12);
  color: var(--mentor-cyan-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.mentor-team-card h4 {
  margin: 0 0 10px;
  color: var(--mentor-blue-deep);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.mentor-team-description {
  color: var(--mentor-muted);
  font-size: 15.5px;
  line-height: 1.68;
}

.mentor-team-description p:last-child {
  margin-bottom: 0;
}

.mentor-team-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mentor-team-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f7ff;
  color: var(--mentor-blue);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mentor-team-social a:hover {
  transform: translateY(-2px);
  background: var(--mentor-cyan-strong);
  color: #ffffff;
}

.mentor-team-social i {
  font-size: 17px;
  line-height: 1;
}

@media (max-width: 991px) {
  .mentor-team {
    padding: 64px 0 72px;
  }
}

@media (max-width: 575px) {
  .mentor-team-card {
    display: block;
    padding: 24px;
  }

  .mentor-team-photo {
    margin-bottom: 22px;
  }
}

/* ==========================================================
   Mobile navigation fix
   ========================================================== */
@media (max-width: 991px) {
  #navbar.mentor-navbar:not(.navbar-mobile) ul {
    display: none !important;
  }

  #navbar.mentor-navbar .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
  }

  #navbar.mentor-navbar.navbar-mobile {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    display: block !important;
    overflow: hidden;
    background: rgba(31, 54, 91, 0.94);
    z-index: 9999;
  }

  #navbar.mentor-navbar.navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 18px;
    right: 18px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
  }

  #navbar.mentor-navbar.navbar-mobile ul {
    display: block !important;
    position: absolute;
    top: 74px;
    right: 18px;
    bottom: 18px;
    left: 18px;
    margin: 0;
    padding: 12px 0;
    list-style: none;
    overflow-y: auto;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(15, 35, 65, 0.35);
  }

  #navbar.mentor-navbar.navbar-mobile li {
    display: block;
    width: 100%;
  }

  #navbar.mentor-navbar.navbar-mobile a,
  #navbar.mentor-navbar.navbar-mobile a:focus {
    display: block;
    width: auto;
    margin: 2px 10px;
    padding: 13px 18px;
    border-radius: 14px;
    color: var(--mentor-blue-deep);
    background: transparent;
    font-size: 16px;
    font-weight: 700;
  }

  #navbar.mentor-navbar.navbar-mobile a:hover,
  #navbar.mentor-navbar.navbar-mobile .active,
  #navbar.mentor-navbar.navbar-mobile li:hover > a {
    color: var(--mentor-cyan-strong);
    background: rgba(31, 180, 214, 0.10);
  }

  body.mobile-nav-open {
    overflow: hidden;
  }
}


/* ==========================================================
   Footer pubblico CMS
   ========================================================== */
.mentor-footer {
  background: linear-gradient(135deg, #233f68 0%, #335989 58%, #2c6f98 100%);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.mentor-footer-main {
  padding: 64px 0 44px;
}

.mentor-footer h3,
.mentor-footer h4 {
  color: #ffffff;
  font-family: "Jost", sans-serif;
}

.mentor-footer h4 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  font-size: 18px;
  font-weight: 800;
}

.mentor-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--mentor-cyan);
}

.mentor-footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.mentor-footer-logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff, #dff7ff);
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 18px 42px rgba(15, 35, 65, 0.22);
}

.mentor-footer-brand h3 {
  margin: 0 0 10px;
  font-size: 27px;
  font-weight: 850;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.mentor-footer-brand p {
  margin: 0;
  max-width: 440px;
  line-height: 1.75;
}

.mentor-footer-contact {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mentor-footer-contact > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 11px;
  line-height: 1.55;
}

.mentor-footer-contact > div:last-child {
  margin-bottom: 0;
}

.mentor-footer-contact i {
  margin-top: 2px;
  color: var(--mentor-cyan);
  font-size: 17px;
}

.mentor-footer a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.mentor-footer a:hover {
  color: #ffffff;
}

.mentor-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mentor-footer-links li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
}

.mentor-footer-links i {
  color: var(--mentor-cyan);
  font-size: 14px;
}

.mentor-footer-links a:hover {
  transform: translateX(3px);
}

.mentor-footer-social-text {
  margin: 0 0 18px;
  line-height: 1.7;
}

.mentor-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mentor-footer-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.mentor-footer-social a:hover {
  transform: translateY(-2px);
  background: var(--mentor-cyan-strong);
  border-color: var(--mentor-cyan-strong);
}

.mentor-footer-social i {
  font-size: 18px;
  line-height: 1;
}

.mentor-footer-bottom {
  padding: 18px 0;
  background: rgba(14, 31, 55, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.mentor-footer-copy,
.mentor-footer-credits {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.mentor-footer-credits {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .mentor-footer-credits {
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .mentor-footer-main {
    padding: 52px 0 34px;
  }

  .mentor-footer-brand {
    display: block;
  }

  .mentor-footer-logo {
    margin-bottom: 16px;
  }
}

/* ==========================================================
   Contatti pubblico CMS
   ========================================================== */
.mentor-contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.mentor-contact::before {
  content: "";
  position: absolute;
  top: 86px;
  right: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(66, 198, 232, 0.14);
  filter: blur(4px);
  pointer-events: none;
}

.mentor-contact .container {
  position: relative;
  z-index: 1;
}

.mentor-contact-intro {
  max-width: 840px;
  margin: 0 auto;
  color: var(--mentor-muted);
  line-height: 1.75;
  font-size: 17px;
}

.mentor-contact-intro p {
  margin-bottom: 0;
}

.mentor-contact-info-card,
.mentor-contact-form {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(51, 89, 137, 0.10);
  box-shadow: 0 22px 65px rgba(31, 63, 104, 0.12);
}

.mentor-contact-info-card {
  padding: 28px;
}

.mentor-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(51, 89, 137, 0.10);
}

.mentor-contact-item:first-child {
  padding-top: 0;
}

.mentor-contact-item:last-of-type {
  border-bottom: 0;
}

.mentor-contact-icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(66, 198, 232, 0.22), rgba(51, 89, 137, 0.09));
  color: var(--mentor-cyan-strong);
  font-size: 22px;
}

.mentor-contact-item h4 {
  margin: 0 0 5px;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.mentor-contact-item p {
  margin: 0;
  color: var(--mentor-muted);
  line-height: 1.6;
}

.mentor-contact-item a {
  color: var(--mentor-muted);
  text-decoration: none;
}

.mentor-contact-item a:hover {
  color: var(--mentor-cyan-strong);
}

.mentor-contact-map {
  margin-top: 22px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(51, 89, 137, 0.10);
  background: #eaf4ff;
}

.mentor-contact-map iframe {
  display: block;
  width: 100%;
  height: 265px;
  border: 0;
}

.mentor-contact-form {
  padding: 32px;
}

.mentor-contact-form-head {
  margin-bottom: 22px;
}

.mentor-contact-form-head h3 {
  margin: 0 0 8px;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 25px;
  font-weight: 850;
}

.mentor-contact-form-head p {
  margin: 0;
  color: var(--mentor-muted);
  line-height: 1.65;
}

.mentor-contact-form label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--mentor-blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.mentor-contact-form .form-control {
  min-height: 48px;
  padding: 11px 14px;
  border-radius: 15px;
  border: 1px solid rgba(51, 89, 137, 0.16);
  color: var(--mentor-text);
  background: #ffffff;
  box-shadow: none;
}

.mentor-contact-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.mentor-contact-form .form-control:focus {
  border-color: rgba(31, 180, 214, 0.65);
  box-shadow: 0 0 0 4px rgba(31, 180, 214, 0.12);
}

.mentor-contact-form button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mentor-cyan-strong), #39c7e8);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(31, 180, 214, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mentor-contact-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(31, 180, 214, 0.32);
}

.mentor-contact-form .loading,
.mentor-contact-form .error-message,
.mentor-contact-form .sent-message {
  border-radius: 14px;
}

.mentor-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 767px) {
  .mentor-contact-info-card,
  .mentor-contact-form {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .mentor-contact-map iframe {
    height: 230px;
  }

  .mentor-contact-form .text-end {
    text-align: center !important;
  }

  .mentor-contact-form button[type="submit"] {
    width: 100%;
  }
}

/* ==========================================================
   Stage 16: FAQ pubbliche
   ========================================================== */
.mentor-faq {
  padding: 76px 0;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.mentor-faq .mentor-section-title {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.mentor-faq-shell {
  max-width: 930px;
  margin: 34px auto 0;
}

.mentor-faq-accordion {
  display: grid;
  gap: 14px;
}

.mentor-faq-item {
  border: 1px solid rgba(51, 89, 137, 0.12);
  border-radius: 22px !important;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(35, 63, 104, 0.09);
}

.mentor-faq-item .accordion-header {
  margin: 0;
}

.mentor-faq-item .accordion-button {
  gap: 16px;
  padding: 22px 24px;
  border: 0;
  color: var(--mentor-blue-deep);
  background: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: none;
}

.mentor-faq-item .accordion-button:not(.collapsed) {
  color: var(--mentor-blue-deep);
  background: linear-gradient(135deg, rgba(234, 244, 255, 0.88), rgba(255, 255, 255, 0.94));
  box-shadow: none;
}

.mentor-faq-number {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 180, 214, 0.13);
  color: var(--mentor-cyan-strong);
  font-size: 14px;
  font-weight: 900;
}

.mentor-faq-item .accordion-body {
  padding: 0 28px 26px 82px;
  color: var(--mentor-muted);
  font-size: 16px;
  line-height: 1.75;
}

.mentor-faq-item .accordion-body p:last-child {
  margin-bottom: 0;
}

.mentor-faq-item .accordion-body b,
.mentor-faq-item .accordion-body strong {
  color: var(--mentor-blue-deep);
}

@media (max-width: 767px) {
  .mentor-faq {
    padding: 58px 0;
  }

  .mentor-faq-item .accordion-button {
    align-items: flex-start;
    padding: 20px 18px;
    font-size: 17px;
  }

  .mentor-faq-number {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }

  .mentor-faq-item .accordion-body {
    padding: 0 20px 22px 70px;
    font-size: 15px;
  }
}

/* ==========================================================
   Mentor-LAB - Pagine pubbliche dedicate
   Stage 30: Mentoring page
   ========================================================== */

.mentor-detail-page {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 45%, #f7fbff 100%);
}

.mentor-detail-breadcrumbs {
  margin-top: 68px;
  padding: 28px 0;
  background: rgba(234, 244, 255, 0.76);
  border-bottom: 1px solid rgba(51, 89, 137, 0.08);
}

.mentor-detail-breadcrumbs h2 {
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0;
}

.mentor-detail-breadcrumbs ol {
  margin: 0;
}

.mentor-detail-breadcrumbs a {
  color: var(--mentor-blue);
  font-weight: 700;
}

.mentor-detail-hero {
  padding: 82px 0 56px;
}

.mentor-detail-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(31, 180, 214, 0.13);
  color: var(--mentor-cyan-strong);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.mentor-detail-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.7px;
}

.mentor-detail-subtitle {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--mentor-muted);
  font-size: 20px;
  line-height: 1.7;
}

.mentor-detail-side-card {
  position: relative;
  padding: 34px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(35, 63, 104, 0.12);
  border: 1px solid rgba(51, 89, 137, 0.08);
  overflow: hidden;
}

.mentor-detail-side-card::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(66, 198, 232, 0.16);
}

.mentor-detail-side-card i {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--mentor-blue), var(--mentor-cyan-strong));
  color: #ffffff;
  font-size: 26px;
}

.mentor-detail-side-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.mentor-detail-side-card p {
  margin: 0;
  color: var(--mentor-muted);
  font-size: 16px;
  line-height: 1.75;
}

.mentor-detail-content {
  padding: 34px 0 72px;
}

.mentor-detail-heading-card,
.mentor-detail-text-card,
.mentor-detail-card {
  height: 100%;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(51, 89, 137, 0.08);
  box-shadow: 0 18px 52px rgba(35, 63, 104, 0.09);
}

.mentor-detail-heading-card {
  padding: 38px;
  background: linear-gradient(135deg, rgba(51, 89, 137, 0.98), rgba(31, 180, 214, 0.82));
}

.mentor-detail-heading-card h2 {
  margin: 0;
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: 34px;
  line-height: 1.18;
  font-weight: 900;
}

.mentor-detail-text-card {
  padding: 36px 38px;
  color: var(--mentor-muted);
  font-size: 17px;
  line-height: 1.85;
}

.mentor-detail-text-card p:last-child,
.mentor-detail-card p:last-child,
.mentor-detail-cta-box p:last-child {
  margin-bottom: 0;
}

.mentor-detail-cards {
  margin-top: 18px;
}

.mentor-detail-card {
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mentor-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(35, 63, 104, 0.14);
}

.mentor-detail-card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 20px;
  background: rgba(31, 180, 214, 0.13);
  color: var(--mentor-cyan-strong);
  font-size: 26px;
}

.mentor-detail-card h3 {
  margin: 0 0 12px;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 23px;
  font-weight: 900;
}

.mentor-detail-card p {
  color: var(--mentor-muted);
  font-size: 16px;
  line-height: 1.72;
}

.mentor-detail-cta {
  padding: 0 0 44px;
}

.mentor-detail-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 42px;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--mentor-blue-deep), var(--mentor-blue));
  box-shadow: 0 26px 74px rgba(35, 63, 104, 0.22);
}

.mentor-detail-cta-box h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: 32px;
  font-weight: 900;
}

.mentor-detail-cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.mentor-detail-back-section {
  padding: 0 0 72px;
}

.mentor-detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mentor-blue);
  font-weight: 800;
}

.mentor-detail-back-link i {
  font-size: 24px;
}

@media (max-width: 991px) {
  .mentor-detail-breadcrumbs {
    margin-top: 66px;
  }

  .mentor-detail-hero {
    padding: 64px 0 40px;
  }

  .mentor-detail-cta-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .mentor-detail-breadcrumbs .d-flex {
    align-items: flex-start !important;
    flex-direction: column;
    gap: 10px;
  }

  .mentor-detail-breadcrumbs ol {
    padding-left: 0;
  }

  .mentor-detail-hero h1 {
    font-size: 38px;
  }

  .mentor-detail-subtitle {
    font-size: 18px;
  }

  .mentor-detail-side-card,
  .mentor-detail-heading-card,
  .mentor-detail-text-card,
  .mentor-detail-card,
  .mentor-detail-cta-box {
    border-radius: 24px;
    padding: 26px;
  }
}

/* ==========================================================
   Mentor-LAB - Mentoring page restyling
   Stage 31
   ========================================================== */

.mentor-mentoring-page.mentor-detail-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(66, 198, 232, 0.11) 0%, transparent 26%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 46%, #f7fbff 100%);
}

.mentor-mentoring-page .mentor-detail-breadcrumbs {
  background: rgba(233, 242, 252, 0.88);
}

.mentor-mentoring-page .mentor-mentoring-hero {
  padding: 44px 0 24px;
}

.mentor-mentoring-page .mentor-mentoring-hero-panel {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 14%, rgba(66, 198, 232, 0.22) 0%, transparent 28%),
    linear-gradient(135deg, rgba(51, 89, 137, 0.10) 0%, rgba(255, 255, 255, 0.98) 50%, rgba(234, 244, 255, 0.92) 100%);
  border: 1px solid rgba(51, 89, 137, 0.09);
  box-shadow: 0 26px 74px rgba(35, 63, 104, 0.10);
}

.mentor-mentoring-page .mentor-mentoring-hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.34), transparent 42%),
    radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.34), transparent 24%);
  pointer-events: none;
}

.mentor-mentoring-page .mentor-mentoring-copy,
.mentor-mentoring-page .mentor-mentoring-visual-card {
  position: relative;
  z-index: 1;
}

.mentor-mentoring-page .mentor-detail-kicker {
  margin-bottom: 16px;
}

.mentor-mentoring-page .mentor-detail-hero h1,
.mentor-mentoring-page .mentor-mentoring-copy h1 {
  margin: 0;
  max-width: 620px;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: clamp(38px, 4.6vw, 58px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.6px;
}

.mentor-mentoring-page .mentor-detail-subtitle {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--mentor-muted);
  font-size: 18px;
  line-height: 1.72;
}

.mentor-mentoring-actions {
  gap: 12px;
  margin-top: 28px;
}

.mentor-mentoring-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.mentor-mentoring-btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--mentor-blue-deep), var(--mentor-blue));
  box-shadow: 0 16px 40px rgba(35, 63, 104, 0.22);
}

.mentor-mentoring-btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.mentor-mentoring-btn-soft {
  color: var(--mentor-blue-deep);
  border-color: rgba(51, 89, 137, 0.16);
  background: rgba(255, 255, 255, 0.86);
}

.mentor-mentoring-btn-soft:hover {
  color: var(--mentor-blue-deep);
  background: #ffffff;
  border-color: rgba(51, 89, 137, 0.24);
  transform: translateY(-2px);
}

.mentor-mentoring-btn-white {
  color: var(--mentor-blue-deep);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(17, 41, 73, 0.18);
}

.mentor-mentoring-btn-white:hover {
  color: var(--mentor-blue-deep);
  background: #e9fbff;
  transform: translateY(-2px);
}

.mentor-mentoring-btn i {
  font-size: 20px;
  line-height: 1;
}

.mentor-mentoring-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mentor-mentoring-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(66, 198, 232, 0.12);
  color: var(--mentor-blue-deep);
  border: 1px solid rgba(66, 198, 232, 0.16);
  font-size: 13px;
  font-weight: 800;
}

.mentor-mentoring-visual-card {
  position: relative;
  padding: 18px 18px 0;
}

.mentor-mentoring-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(51, 89, 137, 0.94) 0%, rgba(31, 180, 214, 0.72) 100%);
  box-shadow: 0 26px 74px rgba(35, 63, 104, 0.16);
}

.mentor-mentoring-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 44%);
  pointer-events: none;
}

.mentor-mentoring-image-wrap img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  mix-blend-mode: screen;
}

.mentor-mentoring-floating-card {
  position: relative;
  z-index: 1;
  margin: -56px 24px 0 auto;
  width: min(92%, 360px);
  padding: 24px 24px 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(51, 89, 137, 0.10);
  box-shadow: 0 22px 56px rgba(35, 63, 104, 0.16);
}

.mentor-mentoring-floating-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(66, 198, 232, 0.14);
  color: var(--mentor-cyan-strong);
  font-size: 22px;
}

.mentor-mentoring-floating-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.mentor-mentoring-floating-card p {
  margin: 0;
  color: var(--mentor-muted);
  font-size: 15.5px;
  line-height: 1.72;
}

.mentor-mentoring-overview {
  padding: 26px 0 26px;
}

.mentor-mentoring-intro-card,
.mentor-mentoring-side-panel,
.mentor-mentoring-feature-card {
  height: 100%;
  border-radius: 28px;
  border: 1px solid rgba(51, 89, 137, 0.08);
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(35, 63, 104, 0.08);
}

.mentor-mentoring-intro-card {
  padding: 38px 40px;
}

.mentor-mentoring-intro-card h2 {
  margin: 0 0 18px;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -0.4px;
}

.mentor-mentoring-intro-text,
.mentor-mentoring-intro-text p {
  color: var(--mentor-muted);
  font-size: 16.5px;
  line-height: 1.8;
}

.mentor-mentoring-intro-text p:last-child {
  margin-bottom: 0;
}

.mentor-mentoring-intro-text b,
.mentor-mentoring-intro-text strong {
  color: var(--mentor-blue-deep);
}

.mentor-mentoring-side-panel {
  padding: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(66, 198, 232, 0.18) 0%, transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.mentor-mentoring-side-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(66, 198, 232, 0.12);
  color: var(--mentor-cyan-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.mentor-mentoring-side-panel h3 {
  margin: 0 0 12px;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 26px;
  font-weight: 900;
}

.mentor-mentoring-side-panel p {
  margin: 0;
  color: var(--mentor-muted);
  font-size: 15.8px;
  line-height: 1.72;
}

.mentor-mentoring-bullets {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mentor-mentoring-bullets li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(51, 89, 137, 0.08);
  color: var(--mentor-blue-deep);
  font-weight: 800;
}

.mentor-mentoring-bullets li:first-child {
  padding-top: 0;
  border-top: 0;
}

.mentor-mentoring-bullets i {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(66, 198, 232, 0.12);
  color: var(--mentor-cyan-strong);
  font-size: 18px;
}

.mentor-mentoring-feature-grid {
  margin-top: 8px;
}

.mentor-mentoring-feature-card {
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mentor-mentoring-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 70px rgba(35, 63, 104, 0.12);
}

.mentor-mentoring-feature-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(51, 89, 137, 0.14), rgba(66, 198, 232, 0.18));
  color: var(--mentor-blue);
  font-size: 24px;
}

.mentor-mentoring-feature-card h3 {
  margin: 0 0 12px;
  color: var(--mentor-blue-deep);
  font-family: "Jost", sans-serif;
  font-size: 24px;
  font-weight: 900;
}

.mentor-mentoring-feature-card p {
  margin: 0;
  color: var(--mentor-muted);
  font-size: 15.8px;
  line-height: 1.74;
}

.mentor-mentoring-cta-section {
  padding: 24px 0 40px;
}

.mentor-mentoring-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px 42px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 88% 16%, rgba(66, 198, 232, 0.28) 0%, transparent 28%),
    linear-gradient(135deg, var(--mentor-blue-deep) 0%, var(--mentor-blue) 100%);
  box-shadow: 0 30px 76px rgba(35, 63, 104, 0.22);
}

.mentor-mentoring-cta-copy {
  max-width: 760px;
}

.mentor-mentoring-cta-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.mentor-mentoring-cta-box h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.14;
}

.mentor-mentoring-cta-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16.5px;
  line-height: 1.72;
}

.mentor-mentoring-page .mentor-detail-back-section {
  padding: 0 0 72px;
}

@media (max-width: 1199px) {
  .mentor-mentoring-page .mentor-mentoring-hero-panel {
    padding: 40px;
  }
}

@media (max-width: 991px) {
  .mentor-mentoring-page .mentor-mentoring-hero {
    padding-top: 34px;
  }

  .mentor-mentoring-page .mentor-mentoring-hero-panel {
    padding: 34px 28px;
    border-radius: 28px;
  }

  .mentor-mentoring-image-wrap img {
    max-height: 340px;
  }

  .mentor-mentoring-floating-card {
    margin: -32px 18px 0;
    width: auto;
  }

  .mentor-mentoring-intro-card,
  .mentor-mentoring-side-panel,
  .mentor-mentoring-feature-card,
  .mentor-mentoring-cta-box {
    border-radius: 24px;
  }

  .mentor-mentoring-intro-card,
  .mentor-mentoring-side-panel,
  .mentor-mentoring-feature-card {
    padding: 28px;
  }

  .mentor-mentoring-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }
}

@media (max-width: 767px) {
  .mentor-mentoring-page .mentor-mentoring-hero-panel {
    padding: 28px 22px;
  }

  .mentor-mentoring-page .mentor-mentoring-copy h1 {
    font-size: 36px;
  }

  .mentor-mentoring-page .mentor-detail-subtitle {
    font-size: 17px;
  }

  .mentor-mentoring-actions,
  .mentor-mentoring-chips {
    justify-content: flex-start;
  }

  .mentor-mentoring-btn {
    width: 100%;
  }

  .mentor-mentoring-visual-card {
    padding: 8px 0 0;
  }

  .mentor-mentoring-floating-card {
    margin: 16px 0 0;
    width: 100%;
  }

  .mentor-mentoring-intro-card,
  .mentor-mentoring-side-panel,
  .mentor-mentoring-feature-card,
  .mentor-mentoring-cta-box {
    padding: 24px 22px;
  }

  .mentor-mentoring-bullets li {
    align-items: flex-start;
  }
}


/* ==========================================================
   Mentor-LAB - Mentoring page refinements
   Stage 32
   ========================================================== */

.mentor-mentoring-page .mentor-mentoring-image-wrap {
  transform: translateY(0);
  animation: mentorUpDown 3.8s ease-in-out infinite alternate-reverse both;
}

.mentor-mentoring-page .mentor-mentoring-visual-card {
  padding: 0 8px 0 18px;
}

.mentor-mentoring-page .mentor-mentoring-image-wrap {
  min-height: 430px;
}

.mentor-mentoring-page .mentor-mentoring-image-wrap img {
  min-height: 430px;
  object-fit: contain;
  padding: 18px;
}

.mentor-mentoring-page .mentor-mentoring-floating-card {
  margin-top: -74px;
}

.mentor-mentoring-feature-card .mentor-mentoring-feature-icon {
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border-radius: 24px;
  font-size: 34px;
  box-shadow: 0 18px 44px rgba(35, 63, 104, 0.12);
}

.mentor-mentoring-feature-card-1 .mentor-mentoring-feature-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(51, 89, 137, 0.98), rgba(74, 119, 176, 0.86));
  color: #ffffff;
}

.mentor-mentoring-feature-card-2 .mentor-mentoring-feature-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(31, 180, 214, 0.98), rgba(66, 198, 232, 0.82));
  color: #ffffff;
}

.mentor-mentoring-feature-card-3 .mentor-mentoring-feature-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(135deg, rgba(245, 178, 67, 0.95), rgba(66, 198, 232, 0.72));
  color: #ffffff;
}

.mentor-mentoring-feature-card {
  position: relative;
  overflow: hidden;
}

.mentor-mentoring-feature-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(66, 198, 232, 0.08);
  pointer-events: none;
}

.mentor-mentoring-feature-card-1::after {
  background: rgba(51, 89, 137, 0.08);
}

.mentor-mentoring-feature-card-2::after {
  background: rgba(31, 180, 214, 0.10);
}

.mentor-mentoring-feature-card-3::after {
  background: rgba(245, 178, 67, 0.11);
}

@media (max-width: 991px) {
  .mentor-mentoring-page .mentor-mentoring-image-wrap,
  .mentor-mentoring-page .mentor-mentoring-image-wrap img {
    min-height: 320px;
  }

  .mentor-mentoring-page .mentor-mentoring-floating-card {
    margin-top: -42px;
  }
}

@media (max-width: 767px) {
  .mentor-mentoring-page .mentor-mentoring-image-wrap {
    animation: none;
  }

  .mentor-mentoring-page .mentor-mentoring-image-wrap,
  .mentor-mentoring-page .mentor-mentoring-image-wrap img {
    min-height: 240px;
  }

  .mentor-mentoring-feature-card .mentor-mentoring-feature-icon {
    width: 66px;
    height: 66px;
    font-size: 29px;
  }
}


/* ==========================================================
   Mentor-LAB - Mentoring page corrections
   Stage 33
   ========================================================== */

/* Immagine hero: aperta, non tagliata, animata come la Home */
.mentor-mentoring-page .mentor-mentoring-visual-card {
  padding: 0;
}

.mentor-mentoring-page .mentor-mentoring-hero-image-card {
  max-width: 660px;
  padding: 10px;
  margin: 0 auto;
  background: transparent;
}

.mentor-mentoring-page .mentor-mentoring-hero-image-card::before {
  width: 82%;
  height: 68%;
  right: 6%;
  bottom: 2%;
  border-radius: 42px;
  background: rgba(51, 89, 137, 0.08);
}

.mentor-mentoring-page .mentor-mentoring-hero-image-card img {
  position: relative;
  width: min(100%, 630px);
  max-height: none;
  min-height: 0;
  padding: 0;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  filter: drop-shadow(var(--mentor-shadow));
}

.mentor-mentoring-page .mentor-mentoring-hero-image-card img.animated {
  animation: mentor-float 3.2s ease-in-out infinite alternate-reverse both;
}

/* Disattiva il vecchio box immagine della Stage 32 */
.mentor-mentoring-page .mentor-mentoring-image-wrap {
  min-height: 0;
  animation: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

/* Card metodo: rimane solo nella hero, non viene duplicata sotto */
.mentor-mentoring-page .mentor-mentoring-floating-card {
  margin: -42px 34px 0 auto;
}

/* Intro su una sola card ordinata */
.mentor-mentoring-intro-card-wide {
  padding: 38px 42px;
}

.mentor-mentoring-intro-card-wide h2 {
  margin-bottom: 0;
}

.mentor-mentoring-intro-card-wide .mentor-mentoring-intro-text {
  padding-left: 18px;
  border-left: 3px solid rgba(31, 180, 214, 0.26);
}

/* Ancora interna: evita che la navbar tagli le icone */
.mentor-section-anchor {
  height: 1px;
  scroll-margin-top: 150px;
}

.mentor-mentoring-feature-grid {
  margin-top: 26px;
}

/* Icone card più evidenti e colorate */
.mentor-mentoring-feature-card .mentor-mentoring-feature-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 25px;
  border-radius: 26px;
  font-size: 37px;
}

@media (max-width: 991px) {
  .mentor-mentoring-page .mentor-mentoring-hero-image-card img {
    width: min(92%, 520px);
  }

  .mentor-mentoring-page .mentor-mentoring-floating-card {
    margin: -24px 18px 0;
  }

  .mentor-mentoring-intro-card-wide .mentor-mentoring-intro-text {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 767px) {
  .mentor-mentoring-page .mentor-mentoring-hero-image-card img.animated {
    animation: none;
  }

  .mentor-mentoring-page .mentor-mentoring-floating-card {
    margin: 16px 0 0;
  }

  .mentor-section-anchor {
    scroll-margin-top: 120px;
  }
}

/* ==========================================================
   Mentor-LAB - Icone card Servizi e Squadra
   Stage 39
   ========================================================== */

/* Servizi: icone più grandi, colorate e coerenti con le pagine dedicate */
.services .mentor-service-card {
  position: relative;
  overflow: hidden;
}

.services .mentor-service-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(66, 198, 232, 0.08);
  pointer-events: none;
}

.services .mentor-service-card .mentor-service-icon {
  width: 82px;
  height: 82px;
  margin-bottom: 25px;
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(35, 63, 104, 0.12);
}

.services .mentor-service-card .mentor-service-icon i {
  font-size: 38px;
  color: #ffffff;
  line-height: 1;
}

.mentor-services-grid > div:nth-child(1) .mentor-service-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(51, 89, 137, 0.98), rgba(74, 119, 176, 0.86));
}

.mentor-services-grid > div:nth-child(2) .mentor-service-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(31, 180, 214, 0.98), rgba(66, 198, 232, 0.82));
}

.mentor-services-grid > div:nth-child(3) .mentor-service-icon {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(135deg, rgba(245, 178, 67, 0.95), rgba(66, 198, 232, 0.72));
}

.mentor-services-grid > div:nth-child(1) .mentor-service-card::after {
  background: rgba(51, 89, 137, 0.08);
}

.mentor-services-grid > div:nth-child(2) .mentor-service-card::after {
  background: rgba(31, 180, 214, 0.10);
}

.mentor-services-grid > div:nth-child(3) .mentor-service-card::after {
  background: rgba(245, 178, 67, 0.11);
}

/* Squadra: fallback grafico con icone CMS, al posto delle vecchie immagini template */
.mentor-team-card {
  position: relative;
  overflow: hidden;
}

.mentor-team-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(66, 198, 232, 0.08);
  pointer-events: none;
}

.mentor-team-photo {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  flex-basis: 92px;
  border-radius: 28px;
}

.mentor-team-photo i {
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
}

.mentor-team-grid > div:nth-child(1) .mentor-team-photo {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(51, 89, 137, 0.98), rgba(74, 119, 176, 0.86));
}

.mentor-team-grid > div:nth-child(2) .mentor-team-photo {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(31, 180, 214, 0.98), rgba(66, 198, 232, 0.82));
}

.mentor-team-grid > div:nth-child(3) .mentor-team-photo {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(135deg, rgba(245, 178, 67, 0.95), rgba(66, 198, 232, 0.72));
}

.mentor-team-grid > div:nth-child(4) .mentor-team-photo {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.55), transparent 34%),
    linear-gradient(135deg, rgba(100, 118, 255, 0.92), rgba(31, 180, 214, 0.74));
}

.mentor-team-grid > div:nth-child(1) .mentor-team-card::after {
  background: rgba(51, 89, 137, 0.08);
}

.mentor-team-grid > div:nth-child(2) .mentor-team-card::after {
  background: rgba(31, 180, 214, 0.10);
}

.mentor-team-grid > div:nth-child(3) .mentor-team-card::after {
  background: rgba(245, 178, 67, 0.11);
}

.mentor-team-grid > div:nth-child(4) .mentor-team-card::after {
  background: rgba(100, 118, 255, 0.09);
}

@media (max-width: 575px) {
  .mentor-team-photo {
    width: 82px;
    height: 82px;
    flex-basis: 82px;
  }

  .mentor-team-photo i {
    font-size: 34px;
  }

  .services .mentor-service-card .mentor-service-icon {
    width: 72px;
    height: 72px;
  }

  .services .mentor-service-card .mentor-service-icon i {
    font-size: 33px;
  }
}


/* ==========================================================
   Mentor-LAB - CTA visual refine
   Stage 58
   ========================================================== */

.mentor-cta-actions {
  gap: 22px;
}

.mentor-cta-action {
  position: relative;
  padding: 20px 20px 18px;
  border-radius: 24px;
  overflow: hidden;
}

.mentor-cta-action::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.02));
}

.mentor-cta-action > * {
  position: relative;
  z-index: 1;
}

.mentor-cta-action:first-child {
  background:
    radial-gradient(circle at 12% 15%, rgba(66, 198, 232, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.17), rgba(255,255,255,0.08));
  border: 1px solid rgba(160, 232, 255, 0.30);
  box-shadow: 0 18px 44px rgba(18, 43, 78, 0.14);
}

.mentor-cta-action:last-child {
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 209, 102, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.05));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px rgba(18, 43, 78, 0.11);
}

.mentor-cta-action + .mentor-cta-action {
  margin-top: 4px;
}

.mentor-cta-action p {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.62;
}

.mentor-cta-btn-secondary {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: 0 14px 34px rgba(18, 43, 78, 0.16);
}

.mentor-cta-btn-secondary:hover {
  color: var(--mentor-blue-deep);
  background: #ffffff;
}

.mentor-cta-chips span {
  padding: 9px 15px;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.20);
  box-shadow: 0 10px 24px rgba(18, 43, 78, 0.14);
}

.mentor-cta-chips span:nth-child(1) {
  background: linear-gradient(135deg, rgba(71, 128, 196, 0.92), rgba(97, 151, 219, 0.86));
}

.mentor-cta-chips span:nth-child(2) {
  background: linear-gradient(135deg, rgba(79, 166, 214, 0.92), rgba(91, 198, 232, 0.86));
}

.mentor-cta-chips span:nth-child(3) {
  background: linear-gradient(135deg, rgba(124, 152, 96, 0.90), rgba(209, 177, 94, 0.85));
}

.mentor-cta-chips span:hover {
  transform: translateY(-1px);
}

@media (min-width: 992px) {
  .mentor-cta-actions {
    padding-left: 16px;
  }
}

@media (max-width: 991px) {
  .mentor-cta-actions {
    gap: 16px;
    padding-left: 0;
  }

  .mentor-cta-action + .mentor-cta-action {
    margin-top: 0;
  }
}


/* ==========================================================
   Mentor-LAB - CTA image carousel
   Stage 59
   ========================================================== */

.mentor-cta-carousel {
  position: relative;
  min-height: 215px;
  height: 215px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 22px 54px rgba(18, 43, 78, 0.24);
}

.mentor-cta-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11, 36, 70, 0.02) 0%, rgba(11, 36, 70, 0.16) 100%),
    radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.20), transparent 28%);
}

.mentor-cta-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.1s ease, transform 5.2s ease;
}

.mentor-cta-carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.mentor-cta-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mentor-cta-carousel-dots {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 3;
  display: flex;
  gap: 7px;
  align-items: center;
}

.mentor-cta-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: all 0.35s ease;
}

.mentor-cta-carousel-dots span.is-active {
  width: 24px;
  background: #ffffff;
}

@media (min-width: 1200px) {
  .mentor-cta-carousel {
    height: 230px;
  }
}

@media (max-width: 991px) {
  .mentor-cta-carousel {
    max-width: 620px;
    height: 260px;
    margin: 0 auto 20px;
  }
}

@media (max-width: 575px) {
  .mentor-cta-carousel {
    height: 215px;
    border-radius: 22px;
  }
}


/* ==========================================================
   Mentor-LAB - CTA balanced carousel layout
   Stage 60
   ========================================================== */

.mentor-cta .mentor-cta-panel {
  padding: clamp(34px, 4.8vw, 60px);
}

.mentor-cta .row.align-items-center {
  align-items: stretch !important;
}

.mentor-cta .col-lg-7,
.mentor-cta .col-lg-5 {
  display: flex;
  flex-direction: column;
}

.mentor-cta .col-lg-7 {
  justify-content: center;
}

.mentor-cta .col-lg-5 {
  justify-content: stretch;
}

.mentor-cta .mentor-cta-text {
  max-width: 760px;
}

.mentor-cta .mentor-cta-chips {
  margin-top: 26px;
  margin-bottom: 26px;
}

.mentor-cta-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  padding-left: 0;
}

.mentor-cta-action {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.mentor-cta-action + .mentor-cta-action {
  margin-top: 0;
}

.mentor-cta-action p {
  margin-bottom: 18px;
}

.mentor-cta-action .mentor-cta-btn {
  width: 100%;
  min-height: 54px;
}

.mentor-cta-carousel {
  width: 100%;
  height: 100%;
  min-height: 440px;
  margin: 0;
  border-radius: 30px;
}

.mentor-cta-carousel-slide img {
  object-position: center;
}

@media (min-width: 1200px) {
  .mentor-cta-carousel {
    min-height: 465px;
    height: 100%;
  }
}

@media (max-width: 1199px) {
  .mentor-cta-actions {
    grid-template-columns: 1fr;
  }

  .mentor-cta-action {
    min-height: auto;
  }

  .mentor-cta-carousel {
    min-height: 390px;
  }
}

@media (max-width: 991px) {
  .mentor-cta .col-lg-7,
  .mentor-cta .col-lg-5 {
    display: block;
  }

  .mentor-cta-actions {
    max-width: 620px;
    margin: 24px auto 0;
    gap: 16px;
  }

  .mentor-cta-carousel {
    max-width: 620px;
    height: 300px;
    min-height: 300px;
    margin: 8px auto 0;
  }

  .mentor-cta .mentor-cta-chips {
    margin-bottom: 0;
  }
}

@media (max-width: 575px) {
  .mentor-cta-actions {
    grid-template-columns: 1fr;
  }

  .mentor-cta-action {
    padding: 18px;
  }

  .mentor-cta-carousel {
    height: 235px;
    min-height: 235px;
    border-radius: 22px;
  }
}


/* ==========================================================
   Mentor-LAB - Event registration module
   Stage 61
   ========================================================== */

.mentor-event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  align-items: center;
}

.mentor-event-registration-main-btn,
.mentor-event-registration-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: linear-gradient(135deg, #42c6e8, #335989);
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(51, 89, 137, 0.22);
  transition: all 0.25s ease;
}

.mentor-event-registration-main-btn:hover,
.mentor-event-registration-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(51, 89, 137, 0.28);
}

.mentor-event-registration-box {
  margin-top: 22px;
  padding: 25px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 12%, rgba(66, 198, 232, 0.18), transparent 32%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 100%);
  border: 1px solid rgba(35, 63, 104, 0.08);
  box-shadow: 0 18px 50px rgba(35, 63, 104, 0.10);
}

.mentor-event-registration-box h3 {
  color: #233f68;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}

.mentor-event-registration-box p {
  color: #5f6f86;
  line-height: 1.6;
  margin-bottom: 18px;
}

.mentor-event-registration-box .mentor-event-registration-btn {
  width: 100%;
}

@media (max-width: 575px) {
  .mentor-event-detail-actions a {
    width: 100%;
  }
}

/* ==========================================================
   Mentor-LAB - Services DB background image
   Stage 98D
   La sezione Servizi è generata da include/services_db.php.
   L'immagine è inserita nel DOM per evitare conflitti con section-bg.
   ========================================================== */

.mentor-services-visual-bg {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: #f7fbff !important;
  padding-top: 96px !important;
  padding-bottom: 112px !important;
}

.mentor-services-background-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mentor-services-background-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0.96;
  filter: saturate(1.20) contrast(1.06) brightness(1.00);
  transform: scale(1.01);
}

.mentor-services-visual-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.48) 0%, rgba(255, 255, 255, 0.18) 45%, rgba(247, 251, 255, 0.50) 100%),
    radial-gradient(circle at 14% 18%, rgba(66, 198, 232, 0.08), transparent 30%),
    radial-gradient(circle at 86% 24%, rgba(255, 205, 105, 0.06), transparent 32%);
}

.mentor-services-visual-bg > .container {
  position: relative;
  z-index: 2;
}

.mentor-services-visual-bg .mentor-section-title h2 {
  color: #233f68 !important;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.92);
}

.mentor-services-visual-bg .mentor-section-title p {
  color: #5d708d !important;
  font-weight: 500;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.96);
}

.mentor-services-visual-bg .mentor-service-card {
  background: rgba(255, 255, 255, 0.82) !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 24px 72px rgba(35, 63, 104, 0.13) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mentor-services-visual-bg .mentor-service-card:hover {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 30px 82px rgba(35, 63, 104, 0.18) !important;
}

@media (max-width: 991px) {
  .mentor-services-visual-bg {
    padding-top: 82px !important;
    padding-bottom: 92px !important;
  }

  .mentor-services-background-media img {
    object-position: center top;
    opacity: 0.88;
  }
}

@media (max-width: 575px) {
  .mentor-services-background-media img {
    opacity: 0.72;
  }

  .mentor-services-visual-bg::before {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.70) 0%, rgba(255, 255, 255, 0.48) 45%, rgba(247, 251, 255, 0.74) 100%);
  }

  .mentor-services-visual-bg .mentor-service-card {
    background: rgba(255, 255, 255, 0.90) !important;
  }
}


/* Stage 98E - immagine servizi più visibile */

/* ==========================================================
   Mentor-LAB - Services background intensity
   Stage 98F
   Immagine più intensa + box leggero per testo sopra le card
   ========================================================== */

.mentor-services-visual-bg .mentor-section-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  padding: 22px 30px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(35, 63, 104, 0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mentor-services-visual-bg .mentor-section-title h2 {
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.95), 0 1px 2px rgba(255, 255, 255, 0.80);
}

.mentor-services-visual-bg .mentor-section-title p {
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.98), 0 1px 2px rgba(255, 255, 255, 0.85);
}

.mentor-services-visual-bg .mentor-service-card {
  background: rgba(255, 255, 255, 0.88) !important;
}

@media (max-width: 575px) {
  .mentor-services-visual-bg .mentor-section-title {
    padding: 18px 18px 20px;
    border-radius: 22px;
    margin-bottom: 34px;
    background: rgba(255, 255, 255, 0.72);
  }

  .mentor-services-visual-bg .mentor-service-card {
    background: rgba(255, 255, 255, 0.92) !important;
  }
}

/* ==========================================================
   Mentor-LAB - Team DB background image
   Stage 99
   La sezione La Squadra è generata da include/team_db.php.
   L'immagine è inserita nel DOM per non interferire con le altre sezioni.
   ========================================================== */

.mentor-team-visual-bg {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: #f7fbff !important;
  padding-top: 96px !important;
  padding-bottom: 112px !important;
}

.mentor-team-background-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mentor-team-background-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0.92;
  filter: saturate(1.12) contrast(1.03) brightness(1.02);
  transform: scale(1.01);
}

.mentor-team-visual-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.54) 0%, rgba(255, 255, 255, 0.24) 45%, rgba(247, 251, 255, 0.62) 100%),
    radial-gradient(circle at 12% 18%, rgba(66, 198, 232, 0.10), transparent 31%),
    radial-gradient(circle at 88% 24%, rgba(255, 205, 105, 0.08), transparent 34%);
}

.mentor-team-visual-bg > .container {
  position: relative;
  z-index: 2;
}

.mentor-team-visual-bg .mentor-section-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
  padding: 22px 30px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 50px rgba(35, 63, 104, 0.10);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.mentor-team-visual-bg .mentor-section-title h2 {
  color: #233f68 !important;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.96), 0 1px 2px rgba(255, 255, 255, 0.88);
}

.mentor-team-visual-bg .mentor-section-kicker {
  background: rgba(255, 255, 255, 0.66);
  color: #335989;
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.mentor-team-visual-bg .mentor-team-intro {
  color: #4f6382 !important;
  font-weight: 500;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.98), 0 1px 2px rgba(255, 255, 255, 0.86);
}

.mentor-team-visual-bg .mentor-team-card {
  background: rgba(255, 255, 255, 0.90) !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 24px 72px rgba(35, 63, 104, 0.14) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mentor-team-visual-bg .mentor-team-card:hover {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 30px 82px rgba(35, 63, 104, 0.20) !important;
}

@media (max-width: 991px) {
  .mentor-team-visual-bg {
    padding-top: 82px !important;
    padding-bottom: 92px !important;
  }

  .mentor-team-background-media img {
    object-position: center center;
    opacity: 0.78;
  }
}

@media (max-width: 575px) {
  .mentor-team-background-media img {
    opacity: 0.62;
  }

  .mentor-team-visual-bg::before {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.78) 0%, rgba(255, 255, 255, 0.58) 45%, rgba(247, 251, 255, 0.84) 100%);
  }

  .mentor-team-visual-bg .mentor-section-title {
    padding: 18px 18px 20px;
    border-radius: 22px;
    margin-bottom: 34px;
    background: rgba(255, 255, 255, 0.76);
  }

  .mentor-team-visual-bg .mentor-team-card {
    background: rgba(255, 255, 255, 0.94) !important;
  }
}

/* ==========================================================
   Mentor-LAB - FAQ DB background image
   Stage 100
   La sezione Domande frequenti è generata da include/faq_db.php.
   Immagine futuristica e colorata inserita nel DOM.
   ========================================================== */

.mentor-faq-visual-bg {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: #f7fbff !important;
  padding-top: 96px !important;
  padding-bottom: 112px !important;
}

.mentor-faq-background-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mentor-faq-background-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0.95;
  filter: saturate(1.24) contrast(1.06) brightness(1.02);
  transform: scale(1.01);
}

.mentor-faq-visual-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.58) 0%, rgba(255, 255, 255, 0.28) 46%, rgba(247, 251, 255, 0.66) 100%),
    radial-gradient(circle at 12% 18%, rgba(131, 97, 255, 0.18), transparent 32%),
    radial-gradient(circle at 88% 24%, rgba(66, 198, 232, 0.16), transparent 34%),
    radial-gradient(circle at 72% 88%, rgba(255, 162, 86, 0.12), transparent 32%);
}

.mentor-faq-visual-bg > .container {
  position: relative;
  z-index: 2;
}

.mentor-faq-visual-bg .mentor-section-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  padding: 22px 30px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(35, 63, 104, 0.12);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.mentor-faq-visual-bg .mentor-section-kicker {
  background: rgba(255, 255, 255, 0.68);
  color: #335989;
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.mentor-faq-visual-bg .mentor-section-title h2 {
  color: #233f68 !important;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.96), 0 1px 2px rgba(255, 255, 255, 0.88);
}

.mentor-faq-visual-bg .mentor-section-title p {
  color: #4f6382 !important;
  font-weight: 500;
  text-shadow: 0 2px 16px rgba(255, 255, 255, 0.98), 0 1px 2px rgba(255, 255, 255, 0.86);
}

.mentor-faq-visual-bg .mentor-faq-shell {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(255, 255, 255, 0.76) !important;
  box-shadow: 0 26px 74px rgba(35, 63, 104, 0.16) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mentor-faq-visual-bg .mentor-faq-item,
.mentor-faq-visual-bg .accordion-item {
  background: rgba(255, 255, 255, 0.90) !important;
  border-color: rgba(255, 255, 255, 0.74) !important;
}

.mentor-faq-visual-bg .accordion-button {
  background: rgba(255, 255, 255, 0.92) !important;
}

.mentor-faq-visual-bg .accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.98) !important;
}

.mentor-faq-visual-bg .accordion-body {
  background: rgba(255, 255, 255, 0.90) !important;
}

@media (max-width: 991px) {
  .mentor-faq-visual-bg {
    padding-top: 82px !important;
    padding-bottom: 92px !important;
  }

  .mentor-faq-background-media img {
    opacity: 0.78;
    object-position: center center;
  }
}

@media (max-width: 575px) {
  .mentor-faq-background-media img {
    opacity: 0.62;
  }

  .mentor-faq-visual-bg::before {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.82) 0%, rgba(255, 255, 255, 0.64) 46%, rgba(247, 251, 255, 0.88) 100%);
  }

  .mentor-faq-visual-bg .mentor-section-title {
    padding: 18px 18px 20px;
    border-radius: 22px;
    margin-bottom: 34px;
    background: rgba(255, 255, 255, 0.78);
  }

  .mentor-faq-visual-bg .mentor-faq-shell {
    background: rgba(255, 255, 255, 0.82) !important;
  }
}

/* ==========================================================
   Mentor-LAB - Header logo definitivo
   Stage 101
   ========================================================== */

.mentor-brand {
  min-width: 238px;
  height: 58px;
  padding: 5px 14px 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(19, 37, 67, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.mentor-brand:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 18px 40px rgba(19, 37, 67, 0.24);
}

.mentor-brand-logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 214px;
  object-fit: contain;
}

.mentor-brand-mark,
.mentor-brand-text {
  display: none !important;
}

@media (max-width: 1199px) {
  .mentor-brand {
    min-width: 198px;
    height: 54px;
    padding: 5px 12px;
  }

  .mentor-brand-logo {
    height: 44px;
    max-width: 178px;
  }
}

@media (max-width: 575px) {
  .mentor-header-container {
    gap: 10px;
  }

  .mentor-brand {
    min-width: 154px;
    height: 48px;
    padding: 5px 10px;
    border-radius: 16px;
  }

  .mentor-brand-logo {
    height: 38px;
    max-width: 138px;
  }
}

/* ==========================================================
   Mentor-LAB - About / Chi siamo background image
   Stage 104
   Sezione DB-driven generata da include/about_db.php.
   ========================================================== */

.mentor-about-visual-bg {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate !important;
  background: #f7fbff !important;
  padding-top: 96px !important;
  padding-bottom: 112px !important;
}

.mentor-about-background-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mentor-about-background-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  opacity: 0.95;
  filter: saturate(1.18) contrast(1.04) brightness(1.01);
  transform: scale(1.01);
}

.mentor-about-visual-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 251, 255, 0.58) 0%, rgba(255, 255, 255, 0.30) 46%, rgba(247, 251, 255, 0.66) 100%),
    radial-gradient(circle at 16% 16%, rgba(255, 194, 87, 0.14), transparent 31%),
    radial-gradient(circle at 86% 22%, rgba(66, 198, 232, 0.13), transparent 34%);
}

.mentor-about-visual-bg > .container {
  position: relative;
  z-index: 2;
}

.mentor-about-visual-bg .mentor-about-title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  padding: 22px 30px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 50px rgba(35, 63, 104, 0.12);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.mentor-about-visual-bg .mentor-section-kicker {
  background: rgba(255, 255, 255, 0.68);
  color: #335989;
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.mentor-about-visual-bg .mentor-about-title h2 {
  color: #233f68 !important;
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.96), 0 1px 2px rgba(255, 255, 255, 0.88);
}

.mentor-about-visual-bg .mentor-about-card {
  background: rgba(255, 255, 255, 0.90) !important;
  border: 1px solid rgba(255, 255, 255, 0.78) !important;
  box-shadow: 0 24px 72px rgba(35, 63, 104, 0.14) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mentor-about-visual-bg .mentor-about-card-right {
  background:
    linear-gradient(135deg, rgba(51, 89, 137, 0.94) 0%, rgba(35, 63, 104, 0.94) 100%) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 28px 82px rgba(35, 63, 104, 0.24) !important;
}

@media (max-width: 991px) {
  .mentor-about-visual-bg {
    padding-top: 82px !important;
    padding-bottom: 92px !important;
  }

  .mentor-about-background-media img {
    opacity: 0.78;
    object-position: center center;
  }
}

@media (max-width: 575px) {
  .mentor-about-background-media img {
    opacity: 0.62;
  }

  .mentor-about-visual-bg::before {
    background:
      linear-gradient(180deg, rgba(247, 251, 255, 0.82) 0%, rgba(255, 255, 255, 0.64) 46%, rgba(247, 251, 255, 0.88) 100%);
  }

  .mentor-about-visual-bg .mentor-about-title {
    padding: 18px 18px 20px;
    border-radius: 22px;
    margin-bottom: 34px;
    background: rgba(255, 255, 255, 0.78);
  }

  .mentor-about-visual-bg .mentor-about-card {
    background: rgba(255, 255, 255, 0.94) !important;
  }
}

/* ==========================================================
   Mentor-LAB - Footer DB + logo ufficiale
   Stage 106
   ========================================================== */

.mentor-footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 260px;
  margin-bottom: 18px;
  padding: 11px 15px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(15, 35, 65, 0.22);
}

.mentor-footer-logo-link:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.mentor-footer-logo-img {
  display: block;
  height: 54px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
}

.mentor-footer-brand {
  display: block;
}

.mentor-footer-brand p {
  margin-top: 0;
}

.mentor-footer .mentor-footer-logo {
  display: none !important;
}

@media (max-width: 575px) {
  .mentor-footer-logo-link {
    max-width: 220px;
    padding: 10px 13px;
    border-radius: 18px;
  }

  .mentor-footer-logo-img {
    height: 46px;
    max-width: 190px;
  }
}

/* ==========================================================
   Mentor-LAB - About mobile dark card visibility fix
   Stage 110
   Correzione: su smartphone il box destro della sezione Chi Siamo
   deve restare blu scuro con testo bianco.
   ========================================================== */

@media (max-width: 575px) {
  .mentor-about-visual-bg .mentor-about-card-right {
    display: block !important;
    width: 100% !important;
    background:
      linear-gradient(135deg, rgba(51, 89, 137, 0.96) 0%, rgba(35, 63, 104, 0.96) 100%) !important;
    color: rgba(255, 255, 255, 0.90) !important;
    border-color: rgba(255, 255, 255, 0.20) !important;
    box-shadow: 0 24px 64px rgba(35, 63, 104, 0.24) !important;
  }

  .mentor-about-visual-bg .mentor-about-card-right p,
  .mentor-about-visual-bg .mentor-about-card-right li,
  .mentor-about-visual-bg .mentor-about-card-right span {
    color: rgba(255, 255, 255, 0.88) !important;
  }

  .mentor-about-visual-bg .mentor-about-card-right b,
  .mentor-about-visual-bg .mentor-about-card-right strong {
    color: #ffffff !important;
  }

  .mentor-about-visual-bg .mentor-about-card-right .mentor-about-highlight {
    background: rgba(255, 255, 255, 0.11) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
  }

  .mentor-about-visual-bg .mentor-about-card-right .mentor-about-button {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.11) !important;
    border-color: rgba(255, 255, 255, 0.42) !important;
  }
}

/* ==========================================================
   Mentor-LAB - CTA Seguici social links
   Stage 115
   ========================================================== */

.mentor-cta-follow {
  margin-top: 22px;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 8% 16%, rgba(66, 198, 232, 0.20), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 44px rgba(18, 43, 78, 0.12);
}

.mentor-cta-follow h4 {
  margin: 0 0 8px;
  color: #ffffff;
  font-family: "Jost", sans-serif;
  font-size: 21px;
  font-weight: 850;
}

.mentor-cta-follow p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.62;
}

.mentor-cta-follow-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mentor-cta-social-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--mentor-blue-deep);
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.46);
  box-shadow: 0 14px 34px rgba(18, 43, 78, 0.16);
  font-family: "Jost", sans-serif;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.mentor-cta-social-link i {
  font-size: 20px;
  line-height: 1;
}

.mentor-cta-social-link:hover {
  color: var(--mentor-blue-deep);
  background: #e9fbff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(18, 43, 78, 0.22);
}

.mentor-cta-social-link-instagram {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(245, 178, 67, 0.96), rgba(31, 180, 214, 0.88));
}

.mentor-cta-social-link-instagram:hover {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(31, 180, 214, 0.96), rgba(245, 178, 67, 0.90));
}

@media (max-width: 991px) {
  .mentor-cta-follow {
    max-width: 620px;
    margin: 20px auto 0;
    text-align: center;
  }

  .mentor-cta-follow-links {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .mentor-cta-follow {
    padding: 18px;
    border-radius: 22px;
  }

  .mentor-cta-social-link {
    width: 100%;
  }
}

