:root {
    --font-geist-sans: Arial, Helvetica, sans-serif;
    --blue: #0755b6;
    --blue-dark: #062f6d;
    --navy: #071f42;
    --red: #e51d32;
    --ink: #101c2e;
    --muted: #627086;
    --line: #dce5f0;
    --soft: #f3f7fb;
    --white: #fff;
    --shadow: 0 18px 55px rgba(15, 43, 78, .11)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: var(--font-geist-sans), Arial, sans-serif;
    line-height: 1.6
}

a {
    color: inherit;
    text-decoration: none
}

img {
    display: block;
    max-width: 100%
}

.shell {
    width: min(1180px, calc(100% - 40px));
    margin: auto
}

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 100;
    background: #fff;
    color: var(--navy);
    padding: 10px 16px;
    border-radius: 8px
}

.skip-link:focus {
    top: 12px
}

.emergency-bar {
    background: var(--navy);
    color: #fff;
    font-size: 12px
}

.emergency-inner {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.emergency-inner p {
    display: flex;
    gap: 14px;
    margin: 0
}

.emergency-inner p span {
    color: #b7c7da
}

.emergency-inner a {
    color: #fff;
    font-weight: 700
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(216, 227, 240, .85);
    backdrop-filter: blur(14px)
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 11px
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain
}

.brand span {
    display: flex;
    flex-direction: column;
    line-height: 1.2
}

.brand strong {
    color: var(--blue-dark);
    font-size: 18px;
    letter-spacing: -.02em
}

.brand small {
    font-size: 9px;
    color: #7a8798;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: 5px
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 13px;
    font-weight: 650;
    color: #3a4a61
}

.desktop-nav a:hover {
    color: var(--blue)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 17px
}

.text-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-dark)
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 0 23px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 750;
    transition: transform .2s, box-shadow .2s, background .2s
}

.button:hover {
    transform: translateY(-2px)
}

.button-small {
    min-height: 42px;
    padding: 0 18px
}

.button-primary {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(7, 85, 182, .22)
}

.button-red {
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 28px rgba(229, 29, 50, .25)
}

.button-ghost {
    border: 1px solid #a8bdd5;
    color: var(--blue-dark);
    background: rgba(255, 255, 255, .58)
}

.button-white {
    background: #fff;
    color: var(--blue-dark)
}

.mobile-menu {
    display: none
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            rgba(247, 251, 255, .72),
            rgba(234, 243, 253, .72)
        ),
        url('hh-background.jpg') center center / cover no-repeat;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(7, 85, 182, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 85, 182, .035) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, #000, transparent)
}

.hero-layout {
    position: relative;
    min-height: 690px;
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    align-items: center;
    gap: 60px;
    padding-top: 55px;
    padding-bottom: 70px
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .16em
}

.eyebrow span {
    width: 28px;
    height: 2px;
    background: var(--red)
}

.hero h1 {
    font-size: clamp(52px, 6vw, 78px);
    line-height: .99;
    letter-spacing: -.055em;
    margin: 0;
    color: var(--navy);
    font-weight: 760
}

.hero h1 em {
    color: var(--blue);
    font-style: normal
}

.hero-lead {
    max-width: 610px;
    color: #566982;
    font-size: 17px;
    line-height: 1.85;
    margin: 27px 0 32px
}

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

.trust-row {
    display: flex;
    gap: 28px;
    margin-top: 41px;
    padding-top: 23px;
    border-top: 1px solid #c8d9ea;
    color: #6a7b90;
    font-size: 11px
}

.trust-row span {
    display: flex;
    flex-direction: column
}

.trust-row b {
    color: var(--navy);
    font-size: 15px
}

.hero-brand-card {
    position: relative;
    height: 520px;
    display: grid;
    place-items: center
}

.logo-stage {
    position: relative;
    z-index: 3;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 35px 90px rgba(7, 47, 109, .16), inset 0 0 0 1px rgba(255, 255, 255, .9)
}

.logo-stage:after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed #b9d1e9;
    border-radius: 50%
}

.logo-stage img {
    position: relative;
    z-index: 2;
    width: 235px
}

.brand-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(7, 85, 182, .13)
}

.orbit-one {
    width: 445px;
    height: 445px
}

.orbit-two {
    width: 515px;
    height: 515px;
    border-style: dashed
}

.care-card {
    position: absolute;
    z-index: 5;
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: 10px;
    background: #fff;
    padding: 15px 18px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 205px
}

.care-card strong {
    font-size: 12px
}

.care-card small {
    grid-column: 2;
    color: #78879a;
    font-size: 10px
}

.care-card-top {
    top: 72px;
    right: -4px
}

.care-card-bottom {
    bottom: 60px;
    left: -10px
}

.pulse-dot,
.shield {
    grid-row: 1/3;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: grid;
    place-items: center
}

.pulse-dot {
    background: #e9f8ee
}

.pulse-dot:after {
    content: "";
    width: 10px;
    height: 10px;
    background: #28a85b;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #c9eed8
}

.shield {
    background: #e9f2fc;
    color: var(--blue);
    font-style: normal;
    font-weight: 800
}

.quick-strip {
    position: relative;
    margin-top: -36px;
    z-index: 6
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden
}

.quick-card {
    min-height: 132px;
    padding: 23px 20px;
    display: grid;
    grid-template-columns: 40px 1fr 15px;
    gap: 12px;
    align-items: start;
    border-right: 1px solid var(--line);
    transition: background .2s
}

.quick-card:last-child {
    border: 0
}

.quick-card:hover {
    background: #f7fbff
}

.quick-icon {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    background: #e9f2fc;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 850
}

.quick-card span:nth-child(2) {
    display: flex;
    flex-direction: column
}

.quick-card strong {
    font-size: 13px;
    color: var(--navy);
    margin: 1px 0 5px
}

.quick-card small {
    font-size: 10px;
    line-height: 1.5;
    color: #758398
}

.quick-card b {
    color: var(--blue);
    font-size: 13px
}

.section {
    padding-top: 115px;
    padding-bottom: 115px
}

.section-heading {
    margin-bottom: 52px
}

.split-heading {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: end;
    gap: 70px
}

.section-heading h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -.045em
}

.split-heading>p,
.center-heading>p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    margin: 0
}

.center-heading {
    text-align: center;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto
}

.center-heading .eyebrow {
    justify-content: center
}

.center-heading>p {
    margin: 18px auto 0;
    max-width: 570px
}

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

.service-card {
    position: relative;
    min-height: 300px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    transition: transform .25s, box-shadow .25s, border .25s
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #c5d7ea
}

.service-card>span {
    font-size: 11px;
    color: var(--blue);
    font-weight: 800
}

.service-card h3 {
    font-size: 20px;
    color: var(--navy);
    margin: 38px 0 12px
}

.service-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0
}

.service-card a {
    position: absolute;
    left: 34px;
    bottom: 30px;
    font-size: 12px;
    color: var(--blue);
    font-weight: 750
}

.service-card a b {
    margin-left: 13px
}

