/* ==========================================================================
   EquilibrioPuro - Studio di Movimento Somatico & Riorganizzazione Funzionale
   Esperto: Alessandro Conti (Maestro del Movimento Somatico e del Rilassamento Profondo)
   Offerta Principale: Armonia Corporea - Corso & Complesso di Armonizzazione Fisica e Rilassamento
   Conformità: Codice del Consumo (D.lgs. 206/2005), GDPR (Reg. UE 2016/679), Garante Privacy 10/06/2021
   Google Ads Soft Medical Compliance
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette: Deep Oceanic Navy, Azure Somatic, Solar Amber Accent, Crisp Clean Slate */
  --primary-dark: #0a1128;
  --primary: #001f54;
  --primary-light: #034078;
  --primary-soft: #f0f7ff;
  --primary-glow: rgba(3, 64, 120, 0.12);

  --accent-cyan: #0284c7;
  --accent-cyan-light: #e0f2fe;
  --accent-cyan-hover: #0369a1;

  --accent-solar: #f59e0b;
  --accent-solar-hover: #d97706;
  --accent-solar-soft: #fffbeb;
  --accent-solar-border: #fde68a;

  --badge-emerald: #059669;
  --badge-emerald-soft: #ecfdf5;

  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --bg-dark: #070d1e;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;

  --border: #e2e8f0;
  --border-focus: #034078;

  --shadow-xs: 0 1px 3px rgba(10, 17, 40, 0.05);
  --shadow-sm: 0 4px 12px rgba(10, 17, 40, 0.06);
  --shadow-md: 0 10px 28px rgba(10, 17, 40, 0.08);
  --shadow-lg: 0 20px 48px rgba(10, 17, 40, 0.12);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-body);
  --max-w: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.25s ease;
}

a:hover {
  color: var(--accent-solar-hover);
}

/* ==========================================================================
   Utility Classes & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-cyan-hover);
  background: var(--accent-cyan-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 720px;
  line-height: 1.65;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
  text-align: center;
  letter-spacing: 0.3px;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-solar) 0%, var(--accent-solar-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-solar-hover) 0%, #b45309 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 31, 84, 0.25);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, #0284c7 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(3, 64, 120, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary-light);
  color: var(--primary-light);
  background: var(--primary-soft);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Top Announcement Bar
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #070d1e 0%, #001f54 100%);
  color: #f1f5f9;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-bar-badge::before {
  content: '✓';
  color: var(--accent-solar);
  font-weight: bold;
}

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #001f54 0%, #0284c7 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  display: block;
}

.brand-subline {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-dark);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-solar), var(--accent-cyan));
  border-radius: 2px;
}

.site-nav .nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  box-shadow: 0 4px 12px rgba(0, 31, 84, 0.2);
}

.site-nav .nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-solar) 0%, var(--accent-solar-hover) 100%);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}

.site-nav .nav-cta::after {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 20px;
  color: var(--primary-dark);
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #f0f7ff 50%, #e2e8f0 100%);
  padding: 85px 0 75px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
  background: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero h1 span.highlight-text {
  background: linear-gradient(120deg, #001f54 0%, #0284c7 60%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-p {
  font-size: 17.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.hero-offer-highlight {
  background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
  border-left: 4px solid var(--accent-solar);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.hero-offer-highlight strong {
  color: var(--primary-dark);
  font-family: var(--font-display);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  position: relative;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(245, 158, 11, 0.2));
  z-index: -1;
}

.hero-card-header h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.hero-card-header p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-badge-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-main);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-badge-item:hover {
  transform: translateX(4px);
  border-color: var(--accent-cyan);
}

.hero-badge-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
}

.hero-badge-text h4 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.hero-badge-text p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Trust / Stats Bar
   ========================================================================== */
.stats-bar {
  background: var(--primary-dark);
  color: #ffffff;
  padding: 38px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--accent-solar);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 13.5px;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   Expert Presentation Section
   ========================================================================== */
.expert-preview {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.expert-portrait-card {
  background: linear-gradient(145deg, #001f54 0%, #034078 100%);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  color: #ffffff;
  position: relative;
  box-shadow: var(--shadow-md);
}

.expert-avatar-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  border: 4px solid var(--accent-solar);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.expert-portrait-card h3 {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 800;
  margin-bottom: 6px;
}

.expert-role {
  color: var(--accent-solar);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
  display: block;
}

.expert-badge-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 500;
}

.expert-content h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.expert-content p {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 18px;
  line-height: 1.7;
}

.credentials-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 24px 0 28px;
}

