/* ==========================================================================
   RESTART - Landing Page CSS (Official Vector Assets Edition)
   Font: Lexend (Google Fonts: 400, 600, 700, 900)
   Design System: #063293 (Primary Blue), #E20569 (Accent Magenta/Pink), #FFFFFF
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --color-primary-blue: #063293;
  --color-primary-dark: #04236a;
  --color-primary-light: #eaf0fb;
  --color-accent-pink: #e20569;
  --color-accent-pink-hover: #c4004d;
  --color-pink-soft: #fff2f7;
  --color-text-main: #063293;
  --color-border-strip: #e8edf8;
  --color-white: #ffffff;
  
  --font-family-base: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  --max-width-site: 1440px;
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Box Sizing --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family-base);
  color: var(--color-primary-blue);
  background-color: var(--color-white);
  line-height: 1.5;
  overflow-x: hidden;
  min-width: 320px;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* --- Layout Wrapper --- */
.site-shell {
  min-height: 100vh;
  background: var(--color-white);
  overflow: hidden;
}

/* ==========================================================================
   1. STRISCIA ISTITUZIONALE PARTNER
   Loghi proporzionati in box a larghezza differenziata
   ========================================================================== */
.institutional-strip {
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border-strip);
  position: relative;
  z-index: 40;
}

