:root {
    --bg: #f5f8fc;
    --surface: #ffffff;
    --surface-strong: #ffffff;
    --text: #1f2933;
    --muted: #52606d;
    --primary: #0148a9;
    --primary-dark: #002f70;
    --secondary: #fcba59;
    --success: #2f855a;
    --warning: #c27803;
    --danger: #c53030;
    --neutral: #718096;
    --border: rgba(1, 72, 169, 0.18);
    --shadow: 0 14px 34px rgba(1, 35, 83, 0.1);
    --radius: 4px;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
    min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.page-shell {
    width: min(1380px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 40px;
}
.narrow-shell { width: min(820px, calc(100% - 32px)); }
.site-header {
    display: grid;
    gap: 0;
    padding: 20px 24px 24px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    margin-bottom: 22px;
}
.header-topbar {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(31, 111, 120, 0.12);
}
.mini-brand {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(31, 111, 120, 0.1);
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.header-brandblock {
    display: grid;
    gap: 8px;
    justify-items: start;
}
.brand {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--primary-dark);
}
.tagline {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 760px;
}
.top-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.top-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(31, 111, 120, 0.08);
    color: var(--primary-dark);
    border: 1px solid rgba(31, 111, 120, 0.12);
    font-weight: 700;
}
.top-nav a:hover {
    text-decoration: none;
    background: rgba(31, 111, 120, 0.14);
}
.content { display: grid; gap: 22px; }
.card-stack { display: grid; gap: 18px; }
.hero-card, .panel, .stat-card, .alert {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.hero-card {
    padding: 34px;
    background: linear-gradient(135deg, rgba(31, 111, 120, 0.96), rgba(45, 123, 111, 0.88));
    color: #fff;
}
.landing-hero {
    position: relative;
    overflow: hidden;
}
.landing-hero::before {
    content: "";
    position: absolute;
    inset: -40px auto auto -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(242, 166, 90, 0.18);
}
.landing-hero::after {
    content: "";
    position: absolute;
    inset: auto -60px -80px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}
.compact-hero { padding: 28px; }
.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 28px;
    align-items: center;
}
.hero-grid-wide {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
}
.hero-copy h1 {
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    line-height: 1.08;
    margin-bottom: 16px;
}
.hero-copy p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    line-height: 1.7;
}
.hero-bullets {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}
.hero-bullets span {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.11);
}
.hero-bullets span::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--secondary);
}
.hero-visual-stack {
    position: relative;
    display: grid;
    gap: 18px;
}
.hero-image-card {
    border-radius: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 50px rgba(16, 52, 57, 0.22);
}
.hero-image-card img,
.service-image-frame img {
    width: 100%;
    height: auto;
}
.hero-overlay-notes {
    display: grid;
    gap: 14px;
}
.hero-aside {
    display: grid;
    gap: 14px;
}
.hero-note {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.eyebrow {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.hero-card h1, .panel h1, .panel h2 { margin-top: 0; }
.cta-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--secondary); color: #2d241c; }
.btn-secondary { background: rgba(255,255,255,0.18); color: inherit; border: 1px solid rgba(255,255,255,0.25); }
.panel .btn-secondary, .callout-panel .btn-secondary { background: #fff4e7; color: var(--primary-dark); border: 1px solid #f2d3af; }
.btn-small { padding: 8px 12px; font-size: 0.88rem; }
.panel, .stat-card { padding: 24px; }
.grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.service-grid,
.testimonial-grid,
.need-grid {
    display: grid;
    gap: 22px;
}
.need-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.enhanced-services .service-card-featured {
    grid-column: span 2;
}
.testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.landing-stats .stat-card {
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.95) 0%, rgba(255, 244, 231, 0.9) 100%);
}
.stat-card {
    text-align: center;
    background: var(--surface-strong);
}
.stat-card strong { display: block; font-size: 2rem; color: var(--primary-dark); }
.stat-card span, .micro-copy, .list-card span, .panel p, .testimonial-card span, .need-card p { color: var(--muted); }
.form-grid {
    display: grid;
    gap: 16px;
}
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full-span { grid-column: 1 / -1; }
label span {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
}
input, select, textarea {
    width: 100%;
    border: 1px solid #d4d8dd;
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    background: #fffdfa;
}
textarea { resize: vertical; }
.table-wrap { overflow-x: auto; }
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid #edf2f7;
    vertical-align: top;
}
.list-stack { display: grid; gap: 14px; }
.list-card {
    display: grid;
    gap: 6px;
    padding: 16px;
    border-radius: 18px;
    background: #fffdfa;
    border: 1px solid #ece7dd;
}
.booking-card { background: #fffdfa; }
.panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}
.badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}
.badge-success { background: rgba(47, 133, 90, 0.12); color: var(--success); }
.badge-warning { background: rgba(194, 120, 3, 0.12); color: var(--warning); }
.badge-danger { background: rgba(197, 48, 48, 0.12); color: var(--danger); }
.badge-neutral { background: rgba(113, 128, 150, 0.12); color: var(--neutral); }
.alert { padding: 16px 18px; }
.alert-success { color: var(--success); background: #f0fff4; }
.alert-danger { color: var(--danger); background: #fff5f5; }
.alert-warning { color: var(--warning); background: #fffaf0; }
.feature-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
}
.auth-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 22px;
}
.accent-panel {
    background: linear-gradient(180deg, #fff4e7 0%, #fffdfa 100%);
}
.section-heading {
    display: grid;
    gap: 8px;
    max-width: 760px;
}
.section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--primary-dark);
}
.muted-eyebrow {
    background: rgba(31, 111, 120, 0.1);
    color: var(--primary-dark);
}
.need-card,
.service-card {
    min-height: 100%;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.98) 0%, rgba(247, 241, 231, 0.92) 100%);
}
.service-card-featured {
    display: grid;
    align-content: start;
}
.service-image-frame {
    overflow: hidden;
    margin: -24px -24px 18px;
    border-radius: 22px 22px 0 0;
    background: linear-gradient(180deg, #f3ede2 0%, #fffdf9 100%);
    border-bottom: 1px solid #ece2d3;
}
.location-card {
    background: linear-gradient(180deg, #fff4e7 0%, #fffdfa 100%);
}
.promise-card {
    background: linear-gradient(180deg, rgba(230, 244, 241, 0.7) 0%, rgba(255, 253, 250, 0.95) 100%);
}
.testimonial-card {
    min-height: 100%;
    gap: 10px;
}
.quote {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text);
}
.callout-panel {
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.95) 0%, rgba(230, 244, 241, 0.92) 100%);
}
.callout-panel .cta-row {
    justify-content: center;
}

