/* Homepage connected-care showcase, scoped to preserve the existing theme. */
.home-care { background: #f5f9fd; }
.home-care-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 32px; }
.home-care-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.7px; color: var(--accent-color); margin-bottom: 14px; }
.home-care-heading h2 { font-size: clamp(28px,3vw,40px); color: var(--heading-color); line-height: 1.3; font-weight: 700; margin: 0; }
.home-care-heading h2 span { color: var(--accent-color); }
.home-care-heading > p { max-width: 400px; line-height: 1.8; margin: 0 0 4px; }
.home-care-product { display: flex; flex-direction: column; height: 100%; border: 1px solid #dce8f2; border-radius: 18px; overflow: hidden; background: white; transition: box-shadow .3s ease, transform .3s ease; }
.home-care-copy { padding: 30px 32px 0; }
.home-care-label { display: flex; align-items: center; gap: 9px; font-size: 10px; font-weight: 700; letter-spacing: 1.1px; color: var(--accent-color); margin-bottom: 20px; }
.home-care-label i { font-size: 19px; }
.home-care-product h3 { font-size: clamp(24px,2.4vw,30px); line-height: 1.35; color: var(--heading-color); font-weight: 600; margin-bottom: 14px; }
.home-care-product p { line-height: 1.75; }
.home-care-illustration { width: 100%; height: 280px; object-fit: contain; background: #edf6fd; margin-top: 12px; }
.home-care-bottom { padding: 24px 32px 30px; margin-top: auto; }
.home-care-devices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 13px; }
.home-care-devices i { color: var(--accent-color); margin-right: 7px; }
.home-care-link { display: inline-flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 700; }
.home-care-link i { transition: transform .25s ease; }
.home-care-link:hover i { transform: translateX(4px); }
.home-care-mpers { background: #ecf4fc; }
.home-care-pendant { position: relative; height: 280px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.home-care-orbit { position: absolute; width: 210px; height: 210px; border: 1px solid #c5ddf0; border-radius: 50%; box-shadow: 0 0 0 24px #dfedf880,0 0 0 48px #dfedf840; }
.home-care-lanyard { position: absolute; top: -20px; width: 70px; height: 125px; border: 5px solid #3b6b92; border-radius: 50%; }
.home-care-device { z-index: 1; display: flex; align-items: center; flex-direction: column; width: 102px; height: 145px; border-radius: 42px; background: linear-gradient(145deg,#fff,#e5eff7); border: 3px solid white; box-shadow: 0 15px 24px #2c496422,inset -3px -3px 8px #c2d5e5; animation: home-care-float 6s ease-in-out infinite; }
.home-care-indicator { width: 6px; height: 6px; background: #2da88c; border-radius: 50%; margin-top: 18px; }
.home-care-device > i { display: grid; place-items: center; width: 53px; height: 53px; border-radius: 50%; margin: 12px 0 8px; color: white; background: var(--accent-color); font-size: 25px; box-shadow: 0 3px 8px #1977cc33; }
.home-care-device-label { font-size: 10px; color: #48677f; font-weight: 700; letter-spacing: 1px; }
.home-care-wearable-label { position: absolute; bottom: 10px; font-size: 12px; color: #48677f; }
.home-care-note { font-size: 13px; margin-bottom: 22px; }
.home-care-enquiry { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; padding: 26px 32px; border-radius: 14px; background: var(--heading-color); color: white; }
.home-care-enquiry strong,.home-care-enquiry span { display: block; }
.home-care-enquiry span { font-size: 13px; margin-top: 5px; color: #deebf5; }
.home-care-enquiry a { display: inline-flex; gap: 18px; align-items: center; padding: 12px 21px; border-radius: 28px; background: white; color: var(--heading-color); font-size: 14px; font-weight: 600; }
.home-care a:focus-visible { outline: 3px solid #e7a72b; outline-offset: 5px; }
@keyframes home-care-float { 50% { transform: translateY(-5px); } }
@media (hover:hover) { .home-care-product:hover { transform: translateY(-4px); box-shadow: 0 16px 40px #2c496412; } }
@media (max-width:991px) { .home-care-heading { flex-direction: column; align-items: flex-start; gap: 18px; } .home-care-heading > p { max-width: 650px; } }
@media (max-width:575px) { .home-care-copy { padding: 24px 22px 0; } .home-care-bottom { padding: 24px 22px; } .home-care-enquiry { flex-direction: column; align-items: flex-start; padding: 24px 22px; } .home-care-devices { font-size: 12px; gap: 12px 8px; } .home-care-illustration { height: auto; } }
@media (prefers-reduced-motion:reduce) { .home-care-device { animation: none; } .home-care-product,.home-care-link i { transition: none; } .home-care-product:hover,.home-care-link:hover i { transform: none; } }

/* Compact homepage services: four columns, with the last row centered. */
#services.services-compact { padding: 48px 0; }
#services.services-compact .section-title { padding-bottom: 28px; }
#services.services-compact .section-title p { max-width: 780px; margin: 0 auto; }
#services.services-compact .service-item { padding: 26px 22px; text-align: left; border-radius: 10px; }
#services.services-compact .service-item .icon { width: 44px; height: 44px; margin: 0 0 18px; border-radius: 8px; transform-style: flat; }
#services.services-compact .service-item .icon::before { display: none; }
#services.services-compact .service-item .icon i { font-size: 21px; }
#services.services-compact .service-item h3 { font-size: 18px; line-height: 1.4; margin: 0 0 10px; }
#services.services-compact .service-item p { font-size: 14px; line-height: 1.7; }
#services.services-compact .service-item:focus-within { outline: 3px solid #e7a72b; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { #services.services-compact .service-item, #services.services-compact .icon, #services.services-compact .icon i { transition: none; } }

/* Statistics immediately follow the services grid. */
.home-metrics { padding: 8px 0 56px; }
.home-metrics-panel { background: linear-gradient(115deg,#203d58,#2c4964); border-radius: 18px; padding: 34px 40px 38px; color: white; }
.home-metrics-heading { padding-bottom: 27px; margin-bottom: 28px; border-bottom: 1px solid #ffffff24; }
.home-metrics-heading p { margin: 0 0 10px; color: #a9d9ff; font-weight: 700; font-size: 11px; letter-spacing: 1.8px; }
.home-metrics-heading h2 { color: white; font-size: 26px; font-weight: 600; margin-bottom: 9px; }
.home-metrics-heading > span { color: #d4e2ed; font-size: 14px; }
.home-metrics-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); }
.home-metric { display: grid; grid-template-columns: 38px 1fr; column-gap: 14px; padding: 4px 28px; border-left: 1px solid #ffffff24; }
.home-metric:first-child { padding-left: 0; border-left: 0; }
.home-metric > i { grid-row: span 2; align-self: center; color: #8dcdff; font-size: 28px; }
.home-metric strong { color: white; font-size: 42px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.home-metric > span { color: #d4e2ed; font-size: 14px; margin-top: 6px; }
@media(max-width:767px) { .home-metrics-panel { padding: 28px 24px; } .home-metrics-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px 0; } .home-metric { padding: 0 16px; column-gap: 8px; grid-template-columns: 30px 1fr; } .home-metric:nth-child(odd) { padding-left: 0; border-left: 0; } .home-metric strong { font-size: 34px; } .home-metric > i { font-size: 24px; } }
