/* ==========================================================================
   VitaSerena - Centro Benessere, Mobilità Articolare & Massoterapia Funzionale
   Fondatore & Responsabile: Mario Paulini (Massoterapista & Consulente di Mobilità)
   Metodo Ufficiale: Rigenera 360
   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=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Palette Colori Premium Italiana */
  --primary-dark: #09261d;
  --primary: #124332;
  --primary-light: #1e5e47;
  --primary-soft: #eaf3ee;
  
  --accent-gold: #c69935;
  --accent-gold-hover: #b08528;
  --accent-gold-light: #fdf8ed;
  --accent-gold-border: #edd9a8;

  --bg-main: #fbfdfc;
  --bg-card: #ffffff;
  --bg-alt: #f3f7f4;
  --bg-dark: #0b221a;

  --text-main: #16241e;
  --text-muted: #4b5e54;
  --text-light: #7b8e84;

  --border: #e3ebe6;
  --border-focus: #1e5e47;

  --shadow-xs: 0 1px 3px rgba(9, 38, 29, 0.04);
  --shadow-sm: 0 4px 12px rgba(9, 38, 29, 0.05);
  --shadow-md: 0 10px 30px rgba(9, 38, 29, 0.07);
  --shadow-lg: 0 18px 45px rgba(9, 38, 29, 0.1);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 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.65;
  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.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, #071e16 0%, #0d3226 50%, #071e16 100%);
  color: #dbe7e1;
  font-size: 13px;
  padding: 9px 0;
  text-align: center;
  letter-spacing: 0.25px;
  border-bottom: 1px solid rgba(198, 153, 53, 0.25);
}

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

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

.top-bar-badge::before {
  content: "✦";
  color: var(--accent-gold);
  font-size: 11px;
}

/* ---------------- Header & Nav ---------------- */
.site-header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.25s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 21px;
  color: var(--primary-dark);
  letter-spacing: -0.3px;
}

.brand-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, #1c6b50 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 4px 12px rgba(18, 67, 50, 0.25);
  border: 1px solid var(--accent-gold-border);
}

.brand-subline {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  margin-top: -3px;
}

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

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  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;
  right: 0;
  height: 2px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d4aa43 100%) !important;
  color: #12241b !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  box-shadow: 0 4px 14px rgba(198, 153, 53, 0.25) !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(198, 153, 53, 0.35) !important;
}

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

/* ---------------- Hero Section ---------------- */
.hero {
  padding: 72px 0 64px;
  background: radial-gradient(circle at top right, #eaf2ed 0%, var(--bg-main) 60%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.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;
  padding: 6px 16px;
  background-color: var(--primary-soft);
  color: var(--primary);
  border: 1px solid rgba(18, 67, 50, 0.15);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

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

.hero-offer-highlight {
  background: var(--accent-gold-light);
  border-left: 4px solid var(--accent-gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 16px 20px;
  margin-bottom: 30px;
  font-size: 14.5px;
  color: #4b3e15;
}

.hero-offer-highlight strong {
  color: #2b2207;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1e5e47 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(18, 67, 50, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #103b2c 0%, #164e3a 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(18, 67, 50, 0.32);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d4aa43 100%);
  color: #12241b;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(198, 153, 53, 0.28);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #b58b2d 0%, #c49a37 100%);
  color: #0b1a13;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--primary-dark);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
}

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

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

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-gold) 100%);
  border-radius: 4px 4px 0 0;
}

.hero-card-header {
  margin-bottom: 24px;
}

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

.hero-card-header p {
  font-size: 13.5px;
  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;
  padding: 14px;
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  border: 1px solid rgba(18, 67, 50, 0.06);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-badge-item:hover {
  transform: translateX(4px);
  background-color: var(--primary-soft);
}

.hero-badge-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary);
  color: var(--accent-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: var(--shadow-xs);
}

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

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

/* ---------------- Sections ---------------- */
.section {
  padding: 68px 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 {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--primary-dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

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

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

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

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

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

.expert-avatar-box span.expert-title-sub {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.expert-avatar-box span.expert-exp {
  font-size: 12.5px;
  color: var(--text-muted);
  display: inline-block;
  background: #ffffff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

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

.expert-meta h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--primary-dark);
  line-height: 1.35;
  margin-bottom: 16px;
}

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

/* Structured Text Credentials */
.credential-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

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

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

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

/* ---------------- 3 Verticals Grid ---------------- */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.vertical-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 67, 50, 0.25);
}

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

.vertical-title {
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

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

.vertical-list {
  list-style: none;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: auto;
}

.vertical-list li {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 9px;
  padding-left: 20px;
  position: relative;
}

.vertical-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

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

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

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

.service-card.highlight {
  border: 2px solid var(--accent-gold);
  box-shadow: 0 12px 35px rgba(198, 153, 53, 0.15);
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
}

.highlight-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d4aa43 100%);
  color: #12241b;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(198, 153, 53, 0.35);
}

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

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

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

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

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

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

.service-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.service-features li {
  font-size: 13.5px;
  color: var(--text-main);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px dashed #edf2ee;
}

.service-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

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

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

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

.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: 600;
  color: var(--primary-dark);
  margin-bottom: 7px;
}

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

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(18, 67, 50, 0.1);
}

.form-assurance {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
  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-color: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: inherit;
}

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

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

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

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

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

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

.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: 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);
}

/* ---------------- Article Single ---------------- */
.article-header {
  padding: 48px 0 32px;
  background: linear-gradient(180deg, #f4f8f5 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--primary-dark);
  line-height: 1.3;
  margin: 12px 0 14px;
}

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

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

.article-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--primary-dark);
  margin: 36px 0 16px;
}

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

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

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

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

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

/* ---------------- Legal Pages Wrapper ---------------- */
.legal-wrapper {
  max-width: 840px;
  margin: 48px auto;
  background: #ffffff;
  padding: 48px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.legal-wrapper h1 {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.legal-meta {
  font-size: 13px;
  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-size: 19px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.legal-section p, .legal-section li {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 10px;
}

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

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 13.5px;
}

.legal-table th, .legal-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  text-align: left;
}

.legal-table th {
  background-color: var(--bg-alt);
  color: var(--primary-dark);
  font-weight: 700;
}

/* ---------------- Site Footer ---------------- */
.site-footer {
  background-color: var(--bg-dark);
  color: #cddad2;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(198, 153, 53, 0.2);
  font-size: 14px;
}

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

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

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

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

.footer-col p {
  color: #a4bab0;
  line-height: 1.65;
  margin-bottom: 12px;
}

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

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

.footer-col ul li a {
  color: #a4bab0;
}

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

.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: #799186;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------------- Cookie Banner ---------------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 440px;
  background: rgba(9, 38, 29, 0.96);
  backdrop-filter: blur(14px);
  color: #e2ede7;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(198, 153, 53, 0.35);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  font-size: 13.5px;
  line-height: 1.55;
  display: none;
  animation: slideUp 0.35s ease forwards;
}

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

.cookie-banner h4 {
  font-size: 15px;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

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

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

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

@media (max-width: 768px) {
  .site-header {
    padding: 10px 0;
  }
  .mobile-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: 14px;
  }
  .site-nav.open {
    display: flex;
  }
  .hero h1 {
    font-size: 30px;
  }
  .lead-form-wrapper {
    padding: 28px 20px;
  }
  .legal-wrapper {
    padding: 28px 20px;
  }
  .top-bar-inner {
    flex-direction: column;
    gap: 6px;
  }
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
}