.portal-section {
    background: linear-gradient(115deg, var(--navy), #073f87);
    color: #fff;
    overflow: hidden
}

.portal-layout {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 70px
}

.portal-preview {
    align-self: end;
    padding-top: 75px
}

.mini-window {
    background: #f8fbff;
    border: 7px solid rgba(255, 255, 255, .14);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    overflow: hidden
}

.mini-top {
    height: 55px;
    background: #fff;
    color: var(--navy);
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 18px;
    font-size: 10px;
    font-weight: 800
}

.mini-top img {
    width: 35px;
    height: 35px;
    object-fit: contain
}

.mini-top i {
    margin-left: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e9f2fc
}

.mini-body {
    min-height: 390px;
    display: grid;
    grid-template-columns: 145px 1fr;
    background: #f4f8fc;
    color: var(--ink)
}

.mini-sidebar {
    background: #fff;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 9px;
    color: #7a8798
}

.mini-sidebar b {
    background: #e9f2fc;
    color: var(--blue);
    padding: 9px;
    border-radius: 5px
}

.mini-content {
    padding: 38px 30px
}

.mini-content>p {
    font-size: 8px;
    color: #8290a2;
    margin: 0
}

.mini-content h3 {
    font-size: 19px;
    margin: 3px 0 25px;
    color: var(--navy)
}

.mini-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.mini-stats>span {
    padding: 18px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(26, 59, 97, .06)
}

.mini-stats small {
    font-size: 7px;
    color: #8995a4
}

.mini-stats b {
    font-size: 10px;
    color: var(--navy);
    margin-top: 4px
}

.mini-record {
    display: flex;
    align-items: center;
    background: #fff;
    margin-top: 14px;
    padding: 15px;
    border-radius: 8px;
    gap: 11px
}

.mini-record i {
    width: 30px;
    height: 30px;
    background: #eef3f8;
    border-radius: 5px
}

.mini-record span {
    display: flex;
    flex-direction: column
}

.mini-record b {
    font-size: 8px
}

.mini-record small {
    font-size: 6px;
    color: #8a96a5
}

.mini-record em {
    margin-left: auto;
    font-style: normal;
    font-size: 7px;
    color: var(--blue);
    font-weight: 800
}

.eyebrow-light {
    color: #b9d9ff
}

.portal-copy h2 {
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -.04em;
    margin: 0
}

.portal-copy>p:not(.eyebrow) {
    color: #c8d9eb;
    font-size: 14px;
    line-height: 1.9;
    max-width: 500px
}

.portal-copy ul {
    list-style: none;
    padding: 10px 0 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
    font-size: 11px;
    color: #e2edf8
}

.portal-copy li:before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff
}

.schedule-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(15, 43, 78, .07)
}

.schedule-head,
.schedule-foot {
    padding: 20px 26px;
    background: #f6f9fc;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.schedule-head strong {
    color: var(--navy);
    font-size: 14px
}

.schedule-head span {
    font-size: 10px;
    color: #7d8b9d
}

.schedule-grid {
    display: grid;
    grid-template-columns: 1fr 1fr
}

.schedule-row {
    display: grid;
    grid-template-columns: 42px 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 19px 24px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line)
}

.schedule-row:nth-child(even) {
    border-right: 0
}

.doctor-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e9f2fc;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800
}

.schedule-row strong {
    font-size: 12px;
    color: var(--navy)
}

.schedule-row small {
    font-size: 9px;
    color: #718096
}

.schedule-row a {
    font-size: 10px;
    color: var(--blue);
    font-weight: 800
}

.schedule-foot {
    justify-content: center
}

.schedule-foot a {
    font-size: 11px;
    font-weight: 800;
    color: var(--blue)
}

.facilities-section {
    background: #f2f7fb
}

.facility-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    min-height: 560px
}

.facility-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    box-shadow: 0 10px 35px rgba(15, 43, 78, .06)
}

.facility-1 {
    grid-row: 1/3;
    display: flex;
    flex-direction: column
}

.facility-1 .photo-placeholder {
    flex: 1
}

.photo-placeholder {
    min-height: 210px;
    position: relative;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, #dce9f6, #bcd3e9);
    overflow: hidden
}

.photo-placeholder:before,
.photo-placeholder:after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3)
}

.photo-placeholder:before {
    width: 230px;
    height: 230px;
    left: -50px;
    bottom: -90px
}

.photo-placeholder:after {
    width: 170px;
    height: 170px;
    right: -40px;
    top: -60px
}

.photo-placeholder span {
    position: relative;
    z-index: 2;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(7, 85, 182, .35);
    color: var(--blue);
    font-weight: 850
}

.photo-placeholder small {
    position: absolute;
    bottom: 18px;
    color: #617b98;
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .14em
}

.facility-card>div:last-child {
    padding: 28px
}

.facility-card p {
    margin: 0;
    color: var(--red);
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 850;
    letter-spacing: .1em
}

.facility-card h3 {
    margin: 5px 0 8px;
    font-size: 22px;
    color: var(--navy)
}

.facility-card>div:last-child>span {
    display: block;
    color: var(--muted);
    font-size: 11px
}

.facility-card a {
    display: inline-block;
    margin-top: 22px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800
}

.education-layout {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    gap: 80px;
    align-items: start
}

.education-intro h2 {
    font-size: 48px;
    line-height: 1.08;
    color: var(--navy);
    letter-spacing: -.04em;
    margin: 0
}

.education-intro>p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted)
}

.education-intro>a {
    display: inline-block;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    margin-top: 15px
}

.education-list {
    border-top: 1px solid var(--line)
}

.education-list article {
    display: grid;
    grid-template-columns: 40px 1fr 20px;
    gap: 18px;
    padding: 23px 5px;
    border-bottom: 1px solid var(--line);
    align-items: center
}

.education-list article>span {
    font-size: 10px;
    color: var(--blue);
    font-weight: 800
}

.education-list h3 {
    font-size: 15px;
    color: var(--navy);
    margin: 0
}

.education-list p {
    font-size: 11px;
    color: var(--muted);
    margin: 3px 0 0
}

.education-list article>b {
    color: var(--blue);
    font-size: 12px
}

.booking-section {
    padding: 0 0 105px
}

