/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: #1a1a2e; background: #f8f9fa; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Variables ────────────────────────────────────────────── */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #16a34a;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --card-bg: #ffffff;
  --bg: #f8f9fa;
  --radius: 12px;
  --shadow: 0 1px 3px rgba(0,0,0,.07), 0 4px 16px rgba(0,0,0,.05);
  --shadow-hover: 0 8px 32px rgba(0,0,0,.12);

  /* Direction A — Refined Trust palette (2026-05-12 redesign) */
  --da-navy:       #0c2545;
  --da-blue:       #1d4ed8;
  --da-blue-dark:  #1740b0;
  --da-coral:      #f0875f;
  --da-coral-deep: #d96a3f;
  --da-ink:        #0f172a;
  --da-body:       #475569;
  --da-muted:      #94a3b8;
  --da-line:       #e6eaf0;
  --da-surface:    #ffffff;
  --da-bg:         #f6f8fc;
  --da-good:       #15803d;
  --da-good-bg:    #dcfce7;

  /* Direction A — radii, shadows */
  --da-radius-card:    14px;
  --da-radius-pill:    999px;
  --da-radius-chip:    6px;
  --da-radius-btn:     10px;
  --da-shadow-card:    0 1px 2px rgba(15,23,42,0.04);
  --da-shadow-float:   0 -4px 20px rgba(15,23,42,0.06);
  --da-shadow-cta:     0 8px 24px rgba(29,78,216,0.19);
  --da-shadow-quiz:    0 12px 40px rgba(15,23,42,0.08);
  --da-shadow-hover:   0 8px 24px rgba(15,23,42,0.08);
}

/* ── Direction A — typography base ────────────────────────── */
/* Applied selectively on redesigned pages via .da-page on <body>.
   Existing pages render unchanged until they opt in. */
.da-page {
  font-feature-settings: "cv11", "ss01";
  color: var(--da-ink);
  background: var(--da-bg);
}
.da-page h1, .da-page h2, .da-page h3 { letter-spacing: -0.02em; color: var(--da-ink); }
.da-page h1 { text-wrap: balance; letter-spacing: -0.03em; }
.da-page p  { text-wrap: pretty; color: var(--da-body); }

/* Dark-background heroes & CTAs must keep their white text.
   The .da-page h1/h2/p rules above directly set a dark color on the heading/
   paragraph elements, which beats the inherited white from dark-gradient
   parents. These overrides restore white inside every known dark hero. */
.da-page .guide-hero h1,
.da-page .guide-hero h2,
.da-page .guide-hero h3,
.da-page .guide-hero p,
.da-page .guide-cta-section h1,
.da-page .guide-cta-section h2,
.da-page .guide-cta-section h3,
.da-page .guide-cta-section p,
.da-page .result-hero h1,
.da-page .result-hero h2,
.da-page .result-hero h3,
.da-page .result-hero p,
.da-page .hero h1,
.da-page .hero h2,
.da-page .hero h3,
.da-page .hero p,
.da-page .state-hero h1,
.da-page .state-hero h2,
.da-page .state-hero h3,
.da-page .state-hero p,
.da-page .profile-hero h1,
.da-page .profile-hero h2,
.da-page .profile-hero h3,
.da-page .profile-hero p {
  color: #fff;
}

/* ── Direction A — signature patterns ─────────────────────── */
/* Eyebrow label: uppercase coral tag above section headings. */
.da-eyebrow {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--da-coral-deep);
  margin-bottom: 8px;
}
@media (min-width: 900px) {
  .da-eyebrow { font-size: 11.5px; letter-spacing: 0.1em; }
}

/* Top accent bar: 2px coral→blue gradient inset on editorial cards. */
.da-accent-bar {
  position: relative;
}
.da-accent-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--da-coral), var(--da-blue));
  border-radius: 2px;
}
@media (min-width: 900px) {
  .da-accent-bar::before { left: 28px; right: 28px; }
}

/* Radial coral glow: top-right pop on dark navy cards. */
.da-coral-glow {
  position: relative;
  overflow: hidden;
}
.da-coral-glow::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(240,135,95,0.40), transparent 70%);
  pointer-events: none;
}
@media (min-width: 900px) {
  .da-coral-glow::after { width: 300px; height: 300px; top: -80px; right: -80px; }
}

/* Direction A card surface */
.da-card {
  background: var(--da-surface);
  border: 1px solid var(--da-line);
  border-radius: var(--da-radius-card);
  box-shadow: var(--da-shadow-card);
  padding: 16px;
}
@media (min-width: 900px) {
  .da-card { padding: 24px; }
}

/* Direction A buttons */
.da-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: var(--da-radius-btn);
  cursor: pointer;
  text-decoration: none;
  transition: background 150ms ease-out, transform 150ms ease-out, box-shadow 150ms ease-out;
}
.da-btn-primary {
  background: var(--da-blue);
  color: #fff;
  box-shadow: var(--da-shadow-cta);
}
.da-btn-primary:hover { background: var(--da-blue-dark); }
.da-btn-secondary {
  background: var(--da-surface);
  color: var(--da-ink);
  border-color: var(--da-line);
}
.da-btn-secondary:hover { background: var(--da-bg); transform: translateY(-1px); }