.cred-box {
  background: var(--bg-alt);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-cyan);
}

.cred-box strong {
  display: block;
  font-size: 13.5px;
  color: var(--primary-dark);
  font-family: var(--font-display);
  margin-bottom: 2px;
}

.cred-box span {
  font-size: 12px;
  color: var(--text-light);
}

/* ==========================================================================
   3 Multidisciplinary Verticals Cards
   ========================================================================== */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.vertical-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vertical-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan);
}

.vertical-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.vertical-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.vertical-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.vertical-points {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.vertical-points li {
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vertical-points li::before {
  content: '✓';
  color: var(--badge-emerald);
  font-weight: 800;
  font-size: 14px;
}

/* ==========================================================================
   Services Grid (servizi.html)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 30px;
  margin-bottom: 55px;
  align-items: stretch;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

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

.service-card.highlight {
  border: 2px solid var(--accent-solar);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.highlight-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-solar) 0%, var(--accent-solar-hover) 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.service-header {
  margin-bottom: 18px;
}

.service-type {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan-hover);
  letter-spacing: 0.8px;
  display: block;
  margin-bottom: 6px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
}

.service-price {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.service-price small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
}

.service-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.service-features li {
  font-size: 13.8px;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.service-features li::before {
  content: '✓';
  color: var(--badge-emerald);
  font-weight: bold;
  font-size: 15px;
}

/* ==========================================================================
   Order & Contact Form (Strict 4 Fields)
   ========================================================================== */
.lead-form-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.lead-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan), var(--accent-solar));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lead-form-header {
  text-align: center;
  margin-bottom: 34px;
}

.lead-form-header h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.lead-form-header p {
  color: var(--text-muted);
  font-size: 15px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-main);
  background: var(--bg-main);
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.form-assurance {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--text-light);
  flex-wrap: wrap;
}

/* ==========================================================================
   Blog & Magazine (3 Articles with Selective Creo Images)
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.blog-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--bg-alt);
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.05);
}

.blog-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 17, 40, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.blog-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 12.5px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.blog-card:hover .blog-card-title {
  color: var(--accent-cyan-hover);
}

.blog-card-snippet {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-light);
}

/* Single Article Styling */
.article-header {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(100% 100% at 50% 0%, #ffffff 0%, #f0f7ff 100%);
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--text-light);
  font-size: 14px;
  flex-wrap: wrap;
}

.article-body {
  max-width: 820px;
  margin: 50px auto;
  font-size: 17px;
  line-height: 1.8;
  color: #1e293b;
}

.article-body p {
  margin-bottom: 24px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 40px 0 18px;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--primary);
  margin: 30px 0 14px;
}

.article-body ul, .article-body ol {
  margin-bottom: 26px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 10px;
}

.article-figure {
  margin: 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.article-figure figcaption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.article-callout {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary-light);
  padding: 24px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 36px 0;
}

.article-callout strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

/* ==========================================================================
   Legal Pages Styling
   ========================================================================== */
.legal-wrapper {
  max-width: 860px;
  margin: 40px auto 80px;
  background: #ffffff;
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.legal-wrapper h1 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.legal-updated {
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-wrapper h2 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 32px 0 14px;
}

.legal-wrapper p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.legal-wrapper ul {
  padding-left: 22px;
  margin-bottom: 20px;
}

.legal-wrapper li {
  font-size: 14.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ==========================================================================
   Footer (Mandatory on ALL Pages)
   ========================================================================== */
.site-footer {
  background: #070d1e;
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 26px;
  border-radius: var(--radius-md);
  margin-bottom: 45px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #cbd5e1;
}

.footer-disclaimer-box strong {
  color: var(--accent-solar);
  display: inline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.footer-col p {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 14px;
  color: #94a3b8;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #94a3b8;
  font-size: 13.5px;
}

.footer-col a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Cookie Banner (Garante Privacy 10 giugno 2021)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 580px;
  margin-left: auto;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  z-index: 9999;
  display: none;
  animation: slideUp 0.35s ease-out forwards;
}

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

.cookie-banner.show {
  display: block;
}

.cookie-banner h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-banner a {
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-banner-actions .btn {
  padding: 8px 18px;
  font-size: 13px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-grid,
  .verticals-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .expert-preview {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 18px;
    align-items: flex-start;
  }
  .site-nav.open {
    display: flex;
  }
  .hero h1 {
    font-size: 34px;
  }
  .section {
    padding: 50px 0;
  }
  .lead-form-wrapper {
    padding: 28px 20px;
  }
  .legal-wrapper {
    padding: 28px 20px;
  }
}
