/* Kemet Hospital shared stylesheet — cleaned October 2026.
   Page-specific assets/management-pages.css and assets/gallery-page.css remain separate. */

:root {
    --ink: #28322f;
    --green: #087a55;
    --deep: #004940;
    --brown: #8b3f2f;
    --brown-dark: #003f38;
    --mint: #e1f1ea;
    --lime: #d8edb2;
    --paper: #f9faf8;
    --line: #d9e4df;
    --white: #fff;
    --danger: #a83232;
    --shadow: 0 18px 55px rgba(19, 52, 46, 0.11);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font: 16px/1.65 "DM Sans", sans-serif;
    background: #fff;
}

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

h1,
h2,
h3 {
    font-family: "Libre Franklin", sans-serif;
    line-height: 1.12;
    margin: 0 0 1rem;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5.6rem);
    letter-spacing: -0.065em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    letter-spacing: -0.045em;
}

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

.topbar {
    background: var(--deep);
    color: #d7eee8;
    font-size: 0.86rem;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.brand small {
    display: block;
    font-weight: 500;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 5px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-size: 1.9rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffff;
}

.site-header nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    background: #087a55;
    color: #fff;
    border: 1px solid #087a55;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: none;
    text-shadow: none;
    animation: none;
    transform: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    background: #066344;
    border-color: #066344;
    color: #fff;
    box-shadow: none;
    transform: none;
}

.btn-small {
    padding: 11px 17px;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid #a8bbb4;
}

.hero {
    background: linear-gradient(135deg, #eff7f3 0%, #fff 72%);
    padding: 76px 0 64px;
}

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

.eyebrow {
    text-transform: uppercase;
    color: var(--green);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    display: block;
    margin-bottom: 18px;
}

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

.hero-copy > p {
    max-width: 630px;
    font-size: 1.17rem;
    color: #506762;
}

.hero-copy >h1 {
    font-size: 4.6rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin: 32px 0 45px;
}

.trust-row {
    display: flex;
    gap: 38px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}

.trust-row div {
    display: grid;
}

.trust-row strong {
    font-size: 1.25rem;
}

.trust-row span {
    font-size: 0.8rem;
    color: #667a75;
}

.hero-photo {
    height: 560px;
    border-radius: 180px 20px 20px 20px;
    background: linear-gradient(165deg, rgba(0, 73, 64, 0.08), rgba(0, 73, 64, 0.55)), url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1100&q=85") center/cover;
    position: relative;
    box-shadow: var(--shadow);
}

.availability {
    position: absolute;
    left: -42px;
    bottom: 36px;
    background: white;
    padding: 18px 22px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 13px;
    align-items: center;
}

.availability small {
    display: block;
}

.pulse {
    width: 13px;
    height: 13px;
    background: #2ca36c;
    border-radius: 50%;
    box-shadow: 0 0 0 7px #dbf2e6;
}

.quick {
    transform: translateY(-1px);
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--deep);
    color: white;
    border-radius: 12px;
    overflow: hidden;
}

.quick-grid a {
    padding: 27px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    position: relative;
}

.quick-grid a:hover {
    background: var(--green);
}

.quick-grid span {
    position: absolute;
    right: 18px;
    top: 12px;
    color: #8cb7af;
}

.quick-grid small {
    color: #b8d2cd;
}

.quick-grid .urgent {
    background: #8b3f2f;
}

.section {
    padding: 70px 0;
}

.soft {
    background: var(--paper);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 45px;
}

.section-head > p {
    max-width: 460px;
    color: #5f736e;
}

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

.service-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 28px;
    min-height: 245px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    transition: 0.25s;
}

.card-no {
    color: var(--green);
    font-weight: 700;
    margin-bottom: 45px;
}

.service-card p {
    color: #61736f;
}

.service-card a {
    margin-top: auto;
    color: var(--green);
    font-weight: 700;
}

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

.doctor-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.doctor-card h3 {
    margin-bottom: 5px;
}

.doctor-card p {
    color: var(--green);
    font-weight: 700;
    margin: 0;
}

.doctor-initials {
    width: 80px;
    height: 90px;
    background: var(--mint);
    border-radius: 40px 40px 10px 10px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--green);
}

