@charset "utf-8";
/* CSS Document */
:root {
    --primary: #703b89;
    --secondary: #a349a3;
    --dark: #24152d;
    --text: #2f2f37;
    --muted: #666677;
    --light: #f8f3fa;
    --white: #ffffff;
    --border: #eadff0;
    --shadow: 0 18px 45px rgba(36, 21, 45, 0.12);
    --radius: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 18px;
    line-height: 1.65;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(100% - 32px, var(--container));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 14px;
    z-index: 1000;
}

.skip-link:focus {
    left: 12px;
}

.top-bar {
    background: var(--dark);
    color: var(--white);
    font-size: 16px;
}

.top-bar a {
    color: var(--white);
    font-weight: 700;
}

.top-bar-inner {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.top-email-btn,
.footer-contact-btn,
.hero-actions a,
.contact-form button {
    border: 0;
    border-radius: 999px;
    padding: 13px 24px;
    font-weight: 800;
    cursor: pointer;
}

.top-email-btn {
    background: var(--secondary);
    color: var(--white);
}

.site-header {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(36, 21, 45, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrap {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-link img {
    width: 220px;
    display: block;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav > ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 12px 14px;
    color: var(--dark);
    font-weight: 800;
    font-size: 16px;
}

.main-nav a.is-active,
.main-nav a:hover {
    color: var(--primary);
    text-decoration: none;
}

.has-dropdown {
    position: relative;
}

.has-dropdown > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 260px;
    box-shadow: var(--shadow);
    border-radius: 16px;
    padding: 10px;
}

.has-dropdown:hover > ul {
    display: block;
}

.has-dropdown ul a {
    padding: 10px 12px;
    font-size: 15px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: var(--primary);
    border-radius: 12px;
    padding: 11px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 999px;
}

.menu-toggle {
    position: relative;
}

.menu-toggle span {
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    position: relative;
    background:
        linear-gradient(115deg, rgba(112, 59, 137, 0.94), rgba(163, 73, 163, 0.76)),
        url('/assets/images/hero-care.jpg') center right / cover no-repeat;
    color: var(--white);
    padding: 96px 0;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.16), transparent 26%),
        linear-gradient(90deg, rgba(112,59,137,0.88), rgba(112,59,137,0.48), rgba(163,73,163,0.28));
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 42px;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    padding: 8px 14px;
    font-weight: 800;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.05;
    margin: 0 0 22px;
    letter-spacing: -1.5px;
}

.hero p {
    font-size: 22px;
    max-width: 720px;
    margin: 0 0 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions a,
.hero-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    border-radius: 999px;
    padding: 14px 26px;
    font-weight: 900;
}

.btn-primary {
    background: var(--white);
    color: var(--primary);
}

.btn-secondary {
    background: var(--dark);
    color: var(--white);
}

.hero-card {
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.hero-card h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 28px;
}

.hero-card ul {
    padding-left: 22px;
    margin-bottom: 0;
}

.section {
    padding: 78px 0;
}

.section-light {
    background: var(--light);
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--dark);
    margin: 0 0 12px;
    line-height: 1.15;
}

.section-heading p {
    color: var(--muted);
    margin: 0;
    font-size: 20px;
}

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

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 10px 28px rgba(36, 21, 45, 0.06);
}

.card h3 {
    color: var(--primary);
    margin-top: 0;
    font-size: 24px;
}

.card p {
    margin-bottom: 0;
}

.statement {
    background: var(--dark);
    color: var(--white);
    border-radius: 30px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1fr 0.65fr;
    gap: 28px;
    align-items: center;
}

.statement h2 {
    font-size: 40px;
    margin: 0 0 14px;
}

.statement p {
    margin: 0;
    font-size: 21px;
}

.statement a {
    background: var(--secondary);
    color: var(--white);
    border-radius: 999px;
    padding: 16px 28px;
    font-weight: 900;
    justify-self: end;
}

.footer-trust {
    background: var(--light);
    border-top: 1px solid var(--border);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 24px 0;
}

.trust-grid div {
    background: var(--white);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--border);
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    color: var(--primary);
}

.trust-grid span {
    color: var(--muted);
    font-size: 16px;
}

