/* ===================================================
   MedCodex Health - Main Stylesheet
   =================================================== */

/* CSS Variables */
:root {
  --primary: #1B3B6F;
  --primary-dark: #0f2044;
  --teal: #00B4CC;
  --dark-teal: #0891b2;
  --light-bg: #f8fafc;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --transition: all 0.2s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--dark-teal); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover { background: var(--dark-teal); border-color: var(--dark-teal); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover { background: var(--gray-100); color: var(--primary); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--dark-teal); color: var(--white); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}

/* Logo */
.logo { text-decoration: none; flex-shrink: 0; }
.logo-img { height: 62px; width: auto; max-width: 220px; object-fit: contain; }
.footer-logo-img { height: 52px; width: auto; max-width: 180px; object-fit: contain; filter: brightness(0) invert(1); }
.logo-text {
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.logo-med { font-size: 22px; font-weight: 800; color: var(--primary); }
.logo-codex { font-size: 22px; font-weight: 800; color: var(--teal); }
.logo-sub { font-size: 11px; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.5px; margin-left: 4px; }

/* Nav */
.main-nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list > li { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary); background: var(--gray-50); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-50%) translateY(-8px);
}
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 14px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  transition: var(--transition);
}
.dropdown a:hover { background: var(--light-bg); color: var(--primary); }

