@charset "UTF-8";
:root {
  --font-sans:
    "Host Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Arial, sans-serif;
  --primary-dark: #0a1628;
  --primary-blue: #163251;
  --accent-blue: #1a7fff;
  --navy-900: #0f2f4f;
  --bg-light: #ffffff;
  --bg-muted: #f0f3f8;
  --bg-soft: #e9ecf5;
  --text-main: #1a2233;
  --text-muted: #5a6478;
  --ui-gray: #888888;
  --text-light: #ffffff;
  --white: #ffffff;
  --line-soft: rgba(26, 34, 51, 0.1);
  --line-on-dark: rgba(255, 255, 255, 0.14);
  --shadow-sm: 0 8px 24px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 16px 40px rgba(10, 22, 40, 0.12);
  --shadow-bar: 0 18px 45px rgba(13, 58, 122, 0.35);
  /* Hero condivisa con navbar — file in assets/images/hero.png (path relativo alla cartella styles/) */
  --top-hero-image: url("../assets/images/hero.png");
  --site-header-height: 4.35rem;
  /* Sezione problema — immagine in assets/images/street.png */
  --problem-bg: url("../assets/images/street.png");
  /* KPI */
  --stats-gradient-top: #050d22;
  --stats-gradient-bottom: #1a7fff;
  --stats-bar-radius: 26px;
  --stats-bar-padding-y: clamp(2rem, 5vw, 3.25rem);
  --stats-bar-padding-x: clamp(0.75rem, 2.5vw, 2rem);
  --kpi-float: 3.75rem;
  --kpi-card-max: min(1040px, 90%);
}

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

html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-blue) 70%, white);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.6rem 0.9rem;
  background: var(--text-main);
  color: var(--white);
  border-radius: 0.75rem;
  z-index: 2000;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.container--header {
  width: min(1440px, 100% - 2rem);
}

.container--wide {
  width: min(1320px, 100% - 2rem);
}

.container--fluid {
  width: calc(100% - 2rem);
  max-width: none;
}

.container--solution {
  width: calc(100% - 15rem);
  max-width: none;
}

.container--process {
  width: calc(100% - 15rem);
  max-width: none;
}

.container--impact {
  width: calc(100% - 15rem);
  max-width: none;
}

.container--reasons {
  width: calc(100% - 15rem);
  max-width: none;
}

.container--team {
  width: calc(100% - 15rem);
  max-width: none;
}

@media (max-width: 860px) {
  /* Mobile */
  .container--solution,
  .container--process,
  .container--impact,
  .container--reasons,
  .container--team {
    width: calc(100% - 1.5rem);
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  border-radius: 10px;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
  transition: box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: none;
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent-blue), color-mix(in srgb, var(--accent-blue) 78%, black));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(26, 127, 255, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 14px 30px rgba(26, 127, 255, 0.45);
}

.btn--header-cta {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}

.btn--header-cta:hover {
  background: color-mix(in srgb, var(--primary-dark) 88%, white);
}

.btn--on-dark {
  background: var(--white);
  color: var(--primary-dark);
}

.btn--link-on-dark {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--link-on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Blocco superiore: immagine hero + header + hero */
.top-hero {
  position: relative;
  z-index: 2;
  overflow: visible;
  /* Full viewport hero */
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
}

.top-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0a1628;
  overflow: hidden;
}

.top-hero__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* Overlay piatto solo sulla colonna hero (non sulla fascia KPI) */
.hero-stack__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(10, 22, 40, 0.55);
  pointer-events: none;
}

/* Header: visibile solo sulla hero (non sticky) */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, backdrop-filter 200ms ease;
}

.site-header--over-hero:not(.site-header--solid) {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header--over-hero:not(.site-header--solid) .brand {
  color: var(--text-light);
}

.site-header--over-hero:not(.site-header--solid) .nav-link {
  color: var(--text-light);
}

.site-header--over-hero:not(.site-header--solid) .nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-light);
}

.site-header--over-hero:not(.site-header--solid) .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.site-header--over-hero:not(.site-header--solid) .nav-toggle-bars,
.site-header--over-hero:not(.site-header--solid) .nav-toggle-bars::before,
.site-header--over-hero:not(.site-header--solid) .nav-toggle-bars::after {
  background: var(--text-light);
}

.site-header--over-hero:not(.site-header--solid) .btn--header-cta {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}

.site-header--over-hero:not(.site-header--solid) .btn--header-cta:hover {
  background: color-mix(in srgb, var(--primary-dark) 88%, white);
}

.site-header--solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.site-header--solid .brand {
  color: var(--primary-dark);
}

.site-header--solid .nav-link {
  color: var(--text-muted);
}

.site-header--solid .nav-link:hover {
  background: var(--bg-muted);
  color: var(--text-main);
}

.site-header--solid .nav-toggle {
  border-color: var(--line-soft);
  background: var(--white);
}

.site-header--solid .nav-toggle-bars,
.site-header--solid .nav-toggle-bars::before,
.site-header--solid .nav-toggle-bars::after {
  background: var(--text-main);
}

