/*--------------------------------------------------------------
  Studio Milvia Mingozzi - personalizzazioni sul tema Maxbizz (Home Corporate)
  Il tema è scritto per Bootstrap 4: qui raccordiamo Bootstrap 5 (usato dai form WM6)
  e gli elementi specifici del sito.
--------------------------------------------------------------*/
:root {
  --smm-primary: #1a2b4c;
  --smm-secondary: #2b4c7e;
  --smm-detail: #86bbd8;
  --smm-ice: #f4f7fa;
  --smm-accent: var(--smm-secondary);
  --smm-dark: var(--smm-primary);
  --smm-darker: var(--smm-primary);
  --smm-text: #2d3748;
  --smm-heading: var(--smm-primary);
  --smm-light-bg: var(--smm-ice);
}

body {
  font-family: "PT Serif", serif;
  color: var(--smm-text);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Logo testuale ------------------------------------------------ */
.site-logo-text {
  display: inline-flex;
  flex-direction: column;
  padding: 22px 0;
}
.site-logo-text .site-logo-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}
.site-logo-text .site-logo-pre {
  font-family: "PT Serif", serif;
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  color: var(--smm-secondary);
  margin-bottom: 8px;
}
.site-logo-text .site-logo-main {
  font-family: "Great Vibes", cursive;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--smm-primary);
  margin-top: 3px;
}
.site-logo-text-light .site-logo-pre {
  color: var(--smm-detail);
}
.site-logo-text-light .site-logo-main {
  color: #fff;
}
.site-logo-text.footer-logo {
  padding: 0;
  margin-bottom: 25px;
}
.header_mobile .mobile_logo .site-logo-text {
  padding: 14px 0;
}
.header_mobile .mobile_logo .site-logo-pre {
  font-size: 9px;
  margin-bottom: 5px;
}
.header_mobile .mobile_logo .site-logo-main {
  font-size: 36px;
}
/* il tema (.home-coporate) rende bianco il toggle, ma l'header mobile ha sfondo bianco */
.home-coporate .header_mobile .mmenu-toggle button {
  color: var(--smm-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.header_mobile .mmenu-toggle-icon {
  display: block;
  width: 28px;
  height: 20px;
  fill: currentColor;
}

/* Menu mobile -------------------------------------------------- */
body.mmenu-active {
  overflow: hidden;
}
.mmenu-active .mmenu-overlay {
  background: rgba(26, 43, 76, 0.6);
  cursor: pointer;
}
.mmenu-wrapper {
  width: min(86vw, 360px);
  box-shadow: -8px 0 30px rgba(26, 43, 76, 0.18);
  transition: transform 0.3s ease;
}
.mmenu-wrapper .mmenu-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  padding: 0 24px 32px;
}
.mmenu-wrapper .mmenu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 -24px 8px;
  padding: 0 12px 0 24px;
  border-bottom: 1px solid rgba(26, 43, 76, 0.1);
}
.mmenu-wrapper .mmenu-head .site-logo-text {
  padding: 16px 0;
}
.mmenu-wrapper .mmenu-head .site-logo-pre {
  font-size: 8px;
  margin-bottom: 4px;
}
.mmenu-wrapper .mmenu-head .site-logo-main {
  font-size: 30px;
}
.mmenu-wrapper .mmenu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--smm-primary);
}
.mmenu-wrapper .mmenu-close svg {
  width: 18px;
  height: 18px;
}
.mmenu-wrapper .mobile-nav {
  min-width: 0;
}
.mmenu-wrapper .mobile_mainmenu > li {
  border-bottom: 1px solid rgba(26, 43, 76, 0.1);
}
.mmenu-wrapper .mobile_mainmenu li a {
  padding: 15px 50px 15px 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--smm-primary);
  border-bottom: none;
}
.mmenu-wrapper .mobile_mainmenu > li.current-menu-item > a {
  color: var(--smm-secondary);
  box-shadow: inset 3px 0 0 var(--smm-detail);
  padding-left: 14px;
}
.mmenu-wrapper .mobile_mainmenu > li.menu-item-has-children .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  top: 4px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--smm-secondary);
}
.mmenu-wrapper .mobile_mainmenu > li.menu-item-has-children .arrow svg {
  width: 14px;
  height: 10px;
  transition: transform 0.2s ease;
}
.mmenu-wrapper .mobile_mainmenu > li.menu-item-has-children .arrow.active svg {
  transform: rotate(180deg);
}
.mmenu-wrapper .mobile_mainmenu ul {
  margin: 0 0 12px;
  padding: 4px 0 4px 14px;
  border-left: 1px solid var(--smm-detail);
}
.mmenu-wrapper .mobile_mainmenu ul li a {
  padding: 9px 10px;
  font-size: 15px;
  font-weight: 400;
  color: var(--smm-text);
}
.mmenu-wrapper .mobile_mainmenu ul li.current-menu-item a {
  color: var(--smm-secondary);
  font-weight: 700;
}
.mmenu-wrapper .mmenu-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  width: 100%;
}
.mmenu-wrapper .mmenu-contacts {
  margin: auto 0 0;
  padding-top: 28px;
}
.mmenu-wrapper .mmenu-contacts li {
  margin-top: 6px;
}
.mmenu-wrapper .mmenu-contacts a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 15px;
  color: var(--smm-text);
  word-break: break-word;
}
.mmenu-wrapper .mmenu-contacts i {
  flex: 0 0 auto;
  width: 16px;
  color: var(--smm-secondary);
  text-align: center;
}

