:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --brand: #24a8a7;
  --brand-dark: #0f766e;
  --orange: #ff9f2f;
  --blue: #2563eb;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Inter,
    Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  display: block;
}

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

/* =========================
   NAVBAR
========================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav-inner {
  width: min(1180px, calc(100% - 40px));
  height: 76px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.brand {
  display: block;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-subtitle {
  display: block;
  margin-top: 1px;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;

  font-size: 0.95rem;
  color: #334155;
}

.nav-links a {
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
}

/* =========================
   BOTTONI
========================= */

.login-btn,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.login-btn,
.primary-btn {
  color: #ffffff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(36, 168, 167, 0.24);
}

.login-btn {
  padding: 12px 22px;
}

.primary-btn {
  padding: 15px 26px;
}

.secondary-btn {
  padding: 14px 24px;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
}

.login-btn:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

/* =========================
   SEZIONI GENERALI
========================= */

.section-pad {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--brand-dark);

  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* =========================
   HERO
========================= */

.hero {
  padding-top: 110px;
  padding-bottom: 70px;
  text-align: center;
}

.hero h1 {
  margin: 0;

  font-size: clamp(3.6rem, 8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
  font-weight: 850;
}

.hero-text {
  max-width: 780px;
  margin: 28px auto 0;

  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* =========================
   SHOWCASE CITYVISION
========================= */

.showcase {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.showcase-card {
  position: relative;

  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;

  min-height: 520px;
  padding: 58px;

  overflow: hidden;
  color: #ffffff;
  border-radius: 42px;

  background:
    radial-gradient(
      circle at 76% 20%,
      rgba(36, 168, 167, 0.22),
      transparent 34%
    ),
    linear-gradient(135deg, #0f172a, #0d9488);

  box-shadow: var(--shadow);
}

.showcase-copy {
  position: relative;
  z-index: 2;
}

.showcase-copy span,
.product-label {
  color: rgba(255, 255, 255, 0.68);

  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.showcase-copy h2 {
  margin: 16px 0;

  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.showcase-copy p {
  max-width: 430px;
  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.75);
  font-size: 1.15rem;
  line-height: 1.6;
}

.mockup {
  position: relative;
  justify-self: center;

  width: min(100%, 620px);
  height: 430px;

  overflow: hidden;

  border-radius: 34px;
  background: #f5f0e8;
  border: 1px solid rgba(255, 255, 255, 0.18);

  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.city-mockup {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cityvision-map-image {
  position: static;

  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
  object-position: center;

  transform: none;
}

/* =========================
   TITOLI DELLE SEZIONI
========================= */

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2,
.statement h2,
.contact h2 {
  margin: 0;

  font-size: clamp(2.3rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading p:not(.eyebrow),
.contact p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.65;
}

/* =========================
   PRODOTTI
========================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;

  max-width: 1040px;
  margin: 0 auto;
}

.product-card {
  overflow: hidden;

  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;

  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.05);
}

.product-visual {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 260px;
  overflow: hidden;

  background: #eef2ff;
}

.product-visual img {
  display: block;
}

.product-logo {
  width: auto;
  height: auto;

  max-width: 70%;
  max-height: 150px;

  object-fit: contain;

  background: #ffffff;
  border: 1.5px solid rgba(15, 23, 42, 0.75);
  border-radius: 16px;

  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
}

.cityvision-logo {
  max-width: 55%;
}

.studio-logo {
  max-width: 60%;
}

.product-content {
  padding: 26px;
}

.product-content .product-label {
  color: var(--brand-dark);
}

.product-content h3 {
  margin: 10px 0;

  font-size: 1.75rem;
  letter-spacing: -0.04em;
}

.product-content p {
  color: var(--muted);
  line-height: 1.6;
}

.product-content a {
  display: inline-block;
  margin-top: 12px;

  color: var(--brand-dark);
  font-weight: 800;
}

/* =========================
   SFONDI PRODOTTI
========================= */

.city-visual {
  background: linear-gradient(135deg, #ecfeff, #f0fdf4);
}

.studio-visual {
  background: linear-gradient(135deg, #fff7ed, #eff6ff);
}

.civil-visual {
  background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

/* =========================
   STATEMENT
========================= */

.statement {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 40px;

  text-align: center;
  color: #ffffff;

  background: #0f172a;
  border-radius: 36px;

  box-shadow: var(--shadow);
}

/* =========================
   TECNOLOGIE
========================= */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tech-grid div {
  padding: 32px 16px;

  text-align: center;
  font-size: 1.15rem;
  font-weight: 850;

  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;

  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

/* =========================
   AZIENDA
========================= */



.company {
  padding-top: 110px;
  padding-bottom: 110px;
}

.company-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 90px;

  max-width: 1080px;
  margin: 0 auto;
}

.company-heading {
  text-align: left;
}


.company > .company-eyebrow {
  display: block;
  width: 100%;
  margin: 0 0 40px;
  text-align: center !important;
}


.company-heading h2 {
  max-width: 650px;
  margin: 0;

  font-size: clamp(2.7rem, 4.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.company-description {
  padding-left: 40px;
  border-left: 1px solid var(--line);
}

.company-description p {
  margin: 0;

  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.company-description p + p {
  margin-top: 18px;
}

/* =========================
   CONTATTI
========================= */

.contact {
  padding: 64px 40px;

  text-align: center;

  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 38px;

  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}

.contact p {
  margin-bottom: 28px;
}

/* =========================
   FOOTER
========================= */

.footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 54px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  color: var(--muted);
}

.footer strong {
  color: var(--text);
}

.footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* =========================
   TABLET
========================= */

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }

  .showcase-card {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px;
  }

  .mockup {
    width: 100%;
  }

  .product-grid,
  .tech-grid {
    grid-template-columns: 1fr;
  }

  .company {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .company-content {
    grid-template-columns: 1fr;
    gap: 38px;

    max-width: 760px;
  }

  .company-heading {
    text-align: center;
  }

  .company-heading h2 {
    max-width: 760px;
    margin: 0 auto;
  }

  .company-description {
    max-width: 680px;
    margin: 0 auto;

    padding-left: 0;
    border-left: 0;

    text-align: center;
  }

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

/* =========================
   MOBILE
========================= */

@media (max-width: 560px) {
  .nav-inner,
  .section-pad,
  .showcase,
  .statement,
  .footer {
    width: min(100% - 24px, 1180px);
  }

  .nav-inner {
    height: 68px;
  }

  .logo {
    width: 38px;
    height: 38px;
  }

  .brand {
    font-size: 1rem;
  }

  .brand-subtitle {
    font-size: 0.64rem;
  }

  .login-btn {
    padding: 10px 15px;
  }

  .hero {
    padding-top: 76px;
    padding-bottom: 56px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .showcase-card {
    padding: 26px;
    border-radius: 28px;
  }

  .showcase-copy h2 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .mockup {
    height: 330px;
    border-radius: 28px;
  }

  .product-card {
    border-radius: 26px;
  }

  .product-visual {
    height: 220px;
  }

  .product-logo {
    max-height: 125px;
    border-radius: 14px;
  }

  .cityvision-logo {
    max-width: 64%;
  }

  .studio-logo {
    max-width: 68%;
  }

  .statement {
    padding: 58px 24px;
    border-radius: 28px;
  }

  .company {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .company-content {
    gap: 30px;
  }

  .company-heading h2 {
    font-size: clamp(2.35rem, 11vw, 3.4rem);
    line-height: 1;
  }

  .company-description p {
    font-size: 1.02rem;
    line-height: 1.7;
  }

  .contact {
    padding: 54px 24px;
    border-radius: 28px;
  }

  .footer {
    padding-top: 32px;
  }
}