  :root {
    --navy: #334155;
    --ink-deep: #1E232A;
    --accent: #EA580C;
    --accent-hover: #C2470A;
    --paper: #F8FAFC;
    --gray: #64748B;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --hero-text-muted: #D6DCE3;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: 'Source Sans 3', Arial, Helvetica, sans-serif;
    color: #1E232A;
    background: var(--paper);
    line-height: 1.5;
  }
  h1, h2, h3, h4 {
    font-family: 'Lexend', 'Source Sans 3', sans-serif;
  }
  img { max-width: 100%; display: block; }
  a { color: var(--navy); }
  a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
  }

  header {
    position: sticky; top: 0; z-index: 10;
    background: var(--white);
    border-bottom: 3px solid var(--navy);
    padding: 14px 24px;
  }
  header .logo { height: 42px; }

  .wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

  .hero {
    position: relative;
    padding: 96px 24px 88px;
    text-align: center;
    background-image: url('hero-bg.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(30,35,42,0.55) 0%, rgba(24,28,34,0.82) 100%);
  }
  .hero > * { position: relative; z-index: 1; }
  .hero h1 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--white);
  }
  .hero p {
    font-size: 18px;
    color: var(--hero-text-muted);
    max-width: 620px;
    margin: 0 auto 12px;
  }
  .hero .credibility {
    font-size: 15px;
    color: var(--hero-text-muted);
    opacity: 0.9;
    margin: 0 auto 28px;
  }
  .hero .scroll-hint {
    display: inline-block;
    margin-top: 18px;
    color: var(--hero-text-muted);
    font-size: 14px;
    text-decoration: underline;
  }
  .btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  .btn:hover { background: var(--accent-hover); }
  .btn:disabled { opacity: 0.7; cursor: default; }

  section { padding: 56px 0; }
  .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--navy);
  }

  .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  @media (max-width: 700px) { .cards { grid-template-columns: 1fr; } }
  .card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--navy);
    border-radius: 8px;
    padding: 32px;
  }
  .card-icon {
    width: 40px; height: 40px;
    margin-bottom: 16px;
    color: var(--accent);
  }
  .card h3 { margin: 0 0 12px; font-size: 20px; color: var(--navy); font-weight: 700; }
  .card p { margin: 0; color: var(--gray); }

  .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
  }
  @media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
  .step-num {
    width: 40px; height: 40px;
    background: var(--navy); color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
    margin: 0 auto 16px;
  }
  .step h4 { margin: 0 0 8px; color: var(--navy); }
  .step p { margin: 0; color: var(--gray); font-size: 15px; }

  #chi-sono { background: var(--white); border-top: 1px solid var(--border); }
  .chi-sono-box {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }
  .chi-sono-box p {
    font-size: 17px;
    color: #334155;
    margin: 0 0 12px;
  }
  .chi-sono-box .firma {
    font-weight: 700;
    color: var(--navy);
  }

  #faq { background: var(--paper); }
  .faq-item {
    max-width: 720px;
    margin: 0 auto 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
  }
  .faq-item h4 {
    color: var(--navy);
    margin: 0 0 8px;
    font-size: 17px;
  }
  .faq-item p {
    margin: 0;
    color: var(--gray);
  }

  #contatti { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  @media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
  .form-grid .full { grid-column: 1 / -1; }
  .field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--navy); }
  .field input[type=text], .field input[type=email], .field select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    background: var(--paper);
    color: #1E232A;
  }
  .field input:focus, .field select:focus {
    outline: 3px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--navy);
  }
  .field input[name="firstname"],
  .field input[name="lastname"] {
    text-transform: capitalize;
  }
  .field input[name="company"] {
    text-trasform: uppercase;
  }
  .field-error {
    color: #C2470A;
    font-size: 13px;
    margin-top: 4px;
    display: none;
  }
  .field.has-error input,
  .field.has-error select {
    border-color: #C2470A;
  }
  .field.has-error .select2-selection {
    border-color: #C2470A !important;
  }
  .field.has-error .field-error { display: block; }

  .select2-container { width: 100% !important; }
  .select2-container .select2-selection--single {
    height: 44px; border: 1px solid var(--border); border-radius: 6px; background: var(--paper);
  }
  .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 12px; }
  .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }

  .consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--gray); margin-top: 4px; }
  .consent input { margin-top: 3px; }

  .submit-row { margin-top: 8px; }
  .submit-reassurance { font-size: 14px; color: var(--gray); margin-top: 10px; }

  footer {
    position: relative;
    background-color: var(--ink-deep);
    background-image: url('footer-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 40px 24px;
    text-align: center;
    overflow: hidden;
  }
  footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30,35,42,0.55);
  }
  footer > * { position: relative; z-index: 1; }
  footer p { color: #C7CED6; font-size: 14px; margin: 4px 0; }
  footer a { color: var(--white); }
