:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --surface-alt: #eaf4f2;
  --text: #0f2338;
  --muted: #4e6172;
  --primary: #0f2f4f;
  --primary-deep: #081a2b;
  --accent: #1e8a63;
  --border: rgba(15, 47, 79, 0.12);
  --shadow: 0 24px 70px rgba(8, 26, 43, 0.12);
  --radius: 22px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(30, 138, 99, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fcfd 0%, #eef5f8 100%);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(248, 252, 253, 0.88);
  border-bottom: 1px solid rgba(15, 47, 79, 0.08);
}

.header-row,
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.header-row {
  min-height: 108px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  width: auto;
  height: 86px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 700;
}

.hero,
.section {
  padding: 4.5rem 0;
}

.hero {
  padding-top: 2.6rem;
}

.hero-grid,
.contact-box {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 2.4rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 10ch;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 640px;
}

.hero-lead {
  margin-bottom: 1rem;
  font-size: 1.12rem;
  color: var(--text);
}

.hero-text,
.section-heading p,
.service-card p,
.reason-card p,
.contact-card p,
.site-footer p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-highlights span {
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--primary);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d496f 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 47, 79, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
}

.hero-visual-card,
.panel-card,
.service-card,
.reason-card,
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-visual-card {
  position: relative;
  padding: 1.1rem;
  overflow: hidden;
}

.hero-visual-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(24, 127, 209, 0.13), transparent 30%),
    radial-gradient(circle at bottom left, rgba(82, 182, 31, 0.12), transparent 34%);
}

.hero-visual-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card,
.service-card,
.reason-card,
.contact-card {
  padding: 1.45rem;
}

.panel-card {
  background: linear-gradient(160deg, var(--primary-deep) 0%, var(--primary) 100%);
  color: #fff;
}

.panel-card p {
  color: rgba(255, 255, 255, 0.82);
}

.panel-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.panel-stats div {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.card-grid,
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(15, 47, 79, 0.04) 0%, rgba(30, 138, 99, 0.05) 100%);
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.tech-list span {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  color: var(--primary);
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-box {
  padding: 2rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, rgba(15, 47, 79, 0.98) 0%, rgba(13, 87, 97, 0.95) 100%);
  color: #fff;
  box-shadow: var(--shadow);
}