@media (max-width: 900px) {
    .site-header, .grid-two, .stats-grid, .two-col, .auth-layout, .hero-grid, .service-grid, .testimonial-grid, .need-grid { grid-template-columns: 1fr; display: grid; }
    .header-topbar {
        flex-direction: column;
        align-items: stretch;
    }
    .header-brandblock {
        justify-items: start;
    }
    .top-nav {
        justify-content: flex-start;
    }
    .enhanced-services .service-card-featured { grid-column: span 1; }
}

@media (max-width: 640px) {
    .page-shell { width: min(100% - 20px, 100%); }
    .site-header, .hero-card, .panel, .stat-card { padding: 18px; }
    .top-nav, .cta-row { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .service-image-frame { margin: -18px -18px 16px; }
    .hero-copy h1 { font-size: 2rem; }
    .brand { font-size: 2.6rem; }
}
.admin-grid-top {
    align-items: start;
}
.admin-card-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}
.admin-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.95rem;
}
.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.btn-danger-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: transparent;
    color: var(--danger);
    border: 1px solid rgba(197, 48, 48, 0.35);
    font-weight: 700;
    cursor: pointer;
}
.btn-danger-outline:hover {
    background: rgba(197, 48, 48, 0.08);
    text-decoration: none;
}
@media (max-width: 640px) {
    .admin-card-head,
    .admin-meta-row,
    .admin-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
.admin-toolbar {
    align-items: end;
}
.table-search {
    display: grid;
    gap: 6px;
    min-width: 280px;
}
.table-search span {
    font-weight: 700;
    color: var(--primary-dark);
}
.table-subtext {
    color: var(--muted);
    font-size: 0.92rem;
}
.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.inline-form {
    display: inline-flex;
}
.admin-toolbar p {
    margin: 6px 0 0;
}
@media (max-width: 900px) {
    .admin-toolbar {
        align-items: stretch;
    }
    .table-search {
        min-width: 0;
    }
}
html {
    scroll-behavior: smooth;
}
.business-header {
    position: sticky;
    top: 12px;
    z-index: 50;
}
.business-brandblock {
    grid-template-columns: auto 1fr;
    align-items: end;
    column-gap: 22px;
}
.business-brandblock .tagline {
    padding-bottom: 8px;
}
.business-nav {
    align-items: center;
}
.nav-dropdown {
    position: relative;
}
.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(31, 111, 120, 0.08);
    color: var(--primary-dark);
    border: 1px solid rgba(31, 111, 120, 0.12);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.nav-dropdown-toggle::after {
    content: "";
    width: 7px;
    height: 7px;
    margin-left: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
}
.nav-dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 210px;
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 18px;
    background: #fffdfa;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 160ms ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-dropdown-menu a {
    justify-content: flex-start;
    background: transparent;
    border-color: transparent;
}
.business-hero {
    padding: clamp(28px, 5vw, 64px);
    background:
        radial-gradient(circle at 82% 12%, rgba(242, 166, 90, 0.28), transparent 26%),
        linear-gradient(135deg, rgba(21, 78, 86, 0.98), rgba(31, 111, 120, 0.92) 56%, rgba(69, 143, 129, 0.88));
}
.business-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(28px, 5vw, 64px);
}
.hero-kicker {
    margin: 14px 0 12px;
    font-size: clamp(2.5rem, 7vw, 6.5rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
    color: #fff;
}
.business-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 26px;
}
.trust-strip span {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-weight: 700;
}
.business-hero-panel {
    display: grid;
    gap: 16px;
}
.business-contact-card {
    display: grid;
    gap: 6px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.business-contact-card span {
    color: rgba(255, 255, 255, 0.78);
}
.business-contact-card strong {
    font-size: 1.5rem;
}
.business-contact-card a {
    color: #fff;
    font-weight: 800;
}
.business-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.business-stats article {
    display: grid;
    gap: 10px;
    padding: 22px;
    border-radius: 24px;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.business-stats strong {
    color: var(--secondary);
    font-size: 1.6rem;
}
.business-stats span {
    color: var(--primary-dark);
    font-weight: 800;
}
.business-section {
    scroll-margin-top: 170px;
    display: grid;
    gap: 22px;
}
.business-heading {
    max-width: 900px;
}
.business-heading p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
}
.business-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.business-service-card {
    min-height: 100%;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.98) 0%, rgba(247, 241, 231, 0.92) 100%);
}
.business-service-card h3 {
    margin-top: 0;
    font-size: 1.35rem;
    color: var(--primary-dark);
}
.featured-business-card {
    grid-column: span 2;
}
.split-business-section {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}
.process-list {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}
.process-list div,
.inquiry-grid a {
    display: grid;
    gap: 8px;
    padding: 18px;
    border-radius: 18px;
    background: #fffdfa;
    border: 1px solid #ece7dd;
}
.process-list strong,
.inquiry-grid strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}
.process-list span,
.inquiry-grid span {
    color: var(--muted);
    line-height: 1.6;
}
.business-audience-card,
.business-process-card,
.business-inquiry-card {
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.96) 0%, rgba(230, 244, 241, 0.72) 100%);
}
.business-testimonials .testimonial-card {
    background: #fffdfa;
}
.contact-business-section .location-card {
    min-height: 100%;
}
.inquiry-grid {
    display: grid;
    gap: 14px;
}
.inquiry-grid a:hover {
    text-decoration: none;
    border-color: rgba(31, 111, 120, 0.34);
    background: #fff8ee;
}
.business-final-cta {
    padding: clamp(28px, 5vw, 54px);
}
@media (max-width: 1100px) {
    .business-brandblock,
    .business-hero-grid,
    .business-stats,
    .business-service-grid,
    .split-business-section,
    .trust-strip {
        grid-template-columns: 1fr;
    }
    .featured-business-card {
        grid-column: span 1;
    }
}
@media (max-width: 900px) {
    .business-header {
        position: static;
    }
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 8px;
    }
    .nav-dropdown-toggle,
    .nav-dropdown,
    .business-nav a {
        width: 100%;
    }
}
@media (max-width: 640px) {
    .business-hero-actions,
    .trust-strip {
        display: grid;
        grid-template-columns: 1fr;
    }
    .hero-kicker {
        font-size: 3.3rem;
    }
}
/* ZACC-inspired VivaCare homepage refresh */
.care-centre-header {
    position: sticky;
    top: 12px;
    z-index: 60;
    gap: 0;
    padding: 0;
    overflow: visible;
    background: rgba(255, 253, 250, 0.96);
}
.care-contact-bar {
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    padding: 10px 22px;
    border-bottom: 1px solid rgba(31, 111, 120, 0.12);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 700;
}
.care-nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px 22px;
}
.care-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-dark);
}
.care-logo:hover { text-decoration: none; }
.care-logo span {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.05em;
}
.care-logo img {
    width: 96px;
    height: 74px;
    object-fit: contain;
}
.care-logo strong {
    font-size: 2rem;
    letter-spacing: -0.05em;
}
.care-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}
.care-nav > a,
.care-nav .nav-dropdown-toggle {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--primary-dark);
    background: transparent;
    border: 1px solid transparent;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
}
.care-nav > a:hover,
.care-nav .nav-dropdown-toggle:hover,
.care-nav .portal-link {
    text-decoration: none;
    background: rgba(31, 111, 120, 0.1);
    border-color: rgba(31, 111, 120, 0.13);
}
.zacc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: clamp(26px, 5vw, 72px);
    align-items: center;
    min-height: 620px;
    padding: clamp(32px, 6vw, 86px);
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 18%, rgba(242, 166, 90, 0.25), transparent 24%),
        linear-gradient(135deg, #fffdf9 0%, #f5efe4 48%, #dfeeea 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    scroll-margin-top: 150px;
}
.zacc-hero-copy {
    display: grid;
    justify-items: start;
    gap: 16px;
}
.zacc-hero h1 {
    margin: 0;
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.82;
    letter-spacing: -0.09em;
    color: var(--primary-dark);
}
.zacc-hero h2 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(1.7rem, 3.2vw, 3.3rem);
    line-height: 1.08;
    color: #2b3a3d;
}
.zacc-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.1rem;
    line-height: 1.8;
}
.zacc-hero-actions,
.zacc-mini-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.zacc-hero-image {
    overflow: hidden;
    border-radius: 34px;
    background: #fffdf9;
    box-shadow: 0 24px 60px rgba(21, 78, 86, 0.16);
    border: 1px solid rgba(31, 111, 120, 0.16);
}
.zacc-trust-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.zacc-trust-row article {
    display: grid;
    gap: 6px;
    padding: 18px;
    text-align: center;
    border-radius: 24px;
    background: var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow);
}
.zacc-trust-row strong {
    font-size: 1.35rem;
    color: var(--secondary);
}
.zacc-section,
.zacc-about,
.zacc-footer-contact {
    scroll-margin-top: 150px;
}
.zacc-image-panel {
    padding: 0;
    overflow: hidden;
}
.zacc-story-panel,
.zacc-highlight-card {
    padding: clamp(24px, 4vw, 46px);
}
.zacc-story-panel h2,
.zacc-highlight-card h2 {
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 3vw, 3rem);
}
.zacc-story-panel p,
.zacc-highlight-card p {
    line-height: 1.8;
}
.zacc-mini-points span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(31, 111, 120, 0.1);
    color: var(--primary-dark);
    font-weight: 800;
}
.centered-heading {
    justify-items: center;
    text-align: center;
    margin: 0 auto;
}
.zacc-care-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}
.zacc-care-card {
    min-height: 100%;
    background: linear-gradient(180deg, #fffdf9 0%, #f7f1e7 100%);
}
.zacc-care-card h3 {
    margin-top: 0;
    color: var(--primary-dark);
    font-size: 1.45rem;
}
.zacc-care-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 10px;
    color: var(--muted);
}
.zacc-daily-section,
.zacc-location-grid {
    align-items: stretch;
}
.zacc-highlight-card {
    display: grid;
    align-content: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
}
.zacc-highlight-card h2,
.zacc-highlight-card p {
    color: #fff;
}
.zacc-location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.9fr;
    gap: 22px;
}
.zacc-gallery-card {
    overflow: hidden;
    padding: 0;
}
.zacc-gallery-card strong {
    display: block;
    padding: 18px 20px;
    color: var(--primary-dark);
    font-size: 1.2rem;
}
.zacc-footer-contact {
    padding: clamp(28px, 5vw, 56px);
    border-radius: 34px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: var(--shadow);
}
.zacc-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr 0.85fr;
    gap: 28px;
}
.zacc-footer-grid h2,
.zacc-footer-grid h3,
.zacc-footer-grid p,
.zacc-footer-grid a {
    color: #fff;
}
.zacc-footer-grid a {
    font-weight: 800;
}
@media (max-width: 1100px) {
    .care-nav-row,
    .zacc-hero,
    .zacc-trust-row,
    .zacc-care-grid,
    .zacc-location-grid,
    .zacc-footer-grid {
        grid-template-columns: 1fr;
    }
    .care-nav-row {
        display: grid;
    }
    .care-nav {
        justify-content: flex-start;
    }
}
@media (max-width: 900px) {
    .care-centre-header {
        position: static;
    }
    .care-contact-bar,
    .care-nav {
        flex-direction: column;
        align-items: stretch;
    }
    .care-nav > a,
    .care-nav .nav-dropdown-toggle,
    .nav-dropdown {
        width: 100%;
    }
    .zacc-hero {
        min-height: auto;
    }
}
@media (max-width: 640px) {
    .zacc-hero h1 {
        font-size: 4.2rem;
    }
    .zacc-hero-actions,
    .zacc-mini-points {
        display: grid;
        width: 100%;
    }
}
.notice-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(21, 78, 86, 0.55);
    backdrop-filter: blur(8px);
}
.notice-modal.is-hidden {
    display: none;
}
.notice-card {
    position: relative;
    width: min(720px, 100%);
    display: grid;
    gap: 16px;
    padding: clamp(24px, 5vw, 42px);
    border-radius: 30px;
    background: #fffdf9;
    border: 1px solid rgba(31, 111, 120, 0.18);
    box-shadow: 0 30px 80px rgba(15, 50, 55, 0.35);
}
.notice-card h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}
.notice-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}
.notice-card ul {
    margin: 0;
    padding-left: 20px;
    display: grid;
    gap: 10px;
    color: var(--text);
    line-height: 1.6;
}
.notice-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}
.notice-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(31, 111, 120, 0.1);
    color: var(--primary-dark);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.notice-close:hover {
    background: rgba(31, 111, 120, 0.18);
}
@media (max-width: 640px) {
    .notice-actions {
        display: grid;
    }
}
/* Next Care multi-page public site */
.public-shell {
    width: min(1440px, calc(100% - 32px));
}
.public-content {
    gap: 28px;
}
.nextcare-header .care-logo span {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.lang-switcher {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(31, 111, 120, 0.08);
}
.lang-switcher a {
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--primary-dark);
    font-weight: 800;
}
.lang-switcher a:hover,
.lang-switcher .is-active {
    text-decoration: none;
    background: var(--primary);
    color: #fff;
}
.next-hero,
.page-hero {
    display: grid;
    gap: 24px;
    padding: clamp(34px, 6vw, 80px);
    border-radius: 34px;
    background:
        radial-gradient(circle at 88% 16%, rgba(242, 166, 90, 0.28), transparent 28%),
        linear-gradient(135deg, #fffdf9 0%, #f3ecdf 50%, #dcece8 100%);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.next-hero {
    grid-template-columns: minmax(300px, 0.9fr) minmax(520px, 1.1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
}
.next-hero > div {
    display: grid;
    align-content: center;
    gap: 14px;
}
.next-hero h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2.35rem, 4.1vw, 4.55rem);
    line-height: 1;
    letter-spacing: -0.045em;
}
.page-hero h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
}
.next-hero .zacc-hero-image {
    width: 100%;
    margin: 0;
}
.next-hero .zacc-hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.next-hero-slideshow {
    position: relative;
    aspect-ratio: 5 / 4;
}
.next-hero-slideshow img,
.next-section-slideshow img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 700ms ease, transform 900ms ease;
}
.next-hero-slideshow img.is-active,
.next-section-slideshow img.is-active {
    opacity: 1;
    transform: scale(1);
}
.slideshow-controls {
    display: none;
}
.slideshow-btn {
    position: absolute;
    display: grid;
    place-items: center;
    width: 46px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    background: rgba(1, 35, 83, 0.78);
    color: #fff;
    font: inherit;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
}
.slideshow-prev {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}
.slideshow-next {
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
}
.slideshow-btn:hover,
.slideshow-btn:focus-visible {
    background: var(--secondary);
    color: #10233f;
    outline: none;
}
.slideshow-toggle {
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: 40px;
    height: 36px;
    font-size: 1rem;
    font-weight: 900;
}
.slideshow-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    background: transparent;
}
.slideshow-dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 1px 8px rgba(1, 35, 83, 0.28);
    cursor: pointer;
}
.slideshow-dots button.is-active,
.slideshow-dots button:hover,
.slideshow-dots button:focus-visible {
    background: rgba(252, 186, 89, 0.92);
    border-color: var(--secondary);
    outline: none;
}
.next-hero h2,
.page-hero p {
    max-width: 900px;
    color: #2b3a3d;
}
.next-hero p,
.page-hero p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}
.next-feature-grid {
    counter-reset: feature-card;
}
.next-feature-card {
    display: grid;
    align-content: start;
    gap: 10px;
}
.next-feature-card span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(31, 111, 120, 0.1);
    color: var(--primary-dark);
    font-weight: 900;
}
.next-feature-card p,
.next-specialised-panel p,
.next-contact-cta p {
    margin: 0;
}
.next-image-panel {
    display: flex;
    align-items: stretch;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #fffdf9 0%, #edf7f4 100%);
}
.next-section-slideshow {
    position: relative;
    aspect-ratio: 4 / 3;
}
.next-image-panel img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    flex: 1;
    object-fit: cover;
}
.next-specialised-panel {
    display: grid;
    align-content: center;
    gap: 16px;
}
.next-link-list {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}
.next-link-list a {
    display: grid;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #fffdfa;
    border: 1px solid #ece7dd;
}
.next-link-list a:hover {
    text-decoration: none;
    border-color: rgba(31, 111, 120, 0.34);
    background: #fff8ee;
}
.next-link-list strong {
    color: var(--primary-dark);
    font-size: 1.05rem;
}
.next-link-list span,
.next-feature-card p {
    color: var(--muted);
    line-height: 1.65;
}
.next-about-process .zacc-story-panel {
    min-height: 100%;
}
.next-process-list div {
    grid-template-columns: auto 1fr;
}
.next-help-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.next-help-card {
    display: grid;
    place-items: center;
    min-height: 118px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 253, 250, 0.98) 0%, rgba(230, 244, 241, 0.82) 100%);
}
.next-help-card h3 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 1.08rem;
}
.next-contact-cta .zacc-hero-actions {
    margin-top: 8px;
}
.map-card {
    padding: 0;
    overflow: hidden;
    min-height: 420px;
}
.map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}
@media (max-width: 1100px) {
    .next-hero {
        grid-template-columns: 1fr;
    }
    .next-help-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lang-switcher {
        width: fit-content;
    }
}
@media (max-width: 640px) {
    .public-shell {
        width: min(100% - 20px, 100%);
    }
    .next-hero h1 {
        font-size: 2.75rem;
    }
    .page-hero h1 {
        font-size: 3.4rem;
    }
    .next-image-panel img {
        min-height: 280px;
    }
    .next-help-grid {
        grid-template-columns: 1fr;
    }
}
/* Navbar compact adjustments */
.care-nav > a,
.care-nav .nav-dropdown-toggle {
    font-size: 0.9rem;
    padding: 8px 11px;
}
.nav-dropdown-menu a,
.nav-subdropdown span {
    font-size: 0.88rem;
}
.nav-subdropdown {
    display: grid;
    gap: 6px;
    padding: 8px;
    border-radius: 14px;
    background: rgba(31, 111, 120, 0.06);
}
.nav-subdropdown span {
    color: var(--primary-dark);
    font-weight: 900;
    padding: 4px 8px;
}
.nav-subdropdown a {
    padding-left: 18px;
}
.care-logo img {
    width: clamp(230px, 18vw, 280px);
    height: clamp(74px, 5.8vw, 92px);
    object-fit: contain;
}
/* Keep navbar aligned right */
.care-nav-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}
.care-nav {
    justify-content: flex-end;
    justify-self: end;
}
.lang-switcher {
    justify-self: end;
}
@media (max-width: 900px) {
    .care-nav-row {
        grid-template-columns: 1fr;
    }
    .care-logo img {
        width: min(260px, 78vw);
        height: auto;
    }
    .care-nav,
    .lang-switcher {
        justify-self: stretch;
    }
}
.site-footer {
    margin-top: 34px;
    padding: clamp(26px, 4vw, 42px);
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    box-shadow: var(--shadow);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1fr;
    gap: 28px;
}
.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a,
.footer-bottom span {
    color: #fff;
}
.site-footer h2,
.site-footer h3 {
    margin-top: 0;
}
.site-footer p {
    line-height: 1.7;
    opacity: 0.92;
}
.footer-note {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-links {
    display: grid;
    gap: 10px;
}
.footer-links a {
    font-weight: 800;
}
.footer-link-button {
    appearance: none;
    width: fit-content;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}
.footer-links a:hover,
.footer-link-button:hover {
    color: var(--secondary);
    text-decoration: none;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
}
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        display: grid;
    }
}
.certificate-modal {
    position: fixed;
    inset: 0;
    z-index: 320;
    display: grid;
    place-items: center;
    padding: clamp(12px, 3vw, 24px);
    background: rgba(21, 78, 86, 0.62);
    backdrop-filter: blur(10px);
}
.certificate-modal.is-hidden {
    display: none;
}
.certificate-card {
    position: relative;
    width: min(980px, 100%);
    height: min(86vh, 840px);
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 16px;
    padding: clamp(18px, 3vw, 28px);
    border-radius: 30px;
    background: #fffdf9;
    border: 1px solid rgba(31, 111, 120, 0.18);
    box-shadow: 0 30px 80px rgba(15, 50, 55, 0.38);
}
.certificate-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-right: 52px;
}
.certificate-heading span {
    display: inline-block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.certificate-heading h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(1.35rem, 3vw, 2rem);
}
.certificate-frame {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #f7efe4;
}
.certificate-frame p {
    padding: 24px;
}
.certificate-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(31, 111, 120, 0.1);
    color: var(--primary-dark);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}