/* Header ------------------------------------------------------- */
.consulting-topbar {
  padding-top: 12px;
  padding-bottom: 12px;
}
.consulting-topbar .top-list-text {
  font-size: 14px;
}
.consulting-header-main .site-logo {
  padding-top: 18px;
  padding-bottom: 18px;
}
.consulting-header-main .site-logo-text {
  padding: 0;
}
.consulting-topbar .top-list-info a:hover .top-list-text {
  color: var(--smm-detail);
}
.consulting-topbar .top-list-icon {
  color: var(--smm-detail);
}
.consulting-topbar .top-list-icon svg {
  width: 15px;
  height: 15px;
}
.consulting-topbar .top-list-info li:first-child {
  margin-left: 0;
}
.main-navigation ul.menu > li > a,
.mmenu-wrapper .mobile_mainmenu > li > a {
  text-transform: uppercase;
}
.main-navigation ul.menu > li {
  margin: 0 16px;
}
.main-navigation ul.menu > li:first-child {
  margin-left: 0;
}
.main-navigation ul.menu > li:last-child {
  margin-right: 0;
}
.main-navigation ul.menu li a .fa-lock {
  font-size: 12px;
}
.mobile_mainmenu li a .fa-lock {
  font-size: 12px;
}

/* Bottoni ------------------------------------------------------ */
.octf-btn {
  display: inline-block;
  text-transform: uppercase;
  font-weight: 700;
}
.home-coporate .octf-btn.octf-btn-white {
  background-color: #fff;
  border-color: #fff;
  color: var(--smm-dark);
}
.home-coporate .octf-btn.octf-btn-white:hover,
.home-coporate .octf-btn.octf-btn-white:focus {
  background-color: var(--smm-dark);
  border-color: var(--smm-dark);
  color: #fff;
}
/* bottoni generati da ae(): il framework aggiunge classi Bootstrap 5 */
.home-coporate .btn.octf-btn {
  padding: 15px 35px;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.42857;
}

/* Titoli di sezione (Heading del tema) -------------------------- */
.ot-heading > span.ps-0 {
  padding-left: 0 !important;
}
.ot-heading > span.ps-0:before {
  display: none;
}
.main-head {
  font-size: 35px;
  line-height: 1.2;
  color: var(--smm-heading);
}

/* Scala titoli -------------------------------------------------
   Il tema usa h2 a 42px, troppo vicino all'h1 di .page-header .page-title (48/36/30px):
   ogni livello resta sempre più piccolo del titolo di pagina.
   PT Serif ha solo 400 e 700: tutti i titoli restano a 700 (dal tema), la gerarchia è data dalla dimensione. */
h1 {
  letter-spacing: -0.01em;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 24px;
}
h4 {
  font-size: 20px;
}
h5 {
  font-size: 18px;
}
h6 {
  font-size: 16px;
}
/* sottotitolo sotto l'h1 della home: più leggero del titolo che accompagna */
.sub-head {
  font-weight: 400;
}
@media (max-width: 767px) {
  h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 21px;
  }
  h4 {
    font-size: 19px;
  }
}
@media (max-width: 600px) {
  h2 {
    font-size: 24px;
  }
  h3 {
    font-size: 20px;
  }
}

/* Testi da CMS (Htmlarea) --------------------------------------- */
.cms-text h1,
.cms-text h2,
.cms-text h3,
.cms-text h4 {
  font-family: "PT Serif", serif;
  color: var(--smm-heading);
  line-height: 1.25;
}
.cms-text h1 {
  font-size: 42px;
  margin-bottom: 20px;
}
.cms-text h2 {
  font-size: 32px;
  margin: 35px 0 18px;
}
.cms-text h3 {
  font-size: 22px;
  margin: 28px 0 12px;
}
.cms-text > :first-child {
  margin-top: 0;
}
.cms-text p,
.cms-text li {
  font-size: 16px;
  line-height: 1.5;
}
.cms-text ul {
  padding-left: 20px;
}
.cms-text a {
  color: var(--smm-accent);
  font-weight: 700;
}
.cms-text-light,
.cms-text-light p,
.cms-text-light li {
  color: #afc1ce;
}
.cms-text-light h1,
.cms-text-light h2,
.cms-text-light h3,
.cms-text-light strong {
  color: #fff;
}
.page-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--smm-dark);
  font-weight: 700;
}