.institutional-inner {
  width: min(100%, var(--max-width-site));
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Box differenziati che si adattano alla grandezza di ciascun logo */
.box-coesione {
  flex: 0 1 290px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Logo Coesione Italia-Lombardia ridotto ulteriormente a 66px */
.logo-coesione {
  height: 66px;
  width: auto;
  object-fit: contain;
}

.box-eu {
  flex: 0 1 490px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-eu {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.box-repubblica {
  flex: 0 1 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-repubblica {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.box-lombardia {
  flex: 0 1 350px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.logo-lombardia {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.institutional-divider {
  width: 1px;
  height: 60px;
  background-color: var(--color-border-strip);
  flex-shrink: 0;
}

/* ==========================================================================
   2. MAIN SITE NAVIGATION (Brand Logo + Links)
   Spazio compatto e simmetrico sopra e sotto i link del menu
   ========================================================================== */
.main-navigation {
  position: relative;
  z-index: 30;
  background-color: var(--color-white);
  width: 100%;
}

.navigation-inner {
  width: min(100%, var(--max-width-site));
  margin: 0 auto;
  padding: 22px 40px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

/* Brand Logo (RESTART) con sovrapposizione naturale sulla hero */
.brand {
  position: relative;
  z-index: 25;
  width: 285px;
  align-self: flex-start;
  margin-top: -10px;
  margin-bottom: -155px;
  display: inline-block;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

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

.brand-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(6, 50, 147, 0.08));
}

/* Navigation Links */
.navigation-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-link {
  position: relative;
  padding: 8px 16px 10px;
  border-radius: 8px;
  color: var(--color-primary-blue);
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 600;
  line-height: 19.5px;
  white-space: nowrap;
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus-visible {
  outline: none;
  color: var(--color-accent-pink-hover);
  background-color: var(--color-pink-soft);
}

/* Active Indicator (Accent Pink Bar) */
.nav-link.is-active {
  color: var(--color-primary-blue);
  font-weight: 700;
}

.nav-link.is-active::after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 2px;
  border-radius: 99px;
  background-color: var(--color-accent-pink);
  content: "";
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-primary-blue);
  border-radius: 8px;
  transition: background-color var(--transition-fast);
}

.mobile-toggle:hover {
  background-color: var(--color-primary-light);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   3. HERO SECTION
   Contenuti posizionati più in alto insieme alla freccia rosa
   ========================================================================== */
.hero {
  position: relative;
  z-index: 10;
  min-height: 780px;
  isolation: isolate;
  overflow: hidden;
  background-color: #f5f7fc;
}

/* Foto Originale ad Alta Risoluzione */
.hero-photo {
  position: absolute;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}

/* Sfumatura per contrasto ottimale del testo sulla sinistra */
.hero-logo-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.92) 42%,
    rgba(255, 255, 255, 0.35) 65%,
    rgba(255, 255, 255, 0) 85%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(100%, var(--max-width-site));
  min-height: 780px;
  margin: 0 auto;
  /* Padding superiore ridotto a 85px per alzare il titolo e tutto il blocco */
  padding: 85px 40px 70px;
  display: flex;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 530px;
  max-width: 100%;
}

/* Titolo Vettoriale Ufficiale */
.hero-title-svg {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-bottom: 22px;
}

/* Testo Descrittivo in Lexend */
.hero-text {
  color: var(--color-primary-blue);
  font-family: var(--font-family-base);
  font-size: 19px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
}

.hero-text p {
  margin-bottom: 16px;
}

.hero-text strong {
  font-weight: 700;
}

.hero-text-highlight {
  font-weight: 700;
  font-size: 19px;
}

/* Bottone CTA */
.hero-cta {
  display: inline-flex;
  min-height: 56px;
  margin-top: 12px;
  padding: 14px 32px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 100px;
  color: var(--color-white);
  background-image: linear-gradient(167deg, var(--color-accent-pink) 0%, var(--color-accent-pink-hover) 100%);
  box-shadow: 0 10px 24px rgba(196, 0, 77, 0.22);
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-cta:hover,
.hero-cta:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(196, 0, 77, 0.35);
}

.hero-cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* Freccia Curva Rosa Originale - Spostata più in alto in sincronia con il testo */
.hero-arrow {
  position: absolute;
  top: 205px; /* Alzata da 240px a 205px in perfetta sintonia con il blocco testi */
  left: 550px;
  width: 290px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

/* ==========================================================================
   4. SECONDA FASCIA - COSA FACCIAMO PER TE
   Tre schede con icone vettoriali, numeri filigranati e riga decorativa di sfondo
   ========================================================================== */
.services-section {
  position: relative;
  background-color: #f3f5fa;
  padding: 85px 40px 105px;
  overflow: hidden;
  z-index: 5;
}

/* Riga decorativa curva di sfondo (3498f5fec6b844b14e34b3748ad972fdeabe047e.png) */
.services-bg-ribbon {
  position: absolute;
  top: -65px;
  left: 50%;
  transform: translateX(-50%);
  width: 1480px;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
}

.services-container {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max-width-site));
  margin: 0 auto;
}

/* Header Sezione: Stella + Titolo bicolore + Sottotitolo */
.services-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 52px;
}

.services-title-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 22px;
}

.services-title-star {
  width: 44px;
  height: auto;
  flex-shrink: 0;
}

.services-title {
  color: var(--color-primary-blue);
  font-family: var(--font-family-base);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.highlight-pink {
  color: var(--color-accent-pink) !important;
}

.services-title .highlight-pink {
  color: var(--color-accent-pink);
}

.services-subtitle {
  color: var(--color-primary-blue);
  font-family: var(--font-family-base);
  font-size: 19px;
  font-weight: 400;
  line-height: 29px;
  letter-spacing: -0.2px;
}

.services-subtitle strong {
  font-weight: 700;
}

/* Griglia delle 3 Card */
.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  background-color: var(--color-white);
  border-radius: 24px;
  padding: 38px 36px 44px;
  box-shadow: 0 16px 36px rgba(6, 50, 147, 0.08), 0 4px 12px rgba(6, 50, 147, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(6, 50, 147, 0.12), 0 6px 16px rgba(6, 50, 147, 0.04);
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.service-icon-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background-color: var(--color-accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(226, 5, 105, 0.25);
  transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-circle {
  transform: scale(1.05);
}

.service-icon {
  width: 38px;
  height: 38px;
}

.service-card-number {
  font-family: var(--font-family-base);
  font-size: 76px;
  font-weight: 900;
  line-height: 0.9;
  color: #dce5f5;
  letter-spacing: -1.5px;
  user-select: none;
}

.service-card-title {
  color: var(--color-primary-blue);
  font-family: var(--font-family-base);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
}

.service-card-text {
  color: var(--color-primary-blue);
  font-family: var(--font-family-base);
  font-size: 17px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: -0.2px;
}

.service-card-text strong {
  font-weight: 700;
}

/* ==========================================================================
   5. TERZA FASCIA - PARLA CON NOI (Split Screen & Form)
   ========================================================================== */
.contact-section {
  display: flex;
  width: 100%;
  position: relative;
  background: linear-gradient(90deg, var(--color-primary-blue) 50%, var(--color-white) 50%);
  border-top: 4px solid var(--color-accent-pink);
  overflow: hidden;
}

/* Colonna Sinistra (Blu) */
.contact-col-info {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  padding: 90px 60px 105px 40px;
  position: relative;
  background-color: var(--color-primary-blue);
  overflow: hidden;
}

/* Onda di sfondo curva su colonna sinistra (01ff829cf5e8c7affb79b6930638b2f77f99ec03.png) */
.contact-bg-wave {
  position: absolute;
  top: -40px;
  right: -80px;
  width: 920px;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
}

.contact-info-inner {
  width: 100%;
  max-width: 580px;
  position: relative;
  z-index: 2;
}

/* Badge "FORM" */
.contact-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  border-radius: 99px;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* Titolo con freccia celeste */
.contact-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-arrow-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.contact-title {
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.contact-intro {
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
}

.contact-intro strong {
  font-weight: 700;
}

/* Lineetta rosa d'accento */
.contact-pink-bar {
  width: 54px;
  height: 3px;
  background-color: var(--color-accent-pink);
  border-radius: 99px;
  margin-bottom: 30px;
}

/* Card con trasparenza Glassmorphism */
.contact-glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 32px 36px 36px;
  box-shadow: 0 12px 32px rgba(4, 35, 106, 0.25);
}

.glass-card-title {
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 14px;
}

.glass-card-text {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: -0.15px;
}

.glass-card-text strong {
  font-weight: 700;
  color: var(--color-white);
}

/* Colonna Destra (Form Bianco) */
.contact-col-form {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  padding: 90px 40px 105px 60px;
  background-color: var(--color-white);
}

.contact-form-inner {
  width: 100%;
  max-width: 580px;
}

.contact-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-family-base);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #8e9db3;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.input-with-icon {
  position: relative;
  width: 100%;
}

.form-input,
.form-select {
  width: 100%;
  height: 52px;
  background-color: var(--color-white);
  border: 1.5px solid #e8edf8;
  border-radius: 12px;
  padding: 12px 18px;
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary-blue);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input::placeholder {
  color: #8e9db3;
  opacity: 0.45;
  font-size: 14.5px;
  letter-spacing: 0.5px;
}

.form-input:focus,
.form-select:focus {
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(6, 50, 147, 0.12);
}

.form-select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 44px;
  color: #21489e;
}

.form-select:invalid,
.form-select option[value=""] {
  color: #8e9db3;
}

.input-icon-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #8e9db3;
}

/* ==========================================================================
   Verifica Codice Fiscale & Blocco/Sblocco Campi Successivi
   ========================================================================== */
.input-with-action {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.input-with-action .form-input {
  padding-right: 108px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.btn-verify-cf {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
  padding: 0 16px;
  background: linear-gradient(135deg, #063293 0%, #1545b6 100%);
  color: #ffffff;
  font-family: var(--font-family-base);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(6, 50, 147, 0.25);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-verify-cf:hover:not(:disabled) {
  background: linear-gradient(135deg, #04246d 0%, #0d3698 100%);
  transform: translateY(-50%) translateY(-1px);
  box-shadow: 0 4px 10px rgba(6, 50, 147, 0.35);
}

.btn-verify-cf:active:not(:disabled) {
  transform: translateY(-50%) translateY(1px);
}

.btn-verify-cf.is-verified {
  background: #059669;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
  cursor: default;
}

.form-input.is-valid {
  border-color: #10b981 !important;
  background-color: #f0fdf4 !important;
}

.form-input.is-invalid {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
}

/* Messaggio di Feedback sotto il CF */
.cf-feedback {
  display: none;
  margin-top: 8px;
  font-family: var(--font-family-base);
  font-size: 13px;
  line-height: 1.4;
  padding: 9px 13px;
  border-radius: 9px;
  transition: all var(--transition-fast);
}

.cf-feedback.is-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  font-weight: 600;
}

.cf-feedback.is-success {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-weight: 600;
}

/* Banner di sblocco/blocco */
.form-lock-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  margin: 22px 0 20px;
  font-family: var(--font-family-base);
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  transition: all var(--transition-base);
}

.form-lock-banner .lock-icon {
  flex-shrink: 0;
  color: #64748b;
  transition: color var(--transition-base);
}

.form-lock-banner.is-unlocked {
  background-color: #ecfdf5;
  border: 1.5px solid #86efac;
  color: #15803d;
}

.form-lock-banner.is-unlocked .lock-icon {
  color: #15803d;
}

/* Sezione inferiore: stato bloccato / sbloccato */
.form-bottom-section {
  transition: opacity var(--transition-base);
}

.form-bottom-section.is-locked .form-grid,
.form-bottom-section.is-locked .form-required-note,
.form-bottom-section.is-locked .form-privacy-group,
.form-bottom-section.is-locked .form-submit-btn {
  opacity: 0.45;
  filter: grayscale(50%);
  pointer-events: none;
  user-select: none;
  transition: opacity var(--transition-base), filter var(--transition-base);
}

.form-bottom-section.is-locked .form-input,
.form-bottom-section.is-locked .form-select,
.form-bottom-section.is-locked .multiselect-trigger {
  background-color: #f8fafc;
  cursor: not-allowed;
}

.form-bottom-section:not(.is-locked) .form-grid,
.form-bottom-section:not(.is-locked) .form-required-note,
.form-bottom-section:not(.is-locked) .form-privacy-group,
.form-bottom-section:not(.is-locked) .form-submit-btn {
  opacity: 1;
  filter: none;
  pointer-events: auto;
  user-select: auto;
}

.custom-multiselect.is-disabled .multiselect-trigger {
  background-color: #f8fafc;
  cursor: not-allowed;
  pointer-events: none;
}

.form-submit-btn:disabled {
  background-color: #cbd5e1;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.6;
}

/* ==========================================================================
   Custom Multi-Select Dropdowns (Menu a tendina multi-valore)
   ========================================================================== */
.custom-multiselect {
  position: relative;
  width: 100%;
}

.multiselect-trigger {
  width: 100%;
  min-height: 52px;
  background-color: var(--color-white);
  border: 1.5px solid #e8edf8;
  border-radius: 12px;
  padding: 12px 46px 12px 18px;
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary-blue);
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  position: relative;
}

.multiselect-trigger:hover {
  border-color: #c9d7ec;
}

.custom-multiselect.is-open .multiselect-trigger,
.multiselect-trigger:focus-visible {
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(6, 50, 147, 0.12);
}

.multiselect-label {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  font-size: 14.5px;
  color: var(--color-primary-blue);
  font-weight: 600;
}

.multiselect-label.placeholder-active {
  color: #8e9db3;
  opacity: 0.85;
  font-weight: 500;
}

.multiselect-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-accent-pink);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 99px;
  flex-shrink: 0;
}

.multiselect-chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #8e9db3;
  transition: transform 220ms ease, color var(--transition-fast);
}

.custom-multiselect.is-open .multiselect-chevron {
  transform: translateY(-50%) rotate(180deg);
  color: var(--color-primary-blue);
}

/* Tendina a comparsa (Dropdown Panel) */
.multiselect-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  max-height: 290px;
  overflow-y: auto;
  background-color: var(--color-white);
  border: 1.5px solid #dce5f5;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(6, 50, 147, 0.16), 0 4px 12px rgba(6, 50, 147, 0.06);
  padding: 8px;
  z-index: 60;
  display: none;
}

