﻿@charset "UTF-8";
/*$font-size-base: 1rem;*/
@font-face {
  font-family: "Khand";
  src: url("/fonts/Khand-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Khand";
  src: url("/fonts/Khand-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Khand";
  src: url("/fonts/Khand-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Khand";
  src: url("/fonts/Khand-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: "Khand";
  src: url("/fonts/Khand-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
/*$font-size-base: 1rem;*/
h1 {
  font-family: "Khand", sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.2rem;
  color: #dde3e8;
}

h2:not(.initial) {
  font-family: "Khand", sans-serif;
  font-size: 2.182rem;
  font-weight: 600;
  line-height: 1.02;
  color: #212529;
}

h3:not(.initial) {
  font-family: "Khand", sans-serif;
  font-size: 1.909rem;
  font-weight: 600;
  line-height: 1.02;
  color: #212529;
}

h3.date:not(.initial) {
  font-size: 1.455rem;
  color: #dde3e8;
  letter-spacing: 0.1rem;
}

h4:not(.initial) {
  font-family: "Khand", sans-serif;
  font-size: 1.636rem;
  font-weight: 500;
  line-height: 1.5;
  color: #212529;
}

h5:not(.initial) {
  font-family: "Khand", sans-serif;
  font-size: 1.364rem;
  font-weight: 500;
  line-height: 1.5;
  color: #212529;
}

h6:not(.initial) {
  font-family: "Khand", sans-serif;
  font-size: 1.091rem;
  font-weight: 500;
  line-height: 1.5;
  color: #212529;
}

p:not(.initial) {
  font-family: "Khand", sans-serif;
  /*font-size: $font-size-base;*/
  font-size: clamp(0.7rem, 2vw, 1rem);
  font-weight: 400;
  line-height: 1.75;
  color: #dde3e8;
  margin-bottom: 1rem;
  letter-spacing: 0.1rem;
}

a:not(.initial) {
  font-family: "Khand", sans-serif;
  font-weight: 400;
  color: #007bff;
  text-decoration: none;
  transition: all all 0.3s ease;
}

.text-muted {
  color: #6c757d;
}

.text-large {
  font-size: 1.182rem;
}

.font-light {
  font-weight: 300;
}

.font-bold {
  font-weight: 700;
}

/*$font-size-base: 1rem;*/
.page-content {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
}

.layout {
  position: relative;
  z-index: 400;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: 1.75fr 9.5fr 0.75fr;
}
@media (max-width: 768px) {
  .layout {
    grid-template-columns: 0.5fr 7fr 0.5fr;
    margin-top: 55px;
  }
}

.sidebar-left,
.sidebar-right {
  position: sticky;
  top: 0;
  height: 100svh;
  align-self: start;
  pointer-events: none;
  width: 100%;
  display: flex;
  align-items: center;
}
@media (max-width: 767px) {
  .sidebar-left,
  .sidebar-right {
    display: none;
  }
}
.sidebar-left .placeholder,
.sidebar-right .placeholder {
  width: 100%;
  height: 100%;
  align-self: stretch;
  position: relative;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sidebar-left .placeholder .layout-logo,
.sidebar-right .placeholder .layout-logo {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.sidebar-left {
  grid-column: 1/span 1;
}

.sidebar-right {
  grid-column: 3/span 1;
}

.nav-dot {
  /*	width: 7px;
  height: 7px;
  background-color: white;
  position: absolute;
  top: 50%;
  pointer-events: none;*/
  width: clamp(5px, 1vw, 7px);
  height: clamp(5px, 1vw, 7px);
  background-image: url("/images/ico-four-dot.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.dot-right {
  left: 100%;
  transform: translate(-50%, -50%);
}

.dot-left {
  left: 0;
  transform: translate(-50%, -50%);
}

.page-name-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #cad4da;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  pointer-events: auto;
}
.page-name-container .page-name-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 4.5rem;
  pointer-events: auto;
}
.page-name-container .page-name {
  display: inline-block;
  transform: rotate(90deg);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  font-size: 26px;
}
.page-name-container .scroll-icon {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 16px;
  height: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease, filter 0.25s ease;
}
.page-name-container .scroll-icon img {
  width: 100%;
  height: auto;
  display: block;
}
.page-name-container .scroll-icon-up {
  margin-bottom: 14px;
}
.page-name-container .scroll-icon-up::after {
  content: "";
  width: 38px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  margin-top: 14px;
}
.page-name-container .scroll-icon-down {
  margin-top: 14px;
}
.page-name-container .scroll-icon-down::before {
  content: "";
  width: 38px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}
.page-name-container.scroll-down .scroll-icon-down, .page-name-container.scroll-up .scroll-icon-up {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.page-name-container .scroll-icon:hover {
  filter: brightness(1.5);
  opacity: 1;
}

.sidebar-bottom {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  height: 16px;
  transform: translateX(-50%);
  width: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: "Khand", sans-serif;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  pointer-events: auto;
  color: rgba(177, 189, 200, 0.5);
  border-right: 1px solid rgba(177, 189, 200, 0.5);
  border-left: 1px solid rgba(177, 189, 200, 0.5);
  padding: 0 20px;
}
@media (max-width: 1600px) {
  .sidebar-bottom {
    font-size: 10px;
    gap: 0.5rem;
  }
}
@media (max-width: 1200px) {
  .sidebar-bottom {
    display: none;
  }
}
.sidebar-bottom .item-separator {
  width: 1px;
  height: 16px;
  background-color: rgba(177, 189, 200, 0.5);
}
.sidebar-bottom .dot-separator {
  color: #4c6370;
}
.sidebar-bottom a {
  color: rgba(177, 189, 200, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}
.sidebar-bottom a.active {
  color: rgba(177, 189, 200, 0.75);
  font-weight: 700;
}
.sidebar-bottom a:hover {
  color: #dde3e8;
}

.layout-footer {
  grid-column: 1/-1;
  border-top: 1px solid rgba(97, 122, 135, 0.5);
}

.content-area {
  position: relative;
  width: 100%;
  grid-column: 2/span 1;
}

.content-filet {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: calc(100% - 5vh);
  top: 5vh;
  z-index: 2000; /* garantisce che i filetti stiano sopra il footer */
}

.layout-grid-item-filet {
  position: relative; /* contesto per gli absolute interni */
  z-index: 2000;
  pointer-events: none;
}

.layout-grid-footer {
  grid-column: 1/-1;
  position: relative;
  border-top: 1px solid rgba(221, 227, 232, 0.8); /* colore e trasparenza identici ai filetti */
  z-index: 1; /* rimane sotto i filetti (filetti hanno z-index elevato) */
}

/* Rimuove i bordi interni precedenti sull'area .footer-content per evitare duplicazione */
.app-footer .footer-content {
  border-left: none;
  border-right: none;
}

/*$font-size-base: 1rem;*/
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background-color: transparent;
  box-shadow: none;
  z-index: 1000;
  padding: 0;
  overflow: visible;
}
.app-header .app-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.app-header .brand-logo {
  font-family: "Khand", sans-serif;
  font-size: 1.909rem;
  font-weight: 700;
  color: #007bff;
  text-decoration: none;
  transition: color all 0.3s ease;
}
.app-header .brand-logo:hover {
  color: #0056b3;
}
.app-header .header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.app-header .desktop-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.app-header .desktop-nav .nav-link {
  font-family: "Khand", sans-serif;
  font-size: clamp(0.7rem, 2em, 1rem);
  font-weight: 500;
  color: #212529;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all all 0.3s ease;
  position: relative;
}
.app-header .desktop-nav .nav-link:hover {
  color: #007bff;
  background-color: rgba(0, 123, 255, 0.05);
}
.app-header .desktop-nav .nav-link.active {
  color: #007bff;
  font-weight: 600;
}
.app-header .desktop-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 3px;
  background-color: #007bff;
  border-radius: 2px;
}
@media (max-width: 1200px) {
  .app-header .desktop-nav {
    display: none;
  }
}
.app-header .burger-only {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  left: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  z-index: 10010;
  padding: 0;
}
@media (min-width: 768px) {
  .app-header .burger-only {
    display: block;
  }
}
.app-header .burger-only .hamburger-btn {
  display: flex;
  position: fixed;
  top: 30px;
  width: 59px;
  height: 44px;
  right: 30px;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  padding: 0.5rem;
  background: transparent;
  z-index: 30000;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s ease;
}
.app-header .burger-only .hamburger-btn:focus {
  outline: none;
}
.app-header .burger-only .hamburger-btn .menu-morph-svg {
  display: block;
  width: 59px !important;
  height: 22px !important;
  transition: width 0.18s ease, height 0.18s ease, transform 0.18s ease;
}
.app-header .burger-only .hamburger-btn .menu-morph-svg path {
  stroke-width: 3;
  transition: stroke-width 0.18s ease;
}
.app-header .burger-only .hamburger-btn.active {
  top: 20px;
  transform: scale(1.04);
}
.app-header .burger-only .hamburger-btn.active .menu-morph-svg {
  width: 44px !important;
  height: 44px !important;
}
.app-header .burger-only .hamburger-btn.active .menu-morph-svg path {
  stroke-width: 4;
}
.app-header .burger-only .hamburger-line {
  display: block;
  width: 26px;
  height: 3px;
  background-color: #007bff;
  border-radius: 3px;
  margin: 3px 0;
}
.app-header .mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 70px;
  background: linear-gradient(to bottom, #0a1317 0%, transparent 75% 40%, transparent 100%);
  padding: 0;
  z-index: 10010;
  transform: translateY(0);
  transition: transform 0.3s ease-out;
}
@media (max-width: 767px) {
  .app-header .mobile-header {
    display: block;
  }
}
.app-header .mobile-header img {
  position: absolute;
  top: 20px;
  left: 25px;
  width: 200px;
  height: auto;
  filter: drop-shadow(0 6px 2px #0a1317);
  transition: width 0.25s ease, top 0.25s ease-out, opacity 0.3s ease;
  opacity: 1;
}
.app-header .mobile-header:has(.hamburger-btn.active) img {
  opacity: 0.15;
}
.app-header .mobile-header .hamburger-btn {
  position: absolute;
  top: 25px;
  right: 15px;
  width: 33px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 30000;
}
.app-header .mobile-header .hamburger-btn:focus {
  outline: none;
}
.app-header .mobile-header .hamburger-btn.active .menu-morph-svg {
  width: 24px !important;
  height: 24px !important;
}
.app-header .mobile-header .hamburger-btn.active .menu-morph-svg .m-line {
  stroke-width: 1.25;
}
.app-header .mobile-header .hamburger-btn.active .menu-morph-svg .m-line.top {
  transform: translateY(5.5px) rotate(45deg) scaleX(1.41);
}
.app-header .mobile-header .hamburger-btn.active .menu-morph-svg .m-line.bottom {
  transform: translateY(-5.5px) rotate(-45deg) scaleX(1.41);
}
.app-header .mobile-header .hamburger-btn.active .menu-morph-svg .m-line.middle {
  opacity: 0;
  transform: scaleX(0.2);
}

.hamburger-btn {
  width: 59px !important;
  height: 44px !important;
}
.hamburger-btn svg {
  display: block;
  max-width: none !important;
}
.hamburger-btn .menu-open-svg {
  width: 59px !important;
  height: 22px !important;
  opacity: 1 !important;
}
.hamburger-btn .menu-close-svg {
  width: 44px !important;
  height: 44px !important;
  opacity: 0 !important;
}
.hamburger-btn .menu-morph-svg {
  display: block;
  width: 59px !important;
  height: 22px !important;
  overflow: visible;
}
.hamburger-btn .menu-morph-svg .m-line {
  stroke: #cad4da;
  stroke-width: 1;
  stroke-linecap: round;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease, stroke-width 0.18s ease;
  transform-origin: center;
  transform-box: fill-box;
  will-change: transform, opacity;
}
.hamburger-btn .menu-morph-svg .m-line.top {
  transform: translateY(0);
}
.hamburger-btn .menu-morph-svg .m-line.middle {
  opacity: 1;
}
.hamburger-btn .menu-morph-svg .m-line.bottom {
  transform: translateY(0);
}
.hamburger-btn.active .menu-open-svg {
  opacity: 0 !important;
}
.hamburger-btn.active .menu-close-svg {
  opacity: 1 !important;
}
.hamburger-btn.active .menu-morph-svg {
  width: 59px !important;
  height: 22px !important;
}
.hamburger-btn.active .menu-morph-svg .m-line {
  stroke-width: 1.25;
}
.hamburger-btn.active .menu-morph-svg .m-line.top {
  transform: translateY(8px) rotate(45deg) scaleX(1.41);
}
.hamburger-btn.active .menu-morph-svg .m-line.bottom {
  transform: translateY(-8px) rotate(-45deg) scaleX(1.41);
}
.hamburger-btn.active .menu-morph-svg .m-line.middle {
  opacity: 0;
  transform: scaleX(0.2);
}

.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  background-color: transparent;
  z-index: 999;
  pointer-events: none;
}
.menu-backdrop.active {
  pointer-events: auto;
}

.overlay-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  max-width: none;
  height: 100svh;
  background-color: rgba(15, 28, 33, 0.9);
  color: #ffffff;
  box-shadow: none;
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease-in-out;
  overflow-y: auto;
  padding: 1.5rem 1rem;
  border-radius: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
@media (min-width: 768px) {
  .overlay-menu {
    width: 50vw;
  }
}
.overlay-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.overlay-menu.active .menu-inner {
  transform: translateY(0);
  opacity: 1;
}
.overlay-menu.active .menu-grid-item .menu-link,
.overlay-menu.active .menu-grid-item .menu-desc {
  opacity: 0.6;
  transform: translateY(0);
}
.overlay-menu.active .menu-grid-item.active .menu-link,
.overlay-menu.active .menu-grid-item.active .menu-desc {
  opacity: 1;
}
.overlay-menu .menu-inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 1rem;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  position: relative;
}
.overlay-menu .menu-top {
  margin-bottom: 0;
}
.overlay-menu .menu-logo {
  width: 353px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.95;
}
.overlay-menu .menu-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 11px;
  column-gap: 2rem;
  width: min(720px, 85%);
  align-items: baseline;
  margin: 52px auto 0;
  padding-top: 95px;
}
.overlay-menu .menu-grid::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  height: calc(100% + 50px);
  width: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateX(-50%);
  pointer-events: none;
}
.overlay-menu .menu-grid::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: clamp(5px, 1vw, 7px);
  height: clamp(5px, 1vw, 7px);
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  pointer-events: none;
}
.overlay-menu .menu-grid .menu-link,
.overlay-menu .menu-grid .menu-desc {
  align-self: baseline;
}
.overlay-menu .menu-grid .menu-link {
  font-family: "Khand", sans-serif;
  font-weight: 400;
  color: #cad4da;
  text-decoration: none;
  letter-spacing: 0.1rem;
  display: inline-block;
  text-align: right;
  width: 100%;
}
.overlay-menu .menu-grid .menu-link:hover, .overlay-menu .menu-grid .menu-link:focus {
  outline: none;
}
.overlay-menu .menu-grid .menu-desc {
  font-family: "Khand", sans-serif;
  font-weight: 300;
  color: #cad4da;
  text-align: left;
  width: 100%;
  cursor: pointer;
}
@media (min-width: 768px) {
  .overlay-menu .menu-grid .menu-link {
    font-size: 36px;
  }
  .overlay-menu .menu-grid .menu-desc {
    font-size: 24px;
  }
  .overlay-menu .menu-symbol {
    font-size: 36px;
  }
  .overlay-menu .menu-grid::before {
    height: calc(100% + 80px);
  }
}
.overlay-menu .menu-grid-item {
  display: contents;
}
.overlay-menu .menu-grid-item .menu-link,
.overlay-menu .menu-grid-item .menu-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), color 0.15s ease-in-out;
}
.overlay-menu .menu-grid-item:nth-child(1) .menu-link,
.overlay-menu .menu-grid-item:nth-child(1) .menu-desc {
  transition-delay: 0.23s;
}
.overlay-menu .menu-grid-item:nth-child(2) .menu-link,
.overlay-menu .menu-grid-item:nth-child(2) .menu-desc {
  transition-delay: 0.28s;
}
.overlay-menu .menu-grid-item:nth-child(3) .menu-link,
.overlay-menu .menu-grid-item:nth-child(3) .menu-desc {
  transition-delay: 0.33s;
}
.overlay-menu .menu-grid-item:nth-child(4) .menu-link,
.overlay-menu .menu-grid-item:nth-child(4) .menu-desc {
  transition-delay: 0.38s;
}
.overlay-menu .menu-grid-item:nth-child(5) .menu-link,
.overlay-menu .menu-grid-item:nth-child(5) .menu-desc {
  transition-delay: 0.43s;
}
.overlay-menu .menu-grid-item:nth-child(6) .menu-link,
.overlay-menu .menu-grid-item:nth-child(6) .menu-desc {
  transition-delay: 0.48s;
}
.overlay-menu .menu-grid-item:hover .menu-link,
.overlay-menu .menu-grid-item:hover .menu-desc {
  opacity: 1 !important;
  transform: translateY(0);
  transition-delay: 0s !important;
}
.overlay-menu .menu-symbol {
  color: #4c6370;
  font-family: "Khand", sans-serif;
  font-weight: 400;
}
.overlay-menu .mcolor {
  color: #4c6370;
}
.overlay-menu .menu-bottom-desktop {
  margin-top: 2.5rem;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  justify-content: center;
}
.overlay-menu .menu-bottom-desktop .menu-social {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
}
.overlay-menu .menu-bottom-desktop .menu-social .dot {
  display: inline-block;
  width: clamp(5px, 1vw, 7px);
  height: clamp(5px, 1vw, 7px);
  background-color: #cad4da;
  border-radius: 0;
  margin: 0 0.5rem;
  margin-top: 10px;
}
.overlay-menu .menu-bottom-desktop .menu-social .social-icon {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.overlay-menu .menu-bottom-desktop .menu-social .social:hover .social-icon {
  opacity: 1;
}
.overlay-menu .menu-bottom-desktop .menu-social .social:last-child .social-icon {
  width: 26px;
  height: 25px;
}
.overlay-menu .menu-bottom-mobile {
  display: none;
}
.overlay-menu .menu-bottom-mobile .menu-mobile-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: "Khand", sans-serif;
  font-size: 16px;
  color: #cad4da;
  letter-spacing: 0.08em;
}
.overlay-menu .menu-bottom-mobile .menu-mobile-footer .lang-link {
  color: #cad4da;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s ease;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
}
.overlay-menu .menu-bottom-mobile .menu-mobile-footer .lang-link.active {
  font-weight: 700;
  color: #ffffff;
}
.overlay-menu .menu-bottom-mobile .menu-mobile-footer .lang-link:hover {
  color: #ffffff;
}
.overlay-menu .menu-bottom-mobile .menu-mobile-footer .lang-sep {
  color: #cad4da;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.overlay-menu .menu-bottom-mobile .menu-mobile-footer .dot {
  display: inline-block;
  width: clamp(5px, 1vw, 7px);
  height: clamp(5px, 1vw, 7px);
  background-color: #cad4da;
  border-radius: 0;
  margin: 0 0.5rem;
  line-height: 1;
}
.overlay-menu .menu-bottom-mobile .menu-mobile-footer .social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.overlay-menu .menu-bottom-mobile .menu-mobile-footer .social .social-icon {
  width: 15px;
  height: 15px;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease;
}
.overlay-menu .menu-bottom-mobile .menu-mobile-footer .social:hover .social-icon {
  opacity: 1;
}
@media (max-width: 767px) {
  .overlay-menu .menu-inner {
    padding: 3svh 0;
  }
  .overlay-menu .menu-logo {
    width: 250px;
  }
  .overlay-menu .menu-grid {
    margin: 3svh auto 0;
    padding-top: 6svh;
  }
  .overlay-menu .menu-grid .menu-link {
    font-size: 20px;
  }
  .overlay-menu .menu-grid .menu-desc {
    font-size: 18px;
  }
  .overlay-menu .menu-symbol {
    font-size: 28px;
  }
  .overlay-menu .menu-bottom-desktop {
    display: none;
  }
  .overlay-menu .menu-bottom-mobile {
    display: flex;
    position: static;
    margin-top: 40px;
    margin-right: 9px;
  }
}

.page-content {
  padding-top: 0;
}

/*$font-size-base: 1rem;*/
.app-footer {
  position: relative;
  z-index: 1;
  background-color: rgba(18, 37, 43, 0.95);
  font-family: "Khand", sans-serif;
  color: #cad4da;
  font-size: clamp(0.7rem, 2em, 1rem);
  width: 100%;
  display: grid;
  grid-template-columns: 1.75fr 9.5fr 0.75fr;
  letter-spacing: 0.01em;
  /* square divider between links (5x5 as per image proportion) */
  /* vertical bar divider between links */
}
.app-footer .footer-logo {
  margin-top: 80px;
  grid-area: logo;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 80px;
  width: 100%;
}
.app-footer .footer-logo img {
  width: 300px;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.8;
}
.app-footer .footer-content {
  grid-column: 2;
  padding: 0 40px;
  border-left: 1px solid #1f2f35;
  border-right: 1px solid #1f2f35;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "logo    logo" "main    social" "secondary secondary" "bottom  bottom";
}
.app-footer .footer-row {
  grid-area: main;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
}
.app-footer .footer-row.secondary {
  grid-area: secondary;
  border-top: 1px solid rgba(202, 212, 218, 0.25);
  border-bottom: none;
  padding-top: 0.25rem;
}
.app-footer .footer-sep {
  display: inline-block;
  width: 0.25rem;
  height: 0.25rem;
  background-color: #dde3e8;
  opacity: 0.8;
  margin: 0 0.68em;
  vertical-align: middle;
  line-height: 0;
  text-indent: -9999px;
}
.app-footer .footer-sep-bar {
  color: #4a5a61;
  margin: 0 0.54em;
  vertical-align: middle;
  font-weight: 300;
  font-size: 0.9rem;
}
.app-footer .footer-main {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.app-footer .footer-main .footer-link {
  color: #cad4da;
  text-decoration: none;
  font-size: 25px;
  font-weight: 400;
  transition: color 0.3s;
}
.app-footer .footer-main .footer-link:hover {
  color: #007bff;
}
.app-footer .footer-main .footer-sep {
  width: clamp(5px, 1vw, 7px);
  height: clamp(5px, 1vw, 7px);
  margin: 0 0.5rem;
  opacity: 0.25;
}
.app-footer .footer-social {
  grid-area: social;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
}
.app-footer .footer-social .footer-social-link {
  display: flex;
  align-items: center;
}
.app-footer .footer-social .footer-social-link svg.social-icon {
  height: 1.091rem;
  width: auto;
  fill: #dde3e8;
  transition: transform 0.3s, fill 0.3s;
}
.app-footer .footer-social .footer-social-link svg.social-icon:hover {
  fill: #fff;
  transform: scale(1.1);
}
.app-footer .footer-accessibility {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.85rem;
  font-size: 0.85em;
  color: #7e8a92;
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin-bottom: 5px;
}
.app-footer .accessibility-icon {
  width: 1.15rem;
  height: 1.15rem;
  color: #cad4da;
  flex-shrink: 0;
}
.app-footer .accessibility-text {
  display: block;
  line-height: 1;
}
.app-footer .footer-secondary-link {
  color: #617a87;
  text-decoration: none;
  font-size: 0.73em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
  transition: color 0.3s;
}
.app-footer .footer-secondary-link:hover {
  color: #fff;
}
.app-footer .footer-language-selector {
  margin-left: auto;
  font-size: 16px;
  color: #617a87;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.app-footer .footer-language-selector .lang-link {
  color: #617a87;
  text-decoration: none;
  transition: color 0.3s;
}
.app-footer .footer-language-selector .lang-link.active {
  color: #cad4da;
}
.app-footer .footer-language-selector .lang-link:hover {
  color: #fff;
}
.app-footer .footer-language-selector .lang-sep {
  margin: 0 0.36em;
  color: #4a5a61;
}
.app-footer .footer-bottom {
  grid-area: bottom;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 14px;
  color: #7e8a92;
  font-weight: 400;
  margin-top: 100px;
  padding-bottom: 1.5em;
  letter-spacing: 0.06px;
  opacity: 0.5;
}
.app-footer .footer-bottom b {
  color: #cad4da;
  font-weight: 600;
}
.app-footer .footer-bottom > span {
  display: inline-flex;
  align-items: flex-end;
  line-height: 0.8;
}
.app-footer .footer-bottom .footer-bottom-info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 0.4em;
  line-height: 1.4;
}
.app-footer .footer-bottom .footer-bottom-info.centered {
  width: 100%;
  display: inline-block;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.app-footer .footer-bottom .footer-bottom-chunk {
  white-space: nowrap;
  font-size: 14px;
}
.app-footer .footer-bottom .footer-map-link {
  color: #788287;
  text-decoration: none;
  font-weight: 600;
}
.app-footer .footer-bottom .footer-map-link:hover {
  color: #fff;
}
.app-footer .footer-bottom .footer-map-link .footer-accessibility {
  align-items: flex-end;
}

@media (max-width: 768px) {
  .app-footer--desktop {
    display: none;
  }
}

.app-footer--mobile {
  display: none;
  width: 100%;
  overflow: hidden;
  /*@media (max-width: 375px) {*/
}
@media (max-width: 768px) {
  .app-footer--mobile {
    display: grid;
    grid-template-columns: 0.5fr 7fr 0.5fr;
  }
  .app-footer--mobile .footer-content {
    grid-column: 2;
    min-width: 0;
    overflow: hidden;
    padding: 0 16px;
    border-left: 1px solid #1f2f35;
    border-right: 1px solid #1f2f35;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .app-footer--mobile .footer-logo {
    margin-bottom: 2.5rem;
  }
  .app-footer--mobile .footer-logo img {
    width: 250px;
  }
  .app-footer--mobile .break {
    width: 100%;
    display: block;
  }
  .app-footer--mobile .footer-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 1rem;
    row-gap: 0.6rem;
  }
  .app-footer--mobile .footer-main .footer-link {
    font-size: 14px;
    letter-spacing: 0.02rem;
    text-transform: lowercase;
    line-height: 0.5;
  }
  .app-footer--mobile .footer-secondary-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    row-gap: 0.4rem;
    margin-bottom: 2.5rem;
    border-top: 1px solid rgba(202, 212, 218, 0.15);
    padding-top: 1rem;
    line-height: 0.8;
  }
  .app-footer--mobile .footer-secondary-row .footer-secondary-link {
    font-size: 14px;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    white-space: nowrap;
    color: #cad4da;
    opacity: 0.5;
    text-decoration: none;
    transition: color 0.3s;
  }
  .app-footer--mobile .footer-secondary-row .footer-secondary-link:hover {
    color: #fff;
  }
  .app-footer--mobile .footer-secondary-row .footer-sep-bar {
    font-size: 0.7rem;
    margin: 0 0.3rem;
  }
  .app-footer--mobile .footer-secondary-row .lang-link {
    font-size: 14px;
    letter-spacing: 0.02rem;
    text-transform: uppercase;
    white-space: nowrap;
    color: #cad4da;
    opacity: 0.5;
    text-decoration: none;
    transition: color 0.3s;
  }
  .app-footer--mobile .footer-secondary-row .lang-link.active {
    font-weight: 600;
  }
  .app-footer--mobile .footer-secondary-row .lang-link:hover {
    color: #fff;
  }
  .app-footer--mobile .footer-secondary-row .lang-sep {
    margin: 0 0.2rem;
    opacity: 0.5;
    font-size: 0.7rem;
    color: #cad4da;
  }
  .app-footer--mobile .footer-social {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
    gap: 1rem;
    margin: 0 0 5rem;
    border: none;
    padding: 0;
  }
  .app-footer--mobile .footer-social .footer-sep {
    display: none;
  }
  .app-footer--mobile .footer-social .footer-social-link svg.social-icon {
    height: 1rem;
    width: auto;
    fill: #dde3e8;
    transition: transform 0.3s, fill 0.3s;
  }
  .app-footer--mobile .footer-social .footer-social-link svg.social-icon:hover {
    fill: #fff;
    transform: scale(1.1);
  }
  .app-footer--mobile .footer-bottom {
    display: block;
    font-size: 14px;
    text-align: center;
    margin-top: 0;
    border-bottom: none;
    color: #cad4da;
    opacity: 0.5;
    letter-spacing: 0.06px;
  }
  .app-footer--mobile .footer-bottom b {
    font-weight: 600;
  }
  .app-footer--mobile .footer-bottom span {
    display: block;
    margin-bottom: 0.5rem;
  }
  .app-footer--mobile .footer-bottom .footer-link {
    color: #cad4da;
    font-weight: 700;
  }
  .app-footer--mobile .footer-bottom.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .app-footer--mobile .footer-accessibility {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2.5rem;
    padding-bottom: 50px;
    border-top: 1px solid rgba(202, 212, 218, 0.15);
    gap: 10px;
    font-size: 12px;
    letter-spacing: 0.1em;
  }
}
@media (max-width: 390px) {
  .app-footer--mobile .footer-content {
    padding: 0;
  }
  .app-footer--mobile .footer-bottom {
    font-size: 10px;
  }
}

