/* ============================================================
   SafeGuard Sport Italia — Stylesheet
   Palette: blu/azzurro professionale, sfondo bianco prevalente
   Accessibilità: EAA / WCAG 2.1 AA
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primari — Azure vivace */
  --blue-900: #0b1d32;
  --blue-800: #102e50;
  --blue-700: #174776;
  --blue-600: #075a96;
  --blue-500: #0972c1;
  --blue-400: #38a3f8;
  --blue-300: #6fbffc;
  --blue-200: #a3d5fd;
  --blue-100: #d4eafd;
  --blue-50:  #eef6fe;

  /* Neutri */
  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Accenti */
  --sky:      #0ea5e9;
  --sky-light:#e0f2fe;
  --green:    #059669;
  --green-light: #d1fae5;
  --red:      #dc2626;
  --amber:    #d97706;

  /* Spacing & Radius */
  --r-sm: 0.375rem;
  --r:    0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.25rem;

  /* Font */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);

  /* Transizioni */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--gray-800);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Accessibilità: Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: var(--blue-600);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r);
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 1rem;
}

/* --- Accessibilità: Focus visibile --- */
:focus-visible {
  outline: 3px solid var(--blue-400);
  outline-offset: 2px;
}

/* Non mostrare outline su click mouse */
:focus:not(:focus-visible) {
  outline: none;
}

/* --- Riduzione animazioni per utenti che lo preferiscono --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

/* ===================================================================
   NAVIGAZIONE
   =================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 29, 50, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 163, 248, 0.15);
  height: 72px;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .logo-accent {
  color: var(--blue-400);
}

.logo-shield {
  color: var(--blue-400);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  background: var(--blue-500) !important;
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: var(--r) !important;
  transition: background 0.2s var(--ease) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue-600) !important;
}

/* Hamburger menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  min-height: 100vh;
  background: var(--blue-900);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 1.5rem 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(13, 138, 238, 0.15) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(13, 138, 238, 0.08) 0%, transparent 60%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56, 163, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 163, 248, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 163, 248, 0.15);
  border: 1px solid rgba(56, 163, 248, 0.3);
  color: var(--blue-300);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

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

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--blue-300);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

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

/* Bottoni generici */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  border: 2px solid transparent;
  font-family: var(--font-sans);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 114, 193, 0.35);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  border-color: var(--blue-400);
  color: var(--blue-300);
  background: rgba(56, 163, 248, 0.08);
}

.btn-outline {
  background: transparent;
  border-color: var(--gray-300);
  color: var(--gray-700);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--blue-500);
  color: var(--blue-600);
  background: var(--blue-50);
}

/* Stats hero */
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-400);
  display: block;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.25rem;
}

/* Card normativa hero */
.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 163, 248, 0.2);
  border-radius: var(--r-xl);
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-card-header {
  font-family: var(--font-heading);
  color: var(--blue-300);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(56, 163, 248, 0.15);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.law-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.law-item:last-child {
  border-bottom: none;
}

.law-badge {
  flex-shrink: 0;
  background: rgba(56, 163, 248, 0.15);
  border: 1px solid rgba(56, 163, 248, 0.25);
  color: var(--blue-300);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 2px;
}

.law-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.law-text strong {
  color: rgba(255, 255, 255, 0.95);
  display: block;
  font-weight: 600;
}

/* ===================================================================
   SEZIONI COMUNI
   =================================================================== */
section {
  padding: 5rem 1.5rem;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title .highlight {
  color: var(--blue-600);
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--gray-600);
  max-width: 640px;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-desc {
  margin: 0 auto;
}

/* Sfondo alternato */
.bg-white { background: var(--white); padding: 5rem 1.5rem; }
.bg-light { background: var(--gray-50); padding: 5rem 1.5rem; }
.bg-blue-light { background: var(--blue-50); padding: 5rem 1.5rem; }
.bg-dark {
  background: var(--blue-900);
  color: var(--white);
}
.bg-dark .section-title { color: var(--white); }
.bg-dark .section-title .highlight { color: var(--blue-300); }
.bg-dark .section-desc { color: rgba(255, 255, 255, 0.7); }
.bg-dark .section-label { color: var(--blue-300); }

/* ===================================================================
   SEZIONE: COS'E' IL SAFEGUARDING
   =================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.intro-text p:last-child {
  margin-bottom: 0;
}

.intro-visual {
  position: relative;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border-radius: var(--r-xl);
  padding: 2.5rem;
  color: var(--white);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-visual-icon {
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.intro-visual-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.intro-visual-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

/* ===================================================================
   SEZIONE: CHI SIAMO
   =================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.feat-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--r-md);
  border-left: 3px solid var(--blue-500);
  transition: box-shadow 0.2s var(--ease);
}

.bg-light .feat-item,
.bg-blue-light .feat-item {
  background: var(--white);
}

.feat-item:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.feat-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--blue-50);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.feat-title {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.feat-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Visual about */
.about-visual {
  position: relative;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual-inner {
  padding: 2.5rem;
  text-align: center;
}

.about-shield {
  width: 80px;
  height: 80px;
  background: var(--blue-500);
  border-radius: 50% 50% 40% 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  position: relative;
}

.about-shield::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50% 50% 40% 40%;
  border: 2px solid rgba(56, 163, 248, 0.3);
}

.about-quote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.6;
}

.about-quote .highlight {
  color: var(--blue-300);
}

/* ===================================================================
   SEZIONE: OBBLIGHI / CHECKLIST
   =================================================================== */
.obligations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.obligation-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all 0.2s var(--ease);
  position: relative;
}