.site-header--solid .btn--header-cta {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  color: var(--primary-dark);
}

.brand-mark {
  width: 160px;
  height: 26px;
  background-color: currentColor;
  -webkit-mask: url("../assets/icons/logo.svg") no-repeat center/contain;
  mask: url("../assets/icons/logo.svg") no-repeat center/contain;
}

.nav-toggle {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--white);
}

.nav-toggle-bars {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 99px;
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 99px;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  color: var(--text-muted);
  font-weight: 600;
}

.nav-link:hover {
  background: var(--bg-muted);
  color: var(--text-main);
  text-decoration: none;
}

.nav-cta {
  display: none;
}

@media (max-width: 860px) {
  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line-soft);
    padding: 1rem;
    display: grid;
    gap: 0.75rem;
    transform-origin: top;
    transform: scaleY(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 150ms ease, transform 150ms ease;
  }
  /* Pannello bianco: link sempre scuri anche con header trasparente su hero */
  .site-header--over-hero:not(.site-header--solid) .site-nav.is-open .nav-link {
    color: var(--text-main);
  }
  .site-header--over-hero:not(.site-header--solid) .site-nav.is-open .nav-link:hover {
    background: var(--bg-muted);
    color: var(--text-main);
  }
  .site-nav.is-open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }
  .nav-list {
    flex-direction: column;
  }
  .nav-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
  }
}
@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }
  .nav-cta {
    display: inline-flex;
  }
}
/* Hero (sopra overlay e immagine del .top-hero) */
.hero-stack {
  position: relative;
  z-index: 2;
}

/* Hero */
.hero.hero-section,
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--site-header-height) + clamp(2.25rem, 6vw, 4rem));
  padding-bottom: clamp(4rem, 10vw, 6.5rem);
  color: var(--text-light);
}

.hero-inner {
  position: relative;
  max-width: 52rem;
  margin-inline: auto;
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-light);
}

.hero-title__line {
  display: block;
}

@media (min-width: 860px) {
  .hero-title__line--nowrap {
    white-space: nowrap;
  }
}
.hero-lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.75vw, 1.35rem);
  color: var(--text-light);
  max-width: 48ch;
  margin-inline: auto;
}

.problem-kpi {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
  margin-top: calc(-1 * var(--kpi-float));
  margin-bottom: clamp(1.25rem, 4vw, 2.25rem);
}