/* Sezioni generiche --------------------------------------------- */
.page-section {
  padding: 100px 0;
}
.page-section + .page-section {
  padding-top: 0;
}
@media (max-width: 767px) {
  .page-section {
    padding: 60px 0;
  }
  .main-head {
    font-size: 30px;
  }
  .cms-text h1 {
    font-size: 32px;
  }
  .cms-text h2 {
    font-size: 26px;
  }
}
@media (max-width: 600px) {
  .main-head {
    font-size: 26px;
  }
  .cms-text h2 {
    font-size: 24px;
  }
}

/* Testata pagine interne ---------------------------------------- */
.page-header {
  position: relative;
  height: 340px;
  background-color: var(--smm-dark);
  background-image: linear-gradient(120deg, var(--smm-darker) 0%, var(--smm-dark) 60%, #2b4c7e 100%);
}
/* Cover in scala di grigi: il blend "luminosity" su un fondo neutro azzera la saturazione dell'immagine */
.page-header.has-image {
  background-color: #808080;
  background-blend-mode: luminosity;
}
.page-header.has-image:before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 37, 72, 0.65);
}
.page-header .container {
  position: relative;
  z-index: 1;
}
.page-header .page-title {
  color: #fff;
  font-weight: 700;
}
.page-header .breadcrumbs {
  padding-left: 0;
  margin-top: 6px;
}

