* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  height: 100%;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-family: "Roboto Flex", sans-serif;
  color: #1B1C1C;
  min-height: 100%;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.m-btn--primary {
  font-family: "JetBrains Mono", sans-serif;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  background-color: #E30613;
  padding: 12px 24px;
}
.m-btn--primary:visited {
  color: #fff;
}
.m-btn--primary:hover {
  color: #fff;
}
.m-btn--primary:active {
  color: #fff;
}
.m-btn--join {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  background-color: #E30613;
  padding: 18px 97px;
}
.m-btn--join:visited {
  color: #fff;
}
.m-btn--join:hover {
  color: #fff;
}
.m-btn--join:active {
  color: #fff;
}
.m-btn--secondary {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #E30613;
  background-color: #fff;
  padding: 22px 40px;
}
.m-btn--secondary:visited {
  color: #E30613;
}
.m-btn--secondary:hover {
  color: #E30613;
}
.m-btn--secondary:active {
  color: #E30613;
}
.m-btn--ghost {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  padding: 22px 40px;
}
.m-btn--ghost:visited {
  color: #fff;
}
.m-btn--ghost:hover {
  color: #fff;
}
.m-btn--ghost:active {
  color: #fff;
}

.m-nav {
  border-bottom: 1px solid #E3E3E3;
  background-color: rgba(251, 249, 249, 0.9);
  backdrop-filter: blur(12px);
  padding: 20px 0;
}
.m-nav__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.m-nav__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 32px;
}

.m-header {
  background: radial-gradient(134.35% 134.35% at -4450% -4450%, #E5E2E1 0.93%, rgba(229, 226, 225, 0) 0.93%);
  background-position: right top;
  background-repeat: no-repeat;
  padding: 93px 0 42px;
}
.m-header__inner {
  margin-bottom: 35px;
  padding: 0 12px;
}
.m-header__label {
  display: block;
  font-size: 18px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  padding: 8px 0;
}
.m-header__title {
  font-size: 40px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.02rem;
}
.m-header__title span {
  display: block;
  font-size: 100px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.04rem;
  color: #E30613;
  margin-bottom: 16px;
}
.m-header__text {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: #4E4E4C;
  margin-bottom: 40px;
}
.m-header__text p {
  margin: 0;
}

.m-section {
  padding: 120px 0;
}
.m-section__inner {
  padding: 24px;
}
.m-section__label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1.68px;
  text-transform: uppercase;
  color: #E30613;
}
.m-section__label:before {
  content: "";
  width: 18px;
  height: 2px;
  background-color: #E30613;
}
.m-section__title {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.02rem;
  margin-bottom: 28px;
}
.m-section__title span {
  color: #E30613;
}
.m-section__text {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 400;
  color: #4E4E4C;
}
.m-section__text p {
  margin: 0;
}
.m-section__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 24px;
}
.m-section--red {
  background-color: #E30613;
  background-image: url("../images/bg_flow.png");
  background-position: center bottom;
  background-size: cover;
}
.m-section--red .m-section__title {
  font-size: 48px;
  line-height: 56px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 32px;
}
.m-section--red .m-section__text {
  text-align: center;
  color: #fff;
  margin-bottom: 48px;
}

.m-card--countdown {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 32px;
  border-radius: 24px;
  border-bottom: 4px solid #E30613;
  background-color: #fff;
  -webkit-box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.0784);
  box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.0784);
  margin: 0 24px;
  padding: 40px;
}
.m-card--countdown .m-card__badge {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  background-color: #F1EFEA;
  color: #4E4E4C;
  padding: 6px 12px;
}
.m-card--countdown .m-card__badge:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #E30613;
}
.m-card--numbers {
  border-right: 1px solid #E8BCB9;
}
.m-card--numbers p {
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  text-align: center;
  color: #fff;
  margin: 0;
}
.m-card--numbers p span {
  display: block;
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.03rem;
  text-align: center;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 9px;
}
.m-card--numbers:last-of-type {
  border: 0;
}

