/* ==========================================================================
   LuceVitalis - Studio di Recupero Funzionale, Mobilità & Dinamica Corporea
   Esperto & Fondatore: Simone Conte (Specialista in Rieducazione Motoria e Riattivazione Post-Sforzo)
   Offerta Centrale: Ritorno al Movimento: Corso Express di Riconquista dell'Attività e del Tono
   Conformità: Regolamento UE 2016/679 (GDPR), Codice del Consumo D.lgs 206/2005, Linee Guida Garante 2021
   Google Ads Soft Medical Compliance
   ========================================================================== */

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

:root {
  /* Palette Cromatica LuceVitalis: Vital Royal Marine Blue, Luminous Cyan & Radiant Solar Amber */
  --primary-deep: #0a192f;
  --primary-dark: #102a43;
  --primary: #195b8c;
  --primary-light: #2b7bb9;
  --primary-subtle: #edf5fa;
  --primary-glow: rgba(25, 91, 140, 0.15);

  --accent: #e65c00;
  --accent-hover: #cc4e00;
  --accent-warm: #f97316;
  --accent-soft: #fff7ed;
  --accent-border: #fed7aa;

  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-muted: #f1f5f9;
  --bg-dark: #071324;

  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;

  --border-light: #e2e8f0;
  --border-focus: #195b8c;

  --shadow-sm: 0 2px 8px rgba(10, 25, 47, 0.05);
  --shadow-md: 0 8px 24px rgba(10, 25, 47, 0.08);
  --shadow-lg: 0 16px 40px rgba(10, 25, 47, 0.12);
  --shadow-xl: 0 24px 60px rgba(10, 25, 47, 0.18);

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

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

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

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

.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, #071324 0%, #102a43 50%, #071324 100%);
  color: #cbd5e1;
  font-size: 13px;
  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;
}

.top-bar-badge::before {
  content: '•';
  color: var(--accent);
  font-size: 18px;
  line-height: 0;
}

/* ---------------- Site Header ---------------- */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

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

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #ffffff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(25, 91, 140, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: -0.5px;
  display: block;
  line-height: 1.1;
}

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

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

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

.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: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-full);
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(25, 91, 140, 0.25);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(25, 91, 140, 0.35);
  color: #ffffff !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary-deep);
  cursor: pointer;
}

/* ---------------- Hero Section ---------------- */
.hero {
  background: linear-gradient(175deg, #f0f6fa 0%, #ffffff 60%, #f8fafc 100%);
  padding: 68px 0 76px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(25, 91, 140, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(25, 91, 140, 0.2);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: -1.2px;
  line-height: 1.18;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

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

.hero-offer-highlight {
  background: #ffffff;
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 30px;
  font-size: 15px;
  color: var(--text-title);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.hero-offer-highlight strong {
  color: var(--primary-deep);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-align: center;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 92, 0, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-deep);
  border: 2px solid var(--border-light);
}

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

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.1;
}

.hero-stat-lbl {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(25, 91, 140, 0.12);
  position: relative;
}

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

.hero-card-header h3 {
  font-size: 21px;
  color: var(--primary-deep);
  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;
  gap: 14px;
  align-items: flex-start;
}

.hero-badge-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  border: 1px solid rgba(25, 91, 140, 0.2);
}

.hero-badge-text h4 {
  font-size: 15.5px;
  color: var(--text-title);
  margin-bottom: 3px;
}

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

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

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

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

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

.section-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid var(--accent-border);
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

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

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

.section-dark .section-desc {
  color: #94a3b8;
}

/* ---------------- 3 Pillars Grid ---------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(25, 91, 140, 0.25);
}

.pillar-icon-box {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-subtle) 0%, #ffffff 100%);
  border: 1px solid rgba(25, 91, 140, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.pillar-card h3 {
  font-size: 20px;
  color: var(--primary-deep);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

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

.pillar-card ul li {
  font-size: 13.5px;
  color: var(--text-muted);
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.pillar-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* ---------------- Expert Bio Section ---------------- */
.expert-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

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

.expert-avatar-box {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 22px;
  box-shadow: 0 8px 24px rgba(25, 91, 140, 0.25);
}

.expert-card-profile h3 {
  font-size: 24px;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.expert-role-badge {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}

.expert-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.expert-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
}

.expert-meta-icon {
  color: var(--primary);
  font-weight: bold;
}

.expert-content h2 {
  font-size: 32px;
  color: var(--primary-deep);
  margin-bottom: 18px;
  letter-spacing: -0.6px;
}

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

.cert-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.cert-badge-box {
  background: #ffffff;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.cert-badge-box strong {
  display: block;
  font-size: 14px;
  color: var(--primary-deep);
  margin-bottom: 2px;
}

.cert-badge-box span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------------- Services & Pricing ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

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

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

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

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

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

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

.service-card.highlight .service-type {
  color: var(--accent);
}

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

.service-price {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.service-card.highlight .service-price {
  color: var(--accent);
}

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

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

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

.service-features li {
  font-size: 13.5px;
  color: var(--text-body);
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* ---------------- 4-Field Lead Order Form ---------------- */
.lead-form-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  max-width: 780px;
  margin: 56px auto 0 auto;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xl);
}

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

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

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

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

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

.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-title);
  background: var(--bg-page);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: #ffffff;
}

