@charset "UTF-8";

/* ------------------------------------------ */
/*	MENU HEADER - Skill Donor */
/* ------------------------------------------ */

/* INIZIO VARIABILI LOCALI (solo menu) */
/* Altezza header: 100px | scroll: 72px */
/* FINE VARIABILI LOCALI */

/* INIZIO BODY OFFSET */
body.sd-has-header {
  padding-top: 0;
}

.sd-header-spacer {
  height: 100px;
  transition: height 0.3s ease;
}

.sd-header.is-scrolled + .sd-header-spacer {
  height: 72px;
}

body.pagina-home .sd-header-spacer,
body.pagina-home .sd-header.is-scrolled + .sd-header-spacer {
  height: 0;
}
/* FINE BODY OFFSET */

/* INIZIO HEADER BASE */
.sd-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  transition: box-shadow 0.3s ease;
}

body.pagina-home .sd-header:not(.is-scrolled) {
  background-color: #f8f8f8;
}

body.pagina-home .sd-header.is-scrolled {
  background-color: #fff;
}

.sd-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sd-header__inner {
  max-width: 1320px;
  margin: 0 auto;
}

.sd-header__bar {
  display: grid;
  grid-template-columns: 84px 1fr 84px;
  align-items: center;
  min-height: 100px;
  transition: min-height 0.3s ease;
}

.sd-header.is-scrolled .sd-header__bar {
  min-height: 72px;
}
/* FINE HEADER BASE */

/* INIZIO LOGO */
.sd-logo {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.sd-logo__img {
  display: block;
  width: auto;
  height: 70px;
  max-width: 280px;
  object-fit: contain;
  transition: height 0.3s ease;
}

.sd-header.is-scrolled .sd-logo__img {
  height: 56px;
}
/* FINE LOGO */

/* INIZIO TOGGLE MOBILE */
.sd-nav-toggle {
  grid-column: 1;
  justify-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.sd-nav-toggle__line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #000;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sd-nav-toggle.is-open .sd-nav-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sd-nav-toggle.is-open .sd-nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.sd-nav-toggle.is-open .sd-nav-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* FINE TOGGLE MOBILE */

/* INIZIO MENU DESKTOP */
.sd-nav--desktop {
  display: none;
}

.sd-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-nav__link {
  display: block;
  font-family: 'Fira Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.sd-nav__item:hover > .sd-nav__link,
.sd-nav__item.is-active > .sd-nav__link {
  color: #FF4900;
}
/* FINE MENU DESKTOP */

/* INIZIO PULSANTE LOGIN HEADER */
.sd-login-btn {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 84px;
  min-height: 40px;
  padding: 9px 14px;
  font-family: 'Fira Sans', sans-serif;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
  color: #fff;
  background-color: #000;
  border: 1px solid #000;
  border-radius: 10px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.sd-login-btn i {
  font-size: 13px;
  line-height: 13px;
}

.sd-login-btn:hover {
  color: #FF4900;
  background-color: #fff;
  border-color: #000;
  text-decoration: none;
}
/* FINE PULSANTE LOGIN HEADER */

@media (max-width: 575.98px) {
  .sd-header__bar {
    grid-template-columns: 76px 1fr 76px;
  }

  .sd-logo__img {
    height: 56px;
    max-width: 140px;
  }

  .sd-header.is-scrolled .sd-logo__img {
    height: 48px;
  }

  .sd-login-btn {
    min-width: 76px;
    min-height: 38px;
    gap: 5px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .sd-login-btn i {
    font-size: 12px;
  }
}

/* INIZIO SOTTOMENU DESKTOP */
.sd-nav__item--has-dropdown {
  position: relative;
}

/* Ponte invisibile: mantiene l'hover mentre il mouse scende verso il dropdown */
.sd-nav__item--has-dropdown::after {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: 100%;
  height: 18px;
  z-index: 1039;
}

.sd-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  margin: 0;
  padding: 10px 0 0 0;
  list-style: none;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1040;
}

.sd-nav__item--has-dropdown:hover .sd-dropdown,
.sd-nav__item--has-dropdown:focus-within .sd-dropdown,
.sd-nav__item--has-dropdown.is-dropdown-open .sd-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sd-dropdown__item {
  background-color: #fff;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}

.sd-dropdown__item:first-child {
  border-top: 2px solid #FF4900;
}

.sd-dropdown__item + .sd-dropdown__item {
  border-top: 1px solid #e5e5e5;
}

.sd-dropdown__item:last-child {
  border-bottom: 1px solid #e5e5e5;
}

.sd-nav__item--has-dropdown:hover .sd-dropdown,
.sd-nav__item--has-dropdown.is-dropdown-open .sd-dropdown {
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.1));
}

.sd-dropdown__link {
  display: block;
  font-family: 'Fira Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  color: #000;
  text-decoration: none;
  padding: 14px 20px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.sd-dropdown__link:hover,
.sd-dropdown__link.is-active {
  color: #FF4900;
  background-color: #fff;
}
/* FINE SOTTOMENU DESKTOP */

/* INIZIO OVERLAY MOBILE */
.sd-nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1045;
}

.sd-nav-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}
/* FINE OVERLAY MOBILE */

/* INIZIO PANNELLO MOBILE */
.sd-mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 88vw;
  height: 100vh;
  height: 100dvh;
  background-color: #fff;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1050;
  overflow-y: auto;
}

.sd-mobile-panel.is-open {
  transform: translateX(0);
}

.sd-mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e0e0e0;
}