.cta {
    background: linear-gradient( 115deg, var(--green), var(--deep) 62%, var(--brown-dark) );
    color: #fff;
    padding: 68px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta h2 {
    max-width: 720px;
}

.light {
    color: var(--lime);
}

.btn-white {
    background: white;
    color: var(--green);
    margin-right: 8px;
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.form-hero {
    padding: 80px 0 100px;
    background: var(--paper);
}

.form-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.form-layout h1 {
    font-size: clamp(2.7rem, 5vw, 4.7rem);
}

.notice {
    border-left: 4px solid var(--brown);
    background: #fff;
    padding: 18px 20px;
    margin-top: 35px;
}

.notice p {
    margin: 4px 0;
}

.form-card {
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.field {
    display: grid;
    gap: 7px;
}

.field.full,
.full {
    grid-column: 1/-1;
}

label {
    font-weight: 700;
    font-size: 0.88rem;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cddbd6;
    border-radius: 7px;
    padding: 13px 14px;
    font: inherit;
    background: white;
    color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid #d6eee8;
    border-color: var(--green);
}

.consent {
    display: flex;
    gap: 10px;
    font-weight: 500;
}

.consent input {
    width: auto;
}

.check-list {
    padding: 0;
    list-style: none;
}

.check-list li {
    padding: 9px 0;
}

.check-list li:before {
    content: "✓";
    color: var(--green);
    font-weight: 800;
    margin-right: 10px;
}

.alert {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 8px;
}

.alert.success {
    background: #dff3e7;
    color: #1d663f;
}

.alert.error {
    background: #fde4e3;
    color: #8e2d2a;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--paper);
    padding: 25px;
}

.login-card {
    width: min(440px, 100%);
    background: white;
    padding: 38px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: grid;
    gap: 18px;
}

.login-card label {
    display: grid;
    gap: 7px;
}

.admin-body {
    background: #f2f6f4;
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    width: 245px;
    height: 100vh;
    background: #0b3832;
    color: white;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
}

.sidebar nav {
    display: grid;
    gap: 6px;
    margin: 45px 0 auto;
}

.sidebar nav a {
    padding: 11px 13px;
    border-radius: 7px;
}

.sidebar nav a.active,
.sidebar nav a:hover {
    background: #145048;
}

.admin-main {
    margin-left: 245px;
    padding: 38px;
    max-width: 1500px;
}

.admin-main > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.admin-main > header h1 {
    font-size: 2rem;
    letter-spacing: -0.04em;
}

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

.stat-grid > div {
    background: white;
    padding: 23px;
    border-radius: 10px;
    border: 1px solid var(--line);
    display: grid;
}

.stat-grid strong {
    font-size: 2.2rem;
}

.admin-panel {
    background: white;
    border: 1px solid var(--line);
    padding: 24px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.admin-panel h2 {
    font-size: 1.2rem;
}

.table-wrap {
    overflow: auto;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.88rem;
}

th,
td {
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 13px 10px;
    white-space: nowrap;
}

td form {
    display: flex;
    gap: 6px;
}

td select {
    padding: 7px;
}

.status {
    padding: 5px 9px;
    border-radius: 20px;
    background: #edf1ef;
}

.status.confirmed,
.status.contacted,
.status.completed {
    background: #dff2e7;
    color: #17633b;
}

.status.cancelled {
    background: #f8dfdf;
    color: #952e2e;
}

.inline-form {
    display: flex;
    gap: 10px;
}

.inline-form input {
    flex: 1;
}

.list-stack {
    display: grid;
}

.list-stack > div {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 18px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.danger {
    color: var(--danger);
    background: none;
    border: 0;
    cursor: pointer;
}

.settings-form {
    max-width: 650px;
    display: grid;
    gap: 17px;
}

.settings-form label {
    display: grid;
    gap: 7px;
}

.text-link {
    color: var(--green);
    font-weight: 700;
}

@media (max-width: 850px) {
    .hero {
        padding-top: 45px;
    }

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

    .hero-photo {
        height: 430px;
    }

    .availability {
        left: 16px;
    }

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

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

    .section-head,
    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .sidebar {
        position: static;
        width: auto;
        height: auto;
    }

    .sidebar nav {
        grid-template-columns: repeat(3, 1fr);
        margin: 25px 0;
    }

    .admin-main {
        margin: 0;
        padding: 22px;
    }

    .admin-main > header {
        align-items: start;
    }

    .inline-form {
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .wrap {
        width: min(100% - 28px, 1180px);
    }

    .topbar-inner {
        font-size: 0.72rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero-photo {
        height: 360px;
    }

    .hero-actions {
        flex-direction: column;
    }

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

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

    .section {
        padding: 70px 0;
    }

    .form-card {
        padding: 22px;
        grid-template-columns: 1fr;
    }

    .form-layout {
        gap: 35px;
    }

    .cta-inner .btn {
        width: 100%;
        margin: 5px 0;
    }

    .sidebar nav {
        grid-template-columns: 1fr 1fr;
    }

    .admin-main > header {
        display: grid;
        gap: 10px;
    }

    .list-stack > div {
        grid-template-columns: 1fr;
    }

    .admin-panel {
        padding: 16px;
    }
}

.hero-light {
    color: var(--brown);
}

/* Three-column healthcare features */

.care-features {
    padding: 75px 0;
    background: #ffffff;
}

.care-features-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.care-features-heading h2 {
    margin-bottom: 20px;
    color: #123e34;
}

.care-features-heading > p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #5f736e;
    font-size: 1.05rem;
}

.heartbeat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #087a55;
}

.heartbeat span {
    width: 35px;
    border-top: 2px solid #087a55;
}

.heartbeat i {
    font-size: 1.25rem;
}

.care-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 55px;
    position: relative;
}

.care-feature {
    position: relative;
    text-align: center;
    padding: 0 15px;
}

/* Dotted connecting lines */

.care-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 55px;
    left: calc(50% + 75px);
    width: calc(100% - 95px);
    border-top: 3px dotted #8fc8b6;
}

.care-icon {
    position: relative;
    z-index: 2;
    width: 112px;
    height: 112px;
    margin: 0 auto 30px;
    display: grid;
    place-items: center;
    border: 2px solid #d7e5df;
    border-radius: 50%;
    background: #ffffff;
    color: #087a55;
    font-size: 2.25rem;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.care-feature:first-child .care-icon,
.care-feature:hover .care-icon {
    background: #087a55;
    border-color: #087a55;
    color: #ffffff;
    transform: translateY(-5px);
}

.care-feature h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
    color: #263c35;
}

.care-feature p {
    margin: 0 auto 17px;
    max-width: 320px;
    color: #60736c;
    line-height: 1.7;
}

.care-feature a {
    color: #087a55;
    font-weight: 700;
}

.care-feature a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 850px) {
    .care-features-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .care-feature:not(:last-child)::after {
        display: none;
    }

    .care-features-heading {
        margin-bottom: 45px;
    }
}

@media (max-width: 600px) {
    .care-features {
        padding: 55px 0;
    }

    .care-icon {
        width: 95px;
        height: 95px;
        font-size: 1.9rem;
    }
}

.hero-full .hero-copy .typewriter {
    color: #ffffff;
}

/* Hero typewriter */

.hero-typewriter-heading {
    width: 100%;
    max-width: 760px;
    min-height: 2.25em;
    margin: 0 0 48px;
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 1.08;
    overflow: hidden;
}

.typewriter {
    display: inline;
    min-height: 1.15em;
    color: #ffffff;
    font-style: normal;
    white-space: pre-line;
}

.typewriter .hospital-name {
    color: white;
}

.typewriter-highlight {
    color: #8b3f2f;
}

.typewriter::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 0.85em;
    margin-left: 7px;
    background: #ffffff;
    vertical-align: -0.05em;
    animation: typewriterCursor 0.7s step-end infinite;
}

@keyframes typewriterCursor {
    50% {
        opacity: 0;
    }
}

@media (max-width: 700px) {
    .hero-typewriter-heading {
        min-height: 3.3em;
        margin-bottom: 32px;
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    .typewriter::after {
        display: none;
    }
}

/* ========================================
   INDIVIDUAL SERVICE PAGE HERO
======================================== */

.service-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    background-color: #17372f;
    background-image: var(--service-image);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: contain;
    color: #ffffff;
    overflow: hidden;
}

/* Dark overlay for readable text */

.service-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient( 90deg, rgba(7, 28, 23, 0.92) 0%, rgba(7, 28, 23, 0.7) 45%, rgba(7, 28, 23, 0.18) 100% );
}

