/* ============================================================
   Vital Triage — Design System
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --primary:        #3C5078;
  --primary-dark:   #2C3E6B;
  --primary-light:  #4A6491;
  --accent:         #F79060;
  --accent-dark:    #E8633A;
  --bg:             #F7F5F2;
  --text:           #1A2232;
  --text-muted:     #3A4A60;
  --text-light:     #6A7A92;
  --white:          #FFFFFF;
  --border:         rgba(60,80,120,0.12);
  --shadow-card:    0 4px 32px rgba(0,0,0,0.07);
  --shadow-hover:   0 8px 48px rgba(0,0,0,0.12);
  --radius:         20px;
  --radius-sm:      12px;
  --radius-lg:      28px;
  --transition:     0.2s ease;
  --nav-height:     76px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

.label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.175em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  font-size: clamp(1.0625rem, 2vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.75;
}

/* --- Layout --- */
.container {
  width: min(1160px, 100% - 3rem);
  margin-inline: auto;
}

.section { padding-block: 100px; }
.section-sm { padding-block: 64px; }

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  background: rgba(247,245,242,0.88);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.nav.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.08); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: rgba(60,80,120,0.07); }

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(247,144,96,0.35);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 28px rgba(247,144,96,0.45); }

.btn-secondary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(44,62,107,0.25);
}
.btn-secondary:hover { background: var(--primary-dark); box-shadow: 0 6px 28px rgba(44,62,107,0.35); }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.8); }

.btn-lg { font-size: 1.0625rem; padding: 0.9rem 2.25rem; }
.btn-sm { font-size: 0.875rem; padding: 0.5rem 1.25rem; }

/* --- Hero --- */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 100px;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 50%, #4E6EA0 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label { color: rgba(247,144,96,0.9); margin-bottom: 1.25rem; }

.hero h1 { color: var(--white); margin-bottom: 1.5rem; }

.hero .lead { color: rgba(255,255,255,0.78); margin-bottom: 2.5rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-stack {
  position: relative;
  width: 340px;
  height: 380px;
}

.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--white);
}

.hero-card-main {
  top: 0; left: 0; right: 0;
  padding: 2rem;
}

.hero-card-float {
  bottom: 20px;
  right: -20px;
  width: 200px;
  background: var(--white);
  color: var(--text);
  box-shadow: var(--shadow-card);
}

.hero-ecg {
  width: 100%;
  height: 60px;
  margin-block: 1rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(247,144,96,0.2);
  border: 1px solid rgba(247,144,96,0.4);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* --- Section Header --- */
.section-header { text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 4rem; }
.section-header .label { margin-bottom: 0.75rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.card-icon {
  width: 52px; height: 52px;
  background: rgba(60,80,120,0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.card-icon svg { width: 24px; height: 24px; }

.card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.card p { color: var(--text-muted); font-size: 0.9375rem; }

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* --- Services Overview (home) --- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

/* --- How It Works Steps --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
  z-index: 0;
}

.step { text-align: center; position: relative; z-index: 1; }

.step-number {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(44,62,107,0.3);
}

.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: var(--text-muted); }

/* --- Audience Tabs / Cards --- */
.audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }

.audience-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.audience-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.audience-card-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }

.audience-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.audience-icon svg { width: 26px; height: 26px; color: white; }

.audience-card ul { margin-bottom: 1.5rem; }
.audience-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.audience-card ul li:last-child { border-bottom: none; }
.audience-card ul li::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* --- Testimonials / Social Proof --- */
.testimonials { background: var(--white); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.testimonial {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: var(--accent);
}
.testimonial-stars svg { width: 18px; height: 18px; }

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 600; font-size: 0.9375rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--text-light); }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
  padding-block: 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(247,144,96,0.12) 0%, transparent 70%);
}

.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; font-size: 1.125rem; max-width: 520px; margin-inline: auto; margin-bottom: 2.5rem; }
.cta-banner-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* --- Stats Bar --- */
.stats-bar {
  background: var(--primary-dark);
  padding-block: 48px;
}

.stats-inner { display: flex; justify-content: space-around; gap: 2rem; flex-wrap: wrap; }

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.375rem;
}
.stat-suffix { color: var(--accent); }
.stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; }

/* --- Feature List (services, etc) --- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.feature-check {
  width: 36px; height: 36px;
  background: rgba(247,144,96,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-dark);
}
.feature-check svg { width: 18px; height: 18px; }

.feature-text h4 { margin-bottom: 0.25rem; font-size: 0.9375rem; }
.feature-text p { font-size: 0.875rem; color: var(--text-light); line-height: 1.5; }

/* --- Split Section (image + text) --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.split-content .label { margin-bottom: 0.75rem; }
.split-content h2 { margin-bottom: 1.25rem; }
.split-content p { color: var(--text-muted); margin-bottom: 1.5rem; }

.split-visual {
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.split-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- Badges / Chips --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
}
.badge-accent { background: rgba(247,144,96,0.12); color: var(--accent-dark); }
.badge-primary { background: rgba(60,80,120,0.10); color: var(--primary); }
.badge-success { background: rgba(40,167,69,0.10); color: #1a7a34; }

/* --- Forms --- */
.form-group { margin-bottom: 1.5rem; }