.custom-multiselect.is-open .multiselect-dropdown {
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: multiselectFade 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes multiselectFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Opzioni interne alla tendina */
.multiselect-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--transition-fast);
}

.multiselect-option:hover {
  background-color: #f0f4ff;
}

.multiselect-option:has(input:checked) {
  background-color: rgba(226, 5, 105, 0.08);
}

.multiselect-option:has(input:checked) .option-text {
  color: var(--color-primary-blue);
  font-weight: 600;
}

.option-text {
  font-family: var(--font-family-base);
  font-size: 14px;
  line-height: 18px;
  color: var(--color-primary-blue);
  font-weight: 500;
}

.multiselect-option-special {
  border-top: 1px dashed #dce5f5;
  margin-top: 4px;
  padding-top: 10px;
}

/* Scrollbar personalizzata per la tendina */
.multiselect-dropdown::-webkit-scrollbar {
  width: 6px;
}

.multiselect-dropdown::-webkit-scrollbar-track {
  background: #f4f7fc;
  border-radius: 8px;
}

.multiselect-dropdown::-webkit-scrollbar-thumb {
  background: #c3d4f0;
  border-radius: 8px;
}

.multiselect-dropdown::-webkit-scrollbar-thumb:hover {
  background: #9ab6e3;
}

.form-required-note {
  font-family: var(--font-family-base);
  font-size: 13.5px;
  color: var(--color-primary-blue);
  margin: 18px 0 20px;
  font-weight: 500;
}