.service-hero .service-hero-content {
    position: relative;
    z-index: 2;
    width: 82%;
    max-width: 1200px;
    margin-inline: auto;
    padding: 0;
}

@media (max-width: 650px) {
    .service-hero .service-hero-content {
        width: calc(100% - 40px);
    }
}

.service-category {
    display: block;
    margin-bottom: 24px;
    color: #e2aa9e;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.service-hero h1 {
    max-width: 950px;
    margin: 0 0 26px;
    color: #ffffff;
    font-size: clamp(3rem, 5.5vw, 5.25rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.service-hero p {
    max-width: 680px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.15rem;
    line-height: 1.7;
}

.service-hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #087a55;
    color: #ffffff;
    border: 1px solid #087a55;
}

.service-hero .btn:hover {
    background: #8b3f2f;
    border-color: #8b3f2f;
    color: #ffffff;
}

/* ========================================
   SERVICE PAGE CONTENT
======================================== */

.service-detail-body {
    padding-top: 90px;
    padding-bottom: 90px;
}

.service-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 80px;
    align-items: start;
}

.service-detail-content {
    max-width: 850px;
}

.service-detail-content h2 {
    margin: 18px 0 20px;
}

.service-detail-content h2:not(:first-of-type) {
    margin-top: 50px;
}

