/* ========== Home (index.html) ========== */
:root {
      --colibri-blue: #15007c;
      --colibri-blue-soft: #f1f2ff;
      --colibri-text-main: #3e6675;
      --colibri-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    }

    body.dark-mode {
      --colibri-blue: #1b2a9c;
      --colibri-blue-soft: #080c16;
      --colibri-text-main: #e0ecf5;
      --colibri-shadow: 0 22px 40px rgba(0, 0, 0, 0.6);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--colibri-text-main);
      background-color: var(--colibri-blue-soft);
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
    }

    /* HEADER TOP */

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 2.5em 2em 1.8em;
      background: linear-gradient(
        135deg,
        rgba(21, 0, 124, 0.05),
        rgba(121, 209, 251, 0.2)
      );
      gap: 2em;
      flex-wrap: nowrap;
      min-width: 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .site-logo {
      flex-shrink: 0;
      max-width: 130px;
      height: auto;
      transition: transform 0.2s ease, filter 0.3s ease;
    }

    .site-logo:hover {
      transform: translateY(-1px) scale(1.02);
    }

    body.dark-mode .site-logo {
      filter: brightness(0) invert(1);
    }

    .header-text {
      flex: 1;
      min-width: 0;
      text-align: left;
    }

    .header-text h1 {
      margin: 0 0 0.25em;
      color: #101981;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 1.7rem;
    }

    .header-text p {
      margin: 0;
      color: var(--colibri-text-main);
      font-size: 0.98rem;
      max-width: 650px;
    }

    body.dark-mode .header-text h1 {
      color: #dbe4ff;
    }

    @media (max-width: 768px) {
      .header-top {
        padding: 1.6em 1.1em 1.3em;
        gap: 1.2em;
      }
      .site-logo {
        max-width: 90px;
      }
      .header-text h1 {
        font-size: 1.3rem;
      }
      .header-text p {
        font-size: 0.95rem;
      }
    }

    /* NAVBAR */

    .navbar {
      background-color: #101981;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .navbar-brand {
      color: #ffffff !important;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 0.95rem;
    }

    .nav-link {
      color: #ffffff !important;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .nav-link:hover {
      color: #cde6ff !important;
    }

    .navbar-toggler-icon {
      filter: invert(1);
    }

    #darkModeToggle {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.55);
      color: #ffffff;
      cursor: pointer;
      font-size: 0.85rem;
      margin-left: 1em;
      padding: 0.3em 0.7em;
      border-radius: 999px;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      gap: 0.25em;
      transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    #darkModeToggle:hover {
      background-color: rgba(255, 255, 255, 0.12);
      border-color: #ffffff;
    }

    body.dark-mode #darkModeToggle {
      color: #e0ecff;
      border-color: rgba(255, 255, 255, 0.35);
    }

    /* MAIN WRAPPER */