.obligation-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--blue-200);
}

.obligation-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-50);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.obligation-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.obligation-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.obligation-ref {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-500);
  letter-spacing: 0.03em;
}

/* ===================================================================
   SEZIONE: ILLECITI DA PREVENIRE
   =================================================================== */
.illeciti-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.illecito-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 163, 248, 0.15);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: background 0.2s var(--ease);
}

.illecito-card:hover {
  background: rgba(255, 255, 255, 0.08);
}

.illecito-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-300);
  margin-bottom: 0.5rem;
}

.illecito-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.illecito-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
}

.illecito-refs {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.illecito-ref-tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  background: rgba(56, 163, 248, 0.12);
  color: var(--blue-300);
  border-radius: 3px;
  letter-spacing: 0.02em;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--blue-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 4px;
}

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

.norm-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: all 0.2s var(--ease);
}

.norm-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--blue-200);
}

.norm-flag {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.norm-ref {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 0.5rem;
}

.norm-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.norm-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.65;
}

/* ===================================================================
   SEZIONE: SAFEGUARDING OFFICER
   =================================================================== */
.officer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.officer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.officer-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.officer-list-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--green-light);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-top: 2px;
}

.officer-card {
  background: linear-gradient(135deg, var(--blue-50), var(--white));
  border: 1px solid var(--blue-200);
  border-radius: var(--r-xl);
  padding: 2rem;
}

.officer-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--blue-600);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.officer-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.officer-step:last-child {
  border-bottom: none;
}

.officer-step-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--blue-500);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.officer-step-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.officer-step-text strong {
  color: var(--gray-900);
  display: block;
  margin-bottom: 0.15rem;
}

/* ===================================================================
   SEZIONE: FORMAZIONE
   =================================================================== */
.training-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.training-levels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.level-item {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.5rem;
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow 0.2s var(--ease);
}

.level-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.level-badge {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
}

.l1 { background: var(--blue-500); }
.l2 { background: var(--blue-600); }
.l3 { background: var(--blue-900); }

.level-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.level-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.55;
}

.level-hours {
  margin-top: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-500);
  letter-spacing: 0.03em;
}

/* Moduli formazione */
.training-modules {
  background: var(--blue-900);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  color: var(--white);
}