/* Banner home --------------------------------------------------- */
.coporate-banner {
  padding: 170px 0 200px;
  background-color: var(--smm-light-bg);
  background-image: linear-gradient(115deg, #ffffff 0%, var(--smm-light-bg) 55%, #e3ebf1 100%);
}
.coporate-banner .banner-title {
  font-family: "PT Serif", serif;
  font-size: 60px;
  line-height: 1.2;
  color: var(--smm-heading);
  font-weight: 700;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
}
.coporate-banner .icon-box-2 .icon-main {
  text-align: center;
  color: var(--smm-accent);
  font-size: 20px;
}
.coporate-banner .icon-box-2 {
  margin-left: 0;
}
.coporate-banner .icon-box p {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .coporate-banner {
    padding: 90px 0 110px;
  }
  .coporate-banner .banner-title {
    font-size: 38px;
  }
}

/* Slider home (Revolution Slider, come index.html del template) - */
/* Prima dell'avvio di Revolution: spazio riservato e prima immagine già visibile (sfondo inline) con il velo blu */
.home-slider {
  background-color: #082548;
  background-position: center;
  background-size: cover;
}
.home-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 37, 72, 0.65);
  pointer-events: none;
}
.home-slider .rev_slider:not(.revslider-initialised) {
  height: 870px;
}
@media (max-width: 1239px) {
  .home-slider .rev_slider:not(.revslider-initialised) {
    height: 768px;
  }
}
@media (max-width: 1023px) {
  .home-slider .rev_slider:not(.revslider-initialised) {
    height: 600px;
  }
}
/* Velo blu sulle foto, lo stesso delle testate delle pagine interne */
.home-slider .slotholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 37, 72, 0.65);
  pointer-events: none;
}
/* Il template sovrascrive le icone delle frecce con un segnaposto: si ripristinano quelle revicons */
.home-slider .custom.tparrows.tp-leftarrow:before {
  content: "\e824";
}
.home-slider .custom.tparrows.tp-rightarrow:before {
  content: "\e825";
}
.home-slider .home-slide-caption {
  color: #fff;
  white-space: normal !important;
}
.home-slider .slide-kicker {
  margin-bottom: 24px;
}
.home-slider .slide-kicker .slide-rev-subtitle {
  display: inline-block;
  padding: 0 10px;
  color: #fff;
}
.home-slider .slide-title {
  margin: 0 0 20px;
  font-family: "PT Serif", serif !important;
  font-size: 72px !important;
  font-weight: 700 !important;
  line-height: 80px !important;
  color: #fff;
}
.home-slider .slide-text {
  margin-bottom: 40px;
  font-family: "PT Serif", serif !important;
  font-size: 18px !important;
  line-height: 32px !important;
  color: #fff;
}
.home-slider .slide-text p:last-child {
  margin-bottom: 0;
}
.home-slider .slide-buttons .octf-btn {
  line-height: 18px !important;
}
/* Entrata a cascata dei testi quando la slide diventa attiva (come i layer del template) */
.home-slider .home-slide-caption > * {
  opacity: 0;
  transform: translateY(60px);
}
.home-slider .active-revslide .home-slide-caption > * {
  opacity: 1;
  transform: none;
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.home-slider .active-revslide .slide-kicker {
  transition-delay: 0.6s;
}
.home-slider .active-revslide .slide-title {
  transition-delay: 0.8s;
}
.home-slider .active-revslide .slide-text {
  transition-delay: 1.1s;
}
.home-slider .active-revslide .slide-buttons {
  transition-delay: 1.3s;
  transition-duration: 0.6s;
}
/* Prima slide al caricamento: testi visibili subito, senza attese */
.home-slider-intro .home-slide-caption > *,
.home-slider-intro .active-revslide .home-slide-caption > * {
  opacity: 1;
  transform: none;
  transition: none;
}
@media (max-width: 1240px) {
  .home-slider .slide-title {
    font-size: 64px !important;
    line-height: 70px !important;
  }
  .home-slider .slide-text {
    font-size: 16px !important;
    line-height: 28px !important;
  }
}
@media (max-width: 1023px) {
  .home-slider .slide-kicker {
    display: none;
  }
  .home-slider .slide-title {
    font-size: 42px !important;
    line-height: 50px !important;
  }
  .home-slider .slide-text {
    margin-bottom: 30px;
    font-size: 14px !important;
    line-height: 24px !important;
  }
}
@media (max-width: 767px) {
  /* Revolution fissa larghezza, min-width e max-width del layer in linea: lo si limita allo schermo */
  .home-slider .home-slide-caption {
    width: calc(100vw - 30px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 30px) !important;
  }
  .home-slider .slide-title {
    font-size: 32px !important;
    line-height: 40px !important;
  }
  .home-slider .slide-text {
    font-size: 12px !important;
    line-height: 24px !important;
  }
}

/* Presentazione home / pagine ----------------------------------- */
.home-intro {
  padding: 120px 0 100px;
}
.home-intro-image img,
.about-img img,
.coporate-form-image img {
  border-radius: 5px;
  width: 100%;
  object-fit: cover;
}
/* Slider about: immagini sovrapposte a dissolvenza, la prima dà l'altezza */
.about-img-slider {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}
.about-img-slider img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.about-img-slider img:first-child {
  position: relative;
}
.about-img-slider img.active {
  opacity: 1;
}
.coporate-mkt.home-values,
.coporate-mkt.page-dark-section {
  margin-top: 0;
  padding: 100px 0;
  background-color: var(--smm-dark);
}
/* Velo blu sopra la foto: l'immagine si intravede appena */
.coporate-mkt {
  background-image: linear-gradient(rgba(26, 43, 76, 0.9), rgba(26, 43, 76, 0.9)), url(/immagini/image-bg.webp);
}
.home-values-cta {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}
.home-values-cta .octf-btn {
  padding: 18px 45px;
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.home-values-cta .octf-btn:hover,
.home-values-cta .octf-btn:focus {
  transform: translateY(-3px);
}
.home-news {
  padding: 100px 0;
}

/* About - metodo dello studio ----------------------------------- */
.page-section.about-method {
  padding: 100px 0;
  background-color: var(--smm-light-bg);
  border-top: 1px solid #e4e8ec;
}
.about-method-head {
  position: sticky;
  top: 120px;
}
.about-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 25px;
  border-radius: 50%;
  background-color: var(--smm-accent);
  font-size: 26px;
  color: #fff;
}
.about-method-head .main-head {
  position: relative;
  margin: 0;
  padding-bottom: 25px;
}
.about-method-head .main-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--smm-accent);
}
.about-method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-method-step {
  position: relative;
  display: flex;
  gap: 30px;
  padding-bottom: 40px;
}
.about-method-step:last-child {
  padding-bottom: 0;
}
/* linea verticale che collega i passaggi */
.about-method-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 0;
  left: 29px;
  width: 2px;
  background-color: #dbe2e8;
}
.about-method-num {
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 2px solid var(--smm-accent);
  border-radius: 50%;
  background-color: #fff;
  font-family: "PT Serif", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--smm-dark);
}
.about-method-text {
  flex: 1 1 auto;
  padding: 25px 30px;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.06);
  font-size: 17px;
  line-height: 1.7;
  color: var(--smm-text);
}
.about-method-text strong {
  color: var(--smm-dark);
}
@media (max-width: 991px) {
  .about-method-head {
    position: static;
  }
}
@media (max-width: 767px) {
  .page-section.about-method {
    padding: 60px 0;
  }
  .about-method-step {
    gap: 18px;
    padding-bottom: 30px;
  }
  .about-method-step:not(:last-child)::before {
    top: 46px;
    left: 22px;
  }
  .about-method-num {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: 15px;
  }
  .about-method-text {
    padding: 20px;
    font-size: 16px;
  }
}