.service-detail-content p {
    color: #52645f;
    font-size: 1.05rem;
    line-height: 1.8;
}

.service-highlights {
    display: grid;
    gap: 14px;
    margin: 25px 0 0;
    padding: 0;
    list-style: none;
}

.service-highlights li {
    position: relative;
    padding: 17px 20px 17px 52px;
    background: #f1f7f4;
    color: #263c36;
}

.service-highlights li::before {
    content: "✓";
    position: absolute;
    top: 17px;
    left: 20px;
    color: #087a55;
    font-weight: 900;
}

/* Sidebar */

.service-detail-aside {
    position: sticky;
    top: 130px;
    padding: 38px;
    background: #eaf4ef;
    border-top: 5px solid #087a55;
}

.service-detail-aside h3 {
    margin: 0 0 16px;
    color: #0b4e40;
}

.service-detail-aside p {
    margin-bottom: 26px;
    color: #52645f;
    line-height: 1.7;
}

.service-detail-aside a {
    display: block;
    padding: 15px 0;
    color: #087a55;
    font-weight: 750;
    border-top: 1px solid rgba(8, 122, 85, 0.2);
}

.service-detail-aside a:hover {
    color: #8b3f2f;
}

/* ========================================
   RESPONSIVE SERVICE PAGE
======================================== */

@media (max-width: 900px) {
    .service-hero {
        min-height: 340px;
        background-position: center;
        background-size: cover;
    }

    .service-detail-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .service-detail-aside {
        position: static;
    }
}

@media (max-width: 600px) {
    .service-hero {
        min-height: 500px;
        background-position: 60% center;
    }

    .service-hero::before {
        background: rgba(7, 28, 23, 0.75);
    }

    .service-hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .service-category {
        margin-bottom: 18px;
    }

    .service-hero h1 {
        font-size: clamp(2.8rem, 13vw, 4rem);
        line-height: 1.05;
    }

    .service-hero p {
        font-size: 1rem;
    }

    .service-detail-body {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .service-detail-aside {
        padding: 28px 24px;
    }
}

/* ========================================
   BOARD OF DIRECTORS
======================================== */

.board-hero {
    position: relative;
    padding: 35px 0 65px;
    overflow: hidden;
    background: linear-gradient( 115deg, rgba(5, 60, 50, 0.98), rgba(8, 122, 85, 0.91) );
    color: #ffffff;
}

.board-hero::after {
    content: "";
    position: absolute;
    top: -220px;
    right: -160px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 90px rgba(255, 255, 255, 0.035), 0 0 0 180px rgba(255, 255, 255, 0.025);
}

.board-hero-inner {
    position: relative;
    z-index: 1;
}

.board-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
}

.board-breadcrumb a:hover {
    color: #ffffff;
}

.board-hero-copy {
    max-width: 950px;
}

.board-eyebrow {
    color: #d6eadc;
}

.board-hero h1 {
    max-width: 850px;
    margin: 14px 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.board-hero h1 span {
    display: block;
    color: #e2aa9e;
}

.board-hero-copy > p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.65;
}

/* Shared section heading */

.board-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 50px;
    margin-bottom: 48px;
}

.board-section-heading h2 {
    margin: 10px 0 0;
}

.board-section-heading > p {
    max-width: 480px;
    margin: 0;
    color: #60736e;
}

/* Board members */

.board-members-section {
    padding: 75px 0;
    background: #fff;
}

.board-members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    gap: 32px;
}

.board-member {
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-member:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(13, 61, 51, 0.12);
}

.board-member-photo {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 280px;
    aspect-ratio: auto;
    padding: 0;
    overflow: hidden;
    background: #fff;
    color: #526b62;
}

.board-member-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.board-member-role {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 10px 14px;
    background: #064438;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.4;
    z-index: 1;
}

.board-member-content {
    padding: 25px;
}

.board-member-content h3 {
    margin: 0 0 12px;
    font-size: 1.6rem;
}

.board-member-content p {
    margin: 0;
    color: #60736e;
    line-height: 1.75;
}

/* Governance */

.board-governance-section {
    padding: 110px 0;
    background: #123d34;
    color: #ffffff;
}

.board-governance-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 100px;
    align-items: start;
}

.board-governance-intro {
    position: sticky;
    top: 140px;
}

.board-governance-intro .eyebrow {
    color: #cfe8d7;
}

.board-governance-intro h2 {
    margin: 15px 0 25px;
    color: #ffffff;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.08;
}

.board-governance-intro p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
}

.board-governance-list article {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 25px;
    padding: 36px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.board-governance-list article:first-child {
    padding-top: 0;
}

.board-governance-list article > span {
    color: #e2aa9e;
    font-size: 1.1rem;
    font-weight: 800;
}

.board-governance-list h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.45rem;
}