.m-countdown {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 32px;
}
.m-countdown__text {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  text-align: center;
}
.m-countdown__text p {
  color: #8C8C8A;
  margin: 0;
}
.m-countdown__text p strong {
  color: #1B1C1C;
}
.m-countdown__timer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  font-size: 50px;
  color: #ccc;
}
.m-countdown__timer p {
  font-size: 56.9px;
  line-height: 61px;
  font-weight: 900;
  letter-spacing: -0.64px;
  text-align: center;
  text-transform: uppercase;
  color: #1B1C1C;
  margin: 0;
}
.m-countdown__timer p small {
  display: block;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
  color: #8C8C8A;
  margin-top: 4px;
}

.m-drive {
  position: relative;
  height: 140px;
  overflow: hidden;
}
.m-drive img {
  position: absolute;
  bottom: 23px;
  left: 0;
  width: auto;
  height: 76px;
  -webkit-animation: driveby 16s linear infinite;
  animation: driveby 16s linear infinite;
}
@-webkit-keyframes driveby {
  0% {
    left: -38%;
  }
  100% {
    left: 108%;
  }
}
@keyframes driveby {
  0% {
    left: -38%;
  }
  100% {
    left: 108%;
  }
}

.m-footer {
  padding: 64px 0;
}
.m-footer__image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
}

.m-menu {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
}
.m-menu li a {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-align: center;
  color: #5F5E5E;
  border-left: 1px solid #E8BCB9;
  padding: 0 16px;
}
.m-menu li a:visited {
  color: #5F5E5E;
}
.m-menu li a:hover {
  color: #5F5E5E;
}
.m-menu li a:active {
  color: #5F5E5E;
}
.m-menu li:first-of-type a {
  border: 0;
}

.m-filters {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 18px 32px;
}
.m-filters__controls {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}
.m-filters__controls li {
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8C8C8A;
}
.m-filters__controls li button {
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  border: 1px solid #E7E5E1;
  border-radius: 100px;
  background-color: transparent;
  padding: 7px 14px;
}
.m-filters__controls li button.active {
  color: #fff;
  background-color: #E30613;
  border: 1px solid #E30613;
}
.m-filters__controls li select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 13px;
  line-height: 1;
  font-weight: 400;
  border: 1px solid #E7E5E1;
  border-radius: 100px;
  background-color: transparent;
  padding: 7px 14px;
}
.m-filters__legend {
  padding: 0;
  margin: 0;
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
}
.m-filters__legend li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 1;
  font-weight: 400;
  color: #8C8C8A;
}
.m-filters__legend li:before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--color);
}

.m-pop {
  padding: 24px 16px;
}
.m-pop__date {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: #E30613;
}
.m-pop__city {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}
.m-pop__country {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: #6B7280;
}
.m-pop__link {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  color: #E30613 !important;
  margin-top: 12px;
}
.m-pop__link:visited {
  color: #E30613 !important;
}
.m-pop__link:hover {
  color: #E30613 !important;
}
.m-pop__link:active {
  color: #E30613 !important;
}

.m-grid {
  display: grid;
}
.m-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

#map {
  height: 540px;
  width: 100%;
  background: #F1EFEA;
}

.leaflet-popup-content-wrapper {
  border-radius: 2px;
  -webkit-box-shadow: 0 8px 24px rgba(20, 20, 20, 0.2);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.2);
}

.leaflet-popup-content {
  margin: 0;
  min-width: 190px;
}

.m-roadshow {
  position: relative;
}
.m-roadshow__cards {
  position: absolute;
  top: 65px;
  right: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 8px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 280px;
  flex: 0 0 280px;
  height: 540px;
  overflow-y: auto;
  padding-right: 12px;
  z-index: 999;
}