.modules-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-300);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(56, 163, 248, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.module-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.module-item:last-child {
  border-bottom: none;
}

.module-check {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: rgba(56, 163, 248, 0.15);
  border: 1px solid rgba(56, 163, 248, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--blue-300);
  margin-top: 2px;
  font-weight: 700;
}

.module-text strong {
  display: block;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
}

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

/* ===================================================================
   SEZIONE: PIANI / PREZZI
   =================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative;
  transition: all 0.3s var(--ease);
}

.price-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.price-card.featured {
  background: var(--blue-900);
  border-color: var(--blue-500);
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(11, 29, 50, 0.2);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-500);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1.25rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--blue-500);
}

.price-card.featured .plan-tier {
  color: var(--blue-300);
}

.plan-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.price-card.featured .plan-name {
  color: var(--white);
}

.plan-desc {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.price-card.featured .plan-desc {
  color: rgba(255, 255, 255, 0.6);
}

.plan-price {
  padding: 1.25rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
}

.price-card.featured .plan-price {
  border-color: rgba(56, 163, 248, 0.25);
}

.price-amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gray-900);
  letter-spacing: -0.03em;
}

.price-card.featured .price-amount {
  color: var(--blue-400);
}

.price-period {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-top: 0.25rem;
}

.price-card.featured .price-period {
  color: rgba(255, 255, 255, 0.45);
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.plan-features li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--gray-600);
}

.price-card.featured .plan-features li {
  color: rgba(255, 255, 255, 0.75);
}

.check-icon {
  flex-shrink: 0;
  color: var(--green);
  font-weight: 700;
  margin-top: 1px;
}

.price-card.featured .check-icon {
  color: var(--blue-400);
}

.btn-plan {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  border: 2px solid transparent;
  font-family: var(--font-sans);
}

.btn-plan-outline {
  border-color: var(--gray-300);
  color: var(--gray-700);
  background: transparent;
}

.btn-plan-outline:hover,
.btn-plan-outline:focus-visible {
  border-color: var(--blue-500);
  background: var(--blue-500);
  color: var(--white);
}

.btn-plan-primary {
  background: var(--blue-500);
  color: var(--white);
}

.btn-plan-primary:hover,
.btn-plan-primary:focus-visible {
  background: var(--blue-600);
}

.btn-plan-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-plan-light:hover,
.btn-plan-light:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

/* ===================================================================
   SEZIONE: FAQ
   =================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.2s var(--ease);
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--blue-200);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--blue-500);
  transition: transform 0.2s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] .faq-question::after {
  content: '-';
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

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

.testi-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  transition: all 0.2s var(--ease);
}

.testi-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.testi-quote {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--blue-400);
  margin-bottom: 0.75rem;
}

.testi-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-900);
  color: var(--blue-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-900);
}

.testi-role {
  font-size: 0.8rem;
  color: var(--gray-400);
}

.testi-stars {
  color: var(--amber);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* ===================================================================
   SEZIONE: CTA REGISTRAZIONE
   =================================================================== */
.cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(13, 138, 238, 0.08) 0%, transparent 70%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 560px;
  margin: 2rem auto 0;
}

.form-input {
  flex: 1;
  min-width: 220px;
  padding: 0.875rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r);
  color: var(--white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s var(--ease);
  font-family: var(--font-sans);
}

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

.form-input:focus {
  border-color: var(--blue-400);
}

.trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.trust-badge-icon {
  color: var(--blue-400);
}

/* ===================================================================
   SEZIONE: CONTATTI
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--blue-50);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.contact-value {
  font-weight: 600;
  color: var(--gray-800);
}

/* Form contatti */
.contact-form {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  padding: 2rem;
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--r);
  font-size: 0.9rem;
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  font-family: var(--font-sans);
  background: var(--white);
}

.form-field:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(13, 138, 238, 0.1);
}

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

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

.btn-submit {
  width: 100%;
  padding: 0.875rem;
  background: var(--blue-600);
  color: var(--white);
  border: none;
  border-radius: var(--r);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s var(--ease);
  font-family: var(--font-sans);
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--blue-500);
}

.privacy-note {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--r);
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 1rem;
  line-height: 1.5;
}

.privacy-note a {
  color: var(--blue-600);
  font-weight: 600;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand .logo-accent {
  color: var(--blue-400);
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-certif {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.certif-badge {
  background: rgba(56, 163, 248, 0.1);
  border: 1px solid rgba(56, 163, 248, 0.2);
  color: var(--blue-300);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.footer-col-title {
  font-weight: 700;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--blue-300);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: var(--blue-300);
}

/* ===================================================================
   MODALE
   =================================================================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-400);
  transition: color 0.2s var(--ease);
  padding: 0.25rem;
  line-height: 1;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--gray-800);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.modal-sub {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.modal-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  color: var(--blue-600);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.modal-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
}

.modal-tab {
  flex: 1;
  padding: 0.625rem;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-400);
  transition: all 0.2s var(--ease);
  font-family: var(--font-sans);
}

.modal-tab:first-child {
  border-radius: var(--r) 0 0 var(--r);
}

.modal-tab:last-child {
  border-radius: 0 var(--r) var(--r) 0;
}

.modal-tab.active {
  background: var(--blue-600);
  color: var(--white);
}

.modal-content {
  display: none;
}

.modal-content.active {
  display: block;
}

/* ===================================================================
   ANIMAZIONI
   =================================================================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  animation: fadeUp 0.6s var(--ease) forwards;
}

.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.2s; }
.d3 { animation-delay: 0.35s; }
.d4 { animation-delay: 0.5s; }
.d5 { animation-delay: 0.65s; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-card {
    max-width: 500px;
  }

  .about-grid,
  .intro-grid,
  .officer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
  }

  .price-card.featured {
    transform: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--blue-900);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid rgba(56, 163, 248, 0.15);
    gap: 0.25rem;
  }

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

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 100px 1.5rem 60px;
    min-height: auto;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

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

  section {
    padding: 3.5rem 1.5rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .services-grid,
  .norms-grid,
  .illeciti-grid,
  .obligations-grid {
    grid-template-columns: 1fr;
  }
}