.footer-main {
    background: var(--dark);
    color: var(--white);
    padding: 54px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.35fr 0.8fr 0.9fr;
    gap: 34px;
}

.footer-logo {
    width: 170px;
    background: var(--white);
    border-radius: 18px;
    padding: 10px;
}

.footer-main a {
    color: var(--white);
}

.footer-main h3 {
    margin-top: 0;
}

.footer-main ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-main li {
    margin-bottom: 8px;
}

.footer-contact-btn {
    background: var(--secondary);
    color: var(--white);
}

.footer-bottom {
    background: #170e1d;
    color: var(--white);
    font-size: 15px;
}

.footer-bottom-inner {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.footer-bottom a {
    color: var(--white);
}

.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
}

.contact-modal.is-visible {
    display: block;
}

.contact-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(23, 14, 29, 0.72);
}

.contact-modal-panel {
    position: relative;
    background: var(--white);
    width: min(94%, 620px);
    max-height: 92vh;
    overflow: auto;
    margin: 4vh auto;
    border-radius: 28px;
    padding: 34px;
    box-shadow: var(--shadow);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark);
    font-size: 30px;
    cursor: pointer;
}

.contact-form label {
    display: block;
    font-weight: 800;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin-top: 6px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 15px;
    font: inherit;
}

.contact-form button {
    background: var(--primary);
    color: var(--white);
    width: 100%;
    font-size: 18px;
}

.hidden-field {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

@media (max-width: 900px) {
    body {
        font-size: 17px;
    }

    .nav-wrap {
        min-height: 88px;
    }

    .logo-link img {
        width: 170px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 98px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 12px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
}

    .main-nav.is-open {
        display: block;
    }

    .main-nav > ul {
        display: block;
    }

    .has-dropdown > ul {
    position: static;
    display: none;
    box-shadow: none;
    padding: 0 0 0 14px;
    margin: 0;
    background: transparent;
    min-width: 0;
    border-radius: 0;
}

.has-dropdown.is-open > ul {
    display: block;
}

.has-dropdown > a {
    position: relative;
    padding-right: 42px;
}

.has-dropdown > a::after {
    content: "+";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
}

.has-dropdown.is-open > a::after {
    content: "−";
}

    .hero {
        padding: 64px 0;
    }

    .hero-grid,
    .statement,
    .footer-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero p {
        font-size: 19px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .statement a {
        justify-self: start;
    }

    .footer-bottom-inner {
        flex-direction: column;
        padding: 18px 0;
        align-items: flex-start;
    }
}

.page-hero {
    background:
        linear-gradient(115deg, rgba(112, 59, 137, 0.96), rgba(163, 73, 163, 0.82)),
        url('/assets/images/inner-hero-care.jpg') center right / cover no-repeat;
    color: var(--white);
    padding: 76px 0;
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.12), transparent 28%),
        linear-gradient(90deg, rgba(112,59,137,0.88), rgba(112,59,137,0.58), rgba(163,73,163,0.30));
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-size: clamp(40px, 5vw, 62px);
    line-height: 1.08;
    margin: 0 0 18px;
}

.page-hero p {
    max-width: 760px;
    font-size: 21px;
    margin: 0;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: start;
}

.contact-info-panel,
.contact-form-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 10px 28px rgba(36, 21, 45, 0.06);
}

.contact-info-panel h2,
.contact-form-panel h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 32px;
    line-height: 1.2;
}

.contact-highlight {
    background: var(--light);
    border-radius: 18px;
    padding: 18px;
    margin-top: 16px;
    border: 1px solid var(--border);
}

.contact-highlight strong,
.contact-highlight span,
.contact-highlight a {
    display: block;
}

.contact-highlight strong {
    color: var(--dark);
    margin-bottom: 4px;
}

.alert {
    border-radius: 16px;
    padding: 15px 18px;
    margin-bottom: 20px;
    font-weight: 700;
}

.alert-success {
    background: #ecf8ef;
    color: #155d27;
    border: 1px solid #bfe8c8;
}

.alert-error {
    background: #fff0f0;
    color: #9e1f1f;
    border: 1px solid #f3b8b8;
}

@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 58px 0;
    }
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 38px;
    align-items: start;
}

.two-column h2 {
    color: var(--dark);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    margin-top: 0;
}