.booking-card {
    min-height: 290px;
    border-radius: 14px;
    padding: 52px 60px;
    background: linear-gradient(110deg, var(--blue-dark), var(--blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    overflow: hidden
}

.booking-card:after {
    content: "H";
    position: absolute;
    right: 25%;
    top: -90%;
    font-size: 530px;
    font-weight: 900;
    color: rgba(255, 255, 255, .035)
}

.booking-card h2 {
    font-size: 38px;
    line-height: 1.15;
    margin: 0
}

.booking-card>div:first-child>p:not(.eyebrow) {
    color: #cbddef;
    font-size: 13px;
    max-width: 650px
}

.booking-actions {
    position: relative;
    z-index: 2;
    min-width: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px
}

.plain-white {
    font-size: 11px;
    text-decoration: underline;
    text-underline-offset: 4px
}

.footer {
    background: #06182f;
    color: #fff;
    padding-top: 72px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr .9fr 1fr;
    gap: 65px;
    padding-bottom: 55px
}

.footer-brand img {
    width: 78px
}

.footer-brand h3 {
    font-size: 18px;
    margin: 16px 0 2px
}

.footer-brand>p {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    margin: 0
}

.footer-brand>span {
    display: block;
    color: #8fa3bc;
    font-size: 11px;
    line-height: 1.8;
    margin-top: 17px;
    max-width: 280px
}

.footer h4 {
    font-size: 12px;
    margin: 7px 0 20px
}

.footer-grid>div:not(:first-child) {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.footer-grid a,
.footer-grid p {
    color: #97abc3;
    font-size: 10px;
    line-height: 1.8;
    margin: 0 0 10px
}

.footer-grid p b {
    color: #dce8f5
}

.footer-emergency {
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 9px 12px;
    border-radius: 5px;
    color: #fff !important
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0 30px;
    display: flex;
    justify-content: space-between;
    color: #7187a2;
    font-size: 9px
}

@media(max-width:1000px) {
    .desktop-nav {
        display: none
    }

    .mobile-menu {
        display: block;
        position: relative
    }

    .mobile-menu summary {
        list-style: none;
        width: 40px;
        height: 40px;
        display: grid;
        place-content: center;
        gap: 4px;
        border: 1px solid var(--line);
        border-radius: 6px;
        cursor: pointer
    }

    .mobile-menu summary::-webkit-details-marker {
        display: none
    }

    .mobile-menu summary span {
        display: block;
        width: 18px;
        height: 2px;
        background: var(--navy)
    }

    .mobile-menu nav {
        position: absolute;
        right: 0;
        top: 50px;
        min-width: 240px;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
        display: flex;
        flex-direction: column
    }

    .mobile-menu nav a {
        padding: 10px;
        font-size: 12px;
        font-weight: 700
    }

    .nav-actions {
        display: none
    }

    .hero-layout {
        grid-template-columns: 1fr .8fr;
        gap: 10px
    }

    .logo-stage {
        width: 290px;
        height: 290px
    }

    .logo-stage img {
        width: 190px
    }

    .orbit-one {
        width: 360px;
        height: 360px
    }

    .orbit-two {
        width: 420px;
        height: 420px
    }

    .care-card {
        display: none
    }

    .quick-grid {
        grid-template-columns: 1fr 1fr
    }

    .quick-card:nth-child(2) {
        border-right: 0
    }

    .quick-card {
        border-bottom: 1px solid var(--line)
    }

    .portal-layout {
        gap: 35px
    }

    .portal-copy h2 {
        font-size: 39px
    }

    .facility-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto
    }

    .facility-1 {
        grid-row: auto
    }

    .facility-1 .photo-placeholder {
        min-height: 280px
    }

    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 40px
    }

    .footer-grid>div:last-child {
        grid-column: 2/4
    }
}

@media(max-width:760px) {
    .shell {
        width: min(100% - 28px, 1180px)
    }

    .emergency-inner p span {
        display: none
    }

    .nav-wrap {
        height: 74px
    }

    .brand img {
        width: 49px;
        height: 49px
    }

    .brand strong {
        font-size: 15px
    }

    .brand small {
        font-size: 7px
    }

    .hero-layout {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 75px 0 55px
    }

    .hero h1 {
        font-size: 50px
    }

    .hero-brand-card {
        height: 260px;
        order: -1;
        place-items: center end;
        padding-right: 14px
    }

    .logo-stage {
        width: 180px;
        height: 180px;
        margin-left: auto
    }

    .logo-stage:after {
        inset: 10px
    }

    .logo-stage img {
        width: 112px
    }

    .brand-orbit {
        display: none
    }

    .trust-row {
        gap: 15px;
        justify-content: space-between
    }

    .quick-strip {
        margin-top: 0
    }

    .quick-grid {
        grid-template-columns: 1fr
    }

    .quick-card {
        border-right: 0;
        min-height: 105px
    }

    .section {
        padding-top: 80px;
        padding-bottom: 80px
    }

    .split-heading {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        min-height: 270px
    }

    .portal-layout {
        grid-template-columns: 1fr;
        padding-top: 80px
    }

    .portal-preview {
        order: 2;
        padding-top: 20px
    }

    .portal-copy ul {
        grid-template-columns: 1fr
    }

    .mini-sidebar {
        display: none
    }

    .mini-body {
        grid-template-columns: 1fr
    }

    .schedule-grid {
        grid-template-columns: 1fr
    }

    .schedule-row {
        border-right: 0;
        grid-template-columns: 42px 1fr auto
    }

    .schedule-row small {
        grid-column: 2
    }

    .schedule-row a {
        grid-row: 1/3;
        grid-column: 3
    }

    .schedule-head {
        align-items: flex-start;
        gap: 10px;
        flex-direction: column
    }

    .facility-card {
        grid-template-columns: 1fr
    }

    .education-layout {
        grid-template-columns: 1fr;
        gap: 45px
    }

    .education-intro h2 {
        font-size: 39px
    }

    .booking-card {
        padding: 42px 26px;
        flex-direction: column;
        align-items: flex-start
    }

    .booking-actions {
        align-items: flex-start
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 38px
    }

    .footer-grid>div:last-child {
        grid-column: auto
    }

    .footer-bottom {
        gap: 10px;
        flex-direction: column
    }

    .mobile-menu nav {
        right: -2px
    }
}

@media(max-width:430px) {
    .brand small {
        display: none
    }

    .hero h1 {
        font-size: 43px
    }

    .hero-lead {
        font-size: 15px
    }

    .hero-actions {
        flex-direction: column
    }

    .hero-actions .button {
        width: 100%
    }

    .hero-brand-card {
        height: 220px;
        place-items: center end;
        padding-right: 2px
    }

    .logo-stage {
        width: 150px;
        height: 150px;
        margin-left: auto
    }

    .logo-stage:after {
        inset: 9px
    }

    .logo-stage img {
        width: 92px
    }

    .trust-row {
        flex-wrap: wrap
    }

    .section-heading h2,
    .portal-copy h2 {
        font-size: 35px
    }

    .mini-content {
        padding: 25px 18px
    }

    .mini-stats {
        grid-template-columns: 1fr
    }

    .facility-grid {
        display: flex;
        flex-direction: column
    }

    .footer-grid {
        grid-template-columns: 1fr
    }
}

/* Portable PHP application pages */
button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

.desktop-nav a.active {
    color: var(--blue)
}

.setup-notice {
    background: #fff4d6;
    border-bottom: 1px solid #efd695;
    color: #725410;
    padding: 9px 0;
    font-size: 12px
}

.setup-notice a {
    text-decoration: underline;
    font-weight: 800
}

.flash-wrap {
    position: fixed;
    right: 20px;
    top: 138px;
    z-index: 90;
    width: min(420px, calc(100% - 40px));
    display: grid;
    gap: 10px
}

.alert {
    padding: 14px 16px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    font-size: 12px;
    box-shadow: 0 12px 35px rgba(20, 35, 60, .15)
}

.alert button {
    border: 0;
    background: transparent;
    font-size: 18px;
    color: inherit
}

.alert-success {
    background: #eaf8ef;
    color: #17673a;
    border: 1px solid #bce7cd
}

.alert-error {
    background: #fff0f1;
    color: #9b2530;
    border: 1px solid #f1c1c6
}

.alert-warning {
    background: #fff7df;
    color: #7b5a13;
    border: 1px solid #efd99a
}

.alert a {
    text-decoration: underline;
    font-weight: 800
}

.inner-page,
.form-page,
.article-page {
    background: #fff
}

.page-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(125deg, #f7fbff, #e5f1fd);
    padding: 92px 0
}

.page-hero:after {
    content: "H";
    position: absolute;
    right: 4%;
    top: -150px;
    color: rgba(7, 85, 182, .04);
    font-size: 440px;
    font-weight: 900;
    line-height: 1
}

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

.page-hero h1 {
    max-width: 840px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(45px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -.052em
}

.page-hero p:not(.eyebrow) {
    max-width: 690px;
    color: #60748d;
    font-size: 16px;
    margin: 23px 0 0;
    line-height: 1.8
}

.narrow {
    max-width: 800px
}

.feature-groups {
    display: grid;
    gap: 20px
}

.feature-group {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 30px;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 12px
}

.feature-group>span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf2fb;
    color: var(--blue);
    font-size: 11px;
    font-weight: 850
}

.feature-group h2 {
    color: var(--navy);
    margin: 0;
    font-size: 28px
}

.feature-group p {
    color: var(--muted);
    font-size: 13px
}

.feature-group ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
    padding: 16px 0 0;
    margin: 0
}

.feature-group li {
    padding: 12px;
    background: var(--soft);
    border-radius: 6px;
    color: #4f6075;
    font-size: 11px
}

.feature-group li:before {
    content: "✓";
    color: var(--blue);
    margin-right: 7px;
    font-weight: 800
}

.filter-tabs,
.compact-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 35px
}

.filter-tabs a,
.compact-tabs a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 16px;
    color: #607086;
    font-size: 11px;
    font-weight: 750
}

.filter-tabs a.active,
.compact-tabs a.active {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue)
}

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

.gallery-grid article {
    border: 1px solid var(--line);
    border-radius: 11px;
    overflow: hidden;
    background: #fff
}

.gallery-grid article>a {
    display: block;
    aspect-ratio: 4/3;
    background: var(--soft)
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.gallery-grid article>div {
    padding: 22px
}

.gallery-grid span,
.specialist-full-grid small,
.article-grid>article>span {
    font-size: 9px;
    text-transform: uppercase;
    color: var(--red);
    font-weight: 850;
    letter-spacing: .1em
}

.gallery-grid h2 {
    font-size: 18px;
    color: var(--navy);
    margin: 5px 0
}

.gallery-grid p {
    font-size: 11px;
    color: var(--muted);
    margin: 0
}

.empty-gallery {
    min-height: 330px;
    border: 2px dashed #c8d9ea;
    border-radius: 14px;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 45px;
    background: #f7faff
}

.empty-gallery>span {
    font-size: 11px;
    color: var(--blue);
    font-weight: 850
}

.empty-gallery h2 {
    font-size: 30px;
    color: var(--navy);
    margin: 10px 0
}

.empty-gallery p {
    max-width: 580px;
    color: var(--muted);
    font-size: 13px
}

.photo-real {
    display: block
}

.photo-real img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 3
}