.certificate-close:hover {
    background: rgba(31, 111, 120, 0.18);
}
.modal-open {
    overflow: hidden;
}
@media (max-width: 640px) {
    .certificate-card {
        height: 88vh;
        border-radius: 24px;
    }
    .certificate-heading {
        display: grid;
        padding-right: 46px;
    }
    .certificate-download {
        width: fit-content;
    }
}
.admin-toolbar-actions {
    display: flex;
    align-items: end;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}
.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(21, 78, 86, 0.52);
    backdrop-filter: blur(8px);
}
.admin-modal.is-hidden {
    display: none;
}
.admin-modal-card {
    position: relative;
    width: min(820px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    padding: clamp(22px, 4vw, 34px);
    border-radius: 28px;
    background: #fffdf9;
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(15, 50, 55, 0.35);
}
.admin-modal-card h2 {
    margin-top: 0;
    color: var(--primary-dark);
}
@media (max-width: 900px) {
    .admin-toolbar-actions {
        display: grid;
        justify-content: stretch;
    }
}

/* Logo-color public refresh: sharper, fuller, no glass-card stacking */
.public-shell {
    width: 100%;
    padding: 0 0 40px;
}
.public-content {
    gap: 0;
}
.public-content > section {
    border-radius: 0;
    box-shadow: none;
}
.nextcare-header {
    position: sticky;
    top: 0;
    z-index: 300;
    border: 0;
    border-bottom: 3px solid var(--secondary);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(1, 35, 83, 0.08);
    backdrop-filter: none;
    margin-bottom: 0;
}
.care-contact-bar {
    background: var(--primary);
    border-bottom: 0;
    color: #fff;
}
.care-contact-bar a {
    color: #fff;
}
.care-nav-row {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}
.care-nav > a,
.care-nav .nav-dropdown-toggle,
.lang-switcher a {
    border-radius: 4px;
}
.care-nav > a:hover,
.care-nav .nav-dropdown-toggle:hover,
.care-nav .portal-link {
    background: rgba(1, 72, 169, 0.08);
    border-color: rgba(1, 72, 169, 0.16);
}
.lang-switcher {
    border-radius: 4px;
    background: #eef4ff;
}
.lang-switcher .is-active,
.lang-switcher a:hover {
    background: var(--primary);
}
.nav-dropdown-menu {
    border-radius: 4px;
    border-top: 3px solid var(--secondary);
}
.next-hero,
.page-hero {
    width: 100%;
    padding: clamp(38px, 6vw, 86px) max(24px, calc((100vw - 1280px) / 2));
    background:
        linear-gradient(90deg, rgba(1, 72, 169, 0.96) 0%, rgba(1, 72, 169, 0.88) 46%, rgba(255, 255, 255, 0.96) 46%, #fff 100%);
    border: 0;
}
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a5fca 100%);
}
.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
    color: #fff;
}
.next-hero h1,
.next-hero h2,
.next-hero p {
    color: #fff;
}
.next-hero .muted-eyebrow,
.page-hero .muted-eyebrow {
    background: rgba(252, 186, 89, 0.18);
    color: #fff;
    border: 1px solid rgba(252, 186, 89, 0.4);
}
.next-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.34);
}
.next-hero .zacc-hero-image {
    z-index: 1;
    border-radius: 0;
    border: 8px solid #fff;
    box-shadow: 0 18px 42px rgba(1, 35, 83, 0.2);
}
.zacc-trust-row,
.zacc-section,
.split-business-section,
.zacc-care-grid,
.next-help-grid {
    width: min(1280px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}
.zacc-trust-row {
    padding: 24px 0;
}
.zacc-section,
.split-business-section {
    padding-top: clamp(34px, 5vw, 64px);
    padding-bottom: clamp(34px, 5vw, 64px);
}
.zacc-trust-row article {
    border-radius: 0;
    background: var(--primary);
}
.zacc-trust-row strong {
    color: var(--secondary);
}
.hero-card,
.panel,
.stat-card,
.alert,
.zacc-care-card,
.zacc-story-panel,
.next-help-card,
.next-link-list a,
.process-list div,
.inquiry-grid a,
.list-card {
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    border: 1px solid rgba(1, 72, 169, 0.16);
}
.panel,
.stat-card {
    padding: clamp(22px, 3vw, 34px);
}
.zacc-story-panel,
.zacc-highlight-card {
    padding: clamp(28px, 4vw, 48px);
}
.zacc-story-panel {
    background: #fff;
}
.zacc-care-card,
.next-help-card,
.need-card,
.service-card {
    background: #fff;
}
.zacc-highlight-card,
.next-contact-cta,
.site-footer {
    border-radius: 0;
    background: linear-gradient(135deg, var(--primary), #003c8f);
}
.next-image-panel {
    display: flex;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    background: #eef4ff;
}
.next-section-slideshow {
    min-height: 420px;
}
.next-link-list a:hover,
.inquiry-grid a:hover {
    background: #fff8ea;
    border-color: var(--secondary);
}
.eyebrow,
.muted-eyebrow {
    border-radius: 3px;
    background: #eef4ff;
    color: var(--primary);
}
.btn {
    border-radius: 3px;
}
.btn-primary {
    background: var(--secondary);
    color: #10233f;
}
.btn-secondary,
.panel .btn-secondary,
.callout-panel .btn-secondary {
    background: #eef4ff;
    color: var(--primary);
    border: 1px solid rgba(1, 72, 169, 0.18);
}
.next-feature-card span {
    border-radius: 3px;
    background: var(--primary);
    color: #fff;
}
.next-link-list strong,
.next-feature-card h3,
.next-help-card h3,
.zacc-care-card h3,
.zacc-story-panel h2,
.section-heading h2 {
    color: var(--primary);
}
.site-footer {
    margin-top: 0;
    padding-left: max(24px, calc((100vw - 1280px) / 2));
    padding-right: max(24px, calc((100vw - 1280px) / 2));
}
.footer-note {
    border-radius: 0;
}
@media (max-width: 900px) {
    .nextcare-header {
        position: static;
    }
    .care-nav-row,
    .zacc-trust-row,
    .zacc-section,
    .split-business-section,
    .zacc-care-grid,
    .next-help-grid {
        width: min(100% - 24px, 100%);
    }
    .next-hero,
    .page-hero {
        padding-left: 18px;
        padding-right: 18px;
        background: linear-gradient(180deg, var(--primary) 0%, #0a5fca 58%, #fff 58%, #fff 100%);
    }
}

/* Public layout reset v2: consistent spacing and no nested-width collisions */
.public-content {
    display: block;
}
.public-content > section {
    margin: 0;
}
.next-hero,
.page-hero {
    position: relative;
    z-index: 0;
    width: 100%;
    margin: 0;
    padding: clamp(52px, 7vw, 92px) max(24px, calc((100vw - 1240px) / 2));
}
.next-hero {
    min-height: auto;
    grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.86fr);
    gap: clamp(32px, 5vw, 68px);
    background: linear-gradient(110deg, var(--primary) 0%, #064fb1 56%, #ffffff 56%, #ffffff 100%);
}
.next-hero > div,
.next-hero-slideshow {
    min-width: 0;
}
.next-hero-slideshow {
    z-index: 1;
    aspect-ratio: 4 / 3;
}
.zacc-trust-row,
.zacc-section,
.split-business-section,
.public-content > .panel.next-contact-cta {
    width: min(1240px, calc(100% - 48px));
    margin-left: auto;
    margin-right: auto;
}
.zacc-trust-row {
    padding: clamp(28px, 4vw, 44px) 0;
    gap: 16px;
}
.zacc-section {
    display: grid;
    gap: clamp(22px, 3vw, 34px);
    padding: clamp(44px, 6vw, 76px) 0;
}
.split-business-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(22px, 3vw, 34px);
    padding: clamp(44px, 6vw, 76px) 0;
}
.zacc-section > .section-heading,
.zacc-section > .zacc-care-grid,
.zacc-section > .next-help-grid,
.zacc-section > .split-business-section {
    width: 100%;
    margin: 0;
}
.zacc-care-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 24px);
}
.next-feature-grid {
    align-items: stretch;
}
.next-help-grid {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 20px);
}
.panel,
.zacc-story-panel,
.zacc-care-card,
.next-help-card,
.next-link-list a,
.process-list div {
    min-width: 0;
}
.zacc-story-panel,
.next-specialised-panel {
    display: grid;
    align-content: start;
    gap: 16px;
}
.zacc-story-panel p,
.next-specialised-panel p {
    margin-bottom: 0;
}
.next-link-list {
    gap: 14px;
}
.next-image-panel {
    min-height: 100%;
}
.next-image-panel img {
    min-height: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}
