1import{j as e,A as R,m as v}from"./vendor-motion-DedOVqex.js";import{r as c,u as $,L as Y}from"./vendor-react-CKt5niIp.js";import{a as j,e as G,X as E}from"./App-vsTbtGw1.js";import{C as U}from"./chevron-right-3hl8rv9N.js";import{R as T}from"./RutledgeLogo-C4OGVXpW.js";import{P as K}from"./plus-DCkG_MwG.js";import{C as z}from"./chevron-down-D3I365fS.js";import{M as Q}from"./mail-DKLsFbtw.js";import{M as X}from"./map-pin-BmkgsCCh.js";import{A as Z,G as ee}from"./graduation-cap-Cs951smf.js";import{a as te}from"./CookieBanner-CkvoUqIj.js";import{A as re}from"./arrow-up-MXP2B8Wq.js";import{B as ae}from"./briefcase-Cntrviqs.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const W=j("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const se=j("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/** 12 * @license lucide-react v0.462.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const ie=j("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/** 17 * @license lucide-react v0.462.0 - ISC 18 * 19 * This source code is licensed under the ISC license. 20 * See the LICENSE file in the root directory of this source tree. 21 */const ne=j("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/** 22 * @license lucide-react v0.462.0 - ISC 23 * 24 * This source code is licensed under the ISC license. 25 * See the LICENSE file in the root directory of this source tree. 26 */const oe=j("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** 27 * @license lucide-react v0.462.0 - ISC 28 * 29 * This source code is licensed under the ISC license. 30 * See the LICENSE file in the root directory of this source tree. 31 */const V=j("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** 32 * @license lucide-react v0.462.0 - ISC 33 * 34 * This source code is licensed under the ISC license. 35 * See the LICENSE file in the root directory of this source tree. 36 */const le=j("Wrench",[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]]),ce=()=>{const[t,p]=c.useState(!0),[s,m]=c.useState(!0),{state:n}=G(),a=n.settings.maintenanceMode,i=n.settings.maintenanceText?.trim(),r=n.settings.announcementText?.trim(),o=n.settings.announcementEnabled!==!1,f=t&&o;return!f&&!(a&&s)?null:e.jsxs(e.Fragment,{children:[a&&s&&e.jsxs("div",{className:"flex items-center justify-center gap-2 sm:gap-3 min-h-10 py-2 pl-4 pr-10 sm:px-6 bg-primary text-primary-foreground relative",children:[e.jsxs("span",{className:"shrink-0 inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full bg-black/20 font-body font-semibold text-[0.6875rem] uppercase tracking-wider",children:[e.jsx(le,{className:"w-3 h-3","aria-hidden":"true"})," Maintenance"]}),e.jsx("p",{className:"font-body font-medium text-[0.75rem] sm:text-[0.8125rem] leading-tight",children:i||"We are carrying out scheduled maintenance, some features may be briefly unavailable."}),e.jsx("button",{onClick:()=>m(!1),className:"absolute right-0 top-1/2 -translate-y-1/2 h-11 w-11 inline-flex items-center justify-center hover:bg-black/10 transition-colors rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/40","aria-label":"Dismiss maintenance notice",children:e.jsx(E,{className:"w-3.5 h-3.5","aria-hidden":"true"})})]}),f&&e.jsxs("div",{className:"flex items-center justify-center gap-2 sm:gap-3 min-h-10 py-2 pl-4 pr-10 sm:px-6 bg-foreground text-background relative",children:[r?e.jsx("p",{className:"font-body font-medium text-[0.75rem] sm:text-[0.8125rem] text-white/80 leading-tight",children:r}):e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"shrink-0 inline-flex items-center gap-2 px-2.5 py-1 rounded-full bg-primary/20 text-primary font-body font-semibold text-[0.6875rem] uppercase tracking-wider",children:"September intake"}),e.jsxs("p",{className:"font-body font-medium text-[0.75rem] sm:text-[0.8125rem] text-white/80 leading-tight",children:["Skills for Life & Work, £100 bonus after 13 weeks + £50 refer a friend, T&Cs apply, "," ",e.jsxs("a",{href:"/youth-training#register",className:"text-white font-semibold underline underline-offset-2 hover:text-primary-foreground transition-colors inline-flex items-center gap-1",children:["claim your place ",e.jsx(U,{className:"w-3 h-3"})]})]})]}),e.jsx("button",{onClick:()=>p(!1),className:"absolute right-0 top-1/2 -translate-y-1/2 h-11 w-11 inline-flex items-center justify-center hover:bg-white/10 transition-colors rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/40","aria-label":"Dismiss announcement",children:e.jsx(E,{className:"w-3.5 h-3.5 text-white/50","aria-hidden":"true"})})]})]})},D=[{label:"Find a Job",href:"/jobs",desc:"Browse vacancies across NI"},{label:"For Employers",href:"/employers",desc:"Post jobs & hire staff"},{label:"For Candidates",href:"/candidates",desc:"Upload CV & register"},{label:"Career Advice",href:"/career-centre",desc:"CV tips & career advice"}],H=[{label:"Apprenticeships NI",href:"/apprenticeships",desc:"Level 2 & 3 government-funded programme"},{label:"Youth Training",href:"/youth-training",desc:"Skills for Life & Work, government-funded programme"},{label:"Find your local centre",href:"/youth-training#centres",desc:"Skills for Life & Work in your town"}
36,{label:"Parents & guardians",href:"/skills-for-life-and-work/parents",desc:"What your child can do after GCSEs"},{label:"Compare your options",href:"/skills-for-life-and-work/compare",desc:"Training, apprenticeship, sixth form or college"},{label:"Schools & careers staff",href:"/skills-for-life-and-work/schools",desc:"Refer a pupil or book a visit"},{label:"Courses",href:"/training",desc:"View all qualifications"},{label:"For Employers",href:"/training/employers",desc:"Offer a placement or hire an apprentice"},{label:"Make a Payment",href:"/make-a-payment",desc:"Pay an invoice online"}],B=[{label:"Overview",href:"/domiciliary-care",desc:"Compassionate care at home"},{label:"Services We Provide",href:"/domiciliary-care#services",desc:"Personal, household & specialist care"},{label:"Areas We Cover",href:"/domiciliary-care#areas",desc:"Northern & Southern Trust"},{label:"Funding & Fees",href:"/domiciliary-care#funding",desc:"From £25/hr - funding options"},{label:"Customer Enquiry",href:"/domiciliary-care#enquiry",desc:"Request care for you or a loved one"},{label:"Join Our Care Team",href:"/jobs?sector=Healthcare",desc:"Browse current care vacancies"}],q=[{label:"About Rutledge",href:"/about",desc:"Our story since 1989"},{label:"Meet the Team",href:"/team",desc:"Our people"},{label:"Join the Team",href:"/careers",desc:"Internal vacancies"},{label:"Charity Partner",href:"/charity-partner",desc:"NI Children's Hospice"},{label:"Safeguarding",href:"/safeguarding",desc:"Our policy"}],de=()=>{const[t,p]=c.useState(!1),[s,m]=c.useState(null),[n,a]=c.useState(!1),i=c.useRef(null),r=$(),o=c.useRef(null),f=c.useRef(null),k=c.useRef({}),w=c.useRef({});c.useEffect(()=>{const h=()=>p(window.scrollY>10);return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]),c.useEffect(()=>(n?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[n]),c.useEffect(()=>{if(!s)return;const h=b=>{if(b.key==="Escape"){const g=w.current[s];m(null),g?.focus()}},l=b=>{const g=k.current[s],d=w.current[s],u=b.target;g?.contains(u)||d?.contains(u)||m(null)};return document.addEventListener("keydown",h),document.addEventListener("mousedown",l),()=>{document.removeEventListener("keydown",h),document.removeEventListener("mousedown",l)}},[s]),c.useEffect(()=>{if(!n)return;const h=document.activeElement,l=o.current,b=window.setTimeout(()=>{l?.querySelector('a, button, [tabindex]:not([tabindex="-1"])')?.focus()},50),g=d=>{if(d.key==="Escape"){d.stopPropagation(),a(!1);return}if(d.key!=="Tab"||!l)return;const u=l.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])');if(u.length===0)return;const x=u[0],O=u[u.length-1],L=document.activeElement;d.shiftKey&&(L===x||!l.contains(L))?(d.preventDefault(),O.focus()):!d.shiftKey&&L===O&&(d.preventDefault(),x.focus())};return document.addEventListener("keydown",g),()=>{window.clearTimeout(b),document.removeEventListener("keydown",g),h?.focus?.()}},[n]);const A=h=>{i.current&&clearTimeout(i.current),m(h)},P=()=>{i.current=window.setTimeout(()=>m(null),180)},y=h=>r.pathname===h,I=h=>h.some(l=>r.pathname===l.href),J=(h,l,b,g)=>e.jsxs(v.div,{id:g,role:"menu",ref:d=>{k.current[b]=d},initial:{opacity:0,scale:.96},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.96},transition:{duration:.2,ease:"easeOut"},style:{transformOrigin:"top center"},className:"absolute top-full left-1/2 -translate-x-1/2 mt-2 bg-background/95 backdrop-blur-xl border border-border/60 rounded-xl py-5 px-6 min-w-[420px] z-50",onMouseEnter:()=>{i.current&&clearTimeout(i.current)},onMouseLeave:P,children:[e.jsx("p",{className:"font-ui font-bold text-label uppercase tracking-[0.12em] text-muted-foreground mb-3 px-2",children:l}),e.jsx("div",{className:"grid grid-cols-2 gap-1",children:h.map(d=>e.jsxs("a",{href:d.href,role:"menuitem",className:"group flex flex-col gap-0.5 rounded-lg px-3 py-2.5 hover:bg-primary/5 transition-colors duration-150",children:[e.jsx("span",{className:"font-body font-semibold text-[0.875rem] text-foreground group-hover:text-primary transition-colors",children:d.label}),e.jsx("span",{className:"font-body text-[0.75rem] text-muted-foreground leading-snug",children:d.desc})]},d.href))})]}),F=c.useCallback(h=>{window.setTimeout(()=>{k.current[h]?.querySelector('a[role="menuitem"]')?.focus()},20)},[]),N=({label:h,dropdownKey:l,links:b,title:g})=>
36{const d=`nav-menu-${l}`,u=s===l;return e.jsxs("div",{className:"relative",onMouseEnter:()=>A(l),onMouseLeave:P,children:[e.jsxs("button",{ref:x=>{w.current[l]=x},type:"button","aria-haspopup":"menu","aria-expanded":u,"aria-controls":d,onClick:()=>{i.current&&clearTimeout(i.current);const x=u?null:l;m(x),x&&F(l)},onKeyDown:x=>{(x.key==="ArrowDown"||x.key==="Enter"&&!u||x.key===" "&&!u)&&(x.preventDefault(),i.current&&clearTimeout(i.current),m(l),F(l))},className:`flex items-center gap-1 px-3 py-3 font-body font-semibold text-[0.875rem] tracking-[0.05em] transition-colors duration-150 min-h-[44px] relative ${u||I(b)?"text-primary":"text-foreground hover:text-primary"}`,children:[h,e.jsx(z,{className:`w-3.5 h-3.5 transition-transform duration-200 ${u?"rotate-180":""}`,"aria-hidden":"true"}),I(b)&&e.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-[2px] bg-primary rounded-full"})]}),e.jsx(R,{children:u&&J(b,g,l,d)})]})};return e.jsxs(e.Fragment,{children:[e.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-2 focus:left-2 focus:z-[200] focus:bg-primary focus:text-primary-foreground focus:px-4 focus:py-2 focus:rounded-md",children:"Skip to main content"}),e.jsx("nav",{className:`sticky top-0 z-50 h-[72px] flex items-center transition-all duration-300 ${t?"bg-background/90 backdrop-blur-xl shadow-nav border-b border-border/50":"bg-background border-b border-transparent"}`,children:e.jsxs("div",{className:"max-w-[1240px] mx-auto w-full px-6 flex items-center gap-4",children:[e.jsx("div",{className:"flex-1 flex items-center",children:e.jsx(T,{})}),e.jsxs("div",{className:"hidden lg:flex items-center gap-1 shrink-0",children:[e.jsxs("a",{href:"/",className:`relative px-3 py-2 font-body font-semibold text-[0.875rem] tracking-[0.05em] transition-colors duration-150 ${y("/")?"text-primary":"text-foreground hover:text-primary"}`,children:["Home",y("/")&&e.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-[2px] bg-primary rounded-full"})]}),e.jsx(N,{label:"Employment",dropdownKey:"employment",links:D,title:"Employment Services"}),e.jsx(N,{label:"Training",dropdownKey:"training",links:H,title:"Training & Development"}),e.jsx(N,{label:"Domiciliary Care",dropdownKey:"domiciliary",links:B,title:"Domiciliary Care"}),e.jsxs("a",{href:"/blog",className:`relative px-3 py-2 font-body font-semibold text-[0.875rem] tracking-[0.05em] transition-colors duration-150 ${y("/blog")?"text-primary":"text-foreground hover:text-primary"}`,children:["Blog",y("/blog")&&e.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-[2px] bg-primary rounded-full"})]}),e.jsx(N,{label:"About",dropdownKey:"about",links:q,title:"About Rutledge"}),e.jsxs("a",{href:"/contact",className:`relative px-3 py-2 font-body font-semibold text-[0.875rem] tracking-[0.05em] transition-colors duration-150 ${y("/contact")?"text-primary":"text-foreground hover:text-primary"}`,children:["Contact",y("/contact")&&e.jsx("span",{className:"absolute bottom-0 left-3 right-3 h-[2px] bg-primary rounded-full"})]})]}),e.jsx("div",{className:"hidden lg:block flex-1"}),e.jsx("button",{ref:f,className:"lg:hidden flex items-center justify-center w-11 h-11 rounded-md hover:bg-muted transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2",onClick:()=>a(!n),"aria-expanded":n,"aria-controls":"mobile-nav-dialog","aria-label":n?"Close menu":"Open menu",children:n?e.jsx(E,{className:"w-5 h-5"}):e.jsx(oe,{className:"w-5 h-5"})})]})}),e.jsx(R,{children:n&&e.jsxs(e.Fragment,{children:[e.jsx(v.div,{initial:{opacity:0}
36,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[60] bg-ink/40 backdrop-blur-md lg:hidden",onClick:()=>a(!1)}),e.jsxs(v.div,{id:"mobile-nav-dialog",role:"dialog","aria-modal":"true","aria-label":"Main menu",ref:o,initial:{x:"100%"},animate:{x:0},exit:{x:"100%"},transition:{type:"spring",damping:32,stiffness:320},className:"fixed inset-0 z-[61] w-full bg-paper shadow-2xl overflow-hidden lg:hidden flex flex-col",children:[e.jsxs("div",{className:"flex items-center justify-between px-6 pt-[max(env(safe-area-inset-top),1.25rem)] pb-4 shrink-0",children:[e.jsx(T,{}),e.jsx("button",{onClick:()=>a(!1),className:"w-11 h-11 flex items-center justify-center rounded-full border border-paper-border text-ink hover:bg-ink hover:text-paper active:scale-95 transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-paper","aria-label":"Close menu",children:e.jsx(E,{className:"w-4 h-4",strokeWidth:2})})]}),e.jsxs("div",{className:"px-6 pb-2 flex items-center gap-2 shrink-0",children:[e.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary animate-pulse"}),e.jsx("span",{className:"font-ui text-[10px] tracking-[0.22em] uppercase text-ink-muted",children:"Menu · Northern Ireland"})]}),e.jsxs("nav",{className:"flex-1 overflow-y-auto overscroll-contain px-6 pt-4 pb-6",children:[e.jsxs(v.ul,{initial:"hidden",animate:"show",variants:{show:{transition:{staggerChildren:.04,delayChildren:.08}}},className:"space-y-1",children:[e.jsx(S,{href:"/",label:"Home",index:"00",active:y("/"),onNav:()=>a(!1)}),e.jsx(C,{index:"01",title:"Employment",links:D,pathname:r.pathname,onNav:()=>a(!1)}),e.jsx(C,{index:"02",title:"Training",links:H,pathname:r.pathname,onNav:()=>a(!1)}),e.jsx(C,{index:"03",title:"Domiciliary Care",links:B,pathname:r.pathname,onNav:()=>a(!1)}),e.jsx(S,{href:"/blog",label:"Blog",index:"04",active:y("/blog"),onNav:()=>a(!1)}),e.jsx(C,{index:"05",title:"About",links:q,pathname:r.pathname,onNav:()=>a(!1)}),e.jsx(S,{href:"/contact",label:"Contact",index:"06",active:y("/contact"),onNav:()=>a(!1)})]}),e.jsxs("div",{className:"mt-10 pt-6 border-t border-paper-border flex items-center justify-between",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-ui text-[10px] tracking-[0.22em] uppercase text-ink-muted",children:"Since"}),e.jsx("p",{className:"font-display text-2xl tracking-tight text-ink leading-none mt-1",children:"1989"})]}),e.jsxs("div",{className:"text-right",children:[e.jsx("p",{className:"font-ui text-[10px] tracking-[0.22em] uppercase text-ink-muted",children:"Branches"}),e.jsxs("p",{className:"font-display text-2xl tracking-tight text-ink leading-none mt-1",children:["17 ",e.jsx("span",{className:"text-primary",children:"·"})]})]})]})]}),e.jsxs("div",{className:"px-6 pt-4 pb-[max(env(safe-area-inset-bottom),1.25rem)] border-t border-paper-border bg-paper shrink-0 space-y-2.5",children:[e.jsx("a",{href:"/jobs",onClick:()=>a(!1),className:"flex items-center justify-center gap-2 w-full h-12 rounded-full border border-ink text-ink font-ui text-[11px] font-semibold tracking-[0.2em] uppercase hover:bg-ink hover:text-paper active:scale-[0.98] transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-paper",children:"Search Jobs"}),e.jsxs("a",{href:"/candidates",onClick:()=>a(!1),className:"flex items-center justify-center gap-2 w-full h-12 rounded-full bg-primary text-primary-foreground font-ui text-[11px] font-semibold tracking-[0.2em] uppercase shadow-[0_10px_30px_-10px_hsl(var(--primary)/0.55)] active:scale-[0.98] hover:brightness-110 transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ink focus-visible:ring-offset-2 focus-visible:ring-offset-paper",children:["For Candidates ",e.jsx(W,{className:"w-3.5 h-3.5",strokeWidth:2.5})]})]}),e.jsx("div",{"aria-hidden":"true",className:"absolute -bottom-8 -right-6 pointer-events-none select-none opacity-[0.04]",children:e.jsx("span",{className:"font-display text-[160px] leading-none tracking-tighter text-ink",children:"RUTLEDGE"})})]})]})})]})},_={hidden:{opacity:0,y:8},show:{opacity:1,y:0,transition:{duration:.35,ease:[.22,1,.36,1]}}},S=({href:t,label:p,index:s,active:m,onNav:n})=>e.jsx(v.li,{variants:_,children:e.jsxs("a",{href:t,onClick:n,className:"group flex items-end justify-between gap-4 py-4 border-b border-paper-border min-h-[56px] rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-paper",children:[e.jsxs("span",{className:"flex items-baseline gap-4 min-w-0",children:[e.jsx("span",{className:"font-ui text-[10px] tracking-[0.22em] uppercase text-ink-muted shrink-0",children:s}),e.jsx("span",{className:"font-display text-[2.5rem] leading-[0.95] tracking-tight uppercase text-ink transition-colors",children:p})]}),m?e.jsx("span",{className:"w-2 h-2 rounded-full bg-primary mb-3 shrink-0 animate-pulse"}):e.jsx(W,{className:"w-4 h-4 text-ink-muted mb-3 shrink-0 transition-transform group-hover:translate-x-0.5 group-hover:-translate-y-0.5",strokeWidth:2})]})}),C=({index:t,title:p,links:s,pathname:m,onNav:n})=>{const a=s.some(o=>m===o.href),[i,r]=c.useState(a);return e.jsxs(v.li,{variants:_,className:"border-b border-paper-border",children:[e.jsxs("button",{onClick:()=>r(!i),"aria-expanded":i,className:"group flex items-end justify-between w-full gap-4 py-4 min-h-[56px] text-left rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-paper",children:[e.jsxs("span",{className:"flex items-baseline gap-4 min-w-0",children:[e.jsx("span",{className:"font-ui text-[10px] tracking-[0.22em] uppercase text-ink-muted shrink-0",children:t}),e.jsx("span",{className:"font-display text-[2.5rem] leading-[0.95] tracking-tight uppercase text-ink",children:p})]}),e.jsxs("span",{className:"flex items-center gap-2 mb-3 shrink-0",children:[a&&e.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary animate-pulse"}),e.jsx(K,{className:`w-4 h-4 text-ink transition-transform duration-300 ${i?"rotate-45":""}`,strokeWidth:2})]})]}),e.jsx(R,{initial:!1,children:i&&e.jsx(v.div,{initial:{height:0,opacity:0}
36,animate:{height:"auto",opacity:1},exit:{height:0,opacity:0},transition:{duration:.28,ease:[.22,1,.36,1]},className:"overflow-hidden",children:e.jsx("ul",{className:"pl-[3.25rem] pr-2 pb-5 pt-1 space-y-2.5 border-l border-paper-border ml-[1.1rem]",children:s.map(o=>{const f=m===o.href;return e.jsx("li",{children:e.jsxs("a",{href:o.href,onClick:n,className:`group flex items-center justify-between gap-3 py-1.5 font-ui text-[0.9375rem] font-medium transition-colors rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 focus-visible:ring-offset-paper ${f?"text-primary":"text-ink-soft hover:text-ink"}`,children:[e.jsx("span",{children:o.label}),e.jsx(W,{className:`w-3.5 h-3.5 transition-all ${f?"text-primary opacity-100":"text-ink-muted opacity-0 group-hover:opacity-100 -translate-x-1 group-hover:translate-x-0"}`,strokeWidth:2})]})},o.href)})})})})]})},me=[{label:"Search Jobs",href:"/jobs"},{label:"For Employers",href:"/employers"},{label:"For Candidates",href:"/candidates"},{label:"Career Advice",href:"/career-centre"}],he=[{label:"All Courses",href:"/training"},{label:"Youth Training & Apprenticeships NI",href:"/apprenticeships"},{label:"Trainees",href:"/youth-training"},{label:"Skills for Life & Work by town",href:"/youth-training#centres"},{label:"Parents & guardians",href:"/skills-for-life-and-work/parents"},{label:"Compare your options",href:"/skills-for-life-and-work/compare"},{label:"Schools & careers staff",href:"/skills-for-life-and-work/schools"},{label:"Education Maintenance Allowance",href:"/education-maintenance-allowance"},{label:"Courses",href:"/courses/list"}],pe=[{label:"Domiciliary Care",href:"/domiciliary-care"},{label:"Types of Care",href:"/domiciliary-care/types-of-care"},{label:"Areas Covered",href:"/domiciliary-care/areas-covered"},{label:"Funding & Fees",href:"/domiciliary-care/funding-and-fees"},{label:"Care Journey",href:"/domiciliary-care/care-journey"},{label:"Healthcare Recruitment",href:"/healthcare"},{label:"Request Care",href:"/domiciliary-care#enquiry"}],ue=[{label:"About Us",href:"/about"},{label:"Meet the Team",href:"/team"},{label:"Join the Team",href:"/careers"},{label:"Blog",href:"/blog"},{label:"Charity Partner",href:"/charity"},{label:"Support & Welfare",href:"/support"},{label:"Safeguarding",href:"/safeguarding"},{label:"Make a Payment",href:"/make-a-payment"}],fe=[{label:"Privacy Policy",href:"/privacy"},{label:"Cookie Policy",href:"/cookie-policy"},{label:"Safeguarding",href:"/safeguarding"},{label:"Equality, Diversity & Inclusion",href:"/equality-diversity-inclusion"},{label:"Section 75 Statement",href:"/section-75"},{label:"Modern Slavery Statement",href:"/modern-slavery"},{label:"Whistleblowing Policy",href:"/whistleblowing"},{label:"Complaints Procedure",href:"/complaints"},{label:"Terms of Business",href:"/terms-of-business"},{label:"Candidate Terms",href:"/candidate-terms"},{label:"Recruitment of Ex-Offenders",href:"/recruitment-of-ex-offenders"},{label:"Access NI Policy",href:"/access-ni-policy"},{label:"AccessNI Code of Conduct",href:"/access-ni-code-of-conduct"}],M=({title:t,links:p})=>e.jsxs("details",{open:!0,className:"group border-b border-white/15 md:border-0 pb-4 md:pb-0 [&[open]>summary>svg]:rotate-180",children:[e.jsxs("summary",{className:"md:pointer-events-none flex items-center justify-between cursor-pointer list-none font-display text-[0.95rem] uppercase tracking-[0.18em] text-primary mb-4 md:mb-6 min-h-[44px] md:min-h-0",children:[e.jsxs("span",{className:"flex items-center gap-2.5",children:[e.jsx("span",{className:"hidden md:inline-block w-6 h-px bg-primary","aria-hidden":"true"}),t]}),e.jsx(z,{className:"w-4 h-4 md:hidden transition-transform text-white/70","aria-hidden":"true"})]}),e.jsx("ul",{className:"space-y-1",children:p.map(s=>e.jsx("li",{children:e.jsxs("a",{href:s.href,className:"group/link inline-flex items-center gap-2 font-body text-[0.9375rem] font-medium text-white/85 hover:text-white transition-colors duration-200",style:{lineHeight:"2"},children:[e.jsxs("span",{className:"relative",children:[s.label,e.jsx("span",{className:"absolute left-0 -bottom-0.5 h-px w-0 bg-primary transition-all duration-300 group-hover/link:w-full","aria-hidden":"true"})]}),e.jsx(Z,{className:"w-3.5 h-3.5 text-primary opacity-0 -translate-x-1 group-hover/link:opacity-100 group-hover/link:translate-x-0 transition-all duration-200"})]})},s.href+s.label))})]}),xe=()=>e.jsxs("footer",{className:"relative overflow-hidden bg-[hsl(220_18%_7%)] text-white",children:[e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(60% 55% at 8% 100%, hsl(220 16% 12% / 0.9) 0%, transparent 70%), linear-gradient(to bottom, hsl(220 20% 5% / 0.6) 0%, transparent 18%, transparent 82%, hsl(220 22% 4% / 0.8) 100%)"},"aria-hidden":"true"}),e.jsxs("svg",{className:"absolute inset-0 w-full h-full pointer-events-none",viewBox:"0 0 1440 900",preserveAspectRatio:"xMidYMid slice","aria-hidden":"true",children:[e.jsx("defs",{children:e.jsxs("linearGradient",{id:"contourFade",x1:"0",y1:"1",x2:"0",y2:"0",children:[e.jsx("stop",{offset:"0%",stopColor:"hsl(var(--primary))",stopOpacity:"0.5"}),e.jsx("stop",{offset:"100%",stopColor:"hsl(var(--primary))",stopOpacity:"0.22"})]})}
36),e.jsxs("g",{fill:"none",stroke:"url(#contourFade)",strokeWidth:"1",children:[e.jsx("path",{d:"M -120 980 C 360 900, 420 760, 760 770 C 1100 780, 1180 640, 1560 700"}),e.jsx("path",{d:"M -120 920 C 360 860, 440 720, 760 730 C 1080 740, 1160 610, 1560 660",opacity:"0.85"}),e.jsx("path",{d:"M -100 860 C 340 820, 460 690, 760 700 C 1060 710, 1140 590, 1560 630",opacity:"0.7"}),e.jsx("path",{d:"M -80 800 C 320 780, 480 660, 760 670 C 1040 680, 1120 570, 1560 600",opacity:"0.6"}),e.jsx("path",{d:"M -60 740 C 300 740, 500 630, 760 640 C 1020 650, 1100 555, 1560 575",opacity:"0.5"}),e.jsx("path",{d:"M -40 680 C 280 700, 520 600, 760 610 C 1000 620, 1080 540, 1560 555",opacity:"0.42"}),e.jsx("path",{d:"M -20 620 C 260 660, 540 575, 760 585 C 980 595, 1060 525, 1560 540",opacity:"0.36"}),e.jsx("path",{d:"M 0 560 C 240 620, 560 550, 760 560 C 960 570, 1040 510, 1560 530",opacity:"0.3"}),e.jsx("path",{d:"M 20 500 C 220 580, 580 525, 760 535 C 940 545, 1020 495, 1560 520",opacity:"0.25"}),e.jsx("path",{d:"M 40 440 C 200 540, 600 500, 760 510 C 920 520, 1000 480, 1560 515",opacity:"0.2"}),e.jsx("path",{d:"M 60 380 C 180 500, 620 480, 760 485 C 900 490, 980 465, 1560 510",opacity:"0.5"}),e.jsx("path",{d:"M 80 320 C 160 460, 640 460, 760 460 C 880 460, 960 450, 1560 505",opacity:"0.46"}),e.jsx("path",{d:"M 100 260 C 150 420, 660 445, 760 440 C 860 435, 940 440, 1560 500",opacity:"0.55"}),e.jsx("path",{d:"M 120 200 C 140 380, 680 430, 760 425 C 840 422, 920 432, 1560 498",opacity:"0.5"}),e.jsx("path",{d:"M 140 140 C 130 340, 700 420, 760 415 C 820 412, 900 425, 1560 496",opacity:"0.46"}),e.jsx("path",{d:"M 160 80 C 120 300, 720 410, 760 405 C 800 402, 880 418, 1560 494",opacity:"0.42"})]}),e.jsxs("g",{fill:"none",stroke:"url(#contourFade)",strokeWidth:"1",opacity:"0.7",children:[e.jsx("path",{d:"M 1560 980 C 1180 920, 1060 770, 760 780 C 440 790, 300 680, -120 690"}),e.jsx("path",{d:"M 1560 900 C 1180 860, 1080 730, 760 740 C 440 750, 280 640, -120 640",opacity:"0.85"}),e.jsx("path",{d:"M 1560 820 C 1180 800, 1100 690, 760 700 C 420 710, 260 600, -120 590",opacity:"0.7"}),e.jsx("path",{d:"M 1560 740 C 1180 740, 1120 650, 760 660 C 400 670, 240 560, -120 545",opacity:"0.58"}),e.jsx("path",{d:"M 1560 660 C 1180 680, 1140 615, 760 625 C 380 635, 220 530, -120 510",opacity:"0.5"}),e.jsx("path",{d:"M 1560 580 C 1180 620, 1160 580, 760 590 C 360 600, 200 500, -120 480",opacity:"0.42"}),e.jsx("path",{d:"M 1560 500 C 1180 560, 1180 545, 760 555 C 340 565, 180 470, -120 450",opacity:"0.34"}),e.jsx("path",{d:"M 1560 420 C 1180 500, 1200 510, 760 520 C 320 530, 160 440, -120 420",opacity:"0.28"}),e.jsx("path",{d:"M 1560 340 C 1180 440, 1220 480, 760 485 C 300 490, 140 410, -120 390",opacity:"0.24"}),e.jsx("path",{d:"M 1560 260 C 1180 380, 1240 450, 760 450 C 280 455, 120 380, -120 360",opacity:"0.2"}),e.jsx("path",{d:"M 1560 180 C 1180 320, 1260 425, 760 430 C 260 435, 100 350, -120 330",opacity:"0.34"}),e.jsx("path",{d:"M 1560 100 C 1180 260, 1280 400, 760 410 C 240 415, 80 320, -120 300",opacity:"0.3"}),e.jsx("path",{d:"M 1560 40 C 1180 200, 1300 380, 760 395 C 220 400, 60 290, -120 270",opacity:"0.26"}),e.jsx("path",{d:"M 1560 -20 C 1180 140, 1320 360, 760 380 C 200 385, 40 260, -120 240",opacity:"0.22"})]}),e.jsxs("g",{fill:"hsl(var(--primary))",fillOpacity:"0.32","aria-hidden":"true",children:[e.jsx("circle",{cx:"74",cy:"824",r:"2.5"}),e.jsx("circle",{cx:"98",cy:"860",r:"2.5"}),e.jsx("circle",{cx:"46",cy:"792",r:"2.5"}),e.jsx("circle",{cx:"1366",cy:"824",r:"2.5"}),e.jsx("circle",{cx:"1342",cy:"860",r:"2.5"}),e.jsx("circle",{cx:"1394",cy:"792",r:"2.5"})]}),e.jsxs("g",{stroke:"hsl(var(--primary))",strokeOpacity:"0.22",strokeWidth:"0.75","aria-hidden":"true",children:[e.jsx("line",{x1:"74",y1:"824",x2:"98",y2:"860"}),e.jsx("line",{x1:"46",y1:"792",x2:"74",y2:"824"}),e.jsx("line",{x1:"1366",y1:"824",x2:"1342",y2:"860"}),e.jsx("line",{x1:"1394",y1:"792",x2:"1366",y2:"824"})]})]}),e.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:"radial-gradient(46% 40% at 14% 98%, hsl(var(--primary) / 0.12) 0%, transparent 66%), radial-gradient(40% 36% at 88% 96%, hsl(var(--primary) / 0.08) 0%, transparent 64%)"},"aria-hidden":"true"}),e.jsxs("div",{className:"relative max-w-[1240px] mx-auto px-4 sm:px-6 pt-12 sm:pt-16 pb-8 sm:pb-10",children:[e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-12 gap-10 lg:gap-8",children:[e.jsxs("div",{className:"lg:col-span-3",children:[e.jsx(T,{variant:"light"}),e.jsxs("p",{className:"font-body text-[1rem] text-white/85 mt-5 max-w-[260px]",style:{lineHeight:"1.55"},children:["Maximising People Potential since ",e.jsx("span",{className:"text-primary font-semibold",children:"1989"}),"."]}),e.jsx("p",{className:"font-body text-[0.8125rem] text-white/60 mt-3 max-w-[260px]",style:{lineHeight:"1.6"},children:"18 branches across Northern Ireland, covering 17 towns."}),e.jsxs("div",{className:"mt-7",children:[e.jsx("span",{className:"font-body text-[0.6875rem] uppercase tracking-[0.18em] text-white/55 block mb-3",children:"Follow us"}),e.jsx("div",{className:"flex gap-2.5",children:[{label:"Facebook",Icon:se,href:"https://www.facebook.com/rutledgerecruitment"},{label:"LinkedIn",Icon:ne,href:"https://www.linkedin.com/company/rutledge-recruitment-and-training"}].map(({label:t,Icon:p,href:s})=>e.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer","aria-label":t,"data-magnetic":!0,className:"w-11 h-11 rounded-full bg-white/10 border border-white/15 flex items-center justify-center text-white hover:bg-primary hover:border-primary hover:text-white transition-all duration-200",children:e.jsx(p,{className:"w-4 h-4","aria-hidden":"true"})},t))})]})]}),e.jsx("div",{className:"lg:col-span-2",children:e.jsx(M,{title:"Employment",links:me})}),e.jsx("div",{className:"lg:col-span-2",children:e.jsx(M,{title:"Training",links:he})}),e.jsx("div",{className:"lg:col-span-2",children:e.jsx(M,{title:"Care",links:pe})}),e.jsx("div",{className:"lg:col-span-3",children:e.jsx(M,{title:"Company",links:ue})})]}),e.jsx("div",{className:"mt-14 pt-10 border-t border-white/15",children:e.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[e.jsxs("a",{href:"tel:+442870352434",className:"group flex items-start gap-4 p-5 rounded-lg bg-white/[0.04] border border-white/10 hover:bg-white/[0.07] hover:border-primary/40 transition-all",children:[e.jsx("span",{className:"w-11 h-11 rounded-full bg-primary/15 border border-primary/30 flex items-center justify-center shrink-0 group-hover:bg-primary group-hover:border-primary transition-colors",children:e.jsx(V,{className:"w-4 h-4 text-primary group-hover:text-white"})}),e.jsxs("span",{className:"block",children:[e.jsx("span",{className:"block font-body text-[0.6875rem] uppercase tracking-[0.18em] text-white/60 mb-1",children:"Call us"}),e.jsx("span",{className:"block font-display text-[1.25rem] text-white",children:"028 7035 2434"})]})]}),e.jsxs("a",{href:"mailto:[email protected]",className:"group flex items-start gap-4 p-5 rounded-lg bg-white/[0.04] border border-white/10 hover:bg-white/[0.07] hover:border-primary/40 transition-all",children:[e.jsx("span",{className:"w-11 h-11 rounded-full bg-primary/15 border border-primary/30 flex items-center justify-center shrink-0 group-hover:bg-primary group-hover:border-primary transition-colors",children:e.jsx(Q,{className:"w-4 h-4 text-primary group-hover:text-white"})}),e.jsxs("span",{className:"block min-w-0",children:[e.jsx("span",{className:"block font-body text-[0.6875rem] uppercase tracking-[0.18em] text-white/60 mb-1",children:"Email"}),e.jsx("span",{className:"block font-body text-[1rem] text-white truncate",children:"[email protected]"})]})]}),e.jsxs("span",{className:"flex items-start gap-4 p-5 rounded-lg bg-white/[0.04] border border-white/10",children:[e.jsx("span",{className:"w-11 h-11 rounded-full bg-primary/15 border border-primary/30 flex items-center justify-center shrink-0",children:e.jsx(X,{className:"w-4 h-4 text-primary"})}),e.jsxs("span",{className:"block",children:[e.jsx("span",{className:"block font-body text-[0.6875rem] uppercase tracking-[0.18em] text-white/60 mb-1",children:"Head office"}),e.jsxs("span",{className:"block font-body text-[0.9375rem] text-white",style:{lineHeight:"1.5"},children:["Rutledge House, 25-27 New Row,",e.jsx("br",{}),"Coleraine, BT52 1AD"]})]})]})]})}),e.jsxs("div",{className:"mt-12 pt-10 border-t border-white/15",children:[e.jsxs("h3",{className:"font-display text-[0.95rem] uppercase tracking-[0.18em] text-primary mb-5 flex items-center gap-2.5",children:[e.jsx("span",{className:"w-6 h-px bg-primary","aria-hidden":"true"}),"Policies & Compliance"]}),e.jsx("ul",{className:"flex flex-wrap gap-x-2 gap-y-2",children:fe.map(t=>e.jsx("li",{children:e.jsx("a",{href:t.href,className:"inline-block font-body text-[0.8125rem] text-white/85 hover:text-white px-3 py-1.5 rounded-full bg-white/[0.06] border border-white/10 hover:bg-primary hover:border-primary transition-colors",children:t.label})},t.href))}),e.jsx("p",{className:"font-body text-[0.8125rem] text-white/75 mt-6 max-w-4xl",style:{lineHeight:"1.65"},children:"Rutledge Recruitment & Training is a member of the Recruitment & Employment Confederation (REC). Healthcare and Domiciliary Care services are regulated by the Regulation and Quality Improvement Authority (RQ
36IA). Registered with the Information Commissioner's Office (ICO). Apprenticeship and training provision is contracted under the Department for the Economy (DfE) Northern Ireland."})]})]}),e.jsx("div",{className:"relative border-t border-white/15 bg-black/30",children:e.jsxs("div",{className:"max-w-[1240px] mx-auto px-4 sm:px-6 py-5 flex flex-col sm:flex-row justify-between items-center gap-4 text-center",children:[e.jsxs("p",{className:"font-body text-[0.8125rem] text-white/75",children:["© ",new Date().getFullYear()," ",e.jsx("span",{className:"text-white font-semibold",children:"Rutledge Group"}),". Registered in Northern Ireland."]}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("a",{href:"/privacy",className:"font-body text-[0.8125rem] text-white/75 hover:text-white transition-colors",children:"Privacy"}),e.jsx("span",{className:"w-px h-4 bg-white/20","aria-hidden":"true"}),e.jsx("a",{href:"/safeguarding",className:"font-body text-[0.8125rem] text-white/75 hover:text-white transition-colors",children:"Safeguarding"}),e.jsx("span",{className:"w-px h-4 bg-white/20","aria-hidden":"true"}),e.jsx("span",{className:"font-body text-[0.6875rem] uppercase tracking-[0.15em] px-3 py-1.5 rounded-full bg-primary/15 text-primary border border-primary/30",children:"REC Regulated"})]})]})})]}),be=()=>{const[t,p]=c.useState(!1);return c.useEffect(()=>{const s=()=>p(window.scrollY>300);return window.addEventListener("scroll",s,{passive:!0}),()=>window.removeEventListener("scroll",s)},[]),t?e.jsx("button",{onClick:()=>window.scrollTo({top:0,behavior:"smooth"}),style:{bottom:"calc(64px + env(safe-area-inset-bottom) + 12px)"},className:"fixed lg:!bottom-6 right-4 sm:right-6 z-40 w-12 h-12 min-w-touch min-h-touch rounded-full bg-primary text-primary-foreground shadow-red flex items-center justify-center hover:brightness-110 transition-all duration-200 animate-fade-in","aria-label":"Back to top",children:e.jsx(re,{className:"w-5 h-5"})}):null},ge=["main section h1","main section h2","main section h3","main section h4","main section p","main section li","main section img","main section figure","main section blockquote","main section .card","main section [data-card]","main section [data-reveal-auto]"].join(","),ye=["[data-no-reveal]","[data-no-reveal] *","[data-framer-component]",".motion-safe-skip","nav *","header *","footer *"].join(","),ve=()=>(c.useEffect(()=>{if(typeof window>"u"||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;const p=new IntersectionObserver(a=>{for(const i of a){const r=i.target;i.isIntersecting?r.setAttribute("data-revealed","true"):r.setAttribute("data-revealed","false")}},{threshold:.12,rootMargin:"0px 0px -8% 0px"}),s=(a=document)=>{a.querySelectorAll(ge).forEach(r=>{if(r.hasAttribute("data-reveal")||r.closest(ye)||r.closest("[style*='will-change'], [style*='transform']")&&r.parentElement?.hasAttribute("data-framer-appear-id"))return;let o="up";const f=r.tagName.toLowerCase();f==="img"||f==="figure"?o="scale":f==="h1"||f==="h2"?o="up":f==="h3"||f==="h4"?o="left":r.classList.contains("card")||r.hasAttribute("data-card")?o="up":o="fade",r.setAttribute("data-reveal",o);const k=Array.from(r.parentElement?.children??[]).indexOf(r);r.style.setProperty("--reveal-delay",`${Math.min(k,6)*60}ms`),p.observe(r);const w=r.getBoundingClientRect(),A=window.innerHeight||document.documentElement.clientHeight;w.top<A&&w.bottom>0&&r.setAttribute("data-revealed","true")})};s();const m=new MutationObserver(a=>{for(const i of a)i.addedNodes.forEach(r=>{r.nodeType===1&&s(r)})});m.observe(document.body,{childList:!0,subtree:!0});const n=window.setInterval(()=>{const a=document.querySelectorAll('[data-reveal]:not([data-revealed="true"])'),i=window.innerHeight||document.documentElement.clientHeight;a.forEach(r=>{const o=r.getBoundingClientRect();o.top<i&&o.bottom>0&&r.setAttribute("data-revealed","true")})},400);return()=>{p.disconnect(),m.disconnect(),window.clearInterval(n)}},[]),null),je=[{label:"Home",href:"/",Icon:ie,match:t=>t==="/"},{label:"Jobs",href:"/jobs",Icon:ae,match:t=>t.startsWith("/jobs")||t.startsWith("/recruitment-agencies")||t.startsWith("/candidates")||t.startsWith("/upload-cv")||t.startsWith("/career-centre")||t.startsWith("/sectors")||t.startsWith("/healthcare")},{label:"Training",href:"/training",Icon:ee,match:t=>t.startsWith("/training")||t.startsWith("/apprenticeships")||t.startsWith("/youth-training")||t.startsWith("/skills-for-life-and-work")||t.startsWith("/education-maintenance-allowance")||t.startsWith("/qualifications")||t.startsWith("/courses")||t.startsWith("/course-finder")||t.startsWith("/make-a-payment")},{label:"Contact",href:"/contact",Icon:V,match:t=>t.startsWith("/contact")||t.startsWith("/branches")||t.startsWith("/locations")||t.startsWith("/support")}],we=()=>{const{pathname:t}=$(),[p,s]=c.useState(!1),m=c.useRef(0);return c.useEffect(()=>{const n=()=>{const a=window.scrollY,i=a>m.current&&a>80;s(i),m.current=a};return window.addEventListener("scroll",n,{passive:!0}),()=>window.removeEventListener("scroll",n)},[]),t.startsWith("/admin")?null:e.jsx("nav",{"aria-label":"Primary",className:`lg:hidden fixed left-0 right-0 bottom-0 z-40 bg-background/90 backdrop-blur-xl border-t border-border pb-safe transition-transform duration-300 ${p?"translate-y-full":"translate-y-0"}`,children:e.jsx("ul",{className:"grid grid-cols-4 max-w-screen-sm mx-auto",children:je.map(({label:n,href:a,Icon:i,match:r})=>{const o=r(t);return e.jsx("li",{className:"flex",children:e.jsxs(Y,{to:a,"aria-current":o?"page":void 0,className:`flex-1 flex flex-col items-center justify-center gap-1 py-2 min-h-[64px] font-ui text-[0.6875rem] font-semibold tracking-wide transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary ${o?"text-primary":"text-muted-foreground hover:text-foreground"}`,children:[e.jsx(i,{className:"w-5 h-5","aria-hidden":"true"}),e.jsx("span",{children:n})]})},a)})})})},Fe=({children:t})=>e.jsxs(e.Fragment,{children:[e.jsx(de,{}),e.jsx(ce,{}),e.jsx("main",{id:"main-content",children:t}),e.jsx(xe,{}
36),e.jsx("div",{className:"lg:hidden h-[calc(64px+env(safe-area-inset-bottom))]","aria-hidden":"true"}),e.jsx(te,{}),e.jsx(be,{}),e.jsx(we,{}),e.jsx(ve,{})]});export{W as A,ie as H,Fe as L,V as P};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.