.form-legal-box {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 22px;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

.form-legal-box input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
}

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 17px;
  font-weight: 800;
}

.form-privacy-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 14px;
}

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

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

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(25, 91, 140, 0.25);
  color: inherit;
}

.blog-card-img-box {
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--bg-muted);
  position: relative;
}

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

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

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

.blog-card-tag {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

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

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

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

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

/* ---------------- Article Full Layout ---------------- */
.article-header {
  padding: 56px 0 40px 0;
  background: linear-gradient(180deg, #f0f6fa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
}

.article-header h1 {
  font-size: 38px;
  color: var(--primary-deep);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.25;
}

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

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-container {
  max-width: 840px;
  margin: 0 auto;
  padding: 50px 24px;
}

.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

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

.article-content h2 {
  font-size: 26px;
  color: var(--primary-deep);
  margin: 36px 0 16px 0;
}

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

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

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

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

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

.article-image-caption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-muted);
  border-top: 1px solid var(--border-light);
  font-style: italic;
}

.article-box-highlight {
  background: var(--primary-subtle);
  border-left: 4px solid var(--primary);
  padding: 22px 26px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 32px 0;
}

.article-box-highlight h4 {
  font-size: 17.5px;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.article-box-highlight p {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 0;
}

.article-cta-box {
  background: linear-gradient(135deg, #071324 0%, #102a43 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 38px 42px;
  margin: 48px 0;
  text-align: center;
}

.article-cta-box h3 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 12px;
}

.article-cta-box p {
  color: #cbd5e1;
  font-size: 15.5px;
  max-width: 600px;
  margin: 0 auto 24px auto;
}

/* ---------------- FAQ Accordion ---------------- */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s;
}

.faq-question {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-icon {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 22px 24px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ---------------- Testimonials ---------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.author-info strong {
  font-size: 14px;
  color: var(--primary-deep);
  display: block;
}

.author-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------------- Legal Pages Layout ---------------- */
.legal-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 24px;
}

.legal-content {
  background: #ffffff;
  padding: 44px 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.legal-content h2 {
  font-size: 22px;
  color: var(--primary-deep);
  margin: 32px 0 14px 0;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.legal-content p {
  margin-bottom: 18px;
}

.legal-content ul {
  margin: 14px 0 20px 24px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* ---------------- Contact Page ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 38px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.contact-info-card h3 {
  font-size: 22px;
  color: var(--primary-deep);
  margin-bottom: 16px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-subtle);
  color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  font-size: 14px;
  color: var(--primary-deep);
}

.contact-info-text span, .contact-info-text a {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--bg-dark);
  color: #cbd5e1;
  padding: 68px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent);
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 13.5px;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 12px;
  line-height: 1.6;
  color: #94a3b8;
}

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

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

/* ---------------- Toast Notification ---------------- */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #0f172a;
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 380px;
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  font-size: 20px;
  color: #10b981;
}

/* ---------------- Responsive Styles ---------------- */
@media (max-width: 992px) {
  .hero-grid, .expert-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

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

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

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-light);
    gap: 16px;
  }

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

  .mobile-toggle {
    display: block;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }

  .top-bar-badge:not(:first-child) {
    display: none;
  }

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

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

  .legal-content {
    padding: 28px 20px;
  }

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

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cert-badges-grid {
    grid-template-columns: 1fr;
  }
}
