/* ============================================================
   CTS PROFESSIONI EDUCATIVE 0-6 — STYLESHEET
   Comune di Chieti · Design: Blu istituzionale / Azzurro / Bianco
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Palette */
  --blue-900: #0a1f44;
  --blue-800: #0d2b5e;
  --blue-700: #1a3a7c;
  --blue-600: #1e4799;
  --blue-500: #2563b0;
  --blue-400: #3b82c4;
  --blue-300: #5fa8d9;
  --azure-500: #3b9ee0;
  --azure-400: #60b8ec;
  --azure-300: #93d1f5;
  --azure-100: #dff0fb;
  --azure-50:  #f0f8ff;
  --white:     #ffffff;
  --gray-50:   #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --gray-600:  #475569;
  --gray-800:  #1e293b;
  --gold:      #f59e0b;
  --green-500: #22c55e;
  --red-500:   #ef4444;

  /* Typography */
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;

  /* Radius */
  --radius-sm:  6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10,31,68,.08), 0 1px 2px rgba(10,31,68,.06);
  --shadow-md: 0 4px 16px rgba(10,31,68,.12), 0 2px 6px rgba(10,31,68,.08);
  --shadow-lg: 0 12px 40px rgba(10,31,68,.16), 0 4px 12px rgba(10,31,68,.10);
  --shadow-xl: 0 24px 64px rgba(10,31,68,.22), 0 8px 24px rgba(10,31,68,.14);

  /* Transitions */
  --transition: 0.25s ease;
  --transition-slow: 0.4s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 31, 68, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-shrink: 0;
}

.logo-shield {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--azure-500), var(--blue-600));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 2px 8px rgba(59,158,224,0.4);
  flex-shrink: 0;
}

.logo-shield-sm {
  width: 38px;
  height: 38px;
  font-size: 1rem;
}

.header-text {
  display: flex;
  flex-direction: column;
}

.header-ente {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.header-cts {
  color: var(--azure-300);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-link.nav-cta {
  background: var(--azure-500);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  font-weight: 600;
}

.nav-link.nav-cta:hover {
  background: var(--azure-400);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59,158,224,0.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--blue-900) 0%, var(--blue-800) 40%, #12356b 70%, #0e2a52 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(59,158,224,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(30,71,153,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 60% 70%, rgba(59,130,196,0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Animated particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  animation: floatParticle 12s ease-in-out infinite;
}
.p1 { width: 8px;  height: 8px;  background: var(--azure-300); top: 20%; left: 15%; animation-delay: 0s;   animation-duration: 14s; }
.p2 { width: 12px; height: 12px; background: var(--azure-400); top: 65%; left: 80%; animation-delay: 2s;   animation-duration: 11s; }
.p3 { width: 6px;  height: 6px;  background: var(--white);     top: 45%; left: 55%; animation-delay: 4s;   animation-duration: 16s; }
.p4 { width: 10px; height: 10px; background: var(--azure-300); top: 80%; left: 30%; animation-delay: 1s;   animation-duration: 13s; }
.p5 { width: 7px;  height: 7px;  background: var(--azure-400); top: 25%; left: 70%; animation-delay: 3s;   animation-duration: 15s; }

@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.15; }
  33%       { transform: translateY(-20px) translateX(10px); opacity: 0.3; }
  66%       { transform: translateY(10px) translateX(-15px); opacity: 0.2; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) 0;
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59,158,224,0.15);
  border: 1px solid rgba(59,158,224,0.35);
  color: var(--azure-300);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--azure-400);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--azure-400), var(--azure-300));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-desc strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.pill:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.5; }
  50%       { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--azure-500);
  color: var(--white);
  border-color: var(--azure-500);
}

.btn-primary:hover {
  background: var(--azure-400);
  border-color: var(--azure-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,158,224,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-700);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--azure-50);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-blue {
  background: var(--blue-700);
  color: var(--white);
  border-color: var(--blue-700);
}

