
/* NaroVeda V7 scoped navigation enhancement. Load AFTER existing app.css. */
.nv-header { --nv-red:#C63A27; --nv-orange:#E98232; --nv-cream:#FFF7F2; --nv-ink:#292522; --nv-line:#E9E1DC; }
.nv-primary { align-items:center; gap:clamp(8px,1.1vw,19px); white-space:nowrap; }
.nv-primary__link {display:inline-flex;align-items:center;gap:5px;padding:10px 3px;color:inherit;font-size:clamp(11px,.87vw,14px);font-weight:600;text-decoration:none;border-radius:8px;transition:color .18s ease,background-color .18s ease}
.nv-primary__link:hover,.nv-primary__link:focus-visible,.nv-primary__trigger[aria-expanded="true"]{color:var(--nv-red)}
.nv-nav-group {position:relative}
.nv-primary__trigger {background:none;border:0;cursor:pointer;position:relative;border-radius:8px}
.nv-primary__trigger:hover{background:var(--nv-cream);color:var(--nv-red);box-shadow:0 0 0 1px rgba(198,58,39,.08) inset}
.nv-primary__trigger::after{content:'';position:absolute;left:11px;right:11px;bottom:2px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--nv-red),var(--nv-orange));transform:scaleX(0);opacity:0;transition:transform .22s cubic-bezier(.16,1,.3,1),opacity .22s ease;transform-origin:center}
.nv-primary__trigger:hover::after,.nv-primary__trigger[aria-expanded="true"]::after{transform:scaleX(1);opacity:1}
.nv-primary__trigger svg{transition:transform .32s cubic-bezier(.34,1.56,.64,1)}
.nv-primary__trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
/* Mega panel anchors to its OWN trigger (not the full-width sticky header), so it always
   opens flush against the hovered item instead of jumping to a fixed centred position. */
