:root {
    --blue: #034694;
    --blue-dark: #02315f;
    --blue-soft: #eaf3ff;
    --ink: #142033;
    --muted: #5c6b80;
    --line: #d9e5f5;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(2, 49, 95, .14);
    --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; font-size: 18px; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: var(--blue-dark); color: #fff; font-size: 15px; }
.topbar-inner, .nav-row, .bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-inner { padding: 8px 0; }
.link-button { border: 0; background: transparent; color: #fff; text-decoration: underline; cursor: pointer; font: inherit; }
.site-header { position: relative; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-row { padding: 18px 0; min-height: 118px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 340px; height: auto; max-height: 900px; object-fit: contain; }
.brand strong { color: var(--blue); letter-spacing: .08em; font-size: 24px; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 22px; font-size: 16px; font-weight: 700; }
.main-nav a { color: var(--blue-dark); }
.main-nav a.active { color: var(--blue); }
.nav-cta, .btn, .footer-enquire { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 12px 20px; background: var(--blue); color: #fff !important; border: 0; font-weight: 800; cursor: pointer; }
.btn.secondary { background: #fff; color: var(--blue) !important; border: 1px solid var(--line); }
.menu-toggle { display: none; border: 0; background: var(--blue-soft); color: var(--blue); border-radius: 12px; padding: 10px 12px; font-size: 24px; }
.hero { background: linear-gradient(120deg, rgba(3,70,148,.96), rgba(2,49,95,.86)), url('/assets/img/placeholders/hero-care-at-home.jpg') center/cover; color: #fff; padding: 96px 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: 14px; color: #2369d1; }
h1 { font-size: clamp(42px, 6vw, 74px); line-height: 1.02; margin: 10px 0 22px; letter-spacing: -.04em; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; margin: 0 0 18px; letter-spacing: -.03em; }
h3 { line-height: 1.2; }
.lead { font-size: 22px; max-width: 720px; }
.hero-card { background: rgba(255,255,255,.96); color: var(--ink); padding: 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-card img { border-radius: 20px; aspect-ratio: 4/3; object-fit: cover; margin-bottom: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.section { padding: 82px 0; }
.section.soft { background: var(--blue-soft); }
.section-head { max-width: 820px; margin-bottom: 34px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; align-items: center; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 12px 40px rgba(2,49,95,.08); }
.card img { border-radius: 18px; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 16px; background: var(--blue-soft); }
.service-list { display: grid; gap: 14px; margin-top: 20px; }
.service-list span { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 700; color: var(--blue-dark); }
.cta-band { background: var(--blue-dark); color: #fff; padding: 56px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.trust-strip { background: #f7fbff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 18px 0; text-align: center; font-weight: 800; color: var(--blue-dark); }
.site-footer { background: #071d35; color: #d9e6f5; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; padding: 58px 0; }
.footer-grid h3 { color: #fff; margin-top: 0; }
.footer-grid a { display: block; margin: 8px 0; }
.footer-logo { width: 110px; background: #fff; border-radius: 18px; padding: 8px; margin-bottom: 16px; }
.footer-bottom { background: #041426; padding: 14px 0; font-size: 14px; }
.modal { position: fixed; inset: 0; background: rgba(4,20,38,.72); display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal.open { display: flex; }
.modal-panel { width: min(680px, 100%); background: #fff; border-radius: var(--radius); padding: 30px; position: relative; box-shadow: var(--shadow); max-height: 92vh; overflow: auto; }
.modal-close { position: absolute; top: 12px; right: 16px; border: 0; background: var(--blue-soft); color: var(--blue); border-radius: 999px; width: 40px; height: 40px; font-size: 28px; cursor: pointer; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-grid label { display: grid; gap: 6px; font-weight: 800; color: var(--blue-dark); }
.form-grid input, .form-grid textarea, .form-grid select { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 13px 14px; font: inherit; }
.form-grid .full { grid-column: 1 / -1; }
.hp-field { position: absolute; left: -9999px; height: 1px; overflow: hidden; }
@media (max-width: 900px) {
    body { font-size: 17px; }
    .nav-row { min-height: 96px; padding: 14px 0; }
    .brand img { width: 300px; max-height: 90px; }
    .menu-toggle { display: inline-flex; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 20px; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
    .main-nav.open { display: flex; }
    .hero-grid, .grid-2, .grid-3, .footer-grid, .trust-grid { grid-template-columns: 1fr; }
    .hero { padding: 70px 0; }
    .cta-band .wrap, .topbar-inner { flex-direction: column; align-items: flex-start; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Step 2 admin and content-management styling */
.narrow{max-width:760px}.small{font-size:.9rem;color:#60758a}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.admin-top{background:#02315f;color:#fff}.admin-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 0}.admin-bar nav{display:flex;gap:14px;flex-wrap:wrap}.admin-bar a{color:#fff;text-decoration:none;font-weight:700}.admin-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.table-card{overflow:auto}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:12px 10px;border-bottom:1px solid #dbe7f4;text-align:left;vertical-align:top}.admin-table th{background:#eef5ff;color:#02315f}.admin-cards a{text-decoration:none;color:inherit}details{margin-top:12px}summary{cursor:pointer;font-weight:700;color:#034694}.testimonial-card p{font-size:1.05rem;line-height:1.65}.testimonial-card span{color:#60758a;font-weight:700}@media(max-width:780px){.grid-2{grid-template-columns:1fr}.admin-bar{align-items:flex-start;flex-direction:column}.admin-head{align-items:flex-start;flex-direction:column}.admin-table{min-width:650px}}

/* Step 3 refinements */
.filter-form{display:flex;align-items:end;gap:14px;margin-bottom:24px}.filter-form label{display:grid;gap:6px;flex:1;font-weight:800;color:var(--blue-dark)}.filter-form input,.filter-form select{border:1px solid var(--line);border-radius:14px;padding:13px 14px;font:inherit}.pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px}.pagination a{border:1px solid var(--line);border-radius:12px;padding:8px 13px;background:#fff;color:var(--blue-dark);font-weight:800}.pagination a.active{background:var(--blue);color:#fff}.notice{border-radius:16px;padding:14px 16px;margin-bottom:18px;background:#eef8f0;border:1px solid #b9e2c0}.notice.error{background:#fff3f3;border-color:#ffc7c7;color:#7b1818}.admin-preview{max-width:260px;border-radius:18px;border:1px solid var(--line);padding:6px;background:#fff}.post-card img,.service-catalog img{min-height:190px}.testimonial-card span{display:block;margin-top:6px}.admin-cards .card{transition:transform .18s ease,box-shadow .18s ease}.admin-cards .card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
@media(max-width:780px){.filter-form{align-items:stretch;flex-direction:column}.post-card img,.service-catalog img{min-height:auto}}


/* Step 4 final polish */
.text-link{display:inline-flex;margin-top:8px;font-weight:900;color:var(--blue);text-decoration:underline;text-underline-offset:4px}.article-hero,.service-hero{background:linear-gradient(120deg,rgba(3,70,148,.96),rgba(2,49,95,.82)),url('/assets/img/placeholders/family-care-discussion.jpg') center/cover}.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:start}.article-card img{width:100%;max-height:440px;object-fit:cover}.article-body{font-size:1.08rem}.article-aside{position:sticky;top:140px;display:grid;gap:12px}.check-list{padding-left:0;list-style:none;display:grid;gap:10px}.check-list li{padding-left:30px;position:relative}.check-list li:before{content:'✓';position:absolute;left:0;top:0;color:var(--blue);font-weight:900}.media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:24px}.media-card{display:grid;gap:10px}.media-card img{aspect-ratio:4/3;object-fit:cover;margin:0}.media-card input{width:100%;border:1px solid var(--line);border-radius:12px;padding:9px;font-size:.85rem}.cookie-banner{position:fixed;left:20px;right:20px;bottom:20px;z-index:120;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:22px;padding:18px;display:flex;align-items:center;gap:16px;max-width:920px;margin:0 auto}.cookie-banner p{margin:0;flex:1}.cookie-banner[hidden]{display:none}.narrow{max-width:860px}
@media(max-width:980px){.article-layout,.media-grid{grid-template-columns:1fr}.article-aside{position:static}.cookie-banner{align-items:flex-start;flex-direction:column}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.media-grid{grid-template-columns:1fr}}

/* Step 5: Footer service list refinement */
.footer-services-col { min-width: 0; }
.footer-service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 18px; }
.footer-service-list a { margin: 4px 0; font-size: 14px; line-height: 1.35; }
@media (max-width: 760px) {
    .footer-service-list { grid-template-columns: 1fr; }
}
@media (min-width: 761px) {
    .footer-grid { grid-template-columns: 1.2fr 1.8fr 1fr 1.2fr; }
}

/* Step 6: premium content and individual page polish */
.dark-eyebrow { color: var(--blue); }
.slim-hero { padding: 76px 0; }
.about-hero, .contact-hero { background: linear-gradient(120deg, rgba(3,70,148,.95), rgba(2,49,95,.84)), url('/assets/img/placeholders/family-care-discussion.jpg') center/cover; }
.premium-service-hero { background: linear-gradient(120deg, rgba(3,70,148,.96), rgba(2,49,95,.84)), url('/assets/img/placeholders/home-visit-care.jpg') center/cover; }
.feature-card img, .contact-card-large img { width: 100%; }
.value-grid .card { min-height: 230px; }
.premium-panel, .reassurance-card, .contact-card-large { border-top: 6px solid var(--blue); }
.policy-section { background: #f7fbff; }
.policy-content { max-width: 980px; }
.policy-content h2 { font-size: clamp(24px, 3vw, 34px); margin-top: 38px; }
.policy-content p { color: #27394d; }
.service-detail-section .article-card p { font-size: 1.08rem; }
.service-summary-card img { min-height: 260px; }
.split-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 34px 0; }
.split-panel > div { background: #f7fbff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.care-note { margin-top: 28px; padding: 24px; border-radius: 22px; background: linear-gradient(135deg, #eef6ff, #ffffff); border: 1px solid var(--line); }
.premium-aside hr { width: 100%; border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.compact-list { gap: 8px; font-size: 16px; }
.premium-check-list li { background: rgba(255,255,255,.7); border-radius: 14px; padding-top: 4px; padding-bottom: 4px; }
.contact-options .card { display: flex; flex-direction: column; justify-content: space-between; min-height: 245px; }
.text-button { border: 0; background: transparent; color: var(--blue); font: inherit; font-weight: 900; padding: 0; cursor: pointer; text-align: left; text-decoration: underline; text-underline-offset: 4px; }
.number-list { display: grid; gap: 12px; padding-left: 22px; }
.number-list li { padding-left: 6px; }
.service-content-card h2 { max-width: 840px; }
@media(max-width: 900px) {
    .split-panel { grid-template-columns: 1fr; }
    .value-grid .card, .contact-options .card { min-height: auto; }
}


/* Header logo visibility hotfix */
@media (max-width: 420px) {
    .brand img { width: 126px; max-height: 68px; }
    .nav-row { min-height: 86px; }
}

/* Premium config-linked topbar */
.topbar {
    background: linear-gradient(90deg, #063865 0%, #074b86 50%, #063865 100%);
    color: #ffffff;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.topbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.topbar-contact {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    font-weight: 600;
}

.topbar-label {
    opacity: 0.82;
}

.topbar-phone {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

.topbar-phone:hover {
    text-decoration: underline;
}

.topbar-divider {
    opacity: 0.55;
}

.topbar-enquire {
    border: 1px solid rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.topbar-enquire:hover {
    background: #ffffff;
    color: #063865;
    transform: translateY(-1px);
}

@media (max-width: 700px) {
    .topbar-inner {
        padding-top: 10px;
        padding-bottom: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .topbar-contact {
        font-size: 13px;
        gap: 7px;
    }

    .topbar-enquire {
        width: 100%;
        padding: 11px 16px;
    }
}

/* Homepage Premium Refinement */
.hero-premium {
    position: relative;
    overflow: hidden;
}

.hero-premium::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: rgba(255,255,255,0.15);
}

.hero-premium-grid {
    align-items: center;
}

.hero-copy {
    max-width: 760px;
}

.hero-feature-card {
    overflow: hidden;
    padding: 18px;
}

.hero-feature-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.hero-card-body {
    padding: 18px 4px 4px;
}

.hero-card-body h3 {
    margin-top: 7px;
    margin-bottom: 8px;
}

.mini-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #07569f;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mini-label::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #07569f;
}

/* Trust strip below hero */
.trust-strip {
    background: #ffffff;
    border-bottom: 1px solid #e4eef8;
}

.trust-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e4eef8;
    border-left: 1px solid #e4eef8;
    border-right: 1px solid #e4eef8;
}

.trust-strip-item {
    background: #ffffff;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-strip-item span {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #eef6ff;
    color: #07569f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.trust-strip-item strong {
    color: #0b2138;
    font-size: 14px;
    line-height: 1.35;
}

/* Premium intro */
.premium-intro-grid {
    align-items: center;
}

.premium-list {
    margin-top: 22px;
}

.image-panel {
    background: #ffffff;
    border: 1px solid #dfeaf5;
    border-radius: 26px;
    padding: 18px;
    box-shadow: 0 22px 55px rgba(6, 36, 66, 0.10);
}

.image-panel img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.image-panel-caption {
    padding: 16px 4px 2px;
    display: grid;
    gap: 5px;
}

.image-panel-caption strong {
    color: #0b2138;
    font-size: 17px;
}

.image-panel-caption span {
    color: #52657a;
    font-size: 14px;
    line-height: 1.6;
}

/* How care starts */
.how-care-starts {
    position: relative;
}

.narrow-head {
    max-width: 760px;
}

.narrow-head p,
.section-head p {
    color: #52657a;
    max-width: 780px;
    line-height: 1.7;
}

.steps-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-card {
    background: #ffffff;
    border: 1px solid #dbe8f5;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 42px rgba(6, 36, 66, 0.08);
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, #07569f, #0b75d1);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #07569f;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 18px;
}

.step-card h3 {
    margin-bottom: 10px;
    color: #0b2138;
}

.step-card p {
    color: #52657a;
    line-height: 1.65;
}

/* Who we support */
.who-we-support-section {
    padding-top: 0;
}

.who-we-support-panel {
    background: linear-gradient(135deg, #063865, #07569f);
    color: #ffffff;
    border-radius: 32px;
    padding: 42px;
    display: grid;
    grid-template-columns: 0.95fr 1.45fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 24px 60px rgba(6, 36, 66, 0.18);
}

.who-we-support-panel h2 {
    color: #ffffff;
    margin-bottom: 0;
}

.who-we-support-panel .eyebrow {
    color: rgba(255,255,255,0.78);
}

.support-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.support-tags span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 11px 15px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

/* Service preview premium cards */
.premium-card-grid {
    align-items: stretch;
}

.service-preview-card,
.premium-post-card,
.premium-testimonial-card {
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-preview-card:hover,
.premium-post-card:hover,
.premium-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 58px rgba(6, 36, 66, 0.14);
    border-color: #bdd7ef;
}

.service-preview-card img,
.premium-post-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.service-icon-dot {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #07569f;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    margin-top: -21px;
    margin-left: 4px;
    position: relative;
    z-index: 2;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 18px rgba(7, 86, 159, 0.25);
}

.service-preview-card a,
.premium-post-card a {
    color: #07569f;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    margin-top: 8px;
}

.service-preview-card a:hover,
.premium-post-card a:hover {
    text-decoration: underline;
}

.section-centre-action {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.btn.outline-dark {
    background: #ffffff;
    color: #07569f;
    border: 1px solid #bdd7ef;
}

.btn.outline-dark:hover {
    background: #07569f;
    color: #ffffff;
}

/* Blog cards */
.premium-post-card {
    overflow: hidden;
}

.premium-post-card .card-content {
    padding: 18px 0 0;
}

/* Testimonials */
.premium-testimonial-card {
    padding-top: 34px;
}

.quote-mark {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #eef6ff;
    color: #07569f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
    margin-bottom: 16px;
}

.premium-testimonial-card p {
    font-size: 15px;
    line-height: 1.75;
    color: #273b51;
}

.premium-testimonial-card strong {
    display: block;
    margin-top: 16px;
    color: #0b2138;
}

.premium-testimonial-card span {
    display: block;
    margin-top: 4px;
    color: #63758a;
    font-size: 14px;
}

/* Reassurance strip */
.reassurance-strip {
    background: #ffffff;
    border-top: 1px solid #e4eef8;
    border-bottom: 1px solid #e4eef8;
}

.reassurance-inner {
    padding-top: 22px;
    padding-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.reassurance-inner strong {
    color: #0b2138;
    font-size: 17px;
}

.reassurance-inner span {
    color: #52657a;
    font-size: 15px;
}

/* Premium CTA */
.premium-cta-band {
    position: relative;
    overflow: hidden;
}

.premium-cta-band::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -120px;
    top: -160px;
    border-radius: 999px;
    background: rgba(255,255,255,0.06);
}

.premium-cta-band .wrap {
    position: relative;
    z-index: 1;
}

.eyebrow.light {
    color: rgba(255,255,255,0.75);
}

/* Homepage responsive refinements */
@media (max-width: 980px) {
    .trust-strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {

        grid-template-columns: 1fr;
    }

    .who-we-support-panel {
        grid-template-columns: 1fr;
        padding: 32px;
    }
}

@media (max-width: 700px) {
    .hero-premium-grid {
        gap: 26px;
    }

    .hero-copy h1 {
        font-size: clamp(42px, 12vw, 64px);
        line-height: 0.98;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
        min-height: 52px;
    }

    .hero-feature-card {
        padding: 14px;
    }

    .hero-card-body {
        padding: 15px 2px 2px;
    }

    .trust-strip-grid {
        grid-template-columns: 1fr;
    }

    .trust-strip-item {
        padding: 16px 18px;
    }

    .image-panel {
        padding: 12px;
        border-radius: 22px;
    }

    .who-we-support-panel {
        border-radius: 24px;
        padding: 28px 22px;
    }

    .support-tags span {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .section-centre-action .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .reassurance-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 420px) {
    .step-card {
        padding: 24px 22px;
    }

    .who-we-support-panel h2 {
        font-size: 28px;
    }
}

/* Premium Admin Dashboard */
.admin-dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: stretch;
    margin-bottom: 34px;
}

.admin-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: #07569f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-dashboard-hero h1 {
    margin: 0 0 18px;
    color: #0b1b32;
    font-size: clamp(52px, 7vw, 86px);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.admin-dashboard-hero p {
    max-width: 760px;
    margin: 0;
    color: #3c5067;
    font-size: 21px;
    line-height: 1.55;
}

.admin-hero-panel {
    background: linear-gradient(135deg, #063865, #07569f);
    color: #ffffff;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 26px 60px rgba(6, 36, 66, 0.22);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.admin-hero-panel span {
    color: rgba(255,255,255,0.72);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.admin-hero-panel strong {
    font-size: 20px;
    line-height: 1.35;
    word-break: break-word;
}

.admin-hero-panel a {
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    background: #ffffff;
    color: #063865;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 800;
    text-decoration: none;
}

.admin-overview-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 42px;
}

.admin-overview-strip div {
    background: #ffffff;
    border: 1px solid #dce9f6;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 18px 45px rgba(6, 36, 66, 0.07);
}

.admin-overview-strip span {
    display: block;
    color: #07569f;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.admin-overview-strip strong {
    color: #0b1b32;
    font-size: 14px;
}

.admin-section-block {
    margin-top: 20px;
}

.admin-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 22px;
}

.admin-section-heading h2,
.admin-panel h2 {
    margin: 0;
    color: #0b1b32;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.admin-section-heading p {
    max-width: 520px;
    margin: 0;
    color: #52657a;
    line-height: 1.6;
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.admin-feature-card {
    min-height: 188px;
    background: #ffffff;
    border: 1px solid #dce9f6;
    border-radius: 28px;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 20px 48px rgba(6, 36, 66, 0.08);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.admin-feature-card:hover {
    transform: translateY(-4px);
    border-color: #9fc6ec;
    box-shadow: 0 28px 70px rgba(6, 36, 66, 0.14);
}

.admin-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: #eef6ff;
    color: #07569f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex: 0 0 auto;
}

.admin-feature-card h3 {
    margin: 0 0 10px;
    color: #0b1b32;
    font-size: 24px;
}

.admin-feature-card p {
    margin: 0 0 16px;
    color: #07569f;
    font-size: 18px;
    font-weight: 800;
}

.admin-feature-card strong {
    color: #52657a;
    font-size: 15px;
    line-height: 1.55;
}

.urgent-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.admin-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 34px;
}

.admin-panel {
    background: #ffffff;
    border: 1px solid #dce9f6;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 20px 48px rgba(6, 36, 66, 0.08);
}

.admin-panel p {
    color: #3c5067;
    font-size: 17px;
    line-height: 1.65;
}

.admin-action-list {
    margin-top: 22px;
    display: grid;
    gap: 12px;
}

.admin-action-list a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 15px 17px;
    border: 1px solid #dce9f6;
    border-radius: 16px;
    background: #f8fbff;
    color: #063865;
    font-weight: 800;
    text-decoration: none;
}

.admin-action-list a::after {
    content: "→";
}

.admin-action-list a:hover {
    background: #eef6ff;
}

.security-panel ul {
    margin: 18px 0 0;
    padding-left: 20px;
    color: #3c5067;
    line-height: 1.8;
}

.admin-checklist-panel {
    margin-top: 22px;
    margin-bottom: 40px;
}

.admin-checklist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.admin-checklist span {
    background: #f8fbff;
    border: 1px solid #dce9f6;
    border-radius: 18px;
    padding: 18px;
    color: #3c5067;
    font-weight: 700;
    line-height: 1.5;
}

@media (max-width: 1100px) {
    .admin-dashboard-hero {
        grid-template-columns: 1fr;
    }

    .admin-overview-strip {
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-checklist {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .admin-dashboard-hero h1 {
        font-size: 52px;
    }

    .admin-dashboard-hero p {
        font-size: 18px;
    }

    .admin-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-overview-strip,
    .admin-dashboard-grid,
    .admin-two-column,
    .admin-checklist {
        grid-template-columns: 1fr;
    }

    .admin-feature-card {
        min-height: auto;
        padding: 24px;
    }
}
/* ==========================================================
   TDCARE FINAL THEME PASS: CHELSEA BLUE + ORANGE HERO SYSTEM
   Client request: all hero backgrounds to read as orange.
   This block intentionally sits last so it overrides earlier
   blue-led hero declarations without disturbing page structure.
   ========================================================== */
:root {
    --blue: #034694;
    --blue-dark: #02315f;
    --blue-deep: #071d35;
    --blue-soft: #eaf3ff;
    --orange: #f26a1b;
    --orange-dark: #c85210;
    --orange-deep: #9f3f0a;
    --orange-light: #ff8a35;
    --orange-soft: #fff2e8;
    --orange-pale: #fff7f0;
    --ink: #142033;
    --muted: #5c6b80;
    --line: #d9e5f5;
    --line-warm: #f3d6c2;
    --white: #ffffff;
    --shadow: 0 24px 70px rgba(2, 49, 95, .14);
    --shadow-warm: 0 24px 70px rgba(242, 106, 27, .18);
    --radius: 24px;
}

/* Premium orange top bar */
.topbar {
    background: linear-gradient(90deg, var(--orange-deep) 0%, var(--orange) 52%, var(--orange-light) 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

/* Keep navigation clean and premium against the new orange-led brand */
.site-header {
    border-bottom: 1px solid rgba(242,106,27,.18);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--orange) !important;
}

.nav-cta,
.footer-enquire {
    background: var(--blue) !important;
    box-shadow: 0 12px 30px rgba(3,70,148,.22);
}

.nav-cta:hover,
.footer-enquire:hover {
    background: var(--orange) !important;
    box-shadow: 0 18px 40px rgba(242,106,27,.28);
}

/* Main homepage hero: orange dominant, still premium and readable */
.hero,
.hero-premium {
    background:
        radial-gradient(circle at 86% 8%, rgba(255,255,255,.22), rgba(255,255,255,0) 30%),
        radial-gradient(circle at 12% 92%, rgba(3,70,148,.28), rgba(3,70,148,0) 34%),
        linear-gradient(125deg, rgba(159,63,10,.96) 0%, rgba(242,106,27,.94) 52%, rgba(255,138,53,.90) 100%),
        url('/assets/img/placeholders/hero-care-at-home.jpg') center/cover !important;
    color: #ffffff;
}

/* Inner page heroes: orange dominant but with enough depth for white headings */
.slim-hero,
.article-hero,
.service-hero,
.about-hero,
.contact-hero,
.premium-service-hero {
    background:
        radial-gradient(circle at 88% 10%, rgba(255,255,255,.20), rgba(255,255,255,0) 32%),
        radial-gradient(circle at 8% 92%, rgba(3,70,148,.26), rgba(3,70,148,0) 35%),
        linear-gradient(125deg, rgba(159,63,10,.96) 0%, rgba(242,106,27,.93) 54%, rgba(255,138,53,.90) 100%) !important;
    color: #ffffff;
}

/* If inner heroes need their image texture, these retain the page-specific images below the orange overlay */
.about-hero,
.contact-hero,
.article-hero,
.service-hero {
    background:
        radial-gradient(circle at 88% 10%, rgba(255,255,255,.20), rgba(255,255,255,0) 32%),
        radial-gradient(circle at 8% 92%, rgba(3,70,148,.26), rgba(3,70,148,0) 35%),
        linear-gradient(125deg, rgba(159,63,10,.94) 0%, rgba(242,106,27,.91) 54%, rgba(255,138,53,.88) 100%),
        url('/assets/img/placeholders/family-care-discussion.jpg') center/cover !important;
}

.premium-service-hero {
    background:
        radial-gradient(circle at 88% 10%, rgba(255,255,255,.20), rgba(255,255,255,0) 32%),
        radial-gradient(circle at 8% 92%, rgba(3,70,148,.26), rgba(3,70,148,0) 35%),
        linear-gradient(125deg, rgba(159,63,10,.94) 0%, rgba(242,106,27,.91) 54%, rgba(255,138,53,.88) 100%),
        url('/assets/img/placeholders/home-visit-care.jpg') center/cover !important;
}

/* Improve readability on orange hero backgrounds */
.hero h1,
.hero h2,
.hero p,
.hero .lead,
.hero .eyebrow,
.slim-hero h1,
.slim-hero h2,
.slim-hero p,
.article-hero h1,
.article-hero h2,
.article-hero p,
.service-hero h1,
.service-hero h2,
.service-hero p,
.about-hero h1,
.about-hero h2,
.about-hero p,
.contact-hero h1,
.contact-hero h2,
.contact-hero p,
.premium-service-hero h1,
.premium-service-hero h2,
.premium-service-hero p {
    color: #ffffff;
    text-shadow: 0 3px 22px rgba(80,31,3,.32);
}

.hero .eyebrow,
.slim-hero .eyebrow,
.article-hero .eyebrow,
.service-hero .eyebrow,
.about-hero .eyebrow,
.contact-hero .eyebrow,
.premium-service-hero .eyebrow {
    color: rgba(255,255,255,.82) !important;
}

/* Hero buttons must stand out against orange */
.hero .btn.primary,
.hero-premium .btn.primary,
.slim-hero .btn.primary,
.article-hero .btn.primary,
.service-hero .btn.primary,
.about-hero .btn.primary,
.contact-hero .btn.primary,
.premium-service-hero .btn.primary {
    background: var(--blue) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 44px rgba(2,49,95,.26);
}

.hero .btn.primary:hover,
.hero-premium .btn.primary:hover,
.slim-hero .btn.primary:hover,
.article-hero .btn.primary:hover,
.service-hero .btn.primary:hover,
.about-hero .btn.primary:hover,
.contact-hero .btn.primary:hover,
.premium-service-hero .btn.primary:hover {
    background: var(--blue-dark) !important;
}

.hero .btn.secondary,
.hero-premium .btn.secondary,
.slim-hero .btn.secondary,
.article-hero .btn.secondary,
.service-hero .btn.secondary,
.about-hero .btn.secondary,
.contact-hero .btn.secondary,
.premium-service-hero .btn.secondary {
    background: #ffffff !important;
    color: var(--orange-dark) !important;
    border-color: rgba(255,255,255,.80) !important;
}

.hero .btn.secondary:hover,
.hero-premium .btn.secondary:hover,
.slim-hero .btn.secondary:hover,
.article-hero .btn.secondary:hover,
.service-hero .btn.secondary:hover,
.about-hero .btn.secondary:hover,
.contact-hero .btn.secondary:hover,
.premium-service-hero .btn.secondary:hover {
    background: var(--blue-dark) !important;
    color: #ffffff !important;
}

/* Hero card remains white for contrast, with orange accent */
.hero-card,
.hero-feature-card {
    background: rgba(255,255,255,.97) !important;
    color: var(--ink) !important;
    border: 1px solid rgba(255,255,255,.64);
    box-shadow: 0 28px 74px rgba(109,42,4,.18);
}

.hero-card h3,
.hero-card p,
.hero-card-body h3,
.hero-card-body p {
    color: var(--ink) !important;
    text-shadow: none !important;
}

.hero-card .mini-label,
.hero-card-body .mini-label {
    color: var(--orange-dark) !important;
    text-shadow: none !important;
}

.hero-card .mini-label::before,
.hero-card-body .mini-label::before {
    background: var(--orange) !important;
}

/* Orange-led dark panels */
.cta-band,
.premium-cta-band,
.who-we-support-panel {
    background:
        radial-gradient(circle at 92% 0%, rgba(255,255,255,.22), rgba(255,255,255,0) 32%),
        linear-gradient(135deg, var(--orange-deep) 0%, var(--orange) 58%, var(--orange-light) 100%) !important;
    color: #ffffff;
}

.cta-band .btn.primary,
.premium-cta-band .btn.primary {
    background: #ffffff !important;
    color: var(--orange-dark) !important;
    box-shadow: 0 16px 38px rgba(118,49,9,.20);
}

.cta-band .btn.primary:hover,
.premium-cta-band .btn.primary:hover {
    background: var(--blue-dark) !important;
    color: #ffffff !important;
}

/* Small brand details now use orange while keeping blue as the trust colour */
.eyebrow,
.dark-eyebrow,
.admin-kicker,
.mini-label,
.service-preview-card a,
.premium-post-card a,
.text-link,
.text-button,
summary {
    color: var(--orange-dark) !important;
}

.step-number,
.service-icon-dot {
    background: var(--orange) !important;
    color: #ffffff !important;
}

.step-card::before {
    background: linear-gradient(180deg, var(--orange), var(--orange-dark)) !important;
}

.quote-mark,
.trust-strip-item span,
.admin-card-icon {
    background: var(--orange-soft) !important;
    color: var(--orange-dark) !important;
}

.service-list span:hover,
.admin-action-list a:hover,
.card:hover {
    border-color: var(--line-warm);
}

/* Footer stays dark blue for authority, with orange highlight */
.site-footer {
    background: linear-gradient(180deg, var(--blue-deep) 0%, #041426 100%) !important;
    border-top: 6px solid var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(242,106,27,.25);
}

.footer-grid a:hover {
    color: #ffd6bd !important;
}

/* Admin header is also aligned but not overly bright */
.admin-top {
    background: linear-gradient(90deg, var(--blue-dark) 0%, var(--orange-dark) 100%) !important;
}

.admin-hero-panel {
    background: linear-gradient(135deg, var(--orange-deep), var(--orange)) !important;
}

/* Mobile: make the first screen visibly orange, not blue */
@media (max-width: 700px) {
    .hero,
    .hero-premium {
        background:
            radial-gradient(circle at 90% 4%, rgba(255,255,255,.20), rgba(255,255,255,0) 34%),
            radial-gradient(circle at 8% 92%, rgba(3,70,148,.24), rgba(3,70,148,0) 38%),
            linear-gradient(128deg, rgba(159,63,10,.97) 0%, rgba(242,106,27,.95) 56%, rgba(255,138,53,.92) 100%),
            url('/assets/img/placeholders/hero-care-at-home.jpg') center/cover !important;
    }

    .slim-hero,
    .article-hero,
    .service-hero,
    .about-hero,
    .contact-hero,
    .premium-service-hero {
        background:
            radial-gradient(circle at 90% 4%, rgba(255,255,255,.18), rgba(255,255,255,0) 34%),
            linear-gradient(128deg, rgba(159,63,10,.97) 0%, rgba(242,106,27,.95) 56%, rgba(255,138,53,.92) 100%) !important;
    }

    .hero-copy h1 {
        text-shadow: 0 3px 20px rgba(75,28,2,.36);
    }

    .topbar {
        background: linear-gradient(135deg, var(--orange-deep), var(--orange)) !important;
    }

    .hero-card,
    .hero-feature-card {
        box-shadow: 0 18px 44px rgba(109,42,4,.18);
    }
}

/* Orange background readability overrides */

/* 1. Who We Support panel */
.who-we-support-panel .eyebrow,
.who-we-support-panel .dark-eyebrow {
    color: rgba(255, 255, 255, 0.86) !important;
}

.who-we-support-panel h2,
.who-we-support-panel p,
.who-we-support-panel strong {
    color: #ffffff !important;
}

.who-we-support-panel .support-tags span {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.34);
}

/* 2. Start a Conversation / CTA band */
.cta-band .eyebrow,
.cta-band .eyebrow.light,
.premium-cta-band .eyebrow,
.premium-cta-band .eyebrow.light {
    color: rgba(255, 255, 255, 0.86) !important;
}

.cta-band h2,
.cta-band p,
.premium-cta-band h2,
.premium-cta-band p {
    color: #ffffff !important;
}

.cta-band .btn.primary,
.premium-cta-band .btn.primary {
    background: #ffffff !important;
    color: var(--orange-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.cta-band .btn.primary:hover,
.premium-cta-band .btn.primary:hover {
    background: var(--blue-dark) !important;
    color: #ffffff !important;
    border-color: var(--blue-dark);
}

/* Fix Explore all Care at Home services button visibility */
.section-centre-action .btn.outline-dark,
.services-preview-section .btn.outline-dark {
    background: var(--orange) !important;
    color: #ffffff !important;
    border: 1px solid var(--orange) !important;
    box-shadow: 0 14px 32px rgba(242, 106, 27, 0.22);
}

.section-centre-action .btn.outline-dark:hover,
.services-preview-section .btn.outline-dark:hover {
    background: var(--blue-dark) !important;
    color: #ffffff !important;
    border-color: var(--blue-dark) !important;
}