.btn-blue:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,58,124,0.5);
}

/* === SECTIONS === */
.section {
  padding: var(--space-2xl) 0;
}

.section-light  { background: var(--white); }
.section-azure  { background: var(--azure-50); }
.section-dark   { background: var(--blue-900); }
.section-dark-form { background: linear-gradient(180deg, var(--blue-900) 0%, #0d2044 100%); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  color: var(--azure-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.875rem;
  background: rgba(59,158,224,0.1);
  border-radius: 100px;
  border: 1px solid rgba(59,158,224,0.25);
}

.section-tag-light {
  color: var(--azure-300);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.section-tag-blue {
  color: var(--blue-700);
  background: rgba(26,58,124,0.08);
  border-color: rgba(26,58,124,0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--blue-900);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title-light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.75;
}

.section-divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--azure-500), var(--blue-400));
  border-radius: 2px;
  margin: 1rem auto 1.5rem;
}

.divider-light { background: linear-gradient(90deg, var(--azure-400), rgba(255,255,255,0.4)); }

/* === PREMESSA === */
.premessa-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3.5rem;
  align-items: start;
}

.premessa-text p {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.premessa-text p strong {
  color: var(--blue-700);
  font-weight: 600;
}

.premessa-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.highlight-blue  { background: var(--blue-900);  color: var(--white); }
.highlight-azure { background: var(--azure-500); color: var(--white); }
.highlight-light { background: var(--azure-50);  color: var(--blue-900); border: 1px solid var(--azure-100); }

.highlight-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.highlight-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.highlight-card p {
  font-size: 0.875rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* === OBIETTIVI === */
.obiettivi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.obiettivo-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.obiettivo-card::before {
  content: attr(data-num);
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(59,158,224,0.08);
  font-family: var(--font-display);
  line-height: 1;
}

.obiettivo-card:hover {
  background: var(--azure-50);
  border-color: var(--azure-300);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.obiettivo-icon {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.obiettivo-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.obiettivo-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* === METODOLOGIA === */
.metodologia-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.metodologia-intro p {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
}

.metodologia-intro strong {
  color: var(--blue-700);
  font-weight: 600;
}

.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.metodo-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition);
}

.metodo-item:hover {
  background: var(--azure-50);
  border-color: var(--azure-300);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.metodo-icon-wrap {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue-700), var(--azure-500));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(26,58,124,0.3);
}

.metodo-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 0.5rem;
}

.metodo-item p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* === PROGRAMMA (UF cards) === */
.uf-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.uf-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-slow);
}

.uf-card:hover {
  transform: translateY(-6px);
}

.uf-card-blue {
  background: linear-gradient(180deg, var(--blue-800) 0%, var(--blue-900) 100%);
}

.uf-card-azure {
  background: linear-gradient(180deg, var(--azure-500) 0%, var(--blue-700) 100%);
}

.uf-card-header {
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
}

.uf-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.uf-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.uf-ore {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.ore-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-display);
}

.ore-label {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.uf-card-body {
  padding: 0 2rem 1.5rem;
  flex: 1;
}

.uf-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  padding: 1.25rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid rgba(255,255,255,0.3);
}

.uf-modules h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.module-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.module-list li {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
}

.module-dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.module-list li > div {
  flex: 1;
}

.module-list li strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.module-list li p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
}

.uf-card-footer {
  padding: 1.5rem 2rem 2.5rem;
  text-align: center;
}

/* === SEDI === */
.sedi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.sede-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}

.sede-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--azure-300);
}

.sede-header {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-700));
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sede-icon {
  font-size: 2rem;
}

.sede-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}

.sede-body {
  padding: 1.75rem 2rem;
}

.sede-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sede-info-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.sede-info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.sede-info-row strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.sede-info-row p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* === CALENDARIO === */
.calendario-tabs { margin-top: 0.5rem; }

