/* ===========================================================
   GLOBAL SETTINGS — DELVE BRAND + ENTERPRISE POLISH
=========================================================== */
html, body { overflow-x: clip; }
:root{
  --container: 1180px;
  --gutter: 24px;
}

/* universal content container */
.container{
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

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

html, body {
  font-family: 'Montserrat', 'Avenir', 'Proxima Nova', sans-serif;
  background: #ffffff;
  color: #0A1B2A;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body { overflow-x: hidden; }

img, video {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

/* ===========================================================
   COLOR SYSTEM — EXACT DELVE HEALTH BRAND PALETTE
=========================================================== */

:root {
  --delve-primary: #4BA2AE;
  --delve-primary-dark: #3D8F9A;

  --delve-secondary: #6EC7CF;
  --delve-secondary-light: #DFF1F3;

  --delve-gray-dark: #3A464D;
  --delve-gray-medium: #5E6A72;
  --delve-bg-light: #F7FAFC;
  --white: #FFFFFF;

  --delve-dark-text: #0A1B2A;
  --delve-gray-text: #4B5563;
  --delve-muted-text: #94A3B8;

  --shadow-soft: 0 6px 24px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 12px 32px rgba(0, 0, 0, 0.12);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;

  --transition: 0.25s ease;

  /* NEW: layout primitives */
  --container: 1180px;
  --header-h: 72px;
}

/* ===========================================================
   BRAND HEADLINES — MATCHING OFFICIAL DELVE HEALTH STYLE
=========================================================== */

.h1-brand, h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--delve-dark-text);
  letter-spacing: -0.5px;
}

.h1-accent, .h2-accent, .accent {
  color: #F47C2A;
  font-weight: 800;
}

.h2-brand, h2 {
  font-size: 38px;
  font-weight: 700;
  color: var(--delve-dark-text);
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}

h2 .accent, h1 .accent { color: #F47C2A; }

/* ===========================================================
   GLOBAL SPACING
=========================================================== */

section { padding: 110px 0; }
@media (max-width: 768px) { section { padding: 70px 0; } }

/* ===========================================================
   BUTTONS — DELVE HEALTH STYLE
=========================================================== */

.btn-primary {
  display: inline-block;
  padding: 16px 34px;
  background: var(--delve-primary);
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 999px;
  font-size: 18px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary:hover { background: var(--delve-primary-dark); transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  padding: 16px 34px;
  border-radius: 999px;
  border: 2px solid #E5E7EB;
  color: #0F172A;
  background: #ffffff;
  font-weight: 500;
  font-size: 18px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover { background: rgba(15, 23, 42, 0.02); }

/* ===========================================================
   HEADER + NAV — BLENDED + CENTERED + MOBILE READY
   (works best with the button-based dropdown HTML)
=========================================================== */

.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 0;
  background: rgba(236, 247, 247, 0.72); /* blended */
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
}

.header-inner{
  max-width: var(--container);
  width: 100%;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;          /* no vertical padding */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}


.logo {
  font-weight: 800;
  font-size: 22px;
  color: var(--delve-dark-text);
  text-decoration: none;
  white-space: nowrap;
  margin-right: 10px;
}

/* Base nav list (desktop) */
nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 18px;
}

/* Links + button-links */
nav ul li a,
.nav-link {
  font-size: 15px;
  color: var(--delve-dark-text);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 10px;
  border-radius: 10px;
  transition: var(--transition);
}

/* If you used <button class="nav-link"> */
.nav-link {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

nav ul li a:hover,
.nav-link:hover,
nav ul li a:focus-visible,
.nav-link:focus-visible {
  color: var(--delve-primary);
  background: rgba(75, 162, 174, 0.10);
  outline: none;
}

/* Header CTA tuned so it doesn’t feel oversized */
.header-cta {
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 999px;
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 48px;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  padding: 10px 0;
  z-index: 110;
}

.dropdown-menu li { padding: 0; }

.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  margin: 0 8px;
  color: var(--delve-dark-text);
  font-weight: 600;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background: rgba(75, 162, 174, 0.14);
  outline: none;
}

/* Support BOTH patterns:
   1) Your old hover dropdown
   2) JS toggle via .open (recommended)
*/
.dropdown:hover .dropdown-menu { display: block; }
.dropdown.open .dropdown-menu { display: block; }

/* Mobile toggle (safe even if you haven’t added the button yet) */
.nav-toggle { display: none; }

/* Mobile nav layout */
@media (max-width: 980px) {
  .header-inner { padding: 12px 16px; }

  nav ul {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  /* Better: if you adopt a collapsible menu, allow vertical stacking */
  .main-nav { width: 100%; }
  .main-nav ul { width: 100%; justify-content: flex-start; }
}

/* ===========================================================
   TOP STAT BAR (UNDER HERO)
=========================================================== */

.stat-bar {
  display: flex;
  justify-content: space-between;
  background: #ffffff;
  padding: 32px 40px;
  text-align: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto 60px;
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.stat-block h3 {
  color: var(--delve-primary);
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  font-weight: 800;
}

.stat-block p {
  color: var(--delve-gray-text);
  margin-top: 8px;
}

@media (max-width: 768px) {
  .stat-bar {
    flex-direction: column;
    gap: 24px;
    padding: 22px 18px;
  }
}

/* ===========================================================
   BIG BOTTOM STATS BAND (HERO #2)
   (tightened so labels are visible + centered)
=========================================================== */

.stats-band {
  max-width: var(--container);
  margin: 18px auto 80px;   /* was very large and pushed below fold */
  padding: 26px 20px 30px;  /* tighter */
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
  gap: 18px;
}

.stat-number {
  font-size: clamp(34px, 3.3vw, 54px); /* responsive */
  font-weight: 800;
  color: var(--delve-primary);
  margin-bottom: 6px;
  line-height: 1.05;
}

.stat-label {
  font-size: 12px;
  color: #4B5563;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .stats-band { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
}

@media (max-width: 600px) {
  .stats-band { grid-template-columns: 1fr; }
}

/* ===========================================================
   ALT SECTIONS
=========================================================== */

.alt-section {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.alt-section.reverse { flex-direction: row-reverse; }

.alt-text { flex: 1; }

.alt-text h2 { font-size: 44px; margin-bottom: 20px; }

.alt-text p { color: var(--delve-gray-text); margin-bottom: 18px; }

.alt-text ul {
  margin-top: 20px;
  padding-left: 18px;
  color: var(--delve-gray-text);
}

.alt-image { flex: 1; }

.alt-image img { border-radius: 14px; box-shadow: var(--shadow-medium); }

@media (max-width: 900px) {
  .alt-section,
  .alt-section.reverse { flex-direction: column; gap: 30px; }
}

/* ===========================================================
   FEATURE GRID — WIDER, CLEANER, PREMIUM STYLE
=========================================================== */

.feature-grid {
  text-align: center;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 8%;
}

.feature-grid .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;

  justify-content: center;
  justify-items: stretch;

  max-width: 1500px;
  margin: 0 auto;
}

.feature {
  width: 100%;
  background: #ffffff;
  padding: 44px 34px;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.06);
  border: 1px solid #EEF2F6;
  transition: 0.25s ease;
  text-align: center;
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.feature h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--delve-dark-text);
  margin-bottom: 12px;
}

.feature p {
  font-size: 16px;
  line-height: 1.55;
  color: #4B5563;
  margin: 0 auto;
  max-width: 300px; /* slightly wider so less wrapping */
}

.feature img {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

@media (max-width: 1100px) {
  .feature-grid .grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
  .feature { padding: 40px 30px; }
}

@media (max-width: 680px) {
  .feature-grid .grid { grid-template-columns: 1fr; }
  .feature { padding: 34px 22px; border-radius: 24px; }
}

/* ===========================================================
   FOOTER
=========================================================== */

footer {
  background: #0A1B2A;
  padding: 36px 8% 100px;
  color: white;
  margin-top: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-col h4 { margin-bottom: 18px; font-weight: 700; }

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

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

.footer-col ul li a {
  color: #CFE8E8;
  transition: var(--transition);
  text-decoration: none;
}

.footer-col ul li a:hover { color: var(--delve-secondary); }

footer .copyright {
  margin-top: 40px;
  text-align: center;
  color: #CFE8E8;
  font-size: 14px;
}

@media (max-width: 900px) {
  .footer-top { flex-direction: column; }
}

/* ===========================================================
   SIMPLE ANIMATIONS + ACCESSIBILITY
=========================================================== */

.fade-in { opacity: 0; animation: fadeIn 1s ease forwards; }

.slide-up { opacity: 0; transform: translateY(40px); animation: slideUp 1s ease forwards; }

@keyframes fadeIn { to { opacity: 1; } }

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===========================================================
   CASE STUDIES GRID — DELVE HEALTH STYLE
=========================================================== */

.case-studies {
  text-align: left;
  padding: 110px 8%;
  background: transparent;
}

.case-studies h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--delve-dark-text);
  margin-bottom: 40px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.case-card {
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  border: 1px solid #E5E7EB;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover { transform: translateY(-6px); box-shadow: 0 22px 46px rgba(0, 0, 0, 0.14); }

.case-image {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.case-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 20px;
  color: var(--delve-dark-text);
}

.case-card p {
  margin: 0 20px 25px;
  font-size: 18px;
  color: var(--delve-gray-text);
}

@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   COMPARISON TABLE — DELVE HEALTH STYLE
=========================================================== */

.comparison { padding: 110px 8%; }

.comparison h2 {
  font-size: 44px;
  font-weight: 800;
  color: var(--delve-dark-text);
  margin-bottom: 40px;
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
  font-size: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.comparison table th {
  background: var(--delve-primary);
  color: #fff;
  font-weight: 700;
  padding: 20px;
  text-align: left;
  font-size: 20px;
}

.comparison table td {
  padding: 18px 20px;
  border-bottom: 1px solid #E6EBEF;
  color: var(--delve-gray-text);
}

.comparison table td:first-child {
  font-weight: 600;
  color: var(--delve-dark-text);
  width: 50%;
}

.comparison table td:nth-child(2),
.comparison table td:nth-child(3) {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
}

.comparison table tr:last-child td { border-bottom: none; }

@media (max-width: 700px) {
  .comparison table th,
  .comparison table td { font-size: 16px; padding: 14px 12px; }
  .comparison table td:first-child { width: 60%; }
}

/* ===========================================================
   CONCIERGE HIGHLIGHT CARD (MID-PAGE)
=========================================================== */

section.alt-section.concierge-highlight {
  max-width: 1280px;
  width: 100%;
  margin: 80px auto;
  padding: 88px 8%;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

section.alt-section.concierge-highlight .alt-text { flex: 1.15; padding-right: 12px; }

section.alt-section.concierge-highlight .alt-image {
  flex: 0.85;
  display: flex;
  justify-content: center;
}

section.alt-section.concierge-highlight .alt-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

section.alt-section.concierge-highlight h2 { font-size: 44px; line-height: 1.15; margin-bottom: 22px; }

section.alt-section.concierge-highlight p { font-size: 18px; line-height: 1.7; margin-bottom: 18px; }

section.alt-section.concierge-highlight ul { margin-top: 10px; padding-left: 22px; }
section.alt-section.concierge-highlight li { margin-bottom: 12px; }

@media (max-width: 960px) {
  section.alt-section.concierge-highlight { flex-direction: column; padding: 64px 6%; gap: 34px; }
}

/* ===========================================================
   HERO — LIGHT GRADIENT, THREE-COLUMN LAYOUT
   (Fixes: missing semicolon, label colors, spacing for top-of-fold)
=========================================================== */

.hero{
  position: relative;
  min-height: auto;                         /* remove 72vh */
  padding: calc(var(--header-h) + 0px) 0 28px;
  background: linear-gradient(180deg, #ecf7f7 0%, #f8fbfb 40%, #ffffff 100%);
  color: #0A1B2A;
  display: flex;
  align-items: flex-start;                  /* stop vertical centering */
  justify-content: center;
  overflow: hidden;
  max-height: 720px;     /* critical */
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 200, 210, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero--three-col .hero-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(380px, 1.7fr) minmax(260px, 1.1fr);
  column-gap: 40px;
  width: 100%;
  max-width: var(--container);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-col { position: relative; }

/* LEFT COLUMN — METRIC CARDS */
.metric-card {
  background: rgba(15, 23, 42, 0.92);
  border-radius: 18px;
  padding: 16px 18px;
  margin-bottom: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.metric-label { font-size: 12px; color: rgba(226, 232, 240, 0.78); margin-bottom: 4px; }

.metric-value { font-size: 24px; font-weight: 700; color: #f9fafb; margin-bottom: 2px; }

.metric-sub { font-size: 12px; color: #22c55e; }

/* CENTER COLUMN — COPY */
.hero-col--message {
  padding: 0 18px;
  transform: translateY(-6px);
}

.hero-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #4ba2ae;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px; /* was 58px */
  font-size: 15px;
  color: #4ba2ae;
}

.hero-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #0A1B2A; /* FIX: missing semicolon in your CSS */
  margin-bottom: 12px;
}

.hero-heading {
  color: #0A1B2A;
  margin-bottom: 12px;
  font-size: clamp(2.6rem, 4.6vw, 4.0rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-heading span { color: var(--delve-primary); }

.hero-body {
  font-size: 18px;
  color: #4B5563;
  max-width: 560px;
  margin: 10px 0 18px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 0 0 12px;
}

.hero-proof {
  margin-top: 12px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.62); /* was too light/white for light hero */
}

/* RIGHT COLUMN — CONCIERGE CARD */
.hero-col--concierge{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.concierge-shell{
  position: relative;
  width: 360px;          /* slightly wider so the card breathes */
  min-height: 320px;
  margin-left: auto;
  padding-top: 10px;     /* gives headroom for floating icons */
}

.concierge-ring--single { z-index: 0; }
.concierge-card { z-index: 2; }
.floating-icon { z-index: 3; }
.concierge-agent-pill { z-index: 4; }


/* ring */
.concierge-ring--single {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  border: 1px solid rgba(75, 162, 174, 0.25);
  top: 40px;
  right: -10px;
  z-index: 0;
}

.concierge-card {
  position: relative;
  background: #ffffff;
  color: #0A1B2A;
  border-radius: 22px;
  padding: 18px 18px 16px;
  max-width: 320px;
  margin-left: auto;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.20);
  z-index: 2;
}

.concierge-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }

.concierge-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #4ba2ae, #14b8a6);
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.35);
  border: 2px solid #59BFC1;
}

.concierge-name { font-size: 14px; font-weight: 700; margin: 0; color: #0A1B2A; }
.concierge-status { font-size: 11px; margin: 2px 0 0 0; color: #6b7280; }

.concierge-capabilities { display: flex; flex-wrap: wrap; gap: 6px; margin: 3px 0 4px 0; }

.cap {
  background: rgba(240, 245, 249, 0.85);
  color: #0A1B2A;
  padding: 3px 7px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}

/* Chat bubbles */
.chat-bubble { border-radius: 14px; padding: 9px 11px; font-size: 13px; line-height: 1.3; margin-bottom: 8px; }
.chat-bubble--patient { background: #f3f4ff; color: #111827; }
.chat-bubble--concierge { background: #f1f5f9; color: #0f172a; }

/* Agent pill */
.concierge-agent-pill {
  position: absolute;
  right: -40px;
  bottom: -32px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.30);
  z-index: 3;
}

.concierge-agent-photo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(148, 163, 184, 0.8);
}

.concierge-agent-photo img { width: 100%; height: 100%; object-fit: cover; }

.concierge-agent-text { display: flex; flex-direction: column; color: #e5f4f6; }
.concierge-agent-text span { font-size: 12px; font-weight: 700; }
.concierge-agent-text small { font-size: 10px; opacity: 0.8; }

/* Gentle float */
@keyframes floatSlow { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.float-slow { animation: floatSlow 9s ease-in-out infinite; }

/* Floating icons */
.floating-icon {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(89, 191, 193, 0.85);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  animation: floatUp 12s linear infinite;
  z-index: 4;
  pointer-events: none;
}

.floating-icon img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: none;
}

@keyframes floatUp {
  0% { transform: translateY(120px) scale(0.95); opacity: 0; }
  10% { opacity: 1; }
  50% { opacity: 1; }
  100% { transform: translateY(-180px) scale(1); opacity: 0; }
}

/* Keep floats around the perimeter, not across the header */
.icon-1 { left: -34px; top: 24px;  animation-delay: 0s; }
.icon-2 { left:  18px; top: 98px;  animation-delay: 2.5s; }
.icon-3 { right: -34px; top: 34px; left: auto; animation-delay: 5s; }
.icon-4 { right: -22px; top: 140px; left: auto; animation-delay: 7.5s; }

@keyframes floatUp {
  0%   { transform: translateY(40px)  scale(0.96); opacity: 0; }
  12%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(-90px) scale(1); opacity: 0; }
}


@media (max-width: 768px) { .floating-icon { display: none; } }

/* ===========================================================
   FINAL CTA
=========================================================== */

.final-cta {
  max-width: 1100px;
  margin: 70px auto 90px;
  border-radius: 26px;
  background: #F3FAFB;
  color: #0A1B2A;
  text-align: center;
  padding: 46px 8%;
}

/* ===========================================================
   RESPONSIVE TWEAKS
=========================================================== */

@media (max-width: 960px) {
  .hero--three-col .hero-grid { grid-template-columns: 1fr; row-gap: 26px; }
  .hero-col--message { order: -1; transform: none; }
  .hero { padding: calc(var(--header-h) + 26px) 6% 32px; min-height: auto; }
  .concierge-shell { margin: 10px auto 0; }
  .concierge-ring--single, .concierge-agent-pill, .floating-icon { display: none; }
}

/* ===========================================================
   WHO WE SERVE — LARGE, CLEAN BUCKET CARDS
=========================================================== */

section[aria-labelledby="serve-heading"] {
  max-width: 1200px;
  margin: 0 auto 96px;
  padding: 80px 8% 40px !important;
  background: #ffffff;
  text-align: center;
}

section[aria-labelledby="serve-heading"] #serve-heading {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 18px;
}

section[aria-labelledby="serve-heading"] p {
  max-width: 720px;
  margin: 0 auto 40px !important;
  font-size: 18px;
  line-height: 1.6;
}

section[aria-labelledby="serve-heading"] .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

section[aria-labelledby="serve-heading"] .feature {
  background: #ffffff;
  border-radius: 28px;
  padding: 40px 32px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(226, 232, 240, 0.9);
  border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

section[aria-labelledby="serve-heading"] .feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.10), 0 0 0 1px rgba(209, 213, 219, 0.9);
}

section[aria-labelledby="serve-heading"] .feature img {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  opacity: 0.9;
}

section[aria-labelledby="serve-heading"] .feature h3 {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
}

section[aria-labelledby="serve-heading"] .feature p {
  font-size: 15px;
  line-height: 1.7;
  color: #4B5563;
  margin: 0;
}

@media (max-width: 960px) {
  section[aria-labelledby="serve-heading"] { padding: 64px 6% 32px !important; }
  section[aria-labelledby="serve-heading"] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section[aria-labelledby="serve-heading"] .feature { min-height: 240px; }
}

@media (max-width: 640px) {
  section[aria-labelledby="serve-heading"] .grid { grid-template-columns: 1fr; }
  section[aria-labelledby="serve-heading"] .feature { border-radius: 24px; padding: 32px 26px; }
  section[aria-labelledby="serve-heading"] #serve-heading { font-size: 32px; }
}

/* ===========================================================
   TOP-OF-FOLD VISIBILITY: pull stats upward (safe)
=========================================================== */

section[aria-label="Delve Health reach"]{
  margin-top: -18px;              /* lighter lift than -40 to prevent overlap */
  padding-top: 18px !important;
  padding-bottom: 28px !important;
}
.main-header { position: sticky; top: 0; z-index: 1000; }
.dropdown-menu { z-index: 1100; }
/* Make sure nav can anchor an absolute-positioned mega panel */
nav ul { position: relative; }

/* Mega dropdown container (hidden by default) */
.dropdown--mega { position: relative; }

.dropdown--mega .mega{
  position: absolute;
  top: calc(100% + 14px);

  left: 0;
  right: 0;
  margin: 0 auto;

  max-width: 1120px;
  width: calc(100% - 48px);  /* 24px gutter on each side */

  display: none;
  z-index: 1200;
}


/* Panel look (rounded, border, soft shadow) */
.mega-inner {
  background: rgba(255,255,255,0.92);
  border: 1px solid #E6EBEF;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  padding: 22px 22px 14px;
}

/* 4-column grid (like the screenshot) */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 22px;
  padding-bottom: 16px;
}

/* Each row item */
.mega-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  color: var(--delve-dark-text);
  padding: 12px 12px;
  border-radius: 12px;
  transition: 0.18s ease;
}

.mega-item:hover {
  background: rgba(223, 241, 243, 0.7); /* your --delve-secondary-light */
}

/* Icon pill */
.mega-ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(110, 199, 207, 0.18);
  border: 1px solid rgba(75, 162, 174, 0.22);
  flex: 0 0 34px;
}

/* Text */
.mega-title {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 3px;
}
.mega-desc {
  display: block;
  font-size: 12.5px;
  color: var(--delve-gray-text);
  line-height: 1.35;
}

/* Bottom divider + “View all” */
.mega-footer {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding-top: 12px;
}
.mega-all {
  color: var(--delve-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}
.mega-all:hover { text-decoration: underline; }

/* Tablet */
@media (max-width: 980px) {
  .mega-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile: turn into a stacked panel */
@media (max-width: 640px) {
  .dropdown--mega .mega {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 10px;
  }
  .mega-inner { padding: 16px; }
  .mega-grid { grid-template-columns: 1fr; }
}
.main-header { position: sticky; top: 0; z-index: 9999; }
.dropdown, .dropdown--mega { position: relative; }
.dropdown.open .dropdown-menu { display: block; }
.dropdown--mega.open .mega { display: block; }
/* Outcomes section layout */
.outcomes {
  padding: 64px 0;
  background: #ffffff;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: center;
}

/* Left column */
.outcomes-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #14b8a6;
  margin-bottom: 10px;
}

.outcomes-title {
  font-size: 32px;
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 18px;
}

.outcomes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #4b5563;
  font-size: 16px;
}

/* Right column card */
.outcomes-card {
  background: #f9fafb;
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.outcomes-card-title {
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 4px;
}

.outcomes-card-subtitle {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 18px;
}

.outcomes-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
  color: #6b7280;
}

.bar-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.bar-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: 999px;
}

.bar-delve { background: #4bafaf; }
.bar-industry { background: #cbd5f5; opacity: 0.95; }

/* Legend */
.outcomes-legend {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: #6b7280;
  margin-top: 16px;
}

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

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot-delve { background: #4bafaf; }
.dot-industry { background: #cbd5f5; }

/* Responsive: stack */
@media (max-width: 960px) {
  .outcomes-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
