/* Sub-page layout — shared between /servizi and /zone */

.subpage-hero {
  padding: 160px 24px 80px;
  text-align: center;
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.subpage-hero__inner {
  position: relative;
  z-index: 2;
}

.subpage-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 18px 0 22px;
}

.subpage-hero p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 720px;
  margin: 0 auto 36px;
  opacity: .85;
  line-height: 1.6;
}

.breadcrumb {
  font-size: .9rem;
  opacity: .6;
  margin-bottom: 22px;
  letter-spacing: .02em;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s;
}

.breadcrumb a:hover { opacity: 1; }

.content-block {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 100px;
  position: relative;
  z-index: 2;
}

/* Tipografia "prose" — solo per i figli DIRETTI di .content-block o .numbers-intro,
   per non interferire con i componenti interni (card, lead, timeline, ecc.) */
.content-block > h2,
.numbers-intro > h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  margin: 56px 0 18px;
  line-height: 1.25;
}

.content-block > h2:first-child,
.numbers-intro > h2:first-child { margin-top: 0; }

.content-block > h3,
.numbers-intro > h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 32px 0 12px;
}

.content-block > p,
.numbers-intro > p {
  line-height: 1.75;
  opacity: .88;
  margin: 0 0 18px;
  font-size: 1.05rem;
}

.content-block > ul,
.numbers-intro > ul {
  line-height: 1.85;
  opacity: .88;
  padding-left: 22px;
  margin: 0 0 20px;
}

.content-block > ul > li,
.numbers-intro > ul > li { margin-bottom: 8px; }

/* Link inline solo in prose paragraphs/list — non bottoni o card */
.content-block > p > a,
.content-block > ul > li > a,
.numbers-intro > p > a,
.numbers-intro > ul > li > a {
  color: #8ab4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(138, 180, 255, .3);
  transition: border-color .2s;
}

.content-block > p > a:hover,
.content-block > ul > li > a:hover,
.numbers-intro > p > a:hover,
.numbers-intro > ul > li > a:hover { border-color: #8ab4ff; }

/* Forza colore bianco pieno sul testo del bottone primary nella CTA */
.content-cta .btn--primary,
.content-cta .btn--primary span {
  color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0 12px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 22px 22px 18px;
  transition: transform .25s ease, border-color .25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.35);
}

.feature-card h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-card p {
  font-size: .95rem;
  margin: 0;
  opacity: .8;
  line-height: 1.55;
}

.content-cta {
  margin-top: 64px;
  padding: 44px 28px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(217, 70, 239, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  text-align: center;
}

.content-cta h3 {
  font-size: 1.5rem;
  margin: 0 0 10px;
}

.content-cta p {
  margin: 0 0 24px;
  opacity: .8;
}

.content-cta--inline {
  margin-top: 40px;
  margin-bottom: 8px;
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.025);
}

.content-cta--inline h3 {
  font-size: 1.25rem;
}

.zone-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 28px 0 8px;
}

.zone-stat {
  text-align: center;
  padding: 22px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
}

.zone-stat__num {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3B82F6, #D946EF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.zone-stat__label {
  font-size: .85rem;
  opacity: .7;
}

@media (max-width: 600px) {
  .subpage-hero { padding: 130px 20px 60px; }
  .content-block { padding: 20px 20px 70px; }
  .content-block h2 { margin-top: 40px; }
}

/* ============================================
   ENHANCED COMPONENTS — Rich subpage sections
   ============================================ */

/* === STAT HERO (large highlighted numbers) === */
.stat-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 32px 0 64px;
}

.stat-hero__card {
  position: relative;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(217, 70, 239, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  text-align: center;
  transition: transform .3s ease, border-color .3s ease;
  overflow: hidden;
}

.stat-hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(217, 70, 239, 0.08));
  opacity: 0;
  transition: opacity .3s;
}

.stat-hero__card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

.stat-hero__card:hover::before { opacity: 1; }

.stat-hero__num {
  display: block;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #3B82F6, #D946EF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.stat-hero__label {
  display: block;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .65;
  position: relative;
  z-index: 1;
}

/* === SECTION HEADER (centered tag + title) === */
.sub-section {
  margin: 80px 0;
}

.sub-section__header,
.sub-section__header * {
  text-align: center;
}

.sub-section__header {
  margin-bottom: 40px;
}

.sub-section__header .section__tag {
  display: inline-block;
  margin-bottom: 14px;
}