.cal-tab-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: rgba(26,58,124,0.1);
  padding: 0.375rem;
  border-radius: var(--radius-md);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.cal-tab-btn {
  background: transparent;
  border: none;
  color: var(--blue-700);
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.cal-tab-btn.active,
.cal-tab-btn:hover {
  background: var(--blue-700);
  color: var(--white);
}

.cal-panel { display: none; }
.cal-panel.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.calendar-grid {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.cal-row {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.25rem;
  align-items: center;
  border-bottom: 1px solid var(--gray-100);
  transition: background var(--transition);
}

.cal-row:last-child { border-bottom: none; }
.cal-row:not(.cal-header):hover { background: var(--azure-50); }

.cal-row.cal-header {
  background: var(--blue-800);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--azure-300);
}

.cal-num {
  font-weight: 800;
  color: var(--blue-700);
  font-size: 1rem;
}

.cal-tema {
  font-size: 0.9rem;
  color: var(--gray-800);
  line-height: 1.4;
}

.cal-ore {
  font-weight: 700;
  color: var(--blue-700);
  font-size: 0.9rem;
  text-align: center;
}

.cal-periodo {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.cal-note {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  font-style: italic;
  text-align: center;
}

/* === DESTINATARI === */
.destinatari-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.destinatario-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.destinatario-card:hover {
  border-color: rgba(59,158,224,0.3);
  background: rgba(59,158,224,0.12);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.dest-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.destinatario-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.destinatario-card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
}

.requisiti-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--azure-500);
}

.requisiti-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.requisiti-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.requisiti-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.req-check {
  color: var(--green-500);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.req-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  line-height: 1.6;
}

/* === FORM === */
.form-iscrizione {
  max-width: 860px;
  margin: 0 auto;
}

.form-section {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.form-legend {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azure-300);
  padding: 0 0.5rem;
  margin-bottom: 1.5rem;
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-row:last-child { margin-bottom: 0; }

.form-row-half {
  grid-template-columns: 1fr;
  max-width: 50%;
}

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

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.01em;
}

.req-star    { color: var(--gold); }
.req-optional { font-weight: 400; color: rgba(255,255,255,0.5); font-size: 0.8rem; }

.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  transition: all var(--transition);
  outline: none;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='rgba(255,255,255,0.5)' d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--blue-800);
  color: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--azure-400);
  background: rgba(59,158,224,0.1);
  box-shadow: 0 0 0 3px rgba(59,158,224,0.2);
}

.form-input.invalid,
.form-select.invalid,
.form-textarea.invalid {
  border-color: var(--red-500);
  box-shadow: 0 0 0 2px rgba(239,68,68,0.2);
}

.form-error {
  font-size: 0.78rem;
  color: #fca5a5;
  min-height: 1.1em;
  display: block;
}

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

/* Privacy */
.form-section-privacy {
  background: rgba(255,255,255,0.03);
}

.privacy-box { margin-top: 0.5rem; }

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checkbox-group > label {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  cursor: pointer;
}

.form-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 5px;
  background: rgba(255,255,255,0.05);
  flex-shrink: 0;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.form-checkbox:checked + .checkbox-label .checkbox-custom {
  background: var(--azure-500);
  border-color: var(--azure-500);
}

.form-checkbox:checked + .checkbox-label .checkbox-custom::after {
  content: '✓';
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
}

.checkbox-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

.checkbox-text strong {
  color: rgba(255,255,255,0.95);
}

/* Submit */
.form-submit-area {
  text-align: center;
  margin-top: 2rem;
}

.btn-submit {
  padding: 1rem 3rem;
  font-size: 1.05rem;
  min-width: 280px;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(59,158,224,0.4);
}

.btn-submit:active {
  transform: translateY(0) !important;
}

/* Success */
.form-success {
  max-width: 600px;
  margin: 2rem auto;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  color: var(--white);
}

.success-icon { font-size: 3rem; margin-bottom: 1rem; }

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.form-success p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.form-success a {
  color: var(--azure-300);
  text-decoration: none;
  font-weight: 600;
}