.feature-panel {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: 0 10px 28px rgba(36, 21, 45, 0.06);
}

.feature-panel h3 {
    margin-top: 0;
    color: var(--primary);
    font-size: 28px;
}

.panel-button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    padding: 14px 24px;
    font-weight: 900;
    cursor: pointer;
    text-decoration: none;
}

.panel-button:hover,
.button-link:hover {
    background: var(--secondary);
    text-decoration: none;
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    font-weight: 900;
    color: var(--primary);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}

.feature-list li {
    position: relative;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 15px 18px 15px 48px;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 18px;
    top: 14px;
    color: var(--primary);
    font-weight: 900;
}

.empty-state {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 38px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.empty-state h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 34px;
}

.blog-card img,
.featured-image {
    width: 100%;
    border-radius: 18px;
    margin-bottom: 18px;
}

.content-narrow {
    max-width: 850px;
}

.rich-content {
    font-size: 19px;
}

.rich-content h2,
.rich-content h3 {
    color: var(--primary);
    line-height: 1.2;
}

.rich-content h2 {
    font-size: 36px;
}

.rich-content h3 {
    font-size: 26px;
    margin-top: 34px;
}

.testimonial-card p {
    font-size: 20px;
    color: var(--dark);
}

.testimonial-card h3 {
    margin-bottom: 2px;
}

.testimonial-card span {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 900px) {
    .two-column {
        grid-template-columns: 1fr;
    }
}

.application-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.application-side-panel,
.application-form-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 10px 28px rgba(36, 21, 45, 0.06);
}

.application-side-panel {
    position: sticky;
    top: 140px;
}

.application-side-panel h2,
.application-form-panel h2 {
    color: var(--primary);
    margin-top: 0;
    font-size: 32px;
    line-height: 1.2;
}

.application-form label {
    display: block;
    font-weight: 800;
    margin-bottom: 18px;
}

.application-form input,
.application-form select,
.application-form textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 15px;
    font: inherit;
    background: var(--white);
}

.application-form textarea {
    resize: vertical;
}

.application-form input[type="file"] {
    background: var(--light);
}

.application-form button {
    border: 0;
    border-radius: 999px;
    padding: 15px 28px;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}

.application-form button:hover {
    background: var(--secondary);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

@media (max-width: 900px) {
    .application-layout,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .application-side-panel {
        position: static;
    }
}

.admin-login-body,
.admin-body {
    background: var(--light);
    min-height: 100vh;
}

.admin-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
}

.admin-login-card {
    width: min(100%, 520px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    box-shadow: var(--shadow);
    padding: 36px;
    text-align: center;
}

.admin-login-card img {
    width: 170px;
    margin-bottom: 18px;
}

.admin-login-card h1 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: 38px;
    line-height: 1.1;
}

.admin-login-card p {
    color: var(--muted);
}

.admin-login-form {
    text-align: left;
    margin-top: 24px;
}

.admin-login-form label {
    display: block;
    font-weight: 800;
    margin-bottom: 16px;
}

.admin-login-form input {
    width: 100%;
    margin-top: 7px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 15px;
    font: inherit;
    background: var(--white);
}

.admin-login-form button {
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 15px 24px;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
}

.admin-login-form button:hover {
    background: var(--secondary);
}

.admin-back-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 800;
}

.admin-body {
    display: grid;
    grid-template-columns: 280px 1fr;
    color: var(--text);
}

