/* =============================================================
   NILA Connect — v21.21 Full Visual Rebuild
   Loaded LAST. Replaces the v21.19/20 visual layer wholesale.
   New identity: warm paper + deep ink + amber ember accent.
   ============================================================= */

:root{
  --v21-paper:#F4EDDE;
  --v21-paper-2:#EFE6D2;
  --v21-card:#FFFCF6;
  --v21-ink:#0E1726;
  --v21-ink-2:#1E2A3B;
  --v21-ink-3:#3B4A60;
  --v21-mute:#6E7A8C;
  --v21-line:#E6DDC7;
  --v21-line-2:#F1E9D5;
  --v21-ember:#B4441A;       /* primary accent */
  --v21-ember-2:#8E3414;
  --v21-amber:#D8893E;
  --v21-sage:#3F6B5C;
  --v21-sage-2:#274A3F;
  --v21-cream:#F8F2E2;
  --v21-blush:#F0E5D2;
  --v21-display:"Fraunces","Cormorant Garamond",Georgia,serif;
  --v21-sans:"Inter","SF Pro Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  --v21-shadow-1:0 1px 0 rgba(14,23,38,.04), 0 6px 18px -10px rgba(14,23,38,.10);
  --v21-shadow-2:0 1px 0 rgba(14,23,38,.04), 0 30px 60px -34px rgba(14,23,38,.30), 0 10px 24px -12px rgba(14,23,38,.14);
  --v21-r-sm:10px; --v21-r:14px; --v21-r-lg:20px; --v21-r-xl:28px;
}

html,body{ background: var(--v21-paper) !important; color: var(--v21-ink); font-family: var(--v21-sans); }
body{ font-feature-settings: "ss01","cv11"; }

img{ max-width:100%; display:block; }

/* Hide stale v21.19/20 hero blocks once we've moved their hooks into the new shell */
.v21-rebuilt .v19-hero,
.v21-rebuilt .v19-dir-hero{ display:none !important; }

/* ========= MARQUEE NAV ========= */
.v21-topnav{
  position: sticky; top:0; z-index: 50;
  background: rgba(244,237,222,.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--v21-line);
}
.v21-topnav .wrap{
  max-width: 1240px; margin:0 auto; padding: 14px 22px;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
}
.v21-brand{ display:flex; align-items:center; gap:10px; font-family:var(--v21-display); font-weight:600; font-size:20px; color:var(--v21-ink); text-decoration:none; letter-spacing:-.01em; }
.v21-brand .mark{ width:28px; height:28px; border-radius:8px; background: var(--v21-ink); color: var(--v21-paper); display:inline-flex; align-items:center; justify-content:center; font-family: var(--v21-sans); font-weight:800; font-size:14px; letter-spacing:.04em; }
.v21-brand .mark::before{ content:"N"; }
.v21-nav-links{ display:flex; gap:6px; align-items:center; }
.v21-nav-links a{ color:var(--v21-ink-2); font-weight:600; font-size:14px; padding:8px 12px; border-radius:10px; text-decoration:none; transition: background .15s; }
.v21-nav-links a:hover{ background: var(--v21-paper-2); }
.v21-nav-cta{ display:flex; gap:8px; align-items:center; }
.v21-nav-cta .ghost{ color: var(--v21-ink); font-weight:600; font-size:14px; padding:8px 12px; border-radius:10px; text-decoration:none; }
.v21-nav-cta .solid{ background: var(--v21-ink); color: var(--v21-paper); font-weight:700; font-size:14px; padding:10px 16px; border-radius:999px; text-decoration:none; transition: transform .15s, background .15s; }
.v21-nav-cta .solid:hover{ transform: translateY(-1px); background: var(--v21-ember); }
@media (max-width: 880px){ .v21-nav-links{ display:none; } }

/* ========= HERO ========= */
.v21-hero{
  position: relative;
  padding: 28px 0 0;
  background:
    radial-gradient(800px 480px at 0% 0%, rgba(180,68,26,.10), transparent 60%),
    radial-gradient(700px 400px at 100% 0%, rgba(63,107,92,.10), transparent 60%),
    var(--v21-paper);
}
.v21-hero .wrap{ max-width: 1240px; margin:0 auto; padding: 0 22px; }
.v21-hero-grid{
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: stretch;
  padding-block: 32px 48px;
}
@media (max-width: 980px){ .v21-hero-grid{ grid-template-columns: 1fr; gap: 28px; } }

