:root {
    --ink: #102326;
    --muted: #5d6a6c;
    --line: #dce7e5;
    --soft: #f2f8f7;
    --aqua: #16a394;
    --teal: #0f766e;
    --teal-dark: #0a5c57;
    --gold: #d49c2f;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    padding-bottom: 0;
}

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

a:hover {
    color: var(--teal-dark);
}

.skip-link {
    background: var(--ink);
    color: var(--white);
    left: 1rem;
    padding: .65rem 1rem;
    position: fixed;
    top: -5rem;
    z-index: 2000;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(16, 35, 38, .08);
    backdrop-filter: blur(14px);
}

.top-strip {
    background: var(--ink);
    color: rgba(255, 255, 255, .85);
    font-size: .875rem;
    padding: .42rem 0;
}

.top-strip i {
    color: var(--gold);
    margin-right: .35rem;
}

.navbar {
    padding: .85rem 0;
}

.navbar-brand {
    align-items: center;
    color: var(--ink);
    display: inline-flex;
    gap: 1rem;
}

.navbar-brand strong,
.navbar-brand small {
    display: block;
    line-height: 1.05;
}

.navbar-brand small {
    color: var(--muted);
    font-size: .78rem;
    margin-top: .2rem;
}

.brand-mark {
    align-items: center;
    background: var(--teal);
    border-radius: 8px;
    color: var(--white);
    display: inline-flex;
    font-weight: 800;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.brand-logo-mark {
    background: transparent;
    height: 84px;
    width: 84px;
}

.brand-logo-mark img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.nav-link {
    color: var(--ink);
    font-weight: 650;
}

.nav-link.active {
    color: var(--teal);
}

.btn {
    border-radius: 8px;
    font-weight: 750;
}

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

.btn-primary:hover,
.btn-primary:focus {
    background: var(--teal-dark);
    border-color: var(--teal-dark);
}

.hero-section {
    background-color: #18373b;
    background-image: linear-gradient(90deg, rgba(7, 34, 36, .88), rgba(7, 34, 36, .48)), var(--hero-image, url("../images/hero-reception-edited.png"));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--white);
    min-height: 720px;
    position: relative;
}

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

.hero-content .row {
    padding: 8.5rem 0 8rem;
}

.eyebrow,
.section-kicker {
    color: var(--gold);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08rem;
    margin-bottom: .8rem;
    text-transform: uppercase;
}

.hero-section h1 {
    font-size: clamp(3.2rem, 7vw, 6.4rem);
    font-weight: 850;
    line-height: .95;
    margin-bottom: 1.4rem;
}

.hero-section .lead {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    max-width: 760px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.page-hero {
    background: linear-gradient(90deg, rgba(7, 34, 36, .92), rgba(7, 34, 36, .7)), url("https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&w=1800&q=82") center/cover no-repeat;
    color: var(--white);
    padding: 11rem 0 5rem;
}

.page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    font-weight: 850;
    line-height: 1;
    margin-bottom: 1rem;
    max-width: 840px;
}

.page-hero p:last-child {
    color: rgba(255, 255, 255, .88);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    margin-bottom: 0;
    max-width: 760px;
}

.quick-contact {
    margin-top: -4.8rem;
    position: relative;
    z-index: 3;
}

.quick-grid {
    background: var(--white);
    border: 1px solid rgba(16, 35, 38, .1);
    border-radius: 8px;
    box-shadow: 0 22px 70px rgba(16, 35, 38, .18);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.quick-grid a {
    border-right: 1px solid var(--line);
    color: var(--ink);
    display: grid;
    gap: .15rem;
    min-width: 0;
    padding: 1.35rem;
}

.quick-grid a:last-child {
    border-right: 0;
}

.quick-grid i {
    color: var(--teal);
    font-size: 1.45rem;
}

.quick-grid span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 750;
    text-transform: uppercase;
}

.quick-grid strong {
    overflow-wrap: anywhere;
}

.section-pad {
    padding: 6rem 0;
}

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

.bg-ink {
    background: var(--ink);
}

.text-aqua {
    color: #55dfd1;
}

.text-white-75 {
    color: rgba(255, 255, 255, .75);
}

.section-heading {
    margin-bottom: 2rem;
    max-width: 760px;
}

.section-heading.narrow {
    max-width: 620px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 820;
    line-height: 1.05;
}

.image-panel {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
}

.image-panel img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.home-building-panel {
    background: #eef4f3;
}

.home-building-panel img {
    object-fit: contain;
}

.stats-row {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 2rem;
}

.stats-row div {
    border-left: 3px solid var(--teal);
    padding-left: 1rem;
}

.stats-row strong {
    display: block;
    font-size: 1.65rem;
    line-height: 1;
}

.stats-row span {
    color: var(--muted);
    display: block;
    font-size: .92rem;
    margin-top: .35rem;
}