.sub-section__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 auto;
  text-align: center;
}

.sub-section__lead {
  max-width: 660px;
  margin: 16px auto 0;
  opacity: .75;
  line-height: 1.65;
  font-size: 1rem;
  text-align: center;
}

/* Intro centrato per la sezione "I numeri raccontano Milano" */
.numbers-intro {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.numbers-intro h2 {
  text-align: center;
  margin: 0 auto 18px !important;
}

.numbers-intro p {
  text-align: center;
}

/* === ZONE MAP (2-col image + pin cards) === */
.zone-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.zone-map__visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 420px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.zone-map__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0) 40%, rgba(10, 10, 15, 0.7) 100%);
  pointer-events: none;
}

.zone-map__caption {
  position: absolute;
  bottom: 18px;
  left: 22px;
  right: 22px;
  font-size: .9rem;
  opacity: .85;
  z-index: 2;
}

.zone-map__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}

.zone-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: transform .25s, border-color .25s;
}

.zone-pin:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.4);
}

.zone-pin__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(217, 70, 239, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.zone-pin__icon svg { width: 18px; height: 18px; }

.zone-pin__body { width: 100%; }

.zone-pin__title {
  font-size: .82rem;
  font-weight: 600;
  margin: 0 0 2px;
  line-height: 1.2;
}

.zone-pin__sub {
  font-size: .72rem;
  opacity: .6;
  line-height: 1.35;
  margin: 0;
}

@media (max-width: 880px) {
  .zone-map { grid-template-columns: 1fr; }
  .zone-map__visual { min-height: 280px; }
  .zone-map__list { grid-template-columns: 1fr; }
}

/* === PERSONA GRID (avatar + category) === */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.persona-card {
  text-align: center;
  padding: 26px 20px 22px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  transition: transform .3s, border-color .3s;
}

.persona-card:hover {
  transform: translateY(-5px);
  border-color: rgba(217, 70, 239, 0.35);
}

.persona-card__avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #3B82F6, #D946EF);
  position: relative;
}

.persona-card__avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #0a0a0f;
}

.persona-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.persona-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.persona-card__text {
  font-size: .88rem;
  opacity: .72;
  line-height: 1.5;
  margin: 0 0 10px;
}

.persona-card__tag {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .55;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* === SERVICE CARD RICH === */
.service-rich-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.service-rich {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.028);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: transform .3s, border-color .3s;
  display: flex;
  flex-direction: column;
}

.service-rich:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
}

.service-rich__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(217, 70, 239, 0.15));
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-rich__icon svg { width: 26px; height: 26px; }

.service-rich__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px;
}

.service-rich__text {
  font-size: .95rem;
  opacity: .8;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.service-rich__features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.service-rich__features li {
  position: relative;
  padding-left: 26px;
  font-size: .88rem;
  opacity: .78;
  margin-bottom: 8px;
  line-height: 1.4;
}

.service-rich__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.service-rich__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: .92rem;
  font-weight: 600;
  color: #8ab4ff;
  text-decoration: none;
  border-bottom: none !important;
  transition: gap .2s, color .2s;
}

.service-rich__link:hover {
  gap: 10px;
  color: #c084fc;
}

/* === TWO COLUMN IMAGE + TEXT === */
.two-col-img {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: center;
}

.two-col-img--reverse {
  grid-template-columns: 7fr 5fr;
}

.two-col-img--reverse .two-col-img__visual { order: 2; }

.two-col-img__visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.two-col-img__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.two-col-img__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent 50%, rgba(217, 70, 239, 0.1));
  pointer-events: none;
}

.two-col-img__body h2 {
  margin: 14px 0 18px !important;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem) !important;
  line-height: 1.15;
}

.two-col-img__body p {
  margin: 0 0 18px;
}

.two-col-img__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
}

.two-col-img__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: .95rem;
  opacity: .85;
}

.two-col-img__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #D946EF);
  display: flex;
}

.two-col-img__list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

@media (max-width: 760px) {
  .two-col-img, .two-col-img--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .two-col-img--reverse .two-col-img__visual { order: 0; }
  .two-col-img__visual { aspect-ratio: 16 / 10; }
}

/* === TIMELINE STEPS (horizontal on desktop, vertical on mobile) === */
.timeline-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), 1fr);
  gap: 16px;
  margin-top: 40px;
}

.timeline-steps::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.35), rgba(217, 70, 239, 0.35));
  z-index: 0;
}