.directory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.directory-grid article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 9px
}

.directory-grid article>span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #edf4fb;
    color: var(--blue);
    border-radius: 7px;
    font-size: 10px;
    font-weight: 850
}

.directory-grid h2 {
    font-size: 16px;
    color: var(--navy);
    margin: 0
}

.directory-grid b {
    font-size: 9px;
    color: var(--red);
    text-transform: uppercase
}

.directory-grid p {
    font-size: 11px;
    color: var(--muted);
    margin: 5px 0 0
}

.specialist-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.specialist-full-grid article {
    display: flex;
    flex-direction: column;
    min-height: 360px;
    padding: 27px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    transition: .2s
}

.specialist-full-grid article:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow)
}

.specialist-card-head {
    display: flex;
    align-items: center;
    gap: 13px
}

.specialist-card-head>span {
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf2fb;
    color: var(--blue);
    font-weight: 850
}

.specialist-card-head h2 {
    font-size: 17px;
    color: var(--navy);
    margin: 0
}

.specialist-card-head small {
    display: block;
    margin-top: 3px
}

.specialist-full-grid article>p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8
}

.clinic-time {
    margin-top: auto;
    padding: 13px 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column
}

.clinic-time small {
    font-size: 8px;
    color: #8997a8;
    text-transform: uppercase
}

.clinic-time strong {
    font-size: 11px;
    color: var(--navy)
}

.specialist-full-grid article>a {
    margin-top: 14px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800
}

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

.article-grid>article {
    min-height: 250px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    flex-direction: column
}

.article-grid h2 {
    font-size: 20px;
    color: var(--navy);
    margin: 10px 0
}

.article-grid p {
    font-size: 12px;
    color: var(--muted)
}

.article-grid a {
    margin-top: auto;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800
}

.prose {
    font-size: 15px;
    line-height: 1.9;
    color: #45576e
}

.prose h2 {
    font-size: 28px;
    color: var(--navy);
    margin: 42px 0 10px
}

.prose>.button {
    margin-top: 25px
}

.medical-note,
.content-note {
    display: flex;
    gap: 17px;
    padding: 20px;
    border-radius: 9px;
    background: #eef5fc;
    border-left: 4px solid var(--blue);
    margin-bottom: 30px
}

.medical-note b {
    color: var(--navy)
}

.medical-note p,
.content-note p {
    margin: 0;
    color: #5e7086;
    font-size: 12px
}

.form-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 70px;
    align-items: start
}

.form-information>span {
    font-size: 10px;
    color: var(--blue);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .12em
}

.form-information h2 {
    font-size: 34px;
    color: var(--navy);
    line-height: 1.15
}

.form-information>p {
    font-size: 13px;
    color: var(--muted)
}

.form-information ol {
    list-style: none;
    padding: 20px 0;
    margin: 0;
    counter-reset: steps
}

.form-information li {
    position: relative;
    padding: 0 0 24px 55px;
    display: flex;
    flex-direction: column;
    counter-increment: steps
}

.form-information li:before {
    content: counter(steps);
    position: absolute;
    left: 0;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf2fb;
    color: var(--blue);
    font-size: 10px;
    font-weight: 850
}

.form-information li b {
    font-size: 13px;
    color: var(--navy)
}

.form-information li small {
    font-size: 11px;
    color: var(--muted)
}

.note-card {
    background: var(--navy);
    color: #fff;
    padding: 25px;
    border-radius: 10px
}

.note-card p {
    color: #bdcde0;
    font-size: 11px
}

.note-card a {
    font-size: 10px;
    text-decoration: underline
}

.primary-form,
.stack-form,
.dashboard-form {
    display: flex;
    flex-direction: column;
    gap: 18px
}

.primary-form {
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 55px rgba(15, 43, 78, .07)
}

.primary-form h2 {
    margin: 0;
    color: var(--navy);
    font-size: 26px
}

.primary-form>p {
    margin: -12px 0 8px;
    color: var(--muted);
    font-size: 10px
}

.primary-form label,
.stack-form label,
.dashboard-form label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #30435b;
    font-size: 11px;
    font-weight: 700
}

.primary-form input,
.primary-form select,
.primary-form textarea,
.stack-form input,
.stack-form select,
.stack-form textarea,
.dashboard-form input,
.dashboard-form select,
.dashboard-form textarea,
.search-form input,
.inline-update select,
.row-action select,
.row-action textarea {
    width: 100%;
    border: 1px solid #ccd8e6;
    border-radius: 7px;
    background: #fff;
    padding: 12px 13px;
    color: #152a44;
    outline: none;
    font-size: 12px
}

.primary-form input:focus,
.primary-form select:focus,
.primary-form textarea:focus,
.stack-form input:focus,
.dashboard-form input:focus,
.dashboard-form select:focus,
.dashboard-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(7, 85, 182, .09)
}

textarea {
    resize: vertical
}

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

.check-label {
    display: grid !important;
    grid-template-columns: 18px 1fr;
    align-items: start
}

.check-label input {
    width: 17px !important;
    margin-top: 2px
}

.check-label span {
    font-size: 10px;
    line-height: 1.6;
    color: #5f6f82;
    font-weight: 500
}

.form-button,
.dash-button {
    border: 0;
    background: var(--blue);
    color: #fff;
    border-radius: 7px;
    min-height: 47px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(7, 85, 182, .18)
}

.form-button:disabled,
.dash-button:disabled {
    opacity: .5;
    cursor: not-allowed
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 35px
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.contact-cards article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 10px
}

.contact-cards article>span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: #eaf2fb;
    color: var(--blue);
    font-size: 9px;
    font-weight: 850
}

.contact-cards h2 {
    font-size: 16px;
    color: var(--navy)
}

.contact-cards p {
    font-size: 11px;
    color: var(--muted)
}

.emergency-contact {
    border-color: #f1c8cc !important;
    background: #fff8f8
}

.emergency-contact>span {
    background: #fde9eb !important;
    color: var(--red) !important
}

.direction-card {
    padding: 30px;
    border-radius: 12px;
    background: #f4f8fc
}

.map-placeholder {
    height: 210px;
    background: linear-gradient(145deg, #dce9f6, #bcd3e9);
    border-radius: 8px;
    display: grid;
    place-content: center;
    text-align: center
}

.map-placeholder span {
    margin: auto;
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-weight: 900
}

.map-placeholder p {
    font-size: 10px;
    color: #5e7490
}

.direction-card h2 {
    font-size: 20px;
    color: var(--navy);
    margin: 24px 0 6px
}

.direction-card>p {
    font-size: 11px;
    color: var(--muted)
}

.compact-form {
    padding-top: 30px
}

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

.emergency-grid article {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 10px
}

.emergency-grid span {
    color: var(--red);
    font-size: 10px;
    font-weight: 850
}

.emergency-grid h2 {
    font-size: 18px;
    color: var(--navy)
}

.emergency-grid p {
    font-size: 12px;
    color: var(--muted)
}

.success-page {
    min-height: 70vh;
    background: #f3f8fd;
    padding: 90px 20px;
    display: grid;
    place-items: center
}

.success-card {
    width: min(760px, 100%);
    background: #fff;
    border-radius: 15px;
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow)
}

.success-mark {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    margin: auto;
    border-radius: 50%;
    background: #e8f8ef;
    color: #1a9a52;
    font-size: 28px;
    font-weight: 900
}

.success-card>p:first-of-type {
    font-size: 10px;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 850;
    letter-spacing: .1em
}

.success-card h1 {
    font-size: 36px;
    line-height: 1.15;
    color: var(--navy);
    margin: 10px auto 30px;
    max-width: 600px
}

.booking-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
    text-align: left
}

.booking-summary>div {
    padding: 18px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex;
    flex-direction: column
}

