:root {
  --roi-ink: #0f172a;
  --roi-muted: #64748b;
  --roi-line: #e2e8f0;
  --roi-surface: #ffffff;
  --roi-soft: #f4f8fc;
  --roi-green: #10b981;
  --roi-green-dark: #047857;
  --roi-navy: #0b1426;
}

body {
  background: var(--roi-soft);
  color: var(--roi-ink);
}

.hero-roi {
  min-height: 480px;
  padding: 112px 20px 88px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-roi::before {
  background-image: url("/img/rome-bg.jpg");
  filter: saturate(.9) contrast(1.03) brightness(1.05);
  transform: scale(1.02);
}

.hero-roi.rome::before {
  background-image: url("/img/rome-bg.jpg");
}

.hero-roi.milan::before {
  background-image: url("/img/milan-bg.jpg");
}

.hero-roi.naples::before {
  background-image: url("/img/naples-bg.jpg");
}

.hero-roi.florence::before {
  background-image: url("/img/florence-bg.jpg");
}

.hero-roi::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(5, 15, 32, .26), rgba(5, 15, 32, .5));
}

.hero-roi .container {
  width: min(100%, 1040px);
  margin: 0 auto;
}

.hero-roi h1 {
  max-width: 790px;
  margin: 0 auto;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 3px 18px rgba(2, 6, 23, .72);
}

.hero-roi > .container > p {
  max-width: 710px;
  margin: 22px auto 0;
  color: #e2e8f0;
  font-size: 17px;
  line-height: 1.65;
  text-shadow: 0 2px 10px rgba(2, 6, 23, .72);
}

.hero-roi .cta {
  margin-top: 30px;
}

.hero-roi .btn,
.cta-box .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 0;
  border-radius: 12px;
  background: var(--roi-green);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(16, 185, 129, .28);
}

.hero-stats {
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-stats div {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(15, 23, 42, .5);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.hero-highlights {
  width: min(100%, 650px);
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-highlight {
  min-height: 76px;
  padding: 12px 8px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
}

.hero-highlight span {
  font-size: 20px;
}

.hero-highlight p {
  margin: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

main {
  padding: 34px 18px 90px;
  background: var(--roi-soft);
}

.section,
.section.section-light {
  width: min(100%, 980px);
  margin: 28px auto;
  padding: 58px 48px;
  border: 1px solid var(--roi-line);
  border-radius: 24px;
  background: var(--roi-surface);
  box-shadow: 0 18px 45px rgba(15, 23, 42, .07);
}

.section .container {
  max-width: none !important;
}

.section h2 {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--roi-ink);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -.03em;
  text-align: center;
  text-wrap: balance;
}

.section .container > p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--roi-muted);
  line-height: 1.75;
  text-align: center;
}

.strategy-badge {
  width: max-content;
  margin: 0 auto;
  padding: 7px 12px;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  background: #ecfdf5;
  color: var(--roi-green-dark);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
}

.highlight-box,
.safe-box,
.danger-box {
  margin-top: 30px;
  padding: 30px;
  border: 1px solid var(--roi-line);
  border-radius: 18px;
  background: #f8fafc;
  box-shadow: none;
  text-align: center;
}

.highlight-box h3,
.safe-box h3,
.danger-box h3 {
  margin: 15px 0 0;
  color: var(--roi-ink);
  font-size: 21px;
}

.highlight-box p,
.safe-box p,
.danger-box p {
  max-width: 710px;
  margin: 12px auto 0;
  color: var(--roi-muted);
  line-height: 1.7;
}

.danger-box {
  border-color: #fecaca;
  background: #fff7f7;
}

.safe-box {
  border-color: #a7f3d0;
  background: #f0fdf4;
}

.roi-kpi {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.roi-kpi > div {
  min-height: 168px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--roi-line);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .055);
}

.roi-kpi > div::before {
  display: none;
}

.kpi-label {
  color: var(--roi-muted);
  font-size: 12px;
  font-weight: 800;
}

.roi-kpi strong {
  margin: 10px 0 7px;
  color: var(--roi-green-dark);
  font-size: 28px;
}

.roi-kpi span {
  color: var(--roi-muted);
  font-size: 12px;
  line-height: 1.45;
}

.roi-card {
  margin-top: 34px;
  padding: 8px 24px;
  border: 1px solid var(--roi-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.market-city {
  padding: 19px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.market-city strong {
  display: block;
  color: var(--roi-ink);
  font-size: 16px;
}

.market-city span {
  display: block;
  margin-top: 5px;
  color: var(--roi-muted);
  font-size: 12px;
}

.market-city p {
  margin: 0;
  color: var(--roi-green-dark);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.roi-card hr {
  border: 0;
  border-top: 1px solid var(--roi-line);
}

.internal-links,
.academy-links {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.internal-links a,
.academy-links a {
  padding: 10px 14px;
  border: 1px solid var(--roi-line);
  border-radius: 10px;
  background: #fff;
  color: var(--roi-green-dark);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(15, 23, 42, .05);
}

.cta-box {
  padding: 50px 38px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: var(--roi-ink);
  box-shadow: 0 20px 45px rgba(16, 185, 129, .22);
}

.cta-box::before {
  display: none;
}

.cta-box h2 {
  color: var(--roi-ink);
}

.cta-box > p {
  color: #064e3b;
}

.cta-box .strategy-badge {
  background: #fff;
}

.premium-features {
  margin: 24px auto;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.premium-features span {
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  background: rgba(255, 255, 255, .17);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.cta-box .hero-stats div,
.cta-box .hero-highlight {
  border-color: rgba(255, 255, 255, .38);
  background: rgba(6, 78, 59, .25);
}

.cta-box .btn {
  background: #fff;
  color: var(--roi-green-dark);
  box-shadow: 0 12px 25px rgba(6, 78, 59, .18);
}

.academy-next-guide {
  width: min(100%, 980px);
  margin: 28px auto 0;
  padding: 58px 30px;
  border-radius: 24px;
  background: #fff;
  text-align: center;
}

.academy-next-guide h2 {
  margin: 15px 0 0;
  color: var(--roi-ink);
}

.academy-next-guide > p {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--roi-muted);
}

@media (max-width: 820px) {
  .hero-roi {
    min-height: 0;
    padding: 86px 18px 62px;
  }

  .hero-highlights,
  .roi-kpi {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section,
  .section.section-light {
    padding: 42px 24px;
    border-radius: 20px;
  }
}

@media (max-width: 520px) {
  main {
    padding-inline: 12px;
  }

  .hero-roi h1 {
    font-size: 36px;
  }

  .hero-roi > .container > p {
    font-size: 15px;
  }

  .hero-stats {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-stats div {
    border-radius: 12px;
  }

  .section,
  .section.section-light {
    margin: 18px auto;
    padding: 36px 18px;
  }

  .roi-kpi {
    grid-template-columns: 1fr;
  }

  .roi-kpi > div {
    min-height: 135px;
  }

  .market-city {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-box {
    padding: 38px 18px;
  }

  .cta-box .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