.service-card,
.doctor-card,
.contact-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.service-card {
    padding: 1.35rem;
}

.service-icon {
    align-items: center;
    background: #e2f5f2;
    border-radius: 8px;
    color: var(--teal);
    display: inline-flex;
    font-size: 1.4rem;
    height: 46px;
    justify-content: center;
    margin-bottom: 1rem;
    width: 46px;
}

.service-card h3,
.doctor-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
}

.service-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.service-card ul {
    color: var(--muted);
    margin: 1rem 0 0;
    padding-left: 1.15rem;
}

.service-card li + li {
    margin-top: .45rem;
}

.doctor-card {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
    min-height: 100%;
    padding: 1.15rem;
}

.doctor-card p {
    color: var(--muted);
    margin: 0;
}

.avatar {
    align-items: center;
    background: var(--soft);
    border-radius: 8px;
    color: var(--teal);
    display: inline-flex;
    flex: 0 0 44px;
    font-size: 1.35rem;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.facility-grid {
    display: grid;
    gap: .8rem;
    grid-template-columns: repeat(2, 1fr);
}

.facility-grid div {
    align-items: center;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    display: flex;
    gap: .75rem;
    padding: .95rem;
}

.facility-grid i {
    color: #55dfd1;
    flex: 0 0 auto;
}

.partner-list {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.partner-list span {
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    font-weight: 700;
    padding: .75rem 1rem;
}

.cta-band {
    background: var(--teal);
    color: var(--white);
    padding: 3rem 0;
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

.cta-band p {
    color: rgba(255, 255, 255, .86);
    margin-bottom: 0;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.6rem;
}

.contact-list p {
    align-items: flex-start;
    display: flex;
    gap: .75rem;
    margin: 0;
}

.contact-list i {
    color: var(--teal);
    flex: 0 0 auto;
}

.contact-form {
    box-shadow: 0 18px 60px rgba(16, 35, 38, .08);
    padding: 1.5rem;
}

.map-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(16, 35, 38, .08);
    margin-left: auto;
    margin-right: auto;
    max-width: min(50vw, 860px);
    padding: 1.5rem;
}

.map-card-header {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.map-card-header h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 0;
}

.map-embed {
    border: 1px solid rgba(16, 35, 38, .08);
    border-radius: 8px;
    overflow: hidden;
}

.map-embed iframe {
    border: 0;
    display: block;
    min-height: 520px;
    width: 100%;
}

.btn-outline-primary {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--teal);
    border-color: var(--teal);
    color: var(--white);
}

.form-control {
    border-color: #cbdad8;
    border-radius: 8px;
    min-height: 48px;
}

.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 .2rem rgba(15, 118, 110, .15);
}

.site-footer {
    background: #071719;
    color: rgba(255, 255, 255, .78);
    padding: 2rem 0;
}

.site-footer strong {
    color: var(--white);
}

.site-footer p {
    margin: .25rem 0 0;
}

.site-footer a {
    color: var(--white);
    font-weight: 750;
}

.footer-social {
    margin-top: .9rem;
}

.footer-social a {
    align-items: center;
    color: rgba(255, 255, 255, .88);
    display: inline-flex;
    gap: .5rem;
}

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

.footer-social i {
    color: #1877f2;
    font-size: 1.05rem;
}

.mobile-actions {
    display: none;
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: 70px;
    }

    .site-header {
        position: sticky;
    }

    .navbar-collapse {
        border-top: 1px solid var(--line);
        margin-top: .8rem;
        padding-top: .8rem;
    }

    .hero-section {
        min-height: 680px;
    }

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

    .quick-grid a {
        border-bottom: 1px solid var(--line);
    }

    .quick-grid a:nth-child(2n) {
        border-right: 0;
    }

    .section-pad {
        padding: 4.25rem 0;
    }

    .mobile-actions {
        background: var(--white);
        border-top: 1px solid var(--line);
        bottom: 0;
        box-shadow: 0 -8px 28px rgba(16, 35, 38, .1);
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        left: 0;
        position: fixed;
        right: 0;
        z-index: 1040;
    }

    .map-embed iframe {
        min-height: 420px;
    }

    .mobile-actions a {
        align-items: center;
        color: var(--ink);
        display: flex;
        flex-direction: column;
        font-size: .78rem;
        font-weight: 750;
        gap: .1rem;
        justify-content: center;
        min-height: 64px;
    }

    .mobile-actions i {
        color: var(--teal);
        font-size: 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content .row {
        padding: 7.5rem 0 6.5rem;
    }

    .quick-contact {
        margin-top: -3rem;
    }

    .quick-grid,
    .facility-grid,
    .stats-row {
        grid-template-columns: 1fr;
    }

    .quick-grid a,
    .quick-grid a:nth-child(2n) {
        border-right: 0;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .map-card {
        max-width: 100%;
        padding: 1.1rem;
    }

    .map-embed iframe {
        min-height: 320px;
    }

}