.stats-bar {
  list-style: none;
  margin: 0;
  width: var(--kpi-card-max);
  max-width: 100%;
  padding: var(--stats-bar-padding-y) var(--stats-bar-padding-x);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: linear-gradient(180deg, var(--stats-gradient-top), var(--stats-gradient-bottom));
  color: var(--text-light);
  border-radius: var(--stats-bar-radius);
  overflow: hidden;
  box-shadow: var(--shadow-bar);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 560px) {
  .stats-bar {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.1rem 0.85rem;
  min-height: 5.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 560px) {
  .stats-bar__item {
    border-bottom: 0;
    min-height: 0;
  }
  .stats-bar__item:last-child {
    border-right: 0;
  }
}
@media (max-width: 559px) {
  .stats-bar__item:nth-child(2n) {
    border-right: 0;
  }
}
.stats-bar__value {
  margin: 0;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stats-bar__label {
  margin: 0;
  max-width: 14rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

/* Sections generic */
.section {
  padding-block: clamp(2.75rem, 6vw, 4.5rem);
}

.section--light {
  background: var(--bg-light);
}

.section--muted {
  background: var(--bg-muted);
}

@media (max-width: 860px) {
  /* Mobile: sezioni più compatte dove serve (senza toccare tutto) */
  .section--solution {
    padding-block: clamp(1.5rem, 5vw, 2.25rem);
  }
  .section--solution .container--solution {
    width: 100%;
    padding-inline: 1rem;
  }
  .section--solution .solution-shot {
    padding: clamp(0.5rem, 2.5vw, 1rem);
  }
}
.section-head {
  margin-bottom: 1.75rem;
}

.section-head--center {
  text-align: center;
}

.section-head h2,
.section-head .section-lead {
  margin: 0;
}

.section-head .section-lead {
  margin-top: 0.5rem;
  color: var(--text-muted);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-lead {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 60ch;
}

.text-accent {
  color: var(--accent-blue);
}

.icon-slot {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--accent-blue);
  border: 1px solid rgba(26, 127, 255, 0.35);
  flex-shrink: 0;
}

.icon-slot__img {
  width: 20px;
  height: 20px;
  display: block;
}

.icon-slot--sm {
  width: 38px;
  height: 38px;
  border-radius: 999px;
}

.icon-slot--outline {
  background-color: var(--accent-blue);
}

.icon-slot--light {
  background-color: var(--accent-blue);
}

/* Problem */
.section--problem {
  position: relative;
  z-index: 0;
  background: var(--bg-light);
}

/* Spazio interno per contenuti dopo la KPI che sale sul taglio */
.section.section--problem {
  padding-top: calc(clamp(0.35rem, 1.2vw, 0.75rem) + var(--kpi-float));
}

.problem-stage {
  position: relative;
  z-index: 1;
}

.problem-head {
  text-align: center;
  max-width: min(58rem, 110vw);
  margin-inline: auto;
}

.problem-kicker {
  margin: 0 0 0.5rem;
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary-dark);
}

#problema-title {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  color: var(--primary-blue);
}

.problem-lead {
  margin: 1rem auto 0;
  max-width: 46ch;
  font-size: 1.25rem;
  color: var(--text-main);
  line-height: 1.55;
}

.problem-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.65rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

/* Layout mockup: riga 1 a sinistra, riga 2 a destra (desktop) */
@media (min-width: 861px) {
  .problem-tiles {
    max-width: 920px;
    margin-inline: auto;
    align-items: stretch;
  }
  .problem-tiles > .problem-tile:nth-child(-n+3) {
    transform: translateX(-140px);
  }
  .problem-tiles > .problem-tile:nth-child(n+4) {
    transform: translateX(140px);
  }
}
.problem-tile {
  box-sizing: border-box;
  padding: 1.15rem;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(10, 22, 40, 0.1);
  box-shadow: 0 10px 22px rgba(10, 22, 40, 0.08);
  color: var(--text-main);
  width: 100%;
  aspect-ratio: 1/1;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.problem-tile__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 0.55rem;
}

.problem-tile__icon-img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.problem-tile h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.problem-tile > p:not(.problem-kpi__value):not(.problem-kpi__label) {
  margin: 0;
  color: rgba(26, 34, 51, 0.75);
  font-size: 1.05rem;
  line-height: 1.45;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.problem-tile--kpi {
  background: linear-gradient(180deg, #0b2e59 0%, #2b73c6 100%);
  color: var(--text-light);
  border-color: rgba(10, 22, 40, 0.08);
  box-shadow: 0 10px 22px rgba(10, 22, 40, 0.12);
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
}

.problem-tile--kpi p {
  line-height: 1.2;
  font-size: 1.45rem;
  color: var(--text-light) !important;
}

.problem-kpi__value {
  margin: 0;
  font-weight: 900;
  font-size: clamp(1.75rem, 2.8vw, 2.65rem) !important;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text-light) !important;
  flex-shrink: 0;
}

.problem-kpi__label {
  margin: 0.2rem 0 0;
  font-weight: 800;
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.92) !important;
  flex-shrink: 0;
}

.problem-kpi__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.problem-kpi__more:hover {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.problem-kpi__more-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .problem-stage {
    padding-inline: 1rem;
  }
  .problem-tiles {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  /* 10x sotto Manutenzione reattiva e Budget non ottimizzati */
  .problem-tiles > .problem-tile:nth-child(4) {
    order: 6;
  }
  .problem-tiles > .problem-tile:nth-child(5) {
    order: 4;
  }
  .problem-tiles > .problem-tile:nth-child(6) {
    order: 5;
  }
  .problem-tiles > .problem-tile {
    transform: none !important;
    aspect-ratio: auto;
    min-height: 0;
  }
  #problema-title {
    font-size: clamp(2.2rem, 8vw, 3.1rem);
  }
}
/* Map */
.section--map {
  padding-inline: 0;
  padding-block: 0;
}

@media (max-width: 860px) {
  .section--map {
    display: none;
  }
}
.map-stage {
  position: relative;
  margin: 0;
  width: 100%;
  height: clamp(720px, 92vh, 1040px);
  min-height: 100%;
  overflow: hidden;
  background: #0a1628;
}

.map-stage__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.map-overlay {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(520px, 46vw);
  padding: 2.05rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  color: var(--text-light);
  background: linear-gradient(90deg, rgba(8, 12, 20, 0.62) 0%, rgba(8, 12, 20, 0.58) 55%, rgba(8, 12, 20, 0) 100%);
}

.map-overlay__inner {
  width: min(340px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.map-toggle {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 26px rgba(10, 22, 40, 0.18);
  color: var(--text-main);
  font-weight: 800;
}

.map-toggle__pill {
  width: 38px;
  height: 20px;
  border-radius: 999px;
  background: rgba(15, 47, 79, 0.22);
  position: relative;
  display: inline-block;
}

.map-toggle__dot {
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(15, 47, 79, 0.65);
}

.map-points {
  list-style: none;
  margin: 0;
  padding: 2.05rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.75rem;
}

.map-point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}

.map-point__icon {
  margin: 0;
  display: grid;
  place-items: center;
}

.map-point__icon-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.map-point__title {
  margin: 0;
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1.1;
  color: var(--text-light);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.map-point__text {
  margin: 0.2rem 0 0;
  font-size: 1.25rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
  min-height: 2.7em;
  max-inline-size: 26ch;
}

@media (max-width: 860px) {
  .map-stage {
    height: clamp(720px, 92vh, 980px);
  }
  .map-overlay {
    width: min(420px, 78vw);
    padding: 1rem 1rem 1.1rem;
    align-items: center;
  }
  .map-overlay__inner {
    width: min(320px, 100%);
    margin-inline: auto;
    align-items: center;
  }
  .map-toggle {
    width: 100%;
    justify-content: space-between;
    margin-inline: auto;
  }
  .map-points {
    width: 100%;
    margin-inline: auto;
  }
  .map-points {
    gap: 1.15rem;
    align-items: center;
  }
  /* Mobile: icona sopra + testo centrato come mockup */
  .map-point {
    align-items: center;
    text-align: center;
    gap: 0.55rem;
  }
  .map-point__icon {
    width: 40px;
    height: 40px;
    margin: 0;
  }
  .map-point__copy {
    max-width: 26ch;
  }
  .map-point__title {
    font-size: 1.55rem;
  }
  .map-point__text {
    font-size: 1.05rem;
    line-height: 1.4;
    min-height: 2.8em;
    max-inline-size: 18ch;
    margin-inline: auto;
  }
}
/* Map (nuovo layout a "card" come mockup) */
.section--map {
  padding-block: clamp(2.25rem, 5vw, 4rem);
}

.container--map {
  width: min(1440px, 100% - 2rem);
}

.map-card {
  position: relative;
  margin: 0 auto;
  width: 100%;
  min-height: clamp(520px, 56vw, 760px);
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 20px 60px rgba(10, 22, 40, 0.18);
}

/* Sfumatura solo nella fascia bassa (mai in alto) */
.map-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.5) 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.map-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.map-card__toggle {
  position: absolute;
  top: clamp(1.35rem, 3vw, 2.25rem);
  right: clamp(1.35rem, 3vw, 2.25rem);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  background: rgba(10, 22, 40, 0.75);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 3;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
}

.map-card__toggle .map-toggle__pill {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  position: relative;
  display: inline-block;
  transition: background 0.35s ease;
}

.map-card__toggle .map-toggle__dot {
  position: absolute;
  top: 50%;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.35s ease;
}

.map-card__toggle.is-on .map-toggle__pill {
  background: rgba(47, 111, 235, 0.85);
}

.map-card__toggle.is-on .map-toggle__dot {
  left: calc(100% - 21px);
}

.map-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  color: var(--text-light);
  z-index: 2;
}

.map-band .map-points--on,
.map-band .map-points--off {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
  margin: 0;
}

/* Visibilità on/off gestita da GSAP (evita flash con le regole .map-card--smart) */
.map-band .map-points--off {
  opacity: 0;
  pointer-events: none;
}

/* Icone su riga condivisa; titolo+sottotitolo ravvicinati nel blocco copy */
.section--map {
  --map-title-size: 1.375rem;
  --map-text-size: 1.125rem;
  --map-title-leading: 1.2;
  --map-text-leading: 1.3;
  --map-icon-size: clamp(34px, 2.6vw, 42px);
  --map-icon-box: clamp(34px, 2.6vw, 42px);
  --map-copy-gap: 0.3rem;
}

.section--map .map-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: var(--map-icon-box) auto;
  grid-auto-flow: column;
  column-gap: clamp(1rem, 2.5vw, 2rem);
  row-gap: 0.65rem;
  justify-items: start;
  align-items: start;
}

