@charset "utf-8";
/* FONT */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

/* VARIABILI */
:root {
  --primary: #da0077;
  --secondary: #009fe3;
  --tertiary: #312783;
  --text: #495168;
  --grey: #f7f7f7;
  --light-grey: #eaeaea;
}

/* OVERWRITE BOOTSTRAP GRID */
@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 768px;
  }
}
@media (min-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 992px;
  }
}
@media (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 1200px;
  }
}
@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1320px;
  }
}
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1320px;
  }
}

/* APPOGGIA IMMAGINI A DESTRA O SINISTRA */

.wpb_single_image.img-round-left {
  text-align: right;
  margin-right: -30px;
}

.wpb_single_image.img-round-right {
  text-align: left;
  margin-left: -30px;
}

@media (min-width: 1342px) {
  .wpb_single_image.img-round-left img {
    border-radius: 15px;
  }

  .wpb_single_image.img-round-right img {
    border-radius: 15px;
  }
}

/* OVERWRITE */

body,
html {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  font-size: 18px;
}

a,
button {
  transition: all 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

.overflow-hidden {
  overflow: hidden;
}

/* SCROLL TO TOP BUTTON */

#scrollToTop {
  position: fixed;
  bottom: 50px;
  right: 100px;
  width: 80px;
  height: 80px;
  /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
}

#scrollToTop:hover,
.vc_btn3:hover,
.btn-primary:hover,
.salesforce-form-container .submit-button:hover,
.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .vc_btn3-container.vc_btn3-left,
  .vc_btn3-container.vc_btn3-right {
    text-align: center;
  }
}

#scrollToTop:active,
.vc_btn3:active,
.btn-primary:active,
.salesforce-form-container .submit-button:active {
  transform: translateY(-2px);
}

/* ============================================
   BARRA ADMIN WORDPRESS + NAVBAR fixed-top
   > 782px     : barra alta 32px, fixed
   601-782px   : barra alta 46px, fixed
   <= 600px    : barra alta 46px, ma scorre via (absolute): top gestito dal JS
   ============================================ */

body.admin-bar .navbar.fixed-top {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .navbar.fixed-top {
    top: 46px;
  }
}

@media (max-width: 600px) {
  /* valore iniziale prima che parta il JS; poi lo aggiorna lo script */
  body.admin-bar .navbar.fixed-top {
    top: 46px;
  }
}

.navbar {
  --bs-navbar-nav-link-padding-x: 0.5rem;
  --bs-navbar-toggler-padding-y: 0.25rem;
  --bs-navbar-active-color: var(--tertiary);
  font-size: 16px;
}

.bg-dark {
  --bs-bg-opacity: 0.5;
  background: radial-gradient(
    0% 50% at 50% 50%,
    rgba(0, 11, 56, 0.79) 0%,
    rgba(0, 15, 72, 0.79) 100%
  );
  backdrop-filter: blur();
}

.nav-link:hover {
  text-decoration: underline;
}

h1 {
  font-size: calc(1.4em + 1.3vw);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1 strong,
h2 strong {
  font-weight: 600;
}

h2 {
  font-size: clamp(1.2rem, 0.5rem + 1vw, 2rem);
  line-height: 150%;
  font-weight: 400;
}

h3 {
  color: var(--tertiary);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-style: normal;
}

h5 {
  font-size: 1.25em;
  font-weight: 600;
}

a {
  color: var(--text);
}

.emphasis-color {
  background: linear-gradient(77deg, #2c66b8 -1.01%, #e118e9 91.95%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#hero {
  background-position: center bottom !important;
  height: calc(100vh - 80px);
  max-height: 935px;
}

@media (min-width: 1200px) {
  #hero h1 {
    padding: 24px 207px;
  }
}

#hero h6 {
  font-size: calc(0.5em + 1.5vw);
  color: #bdbdbd;
  padding-top: 24px;
  font-weight: 400;
}

.dark,
.internal-pag,
.newsletter {
  color: white !important;
  background-color: var(--tertiary);
  background-image: url(../img/bg-sfumato.jpg);
  background-size: cover;
}

.internal-page a {
  color: white !important;
}

.dark h3 {
  color: white !important;
}

#aboutUs {
  background-position: center bottom !important;
}

@media (min-width: 1200px) {
  #aboutUs {
    padding: 24px 320px !important;
  }
}

#eyonisLCSatGlance {
  background-position: left top !important;
}

.magenta {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 2em;
  line-height: 1;
}

.annotation {
  font-size: 1em;
}

.disclaimer {
  font-size: 0.7em;
}

.lungs {
  position: relative;
}

.lungs img {
  position: absolute;
  left: -100px;
  max-width: calc(100% + 100px) !important;
}

#eyonisLCSatGlance.vc_row-has-fill > .vc_column_container > .vc_column-inner {
  padding-top: 0 !important;
}

@media (max-width: 768px) {
  .lungs img {
    display: none;
  }
}

.internal-page,
.newsletter {
  background-image: url(../img/footer.png), url(../img/bg-sfumato.jpg);
  background-position:
    center bottom,
    center top;
  background-size: 100%, cover;
  background-repeat: no-repeat, no-repeat;
  padding-bottom: 5em;
  min-height: calc(100dvh - 386px);
}

@media (min-width: 1200px) {
  .internal-page {
    padding-bottom: 10em;
  }
}

.footer {
  background-image: url(../img/dots-bg.svg);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: contain;
}

#posters {
  background-position: center right !important;
}

@media (max-width: 767px) {
  #posters {
    background-size: cover !important;
  }
}

#predict {
  background-position: center left !important;
}

.card {
  border-radius: 24px;
  background-color: var(--light-grey);
}

.second-card {
  background-color: #eaf6fd !important;
}

.card-header {
  background-color: transparent;
  border: 0;
  color: var(--primary);
  padding-top: 1em !important;
  min-height: 111px;
}

.card-header p {
  margin-bottom: 0 !important;
  font-size: 14px;
}

.card-header h5 {
  text-align: center;
}