.form-label {
  display: block;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-label span { color: var(--accent-dark); }

.form-control {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(60,80,120,0.1);
}
.form-control::placeholder { color: var(--text-light); }

textarea.form-control { resize: vertical; min-height: 130px; }

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236A7A92' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

.form-error { font-size: 0.8125rem; color: #c0392b; margin-top: 0.375rem; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding-top: calc(var(--nav-height) + 64px);
  padding-bottom: 72px;
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(247,144,96,0.1) 0%, transparent 70%);
}
.page-hero .container { position: relative; }
.page-hero .label { color: rgba(247,144,96,0.9); margin-bottom: 1rem; }
.page-hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 1.125rem; max-width: 580px; margin-inline: auto; }

/* --- Blog --- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.blog-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.875rem; flex-wrap: wrap; }
.blog-card-date { font-size: 0.8125rem; color: var(--text-light); }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p { color: var(--text-muted); font-size: 0.9375rem; flex: 1; margin-bottom: 1.25rem; }
.blog-read-more { font-weight: 600; font-size: 0.9rem; color: var(--accent-dark); display: flex; align-items: center; gap: 0.375rem; margin-top: auto; }
.blog-read-more:hover { gap: 0.625rem; }

.blog-post-header { padding-top: calc(var(--nav-height) + 64px); padding-bottom: 48px; }
.blog-post-body { max-width: 720px; margin-inline: auto; padding-block: 64px; }
.blog-post-body h2, .blog-post-body h3 { margin-block: 2rem 1rem; }
.blog-post-body p { margin-bottom: 1.5rem; color: var(--text-muted); }
.blog-post-body ul, .blog-post-body ol { margin-block: 1rem; padding-left: 1.5rem; color: var(--text-muted); }
.blog-post-body li { margin-bottom: 0.5rem; }
.blog-post-body blockquote { border-left: 4px solid var(--accent); padding: 1rem 1.5rem; background: rgba(247,144,96,0.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-block: 2rem; font-style: italic; color: var(--text-muted); }

/* --- Admin --- */
.admin-layout { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--primary-dark); color: white; padding: 2rem 1.5rem; }
.admin-sidebar-logo { margin-bottom: 2.5rem; }
.admin-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 1rem; border-radius: var(--radius-sm); color: rgba(255,255,255,0.7); font-size: 0.9375rem; margin-bottom: 0.25rem; transition: background var(--transition), color var(--transition); }
.admin-nav a:hover, .admin-nav a.active { background: rgba(255,255,255,0.1); color: white; }
.admin-main { padding: 3rem; background: var(--bg); }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.admin-header h1 { font-size: 1.75rem; }

.admin-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.admin-table th { background: var(--bg); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-light); padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); font-size: 0.9375rem; color: var(--text-muted); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--bg); }

.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--primary-dark); }
.admin-login-card { background: white; border-radius: var(--radius-lg); padding: 3rem; width: min(400px, 90vw); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }

.alert { padding: 0.875rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: 0.9375rem; }
.alert-danger { background: rgba(192,57,43,0.1); color: #c0392b; border: 1px solid rgba(192,57,43,0.2); }
.alert-success { background: rgba(40,167,69,0.1); color: #1a7a34; border: 1px solid rgba(40,167,69,0.2); }

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 72px;
  padding-bottom: 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-brand p { font-size: 0.9375rem; line-height: 1.7; margin-top: 1.25rem; max-width: 280px; }

.footer-logo { margin-bottom: 0; }

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: 0.625rem; }
.footer-col ul li a { font-size: 0.9375rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9375rem; margin-bottom: 0.75rem; }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
}

.footer-hipaa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
}
.footer-hipaa svg { width: 14px; height: 14px; color: var(--accent); }

/* --- Utility --- */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

.divider { height: 1px; background: var(--border); margin-block: 3rem; }

.bg-white { background: var(--white); }
.bg-primary { background: linear-gradient(160deg, var(--primary-dark), var(--primary)); }

/* --- Breadcrumb --- */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
}

@media (max-width: 768px) {
  .section { padding-block: 64px; }
  .grid-2, .grid-3, .services-grid, .audience-grid, .split, .feature-list, .form-row, .blog-grid { grid-template-columns: 1fr; }
  .split-reverse { direction: ltr; }
  .steps { grid-template-columns: 1fr; }
  .stats-inner { gap: 2rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex !important; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .form-card { padding: 2rem 1.5rem; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 99;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.mobile-menu .nav-link { padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 1rem; }
.mobile-menu .btn { text-align: center; justify-content: center; margin-top: 0.5rem; }