.board-governance-list p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}

/* Call to action */

.board-cta {
    padding: 75px 0;
    background: #edf6f2;
}

.board-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.board-cta h2 {
    max-width: 720px;
    margin: 10px 0 0;
}

.board-cta .btn {
    flex: none;
    background: #087a55;
    color: #ffffff;
}

/* Responsive */

@media (max-width: 900px) {
    .board-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .board-governance-layout {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .board-governance-intro {
        position: static;
    }
}

@media (max-width: 650px) {
    .board-hero {
        padding: 40px 0 75px;
    }

    .board-breadcrumb {
        margin-bottom: 55px;
    }

    .board-hero h1 {
        font-size: clamp(3rem, 14vw, 4.7rem);
    }

    .board-members-section,
    .board-governance-section {
        padding: 75px 0;
    }

    .board-members-grid {
        grid-template-columns: 1fr;
    }

    .board-member-photo {
        height: auto;
    }

    .board-governance-list article {
        grid-template-columns: 50px 1fr;
    }

    .board-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ========================================
   CEO PAGE
======================================== */

.ceo-hero {
    position: relative;
    padding: 35px 0 65px;
    overflow: hidden;
    background: linear-gradient( 115deg, #073f35, #087a55 );
    color: #ffffff;
}

.ceo-hero::after {
    content: "";
    position: absolute;
    top: -180px;
    right: -130px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.02);
}

.ceo-hero-inner {
    position: relative;
    z-index: 1;
}

.ceo-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}

.ceo-breadcrumb a:hover {
    color: #ffffff;
}

.ceo-hero-eyebrow {
    color: #d5eadc;
}

.ceo-hero h1 {
    margin: 12px 0 16px;
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.ceo-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* CEO profile */

.ceo-profile-section {
    padding: 80px 0;
    background: #ffffff;
}

.ceo-profile {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    max-width: 1100px;
    margin: auto;
    background: #f2f7f4;
}

.ceo-profile-photo {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: #dce9e4;
}

.ceo-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.ceo-photo-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 16px 18px;
    background: rgba(6, 63, 52, 0.92);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.ceo-photo-caption strong,
.ceo-photo-caption span {
    display: block;
}

.ceo-photo-caption strong {
    margin-bottom: 3px;
    font-size: 1rem;
}

.ceo-photo-caption span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
}

.ceo-message {
    padding: 55px 60px;
}

.ceo-message h2 {
    margin: 12px 0 20px;
    font-size: clamp(2.3rem, 4vw, 3.6rem);
    line-height: 1.06;
}

.ceo-message-introduction {
    margin-bottom: 22px;
    color: #087a55;
    font-size: 1.15rem;
    font-weight: 750;
}

.ceo-message-text p {
    margin: 0 0 18px;
    color: #526760;
    line-height: 1.8;
}

.ceo-signoff {
    margin-top: 30px;
    padding: 25px 0 0 22px;
    border-top: 1px solid #cedfd8;
    border-left: 4px solid #8b3f2f;
}

.ceo-signoff span,
.ceo-signoff strong,
.ceo-signoff small {
    display: block;
}

.ceo-signoff span {
    margin-bottom: 8px;
    color: #687b75;
    font-size: 0.88rem;
}

.ceo-signoff strong {
    color: #153d34;
    font-size: 1.1rem;
}

.ceo-signoff small {
    margin-top: 3px;
    color: #087a55;
    font-weight: 700;
}

.ceo-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 32px;
}

.ceo-actions .btn {
    background: #087a55;
    color: #ffffff;
}

.ceo-actions .btn:hover {
    background: #8b3f2f;
}

.ceo-text-link {
    color: #087a55;
    font-weight: 750;
}

.ceo-text-link:hover {
    color: #8b3f2f;
}

/* Leadership priorities */

.ceo-priorities {
    padding: 80px 0;
    background: #edf6f2;
    color: var(--ink);
    border-top: 1px solid var(--line);
}

.ceo-priorities-heading {
    max-width: 700px;
    margin-bottom: 45px;
}

.ceo-priorities-heading .eyebrow {
    color: var(--green);
}

.ceo-priorities-heading h2 {
    margin: 12px 0 0;
    color: var(--deep);
}

.ceo-priorities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #cadbd4;
}

.ceo-priorities-grid article {
    padding: 35px;
    border-right: 1px solid #cadbd4;
}

.ceo-priorities-grid article:first-child {
    padding-left: 0;
}

.ceo-priorities-grid article:last-child {
    border-right: 0;
}

.ceo-priorities-grid article > span {
    color: var(--brown);
    font-size: 0.82rem;
    font-weight: 800;
}