.section--map .map-point {
  display: contents;
}

.section--map .map-point__copy {
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--map-copy-gap);
  width: 100%;
}

.section--map .map-point__icon {
  grid-row: 1;
  display: grid;
  place-items: center start;
  width: var(--map-icon-size);
  height: var(--map-icon-size);
  margin: 0;
  background: none;
  border: none;
  border-radius: 0;
}

.section--map .map-point__icon-img {
  width: var(--map-icon-size);
  height: var(--map-icon-size);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.section--map .map-point__title,
.section--map .map-point__text {
  margin: 0;
  width: 100%;
  max-inline-size: none;
  text-align: left;
  justify-self: start;
  align-self: start;
  color: var(--text-light);
  text-shadow: none;
}

.section--map .map-point__title {
  font-size: var(--map-title-size);
  font-weight: 800;
  line-height: var(--map-title-leading);
}

.section--map .map-point__text {
  font-size: var(--map-text-size);
  font-weight: 400;
  line-height: var(--map-text-leading);
  color: var(--text-light);
}

@media (max-width: 860px) {
  .map-card {
    min-height: clamp(420px, 105vw, 620px);
  }
  .section--map .map-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 1rem 1.1rem;
  }
  .section--map .map-point {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
  }
  .section--map .map-point__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--map-copy-gap);
    width: 100%;
  }
  .section--map .map-point__title,
  .section--map .map-point__text {
    text-align: left;
  }
  .section--map .map-point__text {
    max-inline-size: 22ch;
  }
}
.map-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 1080px) {
  .map-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 1.75rem;
    align-items: center;
  }
}
.map-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg-muted);
  height: clamp(460px, 56vh, 720px) !important;
  min-height: 0 !important;
  max-height: 720px;
  box-shadow: var(--shadow-sm);
}

.map-visual__grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
  padding: 18px;
  opacity: 0.85;
}