.header-cta { margin-left: 8px; flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== SECTIONS ==================== */
.section { padding: 80px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-badge {
  display: inline-block;
  background: rgba(0,180,204,0.1);
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title { font-size: 34px; font-weight: 800; color: var(--primary); line-height: 1.25; margin-bottom: 16px; }
.section-subtitle { color: var(--gray-500); font-size: 16px; line-height: 1.7; }
.section-cta { text-align: center; margin-top: 40px; }

/* ==================== HERO ==================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4d8c 40%, #0d6e8f 80%, var(--teal) 100%);
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(0,180,204,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 28px; }
.hero-bullets { margin-bottom: 36px; display: flex; flex-direction: column; gap: 10px; }
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 500;
}
.hero-bullets li .fa-check-circle { color: var(--teal); font-size: 16px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero Right — Stats Grid */
.hero-right { display: flex; flex-direction: column; gap: 16px; }
.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.hero-stat-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero-stat-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.18); }
.hero-stat-card--accent {
  background: rgba(0,180,204,0.22);
  border-color: rgba(0,180,204,0.4);
}
.hero-stat-icon { font-size: 18px; color: var(--teal); margin-bottom: 8px; }
.hero-stat-card--accent .hero-stat-icon { color: #7eeef9; }
.hero-stat-number {
  display: inline;
  font-size: 40px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stat-suffix {
  display: inline;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
}
.hero-stat-card--accent .hero-stat-suffix { color: #7eeef9; }
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 6px;
}
.hero-trust-row { display: flex; gap: 10px; }
.hero-trust-badge {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hero-trust-badge i { color: var(--teal); }

/* Legacy stat styles (used outside hero) */
.stat-item { text-align: center; }
.stat-number { font-size: 48px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { height: 1px; background: var(--gray-100); }

.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

/* ==================== SERVICE CARDS ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(0,180,204,0.1), rgba(27,59,111,0.1));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 22px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.service-tagline { font-size: 12px; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; }
.service-desc { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 18px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-weight: 600;
  font-size: 13px;
}
.service-link:hover { color: var(--dark-teal); gap: 10px; }

/* Service Tabs */
.services-tabs { }
.tab-header { display: flex; gap: 4px; margin-bottom: 32px; border-bottom: 2px solid var(--gray-200); }
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-bottom-color: var(--teal); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* All Services Grid */
.services-grid-full {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card-full {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.service-card-full:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.service-card-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.service-icon-lg {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: linear-gradient(135deg, rgba(0,180,204,0.1), rgba(27,59,111,0.08));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 20px;
}
.service-card-full h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.service-tagline-sm { font-size: 12px; color: var(--teal); font-weight: 600; }
.services-alt { background: var(--light-bg); }

/* ==================== FEATURES GRID ==================== */
.why-us { background: var(--light-bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
  margin: 0 auto 20px;
}
.feature-card h3 { font-size: 17px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.feature-card p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }

/* ==================== BLOG CARDS ==================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-img {
  height: 180px;
  overflow: hidden;
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.03); }
.blog-card-placeholder {
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 36px;
}
.blog-card-body { padding: 20px; }
.blog-date { font-size: 12px; color: var(--gray-400); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.blog-card h2, .blog-card h3 { font-size: 16px; font-weight: 700; color: var(--primary); margin-bottom: 10px; line-height: 1.4; }
.blog-card h2 a, .blog-card h3 a { color: var(--primary); }
.blog-card h2 a:hover, .blog-card h3 a:hover { color: var(--teal); }
.blog-excerpt { font-size: 14px; color: var(--gray-500); line-height: 1.6; margin-bottom: 14px; }
.read-more { display: inline-flex; align-items: center; gap: 6px; color: var(--teal); font-size: 13px; font-weight: 600; }
.read-more:hover { color: var(--dark-teal); gap: 10px; }

/* ==================== CTA STRIP ==================== */
.cta-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  padding: 64px 0;
}
.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-strip-text h2 { font-size: 28px; font-weight: 800; color: var(--white); margin-bottom: 10px; }
.cta-strip-text p { color: rgba(255,255,255,0.85); font-size: 16px; }
.cta-strip-actions { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ==================== PAGE HERO ==================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4d8c 60%, #0d6e8f 100%);
  padding: 70px 0;
  text-align: center;
}
.page-hero-content .section-badge { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }
.page-hero-content h1 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; color: var(--white); margin-bottom: 16px; line-height: 1.25; }
.page-hero-content p { font-size: 17px; color: rgba(255,255,255,0.8); max-width: 600px; margin: 0 auto; }

/* ==================== ABOUT PAGE ==================== */
.story-section { }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.story-content h2 { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 20px; line-height: 1.3; }
.story-content p { color: var(--gray-600); margin-bottom: 16px; line-height: 1.7; }
.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.story-stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-big { font-size: 36px; font-weight: 800; color: var(--teal); margin-bottom: 6px; }
.stat-desc { font-size: 13px; color: var(--gray-500); font-weight: 600; }
.mission-section { background: var(--light-bg); }
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mission-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.mission-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  margin: 0 auto 20px;
}
.mission-card h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.mission-card p { font-size: 14px; color: var(--gray-500); line-height: 1.7; }
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.compliance-item {
  text-align: center;
  padding: 24px 16px;
}
.compliance-item i { font-size: 32px; color: var(--teal); margin-bottom: 14px; }
.compliance-item h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.compliance-item p { font-size: 13px; color: var(--gray-500); }

/* ==================== SERVICE PAGE ==================== */
.service-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a4f8a 50%, #0d6e8f 100%);
  padding: 60px 0;
}
.service-hero-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}
.service-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}
.service-hero-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.service-hero-trust .fa { color: var(--teal); }
/* Hero right panel */
.service-hero-right { }
.service-hero-panel {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 28px 24px;
}
.shp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.shp-header .fa { color: var(--teal); font-size: 16px; }
.shp-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.shp-stat {
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}
.shp-stat-number {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.shp-stat-suffix { font-size: 16px; font-weight: 700; color: var(--teal); }
.shp-stat-label { font-size: 11px; color: rgba(255,255,255,0.65); margin-top: 4px; font-weight: 500; }
.shp-divider { height: 1px; background: rgba(255,255,255,0.15); margin-bottom: 16px; }
.shp-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.shp-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.shp-checklist .fa-check-circle { color: var(--teal); }
.shp-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s;
}
.shp-cta-btn:hover { background: #0891b2; color: #fff; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .fa { font-size: 10px; }
.service-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.service-hero h1 { font-size: clamp(28px, 3vw, 42px); font-weight: 800; color: var(--white); margin-bottom: 14px; line-height: 1.25; }
.service-hero-tagline { font-size: 16px; color: var(--teal); font-weight: 600; margin-bottom: 14px; }
.service-hero-desc { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 640px; line-height: 1.7; margin-bottom: 30px; }
.service-hero-ctas { display: flex; gap: 14px; }
.service-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: flex-start;
}
.service-body { margin-bottom: 40px; }
.service-body h2 { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 16px; }
.service-body h3 { font-size: 19px; font-weight: 700; color: var(--primary); margin-bottom: 12px; margin-top: 24px; }
.service-body p { margin-bottom: 16px; color: var(--gray-600); line-height: 1.7; }
.service-body ul { padding-left: 20px; margin-bottom: 16px; }
.service-body ul li { margin-bottom: 8px; color: var(--gray-600); list-style: disc; }
.service-features { background: var(--light-bg); border-radius: var(--radius-lg); padding: 28px; }
.service-features h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 20px; }
.service-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sf-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--gray-700); font-weight: 500; }
.sf-item .fa-check-circle { color: var(--teal); }
.service-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
}
.sidebar-card h4 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.sidebar-card p { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }
.sidebar-contact li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; color: var(--gray-600); }
.sidebar-contact li a { color: var(--teal); }
.related-services-list li { padding: 6px 0; border-bottom: 1px solid var(--gray-100); }
.related-services-list li:last-child { border-bottom: none; }
.related-services-list a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-700); font-weight: 500; }
.related-services-list a:hover { color: var(--teal); }
.sidebar-links li { padding: 6px 0; }
.sidebar-links a { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-700); font-weight: 500; }
.sidebar-links a:hover { color: var(--teal); }