.form-privacy-group {
  margin-bottom: 28px;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--color-accent-pink);
  cursor: pointer;
}

.checkbox-text {
  font-family: var(--font-family-base);
  font-size: 13.5px;
  line-height: 20px;
  color: var(--color-primary-blue);
}

.privacy-link {
  color: var(--color-accent-pink);
  text-decoration: underline;
  font-weight: 600;
  display: block;
  margin-top: 2px;
  transition: color var(--transition-fast);
}

.privacy-link:hover {
  color: var(--color-accent-pink-hover);
}

.form-submit-btn {
  width: 100%;
  min-height: 54px;
  background-color: #eb81af;
  color: var(--color-white);
  border: none;
  border-radius: 100px;
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(235, 129, 175, 0.35);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.form-submit-btn:hover {
  background-color: var(--color-accent-pink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(226, 5, 105, 0.35);
}

/* ==========================================================================
   6. QUARTA FASCIA - RISPONDIAMO AI TUOI DUBBI (FAQ & Accordion)
   ========================================================================== */
.faq-section {
  position: relative;
  background-color: var(--color-white);
  padding: 85px 0 95px;
  overflow: hidden;
}

/* Sfondo onda/curva SVG sul lato destro (dietro le domande) */
.faq-bg-ribbon {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 560px;
  height: auto;
  max-width: none;
  pointer-events: none;
  z-index: 1;
}

.faq-container {
  width: 100%;
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: 0 50px 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Centrato verticalmente rispetto al blocco sinistro */
  gap: 50px;
  position: relative;
  z-index: 2;
}

/* Colonna Sinistra (FAQ Info) */
.faq-col-info {
  flex: 1 1 0;
  max-width: 580px;
  padding-left: 45px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Badge "FAQ" */
.faq-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 18px;
  background-color: #F0F4FF;
  border-radius: 100px;
  color: var(--color-primary-blue);
  font-family: var(--font-family-base);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 16px;
  letter-spacing: 1.2px;
  margin-bottom: 36px;
}

/* Titolo "Rispondiamo ai tuoi dubbi" */
.faq-title-wrap {
  margin-bottom: 24px;
}

.faq-title {
  color: var(--color-primary-blue);
  font-family: var(--font-family-base);
  font-size: 48px;
  font-weight: 600;
  line-height: 52px;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
}

.faq-title-line-1 {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.faq-title-arrow {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.faq-title-line-2 {
  display: block;
}

.faq-title .highlight-pink {
  color: var(--color-accent-pink) !important;
}

/* Testo introduttivo */
.faq-intro {
  width: 100%;
  max-width: 438px;
  color: var(--color-primary-blue);
  font-family: var(--font-family-base);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.2px;
  margin-bottom: 34px;
}

.faq-intro strong {
  font-weight: 700;
}

/* Bottone CTA */
.faq-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 60px;
  padding: 14px 30px;
  background-color: var(--color-accent-pink);
  border-radius: 100px;
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(226, 5, 105, 0.25);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-cta-btn:hover {
  background-color: var(--color-accent-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(226, 5, 105, 0.35);
}

.faq-cta-arrow {
  font-size: 18px;
  transition: transform var(--transition-fast);
}

.faq-cta-btn:hover .faq-cta-arrow {
  transform: translateX(4px);
}

/* Colonna Destra (Accordion) */
.faq-col-accordion {
  flex: 1 1 0;
  max-width: 580px;
  padding-left: 20px;
  padding-right: 50px; /* Più padding dal bordo destro */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.accordion-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.accordion-item {
  border-bottom: 1px solid #DBEAFE;
}

.accordion-header {
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-family-base);
  transition: opacity var(--transition-fast);
}

.accordion-header:hover {
  opacity: 0.85;
}

.accordion-question {
  color: var(--color-primary-blue);
  font-size: 18px;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: -0.2px;
  padding-right: 12px;
}

.accordion-icon-wrap {
  width: 32px;
  height: 32px;
  background-color: #F0F4FF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-primary-blue);
  transition: background-color var(--transition-fast), color var(--transition-fast), transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-icon-svg {
  width: 16px;
  height: 16px;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stato Aperto Accordion */
.accordion-item.is-open .accordion-icon-wrap {
  background-color: var(--color-accent-pink);
  color: var(--color-white);
}

.accordion-item.is-open .accordion-icon-svg {
  transform: rotate(45deg);
}

/* Animazione fluida altezza accordion tramite CSS Grid */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.is-open .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-body {
  overflow: hidden;
}

.accordion-body p {
  color: #3b5998;
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 400;
  line-height: 25px;
  padding-bottom: 22px;
}

/* ==========================================================================
   7. QUINTA FASCIA - CHIEDI UN CONSIGLIO (CTA con Spirale Rosa e Foto Ragazzi)
   ========================================================================== */
.counsel-section {
  position: relative;
  width: 100%;
  min-height: 474px;
  background-color: var(--color-primary-blue);
  background-image: 
    linear-gradient(100deg, rgba(6, 50, 147, 1) 0%, rgba(6, 50, 147, 0.98) 42%, rgba(6, 50, 147, 0.55) 70%, rgba(6, 50, 147, 0.2) 85%, rgba(6, 50, 147, 0.4) 100%),
    url('../assets/images/bg-ragazzi-consiglio.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 4px solid var(--color-accent-pink);
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Spirale Rosa Ufficiale posizionata in assoluto da Figma */
.counsel-pink-spiral {
  position: absolute;
  left: 50%;
  margin-left: -34px; /* Calcolato per corrispondere esattamente a left: 686px su contenitore 1440px */
  top: -133px;
  width: 660px;
  height: auto;
  max-width: none;
  pointer-events: none;
  z-index: 1;
}

.counsel-container {
  width: 100%;
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: 80px 80px 80px 95px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Colonna Sinistra (Titolo & Intro) */
.counsel-col-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.counsel-title {
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 48px;
  font-weight: 600;
  line-height: 52px;
  letter-spacing: -0.5px;
  margin: 0;
}

.counsel-brand-highlight {
  text-transform: uppercase;
  font-weight: 600;
}

.counsel-intro {
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.2px;
  max-width: 420px;
  margin: 0;
}

/* Colonna Destra (CTA Button) */
.counsel-col-action {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 50px;
  flex-shrink: 0;
}

.counsel-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 60px;
  padding: 0 55px;
  background-color: var(--color-accent-pink);
  border-radius: 100px;
  color: var(--color-white);
  font-family: var(--font-family-base);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(226, 5, 105, 0.35);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.counsel-cta-btn:hover {
  background-color: var(--color-accent-pink-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(226, 5, 105, 0.45);
}

/* ==========================================================================
   8. FOOTER - FASCIA BLU ENTI PARTNER E FASCIA BIANCA PROMOTORI
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: var(--color-primary-blue);
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 40px;
}

/* Elemento grafico ad arco circolare blu traslucido sullo sfondo */
.footer-bg-arc {
  position: absolute;
  right: 280px;
  top: -240px;
  width: 840px;
  height: 840px;
  border-radius: 50%;
  border: 110px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 1;
}

.footer-container {
  width: 100%;
  max-width: var(--max-width-site);
  margin: 0 auto;
  padding: 0 50px 0 40px;
  position: relative;
  z-index: 2;
}

/* Riga Principale Footer (Brand a SX, Partner a DX) */
.footer-main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

/* Colonna Sinistra (Brand & Descrizione) */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 440px;
  padding-left: 40px;
}

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

.footer-legal-desc {
  color: #BEDBFF;
  font-family: var(--font-family-base);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.15px;
  margin-top: 24px;
}

.footer-desc-highlight {
  font-weight: 600;
  text-transform: uppercase;
}

/* Colonna Destra (Enti Partner Istituzionali) */
.footer-col-partners {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.footer-partners-title {
  color: #8EC5FF;
  font-family: var(--font-family-base);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 16.5px;
  letter-spacing: 1.1px;
  margin: 0;
}

.footer-partners-card {
  width: 100%;
  background: var(--color-white);
  border-radius: 24px;
  padding: 32px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.footer-partners-img {
  width: 100%;
  height: auto;
  max-height: 176px;
  object-fit: contain;
  display: block;
}

/* Riga Secondaria (Copyright & Link Legali) */
.footer-bottom-row {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  color: #8EC5FF;
  font-family: var(--font-family-base);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-link {
  color: #8EC5FF;
  font-family: var(--font-family-base);
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* ==========================================================================
   FASCIA BIANCA INFERIORE - PROGRAMMI E PROMOTORI (ZeroNeet, Cariplo, Intesa)
   ========================================================================== */
.footer-promoters-bar {
  width: 100%;
  background-color: var(--color-white);
  border-top: 1px solid #E8EDF8;
  padding: 32px 24px 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-promoters-container {
  width: 100%;
  max-width: var(--max-width-site);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px; /* Loghi più separati con ottimo respiro */
}

.promoter-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Scritte "UN PROGRAMMA DI" e "IN COLLABORAZIONE CON" perfettamente allineate sulla stessa linea orizzontale */
.promoter-label {
  display: block;
  height: 16px;
  line-height: 16px;
  font-family: 'Inter', var(--font-family-base);
  font-size: 12px;
  font-weight: 500;
  color: #020203;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  white-space: nowrap;
}

/* Spaziatore per la colonna ZeroNeet per pareggiare l'altezza della scritta */
.promoter-label-spacer {
  height: 16px;
  margin-bottom: 12px;
}

/* Box logo ad altezza fissa (58px) con centratura comune per allineare l'asse orizzontale di tutti i loghi */
.promoter-logo-box {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Separatore verticale centrato con l'asse dei loghi */
.promoter-divider {
  width: 1px;
  height: 42px;
  background-color: rgba(117, 126, 141, 0.3);
  margin-top: 36px; /* Centrato con l'asse dei loghi: 16px label + 12px gap + (58 - 42)/2 = 36px */
  flex-shrink: 0;
}

.promoter-logo-zeroneet {
  height: 42px;
  width: auto;
  display: block;
}

.promoter-logo-cariplo {
  height: 58px;
  width: auto;
  display: block;
}

.promoter-logo-intesa {
  height: 30px;
  width: auto;
  display: block;
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 1200px) {
  .institutional-inner {
    padding-inline: 24px;
  }
  
  .logo-coesione {
    height: 58px;
  }
  
  .logo-eu {
    height: 48px;
  }
  
  .logo-repubblica {
    height: 60px;
  }
  
  .logo-lombardia {
    height: 50px;
  }

  .institutional-divider {
    height: 48px;
  }

  .navigation-inner {
    padding: 18px 28px;
  }
  
  .brand {
    width: 240px;
    margin-bottom: -125px;
  }
  
  .nav-link {
    padding: 8px 12px 10px;
    font-size: 14px;
  }
  
  .hero-inner {
    padding-top: 75px;
    padding-inline: 28px;
  }
  
  .hero-arrow {
    top: 180px;
    left: 490px;
    width: 230px;
  }

  /* Section Services 1200px */
  .services-section {
    padding: 70px 28px 90px;
  }

  .services-bg-ribbon {
    width: 1200px;
    top: -40px;
  }

  .services-title {
    font-size: 38px;
  }

  .services-subtitle {
    font-size: 18px;
    line-height: 27px;
  }

  .services-cards-grid {
    gap: 20px;
  }

  .service-card {
    padding: 32px 28px 38px;
  }

  .service-icon-circle {
    width: 68px;
    height: 68px;
  }

  .service-icon {
    width: 32px;
    height: 32px;
  }

  .service-card-number {
    font-size: 64px;
  }

  .service-card-title {
    font-size: 24px;
  }

  .service-card-text {
    font-size: 16px;
    line-height: 25px;
  }

  /* Section Contact 1200px */
  .contact-col-info {
    padding: 70px 40px 85px 24px;
  }

  .contact-col-form {
    padding: 70px 24px 85px 40px;
  }

  .contact-title {
    font-size: 38px;
  }

  .contact-intro {
    font-size: 17px;
    line-height: 26px;
  }

  .contact-bg-wave {
    width: 780px;
    right: -60px;
    top: -20px;
  }

  /* Section FAQ 1200px */
  .faq-container {
    padding: 0 28px;
    gap: 36px;
  }

  .faq-col-info {
    padding-left: 15px;
  }

  .faq-col-accordion {
    padding-left: 15px;
  }

  .faq-title {
    font-size: 42px;
    line-height: 46px;
  }

  .faq-intro {
    font-size: 18px;
    line-height: 26px;
  }

  /* Section Counsel 1200px */
  .counsel-container {
    padding: 70px 40px;
    gap: 30px;
  }

  .counsel-title {
    font-size: 40px;
    line-height: 44px;
  }

  .counsel-intro {
    font-size: 18px;
    line-height: 26px;
  }

  .counsel-col-action {
    padding-right: 20px;
  }

  .counsel-cta-btn {
    padding: 0 45px;
  }

  .counsel-pink-spiral {
    width: 580px;
    top: -100px;
  }

  /* Footer 1200px */
  .footer-container {
    padding: 0 32px;
  }

  .footer-col-brand {
    padding-left: 20px;
  }

  .footer-promoters-container {
    gap: 60px;
  }
}

@media (max-width: 992px) {
  .institutional-inner {
    padding: 14px 20px;
  }
  
  .logo-coesione {
    height: 46px;
  }
  
  .logo-eu {
    height: 38px;
  }
  
  .logo-repubblica {
    height: 48px;
  }
  
  .logo-lombardia {
    height: 40px;
  }

  .institutional-divider {
    height: 38px;
  }

  .navigation-inner {
    padding: 16px 20px;
  }

  .brand {
    width: 200px;
    margin-bottom: -85px;
  }

  .mobile-toggle {
    display: block;
  }

  .navigation-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 290px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    padding: 80px 24px 32px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    transition: right var(--transition-smooth);
    z-index: 100;
  }

  .navigation-links.is-open {
    right: 0;
  }

  .nav-link {
    font-size: 16px;
    width: 100%;
    padding: 10px 16px;
  }

  .nav-link.is-active::after {
    left: 16px;
    right: auto;
    width: 32px;
  }

  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-photo {
    object-position: 70% top;
    opacity: 0.65;
  }

  .hero-logo-wash {
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0.95) 55%,
      rgba(255, 255, 255, 0.3) 100%
    );
  }

  .hero-inner {
    padding: 60px 20px 50px;
  }

  .hero-arrow {
    display: none;
  }

  /* Section Services 992px */
  .services-section {
    padding: 60px 20px 80px;
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
    gap: 24px;
  }

  .services-header {
    margin-bottom: 40px;
  }

  .services-title {
    font-size: 34px;
  }

  .services-title-star {
    width: 36px;
  }

  .services-subtitle {
    font-size: 17px;
    line-height: 26px;
  }

  /* Section Contact 992px */
  .contact-section {
    flex-direction: column;
    background: var(--color-white);
  }

  .contact-col-info {
    justify-content: center;
    padding: 60px 24px 70px;
  }

  .contact-col-form {
    justify-content: center;
    padding: 50px 24px 75px;
  }

  .contact-info-inner,
  .contact-form-inner {
    max-width: 520px;
    margin: 0 auto;
  }

  .contact-bg-wave {
    width: 680px;
    right: -40px;
    top: -20px;
  }

  /* Section FAQ 992px */
  .faq-section {
    padding: 70px 0 80px;
  }

  .faq-container {
    flex-direction: column;
    padding: 0 24px;
    gap: 48px;
    align-items: stretch;
  }

  .faq-col-info {
    max-width: 100%;
    padding-left: 0;
  }

  .faq-col-accordion {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  .faq-bg-ribbon {
    width: 480px;
    top: auto;
    bottom: -40px;
    right: -60px;
    transform: none;
  }

  /* Section Counsel 992px */
  .counsel-section {
    min-height: auto;
    background-image: 
      linear-gradient(100deg, rgba(6, 50, 147, 1) 0%, rgba(6, 50, 147, 0.94) 50%, rgba(6, 50, 147, 0.8) 100%),
      url('../assets/images/bg-ragazzi-consiglio.jpg');
  }

  .counsel-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 65px 24px 75px;
    gap: 40px;
  }

  .counsel-col-info {
    max-width: 100%;
    gap: 24px;
  }

  .counsel-title {
    font-size: 34px;
    line-height: 38px;
  }

  .counsel-intro {
    font-size: 17px;
    max-width: 100%;
  }

  .counsel-col-action {
    padding-right: 0;
    width: 100%;
    justify-content: flex-start;
  }

  .counsel-pink-spiral {
    left: auto;
    right: -80px;
    margin-left: 0;
    top: -50px;
    width: 480px;
    opacity: 0.55;
  }

  /* Footer 992px */
  .site-footer {
    padding-top: 60px;
    padding-bottom: 35px;
  }

  .footer-main-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }

  .footer-col-brand {
    padding-left: 0;
    max-width: 100%;
  }

  .footer-col-partners {
    max-width: 100%;
  }

  .footer-bg-arc {
    display: none;
  }

  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 48px;
    padding-top: 24px;
  }

  .footer-promoters-container {
    gap: 40px;
  }
}

@media (max-width: 680px) {
  .institutional-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
    padding: 14px 16px;
  }

  .institutional-divider {
    display: none;
  }

  .box-coesione,
  .box-eu,
  .box-repubblica,
  .box-lombardia {
    flex: auto;
    width: 100%;
    justify-content: center !important;
  }

  .logo-coesione {
    height: 38px;
  }

  .logo-eu {
    height: 32px;
  }

  .logo-repubblica {
    height: 42px;
  }

  .logo-lombardia {
    height: 34px;
  }

  .brand {
    width: 170px;
    margin-bottom: -65px;
  }

  .hero-inner {
    padding-top: 50px;
  }

  .hero-title-svg {
    max-width: 340px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 25px;
  }

  .hero-cta {
    width: 100%;
    padding: 14px 20px;
  }

  /* Section Services 680px */
  .services-section {
    padding: 50px 16px 70px;
  }

  .services-bg-ribbon {
    display: none;
  }

  .services-title-wrapper {
    gap: 12px;
    margin-bottom: 16px;
  }

  .services-title {
    font-size: 28px;
  }

  .services-title-star {
    width: 30px;
  }

  .services-subtitle {
    font-size: 15px;
    line-height: 23px;
  }

  .service-card {
    padding: 28px 22px 32px;
    border-radius: 20px;
  }

  .service-icon-circle {
    width: 62px;
    height: 62px;
  }

  .service-icon {
    width: 30px;
    height: 30px;
  }

  .service-card-number {
    font-size: 54px;
  }

  .service-card-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .service-card-text {
    font-size: 15px;
    line-height: 23px;
  }

  /* Section Contact 680px */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-col-info {
    padding: 50px 16px 60px;
  }

  .contact-col-form {
    padding: 40px 16px 60px;
  }

  .contact-title {
    font-size: 30px;
  }

  .contact-arrow-icon {
    width: 30px;
    height: 30px;
  }

  .contact-intro {
    font-size: 16px;
    line-height: 25px;
  }

  .contact-glass-card {
    padding: 24px 20px;
  }

  .glass-card-title {
    font-size: 19px;
  }

  .glass-card-text {
    font-size: 15px;
    line-height: 24px;
  }

  .form-submit-btn {
    font-size: 15px;
    padding: 14px 18px;
  }

  .multiselect-dropdown {
    max-height: 250px;
  }

  .contact-bg-wave {
    display: none;
  }

  /* Section FAQ 680px */
  .faq-section {
    padding: 55px 0 65px;
  }

  .faq-container {
    padding: 0 16px;
    gap: 40px;
  }

  .faq-col-accordion {
    padding-right: 0;
  }

  .faq-badge {
    margin-bottom: 24px;
  }

  .faq-title {
    font-size: 32px;
    line-height: 36px;
  }

  .faq-title-line-1 {
    gap: 12px;
  }

  .faq-title-arrow {
    width: 32px;
    height: 32px;
  }

  .faq-intro {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 28px;
  }

  .faq-cta-btn {
    width: 100%;
    font-size: 14.5px;
    padding: 14px 20px;
    min-height: 54px;
    text-align: center;
  }

  .accordion-header {
    padding: 18px 0;
  }

  .accordion-question {
    font-size: 16px;
    line-height: 22px;
  }

  .accordion-body p {
    font-size: 14.5px;
    line-height: 23px;
    padding-bottom: 18px;
  }

  .faq-bg-ribbon {
    display: none;
  }

  /* Section Counsel 680px */
  .counsel-container {
    padding: 50px 16px 60px;
    gap: 32px;
  }

  .counsel-title {
    font-size: 28px;
    line-height: 34px;
  }

  .counsel-intro {
    font-size: 15px;
    line-height: 23px;
  }

  .counsel-cta-btn {
    width: 100%;
    min-height: 54px;
    padding: 0 24px;
    font-size: 15px;
  }

  .counsel-pink-spiral {
    display: none;
  }

  /* Footer 680px */
  .site-footer {
    padding-top: 50px;
    padding-bottom: 30px;
  }

  .footer-container {
    padding: 0 16px;
  }

  .footer-brand-logo {
    width: 190px;
  }

  .footer-legal-desc {
    font-size: 14px;
    line-height: 22px;
    margin-top: 18px;
  }

  .footer-partners-card {
    padding: 20px 14px;
    border-radius: 18px;
  }

  .footer-legal-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-promoters-bar {
    padding: 28px 16px;
  }

  .footer-promoters-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .promoter-col {
    align-items: center;
  }

  .promoter-label {
    text-align: center;
    margin-bottom: 8px;
  }

  .promoter-label-spacer {
    display: none;
  }

  .promoter-logo-box {
    justify-content: center;
    height: auto;
  }

  .promoter-divider {
    width: 60px;
    height: 1px;
    margin-top: 0;
  }

  .promoter-logo-zeroneet {
    height: 34px;
  }

  .promoter-logo-cariplo {
    height: 44px;
  }

  .promoter-logo-intesa {
    height: 24px;
  }
}