.booking-summary>div:nth-child(even) {
    border-right: 0
}

.booking-summary>div:nth-last-child(-n+2) {
    border-bottom: 0
}

.booking-summary small {
    color: #8290a2;
    font-size: 9px
}

.booking-summary strong {
    color: var(--navy);
    font-size: 12px
}

.success-note {
    font-size: 11px;
    color: var(--muted)
}

.success-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 25px
}

.not-found {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 80px 0
}

.not-found span {
    font-size: 90px;
    color: #dfeaf5;
    font-weight: 900
}

.not-found h1 {
    font-size: 38px;
    color: var(--navy);
    margin: 0
}

.not-found p {
    color: var(--muted)
}

/* Authentication */
.auth-body {
    min-height: 100vh;
    background: #eef4fa
}

.auth-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: .88fr 1.12fr
}

.auth-brand {
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, var(--navy), #064693);
    color: #fff;
    padding: 80px clamp(40px, 7vw, 105px);
    display: flex;
    flex-direction: column;
    justify-content: center
}

.auth-brand:after {
    content: "H";
    position: absolute;
    right: -110px;
    bottom: -250px;
    font-size: 520px;
    font-weight: 900;
    color: rgba(255, 255, 255, .035)
}

.auth-brand>a,
.auth-brand>img {
    position: absolute;
    top: 45px;
    left: clamp(40px, 7vw, 105px)
}

.auth-brand img {
    width: 95px
}

.auth-brand>p {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #a9d0ff;
    font-weight: 800
}

.auth-brand h1 {
    font-size: clamp(40px, 4.5vw, 61px);
    line-height: 1.05;
    letter-spacing: -.05em;
    max-width: 550px;
    margin: 10px 0 23px
}

.auth-brand>span {
    max-width: 520px;
    color: #c3d7ec;
    font-size: 13px;
    line-height: 1.9
}

.auth-security {
    position: relative;
    z-index: 2;
    margin-top: 45px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    max-width: 420px
}

.auth-security b {
    font-size: 11px
}

.auth-security small {
    color: #9eb8d5;
    font-size: 9px
}

.auth-panel {
    background: #fff;
    padding: 80px clamp(35px, 8vw, 130px);
    display: flex;
    flex-direction: column;
    justify-content: center
}

.auth-heading {
    margin-bottom: 28px
}

.auth-heading>p {
    font-size: 10px;
    color: var(--blue);
    text-transform: uppercase;
    font-weight: 850;
    letter-spacing: .12em
}

.auth-heading h2 {
    font-size: 34px;
    color: var(--navy);
    margin: 5px 0
}

.auth-heading span {
    font-size: 11px;
    color: var(--muted)
}

.stack-form small,
.dashboard-form small {
    color: #7c899a;
    font-size: 9px;
    font-weight: 500
}

.password-field {
    position: relative
}

.password-field input {
    padding-right: 65px
}

.password-field button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: #eef4fa;
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    border-radius: 5px;
    padding: 7px 9px
}

.auth-links {
    margin-top: 23px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 10px;
    color: #6a798d
}

.auth-links a {
    color: var(--blue);
    font-weight: 800
}

.auth-note,
.local-code {
    margin-top: 30px;
    padding: 17px;
    border-radius: 8px;
    background: #f3f7fb
}

.auth-note b,
.local-code b {
    font-size: 10px;
    color: var(--navy)
}

.auth-note p,
.local-code p {
    font-size: 9px;
    color: #748398;
    margin: 3px 0
}

.local-code strong {
    display: block;
    font-size: 30px;
    letter-spacing: .2em;
    color: var(--blue);
    margin: 8px 0
}

.local-code a {
    font-size: 10px;
    color: var(--blue);
    font-weight: 800;
    text-decoration: underline
}

.code-input {
    text-align: center;
    font-size: 28px !important;
    letter-spacing: .25em !important
}

.inline-auth-form {
    margin-top: 15px
}

.inline-auth-form button {
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 10px;
    font-weight: 800
}

/* Patient and staff dashboards */
.dashboard-body {
    background: #f2f6fa;
    min-height: 100vh
}

.dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 245px 1fr
}

.dashboard-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 245px;
    background: #071b35;
    color: #fff;
    padding: 23px 16px;
    display: flex;
    flex-direction: column;
    z-index: 80;
    overflow-y: auto
}

.dash-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 8px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .09)
}

.dash-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain
}

.dash-brand span {
    display: flex;
    flex-direction: column
}

.dash-brand b {
    font-size: 12px
}

.dash-brand small {
    font-size: 8px;
    color: #8198b3;
    text-transform: uppercase
}

.dashboard-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 22px 0
}

.dashboard-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border-radius: 6px;
    color: #91a6bf;
    font-size: 10px;
    font-weight: 650
}

.dashboard-sidebar nav a>span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: rgba(255, 255, 255, .06);
    font-size: 8px;
    font-weight: 850
}

.dashboard-sidebar nav a.active,
.dashboard-sidebar nav a:hover {
    background: #0d3d74;
    color: #fff
}

.dashboard-sidebar nav a.active>span {
    background: var(--red)
}

.sidebar-foot {
    margin-top: auto;
    padding: 15px 8px;
    border-top: 1px solid rgba(255, 255, 255, .09);
    display: flex;
    flex-direction: column;
    gap: 8px
}

.sidebar-foot a,
.sidebar-foot button {
    border: 0;
    background: transparent;
    color: #8fa4bc;
    text-align: left;
    padding: 5px 0;
    font-size: 9px
}

.dashboard-main {
    grid-column: 2;
    min-width: 0
}

.dashboard-topbar {
    min-height: 88px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    padding: 15px 35px;
    gap: 20px
}

.dashboard-topbar>div:first-of-type p {
    margin: 0;
    color: #8391a2;
    font-size: 8px;
    text-transform: uppercase
}

.dashboard-topbar h1 {
    font-size: 22px;
    color: var(--navy);
    margin: 2px 0
}

.user-chip {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px
}

.user-chip>span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8f1fb;
    color: var(--blue);
    font-size: 10px;
    font-weight: 850
}

.user-chip>div {
    display: flex;
    flex-direction: column
}

.user-chip b {
    font-size: 10px;
    color: var(--navy)
}

.user-chip small {
    font-size: 8px;
    color: #8794a4
}

.sidebar-toggle {
    display: none;
    border: 0;
    background: #edf4fb;
    color: var(--navy);
    border-radius: 6px;
    padding: 8px 10px
}

.dashboard-content {
    padding: 30px 35px 60px;
    max-width: 1600px;
    margin: auto
}

.dashboard-content .flash-wrap {
    position: static;
    width: 100%;
    margin-bottom: 18px
}