/* === FOOTER === */
.site-footer {
  background: #060f20;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.footer-brand span {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--azure-300); }

.footer-contacts p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.4rem;
}

.footer-contacts a {
  color: var(--azure-300);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--azure-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(59,158,224,0.5);
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--azure-400);
  transform: translateY(-3px);
}

/* === SCROLL ANIMATIONS === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .premessa-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .premessa-highlights {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .highlight-card {
    flex: 1;
    min-width: 200px;
  }

  .uf-cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sedi-grid {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 2.5rem;
  }

  .site-header .main-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,31,68,0.98);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.375rem;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

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

  .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .obiettivi-grid {
    grid-template-columns: 1fr;
  }

  .metodologia-grid {
    grid-template-columns: 1fr;
  }

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

  .form-row-half {
    max-width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .cal-tab-buttons {
    flex-direction: column;
    width: 100%;
  }

  .destinatari-grid {
    grid-template-columns: 1fr 1fr;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .form-submit-area .btn-submit {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-pills {
    gap: 0.5rem;
  }
  .pill {
    font-size: 0.8rem;
    padding: 0.4rem 0.875rem;
  }
  .destinatari-grid {
    grid-template-columns: 1fr;
  }
  .header-cts {
    display: none;
  }
  .requisiti-box {
    padding: 1.25rem 1.5rem;
  }
  .coordinatore-card {
    flex-direction: column;
    text-align: center;
  }
  .coordinatore-ente {
    justify-content: center;
  }
  .formatori-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* === HEADER LOGOS === */
.header-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

.header-logo-idi {
  height: 38px;
  background: white;
  padding: 3px 6px;
  border-radius: 6px;
}

/* === HERO LOGOS === */
.hero-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.hero-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero-logo-idi {
  height: 60px;
  background: white;
  padding: 6px 10px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* === COORDINATORE === */
.coordinatore-card {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  transition: all var(--transition);
}

.coordinatore-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(59,158,224,0.3);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.coordinatore-avatar {
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--azure-500), var(--blue-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-display);
  box-shadow: 0 8px 24px rgba(59,158,224,0.4);
}

.coordinatore-info {
  flex: 1;
}

.coordinatore-nome {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.coordinatore-ruolo {
  font-size: 0.95rem;
  color: var(--azure-300);
  font-weight: 500;
  margin-bottom: 1rem;
}

.coordinatore-ente {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.08);
  padding: 0.6rem 1.25rem;
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.12);
}

.coordinatore-logo {
  height: 28px;
  width: auto;
  background: white;
  padding: 2px 5px;
  border-radius: 4px;
}