.timeline-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.timeline-step__num {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3B82F6, #D946EF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.timeline-step__badge {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .6;
  margin-bottom: 6px;
}

.timeline-step__title {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.timeline-step__text {
  font-size: .85rem;
  opacity: .7;
  line-height: 1.5;
  padding: 0 8px;
  margin: 0;
}

@media (max-width: 880px) {
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .timeline-steps::before {
    top: 0;
    bottom: 0;
    left: 23px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.35), rgba(217, 70, 239, 0.35));
  }
  .timeline-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto auto auto;
    text-align: left;
    align-items: start;
    column-gap: 18px;
    row-gap: 4px;
  }
  .timeline-step__num {
    margin: 0;
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: center;
    -webkit-text-fill-color: transparent;
  }
  .timeline-step__badge { grid-column: 2; grid-row: 1; }
  .timeline-step__title { grid-column: 2; grid-row: 2; }
  .timeline-step__text  { grid-column: 2; grid-row: 3; padding: 0; }
}

/* === FAQ ACCORDION === */
.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.faq__item:first-child { border-top: 1px solid rgba(255, 255, 255, 0.07); }

.faq__question {
  width: 100%;
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 60px 22px 4px;
  cursor: pointer;
  position: relative;
  transition: color .2s;
}

.faq__question:hover { color: #8ab4ff; }

.faq__question::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 300;
  color: #8ab4ff;
  transition: transform .3s;
  line-height: 1;
}

.faq__item.is-open .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 500px;
  padding-bottom: 22px;
}

.faq__answer p {
  margin: 0;
  padding: 0 4px;
  opacity: .8;
  line-height: 1.7;
  font-size: .96rem;
}

/* === COMPARISON TABLE (landing vs sito) === */
.compare {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  overflow: hidden;
}

.compare__row {
  display: contents;
}

.compare__cell {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: .95rem;
  line-height: 1.5;
}

.compare__row:last-child .compare__cell { border-bottom: none; }

.compare__row--head .compare__cell {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .75;
}

.compare__cell--label {
  font-weight: 500;
  opacity: .85;
}

.compare__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: #34d399;
  font-weight: 700;
  font-size: .85rem;
}

.compare__dash {
  display: inline-block;
  width: 22px;
  height: 22px;
  text-align: center;
  line-height: 22px;
  opacity: .35;
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .compare { font-size: .85rem; }
  .compare__cell { padding: 14px 12px; }
}

/* === FLAG / RED CHECK CARDS (Restyling "è obsoleto?") === */
.flag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.flag-card {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 70, 70, 0.04);
  border: 1px solid rgba(255, 70, 70, 0.12);
  border-radius: 14px;
}

.flag-card__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 100, 100, 0.18);
  color: #ff6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
}

.flag-card__text {
  font-size: .92rem;
  line-height: 1.5;
  opacity: .88;
}

.flag-card__text strong { color: #ffb4b4; font-weight: 600; }

/* === HERO WITH BACKGROUND IMAGE === */
.subpage-hero--bg {
  position: relative;
  overflow: visible;
  max-width: none;
  width: 100%;
  min-height: 100vh;
  padding: 140px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.subpage-hero--bg .subpage-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.subpage-hero--bg .subpage-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
  filter: saturate(.85);
}

.subpage-hero--bg .subpage-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.18), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(217, 70, 239, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(10, 10, 15, 0.55) 0%, rgba(10, 10, 15, 0.85) 75%, rgba(10, 10, 15, 1) 100%);
}

.subpage-hero--bg .subpage-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

/* === STAT HERO IN OVERLAY SU HERO ===
   I card si "appoggiano" sulla linea inferiore della hero section.
   Centro verticale dei card sul bordo hero/content-block. */
.subpage-hero--bg + .content-block {
  padding-top: 0;
}

.stat-hero--overlap {
  position: relative;
  z-index: 5;
  margin-top: -78px;
  margin-bottom: 80px;
}

.stat-hero--overlap .stat-hero__card {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, rgba(20, 20, 28, 0.92), rgba(15, 15, 22, 0.92));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 600px) {
  .stat-hero--overlap {
    margin-top: -40px;
    margin-bottom: 50px;
  }
  .stat-hero--overlap .stat-hero__card {
    min-height: 120px;
    padding: 22px 18px;
  }
}

/* === PIN GRID (zone-map senza foto) === */
.zone-map--list-only {
  grid-template-columns: 1fr;
}