.main-wrapper {
  max-width: auto;      /* o 1400 se vuoi ancora un po’ più largo */
  margin: 2.4em auto 3.6em;
  padding: 0 2em 3em 2em; /* aumenta un pochino i bordi */
  
}

    /* HERO CON BACKGROUND SLIDER */

    .hero {
      display: grid;
      grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
      gap: 30px;
      border-radius: 12px;
      box-shadow: var(--colibri-shadow);
      padding: 32px 32px 28px;
      margin-bottom: 28px;
      overflow: hidden;
      position: relative;
      /* fallback se JS non parte */
      background: #000;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      color: #ffffff;
    }

    .hero-main,
    .hero-side {
      position: relative;
      z-index: 1;
    }

    .hero-main {
      display: flex;
      flex-direction: column;
      justify-content: center;
      color: #ffffff;

      /* pannello highlight tipo vetro smoke */
      background-color: rgba(0, 0, 0, 0.55);
      backdrop-filter: saturate(180%) brightness(1.15);
      padding: 18px 20px;
      border-radius: 14px;
      max-width: 560px;
    }

    .hero-main .hero-meta {
      margin-top: 12px;
    }

    .hero-kicker {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-weight: 600;
      color: #d0ddff;
      margin-bottom: 6px;
    }

    .hero-title {
      font-size: 1.8rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 6px;
    }

    .hero-subtitle {
      font-size: 0.98rem;
      max-width: 520px;
      margin-bottom: 18px;
      color: #f5f7ff;
    }

    .hero-badges {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 18px;
    }

    .hero-badge {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      padding: 5px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.35);
      background-color: rgba(8, 13, 30, 0.65);
      backdrop-filter: blur(3px);
      color: #f7f9ff;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 6px;
    }

    .btn-primary-hero {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 9px 18px;
      border-radius: 999px;
      border: none;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      background: linear-gradient(135deg, #1c2be6, #5900ff);
      color: #ffffff;
      box-shadow: 0 12px 30px rgba(26, 44, 190, 0.6);
      transition: transform 0.15s ease, box-shadow 0.2s ease;
    }

    .btn-primary-hero:hover {
      transform: translateY(-1px);
      box-shadow: 0 16px 36px rgba(26, 44, 190, 0.85);
      color: #ffffff;
    }

    .btn-secondary-hero {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 9px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.6);
      background-color: rgba(9, 13, 35, 0.85);
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: #ffffff;
      cursor: pointer;
      transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    }

    .btn-secondary-hero:hover {
      background-color: #ffffff;
      color: #101528;
      border-color: #ffffff;
    }

    .hero-meta {
      font-size: 0.8rem;
      margin-top: 10px;
      color: #e1e6ff;
    }

    .hero-highlight {
      font-weight: 600;
    }

    .hero-side {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .hero-side-card {
      background-color: rgba(8, 12, 32, 0.9);
      border-radius: 10px;
      padding: 16px 18px 14px;
      box-shadow: var(--colibri-shadow);
      color: #f5f7ff;
      backdrop-filter: blur(6px);
    }

    .hero-side-title {
      font-size: 0.9rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 700;
      margin-bottom: 6px;
      color: #dfe4ff;
    }

    .hero-info-line {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      margin-bottom: 4px;
    }

    .hero-info-line i {
      font-size: 1rem;
      color: #f1f3ff;
    }

    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 6px;
      padding: 5px 10px;
      border-radius: 999px;
      background-color: #1c2be6;
      color: #ffffff;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
    }

    @media (max-width: 900px) {
      .hero {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* SEZIONI GENERICHE */

    .section-title {
      margin-top: 26px;
      margin-bottom: 12px;
      font-size: 1.2rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #101981;
    }

    body.dark-mode .section-title {
      color: #dde4ff;
    }

    /* WHY SECTION */

    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
      margin-bottom: 24px;
    }

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

    @media (max-width: 600px) {
      .why-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .why-card {
      background-color: #ffffff;
      border-radius: 10px;
      padding: 16px 18px 14px;
      box-shadow: var(--colibri-shadow);
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    body.dark-mode .why-card {
      background-color: #050814;
    }

    .why-icon {
      font-size: 1.4rem;
      margin-bottom: 4px;
      color: #101981;
    }

    body.dark-mode .why-icon {
      color: #d2ddff;
    }

    .why-title {
      font-size: 0.95rem;
      font-weight: 700;
    }

    .why-text {
      font-size: 0.9rem;
    }

    /* MINI SERVICES PREVIEW */

    .mini-services {
      margin-top: 20px;
      margin-bottom: 24px;
    }

    .mini-services-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

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

    @media (max-width: 600px) {
      .mini-services-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .mini-service-card {
      background-color: #ffffff;
      border-radius: 10px;
      padding: 14px 16px 12px;
      box-shadow: var(--colibri-shadow);
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    body.dark-mode .mini-service-card {
      background-color: #050814;
    }

    .mini-service-label {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-weight: 700;
      color: #4b5ae0;
      margin-bottom: 2px;
    }

    body.dark-mode .mini-service-label {
      color: #9faaff;
    }

    .mini-service-title {
      font-size: 0.95rem;
      font-weight: 700;
    }

    .mini-service-text {
      font-size: 0.86rem;
    }

    .mini-service-link {
      margin-top: 6px;
      font-size: 0.8rem;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      color: #101981;
    }

    .mini-service-link i {
      font-size: 0.9rem;
    }

    body.dark-mode .mini-service-link {
      color: #dbe4ff;
    }

    /* NEWS SECTION */

.news-section {
  margin-top: 30px;
  margin-bottom: 26px;
}

.news-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.news-header p {
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* stato “compresso”: mostra solo le prime 3 card */
.news-grid.collapsed .news-card:nth-child(n+4) {
  display: none;
}

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

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.news-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 14px 16px 12px;
  box-shadow: var(--colibri-shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

body.dark-mode .news-card {
  background-color: #050814;
}

.news-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #4b5ae0;
}

body.dark-mode .news-meta {
  color: #a4b0ff;
}

.news-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.news-text {
  font-size: 0.86rem;
  margin-top: 2px;
  margin-bottom: 4px;
}

.news-link {
  margin-top: 4px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #101981;
}

.news-link i {
  font-size: 0.9rem;
}

body.dark-mode .news-link {
  color: #dbe4ff;
}

.news-all-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #101981;
}

body.dark-mode .news-all-link {
  color: #dbe4ff;
}


    /* INFO STRIP */

    .info-strip {
      margin-top: 24px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }

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

    @media (max-width: 600px) {
      .info-strip {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .info-box {
      background-color: #101981;
      color: #ffffff;
      border-radius: 10px;
      padding: 14px 16px 12px;
      box-shadow: var(--colibri-shadow);
      font-size: 0.9rem;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    body.dark-mode .info-box {
      background-color: #050814;
    }

    .info-title {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 700;
      opacity: 0.85;
    }

    .info-box i {
      margin-right: 6px;
    }

    .info-main {
      font-weight: 600;
    }

    .info-extra {
      font-size: 0.83rem;
      opacity: 0.9;
    }

    /* CTA FINALE */

    .cta-final {
      margin-top: 30px;
      background-color: #ffffff;
      border-radius: 12px;
      padding: 18px 20px 16px;
      box-shadow: var(--colibri-shadow);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    body.dark-mode .cta-final {
      background-color: #050814;
    }

    .cta-final-text {
      font-size: 0.95rem;
    }

    .cta-final-title {
      font-weight: 700;
      margin-bottom: 2px;
    }

    .cta-final-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .cta-btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: none;
      background-color: #1c2be6;
      color: #ffffff;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(28, 43, 230, 0.5);
    }

    .cta-btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: 1px solid rgba(16, 24, 80, 0.25);
      background: transparent;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      color: #101981;
    }

    body.dark-mode .cta-btn-secondary {
      border-color: rgba(124, 139, 255, 0.6);
      color: #dce4ff;
    }

    .cta-btn-primary:hover {
      color: #ffffff;
    }

    /* FOOTER */

    footer {
      background-color: #4A90E2;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-size: 14px;
      margin-top: auto;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    body.dark-mode footer {
      background-color: #050814;
      color: #d0dde5;
    }

    body.dark-mode footer a {
      color: #e0ecff !important;
    }


/* ========== Chi Siamo (chi-siamo.html) ========== */
:root {
      --colibri-blue: #15007c;
      --colibri-blue-soft: #f1f2ff;
      --colibri-text-main: #3e6675;
      --colibri-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    }

    body.dark-mode {
      --colibri-blue: #1b2a9c;
      --colibri-blue-soft: #080c16;
      --colibri-text-main: #e0ecf5;
      --colibri-shadow: 0 22px 40px rgba(0, 0, 0, 0.6);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--colibri-text-main);
      background-color: var(--colibri-blue-soft);
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
    }

    /* HEADER TOP */

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 2.5em 2em 1.8em;
      background: linear-gradient(
        135deg,
        rgba(21, 0, 124, 0.05),
        rgba(121, 209, 251, 0.2)
      );
      gap: 2em;
      flex-wrap: nowrap;
      min-width: 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .site-logo {
      flex-shrink: 0;
      max-width: 130px;
      height: auto;
      transition: transform 0.2s ease, filter 0.3s ease;
    }

    .site-logo:hover {
      transform: translateY(-1px) scale(1.02);
    }

    body.dark-mode .site-logo {
      filter: brightness(0) invert(1);
    }

    .header-text {
      flex: 1;
      min-width: 0;
      text-align: left;
    }

    .header-text h1 {
      margin: 0 0 0.25em;
      color: #101981;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 1.7rem;
    }

    .header-text p {
      margin: 0;
      color: var(--colibri-text-main);
      font-size: 0.98rem;
      max-width: 650px;
    }

    body.dark-mode .header-text h1 {
      color: #dbe4ff;
    }

    @media (max-width: 768px) {
      .header-top {
        padding: 1.6em 1.1em 1.3em;
        gap: 1.2em;
      }
      .site-logo {
        max-width: 90px;
      }
      .header-text h1 {
        font-size: 1.3rem;
      }
      .header-text p {
        font-size: 0.95rem;
      }
    }

    /* NAVBAR */

    .navbar {
      background-color: #101981;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .navbar-brand {
      color: #ffffff !important;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 0.95rem;
    }

    .nav-link {
      color: #ffffff !important;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .nav-link:hover,
    .nav-link.active {
      color: #cde6ff !important;
    }

    .navbar-toggler-icon {
      filter: invert(1);
    }

    #darkModeToggle {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.55);
      color: #ffffff;
      cursor: pointer;
      font-size: 0.85rem;
      margin-left: 1em;
      padding: 0.3em 0.7em;
      border-radius: 999px;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      gap: 0.25em;
      transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    #darkModeToggle:hover {
      background-color: rgba(255, 255, 255, 0.12);
      border-color: #ffffff;
    }

    body.dark-mode #darkModeToggle {
      color: #e0ecff;
      border-color: rgba(255, 255, 255, 0.35);
    }

    /* MAIN WRAPPER */

    .main-wrapper {
      max-width: 1200px;
      margin: 2.4em auto 3.6em;
      padding: 0 2em 3em 2em;
    }

    /* PAGE HERO CHI SIAMO */

    .page-hero-chi {
      border-radius: 12px;
      box-shadow: var(--colibri-shadow);
      padding: 26px 28px 24px;
      margin-bottom: 30px;
      background: radial-gradient(circle at top left, rgba(42, 120, 255, 0.16), transparent 55%),
                  radial-gradient(circle at bottom right, rgba(121, 209, 251, 0.2), transparent 55%),
                  #101528;
      color: #ffffff;
      position: relative;
      overflow: hidden;
    }

    .page-hero-chi::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 60%);
      opacity: 0.7;
      pointer-events: none;
    }

    .page-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 720px;
    }

    .page-hero-kicker {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-weight: 600;
      color: #d0ddff;
      margin-bottom: 6px;
    }

    .page-hero-title {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #ffffff;
    }

    .page-hero-text {
      font-size: 0.98rem;
      max-width: 680px;
      margin-bottom: 14px;
      color: #f5f7ff;
    }

    .page-hero-meta {
      font-size: 0.85rem;
      color: #e1e6ff;
    }

    .page-hero-meta strong {
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .page-hero-chi {
        padding: 20px 18px 18px;
      }
      .page-hero-title {
        font-size: 1.5rem;
      }
      .page-hero-text {
        font-size: 0.94rem;
      }
    }

   /* HERO CHI SIAMO */

    .chi-hero {
      background: url('background1.jpg') center/cover no-repeat;
      padding: 80px 20px;
      border-radius: 12px;
      color: white;
      text-align: center;
      margin-bottom: 40px;
      position: relative;
      overflow: hidden;
    }

    .chi-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0,0,0,0.55);
      backdrop-filter: blur(3px);
    }

    .chi-hero-inner {
      position: relative;
      z-index: 2;
      max-width: 700px;
      margin: auto;
    }

    .chi-hero h2 {
      font-size: 2rem;
      margin-bottom: 10px;
      font-weight: 700;
    }

    .chi-hero p {
      font-size: 0.98rem;
    }

    /* ABOUT SECTION (3 CARD COME ORIGINALI, STILE AGGIORNATO) */

    .about-section {
      margin-top: 10px;
      margin-bottom: 30px;
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .about-section > h2 {
      display: none; /* titolo generale già gestito sopra come section-title */
    }

    .about-block {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.3fr);
      gap: 20px;
      align-items: center;
      padding: 18px 20px;
      border-radius: 12px;
      background-color: #ffffff;
      box-shadow: var(--colibri-shadow);
    }

    body.dark-mode .about-block {
      background-color: #050814;
    }

.about-img-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 12px;
  background-color: #101981;         /* colore tema chiaro dietro le line-art */
  box-shadow: var(--colibri-shadow); /* effetto spostato dal PNG al container */
}