.map-seg {
  border-radius: 999px;
  min-height: 10px;
}

.map-seg--ok {
  background: #2ecc71;
}

.map-seg--warn {
  background: #f39c12;
}

.map-seg--bad {
  background: #e74c3c;
}

.map-visual__figure {
  margin: 0;
  height: 100% !important;
  min-height: 0 !important;
}

.map-visual__figure.is-empty {
  /* quando inserisci <img>, rimuovi .is-empty dalla figure */
  display: none;
}

.map-visual__figure:not(.is-empty) {
  display: block;
}

.map-visual__figure:not(.is-empty) img {
  width: 100%;
  height: 100% !important;
  max-height: 720px;
  object-fit: cover;
}

.map-legend {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  list-style: none;
  margin: 0;
  padding: 0.8rem 1rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(10, 22, 40, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(10, 22, 40, 0.12);
  color: var(--text-main);
  font-weight: 700;
}

@media (max-width: 860px) {
  /* Mobile: legenda più compatta (senza toccare spaziature delle sezioni) */
  .map-legend {
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.55rem 0.75rem;
    gap: 0.85rem;
    border-radius: 14px;
    font-size: 0.95rem;
    max-width: calc(100% - 1.5rem);
  }
}
.map-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.map-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.map-legend__dot--ok {
  background: #32a361;
}

.map-legend__dot--warn {
  background: #f39c12;
}

.map-legend__dot--bad {
  background: #e74c3c;
}

.map-cost {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

@media (min-width: 1080px) {
  .section--map .container--fluid {
    width: calc(100% - 15rem);
  }
}
.cost-switch {
  background: var(--white);
  border-radius: 18px;
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  border: 1px solid rgba(10, 22, 40, 0.12);
  box-shadow: 0 14px 34px rgba(10, 22, 40, 0.12);
  text-align: center;
}

.cost-switch__kicker {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.cost-switch__price {
  margin: 0;
  font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #0b0f18;
}

.cost-switch__sub {
  margin: 0.4rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0d3a7a;
}

.cost-switch__actions {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cost-switch__btn {
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  font-weight: 800;
  border: 2px solid #0d3a7a;
  color: #0d3a7a;
  background: transparent;
}

.cost-switch__btn.is-active {
  background: #0d3a7a;
  color: var(--white);
}

.map-toolbar {
  margin-top: 1.25rem;
}

.map-select {
  width: min(360px, 100%);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--white);
  font: inherit;
  color: var(--text-main);
}

/* App */
.app-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .app-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}
.app-shot {
  margin: 0;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  background: var(--white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 320px;
}

.app-shot__placeholder {
  height: 360px;
  background: radial-gradient(420px 280px at 40% 35%, rgba(26, 127, 255, 0.18), transparent 60%), linear-gradient(180deg, #e8edf5, #cfd8e8);
}

.app-copy h2 {
  margin: 0 0 0.65rem;
}

.app-copy .section-lead {
  margin: 0 0 1.25rem;
}

.app-features {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .app-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.app-feature {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.app-feature__head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.65rem;
}

.app-feature__num {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-weight: 900;
  color: var(--white);
  background: linear-gradient(180deg, var(--accent-blue), var(--primary-blue));
  flex-shrink: 0;
}

.app-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.02rem;
}

.app-feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Solution */
.solution-grid {
  display: grid;
  gap: clamp(2.25rem, 5vw, 5.5rem);
  align-items: start;
}

@media (min-width: 860px) {
  .solution-grid {
    grid-template-columns: minmax(0, 0.68fr) minmax(0, 1.32fr);
  }
  .solution-copy {
    align-self: start;
  }
  /* Evita che la preview si “ricentri” in Y quando le card a sinistra si espandono */
  .solution-shot {
    align-self: start;
    justify-self: end;
    width: fit-content;
    max-width: 100%;
  }
}
.solution-shot {
  margin: 0;
  width: fit-content;
  max-width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.18);
}

.solution-shot > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

/* Ombra dietro l'immagine per staccarla dal bg */
.solution-shot__frame {
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 22, 40, 0.18);
  background: rgba(255, 255, 255, 0.02);
}

.solution-shot__frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

@media (max-width: 860px) {
  /* Mobile: meno vuoto sopra/sotto e immagine più compatta */
  .solution-grid {
    gap: 1.25rem;
  }
  /* Mobile: nascondi la preview immagine */
  .solution-shot {
    display: none;
  }
  /* Mobile: titolo + sottotitolo centrati */
  .solution-copy .problem-kicker,
  .solution-copy h2 {
    text-align: center;
  }
  .solution-copy h2 {
    margin-inline: auto;
  }
  .solution-shot__frame {
    width: 100%;
    aspect-ratio: 4/3;
    padding: 0.9rem;
  }
  .solution-lead {
    max-width: none;
  }
}
@media (max-width: 860px) {
  /* Mobile: centra SOLO titoli (card restano a sinistra) */
  .process-copy .problem-kicker,
  .process-copy h2,
  .impact-copy .problem-kicker,
  .impact-copy h2 {
    text-align: center;
  }
  .process-copy h2,
  .impact-copy h2 {
    margin-inline: auto;
  }
}
.solution-kicker {
  margin: 0 0 0.5rem;
  font-weight: 800;
  color: var(--text-muted);
}

.solution-copy h2 {
  margin: 0 0 0.85rem;
  color: var(--text-main);
  font-size: clamp(2.4rem, 3.4vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.solution-brand {
  color: var(--accent-blue);
}

.solution-lead {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 1.25rem;
}

.solution-features {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}

.solution-feature {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 1.1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ui-gray);
  cursor: pointer;
}

.solution-feature--active {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 22, 40, 0.08);
  box-shadow: 0 10px 26px rgba(10, 22, 40, 0.08);
  color: var(--text-main);
}

.solution-feature__body {
  flex: 1;
  min-width: 0;
}

.solution-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.solution-icon__img {
  width: 48px;
  height: 48px;
  display: block;
}

.solution-feature__title {
  margin: 0;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  color: currentColor;
}

.solution-feature__text {
  margin: 0.35rem 0 0;
  color: currentColor;
  font-size: 1.25rem;
  line-height: 1.55;
  display: none;
}

.solution-feature--active .solution-feature__text {
  color: rgba(15, 47, 79, 0.78);
  display: block;
}

/* Process */
.process-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 860px) {
  .process-grid {
    grid-template-columns: 0.95fr 1fr;
    align-items: center;
  }
}
/* Tablet: mantieni layout "in riga" come desktop */
@media (min-width: 720px) and (max-width: 860px) {
  .process-grid {
    grid-template-columns: 0.95fr 1fr;
    align-items: center;
  }
  .process-media {
    order: 0;
    margin-bottom: 0;
  }
  .process-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.process-kicker {
  margin: 0 0 0.5rem;
  font-weight: 800;
  color: var(--text-muted);
}

.process-copy h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 3.4vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.process-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #e6e6e6;
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 830/725;
}

.process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.process-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem 2rem;
}