.welcome-panel {
    border-radius: 12px;
    padding: 30px 34px;
    background: linear-gradient(110deg, var(--blue-dark), var(--blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
    overflow: hidden;
    position: relative
}

.welcome-panel:after {
    content: "H";
    position: absolute;
    right: 22%;
    top: -130px;
    font-size: 280px;
    color: rgba(255, 255, 255, .04);
    font-weight: 900
}

.welcome-panel>div,
.welcome-panel>a {
    position: relative;
    z-index: 2
}

.welcome-panel p {
    color: #aecdeda;
    margin: 0;
    font-size: 9px;
    text-transform: uppercase
}

.welcome-panel h2 {
    font-size: 25px;
    margin: 4px 0
}

.welcome-panel span {
    color: #c1d5e9;
    font-size: 10px
}

.welcome-panel .dash-button {
    background: #fff;
    color: var(--blue-dark)
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 22px
}

.metric-grid article {
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e9f1;
    border-radius: 9px;
    display: flex;
    align-items: center;
    gap: 13px
}

.metric-grid article>span {
    width: 40px;
    height: 40px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    background: #eaf2fb;
    color: var(--blue);
    font-size: 9px;
    font-weight: 850
}

.metric-grid article>div {
    display: flex;
    flex-direction: column
}

.metric-grid small {
    font-size: 8px;
    color: #8290a1;
    text-transform: uppercase
}

.metric-grid strong {
    font-size: 21px;
    color: var(--navy)
}

.dashboard-grid {
    display: grid;
    gap: 18px
}

.dashboard-grid.two-thirds {
    grid-template-columns: 1.3fr .7fr
}

.dashboard-grid.equal {
    grid-template-columns: 1fr 1fr
}

.dashboard-grid.form-and-list {
    grid-template-columns: minmax(340px, .7fr) 1.3fr
}

.dash-card {
    background: #fff;
    border: 1px solid #e0e8f1;
    border-radius: 10px;
    padding: 23px;
    min-width: 0
}

.dash-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 19px
}

.dash-card-head small {
    font-size: 8px;
    color: #8392a4;
    text-transform: uppercase
}

.dash-card-head h2 {
    margin: 2px 0;
    color: var(--navy);
    font-size: 16px
}

.dash-card-head>a {
    color: var(--blue);
    font-size: 9px;
    font-weight: 800
}

.appointment-highlight {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 15px;
    align-items: center;
    padding: 20px;
    background: #f4f8fc;
    border-radius: 8px
}

.date-block {
    width: 55px;
    height: 60px;
    border-radius: 7px;
    background: #fff;
    display: grid;
    place-content: center;
    text-align: center;
    border: 1px solid var(--line)
}

.date-block strong {
    font-size: 22px;
    color: var(--blue);
    line-height: 1
}

.date-block span {
    font-size: 8px;
    text-transform: uppercase;
    color: #7d8b9c
}

.appointment-highlight h3 {
    font-size: 13px;
    color: var(--navy);
    margin: 0
}

.appointment-highlight p {
    font-size: 10px;
    color: #68788d;
    margin: 3px 0
}

.appointment-highlight small {
    font-size: 8px;
    color: #96a1af
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 8px;
    border-radius: 999px;
    background: #eef3f7;
    color: #647487;
    font-size: 8px;
    font-weight: 800;
    text-transform: capitalize;
    white-space: nowrap
}

.status-pending,
.status-processing,
.status-new,
.status-limited,
.status-under_review {
    background: #fff4d9;
    color: #856016
}

.status-confirmed,
.status-ready,
.status-active,
.status-published,
.status-available,
.status-approved,
.status-resolved,
.status-completed {
    background: #e6f7ed;
    color: #1c7a45
}

.status-cancelled,
.status-suspended,
.status-declined,
.status-unavailable {
    background: #fdebed;
    color: #a23540
}

.status-rescheduled,
.status-reviewing,
.status-in_progress,
.status-booking_only {
    background: #e9f2fc;
    color: #2862a3
}

.record-list {
    display: flex;
    flex-direction: column
}

.record-list article {
    display: grid;
    grid-template-columns: 36px 1fr auto;
    gap: 11px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf1f5
}

.record-list article:last-child {
    border: 0
}

.record-list article>span {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #eef4fa;
    display: grid;
    place-items: center;
    color: var(--blue);
    font-size: 8px;
    font-weight: 850
}

.record-list article>div {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.record-list b {
    font-size: 10px;
    color: var(--navy)
}

.record-list small {
    font-size: 8px;
    color: #8b98a7
}

.record-list p {
    font-size: 9px;
    color: #647489;
    margin: 5px 0 0
}

.record-list.expanded {
    max-height: 700px;
    overflow: auto
}

.empty-state {
    min-height: 180px;
    display: grid;
    place-content: center;
    text-align: center;
    padding: 20px
}

.empty-state>span {
    margin: auto;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eef4fa;
    color: var(--blue);
    font-size: 9px
}

.empty-state h3 {
    font-size: 14px;
    color: var(--navy);
    margin: 10px 0 3px
}

.empty-state p {
    font-size: 10px;
    color: #7a899b
}

.empty-state a {
    color: var(--blue);
    font-size: 9px;
    font-weight: 800
}

.empty-state.small {
    min-height: 90px
}

.table-card {
    padding: 0;
    overflow: visible
}

.table-card>.dash-card-head {
    padding: 22px 23px 0
}

.responsive-table {
    overflow-x: auto
}

.responsive-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px
}

.responsive-table th {
    padding: 12px 16px;
    background: #f7f9fc;
    color: #7c899a;
    font-size: 8px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: .06em
}

.responsive-table td {
    padding: 14px 16px;
    border-top: 1px solid #e8eef4;
    color: #526276;
    font-size: 9px;
    vertical-align: middle
}

.responsive-table td>b {
    display: block;
    color: var(--navy);
    font-size: 9px
}

.responsive-table td>small {
    display: block;
    color: #8d99a8;
    font-size: 8px;
    max-width: 280px
}

.limited-text {
    max-width: 300px
}

.table-link {
    color: var(--blue);
    font-weight: 800
}

.content-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px
}

.search-form {
    display: flex;
    min-width: 360px
}

.search-form input {
    border-radius: 7px 0 0 7px
}

.search-form button,
.inline-update button,
.row-action button {
    border: 0;
    background: var(--blue);
    color: #fff;
    padding: 0 13px;
    border-radius: 0 6px 6px 0;
    font-size: 8px;
    font-weight: 800
}

.row-action {
    position: relative
}

.row-action summary {
    list-style: none;
    color: var(--blue);
    font-size: 8px;
    font-weight: 800;
    cursor: pointer
}

.row-action summary::-webkit-details-marker {
    display: none
}

.row-action form {
    position: absolute;
    right: 0;
    top: 22px;
    z-index: 15;
    width: 260px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 8px
}

.row-action button {
    border-radius: 5px;
    min-height: 32px
}

.row-action textarea {
    min-height: 80px
}

.timeline-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 28px
}

.timeline-card article {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 25px;
    padding: 0 0 34px;
    position: relative
}

.timeline-card article:before {
    content: "";
    position: absolute;
    left: 34px;
    top: 55px;
    bottom: 0;
    width: 1px;
    background: #dbe5ef
}

.timeline-card article:last-child:before {
    display: none
}

.timeline-date {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #eaf2fb;
    display: grid;
    place-content: center;
    text-align: center
}

.timeline-date b {
    font-size: 20px;
    color: var(--blue);
    line-height: 1
}

.timeline-date span {
    font-size: 8px;
    color: #78899d
}

.timeline-card article>div:last-child>small {
    font-size: 8px;
    color: #8694a6
}

.timeline-card h2 {
    font-size: 15px;
    color: var(--navy);
    margin: 3px 0
}

.timeline-card p {
    font-size: 10px;
    color: #607186
}

.document-list article {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 11px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--line)
}

.document-list article>span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    background: #eaf2fb;
    color: var(--blue);
    border-radius: 6px;
    font-size: 8px;
    font-weight: 850
}

.document-list article>div {
    display: flex;
    flex-direction: column
}

.document-list b {
    font-size: 10px;
    color: var(--navy)
}

.document-list small {
    font-size: 8px;
    color: #8794a4
}

.document-list a {
    color: var(--blue);
    font-size: 8px;
    font-weight: 800
}

.message-list {
    max-height: 650px;
    overflow: auto
}

.message-list article {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line)
}

.message-list article>span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf2fb;
    color: var(--blue);
    font-size: 11px
}

.message-list small,
.message-list time {
    font-size: 8px;
    color: #8492a4
}

.message-list h3 {
    font-size: 11px;
    color: var(--navy);
    margin: 2px 0
}

.message-list p {
    font-size: 9px;
    color: #637388;
    white-space: pre-wrap
}

.profile-card {
    max-width: 900px
}

.profile-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line)
}

.profile-summary>span {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf2fb;
    color: var(--blue);
    font-size: 16px;
    font-weight: 850
}

.profile-summary h2 {
    font-size: 20px;
    color: var(--navy);
    margin: 0
}

.profile-summary p {
    font-size: 9px;
    color: #7f8d9e;
    margin: 2px 0
}

.wide-form {
    max-width: 850px
}

