/* ==========================================================================
   VitaForte - Centro Benessere, Ricostruzione Attiva & Rieducazione Funzionale
   Fondatore & Consulente: Federico Santoro (Consulente Fitness & Specialista nel Recupero Funzionale)
   Metodo Ufficiale: Ricostruzione Attiva
   Piena Conformità Legale Italiana (GDPR, Garante Privacy, Codice del Consumo)
   Google Ads Soft Medical Compliance
   ========================================================================== */

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

:root {
  /* Palette Colori Esclusiva VitaForte: Active Health & Dynamic Recovery */
  --primary-dark: #091a2b;
  --primary: #0e3854;
  --primary-light: #16567d;
  --primary-soft: #e8f3f9;
  
  --accent-gold: #e67e22;
  --accent-gold-hover: #d35400;
  --accent-gold-light: #fef5ea;
  --accent-gold-border: #fad7a0;

  --accent-teal: #00818a;
  --accent-teal-light: #e0f4f5;

  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #eff5f8;
  --bg-dark: #071524;

  --text-main: #132433;
  --text-muted: #475e73;
  --text-light: #7c94a6;

  --border: #dbe7ef;
  --border-focus: #16567d;

  --shadow-xs: 0 1px 3px rgba(9, 26, 43, 0.04);
  --shadow-sm: 0 4px 14px rgba(9, 26, 43, 0.06);
  --shadow-md: 0 12px 32px rgba(9, 26, 43, 0.08);
  --shadow-lg: 0 20px 48px rgba(9, 26, 43, 0.12);

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

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.68;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ---------------- Top Bar ---------------- */
.top-bar {
  background: linear-gradient(90deg, #071626 0%, #0e3854 50%, #071626 100%);
  color: #d2e4f0;
  font-size: 13px;
  padding: 10px 0;
  text-align: center;
  letter-spacing: 0.2px;
  border-bottom: 1px solid rgba(230, 126, 34, 0.3);
}

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

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

.top-bar-badge::before {
  content: "•";
  color: var(--accent-gold);
  font-size: 16px;
}
.top-bar-badge:first-child::before {
  content: "";
}

/* ---------------- Header & Navigation ---------------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(8px);
}

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

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

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 12px rgba(14, 56, 84, 0.25);
  border: 1px solid rgba(230, 126, 34, 0.4);
}

.brand-logo > div {
  display: flex;
  flex-direction: column;
}

.brand-logo > div > span:first-child {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-subline {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

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

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

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

.nav-cta {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%) !important;
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(230, 126, 34, 0.4);
}

.nav-cta::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 4px;
}

/* ---------------- Hero Section ---------------- */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #edf5f9 0%, #f8fafc 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 129, 138, 0.08) 0%, rgba(248, 250, 252, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-gold-light);
  color: var(--accent-gold-hover);
  border: 1px solid var(--accent-gold-border);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

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

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

.hero-offer-highlight {
  background: #ffffff;
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 30px;
  font-size: 15px;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

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

/* ---------------- Hero Card ---------------- */
.hero-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.hero-card-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 22px;
}

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

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

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

.hero-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  border: 1px solid rgba(14, 56, 84, 0.15);
}

.hero-badge-text h4 {
  font-size: 16px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

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

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-gold-hover) 0%, #ba4a00 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(230, 126, 34, 0.4);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--primary-soft);
  border-color: var(--primary-light);
  color: var(--primary-dark);
}

.btn-accent {
  background: var(--primary);
  color: #ffffff;
}

.btn-accent:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

/* ---------------- Sections ---------------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-dark {
  background-color: var(--bg-dark);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: 16.5px;
  color: var(--text-muted);
}

.section-dark .section-desc {
  color: #b0c7d8;
}

/* ---------------- Multi-Vertical Cards Grid ---------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-teal);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  border: 1px solid rgba(14, 56, 84, 0.12);
}

.pillar-title {
  font-size: 21px;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

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

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

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

.pillar-list li::before {
  content: "✓";
  color: var(--accent-gold);
  font-weight: 800;
}

/* ---------------- Expert Presentation Card ---------------- */
.expert-profile-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.expert-avatar-box {
  background: linear-gradient(180deg, var(--primary-soft) 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
}

.expert-avatar-badge {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-family: var(--font-heading);
  font-weight: 800;
  margin: 0 auto 16px;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-sm);
}