@media (min-width: 860px) {
  .process-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.process-point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 249, 252, 0.92) 100%);
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 10px 26px rgba(10, 22, 40, 0.08);
}

.process-point__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-top: 0;
}

.process-point__icon-img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.process-point h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.process-point p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.55;
}

.process-point__body {
  max-width: 34ch;
}

@media (max-width: 860px) {
  .process-points {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  /* Mobile: foto sopra "Come funziona" */
  .process-media {
    order: -1;
    margin-bottom: 1.25rem;
    aspect-ratio: 16/9;
  }
}
/* Impact */
.section--impact {
  background: var(--bg-light);
  color: var(--text-main);
}

.impact-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
}

@media (min-width: 860px) {
  .impact-layout {
    grid-template-columns: 1fr 1fr;
  }
}
/* Tablet: mantieni layout "in riga" come desktop */
@media (min-width: 720px) and (max-width: 860px) {
  .impact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.impact-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #e6e6e6;
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1/1;
}

.impact-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.impact-copy {
  max-width: 44rem;
}

.impact-kicker {
  margin: 0 0 0.5rem;
  font-weight: 800;
  color: var(--text-muted);
}

.impact-copy h2 {
  margin: 0 0 1.25rem;
  color: var(--text-main);
  font-size: clamp(2.4rem, 3.4vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem 2rem;
}

.impact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 1.1rem 1.15rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 249, 252, 0.92) 100%);
  border: 1px solid rgba(10, 22, 40, 0.08);
  box-shadow: 0 10px 26px rgba(10, 22, 40, 0.08);
}

.impact-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
}

.impact-icon__img {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.impact-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}

.impact-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 1.55;
}

.impact-item__body {
  max-width: 34ch;
}

@media (max-width: 860px) {
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .impact-media {
    aspect-ratio: 16/9;
  }
}
/* Reasons */
.reasons-kicker {
  margin: 0 0 0.45rem;
  font-weight: 800;
  color: var(--text-muted);
}

.section--reasons {
  position: relative;
  background: var(--bg-soft);
  overflow: hidden;
}

/* Contenuti sopra alle sfumature */
.section--reasons > .container {
  position: relative;
  z-index: 1;
}

/* Entrata sezione: bianco -> bg-soft (come mockup) */
.section--reasons::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(160px, 22vw, 280px);
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 45%, rgba(233, 236, 245, 0.65) 75%, rgb(233, 236, 245) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Sfumatura come mockup in chiusura sezione */
.section--reasons::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(110px, 16vw, 180px);
  background: linear-gradient(180deg, rgba(233, 236, 245, 0) 0%, rgba(233, 236, 245, 0.65) 55%, rgb(233, 236, 245) 100%);
  z-index: 0;
  pointer-events: none;
}

.reasons-toggle {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .reasons-toggle {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }
}
.section--reasons .section-head {
  text-align: center;
}