.emergency-dashboard {
    padding: 38px;
    border-radius: 12px;
    background: linear-gradient(110deg, #8b1521, var(--red));
    color: #fff;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 25px
}

.emergency-dashboard>span {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    display: grid;
    place-items: center;
    font-weight: 850
}

.emergency-dashboard h2 {
    font-size: 28px;
    margin: 3px 0
}

.emergency-dashboard p {
    font-size: 11px;
    color: #ffe1e4
}

.content-note {
    margin: 0 0 18px
}

.content-note>span {
    width: 38px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #dceaf8;
    color: var(--blue);
    border-radius: 5px;
    font-size: 8px;
    font-weight: 850;
    flex: 0 0 auto
}

.content-note.danger {
    background: #fff0f1;
    border-left-color: var(--red)
}

.content-note.danger>span {
    background: #fbd7db;
    color: var(--red)
}

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

.feedback-admin-grid h2 {
    font-size: 13px;
    color: var(--navy)
}

.feedback-admin-grid>article>p {
    font-size: 10px;
    color: #66768a;
    min-height: 55px
}

.feedback-score {
    display: flex;
    align-items: center;
    gap: 8px
}

.feedback-score strong {
    font-size: 25px;
    color: var(--blue)
}

.feedback-score>span:not(.status-badge) {
    font-size: 8px;
    color: #8794a5
}

.feedback-score .status-badge {
    margin-left: auto
}

.feedback-admin-grid dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px
}

.feedback-admin-grid dl>div {
    display: flex;
    justify-content: space-between;
    background: #f5f8fb;
    padding: 8px;
    border-radius: 4px
}

.feedback-admin-grid dt,
.feedback-admin-grid dd {
    font-size: 8px;
    margin: 0
}

.inline-update {
    display: flex;
    margin-top: 12px
}

.inline-update select {
    border-radius: 5px 0 0 5px;
    padding: 8px
}

.admin-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-height: 720px;
    overflow: auto
}

.admin-media-grid article {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden
}

.admin-media-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover
}

.admin-media-grid article>div {
    padding: 12px
}

.admin-media-grid small {
    font-size: 7px;
    color: var(--red);
    text-transform: uppercase
}

.admin-media-grid h3 {
    font-size: 10px;
    color: var(--navy);
    margin: 3px 0
}

.admin-media-grid form {
    display: inline
}

.danger-link {
    border: 0;
    background: transparent;
    color: var(--red);
    font-size: 8px;
    font-weight: 800;
    margin-left: 5px
}

.settings-card {
    max-width: 1000px
}

@media(max-width:1100px) {
    .feature-group ul {
        grid-template-columns: 1fr 1fr
    }

    .specialist-full-grid,
    .article-grid {
        grid-template-columns: 1fr 1fr
    }

    .dashboard-grid.form-and-list {
        grid-template-columns: 1fr
    }

    .metric-grid {
        grid-template-columns: 1fr 1fr
    }

    .feedback-admin-grid {
        grid-template-columns: 1fr 1fr
    }

    .form-layout {
        gap: 35px
    }

    .dashboard-grid.two-thirds {
        grid-template-columns: 1fr
    }
}

@media(max-width:850px) {
    .auth-shell {
        grid-template-columns: 1fr
    }

    .auth-brand {
        min-height: 420px;
        padding: 110px 35px 55px
    }

    .auth-brand>a,
    .auth-brand>img {
        left: 35px;
        top: 25px
    }

    .auth-brand h1 {
        font-size: 42px
    }

    .auth-panel {
        padding: 55px 30px
    }

    .dashboard-shell {
        display: block
    }

    .dashboard-sidebar {
        transform: translateX(-105%);
        transition: transform .25s;
        box-shadow: 20px 0 50px rgba(0, 0, 0, .2)
    }

    .dashboard-shell.sidebar-open .dashboard-sidebar {
        transform: translateX(0)
    }

    .dashboard-main {
        grid-column: auto
    }

    .sidebar-toggle {
        display: block
    }

    .dashboard-topbar {
        padding: 13px 20px
    }

    .dashboard-content {
        padding: 23px 18px 50px
    }

    .user-chip>div {
        display: none
    }

    .form-layout,
    .contact-layout {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr
    }

    .directory-grid {
        grid-template-columns: 1fr
    }

    .emergency-grid {
        grid-template-columns: 1fr
    }

    .footer {
        margin-top: 0
    }
}

@media(max-width:620px) {
    .page-hero {
        padding: 65px 0
    }

    .page-hero h1 {
        font-size: 41px
    }

    .feature-group {
        grid-template-columns: 1fr;
        padding: 28px
    }

    .feature-group ul {
        grid-template-columns: 1fr
    }

    .gallery-grid,
    .specialist-full-grid,
    .article-grid {
        grid-template-columns: 1fr
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .primary-form {
        padding: 24px
    }

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

    .success-card {
        padding: 30px 20px
    }

    .success-card h1 {
        font-size: 28px
    }

    .booking-summary {
        grid-template-columns: 1fr
    }

    .booking-summary>div {
        border-right: 0
    }

    .booking-summary>div:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }

    .booking-summary>div:last-child {
        border-bottom: 0
    }

    .success-actions {
        flex-direction: column
    }

    .metric-grid {
        grid-template-columns: 1fr
    }

    .dashboard-grid.equal {
        grid-template-columns: 1fr
    }

    .welcome-panel {
        align-items: flex-start;
        flex-direction: column
    }

    .welcome-panel h2 {
        font-size: 21px
    }

    .content-toolbar {
        align-items: stretch;
        flex-direction: column
    }

    .search-form {
        min-width: 0;
        width: 100%
    }

    .feedback-admin-grid,
    .admin-media-grid {
        grid-template-columns: 1fr
    }

    .user-chip>span {
        width: 34px;
        height: 34px
    }

    .dashboard-topbar h1 {
        font-size: 18px
    }

    .emergency-dashboard {
        grid-template-columns: 1fr
    }

    .auth-links {
        flex-direction: column
    }

    .flash-wrap {
        top: 115px
    }
}

.welcome-panel p {
    color: #aecdea
}

.schedule-row>small em {
    display: block;
    margin-top: 3px;
    color: var(--blue);
    font-size: 8px;
    font-style: normal;
    font-weight: 850
}

.public-fee-notice {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: #eef6ff;
    border: 1px solid #cfe2f8;
    border-left: 4px solid var(--blue);
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 24px
}

.public-fee-notice b {
    color: var(--navy);
    font-size: 12px;
    white-space: nowrap
}

.public-fee-notice p {
    color: #53667c;
    font-size: 10px;
    line-height: 1.65;
    margin: 0
}

.clinic-fees {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 13px 0
}

.clinic-fees>div {
    background: #eef6ff;
    border: 1px solid #d4e5f7;
    border-radius: 6px;
    padding: 10px
}

.clinic-fees small {
    display: block;
    color: #6b7b8f;
    font-size: 7px;
    text-transform: uppercase;
    letter-spacing: .07em
}

.clinic-fees strong {
    display: block;
    color: var(--blue);
    font-size: 13px;
    margin-top: 3px
}

.specialist-fee-manager {
    margin-top: 20px;
    max-width: 1100px
}

.specialist-fee-head,
.specialist-fee-row {
    display: grid;
    grid-template-columns: minmax(180px, 1.3fr) minmax(160px, 1fr) minmax(160px, 1fr);
    gap: 14px;
    align-items: center
}

.specialist-fee-head {
    padding: 0 13px 8px;
    color: #728197;
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em
}

.specialist-fee-rows {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden
}

