:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-alt: #e8eef5;
  --ink: #122033;
  --muted: #5c6a79;
  --line: rgba(18, 32, 51, 0.12);
  --blue: #0e5fd7;
  --blue-deep: #093b85;
  --accent: #0f1e30;
  --glow: rgba(14, 95, 215, 0.16);
  --shadow: 0 18px 50px rgba(10, 22, 41, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1400px;
  --header-height: 5.25rem;
  --footer-height: 0rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  padding-bottom: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(14, 95, 215, 0.1), transparent 28%),
    linear-gradient(180deg, #eef3f8 0%, #f8fafc 24%, #f4f6f8 100%);
}

body.modal-open {
  overflow: hidden;
}

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

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

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

.section-pad {
  padding: 3.2rem 0;
}

.section-kicker,
.eyebrow,
.stat-label,
.contact-label {
  margin: 0 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-kicker,
.eyebrow,
.stat-label {
  color: var(--blue);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 0.97;
}

h2 {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  line-height: 1.03;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.2;
}

p {
  margin: 0;
  line-height: 1.72;
  color: var(--muted);
}

.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 246, 248, 0.96);
  border-bottom: 1px solid rgba(18, 32, 51, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
  padding: 0.55rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logo {
  width: clamp(10.5rem, 16vw, 14rem);
  height: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.mobile-nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(18, 32, 51, 0.16);
  border-radius: 0.8rem;
  background: #ffffff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.22rem;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: #304052;
  border-radius: 999px;
  margin: 0;
}

.main-nav a {
  position: relative;
  padding: 0.18rem 0;
  font-weight: 700;
  color: #304052;
  transition: color 200ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.18rem;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.active {
  color: var(--blue);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 2.2rem 0;
  background:
    linear-gradient(135deg, rgba(5, 15, 30, 0.96), rgba(9, 34, 68, 0.94)),
    linear-gradient(120deg, #08111d, #103b74);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.hero::before {
  width: 32rem;
  height: 32rem;
  right: -8rem;
  top: -10rem;
  background: radial-gradient(circle, rgba(14, 95, 215, 0.34), transparent 68%);
}

.hero::after {
  width: 26rem;
  height: 26rem;
  left: -8rem;
  bottom: -8rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-copy h1,
.hero-copy p,
.hero-copy li {
  color: #f4f8fd;
}

.hero-text {
  max-width: 41rem;
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.68;
  color: rgba(244, 248, 253, 0.84);
}

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

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

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #0f7cff, #0d56c4);
  box-shadow: 0 18px 30px rgba(14, 95, 215, 0.32);
}

.button-secondary {
  color: #f7f9fc;
  border: 1px solid rgba(247, 249, 252, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 38rem;
}

.logo-panel {
  position: absolute;
  inset: 10.8rem 0 10rem 0;
  display: grid;
  place-items: center;
  padding: 1.7rem;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(18, 32, 51, 0.1);
  box-shadow: 0 22px 54px rgba(10, 22, 41, 0.16);
}

.logo-panel img {
  width: min(100%, 35.7rem);
  object-fit: contain;
}

.stat-card {
  position: absolute;
  z-index: 2;
  width: min(16rem, 72%);
  padding: 0.72rem 1.15rem;
  border-radius: 1.2rem;
  background: #999999;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 38px rgba(10, 22, 41, 0.24);
}

.stat-card .stat-label {
  font-weight: 800;
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  color: #0a4eb5;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #ffffff;
  font-family: "Sora", sans-serif;
  font-size: 1.15rem;
}

.stat-card p {
  color: #ffffff;
  line-height: 1.3;
}

.stat-card-top {
  top: 11rem;
  left: -1.5rem;
  transform: translateY(-90%);
}

.stat-card-bottom {
  bottom: 10.5rem;
  right: -1.5rem;
  transform: translateY(90%);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.section-heading {
  max-width: 100%;
  margin-bottom: 2.1rem;
}

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

.service-card,
.pillar,
.contact-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.services {
  align-items: flex-start;
}

.services.section-pad {
  padding-top: 1.1rem;
  padding-bottom: 1rem;
}

.services .section-heading {
  margin-bottom: 1.2rem;
}

.services .section-heading h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
  line-height: 1.05;
  max-width: 70rem;
}

.services .cards-grid {
  gap: 1rem;
}

.service-card {
  padding: 1.15rem 1.2rem;
  min-height: 0;
}

.service-card h3 {
  font-size: 1.06rem;
}

.service-card p {
  margin-top: 0.65rem;
  font-size: 0.94rem;
  line-height: 1.5;
}

.card-index {
  display: inline-block;
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card p,
.pillar p,
.contact-card p {
  margin-top: 0.9rem;
}

.method {
  background:
    linear-gradient(180deg, rgba(9, 59, 133, 0.04), rgba(9, 59, 133, 0)),
    #f6f9fc;
}

.steps {
  display: grid;
  gap: 1rem;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(10, 22, 41, 0.08);
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.step-card p {
  margin-top: 0.35rem;
}

.about {
  background: linear-gradient(180deg, #ffffff, #f7f9fc);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.about-copy {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.capabilities-grid {
  display: grid;
  gap: 2rem;
}

.capabilities-intro {
  max-width: 56rem;
}

.highlight {
  padding-top: 0;
}

.highlight-box {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.8rem;
  background:
    linear-gradient(135deg, rgba(14, 95, 215, 0.1), rgba(255, 255, 255, 0.9)),
    #fff;
  border: 1px solid rgba(14, 95, 215, 0.16);
  box-shadow: var(--shadow);
}

.contact {
  padding-top: 1rem;
  padding-bottom: 1.25rem;
}

#top {
  scroll-margin-top: calc(var(--header-height) + 0.5rem);
}

#servizi,
#approccio,
#chi-siamo,
#competenze,
#contatti {
  scroll-margin-top: calc(var(--header-height) + 0.5rem);
}

.hero,
.services,
.method,
.about,
.capabilities,
.highlight,
.contact {
  min-height: calc(100vh - var(--header-height) - var(--footer-height));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Sezione contatti ────────────────────────────────────────────────────── */

.contact {
  background:
    linear-gradient(135deg, rgba(5, 15, 30, 0.97), rgba(9, 34, 68, 0.95)),
    linear-gradient(120deg, #08111d, #103b74);
}

.contact-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 3.5rem;
  align-items: center;
}

/* Colonna sinistra */
.contact-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 0;
}

.contact-left .section-kicker {
  color: var(--blue);
}

.contact-left h2 {
  color: #f4f8fd;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.18;
  margin-top: 0.7rem;
  max-width: 34rem;
}

.contact-lead {
  max-width: 34rem;
  color: rgba(244, 248, 253, 0.78);
  font-size: 1rem;
  line-height: 1.75;
}

.contact-points {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 30rem;
}

.contact-points li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(244, 248, 253, 0.82);
  font-weight: 600;
}

.contact-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--blue);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

.contact-detail-value {
  font-size: 0.95rem;
  color: rgba(244, 248, 253, 0.82);
}

.contact-detail-value strong {
  color: #f4f8fd;
}

.contact-detail-value a {
  color: rgba(244, 248, 253, 0.82);
  transition: color 180ms;
}

.contact-detail-value a:hover {
  color: #ffffff;
}

.contact-privacy-link {
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(14, 95, 215, 0.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms;
}

.contact-privacy-link:hover {
  color: var(--blue);
}

/* Card form */
.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.6rem 2.8rem;
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(14, 95, 215, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

/* Due colonne affiancate */
.form-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Singolo campo */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid #dde4ed;
  border-radius: var(--radius-sm);
  background: #f7fafd;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  transition: border-color 180ms, background 180ms, box-shadow 180ms;
  outline: none;
  resize: vertical;
}

.phone-input-wrap {
  display: grid;
  grid-template-columns: minmax(8.7rem, auto) minmax(0, 1fr);
  gap: 0.55rem;
}

.phone-prefix-wrap {
  position: relative;
}

.phone-prefix-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(18, 32, 51, 0.12);
}

.phone-prefix-button {
  width: 100%;
  min-height: 2.95rem;
  padding: 0.35rem 0.65rem;
  border: 1.5px solid #dde4ed;
  border-radius: var(--radius-sm);
  background: #f7fafd;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.phone-prefix-value {
  text-align: left;
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
}

.phone-prefix-caret {
  font-size: 1rem;
  color: #2f3e52;
}

.phone-prefix-list {
  position: absolute;
  z-index: 15;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border-radius: var(--radius-sm);
  border: 1.5px solid #dde4ed;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(10, 22, 41, 0.18);
  max-height: 14.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.phone-prefix-option {
  width: 100%;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  text-align: left;
  padding: 0.45rem 0.45rem;
  border-radius: 0.5rem;
  font-family: "Manrope", sans-serif;
  font-size: 0.93rem;
  color: var(--ink);
  cursor: pointer;
}

.phone-prefix-option:hover,
.phone-prefix-option.is-selected {
  background: rgba(14, 95, 215, 0.1);
}

.phone-prefix-button:focus,
.phone-prefix-option:focus {
  outline: none;
}

.phone-prefix-button:focus-visible,
.phone-prefix-option:focus-visible {
  box-shadow: 0 0 0 3.5px rgba(14, 95, 215, 0.13);
}

.phone-prefix-wrap:focus-within {
  box-shadow: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 3.5px rgba(14, 95, 215, 0.13);
}

.form-field input.field-error,
.form-field textarea.field-error {
  border-color: #dc2626;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-privacy-row.field-error {
  border-color: #dc2626;
  background: #fff8f8;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.form-hint {
  margin: -0.3rem 0 0.1rem;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Submit */
.form-submit {
  margin-top: 0.5rem;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  min-height: 3.4rem;
  font-size: 1rem;
  letter-spacing: 0.015em;
  border: none;
  cursor: pointer;
  font-family: "Manrope", sans-serif;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
  backdrop-filter: none;
}

.footer-shell {
  width: 100%;
  padding: 0.25rem 0 0.1rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.footer-copy p:last-child {
  max-width: 36rem;
  color: rgba(244, 248, 253, 0.72);
}

.footer-copy-compact {
  display: flex;
  align-items: baseline;
  gap: 0.55rem 0.9rem;
  flex-wrap: wrap;
}

.footer-copy-compact .section-kicker {
  margin: 0;
  white-space: nowrap;
  font-size: 0.74rem;
}

.footer-copy-compact p:last-child {
  max-width: 52rem;
  margin: 0;
  white-space: normal;
  font-size: 0.82rem;
  line-height: 1.45;
}

.footer-top-simple {
  grid-template-columns: 1fr;
}

.footer-bottom {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.35;
  color: rgba(244, 248, 253, 0.72);
}

.footer-bottom a {
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(244, 248, 253, 0.9);
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero-grid,
  .trust-grid,
  .method-grid,
  .about-grid,
  .contact-wrap,
  .highlight-box,
  .cards-grid,
  .pillars,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 32rem;
  }

  .stat-card-top {
    left: 0;
    transform: translateY(-50%);
  }

  .stat-card-bottom {
    right: 0;
    transform: translateY(50%);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 4.4rem;
    --footer-height: 0rem;
  }

  body {
    padding-bottom: 0;
  }

  .site-header {
    position: sticky;
    top: 0;
    overflow: visible;
  }

  .site-footer {
    position: static;
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero-actions,
  .hero-points {
    gap: 0.65rem;
  }

  .nav-shell {
    position: relative;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    padding: 0.65rem 0;
  }

  .brand-logo {
    width: 9.5rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 0.2rem);
    z-index: 30;
    padding: 0.65rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(18, 32, 51, 0.12);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 34px rgba(10, 22, 41, 0.14);
    backdrop-filter: blur(6px);
    flex-direction: column;
    gap: 0.2rem;
  }

  .site-header.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    font-size: 0.93rem;
    padding: 0.62rem 0.65rem;
    border-radius: 0.6rem;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible,
  .main-nav a.active {
    background: rgba(14, 95, 215, 0.1);
  }

  .hero,
  .services,
  .method,
  .about,
  .capabilities,
  .highlight,
  .contact {
    min-height: auto;
    align-items: flex-start;
  }

  .hero {
    padding-top: 1.25rem;
    padding-bottom: 1.4rem;
  }

  h1 {
    font-size: clamp(1.9rem, 7.5vw, 2.5rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.55rem, 6vw, 2rem);
    line-height: 1.08;
  }

  .hero-text {
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .hero-actions .button {
    width: 100%;
  }

  .form-cols {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-intro {
    max-width: none;
  }

  .about-intro h2 {
    font-size: clamp(1.35rem, 5.6vw, 1.8rem);
    line-height: 1.12;
    max-width: none;
  }

  .about-copy {
    width: 100%;
    padding: 1.1rem 1rem;
    gap: 0.8rem;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(10, 22, 41, 0.08);
  }

  .about-copy p {
    font-size: 0.95rem;
    line-height: 1.62;
  }

  .about-copy p + p {
    padding-top: 0.75rem;
    border-top: 1px solid rgba(18, 32, 51, 0.08);
  }

  .contact-form-card {
    padding: 1.2rem;
  }

  .footer-copy-compact {
    flex-wrap: wrap;
  }

  .footer-copy-compact p:last-child {
    font-size: 0.8rem;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 0.6rem;
    padding-top: 0.6rem;
  }

  .footer-shell {
    padding: 0.55rem 0 0.35rem;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 19rem;
  }

  .logo-panel {
    inset: 3rem 0 3rem 0;
    padding: 1.2rem;
  }

  .stat-card {
    width: calc(100% - 1rem);
    padding: 0.55rem 0.85rem;
  }

  .stat-card strong {
    font-size: 1rem;
  }

  .stat-card p {
    font-size: 0.84rem;
  }

  .stat-card-top {
    top: 3rem;
    bottom: auto;
    left: 0.5rem;
    transform: translateY(-42%);
  }

  .stat-card-bottom {
    bottom: 3rem;
    right: 0.5rem;
    transform: translateY(42%);
  }

  .section-pad {
    padding: 2.2rem 0;
  }

  .services.section-pad {
    padding-top: 1rem;
    padding-bottom: 0.8rem;
  }
}

/* ── Form di contatto: elementi aggiuntivi ─────────────────────────────── */

/* Honeypot: invisibile agli utenti reali */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Asterisco campi obbligatori */
.required-mark {
  color: var(--blue);
  margin-left: 0.15rem;
}

/* Riga checkbox privacy */
.form-privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: #f7fafd;
  border: 1px solid #dde4ed;
}

.form-privacy-row input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--blue);
  cursor: pointer;
}

.form-privacy-row label {
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  cursor: pointer;
}

.form-privacy-row label a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-marketing-row {
  margin-top: -0.25rem;
}

/* Messaggi feedback dopo invio */
.form-feedback {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.form-feedback-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #0a7a52;
}

.form-feedback-error {
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  color: #b91c1c;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.form-modal[hidden] {
  display: none;
}

.form-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 16, 29, 0.58);
  backdrop-filter: blur(5px);
}

.form-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  padding: 2rem 1.7rem 1.5rem;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 32px 80px rgba(3, 16, 38, 0.28);
  border: 1px solid rgba(14, 95, 215, 0.12);
}

.form-modal-dialog h3 {
  margin-top: 0.1rem;
}

.form-modal-dialog p:last-child {
  margin-top: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.7;
}

.form-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(14, 95, 215, 0.08);
  color: var(--blue-deep);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.form-modal-close:hover {
  background: rgba(14, 95, 215, 0.14);
}
