/* TotalCare Concierge brand refresh - V10
   Palette sampled from the user-provided logo: purple + blue/cyan. */
:root{
  --brand:#461C8E;
  --brand-dark:#3E2571;
  --brand-deep:#251744;
  --brand-mid:#45A4DA;
  --brand-accent:#103296;
  --brand-soft:#EEF3FB;
  --brand-wash:#F8FAFF;
  --ink:#232037;
  --muted:#66677A;
  --line:rgba(62,37,113,.13);
  --p-brand:#461C8E;
  --p-dark:#3E2571;
  --p-deep:#251744;
  --p-soft:#EEF3FB;
  --p-wash:#F8FAFF;
  --p-ink:#232037;
  --p-muted:#66677A;
  --p-line:rgba(62,37,113,.13);
}

/* Full horizontal brand artwork */
.brand.brand-full{gap:0;min-width:0}
.brand-logo.brand-logo-full{width:224px;height:70px;object-fit:contain;object-position:left center}
.footer-logo-link .brand-logo-full{width:255px;height:auto;max-height:96px}
.footer-logo-new{display:inline-flex;align-items:center;margin:0 0 12px!important}
.footer-logo-new img{width:260px;max-width:100%;height:auto;object-fit:contain;filter:none!important;opacity:1!important}