/* Servizi ------------------------------------------------------- */
.coporate-service-box .icon-box {
  display: block;
  padding: 45px 30px;
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.08);
}
.coporate-service-box .icon-box .icon-main {
  position: relative;
  display: inline-block;
  font-size: 50px;
  line-height: 1;
  color: var(--smm-accent);
  margin-bottom: 25px;
}
.coporate-service-box .icon-box .title-box {
  font-size: 20px;
  color: var(--smm-dark);
  margin-bottom: 12px;
}
.coporate-service-box .icon-box .link-details {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--smm-accent);
}
.coporate-service-box .icon-box:hover .title-box {
  color: #fff;
}
.coporate-service-box .icon-box:hover p {
  color: #afc1ce;
}

/* Sidebar (dettaglio servizio, area riservata) ------------------ */
.widget-area .widget {
  margin-bottom: 40px;
}
.widget-area .widget-title {
  font-family: "PT Serif", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--smm-dark);
  text-transform: uppercase;
  margin-bottom: 20px;
}
@media (min-width: 992px) {
  .widget-area-sticky {
    position: sticky;
    top: 30px;
  }
}
/* lista servizi: il tema rende i link inline-block, qui li vogliamo a tutta larghezza */
.widget-area .widget ul.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget-area .widget ul.services-list > li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}
.widget-area .widget ul.services-list > li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: 100%;
  padding: 16px 20px;
  border-left: 3px solid transparent;
  border-radius: 5px;
  background-color: var(--smm-light-bg);
  color: var(--smm-dark);
  font-weight: 700;
  transition: all 0.3s ease;
}
.widget-area .widget ul.services-list > li a i {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--smm-detail);
  transition: transform 0.3s ease, color 0.3s ease;
}
.widget-area .widget ul.services-list > li a:hover {
  border-left-color: var(--smm-detail);
  background-color: #e8eef5;
  color: var(--smm-accent);
}
.widget-area .widget ul.services-list > li a:hover i {
  transform: translateX(4px);
  color: var(--smm-accent);
}
.widget-area .widget ul.services-list > li.current-menu-item a {
  border-left-color: var(--smm-detail);
  background-color: var(--smm-accent);
  color: #fff;
}
.widget-area .widget ul.services-list > li.current-menu-item a i {
  color: #fff;
}
.widget-area .widget ul.services-list > li a:focus-visible {
  outline: 2px solid var(--smm-accent);
  outline-offset: 2px;
}

/* box contatti */
.widget-contact-box {
  position: relative;
  overflow: hidden;
  padding: 40px 35px;
  border-radius: 5px;
  background-color: var(--smm-dark);
  background-image: linear-gradient(135deg, var(--smm-primary) 0%, var(--smm-secondary) 100%);
  color: #afc1ce;
}
.widget-contact-box::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 30px solid rgba(134, 187, 216, 0.12);
  pointer-events: none;
}
.widget-contact-box > * {
  position: relative;
  z-index: 1;
}
.widget-contact-box .widget-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(134, 187, 216, 0.15);
  color: var(--smm-detail);
  font-size: 22px;
}
.widget-contact-box .widget-contact-title {
  font-family: "PT Serif", serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.widget-contact-box .widget-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.widget-area .widget.widget-contact-box .widget-contact-list > li {
  margin-bottom: 12px;
  font-size: 16px;
}
.widget-area .widget.widget-contact-box .widget-contact-list > li a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  word-break: break-word;
}
.widget-area .widget.widget-contact-box .widget-contact-list > li a:hover {
  color: var(--smm-detail);
}
.widget-contact-box .widget-contact-list i {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--smm-detail);
  font-size: 14px;
}
.widget-contact-box a.octf-btn {
  display: block;
  text-align: center;
}
.widget-contact-box .widget-contact-title:has(+ .widget-contact-text) {
  margin-bottom: 12px;
}
.widget-contact-box .widget-contact-text {
  margin-bottom: 25px;
  font-size: 15px;
  line-height: 1.6;
  color: #c9d6e3;
}
.widget-contact-box .widget-contact-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.widget-contact-box .widget-contact-cta i {
  margin-right: 0;
  transition: transform 0.3s ease;
}
.widget-contact-box .widget-contact-cta:hover i,
.widget-contact-box .widget-contact-cta:focus i {
  transform: translateX(4px);
}
.home-coporate .widget-contact-box .octf-btn.octf-btn-white:hover,
.home-coporate .widget-contact-box .octf-btn.octf-btn-white:focus {
  background-color: var(--smm-detail);
  border-color: var(--smm-detail);
  color: var(--smm-primary);
}