.public-content > .panel.next-contact-cta {
    display: grid;
    gap: 16px;
    margin-top: clamp(28px, 4vw, 48px);
    margin-bottom: clamp(44px, 6vw, 76px);
}
.site-footer {
    margin-top: clamp(12px, 2vw, 24px);
}
@media (max-width: 1100px) {
    .next-hero {
        grid-template-columns: 1fr;
        background: linear-gradient(180deg, var(--primary) 0%, #064fb1 64%, #ffffff 64%, #ffffff 100%);
    }
    .split-business-section,
    .zacc-care-grid,
    .next-help-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 720px) {
    .next-hero,
    .page-hero {
        padding: 34px 16px 40px;
    }
    .zacc-trust-row,
    .zacc-section,
    .split-business-section,
    .public-content > .panel.next-contact-cta {
        width: min(100% - 24px, 100%);
    }
    .zacc-trust-row,
    .split-business-section,
    .zacc-care-grid,
    .next-help-grid {
        grid-template-columns: 1fr;
    }
    .zacc-section,
    .split-business-section {
        padding: 34px 0;
    }
    .panel,
    .zacc-story-panel,
    .zacc-highlight-card {
        padding: 22px;
    }
    .next-image-panel {
        padding: 0;
    }
    .next-image-panel img {
        aspect-ratio: 16 / 10;
    }
}

/* Public balance pass: keep content centered and visually even */
.next-hero,
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #0a5fca 100%);
}
.next-hero {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
    justify-content: center;
}
.next-hero > div {
    max-width: 680px;
}
.next-hero-slideshow {
    justify-self: stretch;
}
.page-hero {
    justify-items: center;
    text-align: center;
}
.page-hero p {
    margin-left: auto;
    margin-right: auto;
}
.zacc-section > .section-heading,
.section-heading.centered-heading,
.centered-heading {
    justify-items: center;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.zacc-section > .section-heading {
    width: min(860px, 100%);
}
.zacc-trust-row,
.zacc-section,
.split-business-section,
.public-content > .panel.next-contact-cta {
    max-width: 1240px;
}
.split-business-section {
    justify-content: center;
}
.next-about-process,
.next-specialised-section {
    align-items: stretch;
}
.next-contact-cta {
    text-align: center;
    justify-items: center;
}
.next-contact-cta .zacc-hero-actions {
    justify-content: center;
}
@media (max-width: 1100px) {
    .next-hero {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .next-hero > div {
        justify-items: center;
    }
    .next-hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .next-hero .zacc-hero-actions {
        justify-content: center;
    }
    .next-hero-slideshow {
        width: min(720px, 100%);
    }
}

/* Final body alignment fix: split hero, centered full-width body sections */
.next-hero {
    background: linear-gradient(110deg, var(--primary) 0%, #064fb1 54%, #ffffff 54%, #ffffff 100%);
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
    text-align: left;
    justify-items: stretch;
}
.next-hero > div {
    justify-items: start;
}
.next-hero p {
    margin-left: 0;
    margin-right: 0;
}
.next-hero .zacc-hero-actions {
    justify-content: flex-start;
}
.public-content > .zacc-trust-row,
.public-content > .zacc-section,
.public-content > .split-business-section,
.public-content > .panel.next-contact-cta {
    width: min(1240px, calc(100vw - 48px)) !important;
    max-width: 1240px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.public-content > .zacc-section,
.public-content > .split-business-section {
    box-sizing: border-box;
}
.public-content > .zacc-section > .section-heading,
.public-content > .zacc-section > .zacc-care-grid,
.public-content > .zacc-section > .next-help-grid,
.public-content > .zacc-section > .next-feature-grid {
    width: 100% !important;
    max-width: none;
}
.public-content > .zacc-section > .section-heading {
    max-width: 880px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.public-content > .zacc-section > .zacc-care-grid,
.public-content > .zacc-section > .next-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.public-content > .split-business-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
}
.public-content > .split-business-section > * {
    min-width: 0;
    width: 100%;
}
.public-content > .zacc-trust-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1100px) {
    .next-hero {
        background: linear-gradient(180deg, var(--primary) 0%, #064fb1 62%, #ffffff 62%, #ffffff 100%);
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }
    .next-hero > div {
        justify-items: center;
    }
    .next-hero p {
        margin-left: auto;
        margin-right: auto;
    }
    .next-hero .zacc-hero-actions {
        justify-content: center;
    }
    .public-content > .zacc-section > .zacc-care-grid,
    .public-content > .zacc-section > .next-feature-grid,
    .public-content > .split-business-section,
    .public-content > .zacc-trust-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 720px) {
    .public-content > .zacc-trust-row,
    .public-content > .zacc-section,
    .public-content > .split-business-section,
    .public-content > .panel.next-contact-cta {
        width: min(100vw - 24px, 100%) !important;
    }
    .public-content > .zacc-section > .zacc-care-grid,
    .public-content > .zacc-section > .next-feature-grid,
    .public-content > .split-business-section,
    .public-content > .zacc-trust-row {
        grid-template-columns: 1fr;
    }
    .slideshow-controls {
        display: none;
    }
    .slideshow-btn {
        width: 38px;
        height: 46px;
        font-size: 1.55rem;
    }
    .slideshow-prev {
        left: 8px;
    }
    .slideshow-next {
        right: 8px;
    }
    .slideshow-toggle {
        width: 36px;
        height: 32px;
        bottom: 10px;
    }
    .slideshow-dots {
        bottom: 14px;
    }
}