.ceo-priorities-grid h3 {
    margin: 22px 0 12px;
    color: var(--deep);
    font-size: 1.45rem;
}

.ceo-priorities-grid p {
    margin: 0;
    color: #60736e;
    line-height: 1.7;
}

/* Responsive */

@media (max-width: 900px) {
    .ceo-profile {
        grid-template-columns: 310px 1fr;
    }

    .ceo-profile-photo {
        height: 470px;
    }

    .ceo-message {
        padding: 45px 40px;
    }
}

@media (max-width: 750px) {
    .ceo-profile {
        grid-template-columns: 1fr;
        max-width: 560px;
    }

    .ceo-profile-photo {
        height: 420px;
    }

    .ceo-priorities-grid {
        grid-template-columns: 1fr;
    }

    .ceo-priorities-grid article,
    .ceo-priorities-grid article:first-child {
        padding: 28px 0;
        border-right: 0;
        border-bottom: 1px solid #cadbd4;
    }
}

@media (max-width: 550px) {
    .ceo-hero {
        padding: 28px 0 50px;
    }

    .ceo-breadcrumb {
        margin-bottom: 25px;
    }

    .ceo-hero h1 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

    .ceo-profile-section,
    .ceo-priorities {
        padding: 65px 0;
    }

    .ceo-profile-photo {
        height: 350px;
    }

    .ceo-message {
        padding: 35px 25px;
    }

    .ceo-actions {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* ========================================
   CORE MANAGEMENT PAGE
======================================== */

.management-hero {
    position: relative;
    padding: 35px 0 65px;
    overflow: hidden;
    background: linear-gradient( 115deg, #073f35, #087a55 );
    color: #ffffff;
}

.management-hero::after {
    content: "";
    position: absolute;
    top: -180px;
    right: -130px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025), 0 0 0 140px rgba(255, 255, 255, 0.02);
}

.management-hero-inner {
    position: relative;
    z-index: 1;
}

.management-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}

.management-breadcrumb a:hover {
    color: #ffffff;
}

.management-hero-eyebrow {
    color: #d5eadc;
}

.management-hero h1 {
    margin: 12px 0 16px;
    color: #ffffff;
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.management-hero p {
    max-width: 680px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Section headings */

.management-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 42px;
}

.management-section-heading h2 {
    margin: 10px 0 0;
}

.management-section-heading > p {
    max-width: 470px;
    margin: 0;
    color: #60736e;
}

/* Medical Director */

.management-lead-section {
    padding: 80px 0;
    background: #ffffff;
}

.management-lead-profile {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    max-width: 960px;
    margin: auto;
    background: #eef6f2;
}

.management-lead-photo {
    height: 360px;
    overflow: hidden;
    background: #dce9e4;
}

.management-lead-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.management-lead-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 45px 50px;
}

.management-role-label {
    align-self: flex-start;
    margin-bottom: 20px;
    padding: 7px 12px;
    background: #8b3f2f;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.management-lead-content h2 {
    margin: 0 0 14px;
    font-size: clamp(2.2rem, 3.5vw, 3.3rem);
    line-height: 1.05;
}

.management-lead-content > p {
    max-width: 620px;
    margin: 0;
    color: #536a64;
    line-height: 1.75;
}

.management-lead-focus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #cbded6;
}

.management-lead-focus strong,
.management-lead-focus span {
    display: block;
}

.management-lead-focus strong {
    margin-bottom: 5px;
    color: #0b4e40;
}

.management-lead-focus span {
    color: #687b75;
    font-size: 0.82rem;
    line-height: 1.5;
}

/* Management directory */

.management-team-section {
    padding: 80px 0;
    background: #f7faf8;
}

.management-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.management-member {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    min-height: 175px;
    background: #ffffff;
    border-top: 3px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.management-member:hover {
    border-color: #087a55;
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(13, 61, 51, 0.1);
}

.management-member-photo {
    min-height: 175px;
    overflow: hidden;
    background: #dce9e4;
}

.management-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s ease;
}

.management-member:hover .management-member-photo img {
    transform: scale(1.035);
}

.management-member-content {
    padding: 23px 20px;
}

.management-member-title {
    display: block;
    margin-bottom: 8px;
    color: #087a55;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.management-member-content h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    line-height: 1.25;
}

.management-member-content p {
    margin: 0;
    color: #61746e;
    font-size: 0.83rem;
    line-height: 1.6;
}

/* Closing statement */

.management-purpose {
    padding: 75px 0;
    background: #edf6f2;
    color: var(--ink);
    border-top: 1px solid var(--line);
}

.management-purpose-inner {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 90px;
    align-items: end;
}

.management-purpose .eyebrow {
    color: var(--green);
}