/* Documenti e gallerie ------------------------------------------ */
.document-list {
  list-style: none;
  padding: 0;
}
.document-list li a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  margin-bottom: 10px;
  border: 1px solid #e3e7ea;
  border-radius: 5px;
  background-color: #fff;
  color: var(--smm-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.document-list .document-icon {
  flex-shrink: 0;
  font-size: 32px;
  color: var(--smm-accent);
}
.document-list .document-ext-pdf .document-icon {
  color: #d93025;
}
.document-list .document-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.document-list .document-name {
  font-weight: 700;
  line-height: 1.3;
}
.document-list .document-meta {
  font-size: 13px;
  color: var(--smm-text);
}
.document-list .document-download {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--smm-accent);
}
.document-list li a:hover {
  border-color: var(--smm-accent);
  box-shadow: 0 4px 14px rgba(26, 43, 76, 0.08);
}
.image-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 5px;
}

.box-gallery {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 5px;
}

.box-gallery a {
  display: block;
  width: 100%;
  height: 100%;
}

.box-gallery a.d-none {
  display: none !important;
}

.image-gallery.box-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
  transition: transform 0.5s ease;
}

.box-gallery a:hover img {
  transform: scale(1.03);
}

.button-gallery {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  padding: 6px 14px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.85rem;
  pointer-events: none;
}

/* Contatti e form ----------------------------------------------- */
.contact-info-box .icon-box {
  margin-bottom: 30px;
}
.contact-info-box .icon-box .icon-main {
  width: 56px;
  height: 56px;
  line-height: 56px;
  text-align: center;
  border-radius: 50%;
  background-color: rgba(43, 76, 126, 0.1);
  color: var(--smm-accent);
  font-size: 20px;
  margin-bottom: 0;
}
.contact-info-box .icon-box .icon-main i {
  font-size: 20px;
  line-height: 56px;
}
.contact-info-box .icon-box .content-box {
  margin-left: 76px;
}
.contact-info-box .icon-box .title-box {
  font-family: "PT Serif", serif;
  font-weight: 700;
  color: var(--smm-dark);
  margin-bottom: 4px;
}
.contact-info-box .icon-box .title-box a {
  color: var(--smm-dark);
}
.contact-info-box .icon-box p:last-child {
  margin-bottom: 0;
}
.contact-form-section {
  padding-bottom: 100px;
}
.coporate-form-wrap.ms-0 {
  margin-left: 0 !important;
}
@media (max-width: 991px) {
  .coporate-form-wrap {
    margin: 0;
    padding: 40px 25px;
  }
}
/* campi fe(): form-floating di Bootstrap 5 sopra gli stili input del tema */
.site-form .form-floating > .form-control {
  height: calc(3.5rem + 2px);
  padding: 1rem 1rem 0.25rem;
  border-radius: 5px;
  font-size: 15px;
  border-color: #95A2AC;
  color: #2D3748;
}
.site-form .form-floating > textarea.form-control {
  height: 150px;
  padding-top: 1.6rem;
}
.site-form .form-floating > label {
  color: #8a8c94;
}
.site-form .form-control:focus {
  border-color: var(--smm-accent);
  box-shadow: 0 0 0 0.2rem rgba(43, 76, 126, 0.2);
}
.site-form .form-check-input:checked {
  background-color: var(--smm-accent);
  border-color: var(--smm-accent);
}
.site-form .gdpr-link {
  color: var(--smm-accent);
  cursor: pointer;
}
/* checkbox fe(): flex al posto del float di Bootstrap, così su mobile il quadratino resta allineato alla prima riga della label */
.site-form .form-check {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-left: 0;
}
.site-form .form-check .form-check-input {
  float: none;
  flex-shrink: 0;
  margin: 2px 0 0 0;
}
.site-form .form-check .form-check-label {
  flex: 1;
  line-height: 24px;
}
.site-form .form-check .invalid-feedback {
  flex-basis: 100%;
}

/* Area riservata ------------------------------------------------ */
.restricted-forgot-password .btn-link {
  color: var(--smm-accent);
  font-weight: 700;
  text-decoration: none;
}
.widget-contact-box .widget-contact-title {
  margin-bottom: 20px;
}
/* bottone di logout generato da ae() */
.widget-contact-box button.octf-btn {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid #fff;
  background-color: #fff;
  color: var(--smm-dark);
}
.widget-contact-box button.octf-btn:hover,
.widget-contact-box button.octf-btn:focus {
  border-color: var(--smm-accent);
  background-color: var(--smm-accent);
  color: #fff;
}