.section--reasons .section-head h2 {
  font-size: clamp(2.4rem, 3.4vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.reason-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  padding: 1.35rem 1.25rem;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid #e6eaf2;
  box-shadow: 0 10px 26px rgba(10, 22, 40, 0.08);
  cursor: pointer;
  color: var(--text-main);
  min-height: 200px;
}

.reason-item--active {
  color: var(--text-main);
}

.reason-icon {
  width: 68;
  height: 68;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.reason-icon__img {
  width: 68px;
  height: 68px;
  display: block;
  object-fit: contain;
  opacity: 0.95;
}

.reason-item:not(.reason-item--active) .reason-icon,
.reason-item:not(.reason-item--active) .reason-icon__img {
  width: 188px;
  height: 188px;
}

.reason-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: currentColor;
}

.reason-sub {
  margin: 0.35rem 0 0;
  color: currentColor;
  font-size: 1.25rem;
  line-height: 1.45;
  display: none;
}

.reason-item--active .reason-sub {
  display: block;
  color: var(--text-muted);
}

/* Team */
.section--team {
  position: relative;
  background: var(--bg-light);
  /* Più altezza/spazio verticale per separare titoli e profili */
  padding-top: clamp(3.5rem, 7vw, 5.75rem);
  padding-bottom: clamp(4.75rem, 9vw, 7.25rem);
  min-height: clamp(780px, 92vh, 980px);
}

/* Sfumatura tra bg-soft (sopra) e bianco (team) */
.section--team::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(120px, 18vw, 220px);
  background: linear-gradient(180deg, rgb(233, 236, 245) 0%, rgba(233, 236, 245, 0.65) 35%, rgb(255, 255, 255) 100%);
  pointer-events: none;
  z-index: 0;
}

.section--team > .container {
  position: relative;
  z-index: 1;
}

.team-head {
  /* Gap reale tra titoli e profili */
  margin-bottom: clamp(13rem, 15vw, 16rem);
  padding-bottom: 0;
  text-align: center;
  position: relative;
  z-index: 5;
}

.team-kicker {
  margin: 0 0 0.35rem;
  font-weight: 800;
  color: rgba(26, 34, 51, 0.72);
}

