
/* GentleCare Concierge — final polish */
html{scroll-behavior:smooth} body{overflow-x:hidden}
header,.site-header,nav{z-index:50} header,.site-header{position:relative!important;top:auto!important}
.logo img,.site-logo img,header img[src*="logo"]{width:auto!important;height:auto!important;max-width:210px!important;object-fit:contain!important}
.service-card,.card{overflow:hidden}
.service-card img{display:block;width:100%!important;height:175px!important;object-fit:cover!important;object-position:center!important}
.service-card h3,.service-card h4,.card h3{position:relative!important;top:auto!important;margin:12px 0 6px!important;padding:0!important;overflow:visible!important;white-space:normal!important;line-height:1.18!important}
.hero img,.hero-image img,img[src*="hero-caregiver"],img[src*="companionship"],img[src*="personal-care"],img[src*="meal-support"],img[src*="household-support"],img[src*="errands-appointments"],img[src*="respite-support"],img[src*="coachella-valley"]{animation:gcKenBurns 12s ease-in-out infinite alternate;will-change:transform}
@keyframes gcKenBurns{from{transform:scale(1.002) translate3d(0,0,0)}to{transform:scale(1.055) translate3d(-.5%,-.35%,0)}}
.split,.feature,.care-personal{align-items:center!important}
.split img,.feature img,.care-personal img{width:100%!important;max-width:520px!important;min-height:260px;object-fit:cover!important;border-radius:18px}
@media(max-width:800px){.logo img,.site-logo img,header img[src*="logo"]{max-width:170px!important}.service-card img{height:210px!important}.split img,.feature img,.care-personal img{min-height:220px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}


/* Final clarity + logo + caregiver network corrections */
header .logo{width:260px!important;max-width:none!important;height:72px!important;display:block!important;object-fit:contain!important;object-position:left center!important}
footer .logo{width:245px!important;max-width:none!important;height:auto!important;display:block!important}
.photo-hero img,.service-photo,.inline-photo img,.location-photo img,.caregiver-network-photo img{image-rendering:auto;backface-visibility:hidden;transform:translateZ(0)}
.service-photo{width:100%!important;height:220px!important;object-fit:cover!important}
.photo-card{overflow:hidden}.photo-card .card-body{position:relative;background:#fff;z-index:2}
.caregiver-network-section{background:#fff}.caregiver-network-photo{overflow:hidden;border-radius:20px;box-shadow:0 14px 34px rgba(20,55,82,.12)}
.caregiver-network-photo img{display:block;width:100%;height:390px;object-fit:cover;animation:gcKenBurns 12s ease-in-out infinite alternate}
@media(max-width:980px){header .logo{width:215px!important;height:62px!important}footer .logo{width:215px!important}.service-photo{height:200px!important}}
@media(max-width:800px){header .logo{width:190px!important;height:58px!important}.caregiver-network-photo img{height:300px}.service-photo{height:220px!important}}

/* Hero motion refinement — cinematic movement only on the first homepage image */
.hero img,.hero-image img,img[src*="companionship"],img[src*="personal-care"],img[src*="meal-support"],img[src*="household-support"],img[src*="errands-appointments"],img[src*="respite-support"],img[src*="coachella-valley"],.caregiver-network-photo img{animation:none!important;transform:none!important;will-change:auto!important}
.photo-hero{overflow:hidden!important}
.photo-hero img{animation:gcHeroCinematic 18s ease-in-out infinite alternate!important;will-change:transform!important;transform-origin:52% 48%;}
@keyframes gcHeroCinematic{0%{transform:scale(1.01) translate3d(0,0,0)}100%{transform:scale(1.09) translate3d(-1.2%,-.5%,0)}}
@media(prefers-reduced-motion:reduce){.photo-hero img{animation:none!important;transform:none!important}}

/* 2026-09-15 definitive clarity + hero motion fix */
.photo-hero{overflow:hidden!important;isolation:isolate!important}
.photo-hero img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;transform:scale(1.02)!important;transform-origin:50% 50%!important}
.service-photo,.inline-photo img,.location-photo img,.caregiver-network-photo img{animation:none!important;transform:none!important;filter:none!important;backface-visibility:visible!important;image-rendering:auto!important}
.service-photo{width:100%!important;height:220px!important;object-fit:cover!important}
@media(max-width:800px){.service-photo{height:210px!important}}
.service-card{overflow:hidden!important}
.service-card .service-photo{overflow:hidden!important;position:relative!important;z-index:2!important}
.service-card .service-photo img{display:block!important;position:relative!important;z-index:1!important}
.service-card .card-body{position:relative!important;z-index:3!important;background:#fff!important}


/* GentleCare larger header logo */
header .logo,
header .nav .logo,
header .nav a .logo {
  width: 360px !important;
  max-width: 360px !important;
  height: auto !important;
  max-height: none !important;
}