.card-body {
  color: var(--text);
  background-color: transparent;
  font-size: 16px;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.first-card .card-footer {
  min-height: 102px !important;
}

.first-card .card-body {
  min-height: 247px !important;
}

.card-body:not(.first-card .card-body) {
  min-height: 325px;
}

.card-body p:last-child {
  margin-bottom: 0 !important;
}

.card-footer {
  border: 0;
  background-color: transparent;
  font-size: 14px;
  color: var(--text);
  font-style: italic;
}

.card-footer:not(.first-card .card-body) {
  min-height: 24px;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .first-card .card-body {
    min-height: 366px !important;
  }

  .card-header {
    min-height: 159px;
  }

  .card-body {
    min-height: 486px !important;
  }

  .card-footer {
    min-height: 24px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .first-card .card-body {
    min-height: 288px !important;
  }

  .card-header {
    min-height: 132px;
  }

  .card-body {
    min-height: 367px !important;
  }

  .card-footer {
    min-height: 24px;
  }
}

#trainTestAndClinicalStudies .owl-carousel {
  position: relative;
}

.owl-carousel .owl-nav button.owl-next,
.owl-carousel .owl-nav button.owl-prev {
  padding: 15px !important;
  border-radius: 40px !important;
  background-color: var(--primary) !important;
}

.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev :hover,
.owl-slider-6925b42fb6dfe .owl-nav button:hover {
  background-color: var(--primary) !important;
  background: var(--primary) !important;
}

.owl-theme .owl-nav {
  position: absolute;
  top: 40% !important;
  width: 100%;
}

.owl-carousel .owl-nav button.owl-prev {
  position: absolute;
  left: -42px;
}

.owl-carousel .owl-nav button.owl-next {
  position: absolute;
  right: -42px;
}

.owl-theme .owl-nav .disabled {
  display: none;
}

.percentage {
  font-size: 40px;
}

.card .percentage {
  font-size: 68px;
}

.perc .card-body {
  min-height: 150px !important;
  color: var(--tertiary);
  font-size: 24px;
  padding: 24px !important;
}

.perc {
  border-radius: 30px;
}

#predict {
  background-image: url(../img/dots-arrow-2.png);
  background-repeat: no-repeat;
  background-size: contain;
}

@media (min-width: 992px) {
  #predict {
    padding-left: 60px;
  }
}

@media (max-width: 767px) {
  #predict {
    background-image: url(../img/dots-arrow-2-rot.png);
    background-position: top center !important;
    text-align: center;
  }
}

#deployment .magenta {
  text-transform: capitalize;
  font-size: 1.5em;
}

#ProcessingChain .magenta {
  font-size: 1.2em;
}

#ProcessingChain p {
  font-size: 16px;
}

#poster {
  background-position: top right !important;
}

.salesforce-form-container {
  padding: 24px;
  max-width: 944px;
  background-color: white;
  border-radius: 25px;
  margin: 0 auto;
  color: var(--text);
}

.salesforce-form-container .form-control {
  background-color: #ececed;
  border: 1px solid #ececed;
  border-radius: 25px;
}

.salesforce-form-container label {
  color: var(--text);
  font-weight: 600;
  /*margin: 24px 0 8px;*/
}

@media (min-width: 992px) {
  .salesforce-form-container {
    padding: 68px 68px 34px 68px;
  }

  .salesforce-form-container .form-group {
    display: inline-block;
    min-width: 377px;
    margin: 12px 9px;
  }
}

.salesforce-form-container .form-group.text-end {
  width: 100%;
}

.salesforce-form-container .submit-button {
  background-color: var(--primary);
  border: 0;
  padding: 15px;
  border-radius: 40px;
  color: white;
}

/*.form-group input {
  background-color: var(--primary);
}*/

.textarea-group {
  display: block !important;
  width: 100% !important;
  border-radius: 25px !important;
}

.btn-primary {
  background-color: var(--primary);
  border: 0;
  padding: 15px 32px;
  border-radius: 40px;
}

.btn-primary:hover {
  background-color: var(--primary);
}

#li-antibot {
  width: 100% !important;
  height: auto !important;
  font-family: "Poppins", sans-serif !important;
  color: var(--text) !important;
}

#li-antibot-content {
  margin: 24px 0;
  width: 100% !important;
  margin-left: 0 !important;
}

#li-antibot-answer-instruction {
  height: auto !important;
}

#li-antibot-answer-box {
  height: auto !important;
}

.li-antibot-switcher {
  font-family: "Poppins", sans-serif !important;
  color: var(--text) !important;
}

#li-antibot-answer {
  border: 1px solid #ececed !important;
  border-radius: 40px !important;
  font-family: "Poppins", sans-serif !important;
  background-color: #ececed !important;
}

#li-antibot-validate {
  background: white !important;
  color: var(--text) !important;
  border: 1px solid var(--text) !important;
  border-radius: 25px !important;
  font-family: "Poppins", sans-serif !important;
}

#li-antibot-validate:disabled {
  background: #afafaf !important;
  color: grey !important;
  border: 1px solid #afafaf !important;
}

#li-antibot-answer-instruction,
#li-antibot-text-purpose,
#li-antibot-text,
#li-antibot-refresh,
#li-antibot-sub-switcher,
#li-antibot-check-note {
  font-family: "Poppins", sans-serif !important;
  color: var(--text) !important;
}

.cases {
  font-size: 20px;
}

/* nuovo logo fda  */

.fda-logo {
  height: auto;
  width: 138px;
  margin-left: auto;
}

@media (max-width: 1200px) {
  .fda-logo {
    margin: auto;
    padding-bottom: 24px;
  }

  .vc_custom_1764146371416 {
    padding-top: 0 !important;
  }
}

/*.home-page {
  background-image: url(../img/bck-placeholder.jpg);
  min-height: calc(100dvh - 84px);
  background-position: center center !important;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero {
  display: flex;
  align-items: flex-end; 
  min-height: 70vh; 
}*/
.hero-section {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 70vh;
  background: var(--c-navy) url("../img/hero-home.jpg") center / cover no-repeat;
}
.hero-section > .row {
  width: 100%;
  margin: 0; /* toglie i margini negativi di Bootstrap */
}

@media (max-width: 767px) {
  .home-page {
    min-height: calc(50dvh - 80px);
    background-position: center center !important;
  }
}

.sfondo-blu {
  --bs-bg-opacity: 0.5;
  background: radial-gradient(
    0% 50% at 50% 50%,
    rgba(0, 11, 56, 0.79) 0%,
    rgba(0, 15, 72, 0.79) 100%
  );
  color: white !important;
}