.team-head h2 {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(2.4rem, 3.4vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.team-grid {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  align-items: end;
  margin-top: 0;
  padding-top: 0;
  position: relative;
  z-index: 1;
  /* altezza riga segue la card attiva (bio espansa) */
  grid-auto-rows: minmax(360px, auto);
}

@media (min-width: 860px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: end;
  }
}
.team-card {
  --team-ease: cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  background: #eceaf6;
  color: var(--text-main);
  border-radius: 18px;
  /* padding-top sotto il ritratto assoluto */
  padding: 7.75rem 1.25rem 1.15rem;
  box-shadow: 0 14px 28px rgba(10, 22, 40, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  max-width: 360px;
  height: 285px;
  transition: transform 650ms var(--team-ease), box-shadow 650ms var(--team-ease), height 650ms var(--team-ease), padding 650ms var(--team-ease);
  transform: translateY(0) scale(1);
  cursor: pointer;
}

.team-card__content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.25rem;
  min-height: 0;
  overflow: hidden;
}

.team-card.is-active {
  height: auto;
  min-height: 420px;
  padding: 9.25rem 1.25rem 1.5rem;
  transform: translateY(-6px) scale(1);
  box-shadow: 0 16px 34px rgba(10, 22, 40, 0.14);
}

.team-card.is-active .team-card__content {
  overflow: visible;
}

.team-card--side {
  height: 315px;
}

.team-card--featured {
  max-width: 360px;
  height: 285px;
  padding: 7.75rem 1.25rem 1.15rem;
  transform: translateY(0) scale(1);
}

.team-photo {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 0;
  transform: translate(-50%, -55%);
  margin: 0;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(10, 22, 40, 0.06);
  transition: width 650ms var(--team-ease), height 650ms var(--team-ease), transform 650ms var(--team-ease);
}

@media (max-width: 860px) {
  /* Mobile/tablet small: niente sovrapposizioni, layout normale */
  .team-grid {
    grid-auto-rows: auto;
    align-items: start;
    gap: 1.75rem;
  }
  .team-card,
  .team-card--side,
  .team-card--featured,
  .team-card.is-active {
    height: auto;
    padding: 1.25rem 1.25rem 1.25rem;
    transform: none !important;
  }
  .team-photo {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    margin: 0 auto 1rem;
    width: 200px;
    height: 200px;
  }
}
.team-card.is-active .team-photo {
  width: 240px;
  height: 240px;
  transform: translate(-50%, -55%);
}

.team-card__name,
.team-card__role {
  transition: opacity 280ms var(--team-ease), transform 280ms var(--team-ease);
}

.team-card.is-reordering .team-card__name,
.team-card.is-reordering .team-card__role {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.team-photo__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.team-card__name {
  margin: 0.85rem 0 0;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.team-card__role {
  margin: 0.25rem 0 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.25rem;
}

.team-card__bio {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.5;
  color: rgba(26, 34, 51, 0.55);
  max-width: 42ch;
  margin-inline: auto;
}

.team-card__social {
  margin-top: 1.65rem;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
}

.team-social {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  color: rgba(26, 34, 51, 0.72);
  font-weight: 900;
  font-size: 0.75rem;
}

.team-social:hover {
  background: rgba(26, 34, 51, 0.06);
  text-decoration: none;
}

.team-social__img {
  width: 28px;
  height: 28px;
  display: block;
}

/* Values */
.values-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.value-card {
  padding: 1.35rem 1.2rem;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--primary-dark), color-mix(in srgb, var(--primary-dark) 88%, var(--primary-blue)));
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 0.65rem;
}

.value-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.value-card__link {
  margin-top: 0.35rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.value-card__link:hover {
  color: color-mix(in srgb, var(--accent-blue) 85%, white);
}

/* About */
.about-band {
  max-width: 72ch;
}

.about-band h2 {
  margin: 0 0 0.65rem;
}

.about-band p {
  margin: 0;
  color: var(--text-muted);
}

/* CTA final */
.section--cta-final {
  position: relative;
  background-image: url("../assets/images/holl.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
}

.section--cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.55);
  pointer-events: none;
}

.section--cta-final .container {
  position: relative;
  z-index: 1;
}

.cta-final {
  padding-block: clamp(6.25rem, 12vw, 9.5rem);
}

.cta-final h2 {
  margin: 0 auto 1.25rem;
  max-width: 22ch;
  font-size: clamp(2.35rem, 4.8vw, 3.5rem);
  line-height: 1.1;
  color: var(--text-light);
  text-shadow: 0 10px 28px rgba(10, 22, 40, 0.55);
}

.cta-final__sub {
  margin: 0 auto 1.35rem;
  max-width: 52ch;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text-light);
  text-shadow: 0 10px 28px rgba(10, 22, 40, 0.55);
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* FAQ */
.section--faq {
  position: relative;
  background: var(--bg-light);
  overflow: hidden;
  padding-bottom: clamp(4.75rem, 9vw, 7.25rem);
}

.section--faq::before {
  content: "";
  position: absolute;
  inset: -8% -10%;
  background: rgba(15, 47, 79, 0.12);
  -webkit-mask-image: url("../assets/icons/simbol.svg");
  mask-image: url("../assets/icons/simbol.svg");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  -webkit-mask-size: clamp(560px, 70vw, 1100px);
  mask-size: clamp(560px, 70vw, 1100px);
  pointer-events: none;
}

.section--faq > .container {
  position: relative;
  z-index: 1;
}

.section--faq .section-head {
  text-align: center;
  max-width: 62rem;
  margin-inline: auto;
}

.section--faq .section-head span {
  display: block;
  max-width: 68ch;
  font-size: 1.25rem;
  margin: 0.55rem auto 0;
}

.section--faq .accordion {
  width: min(920px, 100%);
  margin-inline: auto;
  margin-top: 1.35rem;
}

.accordion {
  display: grid;
  gap: 0.65rem;
}

.accordion-item {
  border-radius: 14px;
  border: 1px solid var(--line-soft);
  background: var(--white);
  padding: 0.15rem 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0.25rem;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--text-main);
}

.accordion-item summary::-webkit-details-marker {
  display: none;
}

.accordion-item__label {
  flex: 1;
  min-width: 0;
}

.accordion-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
}

.accordion-icon__img {
  display: block;
  width: 19px;
  height: 19px;
  object-fit: contain;
  transition: transform 0.35s ease;
  filter: brightness(0) saturate(100%) invert(40%) sepia(98%) saturate(2200%) hue-rotate(196deg) brightness(102%) contrast(101%);
}

.accordion-item[open] .accordion-icon__img,
.accordion-item.is-open .accordion-icon__img {
  transform: rotate(45deg);
}

.accordion-panel {
  padding: 0 0.25rem 1rem;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--text-muted);
  overflow: hidden;
}

.accordion-panel p {
  margin: 0;
}

/* Contact simple */
.contact-simple {
  max-width: 62ch;
}

.contact-simple h2 {
  margin: 0 0 0.65rem;
}

.contact-simple p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #0b2e59 0%, #2b73c6 100%);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 8.25rem;
  padding-bottom: 8rem;
  border-top: 0;
}

.footer-top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 0;
  border-bottom: 0;
}

@media (min-width: 860px) {
  .footer-top {
    grid-template-columns: 0.78fr 1fr;
    gap: 3.25rem;
    align-items: start;
  }
}
.footer-logo img {
  width: min(980px, 100%);
  height: auto;
  display: block;
}

.footer-right {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 1.15rem;
}

.footer-title {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  font-size: 0.85rem;
}

.footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.35rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.92);
}

.footer-menu a:hover {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

.footer-divider {
  height: 0.5px;
  background: rgba(255, 255, 255, 0.35);
  margin-top: 2.75rem;
  margin-bottom: 1.25rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0;
  align-items: flex-start;
}

@media (min-width: 860px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.small {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: inline-flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-legal a:hover {
  color: var(--text-light);
  text-decoration: none;
}

/*# sourceMappingURL=main.css.map */