/* Direction A pills */
.da-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--da-radius-pill);
  background: var(--da-bg);
  color: var(--da-body);
  border: 1px solid var(--da-line);
}
.da-pill-verified { background: var(--da-good-bg); color: var(--da-good); border-color: transparent; }
.da-pill-popular  { background: var(--da-coral); color: #fff; border-color: transparent; }

/* Hover lift used on listing cards */
.da-lift { transition: transform 150ms ease-out, box-shadow 150ms ease-out; }
.da-lift:hover { transform: translateY(-2px); box-shadow: var(--da-shadow-hover); }

/* ── Nav ──────────────────────────────────────────────────── */
body > nav { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 200; }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { font-size: 1.05rem; font-weight: 700; color: var(--primary); white-space: nowrap; }
.logo span { color: var(--text); }
.nav-links { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav-link { font-size: .88rem; font-weight: 500; color: var(--text-muted); padding: 6px 10px; border-radius: 6px; transition: background .15s, color .15s; white-space: nowrap; }
.nav-link:hover { background: #f3f4f6; color: var(--text); }
.nav-link-sitemap { color: var(--primary); }
.nav-link-sitemap:hover { background: #eff6ff; color: var(--primary-dark); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 768px) {
  .nav-inner { padding: 0 16px; height: 52px; }
  .logo { font-size: .95rem; }
  .nav-hamburger { display: flex; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; position: absolute; top: 52px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 16px 16px; gap: 2px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .nav-links.open { display: flex; }
  .nav-link { font-size: .95rem; padding: 10px 12px; }
}

/* ── Hero (home) ──────────────────────────────────────────── */
.hero { background: linear-gradient(160deg, #0f2347 0%, #1a56db 100%); color: #fff; padding: 72px 20px 60px; text-align: center; }
.hero-home { padding: 80px 20px 64px; position: relative; overflow: hidden; }
.hero-home::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
.hero-home-content { max-width: 640px; margin: 0 auto; position: relative; }
.hero-eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .06em; opacity: .75; margin-bottom: 16px; text-transform: uppercase; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 0; letter-spacing: -.02em; }
.hero-sub { font-size: .95rem; opacity: .72; margin: 12px 0 28px; letter-spacing: .01em; }
.hero p { font-size: 1.05rem; opacity: .85; max-width: 560px; margin: 0 auto 32px; }
.hero-search { display: flex; max-width: 540px; margin: 0 auto; background: #fff; border-radius: 50px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.2); }
.hero-search input { flex: 1; border: none; outline: none; padding: 14px 20px; font-size: 1rem; color: var(--text); min-width: 0; }
.hero-search button { background: var(--accent); color: #fff; border: none; padding: 14px 24px; font-weight: 600; cursor: pointer; font-size: .95rem; white-space: nowrap; }
.hero-search button:hover { background: #15803d; }
/* Hero finder: care-type tabs sit on top of the search field */
.hero-finder { max-width: 580px; margin: 0 auto; }
.hero-tabs { display: flex; gap: 4px; max-width: 540px; margin: 0 auto 0; padding: 6px; background: rgba(255,255,255,.12); border-radius: 14px 14px 0 0; backdrop-filter: blur(4px); }
.hero-tab { flex: 1; background: transparent; color: rgba(255,255,255,.78); border: none; padding: 10px 8px; font-size: .85rem; font-weight: 600; cursor: pointer; border-radius: 10px; transition: background .15s, color .15s; white-space: nowrap; }
.hero-tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.hero-tab.active { background: #fff; color: var(--text, #1f2937); box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.hero-finder .hero-search { border-radius: 0 0 14px 14px; max-width: 540px; }
.hero-finder-help { margin-top: 14px; font-size: .85rem; color: rgba(255,255,255,.78); text-align: center; }
.hero-finder-help a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.hero-finder-help a:hover { opacity: .85; }
@media (max-width: 480px) {
  .hero-tab { font-size: .78rem; padding: 9px 4px; }
}
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 1.8rem; font-weight: 800; }
.hero-stat .label { font-size: .8rem; opacity: .75; text-transform: uppercase; letter-spacing: .05em; }

/* ── Section ──────────────────────────────────────────────── */
.section { max-width: 1160px; margin: 0 auto; padding: 56px 20px; }
.section-title { font-size: 1.45rem; font-weight: 700; margin-bottom: 8px; }
.section-sub { color: var(--text-muted); margin-bottom: 28px; }

/* ── State grid (index.html) ──────────────────────────────── */
.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.state-card { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.state-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.state-card-pattern { background: var(--sc, linear-gradient(135deg,#1e3a5f,#2563eb)); height: 110px; display: flex; align-items: center; justify-content: center; }
.state-flag { font-size: 2.8rem; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
.state-card-body { background: #fff; padding: 16px 18px 18px; flex: 1; }
.state-live-badge { display: inline-block; background: #dcfce7; color: #15803d; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.state-soon-badge { display: inline-block; background: #f3f4f6; color: #9ca3af; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.state-card-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.state-card-count { font-size: .82rem; color: var(--text-muted); margin-bottom: 10px; }
.state-card-cta { font-size: .85rem; font-weight: 600; color: var(--primary); }
.state-card.state-soon { opacity: .7; pointer-events: none; }
.state-card.state-soon:hover { transform: none; }

/* ── NH state carousels (index.html) ─────────────────────── */
.nh-state-block { margin-bottom: 44px; }
.nh-state-hdr { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 12px; }
.nh-state-hdr-left { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.nh-state-hdr-name { font-size: 1.15rem; font-weight: 700; margin: 0; }
.nh-state-hdr-count { font-size: .8rem; color: var(--text-muted); background: #f3f4f6; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }
.nh-state-hdr-link { font-size: .85rem; font-weight: 600; color: var(--primary); white-space: nowrap; flex-shrink: 0; }
.nh-carousel-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: thin; scrollbar-color: #e5e7eb transparent; }
.nh-carousel-wrap::-webkit-scrollbar { height: 4px; }
.nh-carousel-wrap::-webkit-scrollbar-track { background: transparent; }
.nh-carousel-wrap::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 2px; }
.nh-carousel { display: flex; gap: 14px; padding: 4px 2px 8px; }
.nhc-card { flex: 0 0 200px; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.nhc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.nhc-img { height: 120px; background: linear-gradient(135deg, #1e3a5f, #2563eb); background-size: cover; background-position: center; flex-shrink: 0; }
.nhc-body { padding: 11px 13px 13px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.nhc-name { font-size: .85rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nhc-area { font-size: .75rem; color: var(--text-muted); }
.nhc-rating { font-size: .78rem; color: var(--text-muted); }
.nhc-rating .star { color: #f59e0b; }
.nhc-price { font-size: .76rem; color: var(--text-muted); margin-top: auto; padding-top: 4px; }
.nhc-skeleton { flex: 0 0 200px; height: 215px; border-radius: var(--radius); background: linear-gradient(90deg, #f3f4f6 25%, #e9eaec 50%, #f3f4f6 75%); background-size: 400% 100%; animation: nhc-shimmer 1.4s infinite linear; }
@keyframes nhc-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.nh-see-all-link { display: inline-block; margin-top: 12px; font-size: .85rem; font-weight: 600; color: var(--primary); }
.nh-see-all-link:hover { text-decoration: underline; }
.nh-more-states { margin-top: 12px; padding-top: 32px; border-top: 1px solid var(--border); }
.nh-more-states-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: 14px; }
.nh-compact-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.nh-compact-card { display: flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border: 1px solid var(--border); border-radius: 8px; text-decoration: none; color: inherit; font-size: .85rem; font-weight: 500; transition: border-color .15s, color .15s; white-space: nowrap; }
.nh-compact-card:hover { border-color: var(--primary); color: var(--primary); }
.nh-compact-count { font-size: .75rem; color: #9ca3af; background: #f3f4f6; padding: 1px 6px; border-radius: 10px; }
.nh-all-states-btn { display: inline-block; padding: 10px 24px; background: #fff; border: 1.5px solid var(--primary); color: var(--primary); border-radius: 8px; font-size: .9rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.nh-all-states-btn:hover { background: var(--primary); color: #fff; }

/* ── Care type cards ──────────────────────────────────────── */
.care-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 900px) { .care-type-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .care-type-grid { grid-template-columns: 1fr; } }
.care-type-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); padding: 24px 20px 20px; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.care-type-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.ctc-icon { font-size: 2rem; margin-bottom: 12px; line-height: 1; }
.ctc-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.ctc-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.55; flex: 1; margin-bottom: 16px; }
.ctc-cta { font-size: .85rem; font-weight: 600; color: var(--primary); }

/* ── Why section ──────────────────────────────────────────── */
.why-section { background: #1e3a5f; color: #fff; padding: 56px 20px; }
.why-inner { max-width: 1160px; margin: 0 auto; }
.why-headline { font-size: 1.45rem; font-weight: 700; margin-bottom: 32px; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.why-item { }
.why-icon { font-size: 1.8rem; margin-bottom: 10px; }
.why-title { font-weight: 700; margin-bottom: 8px; font-size: .95rem; }
.why-item p { font-size: .88rem; opacity: .75; line-height: 1.65; }

/* ── How it works ─────────────────────────────────────────── */
.how-steps { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.how-step { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.how-step:last-child { border-bottom: none; }
.how-num { width: 36px; height: 36px; min-width: 36px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; margin-top: 2px; }
.how-text strong { font-size: .95rem; font-weight: 600; display: block; margin-bottom: 4px; }
.how-text p { font-size: .88rem; color: var(--text-muted); }

/* ── State hero (johor.html) ──────────────────────────────── */
.state-hero { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); color: #fff; padding: 48px 20px 44px; }
.state-hero-inner { max-width: 1160px; margin: 0 auto; }
.state-hero h1 { font-size: clamp(1.5rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.state-hero p { font-size: 1rem; opacity: .85; max-width: 560px; margin-bottom: 20px; }
.state-hero-search { max-width: 480px; }
.state-hero-search input { width: 100%; padding: 12px 18px; border: none; border-radius: 8px; font-size: .95rem; outline: none; color: var(--text); box-shadow: 0 2px 8px rgba(0,0,0,.15); }

/* ── Districts pill nav on state pages ───────────────────── */
.state-districts { background: #fff; border-bottom: 1px solid var(--border); }
.state-districts-inner { max-width: 1160px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.state-districts-label { font-size: .82rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.state-districts-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.state-district-pill { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; font-size: .82rem; font-weight: 500; color: var(--text); background: #f3f4f6; border-radius: 999px; transition: background .15s, color .15s; }
.state-district-pill span { color: var(--text-muted); font-weight: 400; }
.state-district-pill:hover { background: #e5e7eb; color: var(--primary); }

/* ── District intro ───────────────────────────────────────── */
.district-intro { background: #f8fafc; border-bottom: 1px solid var(--border); padding: 32px 20px; }
.district-intro-inner { max-width: 760px; margin: 0 auto; }
.district-intro p { font-size: .98rem; line-height: 1.65; color: var(--text); margin-bottom: 14px; }
.district-intro p:last-child { margin-bottom: 0; }
.district-intro .district-coverage { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); color: #475569; font-size: .92rem; }

/* ── Breadcrumb ────────────────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .82rem; opacity: .75; margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a { opacity: .85; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span { opacity: .6; }

/* ── Filter bar ───────────────────────────────────────────── */
.filter-bar-wrap { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 60px; z-index: 150; transition: box-shadow .2s; }
.filter-bar-wrap.stuck { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.filter-bar-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 12px; height: 52px; }
.filter-scroll { display: flex; gap: 8px; overflow-x: auto; flex: 1; scrollbar-width: none; padding: 8px 0; }
.filter-scroll::-webkit-scrollbar { display: none; }
.filter-pill { padding: 6px 14px; border-radius: 50px; border: 1.5px solid var(--border); background: #fff; font-size: .82rem; cursor: pointer; color: var(--text-muted); transition: all .18s; white-space: nowrap; flex-shrink: 0; }
.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filter-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.sort-select { padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: .82rem; background: #fff; cursor: pointer; color: var(--text); outline: none; }
.view-toggle { display: flex; border: 1.5px solid var(--border); border-radius: 8px; overflow: hidden; }
.view-btn { background: #fff; border: none; padding: 6px 10px; cursor: pointer; color: var(--text-muted); transition: all .18s; display: flex; align-items: center; }
.view-btn + .view-btn { border-left: 1.5px solid var(--border); }
.view-btn:hover { background: #f3f4f6; color: var(--text); }
.view-btn.active { background: var(--primary); color: #fff; }

/* ── Results bar ──────────────────────────────────────────── */
.results-bar { background: var(--bg); border-bottom: 1px solid var(--border); }
.results-inner { max-width: 1160px; margin: 0 auto; padding: 10px 20px; font-size: .82rem; color: var(--text-muted); display: flex; gap: 6px; }

/* ── Facility card grid ───────────────────────────────────── */
.state-content { max-width: 1160px; margin: 0 auto; padding: 24px 20px 60px; }
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); grid-auto-flow: dense; gap: 22px; }
@media (max-width: 680px) { .fac-grid { grid-template-columns: 1fr; gap: 16px; } }

/* ── Facility card ────────────────────────────────────────── */
.fac-card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.fac-card:hover { box-shadow: var(--shadow-hover); }

/* Card photo area */
.fac-card-img { position: relative; height: 190px; background: linear-gradient(135deg, #cbd5e1, #94a3b8); overflow: hidden; flex-shrink: 0; }
.fac-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; will-change: transform; }
.fac-card:hover .fac-card-img img { transform: scale(1.04); }
.fac-card-img.no-photo { background: linear-gradient(135deg, #dbeafe, #bfdbfe); display: flex; align-items: center; justify-content: center; }
.fac-card-img.no-photo::after { content: '🏥'; font-size: 2.5rem; opacity: .4; }

/* Price badge on photo */
.fac-price-badge { position: absolute; bottom: 10px; left: 10px; background: rgba(22,163,74,.92); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 6px; backdrop-filter: blur(4px); }
.fac-price-badge.unknown { background: rgba(75,85,99,.75); font-weight: 400; }

/* Group tag on photo */
.fac-group-tag { position: absolute; top: 10px; left: 10px; background: rgba(124,58,237,.88); color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 4px; backdrop-filter: blur(4px); }

/* Branch tag (on org page cards) */
.fac-branch-tag { position: absolute; top: 10px; right: 10px; background: rgba(37,99,235,.88); color: #fff; font-size: .72rem; font-weight: 600; padding: 3px 8px; border-radius: 4px; letter-spacing: .02em; }

/* Card body */
.fac-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fac-card-name { font-size: .97rem; font-weight: 700; line-height: 1.35; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fac-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; color: var(--text-muted); }
.fac-area { flex-shrink: 0; }
.fac-rating { color: #f59e0b; font-weight: 600; white-space: nowrap; }
.fac-rating .fac-reviews { color: var(--text-muted); font-weight: 400; }
.fac-excerpt { font-size: .82rem; color: #4b5563; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-shrink: 0; }
.fac-card-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; padding-top: 4px; }
.tag { font-size: .72rem; padding: 3px 9px; border-radius: 50px; background: #eff6ff; color: var(--primary); font-weight: 500; }

/* Skeleton card */
.fac-card-skeleton { background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; animation: pulse 1.4s ease-in-out infinite; }
.fac-card-skeleton::before { content: ''; display: block; aspect-ratio: 16/9; background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.fac-card-skeleton::after { content: ''; display: block; height: 100px; margin: 16px 18px; background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%); background-size: 200% 100%; border-radius: 6px; animation: shimmer 1.4s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* Empty state */
.empty-state { grid-column: 1/-1; text-align: center; padding: 48px; color: var(--text-muted); }
.empty-state button { margin-top: 12px; background: var(--primary); color: #fff; border: none; padding: 8px 18px; border-radius: 8px; cursor: pointer; font-size: .88rem; }

/* ── Leaflet map view ─────────────────────────────────────── */
#mapView { display: flex; height: calc(100vh - 170px); min-height: 520px; width: 100%; align-items: stretch; }
#mapSidebar { width: 340px; flex-shrink: 0; overflow-y: auto; background: #f8fafc; border-right: 1px solid var(--border); padding: 12px; }
#leafletMap { flex: 1; min-width: 0; height: 100%; }
.map-popup { font-family: 'Inter', sans-serif; font-size: .88rem; line-height: 1.5; min-width: 200px; }
.map-popup .mp-care { margin-top: 6px; font-size: .78rem; color: #374151; }
.map-popup .mp-rating { color: #f59e0b; font-weight: 600; }
.map-popup .mp-no-reviews { color: #9ca3af; font-size: .78rem; }
.leaflet-popup-content-wrapper { border-radius: 10px !important; box-shadow: 0 4px 24px rgba(0,0,0,.15) !important; }

/* Map sidebar mini-cards */
.mc-card { display: block; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; text-decoration: none; color: var(--text); transition: all .15s; }
.mc-card:hover { border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.mc-card.mc-active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(37,99,235,.18); }
.mc-name { font-weight: 600; font-size: .9rem; line-height: 1.3; margin-bottom: 4px; color: var(--text); }
.mc-meta { font-size: .78rem; color: var(--text-muted); margin-bottom: 2px; }
.mc-rating { color: #f59e0b; font-weight: 600; }
.mc-no-rating { color: var(--text-muted); font-weight: 400; }
.mc-price { color: #16a34a; font-weight: 600; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.mc-tags .tag { font-size: .68rem; padding: 2px 7px; }
.mc-empty { padding: 20px; text-align: center; color: var(--text-muted); font-size: .85rem; }

/* Mobile: stack filter bar so area scroll doesn't get clipped by sort/view */
@media (max-width: 640px) {
  .filter-bar-inner { flex-direction: column; align-items: stretch; height: auto; padding: 8px 14px; gap: 6px; }
  .filter-scroll { width: 100%; padding: 4px 0; }
  .filter-right { width: 100%; justify-content: space-between; gap: 8px; }
  .sort-select { flex: 1; min-width: 0; }
  .filter-bar-wrap { top: 52px; }
}

/* Map view: stack on small screens */
@media (max-width: 800px) {
  #mapView { flex-direction: column; height: auto; min-height: 0; }
  #mapSidebar { width: 100%; max-height: 38vh; border-right: none; border-bottom: 1px solid var(--border); order: 2; }
  #leafletMap { height: 56vh; min-height: 320px; order: 1; }
}

/* ── Org page ─────────────────────────────────────────────── */
.org-hero { background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%); color: #fff; padding: 48px 20px 44px; }
.org-hero-inner { max-width: 1060px; margin: 0 auto; }
.org-hero-badge { display: inline-block; background: rgba(255,255,255,.15); font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 4px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 14px; }
.org-hero-inner h1 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.org-tagline { font-size: 1rem; opacity: .85; margin-bottom: 14px; }
.org-hero-meta { display: flex; gap: 12px; font-size: .85rem; opacity: .75; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.org-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.org-website-btn { display: inline-block; background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.4); color: #fff; padding: 9px 20px; border-radius: 8px; font-size: .88rem; font-weight: 600; transition: background .2s; }
.org-website-btn:hover { background: rgba(255,255,255,.25); }

.org-body { max-width: 1060px; margin: 0 auto; padding: 28px 20px 60px; display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start; }
@media (max-width: 780px) { .org-body { grid-template-columns: 1fr; } }
.org-main { display: flex; flex-direction: column; gap: 20px; }
.org-sidebar { display: flex; flex-direction: column; gap: 20px; }
.org-branches-header { }

/* ── Org page – old .profile-card reuse ───────────────────── */
.profile-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 24px 28px; box-shadow: var(--shadow); }
.profile-card h2 { font-size: 1rem; font-weight: 700; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; color: var(--text); letter-spacing: -.01em; }
.info-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid #f3f4f6; font-size: .88rem; gap: 12px; }
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--text-muted); flex-shrink: 0; }
.info-value { font-weight: 500; text-align: right; }

/* ── Profile Hero (facility.html) ─────────────────────────── */
.profile-hero { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); color: #fff; padding: 48px 20px 44px; }
.profile-hero-inner { max-width: 1060px; margin: 0 auto; }
.profile-hero h1 { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 10px; line-height: 1.2; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 14px; font-size: .9rem; opacity: .85; }
.hero-rating { display: flex; align-items: center; gap: 4px; }
.hero-price { font-size: 1.1rem; font-weight: 700; margin-top: 12px; color: #86efac; }
.profile-hero .badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.badge { background: rgba(255,255,255,.15); padding: 5px 14px; border-radius: 50px; font-size: .82rem; }
.back-link-white { display: inline-flex; align-items: center; gap: 4px; color: rgba(255,255,255,.65); font-size: .85rem; margin-bottom: 16px; }
.back-link-white:hover { color: #fff; }
.hero-cta-btn { display: inline-block; padding: 11px 22px; border-radius: 8px; font-weight: 700; font-size: .9rem; cursor: pointer; transition: all .2s; }
.hero-cta-primary { background: var(--accent); color: #fff; }
.hero-cta-primary:hover { background: #15803d; }
.hero-cta-secondary { background: rgba(255,255,255,.15); color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.hero-cta-secondary:hover { background: rgba(255,255,255,.25); }

/* Group tag on facility profile header (light theme — readable on white bg) */
.profile-group-tag { display: inline-flex; align-items: center; gap: 6px; background: #f5f3ff; border: 1px solid #ddd6fe; color: #5b21b6; padding: 5px 12px; border-radius: 6px; font-size: .82rem; font-weight: 500; }
.profile-group-tag a { color: #5b21b6; text-decoration: underline; text-underline-offset: 2px; }
.profile-group-tag a:hover { color: #4c1d95; }

/* ── Tab Navigation (facility.html) ──────────────────────── */
.tabs-nav { background: #fff; border-bottom: 1px solid var(--border); z-index: 90; }
.tabs-nav.tabs-sticky { position: sticky; top: 60px; }
.tabs-nav-inner { max-width: 1060px; margin: 0 auto; padding: 0 20px; display: flex; gap: 0; overflow-x: auto; }
.tab-btn { padding: 14px 20px; border: none; background: none; font-size: .9rem; font-weight: 500; color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; transition: all .2s; }
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: flex; flex-direction: column; gap: 20px; }

/* ── Profile Page Body (facility.html) ────────────────────── */
.profile-page-body { max-width: 1060px; margin: 0 auto; padding: 28px 20px 60px; display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 780px) { .profile-page-body { grid-template-columns: 1fr; } }
.profile-main { display: flex; flex-direction: column; gap: 0; min-width: 0; }
@media (max-width: 600px) { .profile-card { padding: 18px; } }
.text-muted { color: var(--text-muted); font-size: .88rem; }
.section-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: 10px; }

/* ── Editorial box ────────────────────────────────────────── */
.editorial-box { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: var(--radius); padding: 20px 24px; }
.editorial-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #0369a1; margin-bottom: 8px; }
.editorial-box p { font-size: .9rem; line-height: 1.7; color: #1e3a5f; }

/* ── Pricing Table ────────────────────────────────────────── */
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.price-table th { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); padding: 8px 12px; text-align: left; border-bottom: 2px solid var(--border); }
.price-table td { padding: 9px 12px; font-size: .9rem; border-bottom: 1px solid #f3f4f6; }
.price-table tr:last-child td { border-bottom: none; }

/* ── Photo gallery (facility.html) ────────────────────────── */
.profile-hero.has-photo { background-color: #0f172a; }
.photo-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.photo-gallery .gallery-item { display: block; aspect-ratio: 4/3; border-radius: 8px; overflow: hidden; background: #f3f4f6; cursor: zoom-in; }
.photo-gallery .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.photo-gallery .gallery-item:hover img { transform: scale(1.04); }
@media (max-width: 720px) { .photo-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ── Legacy card styles (facilities.html) ─────────────────── */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.filter-btn { padding: 7px 16px; border-radius: 50px; border: 1.5px solid var(--border); background: #fff; font-size: .85rem; cursor: pointer; color: var(--text-muted); transition: all .2s; }
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--card-bg); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; border: 1px solid var(--border); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card-name { font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--text); }
.card-area { font-size: .82rem; color: var(--text-muted); }
.card-price { background: #f0fdf4; color: var(--accent); font-weight: 700; font-size: .9rem; padding: 6px 12px; border-radius: 8px; display: inline-block; }
.card-price.unknown { background: #f3f4f6; color: var(--text-muted); font-weight: 400; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card-rating { font-size: .82rem; color: var(--text-muted); display: flex; align-items: center; gap: 4px; margin-top: auto; }
.card-rating .stars { color: #f59e0b; }
.skeleton-card { background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--border); height: 160px; animation: pulse 1.4s ease-in-out infinite; }
.search-bar { display: flex; gap: 10px; margin-bottom: 20px; }
.search-bar input { flex: 1; padding: 10px 16px; border: 1.5px solid var(--border); border-radius: 8px; font-size: .95rem; outline: none; }
.search-bar input:focus { border-color: var(--primary); }

/* ── Footer ────────────────────────────────────────────────── */
footer { background: #1e3a5f; color: #cbd5e1; margin-top: 64px; padding: 48px 20px 32px; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-logo { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.footer-tagline { font-size: .875rem; color: #94a3b8; margin-top: 6px; max-width: 340px; line-height: 1.5; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; }
.footer-links a { font-size: .875rem; color: #94a3b8; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: .8rem; color: #64748b; border-top: 1px solid #2d4d6e; padding-top: 20px; width: 100%; text-align: center; }

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

/* ── Ad slots — non-intrusive placeholders, ready for AdSense / Ezoic / direct fills ── */
.ad-slot {
  background: #fafafa;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
}
.ad-slot::before { content: 'Advertisement'; }
.ad-slot.sidebar { margin-top: 16px; min-height: 250px; }
.ad-slot.in-feed { grid-column: 1 / -1; min-height: 120px; margin: 8px 0; }
.ad-slot.banner  { max-width: 1160px; margin: 40px auto 0; min-height: 100px; }
@media (max-width: 720px) {
  .ad-slot.sidebar,
  .ad-slot.in-feed { min-height: 100px; }
  .ad-slot.banner  { min-height: 90px; margin: 24px 16px 0; }
}

/* ─── Capability badges (Phase C) ──────────────────────────── */
/* Cards: trust label pill + compact capability summary */
.trust-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2; }
.trust-moh { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.trust-jkm { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.trust-unverified { background: #fffbeb; color: #92400e; border: 1px dashed #fbbf24; }

.card-trust-row { padding: 8px 14px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.card-caps { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 14px 10px; margin-top: 6px; }
.cap-pill { display: inline-flex; align-items: center; padding: 2px 7px; border-radius: 4px; font-size: .68rem; font-weight: 500; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cap-pill.cap-more { background: #f1f5f9; color: #475569; border-color: #e2e8f0; font-weight: 400; }

/* Profile: full badge grid */
.badge-section { background: white; border: 1px solid var(--border, #e2e8f0); border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
.badge-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.badge-section-title { font-size: 1rem; font-weight: 700; color: var(--text, #0f172a); }
.badge-block { margin-bottom: 14px; }
.badge-block:last-child { margin-bottom: 0; }
.badge-block-head { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; margin-bottom: 8px; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 6px; }
.cap-badge { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 6px; font-size: .8rem; font-weight: 500; line-height: 1.2; }
.cap-badge.ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.cap-badge.muted { background: #f8fafc; color: #94a3b8; border: 1px dashed #cbd5e1; font-weight: 400; }
.cap-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 50%; font-size: .65rem; font-weight: 700; color: white; flex-shrink: 0; }
.cap-badge.ok .cap-icon { background: #10b981; }
.cap-badge.muted .cap-icon { background: #cbd5e1; color: white; }

.badge-tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.doc-pill { padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 500; }
.doc-pill.ok { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.doc-pill.muted { background: #f8fafc; color: #94a3b8; border: 1px dashed #cbd5e1; font-weight: 400; }

.badge-legend { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f1f5f9; display: flex; flex-wrap: wrap; gap: 14px; font-size: .72rem; color: #64748b; }
.badge-legend .cap-icon { width: 14px; height: 14px; font-size: .58rem; vertical-align: -2px; margin-right: 3px; }
.cap-icon.ok-mini { background: #10b981; }
.cap-icon.muted-mini { background: #cbd5e1; }

.tier-marker { margin-top: 10px; font-size: .78rem; color: #64748b; }
.tier-warn { color: #b91c1c; font-weight: 600; }

/* Hybrid need-based search — section split */
.hybrid-section-head { margin: 22px 0 10px; padding-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
.hybrid-section-head .h-title { font-size: 1rem; font-weight: 700; color: var(--text, #0f172a); }
.hybrid-section-head .h-sub { font-size: .82rem; color: #64748b; margin-top: 3px; }
.hybrid-possible-banner { background: #fffbeb; border: 1px dashed #fbbf24; border-radius: 8px; padding: 10px 14px; font-size: .82rem; color: #78350f; margin-bottom: 12px; line-height: 1.5; }

/* ── Landing page: embedded hero quiz ───────────────────── */
.hero-quiz { max-width: 540px; margin: 0 auto 20px; }
.hq-step { display: none; }
.hq-step.active { display: block; }
.hq-q-text { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 14px; }
.hq-options { display: flex; flex-direction: column; gap: 8px; }
.hq-option { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.25); color: #fff; border-radius: 10px; padding: 13px 16px; cursor: pointer; text-align: left; display: flex; align-items: flex-start; gap: 12px; transition: background .15s, border-color .15s; width: 100%; }
.hq-option:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); }
.hq-opt-icon { font-size: 1.25rem; flex-shrink: 0; margin-top: 1px; }
.hq-opt-body strong { display: block; font-size: .92rem; font-weight: 700; margin-bottom: 2px; }
.hq-opt-body span { font-size: .8rem; opacity: .78; line-height: 1.4; }
.hq-explainer { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.hq-explainer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hq-explainer-grid > div { font-size: .8rem; color: rgba(255,255,255,.88); line-height: 1.5; }
.hq-explainer-grid strong { display: block; font-size: .85rem; margin-bottom: 3px; color: #fff; }
@media (max-width: 480px) { .hq-explainer-grid { grid-template-columns: 1fr; } }
.hq-back { background: none; border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.65); border-radius: 8px; padding: 7px 14px; font-size: .82rem; cursor: pointer; margin-top: 12px; }
.hq-back:hover { border-color: rgba(255,255,255,.6); color: #fff; }
.hq-result-card { border-radius: 12px; padding: 18px 20px; color: #fff; }
.hq-result-card.hq-homecare  { background: rgba(21,128,61,.9); }
.hq-result-card.hq-daycare   { background: rgba(29,78,216,.9); }
.hq-result-card.hq-assisted  { background: rgba(109,40,217,.9); }
.hq-result-card.hq-nursing   { background: rgba(159,18,57,.9); }
.hq-result-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; opacity: .75; margin-bottom: 6px; }
.hq-result-title { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.hq-result-desc { font-size: .85rem; opacity: .9; margin-bottom: 14px; line-height: 1.5; }
.hq-result-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.hq-result-pill { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; padding: 7px 16px; font-size: .84rem; font-weight: 600; text-decoration: none; transition: background .15s; white-space: nowrap; }
.hq-result-pill:hover { background: rgba(255,255,255,.32); }
.hq-result-pill.hq-pill-primary { background: rgba(255,255,255,.9); color: #1a1a2e; }
.hq-result-pill.hq-pill-primary:hover { background: #fff; }

/* ── Landing page: state dropdown in hero-search ─────────── */
.hero-search select { flex: 1; border: none; outline: none; padding: 14px 16px; font-size: .95rem; color: var(--text); background: #fff; cursor: pointer; min-width: 0; }

/* ── Landing page: triage CTA (hero) ─────────────────────── */
.hero-triage-btn { display: block; background: #16a34a; color: #fff; border-radius: 14px; padding: 20px 28px; text-align: left; text-decoration: none; max-width: 540px; margin: 0 auto 18px; transition: background .15s, transform .15s; box-shadow: 0 4px 20px rgba(22,163,74,.35); }
.hero-triage-btn:hover { background: #15803d; transform: translateY(-2px); }
.hero-triage-title { font-size: 1.08rem; font-weight: 700; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.hero-triage-title .arr { margin-left: auto; font-size: 1.2rem; }
.hero-triage-sub { font-size: .85rem; opacity: .88; }
.hero-triage-bm { font-size: .78rem; opacity: .7; margin-top: 3px; font-style: italic; }

/* ── Landing page: or-divider ────────────────────────────── */
.hero-or-divider { display: flex; align-items: center; gap: 12px; max-width: 540px; margin: 0 auto 18px; color: rgba(255,255,255,.55); font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.hero-or-divider::before, .hero-or-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.2); }

/* ── Landing page: condition strip ───────────────────────── */
.cond-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(185px, 1fr)); gap: 12px; }
.cond-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; border: 1px solid var(--border); border-left-width: 4px; padding: 16px 16px 14px; text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s; }
.cond-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.cond-icon { font-size: 1.7rem; margin-bottom: 10px; }
.cond-name { font-size: .95rem; font-weight: 700; margin-bottom: 3px; }
.cond-name-bm { font-size: .78rem; color: var(--text-muted); margin-bottom: 8px; }
.cond-desc { font-size: .82rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.cond-cta { font-size: .82rem; font-weight: 600; margin-top: 12px; }
@media (max-width: 640px) { .cond-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 360px) { .cond-strip { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════════════
   DIRECTION A — REFINED TRUST · landing page
   ═══════════════════════════════════════════════════════════════ */

body.da-page { background: var(--da-bg); }

/* ── Direction A nav ─────────────────────────────────────────── */
.da-page > nav { background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--da-line); }
.da-page .nav-inner { max-width: 1240px; }
.da-page .logo { color: var(--da-ink); font-weight: 800; letter-spacing: -.01em; }
.da-page .logo span { color: var(--da-blue); }
.da-page .nav-link { color: var(--da-body); font-size: .9rem; font-weight: 500; }
.da-page .nav-link:hover { background: var(--da-bg); color: var(--da-ink); }
.da-page .nav-link-sitemap { color: var(--da-blue); }
.da-page .nav-search {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--da-bg);
  border: 1px solid var(--da-line);
  border-radius: 999px;
  padding: 8px 14px;
  min-width: 240px;
  margin-left: auto;
}
.da-page .nav-search svg { flex: 0 0 16px; opacity: .55; }
.da-page .nav-search input {
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  font-size: .88rem;
  color: var(--da-ink);
  width: 100%;
}
.da-page .nav-search input::placeholder { color: var(--da-muted); }
@media (min-width: 900px) {
  .da-page .nav-search { display: flex; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.da-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 20% 30%, var(--da-blue) 0%, var(--da-navy) 60%);
  color: #fff;
  padding: 56px 16px 40px;
}
.da-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .8;
  pointer-events: none;
}
.da-hero-inner { position: relative; max-width: 1240px; margin: 0 auto; }
.da-hero-eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--da-coral);
  margin-bottom: 12px;
}
.da-hero h1 {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.03em;
  text-wrap: balance;
  margin-bottom: 14px;
  color: #fff;
}
.da-hero p.da-hero-sub,
.da-hero .da-hero-sub {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 560px;
  margin-bottom: 24px;
  text-wrap: pretty;
}

/* Stat tiles — 2×2 on mobile, 4-up on desktop */
.da-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.da-stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
}
.da-stat .num { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; }
.da-stat .label { font-size: 10px; font-weight: 600; letter-spacing: .06em; color: rgba(255,255,255,.7); text-transform: uppercase; margin-top: 3px; }

/* Hero CTAs — hidden on mobile (quiz is the primary CTA) */
.da-hero-ctas { display: none; gap: 10px; margin-top: 20px; flex-wrap: wrap; }

/* ── Quiz card ───────────────────────────────────────────────── */
.da-quiz {
  position: relative;
  background: #fff;
  color: var(--da-ink);
  border-radius: 18px;
  padding: 20px 18px 18px;
  margin-top: 24px;
  box-shadow: 0 10px 32px rgba(15,23,42,.18);
}
.da-quiz-badge {
  position: absolute;
  top: -14px; left: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--da-coral);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(217,106,63,.4);
}
.da-quiz-eyebrow {
  display: block;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--da-coral-deep);
  margin: 4px 0 6px 40px;
}
.da-quiz-q {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: var(--da-ink);
  margin-bottom: 14px;
}
.da-quiz-step { display: none; }
.da-quiz-step.active { display: block; }
.da-quiz-options { display: flex; flex-direction: column; gap: 8px; }
.da-quiz-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  background: var(--da-bg);
  border: 1px solid var(--da-line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  font: inherit;
  transition: background 120ms, border-color 120ms, transform 120ms;
}
.da-quiz-opt:hover { background: #eef2fa; border-color: var(--da-blue); }
.da-quiz-opt:active { transform: scale(.99); }
.da-quiz-opt-icon {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--da-line);
  display: grid; place-items: center;
  font-size: 18px;
}
.da-quiz-opt-body { flex: 1; min-width: 0; }
.da-quiz-opt-title { display: block; font-size: 13.5px; font-weight: 700; color: var(--da-ink); line-height: 1.25; }
.da-quiz-opt-sub { display: block; font-size: 12px; color: var(--da-body); line-height: 1.4; margin-top: 2px; }
.da-quiz-opt-chev { flex: 0 0 16px; color: var(--da-muted); font-size: 18px; line-height: 1; }
.da-quiz-back {
  margin-top: 10px;
  background: none; border: none;
  font: inherit; font-size: 12.5px; color: var(--da-body);
  cursor: pointer; padding: 4px 0;
}
.da-quiz-back:hover { color: var(--da-ink); }

.da-quiz-result {
  background: linear-gradient(135deg, #f6f8fc, #fff);
  border: 1px solid var(--da-line);
  border-radius: 12px;
  padding: 14px;
}
.da-quiz-result-label {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--da-coral-deep);
  margin-bottom: 6px;
}
.da-quiz-result-title { font-size: 15.5px; font-weight: 700; color: var(--da-ink); margin-bottom: 6px; line-height: 1.3; }
.da-quiz-result-desc { font-size: 13px; color: var(--da-body); line-height: 1.55; margin-bottom: 10px; text-wrap: pretty; }
.da-quiz-result-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.da-quiz-result-pill {
  display: inline-flex; align-items: center;
  padding: 7px 12px;
  background: var(--da-blue); color: #fff;
  font-size: 12.5px; font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}
.da-quiz-result-pill.alt { background: #fff; color: var(--da-blue); border: 1px solid var(--da-line); }
.da-quiz-result-pill:hover { background: var(--da-blue-dark); }
.da-quiz-result-pill.alt:hover { background: var(--da-bg); }

/* ─ Very-narrow mobile tweaks ─ */
@media (max-width: 380px) {
  .da-hero { padding: 44px 14px 32px; }
  .da-hero h1 { font-size: 26px; }
  .da-hero-eyebrow { font-size: 10px; }
  .da-hero p.da-hero-sub,
  .da-hero .da-hero-sub { font-size: 13.5px; }
  .da-stat { padding: 9px 6px; }
  .da-stat .num { font-size: 16px; }
  .da-stat .label { font-size: 9.5px; letter-spacing: .04em; }
  .da-quiz { padding: 18px 14px 14px; }
  .da-quiz-opt { padding: 11px 12px; gap: 10px; }
  .da-quiz-opt-icon { flex: 0 0 30px; width: 30px; height: 30px; font-size: 17px; }
  .da-quiz-opt-title { font-size: 13px; }
  .da-quiz-opt-sub { font-size: 11.5px; }
  .da-section { padding: 28px 14px; }
  .da-section-title { font-size: 20px; }
  .da-care-card { padding: 12px; }
  .da-care-card-icon { width: 32px; height: 32px; font-size: 16px; margin-bottom: 8px; }
  .da-trust { padding: 22px 16px; }
  .da-trust-title { font-size: 18px; }
  .da-trust-grid { gap: 12px; }
}

/* Hero desktop split */
@media (min-width: 900px) {
  .da-hero { padding: 80px 48px 96px; }
  .da-hero::before { background-size: 28px 28px; }
  .da-hero-inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
  }
  .da-hero h1 { font-size: 56px; line-height: 1.02; letter-spacing: -.035em; }
  .da-hero-sub { font-size: 18px; max-width: 540px; margin-bottom: 28px; }
  .da-stats { grid-template-columns: repeat(4, 1fr); max-width: 540px; }
  .da-stat { padding: 12px 10px; border-radius: 12px; }
  .da-stat .num { font-size: 22px; }
  .da-stat .label { font-size: 10.5px; }
  .da-hero-ctas { display: flex; }
  .da-quiz { margin-top: 0; padding: 26px 24px 22px; box-shadow: var(--da-shadow-quiz); }
  .da-quiz-q { font-size: 19px; }
  .da-quiz-opt-title { font-size: 14.5px; }
  .da-quiz-opt-sub { font-size: 12.5px; }
}

/* ── Care-type grid ──────────────────────────────────────────── */
.da-section { max-width: 1240px; margin: 0 auto; padding: 36px 16px; }
.da-section-head { margin-bottom: 20px; }
.da-section-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--da-ink);
  margin-bottom: 4px;
}
.da-section-sub {
  font-size: 13.5px;
  color: var(--da-body);
  line-height: 1.5;
  text-wrap: pretty;
}
.da-section-sub a { color: var(--da-blue); font-weight: 600; }

.da-care-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.da-care-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--da-line);
  border-radius: 14px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, border-color 150ms;
}
.da-care-card:hover { transform: translateY(-2px); box-shadow: var(--da-shadow-hover); border-color: var(--da-blue); }
.da-care-card-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--da-bg);
  display: grid; place-items: center;
  font-size: 18px;
  margin-bottom: 10px;
}
.da-care-card-name { font-size: 14.5px; font-weight: 700; color: var(--da-ink); margin-bottom: 4px; letter-spacing: -.01em; }
.da-care-card-desc { font-size: 12px; color: var(--da-body); line-height: 1.45; margin-bottom: 8px; text-wrap: pretty; }
.da-care-card-cta { font-size: 12px; font-weight: 600; color: var(--da-blue); }
.da-care-popular-badge {
  position: absolute;
  top: -8px; right: 12px;
  background: var(--da-coral); color: #fff;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(217,106,63,.3);
}
@media (min-width: 900px) {
  .da-section { padding: 56px 48px; }
  .da-section-title { font-size: 28px; letter-spacing: -.03em; }
  .da-section-sub { font-size: 15px; }
  .da-care-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .da-care-card { padding: 22px; }
  .da-care-card-icon { width: 44px; height: 44px; font-size: 22px; margin-bottom: 14px; }
  .da-care-card-name { font-size: 17px; }
  .da-care-card-desc { font-size: 13px; }
}

/* ── State carousel block ────────────────────────────────────── */
.da-state-block { margin-bottom: 36px; }
.da-state-hdr {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px; margin-bottom: 12px; flex-wrap: wrap;
}
.da-state-hdr-name { font-size: 17px; font-weight: 700; color: var(--da-ink); letter-spacing: -.02em; }
.da-state-hdr-count { font-size: 12.5px; color: var(--da-muted); margin-left: 8px; }
.da-state-hdr-link { font-size: 13px; font-weight: 600; color: var(--da-blue); }
.da-state-hdr-link:hover { color: var(--da-blue-dark); }

.da-carousel-wrap { position: relative; }
.da-carousel {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}
.da-carousel::-webkit-scrollbar { height: 4px; }
.da-carousel::-webkit-scrollbar-thumb { background: var(--da-line); border-radius: 2px; }
.da-pick-card {
  flex: 0 0 180px;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--da-line);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 150ms, box-shadow 150ms;
}
.da-pick-card:hover { transform: translateY(-2px); box-shadow: var(--da-shadow-hover); }
.da-pick-img { height: 110px; background-color: var(--da-bg); background-size: cover; background-position: center; }
.da-pick-img-fallback { background: linear-gradient(135deg, var(--da-navy), var(--da-blue)); }
.da-pick-body { padding: 10px 12px 12px; }
.da-pick-name { font-size: 13px; font-weight: 700; color: var(--da-ink); line-height: 1.3; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.da-pick-area { font-size: 11.5px; color: var(--da-muted); margin-bottom: 6px; }
.da-pick-meta { font-size: 11.5px; color: var(--da-body); display: flex; align-items: center; gap: 4px; }
.da-pick-meta .star { color: #f59e0b; }
.da-pick-price { font-size: 11.5px; color: var(--da-body); margin-top: 2px; }
.da-pick-skel { flex: 0 0 180px; height: 200px; border-radius: 12px; background: linear-gradient(90deg, #f0f3f8 0%, #e8edf5 50%, #f0f3f8 100%); background-size: 200% 100%; animation: daSkel 1.2s ease-in-out infinite; }
@keyframes daSkel { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.da-see-all {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px; font-weight: 600;
  color: var(--da-blue);
}

@media (min-width: 900px) {
  .da-carousel { margin: 0; padding-left: 0; padding-right: 0; }
  .da-pick-card { flex: 0 0 220px; }
  .da-pick-img { height: 140px; }
  .da-pick-name { font-size: 14px; }
}

/* More states compact grid */
.da-more-states { margin-top: 28px; }
.da-more-states-label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--da-coral-deep); margin-bottom: 10px; }
.da-compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.da-compact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--da-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--da-ink);
  text-decoration: none;
  transition: background 120ms, border-color 120ms;
}
.da-compact-card:hover { background: var(--da-bg); border-color: var(--da-blue); }
.da-compact-count { font-size: 11.5px; color: var(--da-muted); font-weight: 500; }
.da-all-states-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 18px;
  background: var(--da-ink); color: #fff;
  font-size: 13px; font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
}
.da-all-states-btn:hover { background: var(--da-navy); }

/* ── Trust band (navy with coral glow) ───────────────────────── */
.da-trust {
  position: relative;
  overflow: hidden;
  background: var(--da-navy);
  color: #fff;
  border-radius: 18px;
  padding: 24px 18px;
  margin: 8px 0;
  isolation: isolate;
}
.da-trust > * { position: relative; z-index: 1; }
.da-trust::after {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(240,135,95,.28), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.da-page .da-trust-eyebrow { color: var(--da-coral); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.da-page .da-trust-title { font-size: 20px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 16px; color: #fff; }
.da-page .da-trust p.da-trust-text-desc,
.da-page .da-trust-text-desc { font-size: 13px; color: rgba(255,255,255,.78); line-height: 1.55; margin-bottom: 16px; text-wrap: pretty; }
.da-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.da-trust-item-icon { font-size: 22px; margin-bottom: 6px; }
.da-page .da-trust-item-title { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; color: #fff; }
.da-page .da-trust-item-desc { font-size: 12px; color: rgba(255,255,255,.72); line-height: 1.5; text-wrap: pretty; }
@media (min-width: 900px) {
  .da-trust { padding: 40px 36px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
  .da-trust::after { width: 320px; height: 320px; top: -180px; right: -180px; }
  .da-trust-title { font-size: 28px; }
  .da-trust-text-desc { color: rgba(255,255,255,.78); font-size: 14.5px; line-height: 1.6; max-width: 460px; text-wrap: pretty; }
  .da-trust-grid { gap: 18px; }
  .da-trust-item-title { font-size: 14.5px; }
  .da-trust-item-desc { font-size: 13px; }
}

/* ── Guides list ─────────────────────────────────────────────── */
.da-guides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.da-guide-card {
  display: block;
  background: #fff;
  border: 1px solid var(--da-line);
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 150ms, box-shadow 150ms, border-color 150ms;
}
.da-guide-card:hover { transform: translateY(-2px); box-shadow: var(--da-shadow-hover); border-color: var(--da-blue); }
.da-guide-tag {
  display: inline-block;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--da-bg);
  color: var(--da-body);
  margin-bottom: 8px;
}
.da-guide-tag.pricing  { background: #dcfce7; color: var(--da-good); }
.da-guide-tag.licensing { background: #e0e7ff; color: #4338ca; }
.da-guide-tag.govt     { background: #fef3c7; color: #92400e; }
.da-guide-tag.choosing { background: #fee2e2; color: #b91c1c; }
.da-guide-tag.tool     { background: #fce7f3; color: #be185d; }
.da-guide-tag.quality  { background: #ffedd5; color: var(--da-coral-deep); }
.da-guide-title { font-size: 14.5px; font-weight: 700; color: var(--da-ink); line-height: 1.3; margin-bottom: 6px; letter-spacing: -.01em; }
.da-guide-desc { font-size: 12.5px; color: var(--da-body); line-height: 1.55; margin-bottom: 8px; text-wrap: pretty; }
.da-guide-cta { font-size: 12px; font-weight: 600; color: var(--da-blue); }
@media (min-width: 700px)  { .da-guides { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .da-guides { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  .da-guide-card { padding: 22px; }
  .da-guide-title { font-size: 17px; }
  .da-guide-desc { font-size: 13.5px; }
}

/* ── Footer alignment with Direction A ───────────────────────── */
/* Keep dark-navy footer; just retune to the new palette. Text colours
   already light from base .footer-* rules above. */
.da-page footer { background: var(--da-navy); }
.da-page .footer-tagline,
.da-page .footer-links a { color: rgba(255,255,255,.7); }
.da-page .footer-links a:hover { color: #fff; }
.da-page .footer-copy { color: rgba(255,255,255,.55); border-top-color: rgba(255,255,255,.12); }

/* ═══════════════════════════════════════════════════════════════
   DIRECTION A — STATE LISTING (Step 3)
   Scoped via .da-page on <body>. Reuses existing JS-targeted class names
   (.fac-card, .filter-pill, etc.) by overriding their styles in this scope.
   ═══════════════════════════════════════════════════════════════ */

/* ── State hero ──────────────────────────────────────────────── */
.da-page .state-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--da-navy) 0%, var(--da-blue) 100%);
  color: #fff;
  padding: 36px 16px 32px;
}
.da-page .state-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .6;
  pointer-events: none;
}
.da-page .state-hero-inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}
.da-page .state-hero .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.da-page .state-hero .breadcrumb a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.4);
}
.da-page .state-hero .breadcrumb a:hover { text-decoration-color: #fff; }
.da-page .state-hero .breadcrumb span { color: rgba(255,255,255,.5); }
.da-page .state-hero-eyebrow {
  display: inline-block;
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--da-coral);
  margin-bottom: 8px;
}
.da-page .state-hero h1 {
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #fff;
  margin-bottom: 8px;
  text-wrap: balance;
}
.da-page .state-hero p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  max-width: 620px;
  margin-bottom: 16px;
  text-wrap: pretty;
}
.da-page .state-hero p strong { color: #fff; }
.da-page .state-hero-search {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-width: 540px;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.da-page .state-hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--da-ink);
}
.da-page .state-hero-search input::placeholder { color: var(--da-muted); }

@media (min-width: 900px) {
  .da-page .state-hero { padding: 56px 48px 48px; }
  .da-page .state-hero h1 { font-size: 42px; letter-spacing: -.035em; }
  .da-page .state-hero p { font-size: 16px; }
}

/* ── Filter bar ──────────────────────────────────────────────── */
.da-page .filter-bar-wrap {
  position: sticky;
  top: 60px;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--da-line);
  transition: box-shadow 150ms;
}
.da-page .filter-bar-wrap.stuck { box-shadow: 0 4px 16px rgba(15,23,42,.06); }
.da-page .filter-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.da-page .filter-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.da-page .filter-scroll::-webkit-scrollbar { display: none; }
.da-page .filter-pill {
  flex: 0 0 auto;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--da-bg);
  color: var(--da-body);
  border: 1px solid var(--da-line);
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms, color 120ms, border-color 120ms;
}
.da-page .filter-pill:hover { background: #eef2fa; border-color: var(--da-blue); color: var(--da-ink); }
.da-page .filter-pill.active {
  background: var(--da-ink);
  color: #fff;
  border-color: var(--da-ink);
}
.da-page .filter-right {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 0 0 auto;
}
.da-page .sort-select {
  font: inherit;
  font-size: 12.5px;
  padding: 7px 28px 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--da-line);
  background: var(--da-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2394a3b8' d='M5 6 0 0h10z'/%3E%3C/svg%3E") no-repeat right 10px center;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  color: var(--da-ink);
}
.da-page .view-toggle {
  display: flex;
  border: 1px solid var(--da-line);
  border-radius: 8px;
  overflow: hidden;
}
.da-page .view-btn {
  background: var(--da-surface);
  border: none;
  padding: 7px 9px;
  cursor: pointer;
  color: var(--da-muted);
  display: flex; align-items: center;
}
.da-page .view-btn:hover { background: var(--da-bg); color: var(--da-ink); }
.da-page .view-btn.active { background: var(--da-ink); color: #fff; }

/* ── Results bar ─────────────────────────────────────────────── */
.da-page .results-bar {
  background: transparent;
  padding: 14px 16px 6px;
}
.da-page .results-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: var(--da-body);
}
.da-page #resultsCount { font-weight: 700; color: var(--da-ink); }
.da-page #activeAreaLabel { color: var(--da-muted); }

/* ── State content + grid ────────────────────────────────────── */
.da-page .state-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px 32px;
}
.da-page .fac-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 600px) { .da-page .fac-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (min-width: 1000px) { .da-page .fac-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

/* ── Facility card (Direction A treatment of .fac-card) ──────── */
.da-page .fac-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--da-surface);
  border: 1px solid var(--da-line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 150ms, box-shadow 150ms, border-color 150ms;
  box-shadow: var(--da-shadow-card);
}
.da-page .fac-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--da-shadow-hover);
  border-color: var(--da-blue);
}
.da-page .fac-card-img {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, var(--da-navy), var(--da-blue));
  overflow: hidden;
}
.da-page .fac-card-img img {
  width: 100%; height: 100%; object-fit: cover;
}
.da-page .fac-card-img.no-photo {
  background: linear-gradient(135deg, var(--da-navy), var(--da-blue));
}
.da-page .fac-price-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  top: auto;
  right: auto;
  background: rgba(255,255,255,.95);
  color: var(--da-good);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
  backdrop-filter: blur(4px);
}
.da-page .fac-price-badge.unknown { color: var(--da-body); background: rgba(255,255,255,.92); }
.da-page .fac-group-tag {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(124,58,237,.92);
  color: #fff;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}
.da-page .fac-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.da-page .fac-card-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--da-ink);
  line-height: 1.3;
  letter-spacing: -.01em;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.da-page .fac-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--da-body);
  margin-bottom: 8px;
}
.da-page .fac-area { display: inline-flex; align-items: center; gap: 2px; }
.da-page .fac-rating { color: var(--da-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; }
.da-page .fac-rating::before { content: '★'; color: #f59e0b; }
.da-page .fac-reviews { color: var(--da-muted); font-weight: 500; }
.da-page .fac-excerpt {
  font-size: 12.5px;
  color: var(--da-body);
  line-height: 1.55;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.da-page .fac-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: auto;
}
.da-page .fac-card-tags .tag {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--da-bg);
  color: var(--da-body);
  border: 1px solid var(--da-line);
}
.da-page .card-trust-row {
  padding: 8px 14px 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Skeleton */
.da-page .fac-card-skeleton {
  background: linear-gradient(90deg, #f0f3f8 0%, #e8edf5 50%, #f0f3f8 100%);
  background-size: 200% 100%;
  animation: daSkel 1.2s ease-in-out infinite;
  border-radius: 14px;
  height: 320px;
}

/* Empty state */
.da-page .empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--da-body);
  font-size: 14px;
}
.da-page .empty-state button {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  background: var(--da-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer;
}

/* Hybrid need filter sections */
.da-page .hybrid-section-head {
  grid-column: 1 / -1;
  padding: 16px 0 8px;
  margin-top: 4px;
}
.da-page .hybrid-section-head .h-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--da-ink);
  letter-spacing: -.01em;
}
.da-page .hybrid-section-head .h-sub {
  font-size: 12.5px;
  color: var(--da-body);
  margin-top: 4px;
}
.da-page .hybrid-possible-banner {
  grid-column: 1 / -1;
  background: #fef3c7;
  color: #78350f;
  font-size: 12.5px;
  line-height: 1.55;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 8px;
}

/* ── Map view ────────────────────────────────────────────────── */
.da-page #mapView {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 16px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.da-page #leafletMap {
  height: 460px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--da-line);
}
.da-page #mapSidebar {
  max-height: none;
  overflow: visible;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.da-page .mc-card {
  display: block;
  background: var(--da-surface);
  border: 1px solid var(--da-line);
  border-radius: 10px;
  padding: 10px 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 120ms, box-shadow 120ms;
}
.da-page .mc-card:hover { border-color: var(--da-blue); box-shadow: var(--da-shadow-hover); }
.da-page .mc-card.mc-active { border-color: var(--da-blue); background: #eef2fa; }
.da-page .mc-name { font-size: 13.5px; font-weight: 700; color: var(--da-ink); margin-bottom: 4px; }
.da-page .mc-meta { font-size: 12px; color: var(--da-body); margin-bottom: 2px; }
.da-page .mc-rating { color: var(--da-ink); font-weight: 600; }
.da-page .mc-no-rating { color: var(--da-muted); }
.da-page .mc-price { color: var(--da-good); font-weight: 600; }
.da-page .mc-tags { margin-top: 6px; display: flex; gap: 4px; flex-wrap: wrap; }
.da-page .mc-tags .tag { font-size: 10px; padding: 2px 7px; border-radius: 999px; background: var(--da-bg); color: var(--da-body); border: 1px solid var(--da-line); }
.da-page .mc-empty { padding: 20px; text-align: center; color: var(--da-muted); font-size: 13px; }

@media (min-width: 900px) {
  .da-page #mapView { grid-template-columns: 300px 1fr; padding: 12px 48px 32px; gap: 16px; }
  .da-page #mapSidebar { max-height: 600px; overflow-y: auto; padding-right: 4px; }
  .da-page #leafletMap { height: 600px; }
}

/* ═══════════════════════════════════════════════════════════════
   DIRECTION A — FACILITY PROFILE (Step 4)
   Scoped via .da-page on <body>. Layers over the per-page inline CSS
   in facility.html (deliberately additive — page-specific styles remain).
   ═══════════════════════════════════════════════════════════════ */

/* Profile header — eyebrow + cleaner type, Direction A palette */
.da-page .profile-header {
  background: var(--da-surface);
  border-bottom: 1px solid var(--da-line);
  padding: 24px 16px 18px;
}
.da-page .profile-header-inner { max-width: 1240px; }
.da-page .profile-header .hero-breadcrumb {
  font-size: 11.5px;
  color: var(--da-muted);
  margin-bottom: 6px;
}
.da-page .profile-header .hero-breadcrumb a { color: var(--da-body); }
.da-page .profile-header .hero-breadcrumb a:hover { color: var(--da-blue); }
.da-page .profile-header .bc-sep { color: var(--da-line); }
.da-page .profile-header h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--da-ink);
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
  margin: 4px 0 8px;
}
.da-page .profile-header .hero-meta {
  font-size: 13px;
  color: var(--da-body);
}
@media (min-width: 900px) {
  .da-page .profile-header { padding: 32px 48px 22px; }
  .da-page .profile-header h1 { font-size: 36px; letter-spacing: -.035em; }
}

/* Tabs nav — Direction A active treatment */
.da-page .tabs-nav {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--da-line);
}
.da-page .tab-btn {
  color: var(--da-body);
  font-size: 13px;
  font-weight: 500;
  padding: 13px 14px;
}
.da-page .tab-btn:hover { color: var(--da-ink); }
.da-page .tab-btn.active {
  color: var(--da-blue);
  font-weight: 700;
  border-bottom-color: var(--da-blue);
}

/* Editor's note card — gradient top accent bar */
.da-page .editor-note {
  position: relative;
  background: var(--da-surface);
  border: 1px solid var(--da-line);
  border-left: none;
  border-radius: 14px;
  padding: 22px 22px 20px;
  color: var(--da-ink);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
  isolation: isolate;
}
.da-page .editor-note::before {
  content: '';
  position: absolute;
  top: 0; left: 22px; right: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--da-coral), var(--da-blue));
  border-radius: 2px;
  z-index: 0;
}
.da-page .editor-note > * { position: relative; z-index: 1; }
.da-page .editor-note .editorial-label {
  color: var(--da-coral-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.da-page .editor-note .eh { color: var(--da-ink); font-weight: 700; }

/* Price band — Direction A treatment */
.da-page .price-band {
  background: linear-gradient(135deg, var(--da-bg), #eef2fa);
  border: 1px solid var(--da-line);
  border-radius: 14px;
}
.da-page .price-band-label {
  color: var(--da-coral-deep);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
}
.da-page .price-band-value { color: var(--da-ink); }
.da-page .price-band-note { color: var(--da-body); }
.da-page .price-band.unknown {
  background: #fffbeb;
}

/* Capability grid */
.da-page .check-cell { border-radius: 10px; font-size: 13px; }
.da-page .check-cell.yes { background: var(--da-good-bg); color: var(--da-good); }

/* Includes/extras lists */
.da-page .includes-col.included h4 { color: var(--da-good); border-color: var(--da-good); }
.da-page .includes-col.extra h4 { color: var(--da-coral-deep); border-color: var(--da-coral); }
.da-page .includes-list li { color: var(--da-ink); }
.da-page .includes-col.included li::before { color: var(--da-good); }
.da-page .includes-col.extra li::before { color: var(--da-coral-deep); }

/* Amenity tags */
.da-page .amenity-tag {
  background: var(--da-good-bg);
  color: var(--da-good);
  border: 1px solid transparent;
  font-size: 12px;
}
.da-page .amenity-tag.unverified {
  background: var(--da-bg);
  color: var(--da-muted);
  border: 1px dashed var(--da-line);
}

/* Sidebar contact card */
.da-page .contact-card {
  background: var(--da-surface);
  border: 1px solid var(--da-line);
  border-radius: 14px;
  box-shadow: var(--da-shadow-card);
}
.da-page .contact-card h3 {
  color: var(--da-ink);
  font-size: 15px;
  letter-spacing: -.01em;
}
.da-page .cta-btn {
  border-radius: 10px;
  font-size: 14px;
  padding: 12px 16px;
}
.da-page .cta-call { background: var(--da-blue); }
.da-page .cta-call:hover { background: var(--da-blue-dark); }
.da-page .cta-maps { background: var(--da-bg); color: var(--da-ink); }
.da-page .cta-web { background: var(--da-surface); color: var(--da-ink); border-color: var(--da-line); }
.da-page .contact-meta { color: var(--da-body); border-top-color: var(--da-line); }

/* Guides card (sidebar) */
.da-page .guides-card {
  background: var(--da-surface);
  border-color: var(--da-line);
  border-radius: 14px;
}
.da-page .guides-card h3 { color: var(--da-ink); }
.da-page .guides-card ul li a { color: var(--da-blue); }
.da-page .guides-card ul li { border-top-color: var(--da-line); }

/* Mobile sticky CTA bar */
.da-page .mobile-cta-bar {
  background: rgba(255,255,255,.98);
  border-top: 1px solid var(--da-line);
  box-shadow: var(--da-shadow-float);
}
.da-page .mobile-cta-bar .m-call { background: var(--da-blue); }
.da-page .mobile-cta-bar .m-call:hover { background: var(--da-blue-dark); }

/* Photos */
.da-page .photo-cats { gap: 6px; }
.da-page .photo-cat {
  background: var(--da-bg);
  border: 1px solid var(--da-line);
  font-size: 12.5px;
  padding: 7px 14px;
  color: var(--da-body);
}
.da-page .photo-cat.active { background: var(--da-ink); color: #fff; border-color: var(--da-ink); }

/* Compare row hint */
.da-page .compare-row {
  background: #fff7f3;
  border: 1px solid #fed7c4;
  color: var(--da-coral-deep);
  border-radius: 10px;
}

/* Tooltips */
.da-page .term-tip { border-bottom-color: var(--da-muted); }
.da-page .term-tip::after { background: var(--da-ink); }

/* ═══════════════════════════════════════════════════════════════
   DIRECTION A — OPERATOR / CHAIN PAGE (Step 6)
   Scoped via .da-page. Replaces the purple gradient with navy +
   coral-glow, restyles cards.
   ═══════════════════════════════════════════════════════════════ */
.da-page .org-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--da-navy) 0%, var(--da-blue) 100%);
  color: #fff;
  padding: 44px 16px 36px;
  isolation: isolate;
}
.da-page .org-hero::after {
  content: '';
  position: absolute;
  top: -140px; right: -140px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(240,135,95,.32), transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.da-page .org-hero > * { position: relative; z-index: 1; }
.da-page .org-hero-inner { max-width: 1240px; }
.da-page .org-hero .breadcrumb {
  font-size: 11.5px;
  color: rgba(255,255,255,.7);
  margin-bottom: 14px;
}
.da-page .org-hero .breadcrumb a {
  color: rgba(255,255,255,.85);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255,255,255,.35);
}
.da-page .org-hero-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--da-coral);
  background: transparent;
  padding: 0;
  margin-bottom: 8px;
}
.da-page .org-hero-inner h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  text-wrap: balance;
}
.da-page .org-tagline {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  margin: 8px 0 14px;
  text-wrap: pretty;
  max-width: 620px;
}
.da-page .org-hero-meta {
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
}
.da-page .org-website-btn {
  background: var(--da-coral);
  border-color: var(--da-coral);
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 10px;
}
.da-page .org-website-btn:hover { background: var(--da-coral-deep); border-color: var(--da-coral-deep); }
@media (min-width: 900px) {
  .da-page .org-hero { padding: 64px 48px 56px; }
  .da-page .org-hero::after { width: 420px; height: 420px; }
  .da-page .org-hero-inner h1 { font-size: 42px; letter-spacing: -.035em; }
  .da-page .org-tagline { font-size: 17px; }
}

/* Org body / cards */
.da-page .org-body { max-width: 1240px; padding: 28px 16px 60px; }
@media (min-width: 900px) {
  .da-page .org-body { grid-template-columns: 1.55fr 1fr; gap: 32px; padding: 32px 48px 80px; }
}
.da-page .profile-card {
  background: var(--da-surface);
  border: 1px solid var(--da-line);
  border-radius: 14px;
  padding: 22px 22px;
  box-shadow: var(--da-shadow-card);
}
.da-page .profile-card h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--da-ink);
  border-bottom: 1px solid var(--da-line);
  padding-bottom: 10px;
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.da-page .org-branches-header { margin: 8px 4px; }
.da-page .org-branches-header .section-title { font-size: 18px; font-weight: 700; color: var(--da-ink); letter-spacing: -.02em; }
.da-page .org-branches-header .section-sub { color: var(--da-body); font-size: 13px; margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════
   DIRECTION A — COMPARE PAGE (Step 7)
   ═══════════════════════════════════════════════════════════════ */
.da-page .cmp-page { max-width: 1240px; padding: 32px 16px 60px; }
.da-page .cmp-header h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--da-ink);
  letter-spacing: -.025em;
  margin-bottom: 6px;
}
.da-page .cmp-header p { font-size: 14px; color: var(--da-body); }
.da-page .cmp-btn-back {
  background: var(--da-blue);
  border-radius: 10px;
  font-size: 13px;
  padding: 9px 18px;
}
.da-page .cmp-btn-back:hover { background: var(--da-blue-dark); opacity: 1; }
.da-page .cmp-btn-clear {
  background: var(--da-surface);
  border: 1px solid var(--da-line);
  color: var(--da-body);
  border-radius: 10px;
  font-size: 13px;
}
.da-page .cmp-btn-clear:hover { background: var(--da-bg); color: var(--da-ink); }

.da-page .cmp-card {
  background: var(--da-surface);
  border: 1px solid var(--da-line);
  border-radius: 14px;
  box-shadow: var(--da-shadow-card);
  transition: transform 150ms, box-shadow 150ms;
}
.da-page .cmp-card:hover { transform: translateY(-2px); box-shadow: var(--da-shadow-hover); }
.da-page .cmp-card-title a { color: var(--da-ink); }
.da-page .cmp-card-title a:hover { color: var(--da-blue); }
.da-page .cmp-card-area { color: var(--da-muted); }
.da-page .cmp-row { border-bottom-color: var(--da-line); }
.da-page .cmp-row-label { color: var(--da-muted); font-size: 10.5px; letter-spacing: .08em; }
.da-page .cmp-row-value { color: var(--da-ink); }
.da-page .cmp-row-value.unknown { color: var(--da-muted); }
.da-page .cmp-care-tag { background: var(--da-good-bg); color: var(--da-good); }
.da-page .cmp-cta { border-radius: 10px; }
.da-page .cmp-cta-call { background: var(--da-blue); }
.da-page .cmp-cta-call:hover { background: var(--da-blue-dark); opacity: 1; }
.da-page .cmp-cta-view { background: var(--da-bg); color: var(--da-ink); border-color: var(--da-line); }

.da-page .cmp-section { border-top: 1px solid var(--da-line); padding-top: 14px; margin-top: 16px; }
.da-page .cmp-section-head { color: var(--da-coral-deep); letter-spacing: .08em; font-size: 10.5px; }
.da-page .cmp-price-row { font-size: 13px; }
.da-page .cmp-price-type { color: var(--da-body); }
.da-page .cmp-price-val { color: var(--da-ink); }

.da-page .cmp-empty h2 { color: var(--da-ink); font-size: 18px; font-weight: 700; }
.da-page .cmp-empty p { color: var(--da-body); }
.da-page .cmp-empty a {
  background: var(--da-blue);
  border-radius: 10px;
  font-size: 14px;
  padding: 12px 22px;
}
.da-page .cmp-empty a:hover { background: var(--da-blue-dark); }

.da-page .saved-section { border-top-color: var(--da-line); }
.da-page .saved-section h2 { color: var(--da-ink); font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.da-page .saved-item {
  background: var(--da-surface);
  border: 1px solid var(--da-line);
  border-radius: 12px;
}
.da-page .saved-item-name a { color: var(--da-ink); }
.da-page .saved-item-name a:hover { color: var(--da-blue); }
.da-page .saved-item-area { color: var(--da-muted); }
.da-page .saved-item-compare-btn {
  background: #eef2fa;
  border-color: #c7d2fe;
  color: var(--da-blue);
}
.da-page .saved-item-remove-btn { border-color: var(--da-line); color: var(--da-muted); }