/* Thank you / 404 ----------------------------------------------- */
.thankyou-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  margin-bottom: 25px;
  border-radius: 50%;
  background-color: rgba(43, 76, 126, 0.12);
  color: var(--smm-accent);
  font-size: 36px;
}
.error-404-code {
  font-family: "PT Serif", serif;
  font-size: 140px;
  font-weight: 700;
  line-height: 1;
  color: var(--smm-accent);
  margin-bottom: 10px;
}

/* News ---------------------------------------------------------- */
.post-box .entry-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.post-box .entry-title {
  font-size: 20px;
  line-height: 1.35;
}
.blog-post .entry-media img {
  width: 100%;
  border-radius: 5px;
}

/* Pager WM6 ----------------------------------------------------- */
.pager {
  margin-top: 30px;
  gap: 12px;
}
.pager .pagination {
  gap: 5px;
  margin-bottom: 0;
}
.pager .pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-family: "PT Serif", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--smm-heading);
  background: #fff;
  border: 1px solid #e7e7e7;
  border-radius: 3px;
  box-shadow: none;
  transition: all 0.3s ease;
}
.pager .pagination .page-link .material-symbols-rounded {
  width: 1em;
  overflow: hidden;
  flex-shrink: 0;
  font-size: 20px;
}
.pager .pagination .page-link:hover,
.pager .pagination .page-link:focus-visible,
.pager .pagination .page-item.active .page-link {
  background-color: var(--smm-accent);
  border-color: var(--smm-accent);
  color: #fff;
}
.pager .pagination .page-item.active .page-link span {
  margin-right: 4px;
}
.pager .pagination .page-item.disabled .page-link {
  color: #c4c6cc;
  background: #fff;
  border-color: #e7e7e7;
  pointer-events: none;
}
.pager small {
  color: var(--smm-text);
  font-size: 14px;
}

/* CTA e footer -------------------------------------------------- */
.coporate-cta {
  position: relative;
  z-index: 2;
}
.coporate-icon-cta .cta-title {
  font-family: "PT Serif", serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 8px;
}
.coporate-icon-cta .cta-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}
@media (max-width: 767px) {
  .coporate-icon-cta {
    padding: 40px 30px;
  }
  .coporate-icon-cta .cta-title {
    font-size: 24px;
  }
}
.site-footer.coporate-footer.no-cta {
  padding-top: 100px;
}
.coporate-footer .footer-contact-icon {
  color: var(--smm-detail);
  font-size: 20px;
  min-width: 24px;
}
.coporate-footer .footer-contact-label {
  font-family: "PT Serif", serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.coporate-footer .footer-contact-label a,
.coporate-footer .footer-contact-desc p a,
.coporate-footer .copyright-text a {
  color: #fff;
}
.coporate-footer .footer-contact-label a:hover,
.coporate-footer .footer-contact-desc p a:hover,
.coporate-footer .copyright-text a:hover {
  color: var(--smm-detail);
}
.coporate-footer .footer-contact-desc p {
  margin-bottom: 0;
}
.footer-menu {
  list-style: none;
  padding: 0;
  columns: 2;
}
.footer-menu li {
  margin-bottom: 10px;
}
.footer-menu li a {
  color: #afc1ce;
}
.footer-menu li a:hover,
.footer-menu li.current-menu-item a {
  color: var(--smm-detail);
}
.coporate-footer .copyright-text {
  padding-bottom: 30px;
  margin-bottom: 0;
}
#back-to-top {
  color: #fff;
}


/* CTA a cavallo tra l'ultima sezione e il footer */
.coporate-cta {
  margin-top: -100px;
  margin-bottom: 0;
  background: linear-gradient(to bottom, transparent 100px, var(--smm-darker) 100px);
}
.coporate-icon-cta {
  min-height: 200px;
  display: flex;
  align-items: center;
}
.coporate-icon-cta > .row {
  width: 100%;
}
.site-footer.coporate-footer {
  padding-top: 90px;
}
.coporate-banner .icon-box-2 .icon-main i {
  font-size: 20px;
  line-height: 56px;
}

