/* Home Health Services page: navy hero shared with diagnostics, KIH brand colours throughout. */
.hh-page { color: var(--ink); }
.hh-page h2 { color: var(--ink); font-size: clamp(1.75rem, 2.4vw, 2.75rem); font-weight: 600; line-height: 1.15; margin-bottom: 1rem; }
.hh-page h3 { color: var(--ink); font-size: 1.15rem; font-weight: 600; line-height: 1.35; margin-bottom: .5rem; }
.hh-page p { font-size: .95rem; line-height: 1.8; }
.hh-page a:focus-visible { outline: 2px solid var(--kih-blue); outline-offset: 4px; }
/* Same section rhythm as the Kulsum Story page. */
.hh-section { padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.hh-hero + .hh-section { padding-top: clamp(1.75rem, 3vw, 2.5rem); padding-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.hh-section-soft { background: radial-gradient(circle at 92% 0%, rgba(229, 27, 62, .055), transparent 28%), #f4f7fc; }
.hh-section-intro { max-width: 680px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

/* Hero */
.hh-hero { position: relative; isolation: isolate; overflow: hidden; background: #063b74; }
.hh-hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.hh-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(3, 30, 60, .97) 0%, rgba(6, 46, 86, .91) 38%, rgba(6, 46, 86, .55) 68%, rgba(6, 46, 86, .25) 100%); }
.hh-hero-copy { max-width: 700px; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.hh-hero h1 { color: #fff; font-size: clamp(2.25rem, 4vw, 3.75rem); font-weight: 600; line-height: 1.08; margin-bottom: 1rem; }
.hh-hero .hh-lead { color: #fff; font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 500; line-height: 1.45; margin-bottom: 1rem; }
.hh-hero p { color: #e0ebf7; }
.hh-hero a:focus-visible { outline-color: #fff; }
@media (min-width: 992px) {
    .hh-hero-copy { padding: 3.5rem 0 3.75rem; }
    .hh-hero h1, .hh-hero .hh-lead { margin-bottom: .6rem; }
}

/* Services */
.hh-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.hh-service { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(1.4rem, 2.5vw, 2rem); border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s ease, border-color .25s ease; }
.hh-service::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--kih-red); }
.hh-service:hover { transform: translateY(-4px); border-color: #b9cfe8; }
.hh-service-top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.hh-page .hh-service-top h3 { flex: 1; min-width: 0; margin: 0; }
.hh-service-icon { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--kih-blue-soft); color: var(--kih-blue); font-size: 1.5rem; }
.hh-page .hh-service > p { color: #3a5068; font-size: .9rem; line-height: 1.75; }
.hh-page .hh-service > :last-child { margin-bottom: 0; }
.hh-page .hh-service > .hh-service-badge { display: inline-flex; align-self: flex-start; align-items: center; gap: .4rem; margin: -.25rem 0 .9rem; padding: .3rem .75rem; border-radius: 999px; background: var(--kih-red-soft); color: var(--kih-red); font-size: .78rem; font-weight: 700; line-height: 1.4; }

/* Booking and payment */
.hh-book-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hh-contacts { display: grid; gap: .75rem; margin-top: 1.5rem; }
.hh-contact { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
a.hh-contact:hover { color: inherit; border-color: var(--kih-blue); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.hh-contact > .bi:first-child { display: grid; place-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: var(--kih-blue-soft); color: var(--kih-blue); font-size: 1.3rem; }
.hh-contact small { display: block; color: var(--muted); font-size: .75rem; font-weight: 500; }
.hh-contact strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.hh-contact-go { margin-left: auto; color: var(--kih-blue); }
.hh-closed { margin-left: auto; padding: .3rem .75rem; border-radius: 999px; background: var(--kih-red-soft); color: var(--kih-red); font-size: .72rem; font-weight: 700; white-space: nowrap; }
.hh-payment { position: relative; overflow: hidden; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 22px; background: linear-gradient(145deg, #031e3c 0%, #063b74 55%, #09519e 100%); box-shadow: var(--shadow-sm); }
.hh-payment::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--kih-red); }
.hh-payment h3 { color: #fff; font-size: 1.3rem; margin-bottom: .75rem; }
.hh-payment-list { margin: 0; padding: 0; list-style: none; }
.hh-payment-list li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; padding: 1.1rem 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hh-payment-list li:last-child { padding-bottom: 0; }
.hh-payment-list .bi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 1.2rem; }
.hh-payment-list span { color: #d3e2f3; font-size: .88rem; line-height: 1.6; }
.hh-payment-list strong { display: block; margin-bottom: .2rem; color: #fff; font-size: .98rem; font-weight: 600; }

/* Four cards in a row: a smaller icon and title so "Home Physiotherapy" fits on one line where possible. */
@media (min-width: 1200px) {
    .hh-service-top { gap: .75rem; }
    .hh-service-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 1.3rem; }
    .hh-page .hh-service-top h3 { font-size: 1.1rem; }
}
@media (max-width: 1199.98px) {
    .hh-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
    .hh-services { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
    .hh-book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .hh-hero::before { background: rgba(3, 30, 60, .82); }
}
@media (max-width: 575.98px) {
    .hh-page h2 { font-size: clamp(1.5rem, 6.5vw, 1.85rem); line-height: 1.2; }
    .hh-page p { font-size: .88rem; line-height: 1.75; }
    .hh-contact { padding: .9rem 1rem; }
    .hh-payment-list li { grid-template-columns: 40px minmax(0, 1fr); gap: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
    .hh-service, .hh-contact { transition: none; }
    .hh-service:hover, a.hh-contact:hover { transform: none; }
}