/* HERO HOME */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.hero__video {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero__video iframe {
    position: absolute;
    width: 100%;
    aspect-ratio: 16 / 9;
    top: 50%;
    left: 50%;
    border: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    background-image: url('../img/frame-header-home.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.patients-hero__video iframe {
    background-image: url('../img/frame-header-patients.webp');
}

.hero__band {
    position: absolute;
    bottom: 0;
    width: 100%; /* a tutta larghezza, come la navbar */
    padding-block: 1.5rem 2rem;
    background: rgba(0, 15, 72, 0.79);
    color: white;
}

.hero__band .container {
    width: 100%;
}

/* Tablet e mobile */
@media (max-width: 992px) {
    .hero {
        height: auto;
        min-height: 0;
        margin-top: 72px; /* lascia spazio alla navbar fissa */
    }

    .hero__video {
        height: auto;
        aspect-ratio: inherit;
    }

    .hero__video iframe {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 9;
        top: 0;
        left: 0;
        transform: none; 
    }

    .hero__band {
        position: relative;
        margin-top: -7px;
    }
}

@media (max-width: 767px) {
 
  .hero__band {
    padding-block: 0.75rem 1rem;
    background: rgba(0, 15, 72, 1);
  }

  .hero__band h1 {
    font-size: 1.15rem; 
    line-height: 1.25;
    margin-bottom: 0.35rem;
  }

  .hero__band h2 {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  #scrollToTop {
    right: 16px;
    bottom: 16px;
    width: 60px;
    height: 60px;
    font-size: 14px !important;
  }
}

/* ===== Page hero (pagine interne) ===== */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 500px;
  background-color: #071047;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Foto >= 1920px: cover, croppata */
.page-hero--cover {
  background-size: cover;
  background-position: top center;
}

/* Foto < 1920px: contenuta e ancorata a destra */
.page-hero--contain {
  background-size: contain;
  background-position: right center;
}

/* Layer 2: texture bg-sfumato.jpg */
.page-hero__texture {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: multiply; /* prova anche: screen, overlay, soft-light */
  opacity: 0.4; /* abbassa (es. .6) per attenuare */
  pointer-events: none;
}

/* Layer 3: gradiente blu */
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #071047 0%,
    #071047 60.4%,
    rgba(7, 16, 71, 0) 86.06%,
    #071047 100%
  );
  /*mix-blend-mode: multiply;*/
  pointer-events: none;
}

/* Foto >= 1920px: overlay più leggero */
.page-hero--cover .page-hero__overlay {
  opacity: 0.6;
}

/* Layer 4: contenuto foto di sfondo*/
.page-hero__inner {
  position: relative;
  z-index: 1;
  color: white;
}

.page-hero__title,
.page-hero__title * {
  color: #fff !important;
}

.page-hero__title {
  margin: 0;
  max-width: 50%;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  /* h1 ancorato in basso */
  .page-hero {
    align-items: flex-end;
  }

  /* sempre cover e centrata */
  .page-hero--cover,
  .page-hero--contain {
    background-size: cover;
    background-position: center;
  }

  /* gradiente verticale: immagine visibile in alto, blu pieno in basso */
  .page-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 16, 71, 0) 0%,
      rgba(7, 16, 71, 0) 40%,
      rgba(7, 16, 71, 0.85) 75%,
      #071047 100%
    );
  }

  /* su mobile l'overlay resta a opacità piena anche con foto grandi */
  .page-hero--cover .page-hero__overlay {
    opacity: 1;
  }

  .page-hero__inner {
    padding-bottom: 32px;
  }

  .page-hero__title {
    max-width: 100%;
  }
}

/* ===== Patients hero ===== */
.patients-hero__container {
  position: absolute;
  bottom: 40px;
  width: 100%;
}

/* Tablet e mobile */
@media (max-width: 992px) {
    .patients-hero__container {
        position: relative;
        bottom: 0;
    }
}

.patients-hero {
  display: flex;
  align-items: flex-end; /* fascia in basso */
  width: 100%;
  min-height: 650px;
  background-color: #071047; /* fallback se manca la foto */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Fascia bianca con h1 e h2 */
.patients-hero__band {
  background: #fff;
  padding: 32px 40px;
  margin-bottom: 50px;
  color: var(--tertiary) !important;
  opacity: 0.85;
}

.patients-hero__band h1,
.patients-hero__band h1 *,
.patients-hero__band h2,
.patients-hero__band h2 *,
h3,
h4,
h5,
h6 {
  color: var(--tertiary) !important;
}

.patients-hero__band h1 {
  margin: 0 0 12px;
}

.patients-hero__band h2 {
  margin: 0;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .patients-hero__band {
    padding: 24px 20px;
  }
}

.newsletter h4 {
  color: #fff;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1.75rem;
}

.newsletter__form {
  display: flex;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 6px;
  background: #fff;
  border-radius: 50px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.25); /* anello esterno semitrasparente */
}

.newsletter__form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: #333;
}

.newsletter__form input[type="email"]::placeholder {
  color: #555;
}

.newsletter__form button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 50px;
  padding: 0.85rem 1.6rem;
  background: #e0005a; /* magenta: adatta al colore brand */
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.newsletter__form button:hover,
.newsletter__form button:focus-visible {
  background: #b80049;
}

.newsletter__form:focus-within {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.45);
}

.newsletter__msg {
  margin: 1rem 0 0;
  color: #fff;
  font-size: 0.9rem;
  min-height: 1.2em;
}

/* Mobile: impila input e bottone */
@media (max-width: 575.98px) {
  .newsletter__form {
    flex-direction: column;
    border-radius: 30px;
    padding: 10px;
  }
  .newsletter__form input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    text-align: center;
  }
  .newsletter__form button {
    width: 100%;
  }
}

.emphasis {
  font-size: 1.5em;
}

.text-white {
  color: white !important;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
  color: white !important;
}

