/* ==========================================================================
   SnellaPostura - Centro di Rieducazione Posturale & Pilates Funzionale
   Esperto: Andrea Ricci (Istruttore di Ginnastica Posturale e Pilates)
   Metodo & Offerta: Core Perfetto - Sistema di rinforzo del corpo e miglioramento della postura generale
   Piena Conformità Legale Italiana (GDPR, Garante Privacy, Codice del Consumo)
   Google Ads Soft Medical Compliance
   ========================================================================== */

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

:root {
  /* Nuova Palette Esclusiva SnellaPostura: Deep Petroleum Teal & Warm Champagne */
  --primary-dark: #082126;
  --primary: #0f3d45;
  --primary-medium: #185a66;
  --primary-light: #237b8a;
  --primary-soft: #eaf4f5;
  --primary-ice: #f2f8f9;

  --accent-teal: #00a896;
  --accent-teal-glow: rgba(0, 168, 150, 0.18);
  --accent-teal-hover: #028f80;

  --accent-gold: #c99839;
  --accent-gold-hover: #b08126;
  --accent-gold-light: #fef9ed;
  --accent-gold-border: #edd59b;

  --bg-main: #f8fafb;
  --bg-card: #ffffff;
  --bg-alt: #f0f6f7;
  --bg-dark: #07191d;

  --text-main: #132226;
  --text-muted: #4e6368;
  --text-light: #7c9094;

  --border: #e1ebed;
  --border-focus: #185a66;

  --shadow-xs: 0 1px 3px rgba(8, 33, 38, 0.04);
  --shadow-sm: 0 4px 14px rgba(8, 33, 38, 0.05);
  --shadow-md: 0 10px 28px rgba(8, 33, 38, 0.08);
  --shadow-lg: 0 20px 48px rgba(8, 33, 38, 0.12);

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

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

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  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;
}

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-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, #06191c 0%, #0d2f35 50%, #06191c 100%);
  color: #d1e5e8;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(201, 152, 57, 0.25);
}

.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: 8px;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.top-bar-badge::before {
  content: "•";
  color: var(--accent-gold);
  font-weight: bold;
}

/* ---------------- Header & Nav ---------------- */
.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);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.4px;
}

.brand-logo:hover {
  color: var(--primary);
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

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

.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: linear-gradient(90deg, var(--primary), var(--accent-teal));
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 11px 22px !important;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(201, 152, 57, 0.28);
  transition: all 0.25s ease !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 152, 57, 0.38);
}

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

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

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

.hero::before {
  content: "";
  position: absolute;
  width: 550px;
  height: 550px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.08) 0%, rgba(248, 250, 251, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.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(--primary-soft);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  border: 1px solid rgba(15, 61, 69, 0.15);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  line-height: 1.18;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.6px;
  margin-bottom: 22px;
}

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

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

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

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

.hero-stats-row {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

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

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

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

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

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

.hero-card-header h3 {
  font-family: var(--font-heading);
  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: 16px;
}

.hero-badge-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--primary-ice);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.hero-badge-item:hover {
  background: #ffffff;
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.hero-badge-icon {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

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

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

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 13px 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(--primary) 0%, var(--primary-light) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(15, 61, 69, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 61, 69, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(201, 152, 57, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 152, 57, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark) !important;
  border: 1.5px solid var(--primary-medium);
}

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

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

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.section-tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-teal);
  margin-bottom: 10px;
  display: block;
}

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

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

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

.expert-avatar-box {
  background: linear-gradient(180deg, #f2f8f9 0%, #e5f1f3 100%);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--border);
}

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

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

.expert-title-sub {
  font-size: 13.5px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 14px;
}

.expert-exp {
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  color: var(--primary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  border: 1px solid var(--border);
}

.expert-meta {
  display: flex;
  flex-direction: column;
}

.expert-role {
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--accent-teal);
  margin-bottom: 8px;
}

.expert-meta h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 18px;
}

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

.credential-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.credential-item {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent-gold);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.credential-title {
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 14.5px;
}

.credential-reg {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

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

.vertical-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.vertical-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-teal));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vertical-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 168, 150, 0.4);
}

.vertical-card:hover::before {
  opacity: 1;
}

.vertical-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-teal);
  background: var(--primary-soft);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 16px;
}

.vertical-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

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

.vertical-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

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

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

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

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

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

.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 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 10px;
}

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

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

.blog-card:hover .blog-card-link {
  color: var(--accent-gold);
}

/* ---------------- Services Page Grid ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 56px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 38px 30px;
  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-gold);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  position: relative;
}

.highlight-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-hover) 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(201, 152, 57, 0.35);
}

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

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

.service-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

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

.service-price small {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

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

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

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

.service-features li::before {
  content: "✓";
  color: var(--accent-teal);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------------- Lead / Order Form (Rule C: 4 Fields Only) ---------------- */
.lead-form-wrapper {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 48px;
  max-width: 760px;
  margin: 0 auto;
}

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

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

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

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

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

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

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 61, 69, 0.12);
}

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

/* ---------------- Article Layout ---------------- */
.article-header {
  background: linear-gradient(180deg, #f0f7f8 0%, #f8fafb 100%);
  padding: 65px 0 45px;
  border-bottom: 1px solid var(--border);
}

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

.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.8;
  color: #27373b;
}

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

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 40px 0 16px;
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 32px 0 14px;
}

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

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

.article-img-box {
  margin: 36px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  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);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  font-style: italic;
}

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

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

.legal-meta {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 30px;
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.legal-section p {
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul {
  padding-left: 22px;
  margin-bottom: 14px;
}

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

/* ---------------- Footer (Mandatory on ALL Pages) ---------------- */
.site-footer {
  background: var(--bg-dark);
  color: #c9d8da;
  padding: 70px 0 35px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 152, 57, 0.35);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #adbdbf;
  margin-bottom: 48px;
}

.footer-disclaimer-box strong {
  color: var(--accent-gold);
}

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

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

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

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

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

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

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

/* ---------------- Cookie Banner ---------------- */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  z-index: 9999;
  display: none;
}

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

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

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

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

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

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

/* ---------------- Responsive Media Queries ---------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .verticals-grid,
  .blog-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .expert-profile-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: auto;
  }
  .nav-container {
    height: 72px;
  }
  .mobile-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }
  .site-nav.open {
    display: flex;
  }
  .hero h1 {
    font-size: 32px;
  }
  .top-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .lead-form-wrapper {
    padding: 30px 20px;
  }
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}