.footer-social--plain {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
}
.footer-social--plain .footer-follow-label {
  font-size: 15px;
  color: #cad4da;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.footer-social--plain .footer-social-link svg.social-icon {
  height: 1.3rem;
  width: auto;
  fill: #dde3e8;
  transition: fill 0.3s;
  /*transform: translateY(-4px);*/
}
.footer-social--plain .footer-social-link svg.social-icon:hover {
  fill: #fff;
}

.footer-plain-divider {
  width: calc(100% - 50px);
  border: none;
  border-top: 1px solid rgba(202, 212, 218, 0.1);
  margin: 15px;
}

.footer-lang-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 80px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-lang-row .lang-link {
  color: rgba(202, 212, 218, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-lang-row .lang-link.active {
  /*color: #cad4da;*/
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-lang-row .lang-link:hover {
  color: #fff;
}
.footer-lang-row .lang-sep {
  color: rgba(202, 212, 218, 0.3);
}

html {
  font-size: 22px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Khand", sans-serif;
  background-color: #101e23;
  margin: 0;
  padding: 0;
  /*font-size: $font-size-base;
   line-height: $line-height-base;
   color: $text-color;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   */
}
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

html.menu-open {
  overflow: hidden;
}

#blazor-error-ui {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
}

/* .breadcrumb {
  margin-bottom: 2rem;
  color: #6c757d;

  a {
    color: $primary-color;
    text-decoration: none;
    transition: all $transition-base;

    &:hover {
      text-decoration: underline;
    }
  }
}
 */
.absolute {
  position: absolute !important;
}

.relative {
  position: relative !important;
}

.vertical-filet.absolute {
  top: 0;
  height: 100%;
  pointer-events: none;
}

.horizontal-center {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.vertical-center {
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.right {
  right: 0;
}

.left {
  left: 0;
}

.top {
  top: 0;
}

.bottom {
  bottom: 0;
}

.module-piece-height {
  height: 5vh;
}

.module-height {
  height: 22.5vh;
}

.module-minus-piece-height {
  height: 17.5vh;
}

.module-minus-piece-height-2 {
  height: 12.5vh;
}

.sec .module,
.sec .text-container {
  min-height: 22.5vh;
}

.spacer {
  position: relative;
  pointer-events: none;
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.w-min {
  width: min-content;
}

.h-min {
  height: min-content;
}

.w-half {
  width: 50%;
}

.h-half {
  height: 50%;
}

.sr-only {
  position: absolute;
  display: none;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* impostazione base comuni a tutte le intro section */
.intro-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100svh;
}
.intro-section .intro-title {
  margin-top: auto;
  margin-bottom: auto;
}
.intro-section .intro-title p {
  margin: 0 0 0.5rem 0;
  color: #617a87;
  font-weight: 400;
}
.intro-section .intro-title p .semi-bold {
  font-weight: 600;
}
.intro-section .intro-title h1 {
  margin: 0;
}

/* Allinea i filetti all'area centrale escludendo il padding laterale di .footer-content
   Desktop: 40px (coerente con .footer-content padding)
   Mobile: 16px (coerente con .app-footer--mobile .footer-content) */
.app-footer .footer-content {
  position: relative; /* necessario per ancorare i filetti assoluti all'area interna */
}
.app-footer .footer-content .content-filet.absolute.top,
.app-footer .footer-content .content-filet.absolute.bottom {
  left: 40px;
  right: 40px;
}

@media (max-width: 768px) {
  .app-footer .footer-content .content-filet.absolute.top,
  .app-footer .footer-content .content-filet.absolute.bottom {
    left: 16px;
    right: 16px;
  }
}
/* Forza i filetti sopra il footer agendo sul contenitore esistente */
.layout-grid-item {
  position: relative; /* assicura contesto per il filet */
}

.layout-grid-item-filet {
  z-index: 2000; /* più alto di header/footer */
  pointer-events: none; /* non intercettano eventi */
}

/* Se il componente interno ha classi absolute, assicuriamone lo stacking */
.layout-grid-item-filet .absolute {
  z-index: 2000;
}

/* Mobile: mantieni lo stesso comportamento */
@media (max-width: 768px) {
  .layout-grid-item-filet,
  .layout-grid-item-filet .absolute {
    z-index: 2000;
  }
}