@media (min-width: 992px) {
  .wf-row {
    position: relative;
  }

  .wf-row::after {
    content: "";
    display: block !important;
    width: 100%;
    height: 550px;
    background-image: url("../img/waves-bck.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
  }
}

@media (min-width: 1400px) {
  .wf-row::after {
    height: 795px;
  }
}

.wf-col > .vc_column-inner {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  color: var(--tertiary);
}
.wf-col > .vc_column-inner::before,
.wf-col > .vc_column-inner::after {
  display: none;
}
.wf-col > .vc_column-inner > .wpb_wrapper {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.wf-bottom > .vc_column-inner > .wpb_wrapper {
  justify-content: flex-end;
}
.wf-top > .vc_column-inner > .wpb_wrapper {
  justify-content: flex-start;
}

@media (max-width: 767px) {
  .wf-col > .vc_column-inner {
    min-height: 280px;
  }
}

.cyan-number {
  font-size: 42px;
  color: var(--secondary);
  font-weight: 650;
  line-height: 0.9;
}

.cyan-number.big {
  font-size: 60px;
  line-height: normal;
}

.cyan-text {
  font-size: 36px;
  color: var(--secondary);
  font-weight: 600;
  line-height: 1;
}

.cyan-text.small {
  font-size: 18px;
}

@media (max-width: 767.98px) {
  .cyan-number {
    font-size: clamp(24px, 8vw, 42px);
    white-space: nowrap;
    line-height: normal;
  }

  .cyan-number.big {
    font-size: clamp(28px, 10vw, 60px);
    line-height: normal;
  }
}

/* Colonna sinistra: riferimento per il posizionamento */
.lcs-left > .vc_column-inner > .wpb_wrapper {
  position: relative;
}

/* ============================================
   CASO 1: citazione con cerchio, sopra l'immagine
   (class: lcs-quote)
   ============================================ */
.lcs-quote {
  position: absolute;
  top: -10%;
  left: 80%;
  width: 55%;
  height: 250px; /* stessa altezza del cerchio */
  display: flex;
  align-items: center; /* centra il testo in verticale nel cerchio */
  z-index: 3;
  margin: 0 !important;
  background: none;
  color: var(--tertiary);
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
}

@media (min-width: 992px) {
  .lcs-quote {
    max-width: 300px;
  }
}

.lcs-quote p {
  margin: 0;
  line-height: 1.3;
}

/* Cerchio decorazione dietro il testo */
.lcs-quote::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 250px;
  height: 250px;
  top: 0; /* coincide con il blocco: centraggio verticale */
  left: -30px;
  border-radius: 50%;
  background: #f6fbff;
}

/* ============================================
   STILE CONDIVISO per le varianti nel flusso
   (class: q-plain, q-circle)
   ============================================ */
.q-plain,
.q-circle {
  color: var(--tertiary);
  font-size: 30px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3;
}

.q-plain p,
.q-circle p {
  margin: 0;
}

/* CASO 2: solo testo, su una sola riga, niente cerchio */
.q-plain {
  white-space: nowrap;
}

/* CASO 3: testo centrato in un cerchio bianco, nel flusso normale */
.q-circle {
  display: flex;
  align-items: center; /* centro verticale */
  justify-content: center; /* centro orizzontale */
  text-align: center;
  width: 300px; /* diametro */
  height: 300px;
  padding: 2rem;
  margin: 0 auto;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

/* ============================================
   VIRGOLETTE (valgono per tutte e tre le varianti)
   ============================================ */
/*.lcs-quote em:after,
.lcs-quote em:before,
.q-plain em:after,
.q-plain em:before,
.q-circle em:after,
.q-circle em:before {
    content: '"';
    color: var(--primary);
}*/

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 992px) {
  .lcs-quote {
    position: static;
    width: 100%;
    height: auto;
    display: block;
    padding: 1.5rem 0.5em;
  }

  .lcs-quote::before {
    display: none;
  }

  .q-plain {
    white-space: normal; /* su telefono può andare a capo */
    font-size: 24px;
  }

  .q-circle {
    width: 240px;
    height: 240px;
    font-size: 24px;
  }
}

/*.q-circle p::before,
.q-circle p::after {
  content: '"';
  color: var(--primary);
}
*/

/*fix banner img full height */

/* Riga: niente padding verticale, l'immagine arriva ai bordi */
.banner-row {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* --------------------------------------------
   Colonna sinistra (testo): spazio verticale
   -------------------------------------------- */
.banner-row > .wpb_column:first-child > .vc_column-inner {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* --------------------------------------------
   Colonna destra (immagine): a filo, altezza piena
   -------------------------------------------- */
.banner-row > .wpb_column:last-child > .vc_column-inner {
  height: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

.banner-row > .wpb_column:last-child .wpb_wrapper,
.banner-row > .wpb_column:last-child .wpb_single_image,
.banner-row > .wpb_column:last-child .vc_figure,
.banner-row > .wpb_column:last-child .vc_single_image-wrapper {
  height: 100%;
  margin: 0 !important;
}

/* Evita lo spazio sotto l'immagine (inline) e il margine di default WPBakery */
.banner-row .wpb_single_image.wpb_content_element {
  margin-bottom: 0 !important;
  float: none;
  width: 100%;
}

.banner-row .vc_figure,
.banner-row .vc_single_image-wrapper {
  display: block;
  line-height: 0;
}

.banner-row > .wpb_column:last-child img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------
   Mobile: colonne impilate, immagine con altezza naturale
   -------------------------------------------- */
@media (max-width: 767px) {
  .banner-row > .wpb_column:last-child > .vc_column-inner,
  .banner-row > .wpb_column:last-child .wpb_wrapper,
  .banner-row > .wpb_column:last-child .wpb_single_image,
  .banner-row > .wpb_column:last-child .vc_figure,
  .banner-row > .wpb_column:last-child .vc_single_image-wrapper {
    height: auto;
  }

  .banner-row > .wpb_column:last-child img {
    height: auto;
    max-height: 280px;
    object-fit: cover;
  }
}

/* ============================================
   BANNER ROW: variante con immagine a sinistra e testo a destra
   ============================================ */

/* Il testo (ultima colonna) torna a padding normale e si centra in verticale */
.banner-row--text-right > .wpb_column:last-child > .vc_column-inner {
  padding: 2rem 1.5rem 2rem 2.5rem !important;
  display: flex;
  align-items: center; /* centro verticale */
}

.banner-row--text-right > .wpb_column:last-child .wpb_wrapper {
  height: auto;
  width: 100%;
}

/* Il testo non deve prendere regole pensate per l'immagine */
.banner-row--text-right > .wpb_column:last-child .wpb_text_column {
  margin-bottom: 0 !important;
  height: auto;
}

.banner-row--text-right > .wpb_column:last-child .wpb_text_column p:last-child {
  margin-bottom: 0;
}

/* L'immagine (prima colonna) prende le regole di altezza piena */
.banner-row--text-right > .wpb_column:first-child > .vc_column-inner {
  height: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

.banner-row--text-right > .wpb_column:first-child .wpb_wrapper,
.banner-row--text-right > .wpb_column:first-child .wpb_single_image,
.banner-row--text-right > .wpb_column:first-child .vc_figure,
.banner-row--text-right > .wpb_column:first-child .vc_single_image-wrapper {
  height: 100%;
  margin: 0 !important;
}

.banner-row--text-right > .wpb_column:first-child img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile: tutto in colonna, altezza naturale */
@media (max-width: 767.98px) {
  .banner-row--text-right > .wpb_column:first-child > .vc_column-inner,
  .banner-row--text-right > .wpb_column:first-child .wpb_wrapper,
  .banner-row--text-right > .wpb_column:first-child .wpb_single_image,
  .banner-row--text-right > .wpb_column:first-child .vc_figure,
  .banner-row--text-right > .wpb_column:first-child .vc_single_image-wrapper {
    height: auto;
  }

  .banner-row--text-right > .wpb_column:first-child img {
    height: auto;
    max-height: 280px;
  }
}

.hsfc-FieldLabel {
  color: white !important;
}

.hsfc-Step__Content {
  background-color: white !important;
}

/* ============================================
   BENEFITS ROW: 4 card unite in un unico blocco
   Classi WPBakery: benefits-row (riga), benefits-col (colonne)
   Desktop: 4 in fila | Tablet: 2x2 | Mobile: 1 colonna
   ============================================ */

.benefits-row {
  --benefits-border: #dfe6f2;
  display: flex;
  flex-wrap: wrap;
  margin-left: 0 !important;
  margin-right: 0 !important;
  border: 1px solid var(--benefits-border);
  border-radius: 24px;
  overflow: hidden; /* ritaglia gli angoli interni: restano arrotondati solo quelli esterni */
  background: #fff;
}

/* Clearfix di WPBakery: in flex occuperebbero spazio */
.benefits-row::before,
.benefits-row::after {
  display: none !important;
}

.benefits-col {
  display: flex;
}

.benefits-col > .vc_column-inner {
  width: 100%;
  padding: 2rem 1.5rem !important;
}

.benefits-col .wpb_content_element {
  margin-bottom: 1rem;
}

.benefits-col .wpb_content_element:last-child {
  margin-bottom: 0;
}

.benefits-col h3 {
  margin-top: 1rem;
  color: var(--primary) !important;
  font-size: 1.15rem;
  font-weight: 600;
}

/* DESKTOP (>= 992px): 4 colonne, divisori verticali */
@media (min-width: 992px) {
  .benefits-col {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .benefits-col:not(:last-child) > .vc_column-inner {
    border-right: 1px solid var(--benefits-border);
  }
}

/* TABLET (768px - 991px): 2 x 2 */
@media (min-width: 768px) and (max-width: 991.98px) {
  .benefits-col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* divisorio verticale tra colonna sinistra e destra */
  .benefits-col:nth-child(odd) > .vc_column-inner {
    border-right: 1px solid var(--benefits-border);
  }

  /* divisorio orizzontale tra le due righe */
  .benefits-col:nth-child(-n + 2) > .vc_column-inner {
    border-bottom: 1px solid var(--benefits-border);
  }
}

/* MOBILE (< 768px): una sotto l'altra */
@media (max-width: 767.98px) {
  .benefits-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .benefits-col:not(:last-child) > .vc_column-inner {
    border-bottom: 1px solid var(--benefits-border);
  }
}

/* ============================================
   NUMBERS SECTION
   Classi: numbers-section (riga esterna), numbers-top / numbers-bottom (righe interne),
   numbers-intro (testo), numbers-stat (statistica: icona + testo)
   Desktop: layout come design | Tablet: tutto incolonnato e centrato
   I divisori verticali toccano sempre la linea orizzontale:
   colonne a tutta altezza, contenuto centrato dentro la colonna.
   ============================================ */

.numbers-top,
.numbers-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* colonne alte quanto la riga: i bordi arrivano ovunque */
  margin-top: 0 !important;
  margin-bottom: 0 !important; /* niente spazio che stacchi le due righe */
}

.numbers-top::before,
.numbers-top::after,
.numbers-bottom::before,
.numbers-bottom::after {
  display: none !important;
}

.numbers-top > .wpb_column,
.numbers-bottom > .wpb_column {
  display: flex;
  float: none;
}

/* La colonna interna riempie tutta l'altezza e centra il contenuto in verticale */
.numbers-top > .wpb_column > .vc_column-inner,
.numbers-bottom > .wpb_column > .vc_column-inner {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
}

.numbers-top > .wpb_column > .vc_column-inner > .wpb_wrapper,
.numbers-bottom > .wpb_column > .vc_column-inner > .wpb_wrapper {
  width: 100%;
}

/* Linea orizzontale tra le due righe */
.numbers-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

/* --- Testo introduttivo --- */
.numbers-intro h2 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.5rem, 1rem + 1.2vw, 2rem);
  margin-bottom: 1rem;
}

.numbers-intro p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 0;
}

/* --- Statistica: icona a sinistra, testo a destra --- */
.numbers-stat > .vc_column-inner > .wpb_wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.numbers-stat .wpb_content_element {
  margin-bottom: 0;
}

.numbers-stat .wpb_single_image {
  flex: 0 0 auto;
  width: 90px;
}

.numbers-stat .wpb_single_image img {
  width: 100%;
  height: auto;
}

.numbers-stat .wpb_text_column {
  flex: 1 1 auto;
  line-height: 1.2;
}

.numbers-stat p {
  margin: 0;
}

.numbers-big {
  font-size: clamp(2rem, 1.2rem + 1.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
}

.numbers-mid {
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  font-weight: 600;
}

.numbers-label {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

/* --- Divisori verticali (desktop) --- */
@media (min-width: 992px) {
  .numbers-top > .numbers-stat > .vc_column-inner,
  .numbers-bottom > .numbers-stat:not(:first-child) > .vc_column-inner {
    border-left: 1px solid rgba(255, 255, 255, 0.25);
  }

  .numbers-top > .wpb_column > .vc_column-inner,
  .numbers-bottom > .wpb_column > .vc_column-inner {
    padding: 1.5rem 2rem;
  }
}

/* --- TABLET (< 992px): tutto incolonnato, testo centrato --- */
@media (max-width: 991.98px) {
  .numbers-top > .wpb_column,
  .numbers-bottom > .wpb_column {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .numbers-intro {
    text-align: center;
  }

  .numbers-intro h2 {
    text-align: center;
  }

  .numbers-stat > .vc_column-inner > .wpb_wrapper {
    justify-content: center;
  }

  .numbers-stat .wpb_text_column {
    flex: 0 1 auto;
  }

  /* divisori orizzontali tra le statistiche impilate */
  .numbers-stat > .vc_column-inner {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .numbers-bottom {
    border-top: 0;
    margin-top: 0;
  }
}

/* --- MOBILE (< 576px): icona sopra il testo --- */
@media (max-width: 575.98px) {
  .numbers-stat > .vc_column-inner > .wpb_wrapper {
    flex-direction: column;
    text-align: center;
  }

  .numbers-stat .wpb_single_image {
    width: 70px;
  }
}


.box-form {
  background-color: white !important;
  border-radius: 25px !important;
  padding: 24px !important;
  font-family: "Poppins", sans-serif !important;
}

/* ============================================
   DICOM ROW: titolo + 2 statistiche + nota, allineati
   Classi: dicom-row (riga esterna), dicom-stat (righe interne), dicom-note (ultima frase)
   ============================================ */

/* Riga interna: numero e testo affiancati, mai a capo (desktop e tablet) */
.dicom-row .dicom-stat {
  display: flex;
  flex-wrap: nowrap !important;
  align-items: center; /* numero e testo centrati sulla stessa linea */
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-bottom: 1.25rem;
}

/* Colonna del numero: larghezza fissa, stesso asse per 20% e 68% */
.dicom-row .dicom-stat > .wpb_column:first-child {
  flex: 0 0 150px !important;
  width: 150px !important;
  max-width: 150px !important;
}

/* Colonna del testo: prende tutto lo spazio rimasto */
.dicom-row .dicom-stat > .wpb_column:last-child {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}

/* Padding uniforme: il testo parte allineato con il titolo */
.dicom-row .dicom-stat > .wpb_column > .vc_column-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Numeri: niente margini custom, stessa altezza di riga, centrati nella loro colonna */
.dicom-row .dicom-stat .cyan-number {
  margin: 0 !important;
  padding: 0 !important;
}

.dicom-row .dicom-stat .cyan-number p {
  margin: 0;
  text-align: center !important; /* metti left per allinearli al bordo del titolo */
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Testo accanto al numero */
.dicom-row .dicom-stat .wpb_text_column:not(.cyan-number) {
  margin: 0 !important;
}

.dicom-row .dicom-stat .wpb_text_column:not(.cyan-number) p {
  margin: 0;
  line-height: 1.5;
}

/* Nota finale: stesso bordo sinistro del titolo */
.dicom-row .dicom-note {
  margin: 0 !important;
}

.dicom-row .dicom-note p {
  margin: 0;
  line-height: 1.5;
}

/* Mobile (< 576px): numero sopra al testo, tutto a sinistra */
@media (max-width: 575.98px) {
  .dicom-row .dicom-stat {
    flex-wrap: wrap !important;
  }

  .dicom-row .dicom-stat > .wpb_column:first-child,
  .dicom-row .dicom-stat > .wpb_column:last-child {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .dicom-row .dicom-stat .cyan-number p {
    font-size: 48px;
    text-align: left !important;
  }
}

/* ============================================
   ROLE CARDS (5 card: 3 + 2 centrate), blocco unico
   WPBakery: riga = role-cards | colonna = role-card + modificatore colore
   Modificatori: role-card--magenta, role-card--violet, role-card--cyan
   ============================================ */

/* --- Riga: flex centrato, l'ultima riga di card resta al centro --- */
.role-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.role-cards::before,
.role-cards::after {
  display: none !important;
}

/* --- Colonna: il "passo" della griglia, lo spazio tra le card è il padding --- */
.role-card.wpb_column {
  display: flex;
  float: none;
  padding: 12px;
}

@media (min-width: 992px) {
  .role-card.wpb_column {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .role-card.wpb_column {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767.98px) {
  .role-card.wpb_column {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* --- Colori: sfondo bianco, bordo sfumato dal colore al grigio-azzurro --- */
.role-card {
  --rc-bg: #fff;
  --rc-fade: #e3e9f4;
  --rc-from: var(--primary);
  --rc-to: var(--rc-fade);
}

.role-card--magenta {
  --rc-from: var(--primary);
}
.role-card--violet {
  --rc-from: var(--tertiary);
}
.role-card--cyan {
  --rc-from: var(--secondary);
}

/* --- La card vera è il .vc_column-inner --- */
.role-card > .vc_column-inner {
  width: 100%;
  padding: 0 !important;
  overflow: hidden;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background:
    linear-gradient(var(--rc-bg), var(--rc-bg)) padding-box,
    linear-gradient(135deg, var(--rc-from), var(--rc-to)) border-box;
  box-shadow: 0 2px 10px rgba(49, 39, 131, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.role-card:not(.no-link) > .vc_column-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(49, 39, 131, 0.18);
}

/* --- Contenuto in colonna: freccia sempre in fondo --- */
.role-card > .vc_column-inner > .wpb_wrapper {
  position: relative; /* riferimento per link esteso e freccia */
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-bottom: 2.75rem; /* spazio per la freccia */
}

.role-card .wpb_content_element {
  margin-bottom: 0;
}

/* --- Immagine a tutta larghezza --- */
.role-card .wpb_single_image,
.role-card .vc_figure,
.role-card .vc_single_image-wrapper {
  display: block;
  width: 100%;
  line-height: 0;
}

.role-card .wpb_single_image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
}

/* --- Titolo --- */
.role-card .vc_custom_heading {
  padding: 1.5rem 1.5rem 0.5rem;
}

.role-card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tertiary);
}

.role-card h3 a {
  color: inherit;
  text-decoration: none;
}

/* Link esteso: l'intera card è cliccabile */
.role-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* --- Testo --- */
.role-card .wpb_text_column {
  flex: 1 1 auto;
  padding: 0 1.5rem;
  font-size: 13.5px;
  line-height: 1.45;
}

.role-card .wpb_text_column p:last-child {
  margin-bottom: 0;
}

/* --- Freccia in basso a destra, disegnata dal CSS --- */
.role-card:not(.no-link) > .vc_column-inner > .wpb_wrapper::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  width: 24px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12' fill='none' stroke='%23312783' stroke-width='1.4'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5'/%3E%3C/svg%3E")
    no-repeat center / contain;
  transition: transform 0.3s ease;
}

.role-card:not(.no-link) > .vc_column-inner:hover > .wpb_wrapper::after {
  transform: translateX(5px);
}

/* Righe non full-width: margine allineato al padding del .container Bootstrap (12px) */
.wpb-content-wrapper > .vc_row:not([data-vc-full-width]) {
  margin-left: -12px;
  margin-right: -12px;
}

/* Nessuno scroll orizzontale causato dalle animazioni di ingresso.
   "clip" non crea un contenitore di scroll, quindi non rompe position: sticky */
main {
  overflow-x: hidden; /* fallback per browser vecchi */
  overflow-x: clip;
}

/* ============================================
   ROLE CARDS (5 card: 3 + 2 centrate) con glowing border
   WPBakery: riga = role-cards | colonna = role-card + modificatore colore
   Modificatori colore: role-card--magenta, role-card--violet, role-card--cyan
   Sfasamento rotazione: automatico (nth-child) o manuale (rc-delay-0 ... rc-delay-7)
   ============================================ */

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes rc-border-spin {
  to {
    --angle: 360deg;
  }
}

/* --- Riga: flex centrato, l'ultima riga di card resta al centro --- */
.role-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  overflow-x: clip; /* l'alone sfora: niente scroll orizzontale */
}

.role-cards::before,
.role-cards::after {
  display: none !important;
}

/* --- Colonna: il "passo" della griglia, lo spazio tra le card è il padding --- */
.role-card.wpb_column {
  display: flex;
  float: none;
  padding: 14px;
}

@media (min-width: 992px) {
  .role-card.wpb_column {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .role-card.wpb_column {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767.98px) {
  .role-card.wpb_column {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* --- Colore della luce per variante (valori RGB dei colori brand) --- */
.role-card,
.role-card--magenta {
  --rc-glow: 218, 0, 119;
} /* #da0077 */
.role-card--violet {
  --rc-glow: 49, 39, 131;
} /* #312783 */
.role-card--cyan {
  --rc-glow: 0, 159, 227;
} /* #009fe3 */

/* --- Sfasamento della rotazione (giro = 4s, valori negativi) --- */
.role-card:nth-child(1) {
  --rc-delay: 0s;
}
.role-card:nth-child(2) {
  --rc-delay: -0.8s;
}
.role-card:nth-child(3) {
  --rc-delay: -1.6s;
}
.role-card:nth-child(4) {
  --rc-delay: -2.4s;
}
.role-card:nth-child(5) {
  --rc-delay: -3.2s;
}

/* Manuale: stessa specificità di nth-child ma scritto dopo, quindi vince */
.role-card.rc-delay-0 {
  --rc-delay: 0s;
}
.role-card.rc-delay-1 {
  --rc-delay: -0.5s;
}
.role-card.rc-delay-2 {
  --rc-delay: -1s;
}
.role-card.rc-delay-3 {
  --rc-delay: -1.5s;
}
.role-card.rc-delay-4 {
  --rc-delay: -2s;
}
.role-card.rc-delay-5 {
  --rc-delay: -2.5s;
}
.role-card.rc-delay-6 {
  --rc-delay: -3s;
}
.role-card.rc-delay-7 {
  --rc-delay: -3.5s;
}

/* --- Guscio della card: .vc_column-inner regge bordo luminoso e alone --- */
.role-card > .vc_column-inner {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  padding: 0 !important;
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 25px;
  transition: transform 0.3s ease;
}

.role-card:not(.no-link) > .vc_column-inner:hover {
  transform: translateY(-5px);
}

/* Bordo luminoso che ruota
   (display: block !important: il clearfix di WPBakery è display: table e ignora inset) */
.role-card > .vc_column-inner::before {
  content: "";
  display: block !important;
  position: absolute;
  inset: -1.5px;
  width: auto;
  height: auto;
  float: none;
  clear: none;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--angle),
    rgba(15, 23, 42, 0.1) 0deg,
    rgba(15, 23, 42, 0.1) 225deg,
    rgba(var(--rc-glow), 0.22) 260deg,
    rgba(var(--rc-glow), 0.7) 285deg,
    rgb(var(--rc-glow)) 307deg,
    color-mix(in srgb, rgb(var(--rc-glow)) 45%, #fff) 324deg,
    rgba(var(--rc-glow), 0.78) 342deg,
    rgba(15, 23, 42, 0.1) 360deg
  );
  animation: rc-border-spin 4s linear infinite;
  animation-delay: var(--rc-delay, 0s);
}

/* Alone sfocato che segue lo stesso punto luminoso */
.role-card > .vc_column-inner::after {
  content: "";
  display: block !important;
  position: absolute;
  inset: -4px;
  width: auto;
  height: auto;
  float: none;
  clear: none;
  z-index: -2;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--angle),
    transparent 0deg,
    transparent 250deg,
    rgba(var(--rc-glow), 0.06) 270deg,
    rgba(var(--rc-glow), 0.32) 300deg,
    rgba(var(--rc-glow), 0.58) 323deg,
    rgba(var(--rc-glow), 0.24) 345deg,
    transparent 360deg
  );
  filter: blur(20px);
  opacity: 0.8;
  animation: rc-border-spin 4s linear infinite;
  animation-delay: var(--rc-delay, 0s);
}

/* --- Contenuto = la card bianca vera e propria --- */
.role-card > .vc_column-inner > .wpb_wrapper {
  position: relative; /* riferimento per link esteso e freccia */
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  padding-bottom: 2.75rem; /* spazio per la freccia */
  overflow: hidden;
  background: linear-gradient(145deg, #fff, #fbfdff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.role-card .wpb_content_element {
  margin-bottom: 0;
}

/* --- Immagine a tutta larghezza --- */
.role-card .wpb_single_image,
.role-card .vc_figure,
.role-card .vc_single_image-wrapper {
  display: block;
  width: 100%;
  line-height: 0;
}

.role-card .wpb_single_image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
}

/* --- Titolo --- */
.role-card .vc_custom_heading {
  padding: 1.5rem 1.5rem 0.5rem;
}

.role-card h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--tertiary);
}

.role-card h3 a {
  color: inherit;
  text-decoration: none;
}

/* Link esteso: l'intera card è cliccabile */
.role-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* --- Testo --- */
.role-card .wpb_text_column {
  flex: 1 1 auto;
  padding: 0 1.5rem;
  font-size: 13.5px;
  line-height: 1.45;
}

.role-card .wpb_text_column p:last-child {
  margin-bottom: 0;
}

/* --- Freccia in basso a destra, disegnata dal CSS --- */
.role-card:not(.no-link) > .vc_column-inner > .wpb_wrapper::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  bottom: 1rem;
  width: 24px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12' fill='none' stroke='%23312783' stroke-width='1.4'%3E%3Cpath d='M0 6h20M15 1l5 5-5 5'/%3E%3C/svg%3E")
    no-repeat center / contain;
  transition: transform 0.3s ease;
}

/* --- Mobile: alone più leggero --- */
@media (max-width: 767.98px) {
  .role-card > .vc_column-inner::after {
    filter: blur(12px);
  }
}

/* --- Accessibilità: niente animazione se l'utente la disattiva --- */
@media (prefers-reduced-motion: reduce) {
  .role-card > .vc_column-inner::before,
  .role-card > .vc_column-inner::after {
    animation: none;
  }
}

/* ============================================
   FOTO CON ANGOLI ARROTONDATI
   Da mettere nell'Extra class name del Single Image
   img-round-right : solo angoli a destra
   img-round-left  : solo angoli a sinistra
   img-round-all   : tutti gli angoli
   ============================================ */

.img-round-right .vc_single_image-wrapper,
.img-round-left .vc_single_image-wrapper,
.img-round-all .vc_single_image-wrapper {
  overflow: hidden; /* ritaglia l'immagine sugli angoli */
}

.img-round-right img,
.img-round-left img,
.img-round-all img {
  display: block;
}

/* Solo a destra */
.img-round-right .vc_single_image-wrapper,
.img-round-right img {
  border-radius: 0 15px 15px 0;
}

/* Solo a sinistra */
.img-round-left .vc_single_image-wrapper,
.img-round-left img {
  border-radius: 15px 0 0 15px;
}

/* Tutti gli angoli */
.img-round-all .vc_single_image-wrapper,
.img-round-all img {
  border-radius: 15px;
}

/* ============================================
   TEAM CARDS: Management (3+2) e Directors (4+3), senza glowing
   WPBakery: riga interna = team-cards + team-cards--3 | team-cards--4
             (seconda riga Directors: team-cards--second)
             colonna = team-card
   Titoli: team-heading (h2 principale), team-title (h3 di sezione)
   ============================================ */

/* --- Titoli sul fondo scuro (battono la regola globale h3 !important) --- */
.team-heading,
.team-heading * {
  color: #fff !important;
}

.team-heading {
  margin-bottom: 2rem;
}

.team-title,
.team-title * {
  color: #fff !important;
  font-size: 1.2rem;
  font-weight: 600;
}

.team-title {
  margin: 2.5rem 0 1.5rem;
}

/* --- Riga: flex centrato, l'ultima riga di card resta al centro --- */
.team-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: -12px !important;
  margin-right: -12px !important;
}

.team-cards::before,
.team-cards::after {
  display: none !important;
}

/* Seconda riga dei Directors: attaccata alla prima */
.team-cards + .team-cards--second {
  margin-top: -12px;
}

/* --- Colonna: il passo della griglia, lo spazio tra le card è il padding --- */
.team-card.wpb_column {
  display: flex;
  float: none;
  padding: 12px;
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

/* Tablet: 2 per riga */
@media (min-width: 768px) {
  .team-card.wpb_column {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .team-cards--3 > .team-card.wpb_column {
    flex: 0 0 33.3333%;
    width: 33.3333%;
    max-width: 33.3333%;
  }

  .team-cards--4 > .team-card.wpb_column {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
  }

  /* Seconda riga Directors: card larghe come quelle da 4, centrate
     (deve stare dopo --3 per vincere a parità di specificità) */
  .team-cards--second > .team-card.wpb_column {
    flex: 0 0 25%;
    width: 25%;
    max-width: 25%;
  }
}

/* --- La card: .vc_column-inner bianco, angoli arrotondati, foto ritagliata --- */
.team-card > .vc_column-inner {
  width: 100%;
  padding: 0 !important;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.team-card > .vc_column-inner > .wpb_wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card .wpb_content_element {
  margin-bottom: 0;
}

/* --- Foto a tutta larghezza, volto in alto --- */
.team-card .wpb_single_image,
.team-card .vc_figure,
.team-card .vc_single_image-wrapper {
  display: block;
  width: 100%;
  line-height: 0;
}

.team-card .wpb_single_image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center top;
}

/* --- Nome --- */
.team-card .vc_custom_heading {
  padding: 1.25rem 1.25rem 0.5rem;
}

.team-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.25;
  font-weight: 600;
  color: var(--tertiary);
}

/* --- Ruolo (strong) e descrizione --- */
.team-card .wpb_text_column {
  flex: 1 1 auto;
  padding: 0 1.25rem 1.5rem;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

.team-card .wpb_text_column p {
  margin: 0;
}

.team-card .wpb_text_column strong {
  font-weight: 700;
}

.management .team-card.wpb_column {
  padding: 32px;
}

.mission-vision-row {
  background-position: right 75px !important;
}

@media (max-width: 991.98px) {
  .mission-vision-row {
    background-image: none !important;
  }
}

/* ============================================
   BENEFITS ROW: decorazioni (cerchio dietro l'icona + arco nell'angolo)
   Solo grafica: niente HTML aggiuntivo.
   ============================================ */

.benefits-col > .vc_column-inner {
  position: relative;
  overflow: hidden; /* le decorazioni restano dentro i confini di ogni card */
}

/* Cerchio chiaro dietro l'icona (il clearfix WPBakery è display: table: forzo block) */
.benefits-col > .vc_column-inner::before {
  content: "";
  display: block !important;
  position: absolute;
  z-index: 0;
  width: 250px;
  height: 250px;
  /* centro del cerchio = centro dell'icona (padding 1.5rem / 2rem + metà icona 65px) */
  left: calc(1.5rem + 65px - 125px);
  top: calc(2rem + 65px - 125px);
  border-radius: 50%;
  background: rgba(0, 159, 227, 0.07);
  box-shadow: 0 0 0 35px rgba(0, 159, 227, 0.03); /* secondo anello più tenue */*/
  float: none;
  clear: none;
  pointer-events: none;
}

/* Arco (solo tratto) nell'angolo in basso a destra */
.benefits-col > .vc_column-inner::after {
  content: "";
  display: block !important;
  position: absolute;
  z-index: 0;
  right: -38px;
  bottom: -38px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(0, 159, 227, 0.09);
  border-radius: 50%;
  float: none;
  clear: none;
  pointer-events: none;
}

/* Il contenuto sta sopra le decorazioni */
.benefits-col > .vc_column-inner > .wpb_wrapper {
  position: relative;
  z-index: 1;
}

/* Un po' più di respiro tra icona e titolo, come nel design */
.benefits-col h3 {
  margin-top: 1.5rem;
}

/* Mobile/tablet: cerchio più contenuto */
@media (max-width: 767.98px) {
  .benefits-col > .vc_column-inner::before {
    width: 200px;
    height: 200px;
    left: calc(1.5rem + 65px - 100px);
    top: calc(2rem + 65px - 100px);
  }
}