.v21-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--v21-card); border:1px solid var(--v21-line);
  font-weight:600; font-size:12.5px; letter-spacing:.02em; color: var(--v21-ink-2);
  box-shadow: var(--v21-shadow-1);
}
.v21-eyebrow .pulse{ width:8px; height:8px; border-radius:50%; background: var(--v21-ember); box-shadow: 0 0 0 4px rgba(180,68,26,.18); animation: v21pulse 2.4s ease-in-out infinite; }
@keyframes v21pulse{ 50%{ box-shadow:0 0 0 8px rgba(180,68,26,.06); } }

.v21-h1{
  font-family: var(--v21-display);
  font-weight: 600;
  font-size: clamp(42px, 5.8vw, 76px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: var(--v21-ink);
  margin-top: 18px;
}
.v21-h1 em{
  font-style: italic;
  color: var(--v21-ember);
  background: linear-gradient(180deg, transparent 60%, rgba(216,137,62,.30) 60%, rgba(216,137,62,.30) 92%, transparent 92%);
  padding: 0 .08em;
}
.v21-sub{
  margin-top: 18px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.55;
  color: var(--v21-ink-3);
  max-width: 56ch;
}

/* Hero search panel */
.v21-search{
  margin-top: 22px;
  background: var(--v21-card);
  border:1px solid var(--v21-line);
  border-radius: 18px;
  padding: 10px;
  display:grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 8px;
  box-shadow: var(--v21-shadow-2);
}
.v21-search .v21-field{ position:relative; }
.v21-search .v21-field .ic{ position:absolute; left:14px; top:50%; transform: translateY(-50%); color: var(--v21-mute); pointer-events:none; }
.v21-search input, .v21-search select{
  width:100%; height: 54px; padding: 0 14px 0 42px;
  background: transparent; border: 1px solid transparent;
  border-radius: 12px; font-size: 15px; color: var(--v21-ink);
  font-family: inherit;
  transition: background .15s, border-color .15s;
}
.v21-search input:hover, .v21-search select:hover{ background: var(--v21-paper-2); }
.v21-search input:focus, .v21-search select:focus{
  outline:none; background: #fff; border-color: var(--v21-ember);
  box-shadow: 0 0 0 3px rgba(180,68,26,.15);
}
.v21-search .v21-go{
  height: 54px; padding: 0 22px;
  background: var(--v21-ink); color: var(--v21-paper);
  border: none; border-radius: 12px; font-weight: 700; font-size: 15px;
  cursor: pointer; letter-spacing:.01em;
  transition: transform .15s, background .15s;
  display:inline-flex; align-items:center; gap:8px;
}
.v21-search .v21-go:hover{ transform: translateY(-1px); background: var(--v21-ember); }
@media (max-width: 700px){ .v21-search{ grid-template-columns: 1fr; } }

.v21-trust{
  display:flex; flex-wrap:wrap; gap: 14px 22px;
  margin-top: 18px;
}
.v21-trust > div{
  display:inline-flex; align-items:center; gap:10px;
  color: var(--v21-ink-2); font-weight: 600; font-size: 13.5px;
}
.v21-trust .ti{
  width:24px; height:24px; border-radius:50%;
  background: var(--v21-cream); border:1px solid var(--v21-line);
  color: var(--v21-ember); display:inline-flex; align-items:center; justify-content:center;
  font-size: 12px; font-weight:900;
}

.v21-hero-actions{
  display:flex; gap:12px; margin-top: 22px; flex-wrap:wrap;
}
.v21-btn{ display:inline-flex; align-items:center; gap:8px; padding: 12px 18px; border-radius: 999px; font-weight:700; font-size:14px; text-decoration:none; border:1px solid transparent; transition: transform .15s, background .15s, color .15s, border-color .15s; cursor:pointer; }
.v21-btn.primary{ background: var(--v21-ember); color:#fff; }
.v21-btn.primary:hover{ background: var(--v21-ember-2); transform: translateY(-1px); }
.v21-btn.ghost{ background: transparent; color: var(--v21-ink); border-color: var(--v21-line); }
.v21-btn.ghost:hover{ background: var(--v21-card); border-color: var(--v21-ink-2); }
.v21-btn.dark{ background: var(--v21-ink); color: var(--v21-paper); }
.v21-btn.dark:hover{ background: var(--v21-ember); }

/* Hero visual (real photo) */
.v21-hero-visual{
  position: relative;
  border-radius: var(--v21-r-xl);
  overflow: hidden;
  border: 1px solid var(--v21-line);
  box-shadow: var(--v21-shadow-2);
  min-height: 460px;
  background: var(--v21-paper-2);
}
.v21-hero-visual img.cover{
  position:absolute; inset:0; width:100%; height:100%; object-fit: cover;
  transform: scale(1.02);
}
.v21-hero-visual::after{
  content:""; position:absolute; inset:auto 0 0 0; height:55%;
  background: linear-gradient(180deg, transparent, rgba(14,23,38,.55));
}
.v21-hero-visual .ovr{
  position:absolute; left:18px; right:18px; bottom:18px; z-index:2;
  background: rgba(255,252,246,.92); backdrop-filter: blur(10px);
  border:1px solid rgba(14,23,38,.06);
  border-radius: 16px; padding: 14px 16px;
  display:flex; gap:14px; align-items:center;
  box-shadow: var(--v21-shadow-2);
}
.v21-hero-visual .ovr .dot{ width:10px; height:10px; border-radius:50%; background: var(--v21-ember); box-shadow: 0 0 0 4px rgba(180,68,26,.18); flex:0 0 10px; }
.v21-hero-visual .ovr .t{ font-weight:700; color: var(--v21-ink); font-size:14px; }
.v21-hero-visual .ovr .s{ color: var(--v21-ink-3); font-size:12.5px; margin-top:2px; }
.v21-hero-visual .badge-tl{
  position:absolute; left:14px; top:14px; z-index:2;
  background: var(--v21-card); border:1px solid var(--v21-line);
  border-radius: 999px; padding: 6px 12px; font-size:12px; font-weight:700; color: var(--v21-ember-2);
  display:inline-flex; align-items:center; gap:6px;
}
.v21-hero-visual .badge-tl::before{ content:""; width:6px; height:6px; border-radius:50%; background: var(--v21-ember); }

/* ========= CATEGORY STRIP (real photos) ========= */
.v21-section{ padding: 56px 0; }
.v21-section .wrap{ max-width:1240px; margin:0 auto; padding: 0 22px; }
.v21-section.tight{ padding: 32px 0; }
.v21-section.alt{ background: var(--v21-paper-2); }
.v21-section-head{ display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom: 26px; flex-wrap: wrap; }
.v21-h2{ font-family: var(--v21-display); font-weight: 600; font-size: clamp(28px, 3vw, 40px); letter-spacing:-.02em; color: var(--v21-ink); line-height:1.1; }
.v21-lede{ color: var(--v21-ink-3); font-size: 15.5px; max-width: 56ch; margin-top: 8px; }

.v21-cat-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 980px){ .v21-cat-grid{ grid-template-columns: repeat(2, 1fr); } }
.v21-cat{
  position: relative; overflow:hidden; border-radius: var(--v21-r-lg);
  background: var(--v21-card); border:1px solid var(--v21-line);
  text-decoration:none; color: var(--v21-ink);
  display:flex; flex-direction:column; transition: transform .2s, box-shadow .2s;
  box-shadow: var(--v21-shadow-1);
}
.v21-cat:hover{ transform: translateY(-3px); box-shadow: var(--v21-shadow-2); }
.v21-cat .ph{ aspect-ratio: 4/3; overflow:hidden; background: var(--v21-paper-2); }
.v21-cat .ph img{ width:100%; height:100%; object-fit: cover; transition: transform .4s ease; }
.v21-cat:hover .ph img{ transform: scale(1.04); }
.v21-cat .meta{ padding: 14px 16px 16px; }
.v21-cat .meta h3{ font-family: var(--v21-display); font-weight: 600; font-size: 19px; letter-spacing:-.01em; }
.v21-cat .meta p{ color: var(--v21-mute); font-size: 13px; margin-top: 4px; }
.v21-cat .meta .more{ margin-top:10px; font-size:13px; font-weight:700; color: var(--v21-ember); display:inline-flex; align-items:center; gap:6px; }

/* ========= HOW IT WORKS ========= */
.v21-steps{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px){ .v21-steps{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px){ .v21-steps{ grid-template-columns: 1fr; } }
.v21-step{
  background: var(--v21-card); border:1px solid var(--v21-line); border-radius: var(--v21-r-lg);
  padding: 22px; box-shadow: var(--v21-shadow-1); position:relative; overflow:hidden;
}
.v21-step .n{ font-family: var(--v21-display); font-weight: 600; color: var(--v21-ember); font-size: 28px; letter-spacing:-.01em; }
.v21-step h4{ font-size: 16px; font-weight: 700; color: var(--v21-ink); margin-top: 6px; }
.v21-step p{ color: var(--v21-ink-3); font-size: 14px; margin-top: 6px; line-height: 1.55; }

/* ========= TRUST BAND ========= */
.v21-trustband{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px){ .v21-trustband{ grid-template-columns: 1fr; } }
.v21-tcard{
  background: var(--v21-card); border:1px solid var(--v21-line); border-radius: var(--v21-r-lg);
  padding: 22px; box-shadow: var(--v21-shadow-1);
}
.v21-tcard .ic{ width:40px; height:40px; border-radius:12px; background: var(--v21-cream); border:1px solid var(--v21-line); display:inline-flex; align-items:center; justify-content:center; color: var(--v21-ember); margin-bottom:10px; }
.v21-tcard h4{ font-size:17px; font-weight:700; color: var(--v21-ink); }
.v21-tcard p{ color: var(--v21-ink-3); font-size: 14px; margin-top: 6px; line-height:1.55; }

/* ========= PROVIDER CTA BAND ========= */
.v21-pcta{
  background: var(--v21-ink);
  color: var(--v21-paper);
  border-radius: var(--v21-r-xl);
  padding: 36px;
  display:grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items:center;
  box-shadow: var(--v21-shadow-2);
  position: relative; overflow: hidden;
}
.v21-pcta::before{
  content:""; position:absolute; inset:auto -40px -60px auto; width:280px; height:280px;
  background: radial-gradient(circle at 30% 30%, rgba(180,68,26,.55), transparent 60%);
}
.v21-pcta h2{ font-family: var(--v21-display); font-weight:600; font-size: clamp(26px,2.6vw,34px); color: var(--v21-paper); letter-spacing:-.015em; }
.v21-pcta p{ color: rgba(244,237,222,.78); margin-top:10px; font-size:15px; line-height:1.55; max-width: 48ch; }
.v21-pcta .stats{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; position:relative; z-index:1; }
.v21-pcta .stat{ background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.10); border-radius: var(--v21-r); padding: 14px; }
.v21-pcta .stat .v{ font-family: var(--v21-display); font-weight:600; font-size: 24px; color: var(--v21-paper); }
.v21-pcta .stat .l{ color: rgba(244,237,222,.7); font-size: 12.5px; margin-top: 2px; }
.v21-pcta .actions{ margin-top: 18px; display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width: 880px){ .v21-pcta{ grid-template-columns: 1fr; padding: 26px; } }

/* ========= DIRECTORY ========= */
.v21-dir-hero{
  background:
    radial-gradient(700px 360px at 0% 0%, rgba(180,68,26,.08), transparent 60%),
    radial-gradient(700px 360px at 100% 0%, rgba(63,107,92,.08), transparent 60%),
    var(--v21-paper);
  border-bottom: 1px solid var(--v21-line);
  padding: 28px 0 22px;
}
.v21-dir-hero .wrap{ max-width: 1340px; margin:0 auto; padding: 0 22px; }
.v21-dir-title{ display:flex; align-items:flex-end; justify-content:space-between; gap: 18px; flex-wrap:wrap; margin-bottom: 18px; }
.v21-dir-title h1{ font-family: var(--v21-display); font-weight:600; font-size: clamp(28px, 3vw, 40px); letter-spacing:-.02em; color: var(--v21-ink); }
.v21-dir-title p{ color: var(--v21-ink-3); margin-top: 6px; font-size: 15px; max-width: 56ch; }

.v21-dir-search{
  background: var(--v21-card);
  border: 1px solid var(--v21-line);
  border-radius: 16px;
  padding: 10px;
  display: grid; grid-template-columns: 1.2fr 1fr auto auto; gap: 8px;
  box-shadow: var(--v21-shadow-1);
}
.v21-dir-search input, .v21-dir-search select{
  height: 48px; padding: 0 12px; border-radius: 10px; border: 1px solid transparent; background: transparent; color: var(--v21-ink); font-size: 14.5px;
  font-family: inherit;
}
.v21-dir-search input:focus, .v21-dir-search select:focus{ outline:none; background:#fff; border-color: var(--v21-ember); box-shadow: 0 0 0 3px rgba(180,68,26,.15); }
.v21-dir-search .v21-go{ height:48px; padding: 0 18px; background: var(--v21-ink); color: var(--v21-paper); border:none; border-radius: 10px; font-weight:700; font-size:14px; cursor:pointer; }
.v21-dir-search .v21-go:hover{ background: var(--v21-ember); }
.v21-dir-search .v21-loc-use{ height:48px; padding: 0 14px; background: transparent; border:1px solid var(--v21-line); color: var(--v21-ink); border-radius: 10px; font-weight:600; font-size:13.5px; cursor:pointer; }
.v21-dir-search .v21-loc-use:hover{ background: var(--v21-paper-2); }
@media (max-width: 880px){ .v21-dir-search{ grid-template-columns: 1fr 1fr; } .v21-dir-search .v21-go, .v21-dir-search .v21-loc-use{ grid-column: span 2; } }

.v21-cat-rail{
  position: sticky; top: 60px; z-index: 10;
  background: rgba(244,237,222,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v21-line);
  padding: 10px 0;
}
.v21-cat-rail .wrap{ max-width: 1340px; margin:0 auto; padding: 0 22px; display:flex; gap:8px; overflow-x:auto; }
.v21-cat-rail .chip{
  display:inline-flex; align-items:center; gap:8px; white-space:nowrap;
  background: var(--v21-card); border:1px solid var(--v21-line); color: var(--v21-ink-2);
  padding: 8px 14px; border-radius: 999px; font-weight:600; font-size:13px;
  cursor:pointer; text-decoration:none; transition: transform .15s, background .15s, color .15s, border-color .15s;
}
.v21-cat-rail .chip:hover{ background:#fff; border-color: var(--v21-ink-3); transform: translateY(-1px); }
.v21-cat-rail .chip.active{ background: var(--v21-ink); color: var(--v21-paper); border-color: var(--v21-ink); }

.v21-dir-body{ max-width: 1340px; margin: 0 auto; padding: 26px 22px 56px; display:grid; grid-template-columns: 1.1fr .9fr; gap: 26px; }
@media (max-width: 1040px){ .v21-dir-body{ grid-template-columns: 1fr; } }
.v21-dir-toolbar{ display:flex; align-items:center; gap:10px; flex-wrap: wrap; margin-bottom: 14px; }
.v21-dir-toolbar select{
  background: var(--v21-card); border:1px solid var(--v21-line); border-radius: 10px;
  padding: 8px 12px; font-size: 13px; font-weight: 600; color: var(--v21-ink-2); font-family: inherit;
}
.v21-dir-toolbar .count{ color: var(--v21-mute); font-size: 13.5px; }
.v21-dir-map{ position: sticky; top: 130px; align-self: start; }
.v21-dir-map .frame{
  border-radius: var(--v21-r-lg); overflow:hidden; border:1px solid var(--v21-line);
  box-shadow: var(--v21-shadow-2); height: calc(100vh - 200px); min-height: 460px;
  background: var(--v21-paper-2);
}
@media (max-width: 1040px){ .v21-dir-map{ position: static; } .v21-dir-map .frame{ height: 360px; } }

/* Provider cards — Airbnb-style marketplace listings */
.dir-card, .premium-card, .pd-card, .cd-card, .nila-pcard, .nila-gcard, .provider-card{
  background: var(--v21-card) !important;
  border: 1px solid var(--v21-line) !important;
  border-radius: var(--v21-r-lg) !important;
  padding: 18px !important;
  box-shadow: var(--v21-shadow-1) !important;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
}
.dir-card:hover, .premium-card:hover, .nila-pcard:hover, .nila-gcard:hover, .provider-card:hover{
  transform: translateY(-3px); box-shadow: var(--v21-shadow-2) !important; border-color: rgba(180,68,26,.25) !important;
}

/* Identity strip injected by v21.21-rebuild.js */
.v21-id{ display:flex; align-items:center; gap:12px; margin-bottom: 10px; }
.v21-id .av{
  width:48px; height:48px; border-radius: 14px;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight: 800; font-size: 16px; color:#fff; letter-spacing:.02em;
  flex:0 0 48px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 6px 16px -8px rgba(14,23,38,.35);
}
.v21-id .av.p0{ background: linear-gradient(140deg,#D8893E,#B4441A,#7E2A0F); }
.v21-id .av.p1{ background: linear-gradient(140deg,#5E8C7A,#3F6B5C,#274A3F); }
.v21-id .av.p2{ background: linear-gradient(140deg,#3B4A60,#1E2A3B,#0E1726); }
.v21-id .av.p3{ background: linear-gradient(140deg,#C2A062,#8E6B2F,#5E4419); }
.v21-id .meta{ min-width:0; flex:1; }
.v21-id .meta .title{ font-weight:700; color: var(--v21-ink); font-size: 16px; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.v21-id .meta .sub{ color: var(--v21-mute); font-size: 13px; margin-top:3px; }
.v21-chips{ display:flex; gap:6px; flex-wrap:wrap; margin-top: 4px; }
.v21-chip{
  display:inline-flex; align-items:center; gap:6px; padding: 4px 10px; border-radius:999px;
  background: var(--v21-cream); border:1px solid var(--v21-line);
  color: var(--v21-ink-2); font-size: 11.5px; font-weight:600;
}
.v21-chip.verified{ background: rgba(63,107,92,.08); color: var(--v21-sage-2); border-color: rgba(63,107,92,.22); }
.v21-chip.google{ background: rgba(58,110,165,.08); color: #234d7c; border-color: rgba(58,110,165,.22); }
.v21-chip.new{ background: rgba(180,68,26,.08); color: var(--v21-ember-2); border-color: rgba(180,68,26,.22); }
.v21-chip .d{ width:6px; height:6px; border-radius:50%; background: currentColor; opacity:.7; }

/* Section divider for Google nearby */
.v21-sep{
  margin: 22px 0 14px;
  display:flex; align-items:center; gap:12px;
  color: var(--v21-mute); font-size: 12.5px; letter-spacing:.06em; text-transform: uppercase; font-weight:700;
}
.v21-sep::before, .v21-sep::after{ content:""; flex:1; height:1px; background: var(--v21-line); }

/* Empty / failure state */
.v21-empty{
  background: var(--v21-card); border:1px dashed rgba(180,68,26,.4);
  border-radius: var(--v21-r-lg); padding: 28px; text-align:center;
}
.v21-empty h4{ font-family: var(--v21-display); font-weight:600; font-size:22px; color: var(--v21-ink); }
.v21-empty p{ color: var(--v21-ink-3); font-size:14px; margin-top: 6px; }
.v21-empty .v21-btn{ margin-top: 14px; }

/* ========= PROVIDER PROFILE ========= */
.v21-pp-cover{
  position:relative; height: 320px; overflow:hidden;
  border-radius: var(--v21-r-xl);
  border:1px solid var(--v21-line);
  box-shadow: var(--v21-shadow-2);
  margin: 22px auto;
  max-width: 1240px;
}
.v21-pp-cover img{ position:absolute; inset:0; width:100%; height:100%; object-fit: cover; transform: scale(1.02); }
.v21-pp-cover::after{ content:""; position:absolute; inset:auto 0 0 0; height:60%; background: linear-gradient(180deg, transparent, rgba(14,23,38,.55)); }
.v21-pp-cover .crumb{ position:absolute; top:16px; left:16px; z-index:2; background: rgba(255,252,246,.92); border-radius: 999px; padding: 6px 12px; font-size:12.5px; font-weight:600; color: var(--v21-ink); text-decoration:none; }
.v21-pp-actions{
  position: sticky; bottom: 16px; z-index: 20;
  margin: 0 auto; max-width: 720px;
  background: rgba(255,252,246,.94); backdrop-filter: blur(10px);
  border: 1px solid var(--v21-line);
  border-radius: 999px; padding: 8px 10px;
  display:flex; gap:8px; justify-content:center; align-items:center; flex-wrap:wrap;
  box-shadow: var(--v21-shadow-2);
}

/* ========= DASHBOARDS ========= */
.v21-dash-shell{ background: var(--v21-paper); min-height: 100vh; }
.v21-nba{
  background: var(--v21-ink); color: var(--v21-paper);
  border-radius: var(--v21-r-xl); padding: 26px;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  box-shadow: var(--v21-shadow-2);
  margin-bottom: 18px; position:relative; overflow:hidden;
}
.v21-nba::before{ content:""; position:absolute; inset:auto -40px -60px auto; width:280px; height:280px; background: radial-gradient(circle at 30% 30%, rgba(180,68,26,.55), transparent 60%); }
.v21-nba .t h3{ font-family: var(--v21-display); font-weight:600; font-size:22px; }
.v21-nba .t p{ color: rgba(244,237,222,.8); margin-top: 4px; font-size: 14.5px; max-width: 56ch; }
.v21-nba .cta{ background: var(--v21-paper); color: var(--v21-ink); border-radius: 999px; padding: 11px 18px; font-weight: 700; font-size: 14px; text-decoration:none; white-space:nowrap; flex-shrink:0; z-index:1; }
.v21-nba .cta:hover{ background: var(--v21-ember); color:#fff; }
@media (max-width: 640px){ .v21-nba{ flex-direction:column; align-items:flex-start; } }

.v21-stat-row{ display:grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 18px; }
@media (max-width:980px){ .v21-stat-row{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:520px){ .v21-stat-row{ grid-template-columns: 1fr; } }
.v21-stat{ background: var(--v21-card); border:1px solid var(--v21-line); border-radius: var(--v21-r-lg); padding: 16px; box-shadow: var(--v21-shadow-1); position:relative; overflow:hidden; }
.v21-stat .l{ font-size:12px; color: var(--v21-mute); font-weight:600; letter-spacing:.04em; text-transform: uppercase; }
.v21-stat .v{ font-family: var(--v21-display); font-weight:600; font-size: 30px; letter-spacing:-.01em; color: var(--v21-ink); margin-top:4px; }
.v21-stat .h{ font-size:12.5px; color: var(--v21-ink-3); margin-top:4px; }
.v21-stat .g{ position:absolute; right:-12px; bottom:-14px; width:80px; height:80px; border-radius:50%; background: radial-gradient(circle at 30% 30%, rgba(180,68,26,.12), transparent 60%); }
.v21-dash-h{ display:flex; justify-content:space-between; align-items:center; margin: 18px 0 10px; }
.v21-dash-h h3{ font-family: var(--v21-display); font-size:20px; font-weight:600; color: var(--v21-ink); }
.v21-dash-h .lnk{ color: var(--v21-ember); font-weight:700; font-size:13.5px; text-decoration:none; }

/* ========= FOOTER ========= */
.v21-footer{ background: var(--v21-card); border-top:1px solid var(--v21-line); padding: 36px 0 28px; margin-top: 36px; }
.v21-footer .wrap{ max-width:1240px; margin:0 auto; padding: 0 22px; display:flex; justify-content:space-between; gap:24px; flex-wrap:wrap; color: var(--v21-ink-3); font-size:13.5px; }
.v21-footer a{ color: var(--v21-ink-2); text-decoration:none; margin-right: 14px; font-weight:600; }
.v21-footer a:hover{ color: var(--v21-ember); }

/* Calm reveal */
@media (prefers-reduced-motion: no-preference){
  .v21-reveal{ opacity:0; transform: translateY(8px); transition: opacity .55s ease, transform .55s ease; }
  .v21-reveal.is-in{ opacity:1; transform: none; }
}

/* Focus rings */
:where(.v21-hero,.v21-dir-hero,.v21-dir-body,.v21-pp-cover,.v21-dash-shell) a:focus-visible,
:where(.v21-hero,.v21-dir-hero,.v21-dir-body,.v21-pp-cover,.v21-dash-shell) button:focus-visible,
:where(.v21-hero,.v21-dir-hero,.v21-dir-body,.v21-pp-cover,.v21-dash-shell) input:focus-visible,
:where(.v21-hero,.v21-dir-hero,.v21-dir-body,.v21-pp-cover,.v21-dash-shell) select:focus-visible{
  outline: 2px solid var(--v21-ember); outline-offset: 2px; border-radius: 10px;
}

/* Neutralise v20 visual layer that would otherwise leak through */
.v19-hero, .v19-dir-hero, .v19-section, .v19-section.alt, .v19-provider-cta{
  background: transparent !important;
}
.v19-hero::before, .v19-hero::after{ display:none !important; }
.v19-section-head h2{ font-family: var(--v21-display) !important; }