.contact-box p,
.contact-card p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.contact-card a {
  display: block;
  margin-top: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.site-footer {
  padding: 1.6rem 0 2.4rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .section {
    padding: 3.8rem 0;
  }

  .hero {
    padding-top: 2.3rem;
  }

  .hero-grid,
  .contact-box,
  .card-grid,
  .reasons-grid,
  .panel-stats {
    grid-template-columns: 1fr;
  }

  .header-row,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .brand-logo {
    height: 74px;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 1rem;
  }

  h1 {
    max-width: 12ch;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual-logo {
    max-width: 500px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .brand-logo {
    height: 64px;
  }

  .site-nav {
    gap: 0.75rem;
  }

  .hero,
  .section {
    padding: 3.1rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-actions,
  .hero-highlights {
    flex-direction: column;
  }

  .hero-visual-card,
  .panel-card,
  .service-card,
  .reason-card,
  .contact-card,
  .contact-box {
    border-radius: 18px;
  }

  .button,
  .hero-highlights span {
    width: 100%;
  }
}
/* Logo GEO-HUB: usa PNG originali senza deformazioni */
.brand-logo {
  max-height: 72px;
  height: auto;
  width: auto;
  object-fit: contain;
}

.hero-visual-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 1.6rem;
}

.hero-visual-logo {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

@media (max-width: 980px) {
  .brand-logo {
    max-height: 62px;
    height: auto;
  }

  .hero-visual-logo {
    max-width: 440px;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    max-height: 54px;
    height: auto;
  }

  .hero-visual-card {
    min-height: auto;
    padding: 1.2rem;
  }

  .hero-visual-logo {
    max-width: 320px;
  }
}
/* Sezione: Cosa possiamo fare per il tuo Comune */
.municipality-section {
  background:
    radial-gradient(circle at top right, rgba(30, 138, 99, 0.10), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(234, 244, 242, 0.78) 100%);
}

.municipality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.municipality-card {
  position: relative;
  padding: 1.45rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.municipality-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.municipality-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(30, 138, 99, 0.12);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
}

.municipality-card h3 {
  color: var(--primary);
}

.municipality-card p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .municipality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .municipality-grid {
    grid-template-columns: 1fr;
  }
}
/* Sezione tecnologie */
.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.technology-card {
  padding: 1.45rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.technology-card h3 {
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.technology-card p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .technology-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .technology-grid {
    grid-template-columns: 1fr;
  }
}
/* Hero: logo meno dominante e card più editoriale */
.hero-identity-card {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: auto;
  gap: 1.2rem;
  padding: 1.6rem;
}

.hero-logo-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(260px, 70%);
  padding: 0.9rem 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
}

.hero-identity-card .hero-visual-logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0;
}

.hero-identity-text {
  max-width: 520px;
}

.hero-identity-text h2 {
  margin: 0.45rem 0 0.7rem;
  color: var(--primary);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.15;
}

.hero-identity-text p {
  margin: 0;
  color: var(--muted);
}

.hero-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.hero-mini-list span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(30, 138, 99, 0.10);
  color: var(--primary);
  border: 1px solid rgba(30, 138, 99, 0.18);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero-logo-frame {
    width: min(230px, 70%);
  }

  .hero-identity-card .hero-visual-logo {
    max-width: 200px;
  }
}

@media (max-width: 640px) {
  .hero-identity-card {
    padding: 1.2rem;
  }

  .hero-logo-frame {
    width: min(210px, 82%);
  }

  .hero-identity-card .hero-visual-logo {
    max-width: 180px;
  }

  .hero-mini-list {
    gap: 0.5rem;
  }

  .hero-mini-list span {
    font-size: 0.84rem;
  }
}
/* Hero logo senza cornice visibile */
.hero-logo-frame-clean {
  background: transparent;
  border: 0;
  padding: 0;
  width: min(210px, 62%);
}
/* Hero: logo nella card destra più visibile */
.hero-identity-card .hero-visual-logo {
  max-width: 150px;
}

.hero-logo-frame-clean {
  width: min(170px, 44%);
}
/* Fix definitivo: ingrandisce il logo nella card hero destra */
.hero-identity-card .hero-logo-frame,
.hero-identity-card .hero-logo-frame-clean {
  width: 150px !important;
  max-width: 150px !important;
  min-width: 150px !important;
}

.hero-identity-card .hero-visual-logo {
  width: 150px !important;
  max-width: 150px !important;
  height: auto !important;
}
/* Fascia loghi tecnologie */
.tools-strip {
  margin-top: 2.6rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.tools-strip-title {
  margin: 0 0 1.2rem;
  color: var(--primary);
  font-weight: 800;
  text-align: center;
}

.tools-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.tool-logo-card {
  display: flex;
  min-height: 104px;
  padding: 0.9rem 0.7rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 45, 76, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}

.tool-logo-card img {
  display: block;
  max-width: 96px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tool-logo-card span {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .tools-logo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tools-strip {
    padding: 1.1rem;
  }

  .tools-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tool-logo-card {
    min-height: 92px;
  }

  .tool-logo-card img {
    max-width: 88px;
    max-height: 40px;
  }
}
/* Fix mobile hero card: evita tagli laterali delle pillole */
@media (max-width: 640px) {
  .hero-identity-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    overflow: hidden !important;
  }

  .hero-identity-card .hero-logo-frame,
  .hero-identity-card .hero-logo-frame-clean {
    width: 150px !important;
    max-width: 150px !important;
    min-width: auto !important;
  }

  .hero-identity-card .hero-visual-logo {
    width: 150px !important;
    max-width: 150px !important;
    height: auto !important;
  }

  .hero-identity-text {
    width: 100% !important;
    max-width: 100% !important;
  }

  .hero-mini-list {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    margin-top: 0.8rem !important;
  }

  .hero-mini-list span {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    white-space: normal !important;
    text-align: left !important;
  }
}
/* Fascia loghi tecnologie scrollabile */
.tools-strip {
  margin-top: 2.6rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tools-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.tools-strip-title {
  margin: 0;
  color: var(--primary);
  font-weight: 800;
}

.tools-scroll-controls {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.tools-scroll-button {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(11, 45, 76, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(11, 45, 76, 0.08);
}

.tools-scroll-button:hover {
  background: rgba(30, 138, 99, 0.10);
}

.tools-logo-scroll {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding-bottom: 0.35rem;
}

.tools-logo-scroll::-webkit-scrollbar {
  height: 8px;
}

.tools-logo-scroll::-webkit-scrollbar-track {
  background: rgba(11, 45, 76, 0.06);
  border-radius: 999px;
}

.tools-logo-scroll::-webkit-scrollbar-thumb {
  background: rgba(11, 45, 76, 0.22);
  border-radius: 999px;
}

.tool-logo-card {
  flex: 0 0 170px;
  display: flex;
  min-height: 104px;
  padding: 0.9rem 0.7rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 45, 76, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}

.tool-logo-card img {
  display: block;
  max-width: 104px;
  max-height: 46px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.tool-logo-card span {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

@media (max-width: 640px) {
  .tools-strip {
    padding: 1.1rem;
  }

  .tools-strip-header {
    align-items: flex-start;
  }

  .tools-strip-title {
    font-size: 0.95rem;
  }

  .tool-logo-card {
    flex-basis: 145px;
    min-height: 92px;
  }

  .tool-logo-card img {
    max-width: 92px;
    max-height: 40px;
  }
}
/* Correzione dimensioni loghi tecnologie più piccoli */
.tool-logo-card img[alt="NextGIS"],
.tool-logo-card img[alt="uMap"],
.tool-logo-card img[alt="GeoNetwork"] {
  max-width: 150px !important;
  max-height: 68px !important;
}
/* Rifinitura dimensioni loghi tecnologie */
.tool-logo-card img[alt="PostgreSQL"],
.tool-logo-card img[alt="MapStore"] {
  max-width: 125px !important;
  max-height: 58px !important;
}
/* Ingrandimento mirato loghi tecnologie */
.tool-logo-card img[alt="PostgreSQL"] {
  max-width: 145px !important;
  max-height: 70px !important;
}

.tool-logo-card img[alt="uMap"],
.tool-logo-card img[alt="GeoNetwork"] {
  max-width: 160px !important;
  max-height: 72px !important;
}
/* Sezione supporto tecnico continuativo */
.support-section {
  background:
    radial-gradient(circle at top left, rgba(11, 45, 76, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(234, 244, 242, 0.68));
}

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

.support-card {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.support-card h3 {
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.support-card p {
  color: var(--muted);
}

.hero-highlights a {
  text-decoration: none;
  color: var(--primary);
}

.hero-highlights a:hover {
  color: var(--accent);
  border-color: rgba(30, 138, 99, 0.35);
}

@media (max-width: 980px) {
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}
/* Hero quick links: pillole cliccabili */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.hero-highlights a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(11, 45, 76, 0.12);
  color: var(--primary);
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(11, 45, 76, 0.07);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.hero-highlights a:hover {
  transform: translateY(-1px);
  background: rgba(234, 244, 242, 0.95);
  border-color: rgba(30, 138, 99, 0.32);
  color: var(--primary);
}

.hero-highlights a:focus-visible {
  outline: 3px solid rgba(30, 138, 99, 0.28);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .hero-highlights {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-highlights a {
    width: 100%;
  }
}
/* Hover bottoni secondari */
.button-secondary:hover {
  background: rgba(234, 244, 242, 0.95);
  border-color: rgba(30, 138, 99, 0.32);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(11, 45, 76, 0.07);
}
/* Hover bottone principale */
.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(11, 45, 76, 0.18);
}
/* Sezione: Come lavoriamo */
.workflow-section {
  background:
    radial-gradient(circle at top right, rgba(30, 138, 99, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(234, 244, 242, 0.68));
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: workflow;
}

.workflow-card {
  position: relative;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.workflow-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
}

.workflow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(30, 138, 99, 0.12);
  color: var(--accent);
  font-weight: 900;
  font-size: 0.86rem;
}

.workflow-card h3 {
  color: var(--primary);
  margin-bottom: 0.7rem;
}

.workflow-card p {
  color: var(--muted);
}

@media (max-width: 1100px) {
  .workflow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .workflow-grid {
    grid-template-columns: 1fr;
  }
}
/* Sezione contatti: dati societari e piattaforme pubbliche */
.public-procurement-box {
  margin-top: 1.6rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.compact-heading {
  margin-bottom: 1.2rem;
}

.procurement-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

@media (max-width: 640px) {
  .public-procurement-box {
    padding: 1.2rem;
  }

  .procurement-links {
    flex-direction: column;
  }

  .procurement-links .button {
    width: 100%;
    justify-content: center;
  }
}
.about-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.about-image {
  width: 100%;
}

.about-image img {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(14, 45, 62, 0.16);
}

@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image {
    max-width: 480px;
  }

  .about-image img {
    height: 560px;
  }
}