.admin-sidebar {
    background: var(--dark);
    color: var(--white);
    min-height: 100vh;
    padding: 24px;
    position: sticky;
    top: 0;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.admin-brand img {
    width: 74px;
    background: var(--white);
    border-radius: 14px;
    padding: 6px;
}

.admin-brand strong {
    font-size: 24px;
}

.admin-menu {
    display: grid;
    gap: 8px;
}

.admin-menu a {
    color: var(--white);
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 800;
}

.admin-menu a:hover,
.admin-menu a.is-active {
    background: rgba(255, 255, 255, 0.13);
    text-decoration: none;
}

.admin-main {
    padding: 32px;
}

.admin-topbar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(36, 21, 45, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-topbar h1 {
    margin: 0;
    color: var(--primary);
    font-size: 42px;
    line-height: 1.1;
}

.admin-topbar p {
    margin: 6px 0 0;
    color: var(--muted);
}

.admin-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.admin-cards article {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(36, 21, 45, 0.06);
}

.admin-cards span {
    display: block;
    color: var(--primary);
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.admin-cards strong {
    color: var(--dark);
}

.admin-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 10px 28px rgba(36, 21, 45, 0.06);
}

.admin-panel h2 {
    margin-top: 0;
    color: var(--primary);
    font-size: 30px;
}

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

.admin-action-grid a {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px;
    font-weight: 900;
    color: var(--primary);
}

.admin-action-grid a:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
}

@media (max-width: 1100px) {
    .admin-cards,
    .admin-action-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .admin-body {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        min-height: auto;
    }

    .admin-main {
        padding: 18px;
    }

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

    .admin-cards,
    .admin-action-grid {
        grid-template-columns: 1fr;
    }
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.admin-table th {
    color: var(--dark);
    font-size: 15px;
    background: var(--light);
}

.admin-table td small {
    color: var(--muted);
}

.status-pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 900;
    text-transform: capitalize;
}

.status-draft,
.status-closed {
    background: #f1edf4;
    color: #4e3b59;
}

.status-published,
.status-active {
    background: #ecf8ef;
    color: #155d27;
}

.small-action {
    display: inline-flex;
    margin: 3px 4px 3px 0;
    border-radius: 999px;
    padding: 7px 12px;
    background: var(--primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
}

.small-action:hover {
    background: var(--secondary);
    color: var(--white);
    text-decoration: none;
}

.admin-form label {
    display: block;
    font-weight: 800;
    margin-bottom: 18px;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    margin-top: 7px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 15px;
    font: inherit;
    background: var(--white);
}

.admin-form textarea {
    resize: vertical;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-form-actions button {
    border: 0;
    border-radius: 999px;
    padding: 14px 24px;
    background: var(--primary);
    color: var(--white);
    font-weight: 900;
    font-size: 17px;
    cursor: pointer;
}

.admin-form-actions button:hover {
    background: var(--secondary);
}

.admin-form-actions .danger-button {
    background: #9e1f1f;
}

.admin-form-actions .danger-button:hover {
    background: #721414;
}

.section-button-wrap {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.section-mini-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 7px 14px;
    font-weight: 900;
    font-size: 15px;
    margin-bottom: 12px;
}

.section-light .section-mini-label {
    background: var(--white);
}

.homepage-blog-card {
    padding: 0;
    overflow: hidden;
}

.homepage-blog-card img,
.blog-image-placeholder {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 0;
    margin: 0;
}

.blog-image-placeholder {
    background:
        radial-gradient(circle at top left, rgba(163, 73, 163, 0.24), transparent 36%),
        linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 24px;
}

.blog-card-content {
    padding: 24px;
}

.blog-card-content small {
    display: inline-flex;
    color: var(--muted);
    font-weight: 800;
    margin-bottom: 8px;
}

.homepage-testimonial-card {
    position: relative;
    overflow: hidden;
}

.homepage-testimonial-card::before {
    content: "“";
    position: absolute;
    right: 24px;
    top: 4px;
    font-size: 110px;
    line-height: 1;
    color: rgba(112, 59, 137, 0.08);
    font-family: Georgia, serif;
}

.rating-stars {
    color: var(--secondary);
    font-size: 22px;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.testimonial-person {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.testimonial-person strong,
.testimonial-person span {
    display: block;
}

.testimonial-person strong {
    color: var(--primary);
    font-size: 20px;
}

.testimonial-person span {
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 900px) {
    .homepage-blog-card img,
    .blog-image-placeholder {
        height: 190px;
    }
}

.admin-record-list {
    display: grid;
    gap: 18px;
}

.admin-record-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(36, 21, 45, 0.05);
}

.admin-record-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.admin-record-header h2 {
    margin: 10px 0 4px;
    color: var(--primary);
    font-size: 28px;
    line-height: 1.2;
}

.admin-record-header p {
    margin: 0;
    color: var(--muted);
}

.admin-record-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.admin-record-meta p {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    margin: 0;
}

.admin-message-box {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    line-height: 1.7;
    white-space: normal;
}

.inline-form {
    display: inline;
}

.danger-mini {
    display: inline-flex;
    border: 0;
    border-radius: 999px;
    padding: 7px 12px;
    background: #9e1f1f;
    color: var(--white);
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
}

.danger-mini:hover {
    background: #721414;
}

.file-pill {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 9px;
    margin: 2px;
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 13px;
    font-weight: 900;
}

.application-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.detail-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(36, 21, 45, 0.05);
}

.detail-card h2 {
    margin-top: 0;
    color: var(--primary);
    font-size: 26px;
}

.detail-wide {
    margin-top: 18px;
}

.admin-note {
    background: var(--light);
    border-left: 4px solid var(--primary);
    padding: 12px 14px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 900px) {
    .admin-record-header,
    .admin-record-meta,
    .application-detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-record-header {
        display: grid;
    }
}

.admin-filter-form {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: end;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 22px;
}

.admin-filter-form label {
    display: block;
    font-weight: 800;
}

.admin-filter-form input {
    width: 100%;
    margin-top: 6px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    font: inherit;
    background: var(--white);
}

.admin-filter-form button {
    border: 0;
    border-radius: 999px;
    background: var(--primary);
    color: var(--white);
    padding: 13px 22px;
    font-weight: 900;
    cursor: pointer;
}

.admin-filter-form button:hover {
    background: var(--secondary);
}

.admin-image-preview {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 18px;
}

.admin-image-preview strong {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
}

.admin-image-preview img {
    display: block;
    max-width: 360px;
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--border);
}

@media (max-width: 800px) {
    .admin-filter-form {
        grid-template-columns: 1fr;
    }
}

.image-service-card {
    padding: 0;
    overflow: hidden;
}

.image-service-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.image-service-card div {
    padding: 24px;
}

.image-service-card h3 {
    margin-top: 0;
}

@media (max-width: 900px) {
    .mobile-service-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 18px;
        padding: 4px 4px 18px;
        scrollbar-width: none;
    }

    .mobile-service-carousel::-webkit-scrollbar {
        display: none;
    }

    .mobile-service-carousel .card {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }
}

.image-service-card {
    padding: 0;
    overflow: hidden;
}

.image-service-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.image-service-card div {
    padding: 24px;
}

.image-service-card h3 {
    margin-top: 0;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 38px;
    align-items: start;
}

.service-detail-content h2 {
    color: var(--dark);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    margin-top: 0;
}

.service-detail-side {
    display: grid;
    gap: 20px;
}

.service-detail-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.service-enquiry-panel {
    margin: 0;
}

@media (max-width: 900px) {
    .service-detail-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-image {
        height: 240px;
    }
}

.service-care-banner {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: var(--primary);
    padding: 92px 0;
}

.service-care-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/assets/images/inner-hero-care.jpg') center right / cover no-repeat;
    transform: scaleX(-1);
    opacity: 0.28;
}

