/* HEADER COMUNE */

nav[data-miceIT-name="Navigation"] {
  width: 100%;
  min-height: 82px;
  display: grid !important;
  grid-template-columns: 128px minmax(0, 1fr) 128px !important;
  grid-template-areas: "logo menu cta";
  align-items: center !important;
  gap: 24px;
  padding: 12px clamp(24px, 4vw, 64px) !important;
  background: #fff;
}

/* Logo MICE Italy */

nav[data-miceIT-name="Navigation"]
> [data-miceIT-name="Logo"] {
  grid-area: logo;
  position: relative !important;
  inset: auto !important;
  justify-self: start;
  width: 112px !important;
  height: 58px !important;
  min-width: 0 !important;
}

/* Menu centrale */

nav[data-miceIT-name="Navigation"]
[data-miceIT-name="Page Links"] {
  grid-area: menu;
  position: relative !important;
  inset: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 1.6vw, 26px);
  width: auto !important;
}

nav[data-miceIT-name="Navigation"]
[data-miceIT-name="Page Links"] > div {
  flex: 0 0 auto;
  width: auto !important;
}

nav[data-miceIT-name="Navigation"]
[data-miceIT-name="Page Links"] a {
  white-space: nowrap;
  font-size: 13px;
}

/* Contenitore del pulsante Chat now */

nav[data-miceIT-name="Navigation"]
> .miceIT-8d7gzq-container {
  grid-area: cta;
  position: relative !important;
  inset: auto !important;
  justify-self: end;
  width: auto !important;
  min-width: 0 !important;
}

/* Pulsante compatto */

nav[data-miceIT-name="Navigation"]
[data-miceIT-name="Primary"] {
  width: auto !important;
  min-width: 0 !important;
  min-height: 42px !important;
  padding: 0 17px !important;
  border-radius: 999px !important;
  background: #038f5e !important;
}

/* TABLET E MOBILE */

@media (max-width: 980px) {
  nav[data-miceIT-name="Navigation"] {
    grid-template-columns: 100px 1fr auto !important;
    grid-template-areas:
      "logo empty cta"
      "menu menu menu";
    gap: 10px 18px;
    padding: 10px 20px 14px !important;
  }

  nav[data-miceIT-name="Navigation"]
  > [data-miceIT-name="Logo"] {
    width: 94px !important;
    height: 50px !important;
  }

  nav[data-miceIT-name="Navigation"]
  > .miceIT-8d7gzq-container {
    display: block !important;
  }

  nav[data-miceIT-name="Navigation"]
  [data-miceIT-name="Page Links"] {
    justify-content: flex-start;
    gap: 20px;
    width: 100% !important;
    overflow-x: auto;
    padding: 6px 0 2px;
    scrollbar-width: none;
  }

  nav[data-miceIT-name="Navigation"]
  [data-miceIT-name="Page Links"]::-webkit-scrollbar {
    display: none;
  }
}

/* FOOTER COMUNE */

.site-footer {
  width: calc(100% - 48px);
  max-width: 1380px;
  margin: 40px auto 24px;
  padding: 56px 48px 24px;
  border-radius: 28px;
  background: rgba(62, 156, 107, 0.11);
  color: #11100e;
  font-family: "General Sans", Arial, sans-serif;
}

.site-footer * {
  box-sizing: border-box;
}

.site-footer__inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns:
    minmax(220px, 1fr)
    minmax(300px, 1.15fr)
    minmax(230px, 0.9fr);
  align-items: start;
  gap: clamp(36px, 5vw, 72px);
}

/* Brand */

.site-footer__mice-logo {
  display: block;
  width: 138px;
  height: auto;
  margin-bottom: 24px;
}

.site-footer__brand p {
  max-width: 280px;
  margin: 0 0 22px;
  color: #6f665c;
  font-size: 15px;
  line-height: 1.65;
}

.site-footer__brand span,
.site-footer__email {
  display: block;
  color: #11100e;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer__email {
  font-weight: 600;
  text-decoration: none;
}

.site-footer__email:hover {
  color: #038f5e;
}

/* Titoli */

.site-footer__title {
  margin: 0 0 22px;
  color: #038f5e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Navigazione centrale */

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 14px 28px;
}

.site-footer__links a {
  width: fit-content;
  color: #11100e;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #038f5e;
}

/* Meet us at */

.site-footer__event-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 230px);
  min-height: 92px;
  padding: 20px;
  border: 1px solid rgba(3, 143, 94, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.site-footer__event-logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.site-footer__meet-copy {
  max-width: 240px;
  margin: 20px 0 18px;
  color: #6f665c;
  font-size: 14px;
  line-height: 1.6;
}

.site-footer__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #038f5e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.site-footer__button:hover {
  background: #02764f;
}

/* Fascia inferiore */

.site-footer__bottom {
  max-width: 1180px;
  margin: 48px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(3, 143, 94, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer__bottom p {
  margin: 0;
  color: #6f665c;
  font-size: 12px;
}

.site-footer__itinera {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6f665c;
  font-size: 12px;
  text-decoration: none;
}

.site-footer__itinera img {
  display: block;
  width: 92px;
  height: auto;
}

/* TABLET */

@media (max-width: 900px) {
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__meet {
    grid-column: 1 / -1;
    padding-top: 32px;
    border-top: 1px solid rgba(3, 143, 94, 0.18);
  }
}

/* MOBILE */

@media (max-width: 620px) {
  .site-footer {
    width: calc(100% - 32px);
    margin-top: 24px;
    padding: 40px 24px 22px;
    border-radius: 24px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .site-footer__meet {
    grid-column: auto;
  }

  .site-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
  }

  .site-footer__bottom {
    margin-top: 36px;
    flex-direction: column;
    align-items: flex-start;
  }
}