.coordinatore-ente span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.coordinatore-bio {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.coordinatore-bio strong {
  color: var(--azure-300);
  font-weight: 600;
}

/* === UF PERIODO === */
.uf-periodo {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin-top: 0.75rem;
  letter-spacing: 0.02em;
}

/* === MODULE BLOCKS (detailed program) === */
.module-block {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: all var(--transition);
}

.module-block:hover {
  border-color: rgba(59,158,224,0.3);
  background: rgba(255,255,255,0.08);
}

.module-block:last-child {
  margin-bottom: 0;
}

.module-date-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.module-date-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.module-dates {
  flex: 1;
}

.module-dates strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.module-schedule {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.badge-online {
  font-style: normal;
  background: rgba(59,158,224,0.3);
  color: var(--azure-300);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.badge-presenza {
  font-style: normal;
  background: rgba(34,197,94,0.2);
  color: #86efac;
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.module-hours-badge {
  background: var(--azure-500);
  color: var(--white);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
}

.module-content {
  padding: 1.25rem;
}

.module-topic {
  margin-bottom: 1rem;
}

.module-topic:last-of-type {
  margin-bottom: 0.75rem;
}

.module-topic strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.module-topic ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-topic ul li {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  padding-left: 1rem;
  position: relative;
}

.module-topic ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(255,255,255,0.4);
}

.module-docenti {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
}

.docenti-label {
  font-weight: 600;
  color: var(--azure-300);
}

.docente-name {
  font-weight: 600;
  color: rgba(255,255,255,0.95);
}

.module-docenti em {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* === FORMATORI BIO === */
.formatori-bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.formatore-bio-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.formatore-bio-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(59,158,224,0.3);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.formatore-bio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.formatore-bio-header .formatore-avatar {
  margin: 0;
}

.formatore-bio-header h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.formatore-ruolo {
  font-size: 0.8rem;
  color: var(--azure-300);
  font-weight: 500;
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.formatore-badge {
  display: inline-block;
  background: rgba(59,158,224,0.2);
  color: var(--azure-300);
  padding: 0.15rem 0.6rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.formatore-bio-body {
  padding: 1.25rem 1.5rem;
}

.formatore-bio-body p {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

/* Keep old formatore-avatar and formatore-card styles for backward compat */
.formatori-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.formatore-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--transition);
}

.formatore-card:hover {
  background: rgba(59,158,224,0.12);
  border-color: rgba(59,158,224,0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.formatore-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--azure-500), var(--blue-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin: 0 auto 0.75rem;
  box-shadow: 0 4px 12px rgba(59,158,224,0.3);
  flex-shrink: 0;
}

/* === FOOTER LOGOS === */
.footer-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 3px;
}

.footer-logo-idi {
  height: 30px;
  background: white;
  padding: 3px 5px;
  border-radius: 5px;
}

/* === UPDATED CALENDAR GRID === */
.cal-row {
  grid-template-columns: 48px 1.2fr 1.5fr 1fr;
}

.cal-tema small {
  display: block;
  font-size: 0.75rem;
  color: var(--gray-400);
  line-height: 1.4;
  margin-top: 0.25rem;
}

.cal-tema strong {
  color: var(--blue-800);
  font-weight: 700;
  font-size: 0.88rem;
}

.cal-ore {
  text-align: left;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.82rem;
}

.cal-periodo {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* === RESPONSIVE UPDATES for new elements === */
@media (max-width: 1024px) {
  .coordinatore-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
  .coordinatore-ente {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-logos-row {
    gap: 1.5rem;
  }
  .hero-logo {
    height: 56px;
  }
  .hero-logo-idi {
    height: 48px;
  }
}

@media (max-width: 768px) {
  .header-logos {
    gap: 0.5rem;
  }
  .header-logo-img {
    height: 34px;
  }
  .header-logo-idi {
    height: 28px;
  }
  .hero-logos-row {
    gap: 1rem;
  }
  .hero-logo {
    height: 48px;
  }
  .hero-logo-idi {
    height: 40px;
  }
  .module-date-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .formatori-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .formatore-card {
    padding: 1rem 0.75rem;
  }
  .formatore-avatar {
    width: 48px;
    height: 48px;
    font-size: 0.9rem;
  }
  .formatori-bio-grid {
    grid-template-columns: 1fr;
  }
  .formatore-bio-header {
    padding: 1rem 1.25rem;
  }
  .formatore-bio-body {
    padding: 1rem 1.25rem;
  }
  .cal-row {
    grid-template-columns: 40px 1fr;
    gap: 0.5rem;
  }
  .cal-row.cal-header span:nth-child(3),
  .cal-row.cal-header span:nth-child(4),
  .cal-ore,
  .cal-periodo {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-logos-row {
    gap: 0.75rem;
  }
  .hero-logo {
    height: 40px;
  }
  .hero-logo-idi {
    height: 32px;
  }
  .formatori-grid {
    grid-template-columns: 1fr 1fr;
  }
  .coordinatore-card {
    padding: 1.5rem;
  }
  .avatar-placeholder {
    width: 80px;
    height: 80px;
    font-size: 1.75rem;
  }
}