.nv-mega {position:absolute;top:calc(100% + 12px);left:0;width:min(1250px,calc(100vw - 32px));max-height:min(74vh,690px);overflow-y:auto;overscroll-behavior:contain;background:#fff;color:var(--nv-ink);border:1px solid var(--nv-line);border-radius:18px;box-shadow:0 1px 0 rgba(255,255,255,.8) inset,0 24px 48px -12px rgba(45,30,20,.22),0 0 0 1px rgba(198,58,39,.04);padding:22px;white-space:normal;z-index:70;transform-origin:top center}
/* Custom enter/leave transition classes (used via Alpine x-transition:enter/leave instead
   of Tailwind utility classes, since this deployment has no build step to compile new
   utilities) — smooth fade + gentle drop + scale, anchored in place, never sliding sideways. */
.nv-mega-enter{transition:opacity .24s cubic-bezier(.16,1,.3,1),transform .24s cubic-bezier(.16,1,.3,1)}
.nv-mega-enter-start{opacity:0;transform:translateY(-8px) scale(.97)}
.nv-mega-enter-end{opacity:1;transform:translateY(0) scale(1)}
.nv-mega-leave{transition:opacity .16s ease,transform .16s ease}
.nv-mega-leave-start{opacity:1;transform:translateY(0) scale(1)}
.nv-mega-leave-end{opacity:0;transform:translateY(-5px) scale(.98)}
.nv-mega__heading{display:flex;align-items:center;gap:14px;margin-bottom:17px;padding-bottom:12px;border-bottom:1px solid var(--nv-line)}
.nv-mega__heading strong{display:block;font-size:20px;line-height:1.3}
.nv-mega__heading small{display:block;font-size:12px;color:#625B57;margin-top:3px}
.nv-mega__three{display:grid;grid-template-columns: minmax(220px,1.15fr) minmax(460px,2.3fr) minmax(205px,1fr);gap:15px}
.nv-mega__program-list{display:grid;grid-template-columns:1fr;gap:3px}
.nv-mega__item{display:flex;align-items:center;gap:9px;padding:5px 7px;border-radius:10px;text-decoration:none;color:var(--nv-ink);font-size:12px;font-weight:650}
.nv-mega__item span:nth-child(2){flex:1}
.nv-mega__item,.nv-mega__link-card{transition:background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease}
.nv-mega__item:hover,.nv-mega__link-card:hover{background:var(--nv-cream);color:var(--nv-red);box-shadow:0 10px 22px -12px rgba(45,30,20,.2);transform:translateY(-1px)}
.nv-mega__link-card:hover{border-color:#F3C9BB}
.nv-mega__benefits{padding:4px 10px}
.nv-mega__benefits h3{font-size:19px;line-height:1.3;text-align:center;font-weight:800;margin:0 0 15px}
.nv-benefit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.nv-benefit{min-width:0;min-height:93px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:7px;padding:10px 5px;background:#fff;border:1px solid #F0E4DD;border-radius:13px;box-shadow:0 4px 12px rgba(45,30,20,.035)}
.nv-benefit strong{font-size:11px;line-height:1.25;overflow-wrap:anywhere}
.nv-mega__feature{background:linear-gradient(145deg,#FFF7F2,#FFEBDD);border-radius:18px;padding:22px 15px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.nv-mega__feature h3{font-size:22px;line-height:1.2;font-weight:800;margin:17px 0 9px}
.nv-mega__feature p{font-size:12px;line-height:1.6;margin-bottom:18px}
.nv-mega__cta{display:inline-flex;background:var(--nv-red);color:white;padding:11px 14px;border-radius:12px;font-weight:700;font-size:12px;text-decoration:none}
.nv-mega__note{font-size:11px;color:#625B57;line-height:1.55;margin-top:10px}
.nv-mega__link-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px}
.nv-mega__link-card{display:flex;align-items:center;gap:10px;border:1px solid #F0E4DD;padding:12px 10px;border-radius:14px;color:var(--nv-ink);text-decoration:none}
.nv-mega__link-card strong{display:block;font-size:12px;line-height:1.35}
.nv-mega__link-card small{display:block;font-size:10px;line-height:1.4;color:#625B57;margin-top:4px}
.nv-resources-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.nv-resource-group{background:#FFFDFB;border:1px solid #F0E4DD;border-radius:16px;padding:15px}
.nv-resource-group__head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.nv-resource-group__head h3{font-size:14px;font-weight:750;line-height:1.3}
.nv-resource-group>a{display:block;padding:7px 0;color:var(--nv-ink);text-decoration:none;font-size:12px;line-height:1.3}
.nv-resource-group>a:hover{color:var(--nv-red);text-decoration:underline}
/* Icon tile — replaces the old spinning-ring "orbit" treatment with a calm,
   static squircle badge (soft gradient + inner highlight + layered shadow).
   Same --orbit-size custom property and size modifiers as before, so no
   Blade markup anywhere needed to change: swapping this block alone
   restyles every icon badge on the site at once. */
.nv-orbit{
    --orbit-size:54px;
    position:relative;
    width:var(--orbit-size);
    height:var(--orbit-size);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:none;
    background:linear-gradient(155deg,#FFFFFF 0%,#FFF1E7 100%);
    border:1px solid #F8E4D8;
    border-radius:30%;
    color:var(--nv-red);
    box-shadow:0 1px 2px rgba(45,30,20,.04), 0 6px 14px -6px rgba(45,30,20,.12), 0 0 0 3px rgba(255,255,255,.5), inset 0 1px 0 rgba(255,255,255,.8), inset 0 -6px 10px -8px rgba(45,30,20,.12);
}
.nv-orbit--small{--orbit-size:38px;border-radius:26%}
.nv-orbit--large{--orbit-size:78px;border-radius:24%}
.nv-orbit svg,.nv-orbit i{width:23px;height:23px;stroke-width:1.9;position:relative;z-index:1}
.nv-orbit--small svg,.nv-orbit--small i{width:19px;height:19px}
.nv-orbit--large svg,.nv-orbit--large i{width:35px;height:35px}

/* Colorful, distinct icon tones — cycles red / orange / green across list items so each
   category reads at a glance, while staying inside the brand's red/orange/botanical-green palette. */
.nv-mega__link-card,.nv-mega__item,.nv-resource-group__head{transition:transform .18s ease}
.nv-mega__link-card:hover .nv-orbit,.nv-mega__item:hover .nv-orbit,.nv-resource-group__head:hover .nv-orbit,.nv-benefit:hover .nv-orbit,.nv-cond-card:hover .nv-orbit{animation:none;translate:0 -2px;scale:1.08;box-shadow:0 10px 20px -6px rgba(45,30,20,.22), inset 0 1px 0 rgba(255,255,255,.7);}
.nv-orbit{transition:translate .18s ease,scale .18s ease,rotate .18s ease,box-shadow .18s ease}
/* Motion graphics pass: icon badges get a one-shot "pop" entrance (bouncy scale+rotate-in)
   plus a continuous gentle idle float once settled — alive without being distracting.
   Uses the standalone translate/scale/rotate CSS properties (not the `transform` shorthand)
   so this ambient motion and the hover lift/rotate below never fight over one property. */
@keyframes nv-icon-pop{0%{opacity:0;scale:.55;rotate:-14deg}65%{opacity:1;scale:1.1;rotate:5deg}100%{opacity:1;scale:1;rotate:0deg}}
@keyframes nv-icon-float{0%,100%{translate:0 0}50%{translate:0 -3px}}
.nv-mega__link-card .nv-orbit,.nv-mega__item .nv-orbit,.nv-resource-group__head .nv-orbit,.nv-benefit .nv-orbit,.nv-cond-card .nv-orbit{
    animation:nv-icon-pop .45s cubic-bezier(.34,1.56,.64,1) backwards,nv-icon-float 3.4s ease-in-out .5s infinite;
}
.nv-mega__link-grid a:nth-child(3n+2) .nv-orbit,.nv-mega__program-list a:nth-child(3n+2) .nv-orbit,.nv-benefit-grid .nv-benefit:nth-child(3n+2) .nv-orbit,.nv-resource-group:nth-child(3n+2) .nv-orbit,.nv-cond-grid>a:nth-child(3n+2) .nv-orbit{animation-delay:.05s,.75s}
.nv-mega__link-grid a:nth-child(3n) .nv-orbit,.nv-mega__program-list a:nth-child(3n) .nv-orbit,.nv-benefit-grid .nv-benefit:nth-child(3n) .nv-orbit,.nv-resource-group:nth-child(3n) .nv-orbit,.nv-cond-grid>a:nth-child(3n) .nv-orbit{animation-delay:.1s,1s}
/* A soft "ping" ring expands outward from the icon on hover — a quick, tasteful sonar
   pulse rather than a static lift, layered on top of the existing scale/lift above. */
.nv-mega__link-card .nv-orbit::after,.nv-mega__item .nv-orbit::after,.nv-resource-group__head .nv-orbit::after,.nv-benefit .nv-orbit::after,.nv-cond-card .nv-orbit::after{content:'';position:absolute;inset:0;border-radius:inherit;border:1.5px solid currentColor;opacity:0;pointer-events:none}
.nv-mega__link-card:hover .nv-orbit::after,.nv-mega__item:hover .nv-orbit::after,.nv-resource-group__head:hover .nv-orbit::after,.nv-benefit:hover .nv-orbit::after,.nv-cond-card:hover .nv-orbit::after{animation:nv-icon-ping .5s ease-out}
@keyframes nv-icon-ping{0%{opacity:.45;scale:1}100%{opacity:0;scale:1.55}}
/* Heading orbit (the big icon badge at the top of each open mega panel, identifying the
   main category): a calm "breathing" halo instead of the old spinning-ring treatment —
   a soft pulsing glow ring behind the badge, subtle enough to read as "alive" rather than
   distracting. Scoped to .nv-orbit--heading only, so item-level icons are unaffected. */
.nv-orbit--heading{--orbit-size:54px;position:relative;z-index:0}
.nv-orbit--heading::before{
    content:'';
    position:absolute;
    inset:-6px;
    border-radius:inherit;
    background:inherit;
    opacity:.55;
    z-index:-1;
    animation:nv-orbit-pulse 2.6s ease-in-out infinite;
}
@keyframes nv-orbit-pulse{
    0%,100%{transform:scale(1);opacity:.45}
    50%{transform:scale(1.18);opacity:0}
}
/* Moving circle, take two: a small dot orbits the heading badge on a perfect circular path
   built from plain rotate+translate transforms. Unlike the earlier conic-gradient +
   -webkit-mask-composite ring (removed — it rendered as a solid opaque "chip" on browsers
   where the mask failed to apply, hiding the icon underneath), this can only ever fail
   "soft": worst case the dot simply sits still, it can never paint over the icon. */
.nv-orbit--heading::after{
    content:'';
    position:absolute;
    top:50%;left:50%;
    width:7px;height:7px;
    margin:-3.5px 0 0 -3.5px;
    border-radius:50%;
    background:radial-gradient(circle,var(--nv-orange),var(--nv-red));
    box-shadow:0 0 7px 1px rgba(233,130,50,.65);
    animation:nv-orbit-dot-spin 3.4s linear infinite;
    pointer-events:none;
    z-index:2;
}
@keyframes nv-orbit-dot-spin{
    from{transform:rotate(0deg) translateX(29px) rotate(0deg)}
    to{transform:rotate(360deg) translateX(29px) rotate(-360deg)}
}
/* Entrance + a second accent: the heading badge pops in with a touch more flourish than the
   item icons (it's the focal point when a panel opens), then settles into a slow ring-pulse —
   the badge's own box-shadow softly expanding/glowing in the brand orange — layered behind
   the breathing halo and the orbiting dot above for a richer but still calm motion read. */
.nv-orbit--heading{animation:nv-icon-pop .5s cubic-bezier(.34,1.56,.64,1) backwards,nv-orbit-ring-pulse 2.6s ease-in-out .3s infinite}
@keyframes nv-orbit-ring-pulse{
    0%,100%{box-shadow:0 1px 2px rgba(45,30,20,.04), 0 6px 14px -6px rgba(45,30,20,.12), 0 0 0 3px rgba(255,255,255,.5), inset 0 1px 0 rgba(255,255,255,.8), inset 0 -6px 10px -8px rgba(45,30,20,.12)}
    50%{box-shadow:0 1px 2px rgba(45,30,20,.04), 0 6px 14px -6px rgba(45,30,20,.12), 0 0 0 7px rgba(233,130,50,.18), inset 0 1px 0 rgba(255,255,255,.8), inset 0 -6px 10px -8px rgba(45,30,20,.12)}
}
/* Mega-panel items: a quick staggered fade/slide-up as each panel opens, plus a gentle
   icon rotation on hover (on top of the existing lift+scale) — the "new effect" for the
   items inside each category, applied without touching the heading badge above. */
@keyframes nv-mega-item-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.nv-mega__link-card,.nv-mega__item,.nv-resource-group,.nv-benefit{animation:nv-mega-item-in .3s ease backwards}
.nv-mega__link-grid>a:nth-child(1),.nv-mega__program-list>a:nth-child(1),.nv-resources-grid>.nv-resource-group:nth-child(1),.nv-benefit-grid>.nv-benefit:nth-child(1){animation-delay:.02s}
.nv-mega__link-grid>a:nth-child(2),.nv-mega__program-list>a:nth-child(2),.nv-resources-grid>.nv-resource-group:nth-child(2),.nv-benefit-grid>.nv-benefit:nth-child(2){animation-delay:.05s}
.nv-mega__link-grid>a:nth-child(3),.nv-mega__program-list>a:nth-child(3),.nv-resources-grid>.nv-resource-group:nth-child(3),.nv-benefit-grid>.nv-benefit:nth-child(3){animation-delay:.08s}
.nv-mega__link-grid>a:nth-child(4),.nv-mega__program-list>a:nth-child(4),.nv-resources-grid>.nv-resource-group:nth-child(4),.nv-benefit-grid>.nv-benefit:nth-child(4){animation-delay:.11s}
.nv-mega__link-grid>a:nth-child(5),.nv-mega__program-list>a:nth-child(5),.nv-benefit-grid>.nv-benefit:nth-child(5){animation-delay:.14s}
.nv-mega__link-grid>a:nth-child(6),.nv-mega__program-list>a:nth-child(6),.nv-benefit-grid>.nv-benefit:nth-child(6){animation-delay:.17s}
.nv-mega__link-grid>a:nth-child(7){animation-delay:.2s}
.nv-mega__link-grid>a:nth-child(8){animation-delay:.23s}
.nv-mega__link-grid>a:nth-child(9){animation-delay:.26s}
.nv-mega__link-grid>a:nth-child(10){animation-delay:.29s}
.nv-mega__link-card:hover .nv-orbit,.nv-mega__item:hover .nv-orbit{animation:none;translate:0 -2px;rotate:-6deg;scale:1.08}
.nv-mega__link-grid a:nth-child(3n+1) .nv-orbit,.nv-mega__program-list a:nth-child(3n+1) .nv-orbit,.nv-benefit-grid .nv-benefit:nth-child(3n+1) .nv-orbit,.nv-resource-group:nth-child(3n+1) .nv-orbit,.nv-resources-grid .nv-resource-group:nth-child(3n+1)>a:nth-child(odd) .nv-orbit{background:linear-gradient(155deg,#FFFFFF 0%,#FDECE7 100%);border-color:#F3C9BB;color:#C63A27}
.nv-mega__link-grid a:nth-child(3n+2) .nv-orbit,.nv-mega__program-list a:nth-child(3n+2) .nv-orbit,.nv-benefit-grid .nv-benefit:nth-child(3n+2) .nv-orbit,.nv-resource-group:nth-child(3n+2) .nv-orbit{background:linear-gradient(155deg,#FFFFFF 0%,#FFF1DE 100%);border-color:#F8D7A8;color:#B9631A}
.nv-mega__link-grid a:nth-child(3n) .nv-orbit,.nv-mega__program-list a:nth-child(3n) .nv-orbit,.nv-benefit-grid .nv-benefit:nth-child(3n) .nv-orbit,.nv-resource-group:nth-child(3n) .nv-orbit{background:linear-gradient(155deg,#FFFFFF 0%,#EAF3E3 100%);border-color:#C9E0B7;color:#24501D}
.dark .nv-mega__link-grid a:nth-child(3n+1) .nv-orbit,.dark .nv-mega__program-list a:nth-child(3n+1) .nv-orbit,.dark .nv-benefit-grid .nv-benefit:nth-child(3n+1) .nv-orbit,.dark .nv-resource-group:nth-child(3n+1) .nv-orbit{background:#402822;border-color:#6B3B2E;color:#F3A48E}
.dark .nv-mega__link-grid a:nth-child(3n+2) .nv-orbit,.dark .nv-mega__program-list a:nth-child(3n+2) .nv-orbit,.dark .nv-benefit-grid .nv-benefit:nth-child(3n+2) .nv-orbit,.dark .nv-resource-group:nth-child(3n+2) .nv-orbit{background:#43331F;border-color:#6E5227;color:#F3C27C}
.dark .nv-mega__link-grid a:nth-child(3n) .nv-orbit,.dark .nv-mega__program-list a:nth-child(3n) .nv-orbit,.dark .nv-benefit-grid .nv-benefit:nth-child(3n) .nv-orbit,.dark .nv-resource-group:nth-child(3n) .nv-orbit{background:#273420;border-color:#3F5A33;color:#9BC87F}
.nv-mega a:focus-visible,.nv-header button:focus-visible,.nv-mobile-drawer a:focus-visible{outline:3px solid #E98232;outline-offset:2px}
.nv-drawer-backdrop{position:fixed;inset:0;background:rgba(20,15,12,.46);z-index:75;transition:opacity .25s ease}
.nv-mobile-drawer{position:fixed;top:0;right:0;bottom:0;z-index:80;width:min(92vw,420px);display:flex;flex-direction:column;background:#fff;color:var(--nv-ink);box-shadow:-12px 0 38px rgba(0,0,0,.18)}
.nv-mobile-drawer__top{display:flex;align-items:center;justify-content:space-between;padding:calc(17px + env(safe-area-inset-top)) 18px 17px;border-bottom:1px solid var(--nv-line);position:relative;z-index:1;box-shadow:0 6px 14px -10px rgba(45,30,20,.25)}
.nv-mobile-drawer__top img{height:43px;width:auto}
/* 1. Close button: real icon + round hover/tap background instead of a bare "✕" glyph */
.nv-mobile-drawer__close{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;color:var(--nv-ink);transition:background .15s ease,transform .15s ease}
.nv-mobile-drawer__close svg{width:19px;height:19px}
.nv-mobile-drawer__close:hover{background:var(--nv-cream)}
.nv-mobile-drawer__close:active{transform:scale(.9)}
.nv-mobile-drawer__intro{background:var(--nv-cream);padding:14px 20px;font-size:14px;font-weight:750;color:var(--nv-red)}
.nv-mobile-drawer__scroll{overflow-y:auto;flex:1;overscroll-behavior:contain;padding:6px 17px 10px}
/* 2. Section labels group the drawer into logical blocks ("Explore" / "Support & Account") */
.nv-mobile-drawer__section-label{display:block;font-size:10.5px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#A89287;padding:14px 6px 6px}
.nv-mobile-drawer__row{min-height:51px;width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 10px;border:0;border-bottom:1px solid #F1E8E3;background:transparent;text-align:left;font-weight:650;color:var(--nv-ink);text-decoration:none;border-radius:12px;transition:background .15s ease,transform .1s ease}
/* 3. Rounded hover/focus feedback + press feedback on every row (desktop pointer + touch) */
.nv-mobile-drawer__row:hover,.nv-mobile-drawer__row:focus-visible{background:var(--nv-cream)}
.nv-mobile-drawer__row:active{transform:scale(.985)}
.nv-mobile-drawer__row-main{display:flex;align-items:center;gap:11px;min-width:0}
/* 4. Leading icon per row (home / about / contact / account use the hand-drawn icon set;
      group triggers reuse the same .nv-orbit badge used on desktop for visual consistency) */
.nv-mobile-drawer__row-icon{flex:none;color:#B9631A;transition:scale .15s cubic-bezier(.34,1.56,.64,1),rotate .15s ease;animation:nv-icon-pop .4s cubic-bezier(.34,1.56,.64,1) .1s backwards}
.nv-mobile-drawer__row-icon.nv-orbit--small{color:var(--nv-red)}
.nv-mobile-drawer__row:active .nv-mobile-drawer__row-icon{scale:.88;rotate:-8deg}
.nv-mobile-drawer__group.is-open>.nv-mobile-drawer__row .nv-mobile-drawer__row-icon.nv-orbit--small{scale:1.08}
/* 5. Current-page row gets a red accent bar + bold red label instead of looking identical to the rest */
.nv-mobile-drawer__row.is-active{background:var(--nv-cream);color:var(--nv-red);box-shadow:inset 3px 0 0 var(--nv-red)}
.nv-mobile-drawer__row.is-active .nv-mobile-drawer__row-icon{color:var(--nv-red)}
/* 6. Chevron is a real icon now (not a text glyph) and rotates smoothly when the group opens */
.nv-mobile-drawer__chevron{flex:none;display:inline-flex;color:#A89287;transition:transform .22s ease}
.nv-mobile-drawer__chevron.is-open{transform:rotate(180deg);color:var(--nv-red)}
/* 7. Open group gets a soft tint + elevation on its trigger row, and the whole card lifts
      slightly so it's unmistakable which section is expanded. */
.nv-mobile-drawer__group{border-radius:12px;transition:background .2s ease,box-shadow .2s ease}
.nv-mobile-drawer__group.is-open{background:#FFFDFB;box-shadow:0 10px 24px -16px rgba(45,30,20,.22),0 0 0 1px #F3E7DF;margin:2px 0 6px}
.nv-mobile-drawer__group.is-open>.nv-mobile-drawer__row{background:var(--nv-cream);color:var(--nv-red);border-bottom-color:transparent}
.nv-mobile-drawer__group.is-open>.nv-mobile-drawer__row .nv-mobile-drawer__row-icon{color:var(--nv-red)}
/* 8. Pure-CSS grid-rows accordion: smooth height animation with no JS height plugin needed.
      Content stays in the DOM (no x-show) so links are only truly un-tabbable while collapsed
      thanks to the delayed visibility toggle below. */
.nv-mobile-drawer__submenu-wrap{display:grid;grid-template-rows:0fr;transition:grid-template-rows .32s cubic-bezier(.4,0,.2,1),visibility 0s linear .32s;visibility:hidden}
.nv-mobile-drawer__submenu-wrap.is-open{grid-template-rows:1fr;transition:grid-template-rows .32s cubic-bezier(.4,0,.2,1);visibility:visible}
.nv-mobile-drawer__submenu-wrap>.nv-mobile-drawer__submenu{overflow:hidden;min-height:0}
.nv-mobile-drawer__submenu{background:#FFF9F5;padding:4px 17px 10px;border-radius:12px;margin-top:2px}
/* 8b. Submenu items fade + rise in once their group is open, and settle back down on close —
       a lightweight stagger so the panel doesn't just "snap" to full height. */
.nv-mobile-drawer__submenu>*{opacity:0;transform:translateY(-4px);transition:opacity .22s ease,transform .22s ease}
.nv-mobile-drawer__submenu-wrap.is-open .nv-mobile-drawer__submenu>*{opacity:1;transform:translateY(0)}
.nv-mobile-drawer__submenu-wrap.is-open .nv-mobile-drawer__submenu>:nth-child(1){transition-delay:.03s}
.nv-mobile-drawer__submenu-wrap.is-open .nv-mobile-drawer__submenu>:nth-child(2){transition-delay:.06s}
.nv-mobile-drawer__submenu-wrap.is-open .nv-mobile-drawer__submenu>:nth-child(3){transition-delay:.09s}
.nv-mobile-drawer__submenu-wrap.is-open .nv-mobile-drawer__submenu>:nth-child(4){transition-delay:.12s}
.nv-mobile-drawer__submenu-wrap.is-open .nv-mobile-drawer__submenu>:nth-child(5){transition-delay:.15s}
/* 9. Submenu category headers get an icon chip to match the desktop mega menu's visual language */
.nv-mobile-drawer__submenu h3{display:flex;align-items:center;gap:9px;font-size:11.5px;letter-spacing:.03em;text-transform:uppercase;color:var(--nv-red);font-weight:800;margin:14px 0 7px}
.nv-mobile-drawer__submenu h3:first-child{margin-top:8px}
.nv-mobile-drawer__submenu a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 8px;border-radius:10px;font-size:13px;color:var(--nv-ink);text-decoration:none;transition:background .15s ease,box-shadow .15s ease,padding-left .15s ease,transform .1s ease}
.nv-mobile-drawer__submenu a:hover,.nv-mobile-drawer__submenu a:focus-visible{background:#FFFFFF;box-shadow:0 6px 14px -10px rgba(45,30,20,.22);padding-left:12px}
.nv-mobile-drawer__submenu a:active{transform:scale(.98)}
.nv-mobile-drawer__submenu a span{flex:none;opacity:.45;font-size:15px;transition:transform .18s ease,opacity .18s ease,color .18s ease}
.nv-mobile-drawer__submenu a:hover span,.nv-mobile-drawer__submenu a:focus-visible span{opacity:1;transform:translateX(3px);color:var(--nv-red)}
/* 10. Active sub-item (current page) highlighted the same way as top-level rows */
.nv-mobile-drawer__submenu a.is-active{color:var(--nv-red);font-weight:750;background:#FFFFFF;box-shadow:inset 2px 0 0 var(--nv-red)}
.nv-mobile-drawer__submenu .nv-mobile-drawer__highlight{color:var(--nv-red);font-weight:800;display:flex;align-items:center;justify-content:space-between}
.nv-mobile-drawer__submenu .nv-mobile-drawer__highlight:hover{background:#FFFFFF;box-shadow:0 6px 14px -10px rgba(198,58,39,.28)}
/* 11. Sticky-feeling bottom CTA: subtle top shadow separates it from the scroll area above */
.nv-mobile-drawer__book{margin:12px 16px calc(12px + env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;gap:8px;text-align:center;padding:14px;background:var(--nv-red);color:#fff;border-radius:12px;font-weight:750;text-decoration:none;box-shadow:0 -10px 18px -14px rgba(45,30,20,.3);transition:transform .12s ease,box-shadow .12s ease}
.nv-mobile-drawer__book:active{transform:scale(.98)}
body.nv-drawer-open{overflow:hidden}
/* 12. Staggered entrance: each top-level row/group fades & slides in as the drawer opens,
       restarts every time (display:none -> flex retriggers the animation). Reduced-motion safe. */
@keyframes nv-drawer-row-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.nv-mobile-drawer__scroll>.nv-mobile-drawer__row,.nv-mobile-drawer__scroll>.nv-mobile-drawer__group,.nv-mobile-drawer__scroll>.nv-mobile-drawer__section-label{animation:nv-drawer-row-in .32s ease backwards}
.nv-mobile-drawer__scroll>:nth-child(1){animation-delay:.02s}
.nv-mobile-drawer__scroll>:nth-child(2){animation-delay:.05s}
.nv-mobile-drawer__scroll>:nth-child(3){animation-delay:.08s}
.nv-mobile-drawer__scroll>:nth-child(4){animation-delay:.11s}
.nv-mobile-drawer__scroll>:nth-child(5){animation-delay:.14s}
.nv-mobile-drawer__scroll>:nth-child(6){animation-delay:.17s}
.nv-mobile-drawer__scroll>:nth-child(7){animation-delay:.2s}
.nv-mobile-drawer__scroll>:nth-child(8){animation-delay:.23s}
.nv-mobile-drawer__scroll>:nth-child(9){animation-delay:.26s}
.nv-mobile-drawer__scroll>:nth-child(10){animation-delay:.29s}
/* 13. Dark-mode parity for every new element introduced above */
.dark .nv-mobile-drawer__top{box-shadow:0 6px 14px -10px rgba(0,0,0,.5)}
.dark .nv-mobile-drawer__close:hover{background:#352A25}
.dark .nv-mobile-drawer__section-label{color:#8A7B71}
.dark .nv-mobile-drawer__row:hover,.dark .nv-mobile-drawer__row:focus-visible{background:#352A25}
.dark .nv-mobile-drawer__row.is-active,.dark .nv-mobile-drawer__group.is-open>.nv-mobile-drawer__row{background:#352A25;color:#F3A48E}
.dark .nv-mobile-drawer__group.is-open{background:#2A2320;box-shadow:0 10px 24px -16px rgba(0,0,0,.5),0 0 0 1px #45362F}
.dark .nv-mobile-drawer__submenu a:hover,.dark .nv-mobile-drawer__submenu a:focus-visible,.dark .nv-mobile-drawer__submenu a.is-active{background:#3A2E28}
@media(prefers-reduced-motion:reduce){
    .nv-mobile-drawer__scroll>*{animation:none!important}
    .nv-mobile-drawer__submenu-wrap,.nv-mobile-drawer__chevron,.nv-mobile-drawer__row,.nv-mobile-drawer__close,.nv-mobile-drawer__book,.nv-mobile-drawer__group,.nv-mobile-drawer__submenu a,.nv-mobile-drawer__submenu a span,.nv-mobile-drawer__submenu>*,.nv-mobile-drawer__row-icon{transition:none!important;opacity:1!important;transform:none!important;animation:none!important;scale:1!important;rotate:0deg!important;translate:0 0!important}
}
@media(max-width:1279px){.nv-primary{display:none}}
@media(min-width:1280px) and (max-width:1439px){.nv-mega__three{grid-template-columns:210px minmax(0,1fr) 200px}.nv-benefit-grid{grid-template-columns:repeat(3,1fr)}.nv-mega{max-height:72vh}}
@media(prefers-reduced-motion:reduce){.nv-mega,.nv-mega *{transition:none!important;animation:none!important}.nv-mega *::before,.nv-mega *::after{animation:none!important}.nv-orbit{transition:none!important}.nv-orbit--heading::before,.nv-orbit--heading::after{display:none}.nv-primary__trigger,.nv-primary__trigger::after,.nv-primary__trigger svg{transition:none!important}}
/* Matches existing project's class-based theme toggle. */
.dark .nv-mega,.dark .nv-mobile-drawer{background:#24211F;color:#F6F0EB;border-color:#514842}
.dark .nv-mega__link-card,.dark .nv-mega__item,.dark .nv-resource-group>a,.dark .nv-mobile-drawer__row,.dark .nv-mobile-drawer__submenu a{color:#F6F0EB}
.dark .nv-resource-group,.dark .nv-benefit{background:#302B28;border-color:#514842}
.dark .nv-mobile-drawer__submenu,.dark .nv-mobile-drawer__intro{background:#352A25}
.dark .nv-mega__feature{background:linear-gradient(145deg,#3A2B25,#483027)}
.dark .nv-orbit{background:linear-gradient(155deg,#352923 0%,#44332B 100%);border-color:#6A4A3C;box-shadow:0 1px 2px rgba(0,0,0,.2),0 6px 14px -6px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.05)}
.dark .nv-mega__heading small,.dark .nv-mega__link-card small,.dark .nv-mega__note{color:#D5C5BB}

/* Hero connector-ring illustration (home page) — 10 points spread around all
   four sides, connected to EACH OTHER by one closed ring path (not spokes to
   the center). A single dot travels slowly and continuously around that
   ring, one segment at a time; the instant it touches a point, that point's
   dot/chip/line segment light up (orange) and stay lit until the whole ring
   has lit, then the group resets and the dot starts again from point 0 —
   looping forever. Lighting and the dot's position are both driven by the
   same JS loop (see welcome.blade.php) so they can never drift out of sync.
   Sized entirely in CSS with clamp()/percentages — not Tailwind breakpoint
   classes — so it scales smoothly from 320px phones to desktop with no
   horizontal overflow and no Vite rebuild needed to retune it. Labels always
   show their full text — no truncation, no hide-on-mobile — only
   font-size/padding scale down via clamp(). */
html{overflow-x:hidden}
@media(min-width:1024px){#nv-hero-grid{grid-template-columns:var(--nv-hero-cols,1fr 1fr)}}

.nv-hero-art{
    width:clamp(19rem,52vw,33rem);
    height:clamp(19rem,52vw,33rem);
    margin-inline:auto;
}
.nv-hero-avatar{
    width:68%;
    height:68%;
    background:#FDF8F5;
    box-shadow:0 0 0 1px rgba(255,255,255,.4);
}
/* Deliberately NOT overridden in dark mode: the uploaded photo has its own
   near-white background, so the circle behind it must stay that same warm
   cream in every theme for the letterboxed edges to blend seamlessly. Giving
   it a dark background in dark mode (as an earlier pass did) made the photo
   read as a stark white rectangle floating inside a dark ring instead of a
   clean circular portrait — a soft outer glow is added instead so the circle
   still separates nicely from the dark page background around it. */
.dark .nv-hero-avatar{box-shadow:0 0 0 1px rgba(0,0,0,.15),0 0 28px 4px rgba(0,0,0,.35)}
/* contain (not cover) so the whole portrait — head to outstretched hands —
   is always visible and never cropped; the avatar's own soft background
   blends into the matching circle background behind it, so it reads as one
   continuous halo rather than a visible letterbox. */
.nv-hero-avatar__img{width:100%;height:100%;object-fit:contain;object-position:center center;display:block}

/* Artistic blend — applied everywhere (mobile and desktop alike): the
   portrait's own lower edge fades to transparent, so the cream circle
   behind it shows through smoothly instead of the photo ending in a hard
   edge, and a soft blurred glow sits just beneath the circle so the whole
   portrait reads as emerging from light rather than a pasted-in cutout. */
.nv-hero-avatar__img{
    -webkit-mask-image:linear-gradient(to bottom,#000 58%,rgba(0,0,0,.4) 82%,transparent 97%);
    mask-image:linear-gradient(to bottom,#000 58%,rgba(0,0,0,.4) 82%,transparent 97%);
}
#nv-hero-illustration-wrap::after{
    content:'';
    position:absolute;
    left:50%;
    bottom:-.1rem;
    transform:translateX(-50%) scale(1);
    transform-origin:center bottom;
    width:56%;
    height:12%;
    min-height:1.75rem;
    background:radial-gradient(ellipse at center,rgba(233,130,50,.45) 0%,rgba(198,58,39,.18) 55%,transparent 78%);
    filter:blur(13px);
    z-index:-1;
    border-radius:9999px;
    pointer-events:none;
    /* A slow breathing pulse (shared keyframe with the ring's ambient orb
       glow) so the "emerging from light" effect feels alive rather than
       static — premium, understated motion, not a flashy animation. */
    animation:nv-hero-pedestal-breathe 5s ease-in-out infinite;
}
.dark #nv-hero-illustration-wrap::after{
    background:radial-gradient(ellipse at center,rgba(243,160,92,.38) 0%,rgba(198,58,39,.2) 55%,transparent 78%);
}
@keyframes nv-hero-pedestal-breathe{
    0%,100%{opacity:.75;transform:translateX(-50%) scale(.94)}
    50%{opacity:1;transform:translateX(-50%) scale(1.08)}
}
@media(prefers-reduced-motion:reduce){
    #nv-hero-illustration-wrap::after{animation:none}
}
@media(min-width:1024px){
    #nv-hero-illustration-wrap::after{height:15%;min-height:2.5rem;filter:blur(20px)}
}
.nv-hero-line{stroke:#E9DFD8;transition:stroke .45s ease}
.dark .nv-hero-line{stroke:#4A413B}
.nv-hero-line.is-lit{stroke:#E98232}
.nv-hero-dot{fill:#fff;stroke:#E9DFD8;stroke-width:1;transition:fill .45s ease,stroke .45s ease}
.dark .nv-hero-dot{fill:#2A2522;stroke:#4A413B}
.nv-hero-dot.is-lit{fill:#E98232;stroke:#E98232}

/* the single dot that travels continuously around the ring path */
.nv-hero-pulse{fill:#E98232;opacity:.9;filter:drop-shadow(0 0 2px rgba(233,130,50,.6))}
.dark .nv-hero-pulse{fill:#F3A05C;filter:drop-shadow(0 0 2px rgba(243,160,92,.6))}

/* Secondary glow ring hugging the portrait: a thin dashed circle with one
   small bright light that continuously travels around it. Pure CSS (the
   whole ring rotates; the dot is pinned to its top edge, so it traces a
   circle for free — same technique as the nav-menu heading icon and the
   doctor-widget FAB glow elsewhere on the site), and layered as its own
   element so it never interferes with the JS-driven connector/pulse system
   above (which is hidden below 1024px) or the ambient glow orb. Sized a
   little larger than the avatar circle at each breakpoint so it reads as a
   halo around the portrait rather than overlapping it. */
.nv-hero-orbit{
    position:absolute;
    inset:12%;
    border-radius:50%;
    pointer-events:none;
    z-index:1;
    animation:nv-hero-orbit-spin 11s linear infinite;
}
.nv-hero-orbit::before{
    content:'';
    position:absolute;
    inset:0;
    border-radius:50%;
    border:1px dashed rgba(233,130,50,.4);
}
.dark .nv-hero-orbit::before{border-color:rgba(243,160,92,.32)}
.nv-hero-orbit::after{
    content:'';
    position:absolute;
    top:-2.5px;
    left:50%;
    width:6px;
    height:6px;
    margin-left:-3px;
    border-radius:50%;
    background:radial-gradient(circle,#fff,#E98232);
    box-shadow:0 0 8px 2px rgba(233,130,50,.75),0 0 16px 5px rgba(233,130,50,.4);
}
.dark .nv-hero-orbit::after{
    background:radial-gradient(circle,#fff,#F3A05C);
    box-shadow:0 0 8px 2px rgba(243,160,92,.75),0 0 16px 5px rgba(243,160,92,.4);
}
@keyframes nv-hero-orbit-spin{to{transform:rotate(360deg)}}
/* Mobile/tablet (<1024px): the JS connector SVGs and dashed rings are
   hidden here (see the max-width:1023px block below) and the avatar grows
   to 84% of its box instead of 68%, so the halo is pulled in tighter to
   keep hugging the bigger portrait — this is the "especially enhance
   mobile" pass, giving the portrait its only motion accent at these sizes. */
@media(max-width:1023px){
    .nv-hero-orbit{inset:5%;animation-duration:9s}
}
@media(prefers-reduced-motion:reduce){
    .nv-hero-orbit{animation:none}
    .nv-hero-orbit::after{display:none}
}

.nv-hero-chip{
    transform:translate(-50%,-50%);
    align-items:center;
    gap:.3rem;
    padding:clamp(.3rem,.9vw,.4rem) clamp(.55rem,1.6vw,.75rem);
    font-size:clamp(.625rem,1.35vw,.75rem);
    max-width:clamp(7rem,21vw,10.5rem);
    border-radius:1.1rem;
    line-height:1.25;
    transition:border-color .45s ease,color .45s ease,box-shadow .45s ease;
    animation:nv-hero-float 3.6s ease-in-out infinite;
    z-index:1;
}
/* full label text, always — wraps onto a second line if it ever needs to,
   never clipped and never hidden. */
.nv-hero-chip span:last-child{
    white-space:nowrap;
    overflow:visible;
}
.nv-hero-chip:nth-child(odd){animation-delay:.6s}
@keyframes nv-hero-float{0%,100%{transform:translate(-50%,-50%) translateY(0)}50%{transform:translate(-50%,-50%) translateY(-4px)}}
.nv-hero-chip__dot{
    width:.3125rem;
    height:.3125rem;
    border-radius:9999px;
    background:#D8CFC8;
    transition:background .45s ease;
    shrink:0;
}
.dark .nv-hero-chip__dot{background:#5A4F47}
.nv-hero-chip__icon{
    width:.8125rem;
    height:.8125rem;
    shrink:0;
}
.nv-hero-chip.is-lit{border-color:#F3C09A;color:#B9631A;box-shadow:0 0 0 3px rgba(233,130,50,.18)}
.dark .nv-hero-chip.is-lit{border-color:#6E5227;color:#F3C27C;box-shadow:0 0 0 3px rgba(243,160,92,.18)}
.nv-hero-chip.is-lit .nv-hero-chip__dot{background:#E98232}

@media(max-width:640px){
    .nv-hero-chip{
        font-size:clamp(.5625rem,2.6vw,.625rem);
        padding:.3rem .5rem;
        max-width:clamp(5rem,22vw,6.5rem);
        gap:.2rem;
    }
    .nv-hero-chip__icon{width:.625rem;height:.625rem}
}

/* Below the two-column breakpoint (1024px) the 10 chips no longer float on
   the ring at all — fitting 10 readable pills around a ring small enough to
   also stay clear of the viewport edge has no solution that avoids some pair
   overlapping at phone widths. Instead the ring/line/dot SVGs and the
   floating chips are hidden, and a plain two-column CSS grid of the same
   chips (markup just below the ring in welcome.blade.php) is shown under the
   illustration — a grid cannot overlap its own cells, so this can't regress. */
/* Default (desktop-safe): this wrapper generates no box of its own, so on
   desktop #nv-hero-illustration-wrap and the (desktop-hidden) ring chips
   inside it lay out exactly as if the wrapper didn't exist. It only becomes
   a real grid container under the mobile/tablet media query below. */
.nv-hero-mobile-ring{display:contents}
@media(max-width:1023px){
    #nv-hero-connector > svg{display:none}
    #nv-hero-connector .nv-hero-chip{display:none}

    /* The portrait's own box no longer carries the card background — that
       moves to .nv-hero-mobile-ring below, so the whole halo (image +
       surrounding chips) reads as one designed card, not two stacked ones.
       Minimal bottom padding (just enough for the glow effect, defined
       globally above) keeps the bottom chip row close to the portrait. */
    #nv-hero-illustration-wrap{
        grid-area:img;
        position:relative;
        padding:0 0 .25rem;
        margin:0;
        background:none;
        box-shadow:none;
        min-width:0;
        min-height:0;
    }

    /* The avatar circle fills more of its own box on mobile (84% vs the
       desktop 68%) — same .nv-hero-art footprint, but a visibly bigger
       portrait and a much thinner dead margin around it, which is what
       actually lets the surrounding chips read as close to the image
       instead of floating far away from it. Desktop is untouched. */
    .nv-hero-avatar{width:84%;height:84%;position:relative;z-index:1}

    /* Premium framing: a soft gold-to-red gradient ring sits just behind
       the avatar's own white ring-4 border. Sized a touch larger than the
       avatar so only a thin blurred rim peeks out past the white border —
       reads as a subtle "featured portrait" halo, not a loud outline. */
    #nv-hero-illustration-wrap::before{
        content:'';
        position:absolute;
        left:50%;
        top:50%;
        transform:translate(-50%,-50%);
        width:88%;
        height:88%;
        border-radius:9999px;
        background:conic-gradient(from 200deg,#E98232,#C63A27,#24501D,#E98232);
        filter:blur(4px);
        opacity:.55;
        z-index:0;
        pointer-events:none;
    }
    .dark #nv-hero-illustration-wrap::before{opacity:.65}

    .nv-hero-grid-label{
        text-align:center;
        font-size:.6875rem;
        font-weight:700;
        letter-spacing:.06em;
        text-transform:uppercase;
        color:#B9631A;
        margin:0 0 .75rem;
    }
    .dark .nv-hero-grid-label{color:#F3A05C}

    /* The halo — reduced on purpose: only the 4 most patient-journey-relevant
       chips (booking, assessment, care path, reports), with the portrait in
       a full-width row of its own so it can actually be the visual focus on
       phones, instead of a ring of 10 forcing the image down to ~160-224px.
       A CSS grid cell can never overlap another, so this stays overlap-proof
       at every phone/tablet width with no JS and no runtime measurement. */
    .nv-hero-mobile-ring{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        grid-template-areas:
            "top1 top2"
            "img img"
            "bottom1 bottom2";
        gap:.3rem;
        align-items:stretch;
        position:relative;
        isolation:isolate;
        border-radius:1.75rem;
        padding:.75rem .6rem;
        margin:0 0 .25rem;
        background:linear-gradient(180deg,rgba(255,247,242,.9),rgba(255,255,255,.4));
        /* Layered elevation: a crisp near shadow for grounding, a soft far
           shadow for lift, and a faint inset top highlight for a touch of
           material-design depth on the card itself. */
        box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 4px 10px -6px rgba(41,37,34,.15),0 18px 38px -16px rgba(41,37,34,.16);
        overflow:visible;
    }
    /* Pull the chip rows in snug against the portrait: a small negative
       margin on the rows adjacent to the image lets them sit right at the
       edge of the circle's own dead margin (the circle is 84% of its box,
       see .nv-hero-avatar above) without ever touching the photo itself —
       same overlap amount top and bottom, so all 4 chips read as equally
       close to the portrait instead of the old asymmetric gap. DOM order
       is top1, top2, bottom1, bottom2 (see $ringArea in welcome.blade.php),
       so the first two chips are the top row and the last two the bottom. */
    .nv-hero-ring-chip:nth-child(-n+2){margin-bottom:-.35rem}
    .nv-hero-ring-chip:nth-child(n+3){margin-top:-.35rem}
    .dark .nv-hero-mobile-ring{
        background:linear-gradient(180deg,rgba(45,40,36,.55),rgba(30,27,24,.25));
        box-shadow:0 1px 0 rgba(255,255,255,.04) inset,0 4px 10px -6px rgba(0,0,0,.35),0 18px 38px -16px rgba(0,0,0,.45);
    }
    .nv-hero-mobile-ring::before,
    .nv-hero-mobile-ring::after{
        content:'';
        position:absolute;
        z-index:-1;
        border-radius:9999px;
        filter:blur(28px);
        opacity:.55;
    }
    .nv-hero-mobile-ring::before{
        width:9rem;height:9rem;top:-1.5rem;right:-1rem;
        background:radial-gradient(circle,rgba(233,130,50,.35),transparent 70%);
    }
    .nv-hero-mobile-ring::after{
        width:8rem;height:8rem;bottom:-1rem;left:-1.5rem;
        background:radial-gradient(circle,rgba(36,80,29,.22),transparent 70%);
    }

    /* Ring chips: only 4 now, each a half-width cell, so icon-beside-label
       reads comfortably instead of the tighter stacked layout the old
       10-chip version needed. Icon sits in its own soft colored circle,
       alternating the two brand tints. */
    .nv-hero-ring-chip{
        position:relative;
        transform:none;
        animation:none;
        flex-direction:row;
        justify-content:center;
        align-items:center;
        text-align:left;
        width:100%;
        max-width:none;
        gap:.45rem;
        padding:.6rem .5rem;
        border-radius:1.1rem;
        font-size:.6875rem;
        line-height:1.2;
        /* Glassmorphism: a translucent surface (instead of flat white) with a
           backdrop blur so the card's warm gradient reads softly through each
           chip, plus a layered shadow — a tight contact shadow for grounding
           and a wider soft one for lift — for a more premium, elevated feel.
           border-color override keeps the glass edge crisp since the chip's
           own `border` utility would otherwise show a flat default color. */
        background:rgba(255,255,255,.62) !important;
        -webkit-backdrop-filter:blur(10px) saturate(1.4);
        backdrop-filter:blur(10px) saturate(1.4);
        border-color:rgba(255,255,255,.75) !important;
        box-shadow:0 1px 1px rgba(255,255,255,.8) inset,0 2px 6px -2px rgba(41,37,34,.1),0 8px 20px -8px rgba(41,37,34,.22);
    }
    .dark .nv-hero-ring-chip{
        background:rgba(36,34,32,.55) !important;
        border-color:rgba(255,255,255,.08) !important;
        box-shadow:0 1px 1px rgba(255,255,255,.05) inset,0 2px 6px -2px rgba(0,0,0,.3),0 8px 20px -8px rgba(0,0,0,.5);
    }
    .nv-hero-ring-chip .nv-hero-chip__dot{display:none}
    .nv-hero-ring-chip .nv-hero-chip__icon{
        width:1.625rem;
        height:1.625rem;
        padding:.375rem;
        border-radius:9999px;
        background:linear-gradient(145deg,rgba(233,130,50,.2),rgba(233,130,50,.08));
        color:#C63A27;
        flex-shrink:0;
    }
    .nv-hero-ring-chip:nth-child(even) .nv-hero-chip__icon{
        background:linear-gradient(145deg,rgba(36,80,29,.16),rgba(36,80,29,.06));
        color:#24501D;
    }

    /* Pointer: a small diamond tab on each chip's inner edge, aimed at the
       portrait, so the 4 highlights read as pointing to the image instead of
       floating independently above/below it — same visual language as the
       desktop ring's connector lines, simplified for a static grid. */
    .nv-hero-ring-chip::after{
        content:'';
        position:absolute;
        left:50%;
        width:.55rem;
        height:.55rem;
        background:inherit;
        transform:translateX(-50%) rotate(45deg);
    }
    .nv-hero-ring-chip:nth-child(-n+2)::after{
        bottom:-.26rem;
        border-right:1px solid #E9E1DC;
        border-bottom:1px solid #E9E1DC;
        border-radius:0 0 3px;
    }
    .nv-hero-ring-chip:nth-child(n+3)::after{
        top:-.26rem;
        border-left:1px solid #E9E1DC;
        border-top:1px solid #E9E1DC;
        border-radius:3px 0 0;
    }
    .dark .nv-hero-ring-chip:nth-child(-n+2)::after{border-color:#3A3632}
    .dark .nv-hero-ring-chip:nth-child(n+3)::after{border-color:#3A3632}
    .dark .nv-hero-ring-chip .nv-hero-chip__icon{background:linear-gradient(145deg,rgba(243,160,92,.22),rgba(243,160,92,.08));color:#F3A05C}
    .dark .nv-hero-ring-chip:nth-child(even) .nv-hero-chip__icon{background:linear-gradient(145deg,rgba(120,190,110,.2),rgba(120,190,110,.07));color:#8FCB82}
    .nv-hero-ring-chip span:last-child{
        white-space:normal;
    }
}
@media(min-width:1024px){
    .nv-hero-ring-chip,
    .nv-hero-grid-label{display:none}
}

/* Mobile sizing: the old small clamp here existed only because the ring used
   to float all 10 chips slightly outside the box's own edges (~-10%/110% of
   its width), so the box had to stay small to leave those chips room before
   the viewport edge clipped them. The halo chips now live in their own grid
   cells above/below the image (.nv-hero-mobile-ring, not floated off the
   image's edges), so that constraint is gone — the portrait can be the
   actual visual focus on phones. Desktop (min-width:1024px) is untouched. */
@media(max-width:640px){
    /* max-width:100% is a hard safety cap: whatever the grid cell's actual
       available width works out to (viewport minus the page's own side
       padding minus the halo card's own padding), the image can never grow
       past it and force the card wider than the viewport. */
    .nv-hero-art{width:clamp(18rem,95vw,24rem);max-width:100%;aspect-ratio:1/1;height:auto}
}
@media(min-width:641px) and (max-width:1023px){
    /* Tablet portrait/landscape below the two-column breakpoint (lg, 1024px):
       the hero still stacks in one column here, so the illustration still
       needs to fit the full-width column rather than half of it. */
    .nv-hero-art{width:clamp(21rem,62vw,27rem);max-width:100%;aspect-ratio:1/1;height:auto}
}

/* Hero CTA row: wraps onto a second line instead of forcing both buttons
   onto one row and letting the second one overflow/clip off-screen on
   narrow phones. Buttons also get smaller padding/font below 480px so they
   read as appropriately sized on a small screen rather than oversized. */
.nv-hero-ctas{flex-wrap:wrap}
@media(max-width:480px){
    .nv-hero-cta{padding:.6rem 1.1rem;font-size:.875rem}
}

@media(prefers-reduced-motion:reduce){
    .nv-hero-chip{animation:none!important}
    .nv-hero-pulse{display:none}
}

/* /health-concerns page: category quick-nav links jump to section anchors.
   Without this, the sticky h-20 header covers the section heading the
   moment the browser scrolls it to the very top of the viewport. */
.nv-cat-section{scroll-margin-top:5.5rem}

/* ============================================================
   /health-concerns page — search/filter bar, category overview
   cards, condition card upgrade. Scoped entirely to nv-hc-* and
   nv-cat-* classes so nothing here can leak into other pages.
   ============================================================ */

/* Filter pills: inactive state uses the same neutral border as the old
   quick-nav links; active state uses brand red, matching the Hero CTA
   language so "selected" reads unambiguously without relying on color
   alone (border weight + fill both change). */
.nv-hc-pill{
    border-color:var(--nv-line,#E9E1DC);
    color:#292522;
    background:#fff;
    /* Defense-in-depth: guarantees pills never visually compress/clip their
       label inside the horizontal-scroll row, even if a future layout change
       around them removes whitespace-nowrap or shrinks the flex container. */
    flex-shrink:0;
}
/* The whole filter/pill row never wraps its own children off-balance;
   each pill keeps its natural width and the row scrolls instead. */
#nv-hc-filters{ flex-wrap:nowrap; }
@media(min-width:768px){
    #nv-hc-filters{ flex-wrap:wrap; }
}
.dark .nv-hc-pill{
    border-color:#3A332E;
    color:#F5F1EC;
    background:#242220;
}
.nv-hc-pill:hover{ border-color:#C63A27; color:#C63A27; }
.nv-hc-pill.is-active{
    background:#C63A27;
    border-color:#C63A27;
    color:#fff;
}
.dark .nv-hc-pill.is-active{ background:#C63A27; border-color:#C63A27; color:#fff; }
.nv-hc-pill:focus-visible{ outline:2px solid #C63A27; outline-offset:2px; }

/* Category overview cards: restrained hover lift + shadow deepen, consistent
   with the rest of the site's card language (no new shadow system invented). */
.nv-hc-overview-card{ transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.nv-hc-overview-card:hover{ box-shadow:0 10px 28px rgba(45,30,20,.1); border-color:#F3C9BB; }
.dark .nv-hc-overview-card:hover{ box-shadow:0 10px 28px rgba(0,0,0,.35); border-color:#6B3B2E; }

/* Condition cards (and the reused card shape in the doctor-led pathway
   section): same restrained hover treatment, plus the fade used by the
   search/filter JS. Hidden cards collapse out of the grid flow entirely
   rather than just fading, so filtering never leaves ghost gaps. */
.nv-hc-card{ transition:transform .18s ease, box-shadow .18s ease, opacity .15s ease; }
.nv-hc-card:hover{ transform:translateY(-2px); box-shadow:0 10px 28px rgba(45,30,20,.1); }
.dark .nv-hc-card:hover{ box-shadow:0 10px 28px rgba(0,0,0,.35); }
.nv-hc-card[hidden]{ display:none; }

/* Search input: focus ring matches the brand focus-visible color used
   elsewhere on the site (btn-primary etc.) rather than the browser default. */
#nv-hc-search-input:focus{ border-color:#C63A27; }

/* ---- Enhanced version: card rhythm + category colour language ----
   Pure hand-written CSS (no new Tailwind utility classes), so this ships
   instantly via the static nav-v7.css file with no Vite rebuild needed. */

/* Category colour accent: a left border ties every card back to its care
   area, using the same red/orange/green brand palette already used by the
   mega-menu's nv-orbit rotation elsewhere on the site — nothing new invented.
   Keyed off the existing data-nv-scrollto / data-nv-category attributes
   already in the markup, so no extra classes were needed in Blade. */
[data-nv-scrollto="reproductive"],[data-nv-category="reproductive"] .nv-hc-card{ border-left:3px solid #C63A27; }
[data-nv-scrollto="sexual"],[data-nv-category="sexual"] .nv-hc-card{ border-left:3px solid #E98232; }
[data-nv-scrollto="hormonal"],[data-nv-category="hormonal"] .nv-hc-card{ border-left:3px solid #24501D; }
[data-nv-scrollto="general"],[data-nv-category="general"] .nv-hc-card{ border-left:3px solid #B9631A; }

/* Condition-count badge on overview cards: a small pill instead of plain
   text, echoing the filter-pill shape so the eye reads it as "a count",
   not as another line of body copy. */
.nv-hc-count-badge{
    display:inline-flex;
    align-items:center;
    border-radius:9999px;
    background:#FFF7F2;
    color:#9A3A1F;
    font-size:.6875rem;
    font-weight:600;
    line-height:1;
    padding:.375rem .625rem;
    white-space:nowrap;
}
.dark .nv-hc-count-badge{ background:#2E2521; color:#F3A48E; }

/* "View →" arrow nudges right on hover/focus, a small motion cue that the
   whole overview card is a link (it has no other visible affordance). */
.nv-hc-overview-card:hover .nv-hc-view-arrow,
.nv-hc-overview-card:focus-visible .nv-hc-view-arrow{ transform:translateX(3px); }

/* Condition-card description: clamped to 2 lines so every card in a row
   reads the same height regardless of copy length, instead of some cards
   running taller than their neighbours. */
.nv-hc-desc{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

@media(prefers-reduced-motion:reduce){
    .nv-hc-overview-card,.nv-hc-card{ transition:none!important; }
    .nv-hc-overview-card:hover,.nv-hc-card:hover{ transform:none!important; }
    .nv-hc-overview-card:hover .nv-hc-view-arrow{ transform:none!important; }
}

/* FAQ section width: narrower than the page's own max-w-container for
   comfortable reading line-length. Hand-written since max-w-3xl isn't in
   the compiled Tailwind bundle and this avoids needing another rebuild. */
.nv-hc-faq-wrap{ max-width:48rem; }

/* ---- FAQ accordion (native <details>/<summary>, no JS) ----
   Plain HTML disclosure widgets styled to match the card language used
   everywhere else on this page. Works with JS disabled, keyboard-operable
   and screen-reader friendly without any extra ARIA wiring needed. */
.nv-hc-faq-item{
    padding:0;
    overflow:hidden;
}
.nv-hc-faq-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:1.1rem 1.25rem;
    cursor:pointer;
    list-style:none;
    font-weight:600;
    color:#292522;
}
.dark .nv-hc-faq-summary{ color:#F5F1EC; }
.nv-hc-faq-summary::-webkit-details-marker{ display:none; }
.nv-hc-faq-summary:hover{ color:#C63A27; }
.nv-hc-faq-summary:focus-visible{ outline:2px solid #C63A27; outline-offset:-2px; }
.nv-hc-faq-chevron{ transition:transform .2s ease; color:#C63A27; }
.nv-hc-faq-item[open] .nv-hc-faq-chevron{ transform:rotate(180deg); }
.nv-hc-faq-answer{
    margin:0;
    padding:0 1.25rem 1.1rem;
    font-size:.875rem;
    line-height:1.6;
    color:rgba(41,37,34,.7);
}
.dark .nv-hc-faq-answer{ color:rgba(245,241,236,.7); }
@media(prefers-reduced-motion:reduce){
    .nv-hc-faq-chevron{ transition:none!important; }
}

/* ---- Homepage hero: mobile-only layout fix ----
   Below 768px only — desktop/tablet (md:) layout is completely untouched.
   1) Trust pointers ("Private & Confidential" / "Doctor-led Care" /
      "Personalized Plan") become a fixed 2-up, 1-down grid instead of
      wrapping unevenly depending on text width.
   2) The two hero buttons sit on one line, filling the row edge-to-edge
      (one visually left, one visually right), with padding and a fluid
      font-size that scales down on narrower phones so the text is never
      forced onto a second line. whitespace-nowrap (already on both links)
      keeps each label on one line while this shrinks it to fit. */
@media(max-width:767px){
    .nv-hero-trust{
        display:grid;
        grid-template-columns:repeat(2,1fr);
        column-gap:1rem;
        row-gap:.75rem;
    }
    .nv-hero-ctas{
        justify-content:space-between;
        width:100%;
        gap:.5rem;
    }
    .nv-hero-cta{
        flex:1 1 0;
        min-width:0;
        padding-left:.75rem;
        padding-right:.75rem;
        padding-top:.625rem;
        padding-bottom:.625rem;
        font-size:clamp(.75rem,3.4vw,.875rem);
        gap:.35rem;
    }
    .nv-hero-cta svg{ flex:none; width:.875rem; height:.875rem; }
}

/* 4th trust pointer ("Scientific Formulation") shows on mobile only —
   desktop/tablet keeps the original 3-pointer row unchanged. */
@media(min-width:768px){
    .nv-hero-trust > span:nth-child(4){
        display:none;
    }
}

/* ==========================================================================
   About-page hero enhancements: heading shimmer-sweep, soft-glow CTAs,
   ambient pulse glow + drifting light dots on the right-side graphic.
   All CSS-only (GPU-composited transforms/opacity) — no JS, no canvas —
   to protect the LCP/INP performance budget on a content-heavy page.
   ========================================================================== */

/* Per-character GLOW word: each letter's own color/text-shadow pulses on a
   staggered delay (set inline per span), so the glow visibly travels
   character-by-character through the word. This is deliberately NOT a
   moving-sheen/background-sweep shimmer — the letters themselves glow and
   shift color in place. */
.nv-glow-word{ display:inline-block; }
.nv-glow-char{
    display:inline-block;
    animation:nv-char-glow 2.6s ease-in-out infinite;
    will-change:color,text-shadow;
}
@keyframes nv-char-glow{
    0%,100%{
        color:#C63A27;
        text-shadow:0 0 0 rgba(198,58,39,0);
    }
    50%{
        color:#E98232;
        text-shadow:0 0 10px rgba(233,130,50,.85),0 0 22px rgba(198,58,39,.5);
    }
}
.dark .nv-glow-char{ animation-name:nv-char-glow-dark; }
@keyframes nv-char-glow-dark{
    0%,100%{
        color:#E98232;
        text-shadow:0 0 0 rgba(233,130,50,0);
    }
    50%{
        color:#FFD9B8;
        text-shadow:0 0 12px rgba(233,130,50,.9),0 0 26px rgba(255,217,184,.5);
    }
}

/* ---- About-hero CTA redesign: compact premium pill buttons with an icon
   chip, own classes (NOT the site-wide .btn-primary/.btn-secondary, so this
   redesign stays scoped to this one hero and never touches buttons
   elsewhere on the site). Short 1–2 word labels by design (see
   lang/{locale}/about.php: cta_primary/cta_secondary), so the button reads
   as a compact tag-like CTA rather than a long bar. ---- */
.nv-hero-cta-primary,
.nv-hero-cta-secondary{
    position:relative;
    overflow:hidden;
    display:inline-flex;
    align-items:center;
    gap:.55rem;
    padding:.4rem .4rem .4rem 1.1rem;
    font-size:.8125rem;
    line-height:1.3;
    letter-spacing:.01em;
    border-radius:9999px;
    font-weight:800;
}
.nv-hero-cta-primary{
    color:#fff;
    background:linear-gradient(135deg, #C63A27 0%, #E2572F 55%, #E98232 120%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.28),
        0 6px 16px -6px rgba(198,58,39,.5);
    animation:nv-cta-primary-pulse 2.8s ease-in-out infinite;
    transition:box-shadow .25s ease, transform .2s ease, background .25s ease;
    will-change:box-shadow, transform;
}
/* Shine sweep: a soft diagonal highlight glides across the button once,
   only on hover/focus — a deliberate one-shot interaction, not a loop. */
.nv-hero-cta-primary::before,
.nv-hero-cta-secondary::before{
    content:"";
    position:absolute;
    inset:0;
    transform:translateX(-120%);
    transition:transform .65s ease;
    pointer-events:none;
}
.nv-hero-cta-primary::before{
    background:linear-gradient(115deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%);
}
.nv-hero-cta-primary:hover::before,
.nv-hero-cta-primary:focus-visible::before{
    transform:translateX(120%);
}
@keyframes nv-cta-primary-pulse{
    0%,100%{
        box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 6px 16px -6px rgba(198,58,39,.5);
    }
    50%{
        box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 10px 26px -4px rgba(198,58,39,.8);
    }
}
.nv-hero-cta-primary:hover,
.nv-hero-cta-primary:focus-visible{
    animation-play-state:paused;
    transform:translateY(-2px) scale(1.04);
    background:linear-gradient(135deg, #D14228 0%, #E2572F 45%, #F09245 120%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.32),
        0 0 0 4px rgba(198,58,39,.14),
        0 14px 28px -6px rgba(198,58,39,.9);
}
.nv-hero-cta-primary:active{ transform:translateY(-1px) scale(1.02); }

.nv-hero-cta-secondary{
    color:#292522;
    border:1.5px solid transparent;
    background:
        linear-gradient(#fff,#fff) padding-box,
        linear-gradient(135deg, #C63A27, #E98232) border-box;
    box-shadow:0 3px 10px -8px rgba(198,58,39,.25);
    animation:nv-cta-secondary-pulse 2.8s ease-in-out infinite;
    transition:box-shadow .25s ease, transform .2s ease, background-color .2s ease;
}
.nv-hero-cta-secondary::before{
    background:linear-gradient(115deg, transparent 35%, rgba(198,58,39,.16) 50%, transparent 65%);
}
.nv-hero-cta-secondary:hover::before,
.nv-hero-cta-secondary:focus-visible::before{
    transform:translateX(120%);
}
.dark .nv-hero-cta-secondary{
    background:
        linear-gradient(#242220,#242220) padding-box,
        linear-gradient(135deg, #E98232, #FFD9B8) border-box;
    color:#F6F0EB;
}
@keyframes nv-cta-secondary-pulse{
    0%,100%{ box-shadow:0 3px 10px -8px rgba(198,58,39,.25); }
    50%{ box-shadow:0 8px 20px -8px rgba(198,58,39,.45); }
}
.nv-hero-cta-secondary:hover,
.nv-hero-cta-secondary:focus-visible{
    animation-play-state:paused;
    transform:translateY(-2px) scale(1.04);
    background:
        linear-gradient(#FFF7F2,#FFF7F2) padding-box,
        linear-gradient(135deg, #C63A27, #E98232) border-box;
    box-shadow:0 0 0 4px rgba(198,58,39,.1), 0 12px 24px -8px rgba(198,58,39,.5);
}
.nv-hero-cta-secondary:active{ transform:translateY(-1px) scale(1.02); }
.dark .nv-hero-cta-secondary:hover,
.dark .nv-hero-cta-secondary:focus-visible{
    background:
        linear-gradient(#2E2A27,#2E2A27) padding-box,
        linear-gradient(135deg, #E98232, #FFD9B8) border-box;
}

/* Icon chip: a small filled circle carrying the arrow, visually distinct
   from the label text — the "premium SaaS CTA" look (label + accent chip)
   rather than inline text+icon. */
.nv-cta-icon-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:none;
    width:1.85rem;
    height:1.85rem;
    border-radius:9999px;
    transition:transform .3s ease, background-color .25s ease;
}
.nv-hero-cta-primary .nv-cta-icon-chip{
    background:rgba(255,255,255,.22);
}
.nv-hero-cta-primary:hover .nv-cta-icon-chip,
.nv-hero-cta-primary:focus-visible .nv-cta-icon-chip{
    background:rgba(255,255,255,.32);
    transform:translateX(2px) rotate(-45deg);
}
.nv-hero-cta-secondary .nv-cta-icon-chip{
    background:rgba(198,58,39,.1);
    color:#C63A27;
}
.dark .nv-hero-cta-secondary .nv-cta-icon-chip{
    background:rgba(233,130,50,.16);
    color:#E98232;
}
.nv-hero-cta-secondary:hover .nv-cta-icon-chip,
.nv-hero-cta-secondary:focus-visible .nv-cta-icon-chip{
    background:rgba(198,58,39,.18);
    transform:translateX(2px) rotate(-45deg);
}
.dark .nv-hero-cta-secondary:hover .nv-cta-icon-chip,
.dark .nv-hero-cta-secondary:focus-visible .nv-cta-icon-chip{
    background:rgba(233,130,50,.28);
}
.nv-cta-arrow{ pointer-events:none; }

/* Hero column fade-up on load (one-time, not scroll-repeating). */
.nv-about-hero-fade{
    animation:nv-about-fade-up .6s ease-out both;
}
@keyframes nv-about-fade-up{
    from{ opacity:0; transform:translateY(10px); }
    to{ opacity:1; transform:translateY(0); }
}

/* Ambient background pulse behind the right-side graphic — slow breathing
   scale/opacity, very subtle. */
.nv-about-hero-pulse{
    animation:nv-about-pulse-glow 6s ease-in-out infinite;
}
@keyframes nv-about-pulse-glow{
    0%,100%{ transform:scale(1); opacity:1; }
    50%{ transform:scale(1.05); opacity:.75; }
}

/* Soft ambient shadow under the center trust badge for depth. */
.nv-about-hero-badge-shadow{
    box-shadow:0 10px 30px -8px rgba(198,58,39,.3);
}

/* Gentle hover-lift on the orbiting value badges (desktop/pointer devices only). */
@media(hover:hover){
    .nv-orbit-badge:hover span:first-child{
        transform:scale(1.08);
    }
}

/* Slow continuous rotation of the decorative dashed ring, so the hero
   graphic visibly moves rather than sitting static. */
.nv-ring-rotate{
    animation:nv-ring-spin 36s linear infinite;
    transform-origin:50% 50%;
}
@keyframes nv-ring-spin{
    from{ transform:rotate(0deg); }
    to{ transform:rotate(360deg); }
}

/* Gentle up/down bob on the center trust badge — keeps the Tailwind
   centering transform (translate(-50%,-50%)) baked into every frame. */
.nv-badge-float{
    animation:nv-badge-bob 4.5s ease-in-out infinite;
}
@keyframes nv-badge-bob{
    0%,100%{ transform:translate(-50%,-50%) translateY(0); }
    50%{ transform:translate(-50%,-50%) translateY(-8px); }
}

/* Each orbit badge bobs on its own staggered delay (set inline per badge in
   the Blade loop) so the four badges feel alive, not frozen in place. */
.nv-orbit-badge{
    animation:nv-orbit-bob 4s ease-in-out infinite;
}
@keyframes nv-orbit-bob{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-7px); }
}

/* Floating ambient light dots: five bright soft-glow dots drifting on
   independent orbits around the hero graphic — sized and lit to actually
   read at a glance, not just on close inspection. */
.nv-float-dot{
    position:absolute;
    border-radius:9999px;
    pointer-events:none;
    opacity:.9;
}
.nv-float-dot--1{
    top:6%; left:16%;
    width:14px; height:14px;
    background:radial-gradient(circle, #C63A27 0%, rgba(198,58,39,.15) 65%, transparent 100%);
    box-shadow:0 0 14px 3px rgba(198,58,39,.55);
    animation:nv-dot-drift-a 7s ease-in-out infinite;
}
.nv-float-dot--2{
    top:20%; right:6%;
    width:11px; height:11px;
    background:radial-gradient(circle, #E98232 0%, rgba(233,130,50,.15) 65%, transparent 100%);
    box-shadow:0 0 12px 3px rgba(233,130,50,.55);
    animation:nv-dot-drift-b 8.5s ease-in-out infinite;
    animation-delay:-2s;
}
.nv-float-dot--3{
    bottom:12%; left:4%;
    width:12px; height:12px;
    background:radial-gradient(circle, #24501D 0%, rgba(36,80,29,.15) 65%, transparent 100%);
    box-shadow:0 0 13px 3px rgba(36,80,29,.5);
    animation:nv-dot-drift-c 9.5s ease-in-out infinite;
    animation-delay:-4s;
}
.nv-float-dot--4{
    bottom:4%; right:16%;
    width:9px; height:9px;
    background:radial-gradient(circle, #E98232 0%, rgba(233,130,50,.15) 65%, transparent 100%);
    box-shadow:0 0 10px 2px rgba(233,130,50,.5);
    animation:nv-dot-drift-a 7.8s ease-in-out infinite;
    animation-delay:-6s;
}
.nv-float-dot--5{
    top:46%; left:-2%;
    width:10px; height:10px;
    background:radial-gradient(circle, #C63A27 0%, rgba(198,58,39,.15) 65%, transparent 100%);
    box-shadow:0 0 12px 3px rgba(198,58,39,.5);
    animation:nv-dot-drift-b 9s ease-in-out infinite;
    animation-delay:-8s;
}
@keyframes nv-dot-drift-a{
    0%,100%{ transform:translate(0,0) scale(1); }
    25%{ transform:translate(18px,-22px) scale(1.15); }
    50%{ transform:translate(-14px,-12px) scale(.9); }
    75%{ transform:translate(-18px,16px) scale(1.1); }
}
@keyframes nv-dot-drift-b{
    0%,100%{ transform:translate(0,0) scale(1); }
    30%{ transform:translate(-20px,14px) scale(1.1); }
    60%{ transform:translate(16px,22px) scale(.92); }
    80%{ transform:translate(20px,-10px) scale(1.12); }
}
@keyframes nv-dot-drift-c{
    0%,100%{ transform:translate(0,0) scale(1); }
    33%{ transform:translate(16px,18px) scale(1.12); }
    66%{ transform:translate(-18px,8px) scale(.9); }
}

/* Reduced motion: freeze everything above to a static, accessible state. */
@media(prefers-reduced-motion:reduce){
    .nv-glow-char{
        animation:none !important;
        color:#C63A27 !important;
        text-shadow:none !important;
    }
    .dark .nv-glow-char{ color:#E98232 !important; }
    .nv-hero-cta-primary,
    .nv-hero-cta-secondary,
    .nv-about-hero-fade,
    .nv-about-hero-pulse,
    .nv-ring-rotate,
    .nv-badge-float,
    .nv-orbit-badge,
    .nv-problem-card{
        animation:none !important;
        transition:none !important;
    }
    .nv-badge-float{ transform:translate(-50%,-50%) !important; }
    .nv-float-dot{ display:none; }
    .nv-problem-card{ opacity:1 !important; transform:none !important; }
}

/* Floating dots add no value at the smallest supported widths (320–429px) —
   the graphic itself is hidden there anyway (see about.blade.php), so this
   is a safety net if that ever changes. Also skip them below 768px to save
   a little battery/paint cost on phones even where the graphic is shown. */
@media(max-width:767px){
    .nv-float-dot{ display:none; }
}

/* ---- About "reality / problem" section redesign: premium icon-card panel
   on the right, framing copy with an accent-bordered heading on the left.
   Cards are held hidden (via the generic .nv-reveal pattern) until they
   actually scroll into view — see initializeNaroVedaScrollReveal() in
   app.js, which adds .nv-in-view at that moment — rather than animating
   once on page load, which is invisible for anything starting below the
   fold. They lift on hover/focus, matching the hero CTA's premium
   interaction language without repeating its exact effect. ---- */
.nv-problem-card.nv-reveal{
    opacity:0;
    transform:translateY(20px) scale(.97);
    transition:
        opacity .6s cubic-bezier(.22,.61,.36,1),
        transform .6s cubic-bezier(.22,.61,.36,1),
        box-shadow .3s ease,
        border-color .3s ease;
    /* animation-delay (inline, staggered per card from Blade) still applies
       to this transition via transition-delay so the wave effect survives
       the switch from a load-time animation to a scroll-triggered one. */
    transition-delay:var(--nv-reveal-delay, 0s);
}
.nv-problem-card.nv-reveal.nv-in-view{
    opacity:1;
    transform:translateY(0) scale(1);
}
.nv-problem-card{
    box-shadow:0 1px 2px rgba(41,37,34,.03);
}
.nv-problem-card:hover,
.nv-problem-card:focus-within{
    transform:translateY(-4px) scale(1);
    box-shadow:0 16px 30px -14px rgba(198,58,39,.22);
    border-color:rgba(198,58,39,.35);
}
.dark .nv-problem-card:hover,
.dark .nv-problem-card:focus-within{
    box-shadow:0 16px 30px -14px rgba(233,130,50,.28);
    border-color:rgba(233,130,50,.4);
}

/* Animated icon badge: a soft "sonar ping" halo loops continuously behind
   every pain-point icon (a lightweight, inline alternative to a GIF — no
   external asset, scales crisply, respects dark mode and reduced motion),
   plus a playful wiggle the instant its card is hovered/focused. */
.nv-problem-icon{ position:relative; isolation:isolate; }
.nv-problem-icon::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:9999px;
    border:1.5px solid currentColor;
    opacity:.55;
    animation:nv-problem-ping 2.6s cubic-bezier(.3,.6,.4,1) infinite;
    pointer-events:none;
}
.nv-problem-card:nth-child(2) .nv-problem-icon::after{ animation-delay:.4s; }
.nv-problem-card:nth-child(3) .nv-problem-icon::after{ animation-delay:.8s; }
.nv-problem-card:nth-child(4) .nv-problem-icon::after{ animation-delay:1.2s; }
.nv-problem-card:nth-child(5) .nv-problem-icon::after{ animation-delay:1.6s; }
.nv-problem-card:nth-child(6) .nv-problem-icon::after{ animation-delay:2s; }
@keyframes nv-problem-ping{
    0%{ transform:scale(1); opacity:.55; }
    75%,100%{ transform:scale(1.55); opacity:0; }
}
.nv-problem-card:hover .nv-problem-icon,
.nv-problem-card:focus-within .nv-problem-icon{
    animation:nv-problem-wiggle .5s ease;
}
@keyframes nv-problem-wiggle{
    0%,100%{ transform:rotate(0deg); }
    25%{ transform:rotate(-8deg); }
    75%{ transform:rotate(8deg); }
}

/* Ambient floating dots inside the panel background, reusing the hero's
   drift keyframes for a consistent, subtle sense of motion in the panel
   (an on-brand substitute for a looping GIF background). */
.nv-problem-panel{ position:relative; overflow:hidden; }
.nv-problem-dot{
    position:absolute;
    border-radius:9999px;
    pointer-events:none;
    opacity:.5;
}
.nv-problem-dot--1{
    top:-6px; left:38%;
    width:9px; height:9px;
    background:radial-gradient(circle, #C63A27 0%, rgba(198,58,39,.15) 65%, transparent 100%);
    box-shadow:0 0 10px 2px rgba(198,58,39,.4);
    animation:nv-dot-drift-a 8s ease-in-out infinite;
}
.nv-problem-dot--2{
    top:30%; right:-8px;
    width:11px; height:11px;
    background:radial-gradient(circle, #E98232 0%, rgba(233,130,50,.15) 65%, transparent 100%);
    box-shadow:0 0 12px 2px rgba(233,130,50,.4);
    animation:nv-dot-drift-b 9.5s ease-in-out infinite;
    animation-delay:-3s;
}
.nv-problem-dot--3{
    bottom:-8px; left:14%;
    width:8px; height:8px;
    background:radial-gradient(circle, #24501D 0%, rgba(36,80,29,.15) 65%, transparent 100%);
    box-shadow:0 0 10px 2px rgba(36,80,29,.4);
    animation:nv-dot-drift-c 10s ease-in-out infinite;
    animation-delay:-5s;
}

/* Reduced motion: freeze the new problem-section effects to a static,
   accessible state, same policy as every other animation on this page. */
@media(prefers-reduced-motion:reduce){
    .nv-problem-card.nv-reveal{
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }
    .nv-problem-icon::after,
    .nv-problem-card:hover .nv-problem-icon,
    .nv-problem-card:focus-within .nv-problem-icon,
    .nv-story-step:hover .nv-problem-icon,
    .nv-story-step:focus-within .nv-problem-icon{
        animation:none !important;
    }
    .nv-problem-dot{ display:none; }
}

/* ---------------------------------------------------------------------
   Founding-story section: generic scroll-reveal base + an animated
   "growing" connecting rail behind the three timeline steps. The rail
   draws itself top-to-bottom once the panel scrolls into view, giving
   the section a lightweight, purposeful motion story instead of a
   static three-column list.
   --------------------------------------------------------------------- */
.nv-reveal{
    opacity:0;
    transform:translateY(18px);
    transition:
        opacity .6s cubic-bezier(.22,.61,.36,1),
        transform .6s cubic-bezier(.22,.61,.36,1);
    transition-delay:var(--nv-reveal-delay, 0s);
}
.nv-reveal.nv-in-view{
    opacity:1;
    transform:translateY(0);
}

.nv-story-step:hover .nv-problem-icon,
.nv-story-step:focus-within .nv-problem-icon{
    animation:nv-problem-wiggle .5s ease;
}

.nv-story-panel{ position:relative; }
.nv-story-rail{
    position:absolute;
    top:28px;
    bottom:28px;
    left:26px;
    width:2px;
    border-radius:9999px;
    background:linear-gradient(to bottom, #C63A27, #E98232, #24501D);
    transform-origin:top;
    transform:scaleY(0);
    transition:transform 1.1s cubic-bezier(.22,.61,.36,1);
    transition-delay:.15s;
    pointer-events:none;
}
.nv-story-panel.nv-in-view .nv-story-rail{
    transform:scaleY(1);
}
@media (min-width:768px){
    .nv-story-rail{ left:29px; }
}

@media(prefers-reduced-motion:reduce){
    .nv-reveal{
        opacity:1 !important;
        transform:none !important;
        transition:none !important;
    }
    .nv-story-rail{
        transform:scaleY(1) !important;
        transition:none !important;
    }
}

/* ---- Mission & Vision: connecting rail behind the two stacked cards ---- */
.nv-mv-rail{
    position:absolute;
    top:1.5rem;
    bottom:1.5rem;
    left:1.5rem;
    width:2px;
    border-radius:9999px;
    background:linear-gradient(to bottom, #C63A27, #E98232, #24501D);
    opacity:.35;
}

/* ---- About Us page transformation pass: bento values grid ---- */
.nv-bento-grid{
    display:grid;
    gap:1rem;
    grid-template-columns:repeat(2, 1fr);
}
@media (min-width:768px){
    .nv-bento-grid{ grid-template-columns:repeat(4, 1fr); }
}
.nv-bento-card{
    position:relative;
    overflow:hidden;
    transition:transform .3s ease, box-shadow .3s ease;
}
.nv-bento-card:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 28px -14px rgba(41,37,34,.18);
}
.nv-bento-card--feature{
    grid-column:span 2 / span 2;
}
@media (min-width:768px){
    .nv-bento-card--feature{
        grid-column:span 2 / span 2;
        grid-row:span 2 / span 2;
    }
}
.nv-bento-motif{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    color:#E98232;
    opacity:.06;
    pointer-events:none;
}

/* ---- Leadership portrait medallions (initials, no fabricated photos) ---- */
.nv-portrait-medallion{ overflow:hidden; }
.nv-portrait-pattern{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    color:#fff;
    opacity:.14;
    pointer-events:none;
}

/* ---- Leadership cards: rotating conic-gradient aura ring behind the medallion,
   a small "verified" badge, and a premium hover-glow on the card itself ---- */
.nv-aura-ring{
    position:relative;
    display:inline-flex;
}
.nv-aura-ring::before{
    content:"";
    position:absolute;
    inset:-5px;
    border-radius:9999px;
    z-index:0;
    filter:blur(5px);
    opacity:.6;
    animation: nv-aura-spin 7s linear infinite;
}
.nv-aura-ring--red::before{
    background:conic-gradient(from 0deg, #C63A27, #E98232, #C63A27);
}
.nv-aura-ring--green::before{
    background:conic-gradient(from 0deg, #24501D, #E98232, #24501D);
}
.nv-aura-ring > *{ position:relative; z-index:1; }
@keyframes nv-aura-spin{ to{ transform:rotate(360deg); } }

.nv-verified-badge{
    position:absolute;
    bottom:-2px;
    right:-2px;
    z-index:2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:1.5rem;
    width:1.5rem;
    border-radius:9999px;
    border:2px solid currentColor;
    box-shadow:0 2px 6px rgba(0,0,0,.12);
}

.nv-leader-card{
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.nv-leader-card--red:hover{
    transform: translateY(-4px);
    border-color: rgba(198,58,39,.35);
    box-shadow: 0 22px 44px -22px rgba(198,58,39,.3);
}
.nv-leader-card--green:hover{
    transform: translateY(-4px);
    border-color: rgba(36,80,29,.3);
    box-shadow: 0 22px 44px -22px rgba(36,80,29,.28);
}

@media (prefers-reduced-motion: reduce){
    .nv-aura-ring::before{ animation:none; }
    .nv-leader-card{ transition:none; }
}

/* ---- Governance section: a slow colour-shifting glow frame around the photo
   (rectangular, distinct from the leadership aura-ring), a soft pulsing
   "breathing" glow behind the point-card icons, and a card hover lift ---- */
.nv-glow-frame{
    position:relative;
    isolation:isolate;
}
.nv-glow-frame::before{
    content:"";
    position:absolute;
    inset:-3px;
    border-radius:inherit;
    z-index:-1;
    background:linear-gradient(120deg, #24501D, #E98232, #C63A27, #24501D);
    background-size:300% 300%;
    opacity:.45;
    filter:blur(10px);
    animation: nv-glow-shift 9s ease-in-out infinite;
}
@keyframes nv-glow-shift{
    0%{ background-position:0% 50%; }
    50%{ background-position:100% 50%; }
    100%{ background-position:0% 50%; }
}

.nv-pulse-glow{
    position:relative;
}
.nv-pulse-glow::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    box-shadow:0 0 0 0 rgba(36,80,29,.35);
    animation: nv-pulse-breathe 2.6s ease-out infinite;
    pointer-events:none;
}
@keyframes nv-pulse-breathe{
    0%{ box-shadow:0 0 0 0 rgba(36,80,29,.35); }
    70%{ box-shadow:0 0 0 10px rgba(36,80,29,0); }
    100%{ box-shadow:0 0 0 0 rgba(36,80,29,0); }
}

.nv-governance-card{
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nv-governance-card:hover{
    transform: translateY(-3px);
    border-color: rgba(36,80,29,.3);
    box-shadow: 0 18px 36px -20px rgba(36,80,29,.25);
}

/* ---- Specialize section: diagonal shimmer sweep (a 3rd, distinct glow mechanic) ---- */
.nv-shimmer-frame{ position:relative; isolation:isolate; }
.nv-shimmer-frame::after{
    content:"";
    position:absolute;
    inset:-40% -60%;
    background:linear-gradient(115deg, transparent 38%, rgba(255,255,255,.55) 48%, rgba(233,130,50,.45) 52%, transparent 62%);
    transform: translateX(-60%);
    animation: nv-shimmer-sweep 5.5s ease-in-out infinite;
    pointer-events:none;
    z-index:1;
}
@keyframes nv-shimmer-sweep{
    0%{ transform: translateX(-60%); }
    45%,100%{ transform: translateX(60%); }
}

/* ---- Specialize section: orbiting "live" icon cluster ---- */
.nv-orbit-wrap{ pointer-events:none; }
.nv-orbit-core{
    z-index:2;
    animation: nv-pulse-breathe 3.2s ease-out infinite;
}
.nv-orbit-ring{
    position:absolute;
    inset:0;
    animation: nv-orbit-spin var(--nv-orbit-duration,12s) linear infinite;
    animation-delay: var(--nv-orbit-delay,0s);
}
.nv-orbit-icon{
    position:absolute;
    top:0;
    left:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:1.65rem;
    width:1.65rem;
    border-radius:9999px;
    box-shadow:0 4px 10px -2px rgba(41,37,34,.35);
    transform: translate(-50%,-50%);
    animation: nv-orbit-counter var(--nv-orbit-duration,12s) linear infinite;
    animation-delay: var(--nv-orbit-delay,0s);
}
@keyframes nv-orbit-spin{ to{ transform: rotate(360deg); } }
@keyframes nv-orbit-counter{ to{ transform: translate(-50%,-50%) rotate(-360deg); } }

/* ---- Research process: traveling comet-light flow (a 4th, distinct glow mechanic) ---- */
.nv-flow-track{ padding-top:1.4rem; }
.nv-flow-track::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:2px;
    background:linear-gradient(to right, rgba(36,80,29,.18), rgba(36,80,29,.4), rgba(36,80,29,.18));
}
.nv-flow-comet{
    position:absolute;
    top:-3px;
    left:0;
    height:8px;
    width:8px;
    border-radius:9999px;
    background:#24501D;
    box-shadow:0 0 0 3px rgba(36,80,29,.18), 0 0 14px 4px rgba(36,80,29,.55);
    animation: nv-flow-travel 6s ease-in-out infinite;
}
@keyframes nv-flow-travel{
    0%{ left:0%; opacity:0; }
    8%{ opacity:1; }
    92%{ opacity:1; }
    100%{ left:calc(100% - 8px); opacity:0; }
}
.nv-research-card{
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.nv-research-card:hover{
    transform: translateY(-3px);
    border-color: rgba(36,80,29,.3);
    box-shadow: 0 18px 36px -20px rgba(36,80,29,.25);
}

@media (prefers-reduced-motion: reduce){
    .nv-glow-frame::before{ animation:none; }
    .nv-pulse-glow::after{ animation:none; }
    .nv-governance-card{ transition:none; }
    .nv-shimmer-frame::after{ animation:none; display:none; }
    .nv-orbit-ring,.nv-orbit-icon,.nv-orbit-core{ animation:none; }
    .nv-orbit-icon{ position:static; display:inline-flex; margin:2px; transform:none; }
    .nv-flow-comet{ animation:none; display:none; }
    .nv-research-card{ transition:none; }
}

/* ---- Oversized faint watermark icon behind the merged generic sections ---- */
.nv-watermark-icon{
    position:absolute;
    top:50%;
    left:0;
    width:220px;
    height:220px;
    max-width:60%;
    transform:translate(-25%, -50%);
    opacity:.06;
    pointer-events:none;
}
@media (max-width:767px){
    .nv-watermark-icon{ width:140px; height:140px; }
}

/* ---- Research flow: connected dotted path on desktop ---- */
.nv-research-flow{
    display:flex;
    flex-wrap:wrap;
    gap:1.25rem 1rem;
    position:relative;
}
.nv-research-step{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:6.5rem;
    position:relative;
}
.nv-research-step:not(:last-child)::after{
    content:"";
    position:absolute;
    top:1.5rem;
    left:calc(50% + 2.25rem);
    width:calc(100% - 1.5rem);
    height:2px;
    background-image:linear-gradient(to right, #E98232 50%, transparent 50%);
    background-size:10px 2px;
    opacity:.5;
}
@media (max-width:640px){
    .nv-research-step:not(:last-child)::after{ display:none; }
}

/* ---- Final CTA: image-backed section primary button with glow ---- */
.nv-final-cta-primary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.85rem 1.85rem;
    border-radius:9999px;
    background:#C63A27;
    color:#fff;
    font-weight:700;
    font-size:.95rem;
    box-shadow:0 0 0 0 rgba(198,58,39,.55);
    transition:transform .25s ease, box-shadow .6s ease, background-color .25s ease;
}
.nv-final-cta-primary:hover{
    background:#ab3020;
    transform:translateY(-2px);
    box-shadow:0 0 0 10px rgba(198,58,39,0);
}

@media(prefers-reduced-motion:reduce){
    .nv-bento-card:hover,
    .nv-final-cta-primary:hover{
        transform:none !important;
    }
}

/* ---- Personalized care: split panels with a sonar-pulse photo badge (a 5th, distinct glow mechanic) ---- */
.nv-split-divider{
    position:absolute;
    top:2rem;
    bottom:2rem;
    left:50%;
    width:1px;
    background:linear-gradient(to bottom, transparent, rgba(41,37,34,.14) 15%, rgba(41,37,34,.14) 85%, transparent);
}
.nv-sonar-badge{
    position:absolute;
    top:0;
    left:50%;
    transform:translate(-50%,-50%);
    width:4.75rem;
    height:4.75rem;
    z-index:5;
    display:flex;
    align-items:center;
    justify-content:center;
}
.nv-sonar-ring{
    position:absolute;
    inset:0;
    border-radius:9999px;
    border:1.5px solid rgba(198,58,39,.45);
    animation: nv-sonar-pulse 2.7s ease-out infinite;
}
@keyframes nv-sonar-pulse{
    0%{ transform:scale(.55); opacity:.8; }
    100%{ transform:scale(1.35); opacity:0; }
}
.nv-sonar-photo{
    position:relative;
    height:3.25rem;
    width:3.25rem;
    border-radius:9999px;
    overflow:hidden;
    border:3px solid #FFFCFA;
    box-shadow:0 6px 16px -4px rgba(41,37,34,.3);
    z-index:1;
}
.nv-icon-float{
    animation: nv-icon-bob 3s ease-in-out infinite;
}
@keyframes nv-icon-bob{
    0%,100%{ transform:translateY(0); }
    50%{ transform:translateY(-5px); }
}

@media (max-width:767px){
    .nv-sonar-badge{ width:3.75rem; height:3.75rem; }
    .nv-sonar-photo{ height:2.5rem; width:2.5rem; }
}

@media(prefers-reduced-motion:reduce){
    .nv-sonar-ring{ animation:none; display:none; }
    .nv-icon-float{ animation:none; }
}

/* Journey zigzag timeline — traveling vein pulse + sequential node glow */
.nv-timeline{ position:relative; }
.nv-timeline-item{ padding-left:2.75rem; }
@media(min-width:768px){
    .nv-timeline-item{ padding-left:0; }
}
.nv-vein{
    position:absolute;
    left:23px;
    top:4px;
    bottom:4px;
    width:2px;
    background:linear-gradient(to bottom, rgba(198,58,39,.3), rgba(233,130,50,.3), rgba(36,80,29,.3));
    border-radius:9999px;
}
@media(min-width:768px){
    .nv-vein{ left:50%; transform:translateX(-50%); }
}
.nv-vein-pulse{
    position:absolute;
    left:50%;
    top:0;
    width:11px;
    height:11px;
    margin-left:-4.5px;
    border-radius:9999px;
    background:radial-gradient(circle, #C63A27 0%, rgba(198,58,39,.55) 45%, transparent 75%);
    box-shadow:0 0 16px 4px rgba(198,58,39,.5);
    opacity:0;
    animation: nv-vein-travel 7s ease-in-out infinite;
}
@keyframes nv-vein-travel{
    0%{ top:0%; opacity:0; background:radial-gradient(circle, #C63A27 0%, rgba(198,58,39,.55) 45%, transparent 75%); box-shadow:0 0 16px 4px rgba(198,58,39,.5); }
    10%{ opacity:1; }
    45%{ background:radial-gradient(circle, #E98232 0%, rgba(233,130,50,.55) 45%, transparent 75%); box-shadow:0 0 16px 4px rgba(233,130,50,.5); }
    80%{ background:radial-gradient(circle, #24501D 0%, rgba(36,80,29,.55) 45%, transparent 75%); box-shadow:0 0 16px 4px rgba(36,80,29,.5); opacity:1; }
    100%{ top:100%; opacity:0; }
}
.nv-vein-node{
    position:absolute;
    left:18px;
    top:2.1rem;
    width:11px;
    height:11px;
    border-radius:9999px;
    background:#FFFCFA;
    border:2px solid rgba(198,58,39,.5);
    box-shadow:0 0 0 4px rgba(198,58,39,.08);
    z-index:1;
    animation: nv-node-glow 3.4s ease-in-out infinite;
    animation-delay: var(--nv-node-delay, 0s);
}
@media(min-width:768px){
    .nv-vein-node{ left:50%; margin-left:-5.5px; top:1.75rem; }
}
@keyframes nv-node-glow{
    0%,100%{ box-shadow:0 0 0 4px rgba(198,58,39,.08); border-color:rgba(198,58,39,.5); }
    50%{ box-shadow:0 0 0 9px rgba(198,58,39,.2); border-color:rgba(198,58,39,.95); }
}
.nv-journey-card{
    transition: transform .35s ease, box-shadow .35s ease;
}
.nv-journey-card:hover,
.nv-journey-card:focus-within{
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -14px rgba(41,37,34,.2);
}
.nv-tilt-badge{
    animation: nv-tilt-wobble 4.5s ease-in-out infinite;
}
@keyframes nv-tilt-wobble{
    0%,100%{ transform: rotate(-7deg); }
    50%{ transform: rotate(7deg); }
}

@media(prefers-reduced-motion:reduce){
    .nv-vein-pulse{ animation:none; opacity:0; }
    .nv-vein-node{ animation:none; }
    .nv-tilt-badge{ animation:none; }
    .nv-journey-card{ transition:none; }
}

/* Journey image frame — sheen sweep + floating live icon chips */
.nv-journey-frame{ position:relative; isolation:isolate; }
.nv-journey-sheen{
    position:absolute;
    inset:0;
    background:linear-gradient(115deg, transparent 42%, rgba(255,255,255,.4) 50%, transparent 58%);
    transform:translateX(-120%);
    animation: nv-sheen-sweep 5.5s ease-in-out infinite;
}
@keyframes nv-sheen-sweep{
    0%{ transform:translateX(-120%); }
    55%,100%{ transform:translateX(120%); }
}
.nv-float-chip{
    position:absolute;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:2.75rem;
    width:2.75rem;
    border-radius:9999px;
    background:#FFFCFA;
    box-shadow:0 10px 24px -8px rgba(41,37,34,.28);
    z-index:2;
    opacity:0;
    animation: nv-chip-rise 4.5s ease-in-out infinite;
}
.nv-float-chip--1{ top:-14px; left:-14px; animation-delay:0s; }
.nv-float-chip--2{ bottom:28%; right:-16px; animation-delay:1.5s; }
.nv-float-chip--3{ bottom:-14px; left:18%; animation-delay:3s; }
@keyframes nv-chip-rise{
    0%{ opacity:0; transform:translateY(10px) scale(.88); }
    18%{ opacity:1; transform:translateY(0) scale(1); }
    68%{ opacity:1; transform:translateY(-3px) scale(1); }
    88%{ opacity:0; transform:translateY(-12px) scale(.92); }
    100%{ opacity:0; transform:translateY(10px) scale(.88); }
}

@media(prefers-reduced-motion:reduce){
    .nv-journey-sheen{ animation:none; display:none; }
    .nv-float-chip{ animation:none; opacity:1; transform:none; }
}

/* Journey cards — ultra-premium upgrade: gradient accent, ghost number, glass hover */
.nv-timeline-item:nth-child(3n+1) .nv-journey-card{ --nv-accent-a:#C63A27; --nv-accent-b:#E98232; }
.nv-timeline-item:nth-child(3n+2) .nv-journey-card{ --nv-accent-a:#24501D; --nv-accent-b:#6fae5c; }
.nv-timeline-item:nth-child(3n) .nv-journey-card{ --nv-accent-a:#E98232; --nv-accent-b:#C63A27; }

.nv-journey-card{
    isolation:isolate;
}
.nv-journey-accent{
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:3px;
    background:linear-gradient(90deg, var(--nv-accent-a, #C63A27), var(--nv-accent-b, #E98232));
    opacity:.85;
}
.nv-journey-ghost-num{
    position:absolute;
    top:-.75rem;
    right:.5rem;
    font-size:4rem;
    line-height:1;
    font-weight:800;
    color:var(--nv-accent-a, #C63A27);
    opacity:.07;
    pointer-events:none;
    z-index:0;
    user-select:none;
}
@media(min-width:768px){
    .nv-journey-ghost-num{ font-size:5rem; }
}
.nv-timeline-item:nth-child(3n+1) .nv-journey-card:hover,
.nv-timeline-item:nth-child(3n+1) .nv-journey-card:focus-within{
    border-color:rgba(198,58,39,.4);
    box-shadow:0 22px 44px -18px rgba(198,58,39,.35);
}
.nv-timeline-item:nth-child(3n+2) .nv-journey-card:hover,
.nv-timeline-item:nth-child(3n+2) .nv-journey-card:focus-within{
    border-color:rgba(36,80,29,.4);
    box-shadow:0 22px 44px -18px rgba(36,80,29,.35);
}
.nv-timeline-item:nth-child(3n) .nv-journey-card:hover,
.nv-timeline-item:nth-child(3n) .nv-journey-card:focus-within{
    border-color:rgba(233,130,50,.4);
    box-shadow:0 22px 44px -18px rgba(233,130,50,.35);
}
.nv-journey-card:hover .nv-journey-ghost-num{
    opacity:.12;
}
.nv-journey-card:hover .nv-tilt-badge{
    transform: scale(1.08);
}

@media(prefers-reduced-motion:reduce){
    .nv-journey-card{ transition:none; }
    .nv-journey-card:hover .nv-tilt-badge{ transform:none; }
}

/* Technology & Society commitment cards — premium box-card pair */
.nv-commit-card{
    position:relative;
    isolation:isolate;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.nv-commit-card:hover,
.nv-commit-card:focus-within{
    transform: translateY(-5px);
}
.nv-commit-accent{
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:3px;
}
.nv-commit-card--tech .nv-commit-accent{
    background:linear-gradient(90deg, #E98232, #C63A27);
}
.nv-commit-card--society .nv-commit-accent{
    background:linear-gradient(90deg, #24501D, #6fae5c);
}
.nv-commit-card--tech:hover,
.nv-commit-card--tech:focus-within{
    border-color:rgba(233,130,50,.4);
    box-shadow:0 22px 44px -18px rgba(233,130,50,.32);
}
.nv-commit-card--society:hover,
.nv-commit-card--society:focus-within{
    border-color:rgba(36,80,29,.4);
    box-shadow:0 22px 44px -18px rgba(36,80,29,.32);
}

/* Data-flow pulse dots (Technology card) */
.nv-pulse-dots{
    display:inline-flex;
    gap:6px;
}
.nv-pulse-dots span{
    width:6px;
    height:6px;
    border-radius:9999px;
    background:var(--nv-dot-color, #E98232);
    opacity:.3;
    animation: nv-dot-pulse 1.8s ease-in-out infinite;
}
.nv-pulse-dots span:nth-child(2){ animation-delay:.25s; }
.nv-pulse-dots span:nth-child(3){ animation-delay:.5s; }
@keyframes nv-dot-pulse{
    0%,100%{ opacity:.25; transform:scale(.8); }
    50%{ opacity:1; transform:scale(1.2); }
}

/* Rising voice bubbles (Society card) */
.nv-rise-wrap{
    position:absolute;
    bottom:0;
    right:1.5rem;
    width:3rem;
    height:5rem;
    overflow:hidden;
    pointer-events:none;
    z-index:0;
}
.nv-rise-dot{
    position:absolute;
    bottom:-10px;
    width:8px;
    height:8px;
    border-radius:9999px;
    background:rgba(36,80,29,.35);
    opacity:0;
    animation: nv-rise-up 4.2s ease-in infinite;
}
.nv-rise-dot:nth-child(1){ left:4px; animation-delay:0s; }
.nv-rise-dot:nth-child(2){ left:22px; animation-delay:1.4s; }
.nv-rise-dot:nth-child(3){ left:13px; animation-delay:2.8s; }
@keyframes nv-rise-up{
    0%{ transform:translateY(0); opacity:0; }
    15%{ opacity:.8; }
    90%{ opacity:0; }
    100%{ transform:translateY(-60px); opacity:0; }
}

/* Breathing watermark icon (used across generic banner sections) */
.nv-watermark-icon{
    animation: nv-watermark-breathe 6s ease-in-out infinite;
}
@keyframes nv-watermark-breathe{
    0%,100%{ opacity:.06; transform:translate(-25%, -50%) scale(1); }
    50%{ opacity:.12; transform:translate(-25%, -50%) scale(1.04); }
}

@media(prefers-reduced-motion:reduce){
    .nv-commit-card{ transition:none; }
    .nv-pulse-dots span{ animation:none; opacity:.6; }
    .nv-rise-dot{ animation:none; opacity:0; }
    .nv-watermark-icon{ animation:none; }
}

/* Mirrored watermark (Society card) keeps its horizontal flip through the breathe animation */
.nv-commit-card--society .nv-watermark-icon,
.nv-society-flip{
    animation-name: nv-watermark-breathe-flip;
}
@keyframes nv-watermark-breathe-flip{
    0%,100%{ opacity:.06; transform:translate(-25%, -50%) scale(1) scaleX(-1); }
    50%{ opacity:.12; transform:translate(-25%, -50%) scale(1.04) scaleX(-1); }
}
@media(prefers-reduced-motion:reduce){
    .nv-commit-card--society .nv-watermark-icon{ animation:none; }
}

/* Privacy section: box-card text + image, mosaic "decrypt" overlay + square pulse badge */
.nv-privacy-card{
    transition: box-shadow .3s ease, transform .3s ease;
}
.nv-privacy-card:hover{
    box-shadow: 0 18px 40px -20px rgba(198,58,39,.25);
    transform: translateY(-2px);
}
.nv-privacy-pill{
    transition: border-color .25s ease, transform .2s ease;
}
.nv-privacy-pill:hover{
    border-color: rgba(198,58,39,.35);
    transform: translateY(-1px);
}

.nv-privacy-frame{ position:relative; }
.nv-privacy-mosaic{
    position:absolute; inset:0;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    grid-template-rows:repeat(3,1fr);
    pointer-events:none;
}
.nv-mosaic-cell{
    background: rgba(198,58,39,.45);
    opacity:0;
    animation: nv-mosaic-flicker 3.6s ease-in-out infinite;
    animation-delay: var(--nv-cell-delay, 0s);
}
.nv-mosaic-cell:nth-child(3n+2){ background: rgba(36,80,29,.4); }
.nv-mosaic-cell:nth-child(3n){ background: rgba(233,130,50,.4); }
@keyframes nv-mosaic-flicker{
    0%, 92%, 100%{ opacity:0; }
    96%{ opacity:.55; }
}

.nv-privacy-badge{
    position:absolute;
    right:-14px;
    bottom:-14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}
.nv-square-pulse{
    position:absolute;
    inset:0;
    border-radius: .75rem;
    border: 2px solid rgba(198,58,39,.55);
    animation: nv-square-ring 2.6s ease-out infinite;
}
@keyframes nv-square-ring{
    0%{ transform:scale(.85) rotate(0deg); opacity:.7; }
    70%{ opacity:0; }
    100%{ transform:scale(1.6) rotate(8deg); opacity:0; }
}
@media(prefers-reduced-motion:reduce){
    .nv-privacy-card{ transition:none; }
    .nv-privacy-card:hover{ transform:none; }
    .nv-mosaic-cell{ animation:none; opacity:0; }
    .nv-square-pulse{ animation:none; opacity:0; }
}

/* FAQ: flip cards — tap a question card to flip it over and reveal the answer on the back.
   An uncommon pattern for FAQs (more typical of flashcard apps), built with a pure-CSS
   checkbox + label toggle so it needs no JavaScript and stays keyboard-accessible. */
.nv-flip-perspective{
    perspective: 1800px;
}
.nv-flip-card{
    position:relative;
}
.nv-flip-inner{
    position:relative;
    display:block;
    width:100%;
    height:100%;
    transition: transform .65s cubic-bezier(.4,.1,.2,1);
    transform-style: preserve-3d;
}
.nv-flip-toggle:checked + .nv-flip-card .nv-flip-inner{
    transform: rotateY(180deg);
}
.nv-flip-face{
    position:absolute;
    inset:0;
    backface-visibility:hidden;
    -webkit-backface-visibility:hidden;
    display:flex;
    flex-direction:column;
}
.nv-flip-back{
    transform: rotateY(180deg);
}
.nv-flip-card:hover .nv-flip-front{
    border-color: rgba(198,58,39,.3);
    box-shadow: 0 16px 34px -22px rgba(198,58,39,.3);
}
.nv-flip-front, .nv-flip-back{
    transition: border-color .25s ease, box-shadow .25s ease;
}

.nv-flip-hint-icon{
    animation: nv-flip-hint-rotate 2.6s ease-in-out infinite;
    transform-origin: center;
}
@keyframes nv-flip-hint-rotate{
    0%, 100%{ transform: rotate(0deg); }
    50%{ transform: rotate(150deg); }
}
@media(prefers-reduced-motion:reduce){
    .nv-flip-inner{ transition:none; }
    .nv-flip-hint-icon{ animation:none; }
}

/* Why NaroVeda: asymmetric bento-style feature mosaic (image spans two rows,
   a stat cell, a confidential-care cell, pill tags, and a care-team cell with
   an orbiting-node illustration instead of real patient photos). */
.nv-mosaic-grid{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.nv-mosaic-cell-card{
    min-height: 9.5rem;
}
.nv-mosaic-b{
    min-height: 14rem;
    order: -1;
}
@media(min-width: 768px){
    .nv-mosaic-grid{
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto auto;
        gap: 1.25rem;
    }
    .nv-mosaic-a{ grid-column: 1; grid-row: 1; }
    .nv-mosaic-b{ grid-column: 2; grid-row: 1 / span 2; min-height: 0; order: 0; }
    .nv-mosaic-c{ grid-column: 3; grid-row: 1; }
    .nv-mosaic-d{ grid-column: 4; grid-row: 1; }
    .nv-mosaic-e{ grid-column: 1; grid-row: 2; }
    .nv-mosaic-f{ grid-column: 3; grid-row: 2; }
    .nv-mosaic-g{ grid-column: 3; grid-row: 3; }
    .nv-mosaic-h{ grid-column: 4; grid-row: 2 / span 2; }
}

.nv-mosaic-badge{
    position:absolute;
    top: .9rem;
    left: 50%;
    transform: translateX(-50%);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height: 2.5rem;
    width: 2.5rem;
    border-radius: 0.85rem;
    background: var(--nv-surface-white, #fff);
    color: #24501D;
    box-shadow: 0 10px 24px -14px rgba(0,0,0,.35);
    animation: nv-mosaic-badge-bob 3.4s ease-in-out infinite;
}
@keyframes nv-mosaic-badge-bob{
    0%, 100%{ transform: translateX(-50%) translateY(0); }
    50%{ transform: translateX(-50%) translateY(-6px); }
}

.nv-mosaic-orbit{
    position:relative;
    height: 2.75rem;
    width: 5.5rem;
}
.nv-mosaic-dot{
    position:absolute;
    top:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height: 2.25rem;
    width: 2.25rem;
    border-radius: 9999px;
    background: #fff;
    border: 2px solid var(--nv-surface-warm, #FFF7F2);
    box-shadow: 0 6px 14px -8px rgba(0,0,0,.3);
    color: #C63A27;
}
.dark .nv-mosaic-dot{ background:#2a2622; border-color:#211e1b; color:#E98232; }
.nv-mosaic-dot--1{ left:0; z-index:3; }
.nv-mosaic-dot--2{ left:1.5rem; z-index:2; color:#E98232; }
.nv-mosaic-dot--3{ left:3rem; z-index:1; color:#24501D; }

.nv-mosaic-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:fit-content;
    padding: .4rem .9rem;
    border-radius: 9999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    background: var(--nv-surface-warm, #FFF7F2);
    color: #292522;
    border: 1px solid #E9E1DC;
}
.dark .nv-mosaic-pill{ background:#211e1b; color:#f5f1ee; border-color:#3a352f; }
.nv-mosaic-pill--active{
    background: #24501D;
    color:#fff;
    border-color:#24501D;
}

@media(prefers-reduced-motion:reduce){
    .nv-mosaic-badge{ animation:none; }
}

/* Why NaroVeda mosaic: photo-capped feature cards (compare + care-team cells) */
.nv-mosaic-photo-card{
    border: 1px solid #E9E1DC;
}
.dark .nv-mosaic-photo-card{ border-color:#3a352f; }
.nv-mosaic-photo-cap{
    position:relative;
    height: 7.5rem;
    overflow:hidden;
}
.nv-mosaic-photo-card img{
    transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.nv-mosaic-photo-card:hover img{
    transform: scale(1.06);
}
.nv-mosaic-photo-fade{
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.35) 100%);
}
.nv-mosaic-photo-icon{
    position:absolute;
    bottom: .6rem;
    right: .6rem;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height: 2rem;
    width: 2rem;
    border-radius: 9999px;
    background: #fff;
    color:#C63A27;
    box-shadow: 0 6px 16px -8px rgba(0,0,0,.4);
}
.nv-mosaic-photo-body{
    flex: 1;
}
.nv-mosaic-overlay-fade{
    position:absolute;
    inset:0;
    background: linear-gradient(180deg, rgba(14,30,10,.05) 0%, rgba(14,30,10,.15) 45%, rgba(14,30,10,.82) 100%);
}
.nv-mosaic-photo-icon--top{
    bottom: auto;
    top: .75rem;
    right: .75rem;
    background: rgba(255,255,255,.16);
    color:#fff;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: none;
}
.nv-mosaic-cell-card,
.nv-mosaic-photo-card{
    transition: transform .3s ease, box-shadow .3s ease;
}
.nv-mosaic-cell-card:hover,
.nv-mosaic-photo-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -20px rgba(41,37,34,.3);
}
.dark .nv-mosaic-cell-card:hover,
.dark .nv-mosaic-photo-card:hover{
    box-shadow: 0 16px 32px -20px rgba(0,0,0,.6);
}
@media(prefers-reduced-motion:reduce){
    .nv-mosaic-photo-card img{ transition:none; }
    .nv-mosaic-cell-card,
    .nv-mosaic-photo-card{ transition:none; }
}