/* Core brand actions */
.btn-primary,.form-submit{background:linear-gradient(135deg,#461C8E 0%,#4C4FA8 54%,#45A4DA 100%)!important;box-shadow:0 12px 28px rgba(70,28,142,.22)!important}
.btn-primary:hover,.form-submit:hover{box-shadow:0 16px 34px rgba(16,50,150,.24)!important}
.eyebrow,.mega-kicker,.resource-kicker,.job-section-label,.application-card-head>span{color:#461C8E}

/* Header / mega menus */
.site-header{background:rgba(255,255,255,.92)}
.site-header.scrolled{background:rgba(255,255,255,.96)}
.mega-spotlight{background:linear-gradient(155deg,#251744 0%,#461C8E 54%,#103296 116%)!important}
.mega-spotlight .mega-kicker,.mega-trust svg{color:#C9D9FA!important}
.mega-spotlight-action{color:#3E2571!important}
.mega-category::before{background:linear-gradient(90deg,#461C8E,#45A4DA)!important}
.mega-category-icon,.funding-icon,.mega-footer-icon,.trust-icon,.service-icon,.floating-icon{color:#461C8E!important;background:#EEF3FB!important}
.mega-link-dot{background:#45A4DA!important;box-shadow:0 0 0 3px rgba(69,164,218,.14)!important}
.funding-link:hover,.mega-link:hover{border-color:rgba(69,164,218,.30)!important}

/* Homepage bands and footer */
.assurance-band{background:linear-gradient(110deg,#251744 0%,#461C8E 54%,#103296 112%)!important}
.assurance-icon{color:#B7DFF5!important}
.site-footer{background:linear-gradient(120deg,#21133E 0%,#3E2571 50%,#103296 116%)!important}
.footer-grid h4{color:#B7DFF5!important}

/* Chat refresh */
.tcc-chat-head{background:linear-gradient(135deg,#3E2571 0%,#461C8E 52%,#45A4DA 125%)!important}
.tcc-chat-logo-wrap{background:#fff!important}
.tcc-chat-logo-wrap img{width:42px!important;height:42px!important;object-fit:contain!important}
.tcc-chat-highlight{border-color:rgba(70,28,142,.16)!important;background:linear-gradient(135deg,#F8FAFF,#EEF3FB)!important}
.tcc-chat-action-primary,.tcc-chat-send-full{background:linear-gradient(135deg,#461C8E,#45A4DA)!important;box-shadow:0 10px 23px rgba(70,28,142,.22)!important}
.tcc-chat-launcher{background:linear-gradient(135deg,#3E2571,#461C8E 55%,#45A4DA)!important;box-shadow:0 14px 34px rgba(62,37,113,.28)!important}
.tcc-chat-bubble.visitor{background:linear-gradient(135deg,#461C8E,#45A4DA)!important}
.tcc-chat-field input:focus,.tcc-chat-field select:focus,.tcc-chat-field textarea:focus{border-color:rgba(69,164,218,.58)!important;box-shadow:0 0 0 3px rgba(69,164,218,.12)!important}
.tcc-chat-consent input{accent-color:#461C8E!important}

/* Portal / admin / auth */
.portal-sidebar{background:linear-gradient(180deg,#21133E 0%,#3E2571 56%,#103296 118%)!important}
.portal-brand{display:grid!important;gap:10px!important;padding:2px 4px 22px!important}
.portal-brand-logo-shell{display:flex;align-items:center;justify-content:center;width:100%;min-height:70px;padding:8px 10px;border-radius:15px;background:#fff;box-shadow:0 10px 24px rgba(12,23,72,.16)}
.portal-brand-logo-shell img{width:190px!important;height:auto!important;max-height:62px!important;padding:0!important;border-radius:0!important;background:transparent!important;object-fit:contain!important}
.portal-brand-role{color:rgba(255,255,255,.78)!important;font-size:.61rem!important;font-weight:800!important;letter-spacing:.13em!important;text-transform:uppercase!important;padding-left:4px}
.portal-button{background:linear-gradient(135deg,#461C8E,#45A4DA)!important;box-shadow:0 8px 18px rgba(70,28,142,.18)!important}
.portal-site-link{color:#3E2571!important;background:#EEF3FB!important}
.user-welcome{background:linear-gradient(135deg,#251744,#461C8E 55%,#103296)!important}
.auth-body{background:radial-gradient(circle at 15% 8%,rgba(69,164,218,.12),transparent 35%),linear-gradient(135deg,#F8FAFF,#EEF3FB)!important}
.auth-brand-full{display:inline-flex;align-items:center;margin-bottom:28px}
.auth-brand-full img{width:250px!important;height:auto!important;max-height:92px!important;object-fit:contain!important}
.auth-story{background:linear-gradient(145deg,rgba(33,19,62,.92),rgba(62,37,113,.88),rgba(16,50,150,.70)),url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1400&q=82') center/cover!important}
.auth-kicker{color:#C9D9FA!important}
.auth-form input:focus{border-color:rgba(69,164,218,.58)!important;box-shadow:0 0 0 4px rgba(69,164,218,.10)!important}

/* Career details */
.careers-hero{background:linear-gradient(90deg,rgba(33,19,62,.94) 0%,rgba(62,37,113,.88) 48%,rgba(16,50,150,.54) 100%),url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1800&q=82') center 36%/cover!important}
.careers-hero .eyebrow,.job-detail-hero .eyebrow{color:#C9D9FA!important}
.job-detail-hero{background:#251744!important}
.job-detail-hero::after{background:linear-gradient(90deg,rgba(33,19,62,.95) 0%,rgba(62,37,113,.88) 48%,rgba(16,50,150,.60) 100%)!important}
.job-summary-card{background:linear-gradient(145deg,rgba(37,23,68,.94),rgba(70,28,142,.91) 60%,rgba(16,50,150,.86))!important}
.job-summary-heading>div>span{color:#C9D9FA!important}
.job-list li::before{background:#EEF3FB!important;color:#461C8E!important}
.job-offer-section{border-color:rgba(69,164,218,.18)!important;background:linear-gradient(145deg,#F8FAFF,#EEF3FB)!important}
.application-form input:focus,.application-form textarea:focus{border-color:rgba(69,164,218,.58)!important;box-shadow:0 0 0 3px rgba(69,164,218,.10)!important}

@media(max-width:1080px){
  .brand-logo.brand-logo-full{width:188px;height:64px}
}
@media(max-width:760px){
  .brand-logo.brand-logo-full{width:170px;height:58px}
  .footer-logo-link .brand-logo-full,.footer-logo-new img{width:220px}
}

/* =========================================================
   V11 header/footer reliability fix
   New logo filename intentionally avoids stale Hostinger/CDN cache.
   ========================================================= */

/* Header: display the complete supplied TotalCare Concierge artwork. */
.site-header .nav-wrap{
  min-height:94px;
  gap:22px;
}
.site-header .brand.brand-full{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  width:248px!important;
  min-width:248px!important;
  height:82px!important;
  overflow:visible!important;
}
.site-header .brand-logo.brand-logo-full{
  display:block!important;
  width:232px!important;
  max-width:232px!important;
  height:auto!important;
  max-height:82px!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:none!important;
  opacity:1!important;
}

/* Funding mega menu: requested short CTA only. */
#fundingMegaMenu .mega-spotlight-action{
  justify-content:center!important;
  min-height:48px;
  padding:12px 17px!important;
  border-radius:12px!important;
  font-weight:800!important;
  text-align:center;
}

/* Footer: remove the oversized decorative TCC watermark and reset logo sizing. */
.site-footer{
  padding:54px 0 22px!important;
  overflow:hidden!important;
}
.site-footer::after{
  content:none!important;
  display:none!important;
}
.site-footer .footer-grid{
  grid-template-columns:minmax(280px,1.45fr) repeat(3,minmax(150px,1fr))!important;
  align-items:start!important;
  gap:34px 48px!important;
}
.site-footer .footer-brand{
  min-width:0;
}
.site-footer .footer-logo-link,
.site-footer .footer-logo-new{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  max-width:315px!important;
  min-height:0!important;
  margin:0 0 14px!important;
  overflow:visible!important;
}
.site-footer .footer-logo-link .brand-logo-full,
.site-footer .footer-logo-new img,
.site-footer .brand-footer img{
  display:block!important;
  width:300px!important;
  max-width:100%!important;
  height:auto!important;
  max-height:112px!important;
  object-fit:contain!important;
  object-position:left center!important;
  filter:none!important;
  opacity:1!important;
}
.site-footer .footer-brand p{
  max-width:330px!important;
  margin:10px 0 0!important;
  color:rgba(255,255,255,.76)!important;
  font-size:.82rem!important;
  line-height:1.65!important;
}
.site-footer .footer-grid h4{
  margin:7px 0 15px!important;
}
.site-footer .footer-grid a{
  line-height:1.45!important;
}
.site-footer .footer-bottom{
  margin-top:36px!important;
  padding-top:18px!important;
  align-items:center!important;
}

@media(max-width:1120px){
  .site-header .brand.brand-full{width:210px!important;min-width:210px!important}
  .site-header .brand-logo.brand-logo-full{width:198px!important;max-width:198px!important}
  .site-footer .footer-grid{grid-template-columns:1.35fr repeat(3,1fr)!important;gap:32px!important}
}
@media(max-width:900px){
  .site-header .nav-wrap{min-height:82px!important}
  .site-header .brand.brand-full{width:190px!important;min-width:190px!important;height:70px!important}
  .site-header .brand-logo.brand-logo-full{width:178px!important;max-width:178px!important;max-height:68px!important}
  .site-footer .footer-grid{grid-template-columns:1fr 1fr!important;gap:30px 24px!important}
  .site-footer .footer-brand{grid-column:1/-1!important}
  .site-footer .footer-grid>div:last-child{grid-column:auto!important}
}
@media(max-width:600px){
  .site-header .brand.brand-full{width:174px!important;min-width:174px!important}
  .site-header .brand-logo.brand-logo-full{width:164px!important;max-width:164px!important}
  .site-footer{padding:44px 0 20px!important}
  .site-footer .footer-grid{grid-template-columns:1fr!important;gap:26px!important}
  .site-footer .footer-brand,.site-footer .footer-grid>div:last-child{grid-column:1!important}
  .site-footer .footer-logo-link .brand-logo-full,
  .site-footer .footer-logo-new img,
  .site-footer .brand-footer img{width:260px!important}
  .site-footer .footer-bottom{margin-top:30px!important;align-items:flex-start!important}
}

/* =========================================================
   V12 homepage hero + auth layout polish
   ========================================================= */

/* Homepage: use a wider rectangular care image so both people are easier to see. */
@media (min-width: 981px){
  .hero .hero-grid{
    grid-template-columns:minmax(0,.90fr) minmax(540px,1.10fr)!important;
    gap:46px!important;
  }
  .hero .hero-visual{
    width:100%!important;
    max-width:none!important;
  }
  .hero .hero-photo-shell{
    min-height:470px!important;
    border-radius:30px!important;
    padding:14px!important;
  }
  .hero .hero-photo,
  .hero .photo-shade{
    inset:14px!important;
    border-radius:22px!important;
  }
  .hero .hero-photo{
    background-position:62% center!important;
  }
  .hero .floating-card-top{
    top:34px!important;
    left:-20px!important;
  }
  .hero .floating-card-bottom{
    right:-18px!important;
    bottom:34px!important;
  }
}

@media (min-width: 1180px){
  .hero .container{
    width:min(1240px,calc(100% - 48px))!important;
  }
  .hero .hero-grid{
    grid-template-columns:minmax(0,.88fr) minmax(585px,1.12fr)!important;
    gap:50px!important;
  }
  .hero .hero-photo-shell{
    min-height:485px!important;
  }
}

@media (max-width: 980px){
  .hero .hero-photo-shell{
    min-height:500px!important;
  }
  .hero .hero-photo{
    background-position:60% center!important;
  }
}

@media (max-width: 600px){
  .hero .hero-photo-shell{
    min-height:390px!important;
  }
  .hero .hero-photo{
    background-position:61% center!important;
  }
}

/* Login/register: turn the loose logo row into a purposeful compact top bar. */
.auth-shell{
  width:min(1120px,calc(100% - 36px))!important;
  padding:18px 0 48px!important;
}
.auth-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:76px;
  margin-bottom:12px;
}
.auth-topbar .auth-brand-full{
  margin:0!important;
}
.auth-topbar .auth-brand-full img{
  width:225px!important;
  max-height:76px!important;
}
.auth-home-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 16px;
  border:1px solid rgba(62,37,113,.14);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:#3E2571;
  box-shadow:0 8px 22px rgba(37,23,68,.05);
  font-size:.76rem;
  font-weight:800;
  white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.auth-home-link:hover{
  transform:translateY(-1px);
  border-color:rgba(69,164,218,.34);
  box-shadow:0 11px 26px rgba(37,23,68,.08);
}
.auth-grid{
  min-height:560px!important;
  border-radius:26px!important;
}
.auth-story{
  padding:48px!important;
}
.auth-card{
  padding:48px!important;
}
.auth-story h1{
  font-size:clamp(2.65rem,3.65vw,3.85rem)!important;
}

@media(max-width:1050px){
  .auth-shell{
    width:min(900px,calc(100% - 32px))!important;
  }
  .auth-topbar{
    min-height:68px;
  }
  .auth-grid{
    min-height:0!important;
  }
  .auth-story{
    min-height:330px!important;
  }
}

@media(max-width:700px){
  .auth-shell{
    width:min(100% - 20px,900px)!important;
    padding:8px 0 28px!important;
  }
  .auth-topbar{
    min-height:62px;
    margin-bottom:8px;
  }
  .auth-topbar .auth-brand-full img{
    width:185px!important;
    max-height:62px!important;
  }
  .auth-home-link{
    min-height:38px;
    padding:0 12px;
    font-size:.68rem;
  }
  .auth-story,
  .auth-card{
    padding:32px 24px!important;
  }
}

@media(max-width:480px){
  .auth-topbar{
    align-items:flex-start;
    flex-direction:column;
    gap:6px;
  }
  .auth-home-link{
    align-self:flex-start;
  }
}

/* =========================================================
   V17 homepage hero separation fix
   Prevent the headline / floating badge from visually merging
   with the care image on desktop while keeping the photo wide.
   ========================================================= */
@media (min-width: 1180px){
  .hero .container{
    width:min(1320px,calc(100% - 56px))!important;
  }
  .hero .hero-grid{
    grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)!important;
    gap:72px!important;
  }
  .hero .hero-copy{
    min-width:0!important;
    position:relative!important;
    z-index:2!important;
  }
  .hero h1{
    max-width:100%!important;
    font-size:clamp(3.15rem,4vw,4.35rem)!important;
  }
  .hero .hero-visual{
    min-width:0!important;
    position:relative!important;
    z-index:1!important;
  }
  .hero .floating-card-top{
    left:18px!important;
    top:28px!important;
  }
}

@media (min-width: 981px) and (max-width: 1179px){
  .hero .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:58px!important;
  }
  .hero h1{
    font-size:clamp(3rem,4.15vw,3.8rem)!important;
  }
  .hero .floating-card-top{
    left:14px!important;
  }
}


/* =========================================================
   2026-09-10 auth mobile alignment fix
   Keep the public-site return link and account switch centered
   on narrow screens for a cleaner, easier-to-use login page.
   ========================================================= */
@media (max-width:700px){
  .auth-topbar{
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    text-align:center!important;
  }
  .auth-topbar .auth-brand-full{
    align-self:center!important;
    justify-content:center!important;
  }
  .auth-home-link{
    align-self:center!important;
    margin-inline:auto!important;
    text-align:center!important;
  }
  .auth-switch{
    width:100%!important;
    text-align:center!important;
  }
}

@media (max-width:480px){
  .auth-topbar{
    align-items:center!important;
  }
  .auth-home-link{
    align-self:center!important;
  }
}
