@keyframes fadeOut {
  0% {
    opacity: 1;
    display: flex;
  }
  99% {
    opacity: 0;
    display: flex;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    display: flex;
  }
  1% {
    opacity: 0;
    display: flex;
  }
  100% {
    opacity: 1;
    display: flex;
  }
}
@font-face {
  font-family: Almarena;
  src: url(../../assets/fonts/AlmarenaBold.otf) format("opentype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: Almarena;
  src: url(../../assets/fonts/AlmarenaRegular.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Almarena;
  src: url(../../assets/fonts/AlmarenaLight.otf) format("opentype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: Almarena-display;
  src: url(../../assets/fonts/AlmarenaDisplayBold.otf) format("opentype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: Almarena-display;
  src: url(../../assets/fonts/AlmarenaDisplayRegular.otf) format("opentype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: Almarena-display;
  src: url(../../assets/fonts/AlmarenaDisplayLight.otf) format("opentype");
  font-weight: 300;
  font-style: normal;
}
/* Forrest Regular */
/* Forrest Medium */
@font-face {
  font-family: Forrest;
  src: url(../../assets/fonts/forrest-medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
}
/* Forrest Medium Italic */
@font-face {
  font-family: Forrest;
  src: url(../../assets/fonts/forrest-medium-italic.woff) format("woff");
  font-weight: 500;
  font-style: italic;
}
/* Forrest Bold */
@font-face {
  font-family: Forrest;
  src: url(../../assets/fonts/forrest-bold.woff) format("woff");
  font-weight: 700;
  font-style: normal;
}
/* Forrest Bold Italic */
@font-face {
  font-family: Forrest;
  src: url(../../assets/fonts/forrest-bold-italic.woff) format("woff");
  font-weight: 700;
  font-style: italic;
}
:focus-visible {
  outline: 3px dotted #c00;
}

.skip {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip:focus {
  position: static;
  width: auto;
  height: auto;
}

body {
  font-family: "Almarena", serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #000000;
  font-size: 16px;
  line-height: 130%;
  text-rendering: optimizeLegibility;
}
body.body-fixed {
  overflow: hidden;
}

main {
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}
main.blured {
  filter: blur(10px);
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.btn {
  background-color: #D95843;
  color: #ffffff;
  padding: 12px 16px;
  margin: 20px 20px 0 0;
  display: inline-flex;
  width: fit-content;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  border: 1px solid #D95843;
  text-transform: lowercase;
}
.btn:hover {
  background-color: #ffffff;
  color: #D95843;
  border: 1px solid #D95843;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.btn.btn-big {
  font-size: 22px;
}
.btn.btn-small {
  font-size: 14px;
}
.btn.btn-xsmall {
  font-size: 12px;
}

.btn-round {
  height: 64px;
  width: 64px;
  display: inline-flex;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  text-indent: -10000px;
  margin: 0 10px 10px 0;
}

.btn-round-orange {
  border: 1px solid transparent;
  background-color: #D95843;
  background-image: url(../../assets/icone/btn-arrow-right-w.svg);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.btn-round-orange:hover {
  background-color: #ffffff;
  border: 1px solid #D95843;
  background-image: url(../../assets/icone/btn-arrow-right-o.svg);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.btn-round-outline {
  background-color: transparent;
  border: 1px solid #ffffff;
  background-image: url(../../assets/icone/btn-arrow-right-w.svg);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}
.btn-round-outline:hover {
  background-color: #D95843;
  border: 1px solid transparent;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

h1 {
  font-family: "Forrest", sans-serif;
  font-size: 3.25rem;
  line-height: 110%;
  font-weight: 500;
}

h2 {
  font-size: 2.25rem;
  font-family: "Forrest", sans-serif;
  line-height: 110%;
  font-weight: 500;
}

h3 {
  font-size: 1.75rem;
  line-height: 110%;
  font-family: "Forrest", sans-serif;
  font-weight: 500;
}

h4 {
  font-size: 1.375rem;
  line-height: 140%;
  font-family: "Forrest", sans-serif;
  font-weight: 500;
}

h5 {
  font-size: 1.125rem;
  line-height: 140%;
  font-family: "Forrest", sans-serif;
  font-weight: 500;
}

.numeri:not(h3) {
  font-family: "Forrest", sans-serif;
  font-size: 3.25rem;
  line-height: 110%;
  font-weight: 500;
}

.numeri-value {
  opacity: 0;
}

.percentuali {
  font-size: 1.75rem;
  line-height: 110%;
  font-family: "Forrest", sans-serif;
  font-weight: 500;
  display: inline-block;
}

.text-green {
  color: #005A44;
}

.tabella {
  display: grid;
  gap: 0;
  margin-top: 24px;
  position: relative;
  --line-scale: 0;
}

.tabella__row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 18px 0;
  position: relative;
  --line-scale: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.tabella__row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(var(--line-scale));
  transform-origin: left center;
}

.tabella__head {
  font-weight: 500;
  --line-scale: 0;
}

.tabella-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.tabella-scroll .tabella {
  min-width: 520px;
}

@media (max-width: 1024px) {
  .tabella-wrap {
    position: relative;
  }
  .tabella-wrap::before,
  .tabella-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    width: 64px;
    height: 100%;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s ease;
    z-index: 9;
  }
  .tabella-wrap::before {
    right: 0;
    background: linear-gradient(to left, #1E392B 0%, rgba(0, 0, 0, 0) 100%);
  }
  .tabella-wrap::after {
    left: 0;
    background: linear-gradient(to right, #1E392B 0%, rgba(0, 0, 0, 0) 100%);
  }
  .tabella-overview.tabella-wrap::before {
    background: linear-gradient(to left, #fff 0%, rgba(0, 0, 0, 0) 100%);
  }
  .tabella-overview.tabella-wrap::after {
    background: linear-gradient(to right, #fff 0%, rgba(0, 0, 0, 0) 100%);
  }
  .tabella-wrap.is-scroll-start::after {
    opacity: 0;
  }
  .tabella-wrap.is-scroll-end::before {
    opacity: 0;
  }
}
.tabella .split {
  display: inline-block;
}

.text-table-row {
  font-weight: 500;
}

.line-anim {
  --line-scale: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(var(--line-scale));
  transform-origin: left center;
}

.bg-green {
  background-color: #1E392B;
  color: #FFF8D4;
}

.bg-cream {
  background-color: #FEFCEB;
}
.bg-cream h2 {
  color: #D95843;
}

.bg-grey {
  background-color: #1E392B;
  color: #FFF8D4;
}

.bg-brown {
  background-color: #733D36;
  color: #FFF8D4;
}

.bg1 {
  background: url("/assets/images/hero_home.webp") center top/cover no-repeat;
  color: #ffffff;
  min-height: 763px;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.bg1__eyebrow {
  font-size: 1.125rem;
  margin-bottom: 18px;
  font-weight: 500;
}

.bg1__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bg1__list li {
  list-style: none;
}

.bg1__icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #D95843;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}

.bg1__link svg {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: block;
}

.bg1__item {
  font-family: "Forrest", sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 500;
}

.bg1__link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
}

.bg1__link h3 {
  text-decoration: underline;
}

.bg1__link.active h3 {
  text-decoration: none;
}

.subtitle-mattone {
  color: #D95843;
  font-size: 0.875rem;
}

.subtitle-cream {
  font-size: 1.125rem;
  font-weight: 500;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: auto;
  padding: 24px 32px;
  color: #ffffff;
}

.site-header__inner {
  display: inline-block;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.lang-switch {
  justify-self: start;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
}

.site-logo {
  justify-self: center;
  text-decoration: none;
  color: #ffffff;
}

.site-logo__img {
  display: block;
  height: 52px;
  width: auto;
}

.site-logo__text {
  display: inline-block;
  font-family: "Forrest", sans-serif;
  font-size: 28px;
  line-height: 0.95;
  text-transform: lowercase;
}

/*
.hero__title .line,
h1.split .line,
h2.split .line,
h3.split .line,
h4.split .line,
h5.split .line,
h6.split .line,
.split .line-mask .line:has(> h1),
.split .line-mask .line:has(> h2),
.split .line-mask .line:has(> h3),
.split .line-mask .line:has(> h4),
.split .line-mask .line:has(> h5),
.split .line-mask .line:has(> h6) {
  transform: translate(0px, -10px)!important;
}
*/
.hero__title [style*=overflow],
h1.split [style*=overflow],
h2.split [style*=overflow],
h3.split [style*=overflow],
h4.split [style*=overflow],
h5.split [style*=overflow],
h6.split [style*=overflow] {
  overflow: visible !important;
  clip-path: inset(-0.1em 0 -0.25em 0);
}

.home .site-logo {
  opacity: 0;
  pointer-events: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background: url("/assets/images/hero_home.webp") center/cover no-repeat;
}

.mercati-e-trend .hero {
  background: url("/assets/images/hero_mercati_trend.webp") center/cover no-repeat;
}

.outdoor-andamento-e-previsioni .hero {
  background: url("/assets/images/hero_outdoor_andamento.webp") center/cover no-repeat;
}

.osservatorio-turismo-italia .hero {
  background: url("/assets/images/hero_overview_turismo_italia.webp") center/cover no-repeat;
}

.hero__content {
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: center;
}

.hero__logo {
  --logo-scale: 0.4201;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 4px;
  z-index: 99;
}

.hero__logo .logo-draw {
  width: calc(242px * var(--logo-scale));
  height: auto;
}

.hero__logo .logo-draw-2 {
  width: calc(296px * var(--logo-scale));
  height: auto;
}

.hero__logo .draw-me-load {
  width: calc(319px * var(--logo-scale));
  height: auto;
}

.hero svg {
  max-width: 100%;
  height: auto;
}

.hero__title {
  font-family: "Forrest", sans-serif;
  font-size: 3.25rem;
  line-height: 1.1;
  font-weight: 500;
  opacity: 0;
}

.hero .logo-draw,
.hero .logo-draw-2,
.hero .draw-me-load {
  opacity: 0;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  opacity: 0;
}

.hero__scroll svg {
  display: block;
}

.menu-toggle {
  position: fixed;
  right: 32px;
  top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #D95843;
  color: #000000;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  z-index: 50;
}

.menu-toggle__icon {
  display: inline-flex;
  color: #000000;
}

.menu-toggle__icon svg {
  display: block;
}

.site-nav {
  position: fixed;
  right: 32px;
  top: 24px;
  width: 340px;
  max-width: calc(100vw - 64px);
  height: auto;
  background: #D95843;
  color: #000000;
  border-radius: 8px;
  transform: scale(0.85);
  transform-origin: top right;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.2s ease;
  z-index: 40;
  padding: 24px;
}

.menu-open .site-nav {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.menu-open .menu-toggle {
  opacity: 0;
  pointer-events: none;
}

.menu-toggle__label {
  font-weight: 500;
}

.menu-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: transparent;
  border: 0;
  text-transform: lowercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #000000;
  font-weight: 500;
}

.menu-close__icon {
  display: inline-flex;
  color: #000000;
}

.menu-close__icon svg {
  display: block;
}

.site-nav__inner {
  padding-top: 52px;
  padding-bottom: 20px;
}

.site-nav__title {
  font-family: "Forrest", sans-serif;
  font-size: 1.75rem;
  line-height: 1.1;
  margin-bottom: 60px;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 40px;
}

.site-nav a {
  display: flex;
  align-items: center;
  line-height: 1.4;
  gap: 20px;
  font-family: "Forrest", sans-serif;
  font-size: 1.125rem;
  color: #000000;
  text-decoration: underline;
}

.site-nav a.active {
  pointer-events: none;
  text-decoration: none;
}

.nav-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  color: #000000;
}

.nav-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 640px) {
  .site-header {
    padding: 18px 20px;
  }
  .site-logo__text {
    font-size: 22px;
  }
  .site-logo__img {
    height: 42px;
  }
  .menu-toggle {
    right: 20px;
    top: 16px;
    padding: 12px 14px;
  }
  .site-nav {
    right: 16px;
    top: 16px;
    max-width: calc(100vw - 32px);
  }
  .hero {
    min-height: 100vh;
    padding: 0 16px;
  }
  .hero__title {
    font-size: 26px;
  }
  .hero__logo {
    --logo-scale: 0.48;
  }
}
footer {
  color: #D95843;
}
footer a {
  font-size: 1.125rem;
  font-weight: 600;
}
footer svg {
  max-width: 100%;
  height: auto;
}
footer .copy {
  font-size: 0.875rem;
}

.tag {
  background: #1E392B;
  color: #FFF8D4;
  font-size: 1.125rem;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(20px);
}

.panel {
  height: 100vh;
}

@media (min-width: 1024px) {
  .map-section {
    position: relative;
  }
  .map-section .img-absolute {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: contain;
    z-index: 9;
  }
}
@media (min-width: 1850px) {
  .map-section .img-absolute {
    object-fit: cover;
  }
}
.fonte-dati {
  font-size: 0.875rem;
}

.tabella-overview .text-table-row {
  font-size: 1.125rem;
}

.copyright-text {
  color: #000;
  font-size: 12px;
}