.zone-map--list-only .zone-map__list {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 760px) {
  .zone-map--list-only .zone-map__list {
    grid-template-columns: 1fr;
  }
}

/* === PERSONA CAROUSEL (3 visibili, auto-scroll) === */
.persona-carousel {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.persona-carousel__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: persona-scroll 45s linear infinite;
}

.persona-carousel:hover .persona-carousel__track {
  animation-play-state: paused;
}

.persona-carousel .persona-card {
  flex-shrink: 0;
  width: 280px;
}

/* keyframes: una "metà" di 6 card è larga 6×280 + 6×20 = 1800px.
   translateX di -1800px porta esattamente all'inizio del secondo set duplicato. */
@keyframes persona-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-1800px); }
}

@media (max-width: 760px) {
  .persona-carousel .persona-card { width: 240px; }
  @keyframes persona-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-1560px); } /* 6 × (240 + 20) */
  }
}

@media (prefers-reduced-motion: reduce) {
  .persona-carousel__track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* === SERVICE GRID — 4 colonne forzate === */
.service-rich-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
  .service-rich-grid--4col {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .service-rich-grid--4col {
    grid-template-columns: 1fr;
  }
}

/* Quando il content-block è più largo (per ospitare 4 card), permettiamo il break-out */
.content-block--wide {
  max-width: 1180px;
}

/* Sezione full-bleed che esce dal content-block per ospitare i 4 card servizio.
   Usa margin negativo (non transform) così non viene rotta da .reveal */
.sub-section--wide {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.sub-section--wide > .sub-section__header,
.sub-section--wide > .service-rich-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 600px) {
  .sub-section--wide {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* === PRO / CONTRO (con il servizio vs senza) === */
.proscons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0;
}

.proscons__col {
  border-radius: 18px;
  padding: 28px 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.proscons__col--pro {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(217, 70, 239, 0.08));
  border-color: rgba(59, 130, 246, 0.32);
}

.proscons__col--con {
  background: rgba(255, 255, 255, 0.02);
}

.proscons__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 18px;
}

.proscons__badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.proscons__col--pro .proscons__badge {
  background: linear-gradient(135deg, #3B82F6, #D946EF);
  color: #fff;
}

.proscons__col--con .proscons__badge {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
}

.proscons__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.proscons__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 13px;
  line-height: 1.5;
  font-size: .96rem;
  opacity: .9;
}

.proscons__list li::before {
  position: absolute;
  left: 0;
  top: -1px;
  font-size: 1rem;
  font-weight: 700;
}

.proscons__col--pro .proscons__list li::before {
  content: "✓";
  color: #5b9bff;
}

.proscons__col--con .proscons__list li::before {
  content: "✕";
  color: rgba(255, 255, 255, 0.4);
}

.proscons__col--con .proscons__list li { opacity: .65; }

@media (max-width: 600px) {
  .proscons { grid-template-columns: 1fr; }
}

/* === FEATURES GRID CON ICONA GRADIENTE (box più grandi) === */
.features-grid--icons {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.features-grid--icons .feature-card {
  padding: 30px 28px 26px;
  border-radius: 20px;
}

.feature-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(217, 70, 239, 0.16));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-card__icon svg {
  width: 28px;
  height: 28px;
}

.features-grid--icons .feature-card h4 {
  font-size: 1.12rem;
}

/* === FEATURES GRID — 3 colonne forzate === */
.features-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 760px) {
  .features-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .features-grid--3col { grid-template-columns: 1fr; }
}

/* === ELENCO PAESI (chip con pin) === */
.town-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0;
}

.town-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: .92rem;
  font-weight: 500;
  transition: transform .2s ease, border-color .2s ease;
}

.town-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(59, 130, 246, 0.4);
}

.town-chip svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.town-chip--more {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(217, 70, 239, 0.14));
  border-color: rgba(59, 130, 246, 0.3);
  font-weight: 600;
}

/* === GOAL GRID (obiettivi landing page — 2 righe × 3 colonne, centrato) === */
.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.goal-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 28px 22px 24px;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease;
}

.goal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.35);
}

.goal-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(217, 70, 239, 0.14));
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.goal-card__icon svg {
  width: 26px;
  height: 26px;
}

.goal-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 8px;
}

.goal-card p {
  font-size: .88rem;
  opacity: .75;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 720px) {
  .goal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 440px) {
  .goal-grid { grid-template-columns: 1fr; }
}