.management-purpose h2 {
    max-width: 650px;
    margin: 12px 0 0;
    color: var(--deep);
}

.management-purpose p {
    margin: 0;
    color: #60736e;
    line-height: 1.8;
}

/* Responsive */

@media (max-width: 1050px) {
    .management-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .management-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .management-lead-profile {
        grid-template-columns: 260px 1fr;
    }

    .management-lead-content {
        padding: 35px;
    }

    .management-purpose-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 650px) {
    .management-hero {
        padding: 28px 0 50px;
    }

    .management-breadcrumb {
        margin-bottom: 25px;
    }

    .management-hero h1 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

    .management-lead-section,
    .management-team-section,
    .management-purpose {
        padding: 65px 0;
    }

    .management-lead-profile {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .management-lead-photo {
        height: 330px;
    }

    .management-lead-content {
        padding: 32px 25px;
    }

    .management-lead-focus {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .management-team-grid {
        grid-template-columns: 1fr;
    }

    .management-member {
        grid-template-columns: 105px 1fr;
    }
}

/* Homepage hero appointment button */

.hero-full .hero-actions .btn:not(.btn-ghost) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
    padding: 12px 18px;
    background: var(--brown);
    color: var(--white);
    border: 1px solid var(--brown);
    border-radius: 5px;
    box-shadow: 0 8px 20px rgba(48, 19, 13, 0.2);
    line-height: 1.2;
}

.hero-full .hero-actions .btn:not(.btn-ghost)::after {
    content: none;
    font-size: 0.95rem;
}

.hero-full .hero-actions .btn-ghost:hover {
    background: var(--brown);
    border-color: var(--brown);
    color: var(--white);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .site-header {
        z-index: 100;
    }

    .menu-toggle {
        position: relative;
        z-index: 102;
        display: block;
        padding: 8px;
        color: var(--green);
        background: transparent;
        border: 0;
        font-size: 1.8rem;
        line-height: 1;
        cursor: pointer;
    }

    .site-header nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: min(86vw, 360px);
        height: 100dvh;
        padding: 95px 24px 35px;
        background: #ffffff;
        box-shadow: -18px 0 45px rgba(0, 49, 42, 0.2);
        overflow-y: auto;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(100%);
        transition: transform 0.35s ease, visibility 0.35s ease;
        z-index: 101;
    }

    .site-header nav.open {
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .site-header nav > a,
    .site-header nav > .nav-dropdown,
    .site-header nav > .services-dropdown {
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    .site-header nav > a {
        display: block;
        padding: 16px 4px;
    }

    .site-header nav .nav-dropdown > button,
    .site-header nav .services-dropdown > summary {
        width: 100%;
        padding: 16px 4px;
        text-align: left;
    }

    .site-header nav .btn-nav-cta {
        margin-top: 25px;
        padding: 14px 18px;
        color: #ffffff;
        text-align: center;
        border-bottom: 0;
    }
}

@media (min-width: 901px) {
    .service-hero {
        background-size: 100% auto;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* Contact page */

.contact-page {
    padding: 45px 0 35px;
    background: #fff;
}

.contact-intro {
    max-width: 720px;
    margin: 0 auto 38px;
    text-align: center;
}

.contact-intro .eyebrow {
    color: #087a55;
}

.contact-intro h1 {
    margin: 12px 0 14px;
    color: #064438;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
}

.contact-intro p {
    margin: 0;
    color: #52615b;
    font-size: 1.1rem;
    line-height: 1.7;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
    align-items: start;
    gap: 45px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: 32px;
    min-height: 400px;
}

.contact-detail {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
}

.contact-detail svg {
    display: block;
    width: 36px;
    height: 36px;
    fill: none;
    stroke: #8b3f2f;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-detail h2 {
    margin: 0 0 8px;
    color: #064438;
    font-size: 1.2rem;
    line-height: 1.4;
}

.contact-detail p {
    margin: 0;
    color: #52615b;
    font-size: 0.98rem;
    line-height: 1.7;
}

.contact-detail a {
    display: inline-block;
    margin-bottom: 5px;
    color: #087a55;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-detail a:hover {
    color: #8b3f2f;
    text-decoration: underline;
}

.contact-location {
    min-width: 0;
}

.contact-location iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 4px;
    background: #edf2ef;
}

.contact-map-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-top: 14px;
}

.contact-map-links a {
    color: #52615b;
    font-size: 0.88rem;
    text-decoration: none;
}

.contact-map-links a:last-child {
    color: #087a55;
    font-weight: 700;
}

.contact-map-links a:hover {
    color: #8b3f2f;
    text-decoration: underline;
}

/* Appointment and callback strip */

.contact-actions {
    padding: 30px 0;
    background: #edf5f1;
}

.contact-actions > .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.contact-actions h2 {
    margin: 0 0 8px;
    color: #064438;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    line-height: 1.3;
}

.contact-actions p {
    margin: 0;
    color: #52615b;
    line-height: 1.6;
}

.contact-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-action-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    background: #087a55;
    color: #fff;
    border: 1px solid #087a55;
    border-radius: 4px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
    animation: none;
    transform: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-action-buttons .btn:hover {
    background: #066344;
    border-color: #066344;
    box-shadow: none;
    transform: none;
}

.contact-action-buttons .btn-ghost {
    background: #fff;
    border-color: #8b3f2f;
    color: #8b3f2f;
}

.contact-action-buttons .btn-ghost:hover {
    background: #8b3f2f;
    border-color: #8b3f2f;
    color: #fff;
}

.contact-page a:focus-visible,
.contact-actions a:focus-visible {
    outline: 2px solid #8b3f2f;
    outline-offset: 4px;
}

/* Tablet and mobile */

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

    .contact-details {
        min-height: 0;
        gap: 25px;
    }
}

@media (max-width: 600px) {
    .contact-page {
        padding: 30px 0;
    }

    .contact-intro {
        margin-bottom: 30px;
        text-align: left;
    }

    .contact-intro p {
        font-size: 1rem;
    }

    .contact-detail {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 15px;
    }

    .contact-detail svg {
        width: 30px;
        height: 30px;
    }

    .contact-location iframe {
        height: 320px;
    }

    .contact-action-buttons {
        width: 100%;
        flex-direction: column;
    }

    .contact-action-buttons .btn {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-action-buttons .btn {
        transition: none;
    }
}

/* Footer: logo, navigation, contact details and staff login */

.site-footer {
    padding: 50px 0 22px;
    background: #064438;
    color: #d5e3de;
    border-top: 4px solid #8b3f2f;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,.9fr) minmax(0,.9fr) minmax(0,1.3fr);
    gap: 36px;
    padding-top: 0;
    padding-bottom: 38px;
}

.site-footer .footer-grid > * {
    min-width: 0;
}

.site-footer h3 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 1.08rem;
    line-height: 1.4;
}

.site-footer p {
    margin: 0;
    color: #d5e3de;
    font-size: .94rem;
    line-height: 1.75;
}

.site-footer a {
    color: #d5e3de;
    text-decoration: none;
    transition: color .2s ease;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.site-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 5px;
}

.site-footer ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer li {
    margin: 0;
    padding: 0;
    font-size: .94rem;
    line-height: 1.6;
}

.site-footer .footer-brand > a {
    display: inline-block;
    width: 230px;
    max-width: 100%;
    background: transparent;
}

.site-footer .footer-brand img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.site-footer .footer-brand p {
    max-width: 250px;
    margin-top: 18px;
}

.site-footer .footer-contact ul {
    gap: 18px;
}

.site-footer .footer-contact li {
    display: grid;
    grid-template-columns: 22px minmax(0,1fr);
    align-items: start;
    gap: 12px;
}

.site-footer svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.site-footer .footer-contact svg {
    margin-top: 2px;
}

.site-footer .footer-contact a {
    overflow-wrap: anywhere;
}

.site-footer .footer-contact strong {
    display: block;
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
}

.site-footer .footer-contact p {
    margin-top: 8px;
    font-size: .85rem;
}

.site-footer .copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 0;
    padding-top: 22px;
    padding-bottom: 0;
    border-top: 1px solid rgba(255,255,255,.18);
}

.site-footer .copyright p {
    font-size: .8rem;
}

.site-footer .footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
}

.site-footer .footer-bottom-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .8rem;
}

.site-footer .footer-bottom-links svg {
    width: 16px;
    height: 16px;
}

.site-footer .footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.site-footer .footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: #fff;
    font-size: 19px;
    text-decoration: none;
}

.site-footer .footer-socials a:hover {
    background: #8b3f2f;
    border-color: #8b3f2f;
}

@media (max-width: 1000px) {
    .site-footer .footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 35px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding-top: 35px;
    }

    .site-footer .footer-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 30px 20px;
        padding-bottom: 28px;
    }

    .site-footer .footer-brand,
    .site-footer .footer-contact {
        grid-column: 1 / -1;
    }

    .site-footer .footer-brand > a {
        width: 210px;
    }

    .site-footer .footer-brand p {
        max-width: 320px;
    }

    .site-footer h3 {
        margin-bottom: 16px;
        font-size: 1rem;
    }

    .site-footer .copyright {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer a {
        transition: none;
    }
}

@media (min-width: 651px) and (max-width: 900px) {
    .board-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