/* About - esperienza */
.about-experience {
  background-color: var(--smm-dark);
}
.about-experience .main-head {
  margin-bottom: 25px;
}
.about-experience .team-skill-right {
  align-self: stretch;
  background-position: center;
}
@media (min-width: 993px) {
  .about-experience .team-skill-content {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}
@media (max-width: 1199px) {
  .about-experience .team-skill-content {
    background-color: transparent;
  }
}

/* About - invito al contatto */
/* padding-bottom: 100px extra per compensare la CTA del footer che sale di 100px */
.page-section.about-cta {
  padding-top: 100px;
  padding-bottom: 200px;
}
.about-cta-box {
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid #e4e8ec;
  border-radius: 5px;
  background-color: #fff;
}
.about-cta-box::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background-color: var(--smm-accent);
  z-index: 1;
}
.about-cta-image {
  flex: 0 0 40%;
  min-height: 380px;
  background-size: cover;
  background-position: center;
}
.about-cta-body {
  flex: 1 1 auto;
  padding: 55px 60px;
}
.about-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 25px;
  border: 1px solid var(--smm-accent);
  border-radius: 50%;
  color: var(--smm-accent);
  font-size: 22px;
}
.about-cta-text {
  max-width: 820px;
  margin-bottom: 30px;
}
.about-cta-text > :last-child {
  margin-bottom: 0;
}
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px 30px;
  padding-top: 30px;
  border-top: 1px solid #e4e8ec;
}
.about-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--smm-dark);
}
.about-cta-link i {
  color: var(--smm-accent);
  font-size: 14px;
}
.about-cta-link:hover {
  color: var(--smm-accent);
}
@media (max-width: 991px) {
  .about-cta-box {
    flex-direction: column;
  }
  .about-cta-image {
    flex-basis: auto;
    min-height: 280px;
  }
}
@media (max-width: 767px) {
  .page-section.about-cta {
    padding-top: 60px;
    padding-bottom: 160px;
  }
  .about-cta-body {
    padding: 40px 25px 40px 30px;
  }
}

/* Servizi: box stile "consulting" con icona flaticon */
.servizi-intro-text > *:last-child {
  margin-bottom: 0;
}
.consulting-icon-box.icon-box .title-box {
  font-family: inherit;
}
.consulting-icon-box.icon-box p {
  font-family: inherit;
}
.consulting-icon-box.icon-box .icon-main i {
  line-height: 65px;
  font-size: 32px;
  color: #2b4c7e;
}
.consulting-icon-box:hover .icon-main i {
  color: #fff;
}

/* Home - consulenza: box in griglia 2x2 senza icone */
.home-consulting-priorities {
  padding: 120px 0;
}
.home-consulting-intro > *:last-child {
  margin-bottom: 0;
}
.home-consulting-box {
  position: relative;
  height: 100%;
  padding: 35px 30px 30px;
  background-color: var(--smm-light-bg);
  border-top: 3px solid var(--smm-detail);
  border-radius: 4px;
  transition: background-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.home-consulting-box:hover {
  background-color: #fff;
  box-shadow: 0 15px 40px rgba(26, 43, 76, .1);
  transform: translateY(-4px);
}
.home-consulting-num {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--smm-accent);
}
.home-consulting-title {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--smm-heading);
}
.home-consulting-text p {
  margin-bottom: 0;
}
.home-consulting-text p + p {
  margin-top: 10px;
}
@media (max-width: 767px) {
  .home-consulting-priorities {
    padding: 80px 0;
  }
  .home-consulting-box {
    padding: 30px 25px 25px;
  }
}

.form-check-input { 
  border: 1px solid #95A2AC;
  width: 20px;
  height: 20px;
  background-color: #fff;
  cursor: pointer;
  margin-right: 10px;
}/* Form contatti dentro la colonna del dettaglio servizio: padding ridotto rispetto alla sezione a tutta larghezza */
.coporate-form-wrap.contact-form-inline {
  padding: 45px 40px;
}
@media (max-width: 991px) {
  .coporate-form-wrap.contact-form-inline {
    padding: 35px 20px;
  }
}

/* Footer centrato solo su mobile */
@media (max-width: 767px) {
  .coporate-footer .footer-contact {
    flex-direction: column;
    align-items: center;
  }
  .coporate-footer .footer-contact-icon {
    margin-right: 0;
    margin-bottom: 8px;
    justify-content: center;
  }
  .coporate-footer .footer-contact-desc {
    text-align: center;
  }
  .coporate-footer .footer-menu {
    columns: auto;
  }
}

/* Accessibilità (Lighthouse): contrasto sufficiente per occhielli, date e link nel testo */
.home-coporate .ot-heading > span {
  color: #5f6b75;
}
.home-coporate .coporate-mkt .ot-heading > span,
.home-coporate .team-skill-block .ot-heading > span {
  color: #ccd5db;
}
.entry-meta .posted-on time {
  color: #666;
}
.coporate-footer .copyright-text a {
  text-decoration: underline;
}
/* style.css punta a images/close.png che non esiste (404) */
.site-overlay {
  cursor: default;
}


@media (max-width: 767px) {
.mmenu-wrapper .mobile_mainmenu li a { 
  font-size: 15px; 
  font-weight: 500;
  padding: 10px 15px;
}
}