body.dark-mode .about-img-box {
  background-color: #0a0f24;         /* versione scura del box */
}

.about-img-box img {
  display: block;
  max-width: 160px;
  width: 100%;
  height: auto;
  border-radius: 0;                  /* niente angoli tondi sul PNG */
  box-shadow: none;                  /* niente ombra sul PNG */
  filter: none;                      /* no effetti strani */
  object-fit: contain;               /* non taglia la line-art */
}



    .about-text h3 {
      font-size: 1.05rem;
      font-weight: 700;
      margin-bottom: 6px;
      color: #101981;
    }

    body.dark-mode .about-text h3 {
      color: #e0e6ff;
    }

    .about-text p {
      font-size: 0.9rem;
      margin-bottom: 6px;
    }

    .about-text ul {
      margin: 0;
      padding-left: 1.1em;
      font-size: 0.9rem;
    }

    .about-text li {
      margin-bottom: 4px;
    }

    /* alternanza (immagine a dx/sx) */
    .about-block:nth-of-type(odd) {
      grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.4fr);
    }

    .about-block:nth-of-type(odd) .about-img-box {
      order: 2;
    }

    .about-block:nth-of-type(odd) .about-text {
      order: 1;
    }

    @media (max-width: 900px) {
      .about-block {
        grid-template-columns: minmax(0, 1fr);
      }
      .about-block:nth-of-type(odd) {
        grid-template-columns: minmax(0, 1fr);
      }
      .about-img-box {
        order: 1 !important;
      }
      .about-text {
        order: 2 !important;
      }
      .about-img-box img {
        max-width: 200px;
      }
    }

   /* TEAM SECTION */

    .team-section {
      margin-top: 20px;
    }

    .team-intro {
      font-size: 0.95rem;
      max-width: 800px;
      margin-bottom: 16px;
    }

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

    @media (max-width: 992px) {
      .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

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

    @media (max-width: 520px) {
      .team-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .team-card {
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: var(--colibri-shadow);
      padding: 14px 14px 12px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
    }

    body.dark-mode .team-card {
      background-color: #050814;
    }

    .team-photo {
      width: 88px;
      height: 88px;
      border-radius: 50%;
      overflow: hidden;
      margin-bottom: 4px;
      border: 2px solid rgba(28, 43, 230, 0.3);
      background-color: #101528;
    }

    .team-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .team-card h3 {
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 0;
      color: #101981;
    }

    body.dark-mode .team-card h3 {
      color: #dde4ff;
    }

    .team-role {
      font-size: 0.86rem;
      opacity: 0.9;
    }

    .team-note {
      font-size: 0.8rem;
      margin-top: 4px;
      opacity: 0.85;
    }

    /* FOOTER (uguale alla home / prezzi) */

    footer {
      background-color: #4A90E2;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-size: 14px;
      margin-top: auto;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    body.dark-mode footer {
      background-color: #050814;
      color: #d0dde5;
    }

    body.dark-mode footer a {
      color: #e0ecff !important;
    }

    /* CTA FINALE */

    .cta-final {
      margin-top: 30px;
      background-color: #ffffff;
      border-radius: 12px;
      padding: 18px 20px 16px;
      box-shadow: var(--colibri-shadow);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    body.dark-mode .cta-final {
      background-color: #050814;
    }

    .cta-final-text {
      font-size: 0.95rem;
    }

    .cta-final-title {
      font-weight: 700;
      margin-bottom: 2px;
    }

    .cta-final-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .cta-btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: none;
      background-color: #1c2be6;
      color: #ffffff;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(28, 43, 230, 0.5);
    }

    .cta-btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: 1px solid rgba(16, 24, 80, 0.25);
      background: transparent;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      color: #101981;
    }

    body.dark-mode .cta-btn-secondary {
      border-color: rgba(124, 139, 255, 0.6);
      color: #dce4ff;
    }

    .cta-btn-primary:hover {
      color: #ffffff;
    }

    /* FOOTER */

    footer {
      background-color: #4A90E2;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-size: 14px;
      margin-top: auto;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    body.dark-mode footer {
      background-color: #050814;
      color: #d0dde5;
    }

    body.dark-mode footer a {
      color: #e0ecff !important;
    }

    /* --- TITOLI MODERNI SEZIONE ABOUT --- */
.about-text h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #101981;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 6px;
}

.about-text h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 46px;
  height: 3px;
  background-color: #101981;
  border-radius: 999px;
}

/* versione dark mode */
body.dark-mode .about-text h3 {
  color: #dbe4ff;
}

body.dark-mode .about-text h3::after {
  background-color: #dbe4ff;
}


/* ========== Documenti necessari (docs-necessari.html) ========== */
:root {
      --colibri-blue: #15007c;
      --colibri-blue-soft: #f1f2ff;
      --colibri-text-main: #3e6675;
      --colibri-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    }

    body.dark-mode {
      --colibri-blue: #1b2a9c;
      --colibri-blue-soft: #080c16;
      --colibri-text-main: #e0ecf5;
      --colibri-shadow: 0 22px 40px rgba(0, 0, 0, 0.6);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--colibri-text-main);
      background-color: var(--colibri-blue-soft);
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
    }

    /* HEADER TOP */

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 2.5em 2em 1.8em;
      background: linear-gradient(
        135deg,
        rgba(21, 0, 124, 0.05),
        rgba(121, 209, 251, 0.2)
      );
      gap: 2em;
      flex-wrap: nowrap;
      min-width: 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .site-logo {
      flex-shrink: 0;
      max-width: 130px;
      height: auto;
      transition: transform 0.2s ease, filter 0.3s ease;
    }

    .site-logo:hover {
      transform: translateY(-1px) scale(1.02);
    }

    body.dark-mode .site-logo {
      filter: brightness(0) invert(1);
    }

    .header-text {
      flex: 1;
      min-width: 0;
      text-align: left;
    }

    .header-text h1 {
      margin: 0 0 0.25em;
      color: #101981;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 1.7rem;
    }

    .header-text p {
      margin: 0;
      color: var(--colibri-text-main);
      font-size: 0.98rem;
      max-width: 650px;
    }

    body.dark-mode .header-text h1 {
      color: #dbe4ff;
    }

    @media (max-width: 768px) {
      .header-top {
        padding: 1.6em 1.1em 1.3em;
        gap: 1.2em;
      }
      .site-logo {
        max-width: 90px;
      }
      .header-text h1 {
        font-size: 1.3rem;
      }
      .header-text p {
        font-size: 0.95rem;
      }
    }

    /* NAVBAR */

    .navbar {
      background-color: #101981;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .navbar-brand {
      color: #ffffff !important;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 0.95rem;
    }

    .nav-link {
      color: #ffffff !important;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .nav-link:hover,
    .nav-link.active {
      color: #cde6ff !important;
    }

    .navbar-toggler-icon {
      filter: invert(1);
    }

    #darkModeToggle {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.55);
      color: #ffffff;
      cursor: pointer;
      font-size: 0.85rem;
      margin-left: 1em;
      padding: 0.3em 0.7em;
      border-radius: 999px;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      gap: 0.25em;
      transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    #darkModeToggle:hover {
      background-color: rgba(255, 255, 255, 0.12);
      border-color: #ffffff;
    }

    body.dark-mode #darkModeToggle {
      color: #e0ecff;
      border-color: rgba(255, 255, 255, 0.35);
    }

    /* MAIN WRAPPER */

    .main-wrapper {
      max-width: 1200px;
      margin: 2.4em auto 3.6em;
      padding: 0 2em 3em 2em;
    }

    /* MINI HERO DOCUMENTI NECESSARI */

    .docs-hero {
      border-radius: 12px;
      box-shadow: var(--colibri-shadow);
      padding: 26px 28px 24px;
      margin-bottom: 30px;
      background: radial-gradient(circle at top left, rgba(42, 120, 255, 0.16), transparent 55%),
                  radial-gradient(circle at bottom right, rgba(121, 209, 251, 0.2), transparent 55%),
                  #101528;
      color: #ffffff;
      position: relative;
      overflow: hidden;
    }

    .docs-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 60%);
      opacity: 0.7;
      pointer-events: none;
    }

    .docs-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 760px;
    }

    .docs-hero-kicker {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-weight: 600;
      color: #d0ddff;
      margin-bottom: 6px;
    }

    .docs-hero-title {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #ffffff;
    }

    .docs-hero-text {
      font-size: 0.98rem;
      max-width: 720px;
      margin-bottom: 8px;
      color: #f5f7ff;
    }

    .docs-hero-meta {
      font-size: 0.85rem;
      color: #e1e6ff;
    }

    .docs-hero-meta strong {
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .docs-hero {
        padding: 20px 18px 18px;
      }
      .docs-hero-title {
        font-size: 1.5rem;
      }
      .docs-hero-text {
        font-size: 0.94rem;
      }
    }

    /* SECTION TITLE (stesso stile del sito) */

    .section-title {
      margin-top: 26px;
      margin-bottom: 12px;
      font-size: 1.2rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #101981;
    }

    body.dark-mode .section-title {
      color: #dde4ff;
    }

    /* INFO STRIP INTRO */

    .docs-info-strip {
      margin-top: 8px;
      margin-bottom: 24px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

    @media (max-width: 900px) {
      .docs-info-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 600px) {
      .docs-info-strip {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .docs-info-box {
      background-color: #ffffff;
      border-radius: 10px;
      padding: 14px 16px 12px;
      box-shadow: var(--colibri-shadow);
      font-size: 0.9rem;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    body.dark-mode .docs-info-box {
      background-color: #050814;
    }

    .docs-info-title {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 700;
      opacity: 0.85;
      color: #101981;
    }

    body.dark-mode .docs-info-title {
      color: #dde4ff;
    }

    .docs-info-main {
      font-weight: 600;
    }

    .docs-info-box i {
      margin-right: 6px;
    }

    .docs-info-extra {
      font-size: 0.83rem;
      opacity: 0.9;
    }

    /* GRID MODULI (6 SERVIZI) */

    .docs-grid {
      margin-top: 10px;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 16px;
    }

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

    @media (max-width: 600px) {
      .docs-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .doc-card {
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: var(--colibri-shadow);
      padding: 16px 18px 14px;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    body.dark-mode .doc-card {
      background-color: #050814;
    }

    .doc-meta {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      color: #4b5ae0;
      font-weight: 600;
      margin-bottom: 2px;
    }

    body.dark-mode .doc-meta {
      color: #9faaff;
    }

    .doc-title {
      font-size: 0.98rem;
      font-weight: 700;
      color: #101981;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    body.dark-mode .doc-title {
      color: #dde4ff;
    }

    .doc-title i {
      font-size: 1rem;
    }

    .doc-text {
      font-size: 0.88rem;
      margin-top: 4px;
      margin-bottom: 6px;
    }

    .doc-note {
      font-size: 0.8rem;
      opacity: 0.9;
    }

    .doc-actions {
      margin-top: 8px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .doc-download-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 12px;
      border-radius: 999px;
      border: none;
      background-color: #1c2be6;
      color: #ffffff;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      cursor: pointer;
      box-shadow: 0 10px 22px rgba(28, 43, 230, 0.4);
    }

    .doc-download-btn i {
      font-size: 0.9rem;
    }

    .doc-download-btn:hover {
      color: #ffffff;
    }

    .doc-inline-link {
      font-size: 0.8rem;
      display: inline-flex;
      align-items: center;
      gap: 4px;
      color: #101981;
    }

    body.dark-mode .doc-inline-link {
      color: #dbe4ff;
    }

    .doc-inline-link i {
      font-size: 0.9rem;
    }

    /* CTA FINALE */

    .cta-final {
      margin-top: 30px;
      background-color: #ffffff;
      border-radius: 12px;
      padding: 18px 20px 16px;
      box-shadow: var(--colibri-shadow);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    body.dark-mode .cta-final {
      background-color: #050814;
    }

    .cta-final-text {
      font-size: 0.95rem;
    }

    .cta-final-title {
      font-weight: 700;
      margin-bottom: 2px;
    }

    .cta-final-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .cta-btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: none;
      background-color: #1c2be6;
      color: #ffffff;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(28, 43, 230, 0.5);
    }

    .cta-btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: 1px solid rgba(16, 24, 80, 0.25);
      background: transparent;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      color: #101981;
    }

    body.dark-mode .cta-btn-secondary {
      border-color: rgba(124, 139, 255, 0.6);
      color: #dce4ff;
    }

    .cta-btn-primary:hover {
      color: #ffffff;
    }

    /* FOOTER */

    footer {
      background-color: #4A90E2;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-size: 14px;
      margin-top: auto;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    body.dark-mode footer {
      background-color: #050814;
      color: #d0dde5;
    }

    body.dark-mode footer a {
      color: #e0ecff !important;
    }

    /* Rende i pulsanti dei documenti tutti uguali */
.doc-actions {
  display: flex;
  justify-content: flex-start;
}

.doc-download-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Mantiene la stessa altezza per tutte le card */
.doc-card {
  display: flex;
  flex-direction: column;
}

.doc-text, .doc-note {
  flex-grow: 1;
}


/* ========== Servizi (servizi.html) ========== */
:root {
      --colibri-blue: #15007c;              /* blu principale blocchi */
      --colibri-blue-soft: #f1f2ff;        /* sfondo pagina */
      --colibri-text-main: #3e6675;
      --colibri-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    }

    body.dark-mode {
      --colibri-blue: #1b2a9c;
      --colibri-blue-soft: #0c1118;
      --colibri-text-main: #e0ecf5;
      --colibri-shadow: 0 22px 40px rgba(0, 0, 0, 0.6);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--colibri-text-main);
      background-color: var(--colibri-blue-soft);
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
    }

    /* HEADER TOP */

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 2.5em 2em 1.8em;
      background: linear-gradient(
        145deg,
        rgba(21, 0, 124, 0.04),
        rgba(121, 209, 251, 0.16)
      );
      gap: 2em;
      flex-wrap: nowrap;
      min-width: 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .site-logo {
      flex-shrink: 0;
      max-width: 130px;
      height: auto;
      transition: transform 0.2s ease, filter 0.3s ease;
    }

    .site-logo:hover {
      transform: translateY(-1px) scale(1.02);
    }

    body.dark-mode .site-logo {
      filter: brightness(0) invert(1);
    }

    .header-text {
      flex: 1;
      min-width: 0;
      text-align: left;
    }

    .header-text h1 {
      margin: 0 0 0.3em;
      color: #101981;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 1.7rem;
    }

    .header-text p {
      margin: 0;
      color: var(--colibri-text-main);
      font-size: 1rem;
      max-width: 620px;
    }

    body.dark-mode .header-text h1 {
      color: #dbe4ff;
    }

    @media (max-width: 768px) {
      .header-top {
        padding: 1.6em 1.1em 1.3em;
        gap: 1.2em;
      }
      .site-logo {
        max-width: 90px;
      }
      .header-text h1 {
        font-size: 1.3rem;
      }
      .header-text p {
        font-size: 0.95rem;
      }
    }

    /* NAVBAR */

    .navbar {
      background-color: #101981;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .navbar-brand {
      color: #ffffff !important;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 0.95rem;
    }

    .nav-link {
      color: #ffffff !important;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .nav-link:hover {
      color: #cde6ff !important;
    }

    .navbar-toggler-icon {
      filter: invert(1);
    }

    #darkModeToggle {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.55);
      color: #ffffff;
      cursor: pointer;
      font-size: 0.85rem;
      margin-left: 1em;
      padding: 0.3em 0.7em;
      border-radius: 999px;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      gap: 0.25em;
      transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    #darkModeToggle:hover {
      background-color: rgba(255, 255, 255, 0.12);
      border-color: #ffffff;
    }

    body.dark-mode #darkModeToggle {
      color: #e0ecff;
      border-color: rgba(255, 255, 255, 0.35);
    }

    /* LAYOUT CONTENUTO */

    .services-wrapper {
      max-width: 1200px;
      margin: 2.4em auto 3.6em;
      padding: 0 1.2em 3em 1.2em;
    }

    .services-intro {
      margin-bottom: 1.5em;
      text-align: left;
    }

    .services-intro h2 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #101981;
      margin-bottom: 0.3em;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .services-intro p {
      max-width: 900px;
      font-size: 0.98rem;
      line-height: 1.7;
    }

    body.dark-mode .services-intro h2 {
      color: #dbe4ff;
    }

    /* MATRIX 3x2 CARD STYLE (come screenshot) */

    .services-matrix {
      display: flex;
      flex-direction: column;
      gap: 18px;
    }

    .services-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      background-color: #ffffff;
      border-radius: 6px;
      box-shadow: var(--colibri-shadow);
      overflow: hidden;
    }

    body.dark-mode .services-row {
      background-color: #050814;
    }

    .service-cell {
      padding: 26px 28px 26px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .service-cell--dark {
      background-color: var(--colibri-blue);
      color: #ffffff;
    }

    .service-cell--light {
      background-color: #ffffff;
      color: #171d32;
    }

    body.dark-mode .service-cell--light {
      background-color: #141922;
      color: #e0ecf5;
    }

    .service-icon {
      font-size: 1.9rem;
      margin-bottom: 10px;
    }

    .service-title {
      font-size: 0.95rem;
      font-weight: 700;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }

    .service-list {
      list-style: disc;
      margin: 0 0 18px 18px;
      padding: 0;
      font-size: 0.93rem;
    }

    .service-list li + li {
      margin-top: 3px;
    }

    .service-btn-wrap {
      margin-top: auto;
    }

    .service-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 7px 16px;
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      border-radius: 3px;
      border: 1px solid currentColor;
      background: transparent;
      cursor: pointer;
      transition: background-color 0.2s ease, color 0.2s ease;
    }

    .service-cell--light .service-btn {
      color: #101981;
    }

    .service-cell--light .service-btn:hover {
      background-color: #101981;
      color: #ffffff;
    }

    .service-cell--dark .service-btn {
      color: #ffffff;
    }

    .service-cell--dark .service-btn:hover {
      background-color: #ffffff;
      color: var(--colibri-blue);
    }

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

    @media (max-width: 700px) {
      .services-row {
        grid-template-columns: minmax(0, 1fr);
      }
      .service-cell {
        padding: 22px 20px 22px;
      }
    }

    /* FOOTER */

    footer {
      background-color: #4A90E2;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-size: 14px;
      margin-top: auto;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    body.dark-mode footer {
      background-color: #050814;
      color: #d0dde5;
    }

    body.dark-mode footer a {
      color: #e0ecff !important;
    }


/* ========== Listino prezzi (prezzi.html) ========== */
:root {
      --colibri-blue: #15007c;
      --colibri-blue-soft: #f1f2ff;
      --colibri-text-main: #3e6675;
      --colibri-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    }

    body.dark-mode {
      --colibri-blue: #1b2a9c;
      --colibri-blue-soft: #080c16;
      --colibri-text-main: #e0ecf5;
      --colibri-shadow: 0 22px 40px rgba(0, 0, 0, 0.6);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--colibri-text-main);
      background-color: var(--colibri-blue-soft);
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
    }

    /* HEADER TOP (uguale alle altre pagine) */
    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 2.5em 2em 1.8em;
      background: linear-gradient(
        135deg,
        rgba(21, 0, 124, 0.05),
        rgba(121, 209, 251, 0.2)
      );
      gap: 2em;
      flex-wrap: nowrap;
      min-width: 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .site-logo {
      flex-shrink: 0;
      max-width: 130px;
      height: auto;
      transition: transform 0.2s ease, filter 0.3s ease;
    }

    .site-logo:hover {
      transform: translateY(-1px) scale(1.02);
    }

    body.dark-mode .site-logo {
      filter: brightness(0) invert(1);
    }

    .header-text {
      flex: 1;
      min-width: 0;
      text-align: left;
    }

    .header-text h1 {
      margin: 0 0 0.25em;
      color: #101981;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 1.7rem;
    }

    .header-text p {
      margin: 0;
      color: var(--colibri-text-main);
      font-size: 0.98rem;
      max-width: 650px;
    }

    body.dark-mode .header-text h1 {
      color: #dbe4ff;
    }

    @media (max-width: 768px) {
      .header-top {
        padding: 1.6em 1.1em 1.3em;
        gap: 1.2em;
      }
      .site-logo {
        max-width: 90px;
      }
      .header-text h1 {
        font-size: 1.3rem;
      }
      .header-text p {
        font-size: 0.95rem;
      }
    }

    /* NAVBAR */
    .navbar {
      background-color: #101981;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .navbar-brand {
      color: #ffffff !important;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 0.95rem;
    }

    .nav-link {
      color: #ffffff !important;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .nav-link:hover {
      color: #cde6ff !important;
    }

    .navbar-toggler-icon {
      filter: invert(1);
    }

    #darkModeToggle {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.55);
      color: #ffffff;
      cursor: pointer;
      font-size: 0.85rem;
      margin-left: 1em;
      padding: 0.3em 0.7em;
      border-radius: 999px;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      gap: 0.25em;
      transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    #darkModeToggle:hover {
      background-color: rgba(255, 255, 255, 0.12);
      border-color: #ffffff;
    }

    body.dark-mode #darkModeToggle {
      color: #e0ecff;
      border-color: rgba(255, 255, 255, 0.35);
    }

    /* MAIN WRAPPER */
    .main-wrapper {
      max-width: 1200px;
      margin: 2.4em auto 3.6em;
      padding: 0 1.5em 3em 1.5em;
    }

    /* HERO LISTINO */
    .price-hero {
      background-color: #ffffff;
      border-radius: 12px;
      padding: 20px 22px 18px;
      box-shadow: var(--colibri-shadow);
      margin-bottom: 26px;
    }

    body.dark-mode .price-hero {
      background-color: #050814;
    }

    .price-hero h2 {
      font-size: 1.5rem;
      font-weight: 700;
      color: #101981;
      margin-bottom: 6px;
    }

    body.dark-mode .price-hero h2 {
      color: #dde4ff;
    }

    .price-hero p {
      font-size: 0.94rem;
      margin-bottom: 4px;
    }

    .price-hero small {
      font-size: 0.8rem;
      opacity: 0.85;
    }

    /* GRID LISTINO */

    .price-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 20px;
    }

    @media (max-width: 900px) {
      .price-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .price-card {
      background-color: #ffffff;
      border-radius: 12px;
      padding: 18px 20px 16px;
      box-shadow: var(--colibri-shadow);
    }

    body.dark-mode .price-card {
      background-color: #050814;
    }

    .price-card-header {
      font-size: 0.85rem;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      font-weight: 700;
      color: #101981;
      margin-bottom: 8px;
    }

    body.dark-mode .price-card-header {
      color: #dbe4ff;
    }

    .price-category {
      font-weight: 700;
      margin-top: 8px;
      margin-bottom: 4px;
      font-size: 0.95rem;
      color: #d12b2b;
    }

    .price-rows {
      border-top: 1px solid rgba(0,0,0,0.04);
      margin-top: 4px;
      padding-top: 4px;
    }

    .price-row {
      display: flex;
      justify-content: space-between;
      gap: 10px;
      font-size: 0.9rem;
      padding: 3px 0;
    }

    .price-name {
      flex: 1;
    }

    .price-value {
      white-space: nowrap;
      font-weight: 600;
      color: #101981;
    }

    body.dark-mode .price-value {
      color: #dbe4ff;
    }

    .price-note {
      font-size: 0.8rem;
      margin-top: 6px;
      opacity: 0.85;
    }

    /* FOOTER */

    footer {
      background-color: #4A90E2;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-size: 14px;
      margin-top: auto;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    body.dark-mode footer {
      background-color: #050814;
      color: #d0dde5;
    }

    body.dark-mode footer a {
      color: #e0ecff !important;
    }


/* ========== Contatti (contatti.html) ========== */
:root {
      --colibri-blue: #15007c;
      --colibri-blue-soft: #f1f2ff;
      --colibri-text-main: #3e6675;
      --colibri-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    }

    body.dark-mode {
      --colibri-blue: #1b2a9c;
      --colibri-blue-soft: #080c16;
      --colibri-text-main: #e0ecf5;
      --colibri-shadow: 0 22px 40px rgba(0, 0, 0, 0.6);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--colibri-text-main);
      background-color: var(--colibri-blue-soft);
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
    }

    /* HEADER TOP (uguale alle altre pagine) */

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 2.5em 2em 1.8em;
      background: linear-gradient(
        135deg,
        rgba(21, 0, 124, 0.05),
        rgba(121, 209, 251, 0.2)
      );
      gap: 2em;
      flex-wrap: nowrap;
      min-width: 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .site-logo {
      flex-shrink: 0;
      max-width: 130px;
      height: auto;
      transition: transform 0.2s ease, filter 0.3s ease;
    }

    .site-logo:hover {
      transform: translateY(-1px) scale(1.02);
    }

    body.dark-mode .site-logo {
      filter: brightness(0) invert(1);
    }

    .header-text {
      flex: 1;
      min-width: 0;
      text-align: left;
    }

    .header-text h1 {
      margin: 0 0 0.25em;
      color: #101981;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 1.7rem;
    }

    .header-text p {
      margin: 0;
      color: var(--colibri-text-main);
      font-size: 0.98rem;
      max-width: 650px;
    }

    body.dark-mode .header-text h1 {
      color: #dbe4ff;
    }

    @media (max-width: 768px) {
      .header-top {
        padding: 1.6em 1.1em 1.3em;
        gap: 1.2em;
      }
      .site-logo {
        max-width: 90px;
      }
      .header-text h1 {
        font-size: 1.3rem;
      }
      .header-text p {
        font-size: 0.95rem;
      }
    }

    /* NAVBAR (uguale alle altre) */

    .navbar {
      background-color: #101981;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .navbar-brand {
      color: #ffffff !important;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 0.95rem;
    }

    .nav-link {
      color: #ffffff !important;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .nav-link:hover,
    .nav-link.active {
      color: #cde6ff !important;
    }

    .navbar-toggler-icon {
      filter: invert(1);
    }

    #darkModeToggle {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.55);
      color: #ffffff;
      cursor: pointer;
      font-size: 0.85rem;
      margin-left: 1em;
      padding: 0.3em 0.7em;
      border-radius: 999px;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      gap: 0.25em;
      transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    #darkModeToggle:hover {
      background-color: rgba(255, 255, 255, 0.12);
      border-color: #ffffff;
    }

    body.dark-mode #darkModeToggle {
      color: #e0ecff;
      border-color: rgba(255, 255, 255, 0.35);
    }

    /* MAIN WRAPPER */

    .main-wrapper {
      max-width: 1200px;
      margin: 2.4em auto 3.6em;
      padding: 0 2em 3em 2em;
    }

    /* TITOLI SEZIONI */

    .section-title {
      margin-top: 26px;
      margin-bottom: 12px;
      font-size: 1.2rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #101981;
    }

    body.dark-mode .section-title {
      color: #dde4ff;
    }

    /* HERO CONTATTI CON FORM */

    .contact-hero {
      position: relative;
      border-radius: 12px;
      box-shadow: var(--colibri-shadow);
      padding: 24px 26px 22px;
      margin-bottom: 26px;
      background-image: url('background-contactus.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      overflow: hidden;
      color: #ffffff;
    }

    .contact-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        135deg,
        rgba(8, 11, 32, 0.85),
        rgba(16, 24, 60, 0.9)
      );
      mix-blend-mode: multiply;
    }

    body.dark-mode .contact-hero::before {
      background: linear-gradient(
        135deg,
        rgba(1, 4, 20, 0.9),
        rgba(5, 10, 36, 0.95)
      );
    }

    .contact-hero-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr);
      gap: 24px;
      align-items: flex-start;
    }

    @media (max-width: 900px) {
      .contact-hero-inner {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .contact-copy-kicker {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-weight: 600;
      color: #d0ddff;
      margin-bottom: 6px;
    }

    .contact-copy-title {
      font-size: 1.7rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #ffffff;
    }

    .contact-copy-text {
      font-size: 0.96rem;
      max-width: 520px;
      margin-bottom: 14px;
      color: #f5f7ff;
    }

    .contact-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 14px;
    }

    .contact-pill {
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      padding: 5px 10px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.4);
      background-color: rgba(5, 9, 28, 0.7);
      backdrop-filter: blur(3px);
      color: #f7f9ff;
    }

    .contact-copy-meta {
      font-size: 0.85rem;
      color: #dfe3ff;
      max-width: 550px;
    }

    .contact-copy-meta strong {
      font-weight: 600;
    }

    /* FORM CONTATTI */

    .contact-form {
      background-color: #ffffff;
      border-radius: 12px;
      padding: 18px 18px 16px;
      box-shadow: var(--colibri-shadow);
      color: #101528;
    }

    body.dark-mode .contact-form {
      background-color: #050814;
      color: #e0e6ff;
    }

    .contact-form h2 {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #101981;
    }

    body.dark-mode .contact-form h2 {
      color: #dbe4ff;
    }

    .contact-form p {
      font-size: 0.86rem;
      margin-bottom: 10px;
    }

    .contact-form label {
      display: block;
      margin-bottom: 0.35em;
      font-size: 0.9rem;
      font-weight: 600;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form select {
      width: 100%;
      padding: 0.7em 0.8em;
      margin-bottom: 0.9em;
      border-radius: 8px;
      border: 1px solid rgba(0, 0, 0, 0.14);
      font-size: 0.9rem;
      font-family: inherit;
      background-color: #ffffff;
      color: #111;
    }

    body.dark-mode .contact-form input,
    body.dark-mode .contact-form textarea,
    body.dark-mode .contact-form select {
      background-color: #0c1020;
      color: #f1f4ff;
      border-color: rgba(255, 255, 255, 0.18);
    }

    .contact-form textarea {
      resize: vertical;
      min-height: 120px;
    }

    .contact-form button {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: linear-gradient(135deg, #1c2be6, #5900ff);
      color: #ffffff;
      padding: 0.7em 1.4em;
      border: none;
      border-radius: 999px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      box-shadow: 0 12px 30px rgba(26, 44, 190, 0.6);
    }

    .contact-form button:hover {
      box-shadow: 0 16px 36px rgba(26, 44, 190, 0.85);
      transform: translateY(-1px);
    }

    /* CONTATTI RAPIDI (CARDS) */

    .contact-quick-section {
      margin-top: 20px;
      margin-bottom: 26px;
    }

    .contact-quick-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
    }

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

    @media (max-width: 600px) {
      .contact-quick-grid {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    .contact-card {
      background-color: #ffffff;
      border-radius: 10px;
      padding: 14px 16px 12px;
      box-shadow: var(--colibri-shadow);
      display: flex;
      flex-direction: column;
      gap: 6px;
      font-size: 0.9rem;
    }

    body.dark-mode .contact-card {
      background-color: #050814;
    }

    .contact-card-header {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 4px;
    }

    .contact-card-icon {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background-color: #101981;
      color: #ffffff;
      flex-shrink: 0;
      font-size: 1.1rem;
    }

    body.dark-mode .contact-card-icon {
      background-color: #1f2a7a;
    }

    .contact-card-title {
      font-size: 0.92rem;
      font-weight: 700;
      color: #101981;
    }

    body.dark-mode .contact-card-title {
      color: #dde4ff;
    }

    .contact-card-main a {
      color: inherit;
      text-decoration: underline;
      text-decoration-thickness: 1px;
      text-underline-offset: 2px;
    }

    .contact-card-main a:hover {
      text-decoration-thickness: 2px;
    }

    .contact-card-note {
      font-size: 0.8rem;
      opacity: 0.9;
    }

    /* SOCIAL ICONS INLINE (riuso originali) */

    .contact-social-inline {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      margin-top: 4px;
    }

    .contact-social-inline a {
      font-size: 1.2rem;
      color: #101981;
    }

    body.dark-mode .contact-social-inline a {
      color: #dbe4ff;
    }

    .contact-social-inline a:hover {
      opacity: 0.9;
    }

    /* MAPPA */

    .map-section {
      margin-top: 26px;
      margin-bottom: 26px;
    }

    .map-card {
      background-color: #ffffff;
      border-radius: 12px;
      padding: 16px 18px 18px;
      box-shadow: var(--colibri-shadow);
    }

    body.dark-mode .map-card {
      background-color: #050814;
    }

    .map-card p {
      font-size: 0.9rem;
      margin-bottom: 10px;
    }

    .map-card iframe {
      width: 100%;
      height: 380px;
      border: 0;
      border-radius: 10px;
    }

    @media (max-width: 600px) {
      .map-card iframe {
        height: 300px;
      }
    }

    /* CTA FINALE (uguale alle altre pagine) */

    .cta-final {
      margin-top: 30px;
      background-color: #ffffff;
      border-radius: 12px;
      padding: 18px 20px 16px;
      box-shadow: var(--colibri-shadow);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    body.dark-mode .cta-final {
      background-color: #050814;
    }

    .cta-final-text {
      font-size: 0.95rem;
    }

    .cta-final-title {
      font-weight: 700;
      margin-bottom: 2px;
    }

    .cta-final-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .cta-btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: none;
      background-color: #1c2be6;
      color: #ffffff;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(28, 43, 230, 0.5);
    }

    .cta-btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: 1px solid rgba(16, 24, 80, 0.25);
      background: transparent;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      color: #101981;
    }

    body.dark-mode .cta-btn-secondary {
      border-color: rgba(124, 139, 255, 0.6);
      color: #dce4ff;
    }

    .cta-btn-primary:hover {
      color: #ffffff;
    }

    /* FOOTER (uguale alla home / prezzi / chi-siamo) */

    footer {
      background-color: #4A90E2;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-size: 14px;
      margin-top: auto;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    body.dark-mode footer {
      background-color: #050814;
      color: #d0dde5;
    }

    body.dark-mode footer a {
      color: #e0ecff !important;
    }


/* ========== FAQ (faq.html) ========== */
:root {
      --colibri-blue: #15007c;
      --colibri-blue-soft: #f1f2ff;
      --colibri-text-main: #3e6675;
      --colibri-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
    }

    body.dark-mode {
      --colibri-blue: #1b2a9c;
      --colibri-blue-soft: #080c16;
      --colibri-text-main: #e0ecf5;
      --colibri-shadow: 0 22px 40px rgba(0, 0, 0, 0.6);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: var(--colibri-text-main);
      background-color: var(--colibri-blue-soft);
      overflow-x: hidden;
    }

    a {
      text-decoration: none;
    }

    /* HEADER TOP */

    .header-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 2.5em 2em 1.8em;
      background: linear-gradient(
        135deg,
        rgba(21, 0, 124, 0.05),
        rgba(121, 209, 251, 0.2)
      );
      gap: 2em;
      flex-wrap: nowrap;
      min-width: 0;
      border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    .site-logo {
      flex-shrink: 0;
      max-width: 130px;
      height: auto;
      transition: transform 0.2s ease, filter 0.3s ease;
    }

    .site-logo:hover {
      transform: translateY(-1px) scale(1.02);
    }

    body.dark-mode .site-logo {
      filter: brightness(0) invert(1);
    }

    .header-text {
      flex: 1;
      min-width: 0;
      text-align: left;
    }

    .header-text h1 {
      margin: 0 0 0.25em;
      color: #101981;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 1.7rem;
    }

    .header-text p {
      margin: 0;
      color: var(--colibri-text-main);
      font-size: 0.98rem;
      max-width: 650px;
    }

    body.dark-mode .header-text h1 {
      color: #dbe4ff;
    }

    @media (max-width: 768px) {
      .header-top {
        padding: 1.6em 1.1em 1.3em;
        gap: 1.2em;
      }
      .site-logo {
        max-width: 90px;
      }
      .header-text h1 {
        font-size: 1.3rem;
      }
      .header-text p {
        font-size: 0.95rem;
      }
    }

    /* NAVBAR */

    .navbar {
      background-color: #101981;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .navbar-brand {
      color: #ffffff !important;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-size: 0.95rem;
    }

    .nav-link {
      color: #ffffff !important;
      font-weight: 500;
      font-size: 0.95rem;
    }

    .nav-link:hover,
    .nav-link.active {
      color: #cde6ff !important;
    }

    .navbar-toggler-icon {
      filter: invert(1);
    }

    #darkModeToggle {
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.55);
      color: #ffffff;
      cursor: pointer;
      font-size: 0.85rem;
      margin-left: 1em;
      padding: 0.3em 0.7em;
      border-radius: 999px;
      font-family: inherit;
      display: inline-flex;
      align-items: center;
      gap: 0.25em;
      transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    }

    #darkModeToggle:hover {
      background-color: rgba(255, 255, 255, 0.12);
      border-color: #ffffff;
    }

    body.dark-mode #darkModeToggle {
      color: #e0ecff;
      border-color: rgba(255, 255, 255, 0.35);
    }

    /* MAIN WRAPPER */

    .main-wrapper {
      max-width: 1200px;
      margin: 2.4em auto 3.6em;
      padding: 0 2em 3em 2em;
    }

    /* TITOLI GENERICI */

    .section-title {
      margin-top: 26px;
      margin-bottom: 12px;
      font-size: 1.2rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: #101981;
    }

    body.dark-mode .section-title {
      color: #dde4ff;
    }

    /* FAQ HERO */

    .faq-hero {
      border-radius: 12px;
      box-shadow: var(--colibri-shadow);
      padding: 26px 28px 24px;
      margin-bottom: 28px;
      background: radial-gradient(circle at top left, rgba(42, 120, 255, 0.16), transparent 55%),
                  radial-gradient(circle at bottom right, rgba(121, 209, 251, 0.2), transparent 55%),
                  #101528;
      color: #ffffff;
      position: relative;
      overflow: hidden;
    }

    .faq-hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 60%);
      opacity: 0.7;
      pointer-events: none;
    }

    .faq-hero-inner {
      position: relative;
      z-index: 1;
      max-width: 780px;
    }

    .faq-hero-kicker {
      font-size: 0.8rem;
      text-transform: uppercase;
      letter-spacing: 0.18em;
      font-weight: 600;
      color: #d0ddff;
      margin-bottom: 6px;
    }

    .faq-hero-title {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 8px;
      color: #ffffff;
    }

    .faq-hero-text {
      font-size: 0.98rem;
      max-width: 720px;
      margin-bottom: 10px;
      color: #f5f7ff;
    }

    .faq-hero-meta {
      font-size: 0.85rem;
      color: #e1e6ff;
    }

    .faq-hero-meta strong {
      font-weight: 600;
    }

    @media (max-width: 768px) {
      .faq-hero {
        padding: 20px 18px 18px;
      }
      .faq-hero-title {
        font-size: 1.5rem;
      }
      .faq-hero-text {
        font-size: 0.94rem;
      }
    }

    /* FAQ LAYOUT */

    .faq-layout {
      display: grid;
      grid-template-columns: minmax(0, 2fr) minmax(0, 1.1fr);
      gap: 24px;
      align-items: flex-start;
      margin-top: 10px;
    }

    @media (max-width: 900px) {
      .faq-layout {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* ACCORDION AREA */

    .faq-accordion-title {
      margin-bottom: 6px;
    }

    .faq-accordion-intro {
      font-size: 0.9rem;
      margin-bottom: 14px;
      max-width: 640px;
    }

    .accordion-item {
      border-radius: 10px !important;
      margin-bottom: 8px;
      border: none;
      box-shadow: var(--colibri-shadow);
      overflow: hidden;
      background-color: #ffffff;
    }

    body.dark-mode .accordion-item {
      background-color: #050814;
    }

    .accordion-button {
      font-size: 0.92rem;
      font-weight: 600;
      padding: 10px 14px;
      background-color: transparent;
      color: #101981;
    }

    body.dark-mode .accordion-button {
      color: #dde4ff;
      background-color: transparent;
    }

    .accordion-button:focus {
      box-shadow: none;
    }

    .accordion-button:not(.collapsed) {
      background-color: rgba(16, 24, 129, 0.04);
      color: #101981;
    }

    body.dark-mode .accordion-button:not(.collapsed) {
      background-color: rgba(37, 54, 179, 0.18);
      color: #f0f3ff;
    }

    .accordion-body {
      font-size: 0.9rem;
      padding: 10px 14px 12px;
    }

    .accordion-body p {
      margin-bottom: 6px;
    }

    .accordion-body ul {
      margin: 0;
      padding-left: 1.1em;
    }

    .accordion-body li {
      margin-bottom: 3px;
    }

    /* SIDEBAR INFO BOX */

    .faq-sidebar {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .faq-box {
      background-color: #ffffff;
      border-radius: 12px;
      padding: 14px 16px 12px;
      box-shadow: var(--colibri-shadow);
      font-size: 0.9rem;
    }

    body.dark-mode .faq-box {
      background-color: #050814;
    }

    .faq-box-title {
      font-size: 0.92rem;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      font-weight: 700;
      color: #101981;
      margin-bottom: 6px;
    }

    body.dark-mode .faq-box-title {
      color: #dde4ff;
    }

    .faq-box strong {
      font-weight: 600;
    }

    .faq-list {
      margin: 0;
      padding-left: 1.1em;
      font-size: 0.88rem;
    }

    .faq-list li {
      margin-bottom: 4px;
    }

    .faq-box a {
      color: #101981;
      text-decoration: underline;
      text-underline-offset: 2px;
      text-decoration-thickness: 1px;
    }

    body.dark-mode .faq-box a {
      color: #dbe4ff;
    }

    .faq-box a:hover {
      text-decoration-thickness: 2px;
    }

    /* CTA FINALE */

    .cta-final {
      margin-top: 30px;
      background-color: #ffffff;
      border-radius: 12px;
      padding: 18px 20px 16px;
      box-shadow: var(--colibri-shadow);
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }

    body.dark-mode .cta-final {
      background-color: #050814;
    }

    .cta-final-text {
      font-size: 0.95rem;
    }

    .cta-final-title {
      font-weight: 700;
      margin-bottom: 2px;
    }

    .cta-final-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .cta-btn-primary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: none;
      background-color: #1c2be6;
      color: #ffffff;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      box-shadow: 0 10px 24px rgba(28, 43, 230, 0.5);
    }

    .cta-btn-secondary {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 14px;
      border-radius: 999px;
      border: 1px solid rgba(16, 24, 80, 0.25);
      background: transparent;
      font-size: 0.85rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      cursor: pointer;
      color: #101981;
    }

    body.dark-mode .cta-btn-secondary {
      border-color: rgba(124, 139, 255, 0.6);
      color: #dce4ff;
    }

    .cta-btn-primary:hover {
      color: #ffffff;
    }

    /* FOOTER */

    footer {
      background-color: #4A90E2;
      color: white;
      padding: 20px 0;
      text-align: center;
      font-size: 14px;
      margin-top: auto;
    }

    footer a {
      color: #ffffff;
      text-decoration: none;
    }

    footer a:hover {
      text-decoration: underline;
    }

    body.dark-mode footer {
      background-color: #050814;
      color: #d0dde5;
    }

    body.dark-mode footer a {
      color: #e0ecff !important;
    }