.sd-mobile-panel__title {
  font-family: 'Fira Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sd-mobile-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 22px;
  cursor: pointer;
}

.sd-mobile-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sd-mobile-nav__item {
  border-bottom: 1px solid #e0e0e0;
}

.sd-mobile-nav__link,
.sd-mobile-nav__toggle {
  display: flex;
  align-items: center;
  width: 100%;
  font-family: 'Fira Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  text-decoration: none;
  text-align: left;
  padding: 16px 20px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.sd-mobile-nav__link:hover,
.sd-mobile-nav__link.is-active,
.sd-mobile-nav__toggle:hover {
  color: #FF4900;
}

.sd-mobile-nav__arrow {
  margin-left: auto;
  font-size: 12px;
  transition: transform 0.25s ease;
}

.sd-mobile-nav__toggle[aria-expanded="true"] .sd-mobile-nav__arrow {
  transform: rotate(180deg);
}

.sd-mobile-sub {
  margin: 0;
  padding: 0 0 8px 0;
  list-style: none;
  background-color: #fafafa;
}

.sd-mobile-sub[hidden] {
  display: none;
}

.sd-mobile-sub__link {
  display: block;
  font-family: 'Fira Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: #000;
  text-decoration: none;
  padding: 12px 20px 12px 36px;
  border-top: 1px solid #e0e0e0;
  transition: color 0.2s ease;
}

.sd-mobile-sub__link:hover,
.sd-mobile-sub__link.is-active {
  color: #FF4900;
}
/* FINE PANNELLO MOBILE */

/* INIZIO DESKTOP BREAKPOINT */
@media (min-width: 992px) {
  .sd-header__bar {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 30px;
  }

  .sd-nav-toggle {
    display: none;
  }

  .sd-logo {
    grid-column: auto;
    justify-self: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .sd-nav--desktop {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-width: 0;
  }

  .sd-nav__list {
    justify-content: flex-start;
    height: 100%;
  }

  .sd-nav__item {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .sd-login-btn {
    grid-column: auto;
    align-self: center;
    flex-shrink: 0;
    min-width: 102px;
    min-height: 42px;
    padding: 10px 18px;
    font-size: 13px;
  }

  .sd-nav-overlay,
  .sd-mobile-panel {
    display: none !important;
  }
}
/* FINE DESKTOP BREAKPOINT */

/* ------------------------------------------ */
/*	----------------------------------------- */