.specialist-fee-row {
    padding: 12px 13px;
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.specialist-fee-row:last-child {
    border-bottom: 0
}

.specialist-fee-row:nth-child(even) {
    background: #f8fafc
}

.specialist-fee-row>strong {
    color: var(--navy);
    font-size: 10px
}

.specialist-fee-row label {
    margin: 0
}

.specialist-fee-row label>span {
    display: none
}

.specialist-fee-row input {
    background: #fff
}

.admin-fee-summary {
    color: var(--blue) !important;
    font-weight: 800
}

.fee-disclaimer-admin,
.fee-form-note {
    display: block;
    color: #65758a;
    font-size: 8px;
    line-height: 1.6
}

.fee-disclaimer-admin {
    margin: 4px 0
}

.selected-fee-summary {
    background: #eaf5ff;
    border: 1px solid #c8e0f7;
    border-radius: 6px;
    color: var(--blue);
    font-size: 10px;
    font-weight: 850;
    padding: 11px 13px;
    margin-top: -4px
}

.selected-fee-summary[hidden] {
    display: none
}

@media(max-width:700px) {
    .public-fee-notice {
        display: block
    }

    .public-fee-notice b {
        display: block;
        margin-bottom: 7px
    }

    .specialist-fee-head {
        display: none
    }

    .specialist-fee-row {
        grid-template-columns: 1fr
    }

    .specialist-fee-row label>span {
        display: block;
        color: #67778b;
        font-size: 8px;
        margin-bottom: 5px
    }

    .clinic-fees {
        grid-template-columns: 1fr
    }
}

/* Medical Director profile */
.medical-director-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fbff 0%, #edf5fd 100%)
}

.medical-director-section:before {
    content: "H";
    position: absolute;
    right: -45px;
    top: -165px;
    color: rgba(7, 85, 182, .035);
    font-size: 520px;
    font-weight: 900;
    line-height: 1
}

.medical-director-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 90px
}

.medical-director-portrait {
    max-width: 430px;
    margin: 0;
    position: relative
}

.medical-director-photo-frame {
    position: relative;
    aspect-ratio: 4/5;
    padding: 11px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(15, 43, 78, .16)
}

.medical-director-photo-frame:before {
    content: "";
    position: absolute;
    inset: -12px 18px 20px -12px;
    border: 1px solid #c9ddf1;
    border-radius: 20px;
    z-index: -1
}

.medical-director-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px
}

.medical-director-portrait figcaption {
    position: relative;
    margin: -48px 22px 0 48px;
    padding: 18px 21px;
    background: var(--navy);
    color: #fff;
    border-radius: 9px;
    box-shadow: 0 16px 35px rgba(7, 31, 66, .2);
    display: flex;
    flex-direction: column
}

.medical-director-portrait figcaption span {
    color: #9ecbff;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em
}

.medical-director-portrait figcaption strong {
    font-size: 15px;
    margin-top: 3px
}

.medical-director-message {
    position: relative;
    max-width: 650px
}

.medical-director-message h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(39px, 4.3vw, 58px);
    line-height: 1.08;
    letter-spacing: -.045em
}

.medical-director-message blockquote {
    position: relative;
    margin: 32px 0 28px;
    padding: 0 0 0 34px;
    color: #50647d;
    font-size: 15px;
    line-height: 1.95;
    border-left: 3px solid var(--red)
}

.medical-director-message blockquote:before {
    content: "“";
    position: absolute;
    left: 10px;
    top: -15px;
    color: #a9c8e8;
    font-family: Georgia, serif;
    font-size: 42px;
    line-height: 1
}

.medical-director-signature {
    display: flex;
    flex-direction: column
}

.medical-director-signature strong {
    color: var(--navy);
    font-size: 14px
}

.medical-director-signature span {
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em
}

.director-settings-card {
    margin-bottom: 20px
}

.medical-director-admin-preview {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px;
    margin-bottom: 18px;
    background: #f4f8fc;
    border: 1px solid var(--line);
    border-radius: 8px
}

.medical-director-admin-preview img {
    width: 82px;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: center top;
    border-radius: 7px
}

.medical-director-admin-preview div {
    display: flex;
    flex-direction: column
}

.medical-director-admin-preview b {
    color: var(--navy);
    font-size: 11px
}

/* Reliable mobile dashboard menu: works without depending on JavaScript. */
.dashboard-sidebar-state {
    position: fixed;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    clip-path: inset(50%)
}

.dashboard-sidebar-backdrop {
    display: none
}

.sidebar-toggle {
    cursor: pointer;
    user-select: none
}

@media(max-width:850px) {
    .dashboard-sidebar-state:checked~.dashboard-sidebar {
        transform: translateX(0)
    }

    .dashboard-sidebar-state:checked~.dashboard-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 70;
        display: block;
        background: rgba(4, 18, 38, .52);
        cursor: pointer
    }

    .dashboard-sidebar-state:focus-visible~.dashboard-main .sidebar-toggle {
        outline: 3px solid rgba(7, 85, 182, .3);
        outline-offset: 3px
    }
}

.medical-director-admin-preview small {
    color: #7b8999;
    font-size: 8px
}

@media(max-width:850px) {
    .medical-director-layout {
        grid-template-columns: 1fr;
        gap: 65px
    }

    .medical-director-portrait {
        width: min(430px, 100%);
        margin: auto
    }

    .medical-director-message {
        max-width: 720px
    }

    .medical-director-section:before {
        right: -170px
    }
}

@media(max-width:620px) {
    .medical-director-layout {
        gap: 55px
    }

    .medical-director-portrait figcaption {
        margin: -38px 12px 0 30px
    }

    .medical-director-message h2 {
        font-size: 38px
    }

    .medical-director-message blockquote {
        padding-left: 25px;
        font-size: 13px
    }

    .medical-director-message blockquote:before {
        left: 6px
    }

    .medical-director-section:before {
        display: none
    }
}
/* =========================================================
   MOBILE DASHBOARD SIDEBAR - SIGN OUT FIX
   ========================================================= */

@media (max-width: 850px) {

    .dashboard-sidebar {
        height: 100dvh;
        max-height: 100dvh;
        overflow-y: auto;
        overflow-x: hidden;
        padding-bottom: 25px;
    }

    .sidebar-foot {
        margin-top: 20px;
        flex-shrink: 0;
        padding-bottom: 20px;
    }

}

/* =========================================================
   HARMONY HOSPITAL - FLOATING WHATSAPP CHAT BUTTON
   ========================================================= */

.harmony-whatsapp-chat {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 999999 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 50px !important;
    padding: 0 16px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    line-height: 1 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22) !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease !important;
}

.harmony-whatsapp-chat:hover {
    background: #1ebe5d !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .28) !important;
}

.harmony-whatsapp-chat:focus-visible {
    outline: 3px solid rgba(37, 211, 102, .35) !important;
    outline-offset: 4px !important;
}

.harmony-whatsapp-icon {
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    display: block !important;
    flex: 0 0 25px !important;
}

.harmony-whatsapp-label {
    display: inline-block !important;
    white-space: nowrap !important;
}

@media (max-width: 620px) {
    .harmony-whatsapp-chat {
        right: 14px !important;
        bottom: 14px !important;
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        padding: 0 !important;
        border-radius: 50% !important;
    }

    .harmony-whatsapp-label {
        display: none !important;
    }

    .harmony-whatsapp-icon {
        width: 27px !important;
        height: 27px !important;
        min-width: 27px !important;
        min-height: 27px !important;
        flex-basis: 27px !important;
    }
}

/* =========================================================
   WHATSAPP CHAT BUTTON - LOWER RIGHT CORNER
   ========================================================= */

.harmony-whatsapp-chat {
    position: fixed !important;

    right: 20px !important;
    bottom: 20px !important;

    width: 56px !important;
    height: 56px !important;

    min-width: 56px !important;
    min-height: 56px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #25D366 !important;
    color: #ffffff !important;

    border-radius: 50% !important;
    border: none !important;

    text-decoration: none !important;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.28) !important;

    z-index: 9999999 !important;

    opacity: 1 !important;
    visibility: visible !important;
}

.harmony-whatsapp-icon {
    width: 30px !important;
    height: 30px !important;
    display: block !important;
}

.harmony-whatsapp-label {
    display: none !important;
}

.harmony-whatsapp-chat:hover {
    background: #1ebe5d !important;
    transform: scale(1.06);
}


/* MOBILE */

@media (max-width: 620px) {

    .harmony-whatsapp-chat {
        right: 14px !important;
        bottom: 14px !important;

        width: 52px !important;
        height: 52px !important;

        min-width: 52px !important;
        min-height: 52px !important;
    }

    .harmony-whatsapp-icon {
        width: 28px !important;
        height: 28px !important;
    }
}