.expert-avatar-box strong {
  display: block;
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.expert-title-sub {
  display: block;
  font-size: 13.5px;
  color: var(--accent-gold-hover);
  font-weight: 700;
  margin-bottom: 12px;
}

.expert-exp {
  display: inline-block;
  background: var(--accent-teal-light);
  color: var(--accent-teal);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

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

.expert-meta h3 {
  font-size: 26px;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 18px;
}

.expert-bio {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

/* ---------------- Text-Only Credential Boxes ---------------- */
.credential-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.credential-item {
  background: var(--bg-alt);
  border-left: 3.5px solid var(--accent-teal);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
}

.credential-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-dark);
  margin-bottom: 3px;
}

.credential-reg {
  font-size: 13px;
  color: var(--text-muted);
}

/* ---------------- Services & Universal Product Cards ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.service-card.highlight {
  border: 2px solid var(--accent-gold);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.highlight-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(230, 126, 34, 0.35);
}

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

.service-type {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 6px;
}

.service-title {
  font-size: 21px;
  color: var(--primary-dark);
  line-height: 1.25;
}

.service-price {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

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

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

.service-features {
  list-style: none;
  margin-bottom: 26px;
}

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

.service-features li::before {
  content: "✓";
  color: var(--accent-gold);
  font-weight: 800;
  line-height: 1.4;
}

/* ---------------- 4-Field Lead / Order Form (Rule C) ---------------- */
.lead-form-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: var(--shadow-md);
  max-width: 680px;
  margin: 0 auto;
}

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

.lead-form-header h3 {
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

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

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

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

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #fbfdfe;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(22, 86, 125, 0.12);
}

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

/* ---------------- Magazine / Blog Cards ---------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

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

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

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

.blog-card-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 18.5px;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 12px;
}

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

.blog-card-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-light);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---------------- Article Single Page ---------------- */
.article-header {
  padding: 48px 0 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-size: 38px;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-main);
}

.article-content p {
  margin-bottom: 22px;
}

.article-content h2 {
  font-size: 26px;
  color: var(--primary-dark);
  margin: 38px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.article-content h3 {
  font-size: 20px;
  color: var(--primary);
  margin: 26px 0 12px;
}

.article-content ul,
.article-content ol {
  margin: 0 0 24px 24px;
}

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

.article-img-box {
  margin: 34px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.article-img-box img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

.article-img-caption {
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  background: #f8fafc;
  border-top: 1px solid var(--border);
}

/* ---------------- Legal Pages Content ---------------- */
.legal-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.legal-box h2 {
  font-size: 22px;
  color: var(--primary-dark);
  margin: 30px 0 12px;
}

.legal-box h2:first-of-type {
  margin-top: 0;
}

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

.legal-box ul {
  margin: 0 0 18px 24px;
}

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

/* ---------------- Footer (Mandatory Rule F) ---------------- */
.site-footer {
  background: #071524;
  color: #cfdbe6;
  padding: 60px 0 30px;
  border-top: 1px solid #162a3f;
  font-size: 14px;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #8da4b8;
  margin-bottom: 44px;
}

.footer-disclaimer-box strong {
  color: #c9dbed;
}

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

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

.footer-col p {
  color: #9ab0c2;
  font-size: 13.5px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.footer-col strong {
  color: #ffffff;
}

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

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

.footer-col ul li a {
  color: #9ab0c2;
  font-size: 13.5px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--accent-gold);
}

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

/* ---------------- Cookie Banner (Garante Privacy 10 giugno 2021) ---------------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 680px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: 0 16px 40px rgba(7, 21, 36, 0.25);
  z-index: 99999;
  display: none;
  animation: slideUp 0.3s ease-out forwards;
}

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

.cookie-banner h4 {
  font-size: 17px;
  color: var(--primary-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-banner p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
}

.cookie-banner p a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

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

.cookie-banner-actions .btn {
  font-size: 13.5px;
  padding: 9px 18px;
}

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

/* ---------------- Responsive Media Queries ---------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .pillars-grid,
  .services-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .expert-profile-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    gap: 6px;
  }
  
  .top-bar-badge::before {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 82px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: none;
  }

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

  .site-nav a {
    width: 100%;
    font-size: 16px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .article-header h1 {
    font-size: 28px;
  }

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

  .lead-form-wrapper {
    padding: 28px 20px;
  }

  .lead-form-wrapper div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px;
  }
}