/* Sidebar CTA card */
.sidebar-card--cta {
  background: linear-gradient(135deg, var(--primary) 0%, #2a5298 60%, var(--teal) 100%);
  border: none;
  color: #fff;
  text-align: center;
}
.sidebar-card--cta h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.sidebar-card--cta p { color: rgba(255,255,255,0.85); font-size: 13px; margin-bottom: 18px; }
.sidebar-cta-icon { font-size: 28px; color: var(--teal); margin-bottom: 12px; }
.btn-white {
  background: #fff;
  color: var(--primary);
  border: none;
  font-weight: 700;
}
.btn-white:hover { background: rgba(255,255,255,0.9); color: var(--primary); }
.btn-block { display: block; width: 100%; text-align: center; }
.sidebar-cta-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.sidebar-cta-call:hover { color: #fff; }

/* Sidebar stats grid */
.sidebar-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 4px;
}
.sidebar-stat {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 14px 10px;
  text-align: center;
}
.sidebar-stat-number {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.sidebar-stat-label {
  display: block;
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

/* Sidebar checklist */
.sidebar-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
  font-weight: 500;
}
.sidebar-checklist .fa-check-circle { color: var(--teal); flex-shrink: 0; }

/* Sidebar all services link */
.sidebar-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.sidebar-all-link:hover { color: var(--primary); }

/* ==================== BLOG POST ==================== */
.post-section { padding-top: 60px; }
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: flex-start;
}
.post-featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; }
.post-featured-img img { width: 100%; height: 400px; object-fit: cover; }
.post-header { margin-bottom: 32px; border-bottom: 1px solid var(--gray-200); padding-bottom: 24px; }
.post-header h1 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: var(--primary); margin-bottom: 12px; line-height: 1.3; }
.post-meta { display: flex; gap: 20px; color: var(--gray-400); font-size: 13px; margin-bottom: 16px; }
.post-excerpt { font-size: 18px; color: var(--gray-500); font-style: italic; line-height: 1.7; }
.prose h2 { font-size: 24px; font-weight: 700; color: var(--primary); margin: 32px 0 16px; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--primary); margin: 24px 0 12px; }
.prose p { margin-bottom: 18px; color: var(--gray-600); line-height: 1.8; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 18px; }
.prose li { margin-bottom: 8px; color: var(--gray-600); line-height: 1.7; list-style: disc; }
.prose strong { color: var(--gray-800); }
.prose blockquote { border-left: 4px solid var(--teal); padding: 12px 20px; margin: 24px 0; background: var(--light-bg); border-radius: 0 var(--radius) var(--radius) 0; }
.post-footer { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.post-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.recent-posts-list li { padding: 8px 0; border-bottom: 1px solid var(--gray-100); }
.recent-posts-list li:last-child { border-bottom: none; }
.recent-posts-list a { display: flex; flex-direction: column; gap: 3px; color: var(--gray-700); }
.recent-posts-list a:hover { color: var(--teal); }
.rp-date { font-size: 11px; color: var(--gray-400); }
.rp-title { font-size: 13px; font-weight: 600; line-height: 1.4; }

/* ==================== CONTACT ==================== */
.contact-section { }
.contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: flex-start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow-md); border-color: var(--teal); }
.contact-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 18px;
  margin-bottom: 14px;
}
.contact-card h3 { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.contact-card p { font-size: 13px; color: var(--gray-500); margin-bottom: 4px; line-height: 1.5; }
.contact-card a { color: var(--teal); font-size: 14px; font-weight: 600; }
.contact-form-wrap { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.form-header { margin-bottom: 28px; }
.form-header h2 { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.form-header p { color: var(--gray-500); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .form-group { margin-bottom: 20px; }
.contact-form label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,180,204,0.1);
}

/* Alerts */
.alert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-success { background: rgba(16,185,129,0.1); color: #065f46; border: 1px solid rgba(16,185,129,0.2); }
.alert-error { background: rgba(239,68,68,0.1); color: #991b1b; border: 1px solid rgba(239,68,68,0.2); }

/* ==================== PAGINATION ==================== */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}
.page-btn:hover { border-color: var(--teal); color: var(--teal); }
.page-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ==================== ERROR PAGE ==================== */
.error-page { padding: 100px 0; text-align: center; }
.error-number { font-size: 120px; font-weight: 800; color: var(--gray-200); line-height: 1; margin-bottom: 16px; }
.error-page h1 { font-size: 32px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.error-page p { color: var(--gray-500); font-size: 16px; margin-bottom: 8px; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.error-detail { font-size: 13px; color: var(--gray-400); background: var(--gray-50); padding: 8px 16px; border-radius: var(--radius); }

/* ==================== EMPTY STATE ==================== */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-400);
}
.empty-state i { display: block; margin-bottom: 16px; font-size: 36px; }
.empty-state h3 { font-size: 20px; font-weight: 600; color: var(--gray-600); margin-bottom: 8px; }
.empty-state p { font-size: 15px; }

/* ==================== FOOTER ==================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: baseline; gap: 2px; margin-bottom: 14px; }
.logo-sub-footer { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.5px; margin-left: 4px; }
.footer-tagline { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); margin-bottom: 12px; }
.footer-desc { font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.footer-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 50px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s ease; }
.footer-col ul a:hover { color: var(--teal); }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.contact-list .fa { color: var(--teal); margin-top: 3px; font-size: 13px; flex-shrink: 0; }
.contact-list li span, .contact-list li a { font-size: 13px; color: rgba(255,255,255,0.6); }
.contact-list li a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }

/* ==================== BLOG SECTION ==================== */
.blog-section { min-height: 400px; }

/* Blog layout with sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: flex-start;
}
.blog-main { min-width: 0; }
.blog-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }

/* Category filter pills */
.blog-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  background: var(--light-bg);
  border: 1px solid var(--gray-200);
  text-decoration: none;
  transition: all 0.2s;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.blog-filter-label { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }

/* Blog card meta */
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.blog-cat-badge {
  display: inline-block;
  background: rgba(0,180,204,0.1);
  color: var(--teal);
  border: 1px solid rgba(0,180,204,0.25);
  border-radius: 50px;
  padding: 2px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
}
.blog-cat-badge:hover { background: var(--teal); color: #fff; }
.blog-date { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 5px; }
.blog-author { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 5px; font-style: italic; }
.blog-author .fa { color: var(--teal); font-size: 11px; }

/* Post meta (single post) */
.post-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.post-meta span { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray-500); }
.post-meta .fa { color: var(--teal); font-size: 13px; }

/* Blog tags */
.blog-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0; }
.blog-tag {
  background: var(--light-bg);
  color: var(--gray-600);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid var(--gray-200);
}

/* Sidebar category list */
.sidebar-cat-list { list-style: none; padding: 0; margin: 0; }
.sidebar-cat-list li { border-bottom: 1px solid var(--gray-100); }
.sidebar-cat-list li:last-child { border-bottom: none; }
.sidebar-cat-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  font-size: 13px;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.sidebar-cat-list a:hover, .sidebar-cat-list a.active { color: var(--teal); }
.sidebar-cat-list .fa { color: var(--teal); font-size: 10px; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { max-width: 560px; margin: 0 auto; width: 100%; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-trust-row { max-width: 500px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { display: grid; grid-template-columns: 1fr 1fr; }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Navigation */
  .hamburger { display: flex; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
    z-index: 999;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { justify-content: space-between; padding: 12px 16px; }
  .dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 8px;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
    min-width: unset;
  }
  .has-dropdown.open .dropdown { display: block; }

  /* Hero — hide stats panel on mobile, show only content */
  .hero { padding: 60px 0 50px; overflow: hidden; }
  .hero-inner { grid-template-columns: 1fr !important; gap: 0 !important; }
  .hero-right { display: none !important; }
  .hero-content { width: 100%; min-width: 0; max-width: 100%; }
  .hero-title { font-size: 28px; line-height: 1.25; word-break: break-word; }
  .hero-subtitle { font-size: 15px; }
  .hero-bullets li { font-size: 14px; }
  .hero-ctas { flex-direction: column; width: 100%; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; text-align: center; }

  /* Sections */
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-full { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .service-layout { grid-template-columns: 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 24px; }
  .section { padding: 48px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .tab-header { flex-wrap: wrap; }
  .tab-btn { flex: 1; min-width: 130px; text-align: center; }

  /* Service pages */
  .service-hero-ctas { flex-direction: column; }
  .service-hero-layout { grid-template-columns: 1fr; }
  .service-hero-right { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer-legal-links { flex-direction: column; gap: 6px; }
  .footer-legal-sep { display: none; }

  /* Contact */
  .contact-info { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }

  /* Blog */
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 50px 0 40px; }
  .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 14px; }
  .section-title { font-size: 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: 1fr 1fr; }
  .compliance-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .tab-btn { font-size: 13px; padding: 8px 12px; }
}

/* ===== Legal Pages ===== */
.legal-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.legal-content {
  min-width: 0;
}
.legal-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--teal);
}
.legal-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin: 24px 0 8px;
}
.legal-content p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 14px;
  font-size: 15px;
}
.legal-content ul {
  margin: 12px 0 20px 20px;
  color: #444;
  line-height: 1.8;
  font-size: 15px;
}
.legal-content ul li {
  margin-bottom: 6px;
}
.legal-intro {
  background: #f8fafc;
  border-left: 4px solid var(--teal);
  border-radius: 6px;
  padding: 18px 22px;
  margin-bottom: 28px;
}
.legal-intro p { margin-bottom: 8px; }
.legal-intro p:last-child { margin-bottom: 0; }
.legal-warning {
  background: #fffbeb;
  border-left: 4px solid #d97706;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}
.legal-contact {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 8px;
}
.legal-contact p { margin-bottom: 4px; }
.legal-contact a { color: var(--teal); }

/* Legal Sidebar */
.legal-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
}
.sidebar-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sidebar-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}
.sidebar-card--cta {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  text-align: center;
}
.sidebar-card--cta h4 { color: #fff; }
.sidebar-card--cta p { color: rgba(255,255,255,0.85); margin-bottom: 14px; }
.sidebar-cta-icon {
  font-size: 32px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
}
.btn-white {
  background: #fff;
  color: var(--teal);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-white:hover { background: #f0fdfa; }
.btn-block { display: block; text-align: center; }
.legal-toc {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legal-toc li {
  border-bottom: 1px solid #f0f0f0;
  padding: 6px 0;
}
.legal-toc li:last-child { border-bottom: none; }
.legal-toc a {
  color: #555;
  font-size: 13px;
  text-decoration: none;
  display: block;
}
.legal-toc a:hover { color: var(--teal); }

/* Footer legal links */
.footer-legal-links {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal-links a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal-links a:hover { color: #fff; }
.footer-legal-sep {
  color: rgba(255,255,255,0.4);
  font-size: 12px;
}

@media (max-width: 768px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-sidebar { position: static; }
}