.service-care-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(36, 21, 45, 0.92), rgba(112, 59, 137, 0.82), rgba(163, 73, 163, 0.70));
}

.service-care-banner .container {
    position: relative;
    z-index: 2;
}

.service-care-banner-content {
    max-width: 820px;
}

.service-care-banner-content h2,
.service-care-banner-content p {
    color: var(--white);
}

.service-care-banner-content h2 {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.service-care-banner-content p {
    opacity: 0.96;
}

@media (max-width: 900px) {
    .service-care-banner {
        padding: 68px 0;
    }

    .service-care-banner::before {
        background-position: center;
        opacity: 0.22;
    }
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 42px;
    align-items: start;
}

.about-intro-content h2 {
    color: var(--dark);
    font-size: clamp(32px, 4vw, 46px);
    line-height: 1.15;
    margin-top: 0;
}

.about-intro-side {
    display: grid;
    gap: 20px;
}

.about-care-image {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.about-aim-panel {
    margin: 0;
}

@media (max-width: 900px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .about-care-image {
        height: 250px;
    }
}

.footer-services-col {
    min-width: 280px;
}

.footer-services-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 22px;
}

.footer-services-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-services-list li {
    margin-bottom: 8px;
}

.footer-services-list a {
    font-size: 16px;
    line-height: 1.35;
}

@media (max-width: 520px) {
    .footer-services-list {
        grid-template-columns: 1fr;
    }
}