:root {
      --blue-950: #123653;
      --blue-900: #164563;
      --blue-800: #1f5a80;
      --blue-700: #2f6f9d;
      --blue-100: #e8f1f8;
      --cyan: #168ca3;
      --ink: #17212b;
      --muted: #667585;
      --line: #dce6ef;
      --paper: #f7f9fb;
      --white: #ffffff;
      --shadow: 0 24px 70px rgba(18, 54, 83, .13);
      --radius-xl: 28px;
      --radius-lg: 20px;
      --container: 1160px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
      color: var(--ink);
      background: var(--paper);
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    a { color: inherit; text-decoration: none; }
    img { max-width: 100%; display: block; }

    .container {
      width: min(var(--container), calc(100% - 40px));
      margin-inline: auto;
    }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 40;
      background: rgba(255,255,255,.86);
      border-bottom: 1px solid rgba(220,230,239,.8);
      backdrop-filter: blur(18px);
    }

    .nav {
      min-height: 76px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .brand {
      display: inline-flex;
      flex-direction: column;
      letter-spacing: -.04em;
      line-height: .95;
    }
    .brand strong {
      font-size: clamp(1.45rem, 2vw, 2rem);
      font-weight: 400;
      color: #4a4d50;
    }
    .brand strong span { color: #006cc4; font-weight: 450; }
    .brand small {
      margin-left: 36px;
      margin-top: 4px;
      color: #006cc4;
      font-size: .66rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .nav-links a {
      padding: 10px 14px;
      border-radius: 999px;
      color: #42505d;
      font-weight: 800;
      font-size: .78rem;
      letter-spacing: .06em;
      text-transform: uppercase;
      transition: .2s ease;
    }
    .nav-links a:hover { background: var(--blue-100); color: var(--blue-800); }
    .nav-links a.is-active {
      background: var(--blue-900);
      color: var(--white);
      box-shadow: 0 12px 30px rgba(22,69,99,.18);
    }
    .nav-links a.is-active:hover { background: var(--blue-700); color: var(--white); }
    .nav-links .nav-cta { margin-left: 4px; }

    .menu-button {
      display: none;
      border: 0;
      background: var(--blue-900);
      color: var(--white);
      border-radius: 999px;
      padding: 10px 14px;
      font-weight: 800;
      cursor: pointer;
    }

    .hero {
      position: relative;
      overflow: hidden;
      isolation: isolate;
      background:
        radial-gradient(circle at 84% 28%, rgba(255,255,255,.2), transparent 34%),
        linear-gradient(135deg, var(--blue-950), var(--blue-700));
      color: var(--white);
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -1;
      background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
      background-size: 56px 56px;
      mask-image: linear-gradient(to bottom, rgba(0,0,0,.86), transparent 86%);
    }
    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
      gap: 52px;
      align-items: center;
      min-height: 650px;
      padding: 90px 0;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 22px;
      padding: 8px 14px;
      border: 1px solid rgba(255,255,255,.25);
      border-radius: 999px;
      background: rgba(255,255,255,.1);
      color: rgba(255,255,255,.9);
      font-size: .78rem;
      font-weight: 850;
      letter-spacing: .12em;
      text-transform: uppercase;
    }
    .eyebrow::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #8ee0ef;
      box-shadow: 0 0 0 6px rgba(142,224,239,.16);
    }
    h1 {
      max-width: 880px;
      margin: 0;
      font-size: clamp(2.55rem, 6vw, 5.55rem);
      line-height: .98;
      letter-spacing: -.06em;
      text-transform: uppercase;
    }
    .hero p {
      max-width: 710px;
      margin: 24px 0 0;
      color: rgba(255,255,255,.88);
      font-size: clamp(1rem, 1.5vw, 1.25rem);
    }
    .actions {
      display: flex;
      flex-wrap: wrap;
      gap: 14px;
      margin-top: 36px;
    }
    .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 22px;
      border-radius: 999px;
      font-weight: 850;
      letter-spacing: -.01em;
      transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .button:hover { transform: translateY(-2px); }
    .button-primary { background: var(--white); color: var(--blue-900); box-shadow: 0 18px 40px rgba(0,0,0,.16); }
    .button-secondary { border: 1px solid rgba(255,255,255,.32); color: var(--white); background: rgba(255,255,255,.08); }
    .button-blue { background: var(--blue-900); color: var(--white); }
    .button-ghost { background: var(--white); border: 1px solid var(--line); color: var(--blue-900); }

    .hero-card {
      position: relative;
      padding: 28px;
      border: 1px solid rgba(255,255,255,.22);
      border-radius: 34px;
      background: rgba(255,255,255,.13);
      box-shadow: 0 35px 90px rgba(5,23,39,.25);
      backdrop-filter: blur(10px);
    }
    .hero-visual { display: grid; gap: 16px; }
    .hero-visual-card {
      padding: 22px;
      border-radius: 24px;
      background: rgba(255,255,255,.96);
      color: var(--ink);
      box-shadow: 0 20px 60px rgba(5,23,39,.18);
    }
    .hero-visual-card strong {
      display: block;
      color: var(--blue-900);
      font-size: 1.15rem;
      letter-spacing: -.02em;
    }
    .hero-visual-card span {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-size: .92rem;
      line-height: 1.45;
    }
    .hero-visual-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }
    .hero-mini {
      padding: 18px;
      border-radius: 22px;
      background: rgba(255,255,255,.16);
      border: 1px solid rgba(255,255,255,.22);
    }
    .hero-mini b {
      display: block;
      color: var(--white);
      font-size: 1.55rem;
      line-height: 1;
      letter-spacing: -.06em;
    }
    .hero-mini small {
      display: block;
      margin-top: 7px;
      color: rgba(255,255,255,.82);
      line-height: 1.35;
    }
    .floating-note {
      position: static;
      width: auto;
      margin-top: 2px;
      padding: 18px;
      border-radius: 22px;
      background: rgba(255,255,255,.96);
      color: var(--ink);
      box-shadow: var(--shadow);
    }
    .floating-note strong {
      display: block;
      color: var(--blue-900);
      font-size: 1.75rem;
      line-height: 1;
      letter-spacing: -.06em;
    }
    .floating-note span {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-size: .88rem;
      line-height: 1.35;
    }

    section { padding: 96px 0; }
    .section-heading {
      display: flex;
      justify-content: space-between;
      gap: 32px;
      align-items: end;
      margin-bottom: 42px;
    }
    .section-kicker {
      margin: 0 0 8px;
      color: var(--cyan);
      font-size: .78rem;
      font-weight: 900;
      letter-spacing: .14em;
      text-transform: uppercase;
    }
    h2 {
      margin: 0;
      color: var(--blue-950);
      font-size: clamp(2rem, 4vw, 3.5rem);
      line-height: 1;
      letter-spacing: -.055em;
    }
    .section-heading p {
      max-width: 470px;
      margin: 0;
      color: var(--muted);
      font-size: 1.03rem;
    }

    .about {
      background: var(--white);
    }
    .about-grid {
      display: grid;
      grid-template-columns: .78fr 1fr;
      gap: 54px;
      align-items: center;
    }
    .portrait-card {
      position: relative;
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow);
      background: var(--white);
    }
    .portrait-card img {
      width: 100%;
      height: auto;
      aspect-ratio: auto;
      object-fit: contain;
    }
    .about-copy p {
      margin: 0 0 22px;
      color: #42505d;
      font-size: 1.08rem;
      text-align: justify;
      text-justify: inter-word;
      -webkit-hyphens: auto;
      hyphens: auto;
    }
    .highlights {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 14px;
      margin-top: 26px;
    }
    .highlight {
      padding: 20px;
      border: 1px solid var(--line);
      border-radius: 22px;
      background: #fbfdff;
    }
    .highlight strong { display: block; color: var(--blue-900); font-size: 1.02rem; }
    .highlight span { color: var(--muted); font-size: .92rem; }

    .services {
      background:
        linear-gradient(180deg, #f7f9fb 0%, #eef4f8 100%);
    }
    .service-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 20px;
    }
    .service-card {
      position: relative;
      overflow: hidden;
      min-height: 100%;
      padding: 28px;
      border-radius: var(--radius-xl);
      --service-accent: var(--blue-700);
      --service-soft: #e8f1f8;
      --service-glow: rgba(47,111,157,.08);
      background: linear-gradient(180deg, var(--white) 0%, var(--service-soft) 260%);
      border: 1px solid rgba(220,230,239,.9);
      border-top: 4px solid var(--service-accent);
      box-shadow: 0 18px 48px rgba(18,54,83,.08);
      transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
    }
    .service-card:hover {
      transform: translateY(-6px);
      border-color: rgba(47,111,157,.3);
      box-shadow: 0 28px 70px rgba(18,54,83,.13);
    }
    .service-card::after {
      content: "";
      position: absolute;
      inset: auto -50px -70px auto;
      width: 170px;
      height: 170px;
      border-radius: 50%;
      background: var(--service-glow);
    }
    .service-head {
      display: flex;
      gap: 16px;
      align-items: center;
      margin-bottom: 18px;
    }
    .icon-wrap {
      flex: 0 0 58px;
      width: 58px;
      height: 58px;
      display: grid;
      place-items: center;
      border-radius: 18px;
      background: var(--service-soft, var(--blue-100));
      border: 1px solid rgba(47,111,157,.18);
    }
    .icon-wrap img { width: 42px; height: 42px; object-fit: contain; }
    .service-card h3 {
      margin: 0;
      color: var(--service-accent, var(--blue-950));
      font-size: 1.18rem;
      line-height: 1.2;
      letter-spacing: -.025em;
    }
    .service-card ul {
      position: relative;
      z-index: 1;
      margin: 0;
      padding-left: 18px;
      color: #495969;
      font-size: .95rem;
    }
    .service-card li + li { margin-top: 7px; }
    .service-card:nth-child(1) { --service-accent: #2f6f9d; --service-soft: #edf5fb; --service-glow: rgba(47,111,157,.10); }
    .service-card:nth-child(2) { --service-accent: #1f5a80; --service-soft: #eaf3f8; --service-glow: rgba(31,90,128,.10); }
    .service-card:nth-child(3) { --service-accent: #168ca3; --service-soft: #e7f6f9; --service-glow: rgba(22,140,163,.10); }
    .service-card:nth-child(4) { --service-accent: #3e7fb8; --service-soft: #edf4fb; --service-glow: rgba(62,127,184,.10); }
    .service-card:nth-child(5) { --service-accent: #5b95c0; --service-soft: #eef5fb; --service-glow: rgba(91,149,192,.10); }


    /* Soluzione 1: card uniformi, stile istituzionale */
    .service-card {
      --service-accent: var(--blue-700) !important;
      --service-soft: #f7fbff !important;
      --service-glow: rgba(47,111,157,.07) !important;
      border-top: 3px solid var(--blue-700);
      background: var(--white);
    }
    .service-card h3 { color: var(--blue-950); }
    .service-card:hover { border-color: rgba(47,111,157,.35); }
    .trust {
      padding: 0;
      background: var(--white);
    }
    .trust-panel {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 36px;
      align-items: center;
      padding: 54px;
      border-radius: 34px;
      background: linear-gradient(135deg, var(--blue-950), var(--blue-700));
      color: var(--white);
      box-shadow: var(--shadow);
      transform: translateY(48px);
    }
    .trust-panel h2 { color: var(--white); font-size: clamp(2rem, 3vw, 3.1rem); }
    .trust-panel p { margin: 18px 0 0; color: rgba(255,255,255,.82); max-width: 690px; }
    .credential-card {
      display: grid;
      grid-template-columns: 110px 1fr;
      align-items: center;
      gap: 20px;
      padding: 20px;
      border-radius: 24px;
      background: rgba(255,255,255,.96);
      color: var(--ink);
    }
    .credential-card img { width: 110px; border-radius: 12px; }
    .credential-card strong { color: var(--blue-950); display: block; line-height: 1.25; }
    .credential-card span { color: var(--muted); font-size: .9rem; }

    .contact {
      padding-top: 144px;
      background: var(--white);
    }
    .contact-grid {
      display: grid;
      grid-template-columns: .95fr .75fr;
      gap: 28px;
      align-items: center;
    }
    .contact-card {
      padding: 34px;
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      background: #fbfdff;
      box-shadow: 0 18px 48px rgba(18,54,83,.07);
    }
    .contact-card h3 {
      margin: 0 0 20px;
      color: var(--blue-950);
      font-size: 1.35rem;
      letter-spacing: -.03em;
    }
    .contact-list {
      display: grid;
      gap: 14px;
      margin: 0;
      padding: 0;
      list-style: none;
    }
    .contact-list li {
      display: grid;
      grid-template-columns: 42px 1fr;
      gap: 14px;
      align-items: start;
      color: #445462;
    }
    .contact-list span:first-child {
      width: 42px;
      height: 42px;
      border-radius: 14px;
      display: grid;
      place-items: center;
      background: var(--blue-100);
      color: var(--blue-800);
      font-weight: 900;
    }
    .contact-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 26px;
    }
    .contact-aside {
      display: grid;
      gap: 18px;
      justify-items: end;
    }



    .hero-photo-card {
      position: relative;
      margin: 0;
      border-radius: 26px;
      overflow: hidden;
      box-shadow: 0 28px 75px rgba(5,23,39,.24);
      background: rgba(255,255,255,.12);
    }
    .hero-photo-card img {
      width: 100%;
      aspect-ratio: 4 / 5;
      object-fit: cover;
      display: block;
    }
    .hero-photo-caption {
      position: absolute;
      left: 18px;
      right: 18px;
      bottom: 18px;
      padding: 16px 18px;
      border-radius: 20px;
      background: rgba(255,255,255,.95);
      color: var(--ink);
      box-shadow: 0 12px 40px rgba(18,54,83,.16);
    }
    .hero-photo-caption strong {
      display: block;
      color: var(--blue-900);
      font-size: 1.12rem;
      letter-spacing: -.02em;
    }
    .hero-photo-caption span {
      display: block;
      margin-top: 6px;
      color: var(--muted);
      font-size: .92rem;
      line-height: 1.45;
    }
    .services-feature-figure {
      margin: 0 0 28px;
      overflow: hidden;
      border-radius: var(--radius-xl);
      background: var(--white);
      border: 1px solid var(--line);
      box-shadow: 0 18px 48px rgba(18,54,83,.08);
    }
    .services-feature-figure img {
      width: 100%;
      display: block;
      aspect-ratio: 16 / 7;
      object-fit: cover;
    }
    .services-feature-figure figcaption {
      padding: 14px 18px;
      color: #4b5b69;
      font-size: .96rem;
      background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
    }
    .contact-photo-card {
      margin: 0;
      overflow: hidden;
      width: 100%;
      max-width: 460px;
      border-radius: var(--radius-xl);
      box-shadow: var(--shadow);
      border: 1px solid var(--line);
      background: var(--white);
    }
    .contact-photo-card img {
      width: 100%;
      min-height: 320px;
      max-height: 380px;
      object-fit: cover;
      display: block;
    }
    .contact-photo-card figcaption {
      padding: 14px 18px;
      color: #4b5b69;
      font-size: .95rem;
      background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
    }
    @media(max-width: 760px) {
      .services-feature-figure img { aspect-ratio: 4 / 3; }
      .contact-photo-card { max-width: none; }
    }


    .audience { background: var(--white); }
    .audience-grid {
      display: grid;
      grid-template-columns: repeat(5, minmax(0, 1fr));
      gap: 16px;
    }
    .audience-card {
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: var(--radius-xl);
      background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
      box-shadow: 0 14px 36px rgba(18,54,83,.07);
    }
    .audience-card span {
      display: grid;
      place-items: center;
      width: 52px;
      height: 52px;
      margin-bottom: 18px;
      border-radius: 16px;
      background: var(--blue-100);
      color: var(--blue-700);
      border: 1px solid rgba(47,111,157,.16);
    }
    .audience-card span svg {
      width: 24px;
      height: 24px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .audience-card h3 {
      margin: 0 0 8px;
      color: var(--blue-950);
      font-size: 1.12rem;
      line-height: 1.2;
      letter-spacing: -.02em;
    }
    .audience-card p {
      margin: 0;
      color: #4b5b69;
      font-size: .94rem;
      line-height: 1.45;
    }
    .contact-map {
      margin-top: 28px;
      overflow: hidden;
      border-radius: var(--radius-xl);
      border: 1px solid var(--line);
      box-shadow: var(--shadow);
      background: var(--white);
    }
    .contact-map iframe {
      width: 100%;
      height: 360px;
      border: 0;
      display: block;
    }
    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: flex-end;
    }
    .footer-links a {
      color: #ffffff;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .footer-links a:hover { color: #9ad8ee; }
    .fixed-consultation {
      position: fixed;
      right: 22px;
      bottom: 22px;
      z-index: 95;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 50px;
      padding: 0 22px;
      border-radius: 999px;
      background: var(--blue-900);
      color: #ffffff;
      font-weight: 900;
      box-shadow: 0 18px 45px rgba(18,54,83,.28);
      transition: transform .2s ease, background .2s ease;
    }
    .fixed-consultation:hover {
      background: var(--blue-700);
      transform: translateY(-2px);
    }
    .cookie-banner.is-visible + .fixed-consultation { bottom: 132px; }

    footer {
      padding: 36px 0;
      background: #3e464d;
      color: rgba(255,255,255,.78);
    }
    footer .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    footer .brand strong { color: rgba(255,255,255,.9); }
    footer .brand small { color: #9ad8ee; }
    footer p { margin: 0; font-size: .92rem; }

    .footer-details {
      display: grid;
      gap: 4px;
      margin-top: 6px;
      color: rgba(255,255,255,.86);
      font-size: .92rem;
    }
    .footer-software {
      margin-top: 14px;
      display: grid;
      gap: 10px;
      justify-items: end;
    }
    .footer-software span {
      color: rgba(255,255,255,.82);
      font-size: .85rem;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
    }
    .footer-software img {
      width: 220px;
      max-width: 100%;
      height: auto;
      display: block;
      border-radius: 8px;
      background: #ffffff;
      padding: 6px;
      box-shadow: 0 10px 24px rgba(0,0,0,.18);
    }

    .footer-meta {
      display: grid;
      gap: 6px;
      justify-items: end;
      text-align: right;
    }
    .footer-credit a {
      color: #ffffff;
      font-weight: 800;
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .footer-credit a:hover { color: #9ad8ee; }

    .cookie-banner {
      position: fixed;
      left: 18px;
      right: 18px;
      bottom: 18px;
      z-index: 100;
      display: none;
      align-items: center;
      justify-content: center;
      pointer-events: none;
    }
    .cookie-banner.is-visible { display: flex; }
    .cookie-box {
      width: min(100%, 980px);
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 20px;
      align-items: center;
      padding: 20px;
      border: 1px solid rgba(220,230,239,.9);
      border-radius: 24px;
      background: rgba(255,255,255,.96);
      color: var(--ink);
      box-shadow: 0 24px 80px rgba(18,54,83,.18);
      backdrop-filter: blur(18px);
      pointer-events: auto;
    }
    .cookie-box strong {
      display: block;
      margin-bottom: 5px;
      color: var(--blue-950);
      font-size: 1rem;
    }
    .cookie-box p {
      margin: 0;
      color: var(--muted);
      font-size: .94rem;
      line-height: 1.45;
    }
    .cookie-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: flex-end;
    }
    .cookie-actions button {
      min-height: 42px;
      padding: 0 16px;
      border: 0;
      border-radius: 999px;
      font: inherit;
      font-weight: 850;
      cursor: pointer;
    }
    .cookie-accept { background: var(--blue-900); color: #fff; }
    .cookie-reject { background: var(--blue-100); color: var(--blue-900); }
    .cookie-settings { background: transparent; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
    .cookie-details {
      grid-column: 1 / -1;
      display: none;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      color: var(--muted);
      font-size: .9rem;
    }
    .cookie-details.is-visible { display: block; }

    @media (max-width: 980px) {
      .hero-inner,
      .about-grid,
      .trust-panel,
      .contact-grid {
        grid-template-columns: 1fr;
      }
      .hero-inner { min-height: auto; padding: 68px 0; }
      .hero-card { max-width: 560px; }
      .floating-note { left: 20px; }
      .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .service-card.featured { grid-column: span 1; }
      .section-heading { align-items: start; flex-direction: column; }
    }

    @media (max-width: 760px) {
      .container { width: min(100% - 28px, var(--container)); }
      .nav { min-height: 68px; }
      .menu-button { display: inline-flex; }
      .nav-links {
        position: fixed;
        left: 14px;
        right: 14px;
        top: 78px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: var(--white);
        box-shadow: var(--shadow);
      }
      .nav-links.is-open { display: flex; }
      .nav-links a { text-align: center; }
      .nav-links .nav-cta { margin-left: 0; }
      section { padding: 70px 0; }
      h1 { font-size: clamp(2.35rem, 12vw, 4rem); }
      .hero p { font-size: 1rem; }
      .hero-card { display: none; }
      .highlights,
      .service-grid { grid-template-columns: 1fr; }
      .trust-panel { padding: 30px; }
      .credential-card { grid-template-columns: 1fr; }
      .credential-card img { width: 140px; }
      .contact { padding-top: 118px; }
      .contact-aside { justify-items: stretch; }
      .office-card { max-width: none; min-height: 240px; }
      footer .container { flex-direction: column; align-items: start; }
      .footer-meta { justify-items: start; text-align: left; }
      .cookie-box { grid-template-columns: 1fr; }
      .cookie-actions { justify-content: flex-start; }
    }

    @media (max-width: 980px) {
      .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 760px) {
      .audience-grid { grid-template-columns: 1fr; }
      .contact-map iframe { height: 300px; }
      .fixed-consultation { left: 16px; right: 16px; bottom: 16px; }
      .cookie-banner.is-visible + .fixed-consultation { bottom: 210px; }
      .footer-links { justify-content: flex-start; }
    }

/* Pagine informative */
.policy-page main { background: var(--white); }
.policy-content { max-width: 900px; margin: 0 auto; }
.policy-content h1 { color: var(--blue-950); text-transform: none; font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -.05em; }
.policy-content h2 { margin-top: 36px; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.policy-content p, .policy-content li { color: #42505d; }
.policy-content ul { padding-left: 20px; }
.policy-back { margin-top: 34px; }



/* Sezione software utilizzato */
.software-section {
  padding: 0 0 96px;
  background: var(--white);
}
.software-panel {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, #f7fbff 0%, #eef6fb 100%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(18,54,83,.08);
}
.software-copy h2 {
  max-width: 680px;
  font-size: clamp(1.8rem, 3.3vw, 2.8rem);
}
.software-copy p:not(.section-kicker) {
  max-width: 720px;
  margin: 18px 0 0;
  color: #42505d;
  font-size: 1.03rem;
}
.software-logo-card {
  justify-self: end;
  width: min(100%, 280px);
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 38px rgba(18,54,83,.10);
}
.software-logo-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer migliorato */
.site-footer {
  padding: 52px 0;
  background: #313a42;
  color: rgba(255,255,255,.82);
}
.site-footer .footer-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr .9fr;
  gap: 34px;
  align-items: start;
}
.site-footer .brand strong { color: rgba(255,255,255,.94); }
.site-footer .brand small { color: #9ad8ee; }
.footer-brand-col p {
  max-width: 300px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.72);
  font-size: .94rem;
}
.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: .88rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer p {
  margin: 0 0 8px;
  font-size: .93rem;
  line-height: 1.45;
}
.site-footer a {
  color: rgba(255,255,255,.86);
  text-decoration: none;
}
.site-footer a:hover {
  color: #9ad8ee;
}
.site-footer .footer-links {
  display: grid;
  gap: 8px;
  justify-content: start;
}
.site-footer .footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer .footer-credit {
  margin-top: 18px;
  color: rgba(255,255,255,.7);
}
.site-footer .footer-credit a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .software-panel {
    grid-template-columns: 1fr;
  }
  .software-logo-card {
    justify-self: start;
  }
  .site-footer .footer-layout {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .software-section {
    padding-bottom: 70px;
  }
  .software-panel {
    padding: 24px;
  }
  .site-footer .footer-layout {
    grid-template-columns: 1fr;
  }
}