.roadshow-card {
  border: 2px solid #fff;
  background-color: #fff;
  -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.12);
  padding: 16px;
  cursor: pointer;
}
.roadshow-card__date {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: #E30613;
}
.roadshow-card__city {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
}
.roadshow-card__country {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: #6B7280;
}
.roadshow-card.active {
  border: 2px solid #E30613;
}

footer {
  margin-top: auto;
}

/* ---------------------------------------------------------------------------
   RESPONSIVE
   Solo due step: 991px (tablet) e 767px (mobile).
   Il blocco 991px viene ereditato anche sotto i 767px: nel blocco 767px
   ridefinisco solo cio' che cambia. Tutti i valori in px, coerenti con la
   scala gia' in uso.
--------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .m-btn--join {
    padding: 18px 40px;
  }

  .m-nav {
    padding: 16px 0;
  }
  .m-nav__actions {
    gap: 16px;
  }

  .m-header {
    padding: 64px 0 32px;
    background-size: 50% auto;
  }
  .m-header__inner {
    margin-bottom: 24px;
  }
  .m-header__label {
    font-size: 15px;
  }
  .m-header__title {
    font-size: 32px;
  }
  .m-header__title span {
    font-size: 72px;
    margin-bottom: 12px;
  }
  .m-header__text {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .m-section {
    padding: 80px 0;
  }
  .m-section__inner {
    padding: 0;
  }
  .m-section__title {
    font-size: 34px;
    margin-bottom: 20px;
  }
  .m-section__text {
    font-size: 16px;
  }
  .m-section--red .m-section__title {
    font-size: 36px;
  }
  .m-section--red .m-section__text {
    margin-bottom: 32px;
  }

  .m-grid--four {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .m-card--numbers {
    border-right: 0;
  }
  .m-card--numbers p {
    font-size: 40px;
  }
  .m-card--countdown {
    margin: 0;
    padding: 32px;
  }

  .m-countdown__timer {
    gap: 24px;
  }
  .m-countdown__timer p {
    font-size: 44px;
    line-height: 1;
  }

  .m-filters {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px 24px;
  }
  .m-filters__controls {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .m-roadshow__cards {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 240px;
    flex: 0 0 240px;
  }
}
@media (max-width: 767px) {
  .m-btn--secondary, .m-btn--ghost {
    width: 100%;
    text-align: center;
    padding: 18px 24px;
  }
  .m-btn--join {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .m-nav__inner {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    row-gap: 12px;
  }
  .m-nav__actions {
    display: contents;
  }
  .m-nav__actions img {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    max-height: 32px;
    max-width: 50%;
  }

  .m-logo img {
    max-height: 24px;
  }

  .m-header {
    padding: 48px 0 24px;
    background-image: none !important;
  }
  .m-header__title {
    font-size: 26px;
  }
  .m-header__title span {
    font-size: 48px;
  }

  .m-section {
    padding: 56px 0;
  }
  .m-section__title {
    font-size: 28px;
  }
  .m-section__actions {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
  }
  .m-section--red .m-section__title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .m-card--numbers p {
    font-size: 36px;
  }
  .m-card--countdown {
    margin: 32px 0 0;
    padding: 24px;
  }

  .m-countdown {
    gap: 24px;
  }
  .m-countdown__timer {
    gap: 12px;
  }
  .m-countdown__timer p {
    font-size: 36px;
  }
  .m-countdown__timer p small {
    font-size: 10px;
  }

  .m-filters {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }

  #map {
    height: 360px;
  }

  .m-roadshow__cards {
    position: static;
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    width: 100%;
    height: auto;
    max-height: 300px;
    padding: 16px;
  }

  .m-drive {
    height: 100px;
  }
  .m-drive img {
    height: 56px;
    bottom: 16px;
  }

  .m-footer {
    padding: 40px 0;
  }

  .m-menu {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 4px 0;
    margin-bottom: 32px;
  }
}