/* ==========================================================
   PROJECT LIGHTHOUSE
   SR Speciality Hospital
   ========================================================== */


/* ---------- Brand System ---------- */

:root {
    --navy: #0F2D46;
    --navy-hover: #173F5F;
    --gold: #C8A96A;
    --gold-text: #8A6926;

    --background: #FAFAF8;
    --surface: #FFFFFF;

    --text: #1F2937;
    --text-light: #6B7280;

    --border: #E5E7EB;

    --shadow-soft: 0 10px 30px rgba(15, 45, 70, 0.07);
    --shadow-card: 0 12px 30px rgba(15, 45, 70, 0.06);
}


/* ==========================================================
   PUBLISHED PATIENT GUIDES
   ========================================================== */

.guides-section {
    padding: 92px 0;

    background: var(--background);
}


.guides-catalogue-page {
    min-height: calc(100vh - 82px);
}


.guides-catalogue-page .guides-heading h1 {
    color: var(--navy);

    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 58px);
    font-weight: 600;
    line-height: 1.08;
}


.catalogue-search {
    margin: 0 auto 34px;
}


.catalogue-search-label {
    margin-bottom: 12px;

    color: var(--navy);

    font-size: 13px;
    font-weight: 700;
    text-align: center;
}


.catalogue-loading {
    grid-column: 1 / -1;

    padding: 42px;

    color: var(--text-light);

    text-align: center;
}


.guides-heading {
    max-width: 760px;

    margin-right: auto;
    margin-bottom: 30px;
    margin-left: auto;
}


.guide-filter-panel {
    margin-bottom: 34px;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 14px;
}


.guide-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 10px;
}


.guide-filter-button {
    min-height: 44px;

    padding: 10px 18px;

    border: 1px solid rgba(15, 45, 70, 0.18);
    border-radius: 999px;

    background: var(--surface);
    color: var(--navy);

    cursor: pointer;

    font: inherit;
    font-size: 13px;
    font-weight: 700;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.guide-filter-button:hover,
.guide-filter-button:focus-visible {
    border-color: var(--gold-text);

    outline: none;

    transform: translateY(-1px);
}


.guide-filter-button.is-active {
    border-color: var(--navy);

    background: var(--navy);
    color: #FFFFFF;
}


.guide-filter-status {
    color: var(--text-light);

    font-size: 13px;
}


.guide-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));

    gap: 20px;
}


.guide-card {
    min-height: 300px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    grid-column: span 2;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);

    box-shadow: var(--shadow-card);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.guide-card[hidden] {
    display: none;
}


/* ---------- 404 Page ---------- */

.not-found-page {
    min-height: calc(100vh - 92px);

    padding: 110px 0;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at 18% 24%,
            rgba(200, 169, 106, 0.17),
            transparent 34%
        ),
        var(--background);
}


.not-found-card {
    max-width: 760px;

    padding: 58px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.94);

    box-shadow: var(--shadow-card);

    text-align: center;
}


.not-found-code {
    margin-bottom: 15px;

    color: var(--gold-text);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}


.not-found-card h1 {
    margin-bottom: 20px;

    color: var(--navy);

    font-size: clamp(46px, 8vw, 76px);
    line-height: 0.98;
}


.not-found-card > p:not(.not-found-code) {
    max-width: 590px;

    margin: 0 auto;

    color: var(--text-light);

    font-size: 16px;
    line-height: 1.8;
}


.not-found-actions {
    margin-top: 34px;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 13px;
}


@media (max-width: 600px) {

    .not-found-page {
        padding: 70px 0;
    }


    .not-found-card {
        padding: 38px 24px;
    }


    .not-found-actions {
        align-items: stretch;
        flex-direction: column;
    }

}


.guide-card:hover,
.guide-card:focus-visible {
    border-color: rgba(200, 169, 106, 0.75);

    outline: none;

    box-shadow: 0 18px 42px rgba(15, 45, 70, 0.11);

    transform: translateY(-4px);
}


.guide-category {
    margin-bottom: 18px;

    color: var(--gold-text);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.guide-card h3 {
    margin-bottom: 4px;

    color: var(--navy);

    font-size: 29px;
    line-height: 1.08;
}


.guide-card .guide-medical-term {
    margin-bottom: 18px;

    color: var(--gold-text);

    font-size: 13px;
    font-weight: 600;
}


.guide-card > p:not(.guide-medical-term) {
    margin-bottom: 24px;

    color: var(--text-light);

    font-size: 14px;
    line-height: 1.7;
}


.guide-link {
    margin-top: auto;

    color: var(--navy);

    font-size: 13px;
    font-weight: 700;
}


.guide-card:hover .guide-link,
.guide-card:focus-visible .guide-link {
    color: var(--gold-text);
}


@media (min-width: 951px) {

    .guide-grid > .guide-card:last-child:nth-child(3n + 1) {
        grid-column: 3 / span 2;
    }


    .guide-grid > .guide-card:nth-last-child(2):nth-child(3n + 1) {
        grid-column: 2 / span 2;
    }


    .guide-grid.is-filtered > .guide-card:not([hidden]) {
        grid-column: span 2;
    }


    .guide-grid.is-filtered > .guide-card.is-filter-last-single {
        grid-column: 3 / span 2;
    }


    .guide-grid.is-filtered > .guide-card.is-filter-last-pair-first {
        grid-column: 2 / span 2;
    }

}


@media (max-width: 950px) {

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


    .guide-card {
        grid-column: auto;
    }


    .guide-grid.is-filtered > .guide-card:not([hidden]),
    .guide-grid.is-filtered > .guide-card.is-filter-last-single,
    .guide-grid.is-filtered > .guide-card.is-filter-last-pair-first {
        grid-column: auto;
    }


}


@media (max-width: 600px) {

    .guides-section {
        padding: 68px 0;
    }


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


    .guide-card {
        min-height: 0;

        padding: 26px;
    }


    .guide-filter-panel {
        align-items: stretch;
    }


    .guide-filter-buttons {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .guide-filter-button {
        width: 100%;
    }


    .guide-filter-button:first-child {
        grid-column: 1 / -1;
    }


    .guide-filter-status {
        text-align: center;
    }

}


/* ---------- Reset ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: var(--background);
    color: var(--text);

    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}


h1,
h2,
h3,
h4,
h5 {
    color: var(--navy);

    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}


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


button,
input {
    font: inherit;
}


button {
    cursor: pointer;
}


.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}


/* ---------- Reusable Button ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 13px 22px;

    border-radius: 14px;

    background: var(--navy);
    color: white;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.btn:hover {
    background: var(--navy-hover);
    transform: translateY(-1px);
}


/* ---------- Header ---------- */

.site-header {
    position: relative;
    z-index: 10;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid var(--border);
}


.navbar {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


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


.brand-mark {
    width: 48px;
    height: 54px;

    display: grid;
    place-items: center;

    border-radius: 12px 12px 18px 18px;

    background: var(--navy);
    color: var(--gold-text);

    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 700;

    box-shadow: var(--shadow-soft);
}


.brand-text {
    display: flex;
    flex-direction: column;
}


.brand-text strong {
    color: var(--navy);

    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    line-height: 1.05;
}


.brand-text small {
    margin-top: 5px;

    color: var(--gold-text);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}


.nav-links a {
    position: relative;

    color: var(--navy);

    font-size: 14px;
    font-weight: 500;
}


.nav-links a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -9px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.2s ease;
}


.nav-links a:hover::after {
    width: 100%;
}


/* ---------- Search Hero ---------- */

.search-hero {
    padding: 70px 0 68px;

    background:
        radial-gradient(
            circle at center,
            rgba(200, 169, 106, 0.08),
            transparent 45%
        ),
        var(--background);
}


.search-hero-content {
    max-width: 900px;
    text-align: center;
}


.hero-eyebrow {
    margin-bottom: 2px;

    color: var(--gold-text);

    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 600;
    line-height: 1.05;
}


.search-hero h1 {
    margin-bottom: 28px;

    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.08;
}


.condition-search {
    width: min(760px, 100%);
    min-height: 72px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    border: 1px solid #D7DCE1;
    border-radius: 14px;

    background: var(--surface);

    box-shadow: var(--shadow-soft);

    overflow: hidden;
}


.search-icon {
    padding-left: 24px;

    color: var(--navy);

    font-size: 30px;
    line-height: 1;
}


.condition-search input {
    width: 100%;

    padding: 21px 18px;

    border: 0;
    outline: 0;

    background: transparent;
    color: var(--text);

    font-size: 16px;
}


.condition-search input::placeholder {
    color: #8A9098;
}


.condition-search button {
    width: 72px;
    min-height: 48px;

    margin-right: 10px;

    border: 0;
    border-left: 1px solid var(--border);

    background: transparent;
    color: var(--navy);

    font-size: 25px;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}


.condition-search button:hover {
    background: #F5F6F6;
    color: var(--gold-text);
}


.search-guidance {
    margin: 18px auto 0;

    color: var(--text-light);

    font-size: 14px;
}


.search-guidance strong {
    color: var(--navy);
}


.popular-heading {
    margin-top: 26px;
    margin-bottom: 14px;

    font-size: 24px;
}


.popular-searches {
    max-width: 760px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 14px;
}


.popular-searches button {
    min-height: 48px;

    padding: 10px 16px;

    border: 1px solid #D9DDE2;
    border-radius: 999px;

    background: var(--surface);
    color: var(--navy);

    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 5px 16px rgba(15, 45, 70, 0.05);

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.popular-searches button:hover {
    transform: translateY(-2px);

    border-color: var(--gold-text);
    color: var(--navy);

    box-shadow: 0 9px 22px rgba(15, 45, 70, 0.09);
}


/* ---------- Browse by Specialty ---------- */

.specialties-section {
    padding: 0 0 90px;
}


.section-divider {
    max-width: 420px;

    margin: 0 auto 22px;

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

    gap: 18px;
}


.section-divider span {
    width: 125px;
    height: 1px;

    background: linear-gradient(
        to right,
        transparent,
        var(--gold)
    );
}


.section-divider span:last-child {
    background: linear-gradient(
        to left,
        transparent,
        var(--gold)
    );
}


.section-divider p {
    color: var(--gold-text);

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}


.section-heading {
    margin-bottom: 34px;
    text-align: center;
}


.section-kicker {
    margin-bottom: 4px;

    color: var(--gold-text);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}


.section-heading h2 {
    font-size: clamp(36px, 4vw, 48px);
    line-height: 1.1;
}


.specialty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


.specialty-card {
    min-height: 260px;

    padding: 30px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);
    color: inherit;

    text-decoration: none;
    cursor: pointer;

    box-shadow: var(--shadow-card);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.specialty-card-final {
    grid-column: 2;
}


.specialty-card:hover {
    transform: translateY(-5px);

    border-color: rgba(200, 169, 106, 0.65);

    box-shadow: 0 18px 40px rgba(15, 45, 70, 0.1);
}


.specialty-card:focus-visible {
    outline: 3px solid rgba(200, 169, 106, 0.58);
    outline-offset: 4px;

    border-color: var(--gold);
}


.specialty-icon {
    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(200, 169, 106, 0.14);
    color: var(--navy);

    font-family: 'Cormorant Garamond', serif;
    font-size: 30px;
    font-weight: 700;
}


.specialty-card h3 {
    margin-bottom: 10px;

    font-size: 28px;
    line-height: 1.1;
}


.specialty-card p {
    margin-bottom: 22px;

    color: var(--text-light);

    font-size: 14px;
}


.card-link {
    margin-top: auto;

    color: var(--gold-text);

    font-size: 13px;
    font-weight: 700;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}


.specialty-card:hover .card-link,
.specialty-card:focus-visible .card-link {
    color: var(--navy);

    transform: translateX(4px);
}


.specialty-catalogue-action {
    margin-top: 30px;

    display: flex;
    justify-content: center;
}


/* ---------- Responsive ---------- */

@media (max-width: 950px) {
    .nav-links {
        display: none;
    }

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

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

    .specialty-card-final {
        grid-column: 1 / -1;
        width: calc((100% - 22px) / 2);
        justify-self: center;
    }
}


@media (max-width: 600px) {
    .navbar {
        min-height: 72px;
    }

    .brand-text strong {
        font-size: 18px;
    }

    .brand-text small {
        display: none;
    }

    .site-header .btn {
        display: none;
    }

    .search-hero {
        padding: 52px 0 54px;
    }

    .condition-search {
        min-height: 62px;
    }

    .search-icon {
        padding-left: 16px;
        font-size: 25px;
    }

    .condition-search input {
        padding: 17px 12px;
        font-size: 14px;
    }

    .condition-search button {
        width: 52px;
    }

    .popular-searches {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .specialties-section {
        padding-bottom: 65px;
    }

    .specialty-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .specialty-card-final {
        grid-column: auto;
        width: 100%;
    }

    .specialty-card {
        min-height: auto;
        padding: 24px;
    }
}
/* ---------- Hospital Introduction ---------- */

.hospital-introduction {
    padding: 95px 0;

    background: var(--navy);
}


.introduction-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 70px;
}


.hospital-image-placeholder {
    min-height: 480px;

    padding: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(200, 169, 106, 0.45);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(200, 169, 106, 0.24),
            rgba(255, 255, 255, 0.04)
        );

    color: white;

    text-align: center;

    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.16);
}


.placeholder-label {
    margin-bottom: 12px;

    color: var(--gold-text);

    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
}


.hospital-image-placeholder p {
    color: rgba(255, 255, 255, 0.72);

    font-size: 14px;
}


.introduction-content .section-kicker {
    color: var(--gold-text);
}


.introduction-content h2 {
    margin: 8px 0 24px;

    color: white;

    font-size: clamp(42px, 5vw, 58px);
    line-height: 1.05;
}


.introduction-content > p:not(.section-kicker) {
    margin-bottom: 18px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 16px;
    line-height: 1.8;
}


.introduction-content .btn {
    margin-top: 14px;

    background: var(--gold);
    color: var(--navy);
}


.introduction-content .btn:hover {
    background: #D4B879;
}


/* ---------- Why Patients Choose Us ---------- */

.why-choose-section {
    padding: 95px 0;

    background: var(--background);
}


.section-description {
    max-width: 640px;

    margin: 14px auto 0;

    color: var(--text-light);

    font-size: 15px;
}


.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


.trust-card {
    position: relative;

    min-height: 260px;

    padding: 32px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);

    box-shadow: var(--shadow-card);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


.trust-card:hover {
    transform: translateY(-5px);

    border-color: rgba(200, 169, 106, 0.7);

    box-shadow: 0 18px 42px rgba(15, 45, 70, 0.1);
}


.trust-number {
    display: inline-block;

    margin-bottom: 26px;

    color: var(--gold-text);

    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 700;
}


.trust-card h3 {
    margin-bottom: 14px;

    font-size: 27px;
    line-height: 1.1;
}


.trust-card p {
    color: var(--text-light);

    font-size: 14px;
    line-height: 1.75;
}


.trust-card::after {
    content: "";

    position: absolute;
    right: -35px;
    bottom: -35px;

    width: 100px;
    height: 100px;

    border: 1px solid rgba(200, 169, 106, 0.22);
    border-radius: 50%;
}


/* ---------- Introduction Responsive ---------- */

@media (max-width: 950px) {

    .introduction-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .hospital-image-placeholder {
        min-height: 390px;
    }


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

}


@media (max-width: 600px) {

    .hospital-introduction,
    .why-choose-section {
        padding: 65px 0;
    }


    .hospital-image-placeholder {
        min-height: 300px;

        padding: 25px;
    }


    .placeholder-label {
        font-size: 29px;
    }


    .trust-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .trust-card {
        min-height: auto;

        padding: 26px;
    }

}
/* ---------- Medical Search Autocomplete ---------- */

.search-wrapper {
    position: relative;

    width: min(760px, 100%);

    margin: 0 auto;
}


.search-wrapper .condition-search {
    width: 100%;
}


.search-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    z-index: 50;

    max-height: 440px;

    display: none;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);

    box-shadow: 0 22px 55px rgba(15, 45, 70, 0.16);

    overflow-x: hidden;
    overflow-y: auto;

    text-align: left;
}


.search-results.is-visible {
    display: block;
}


.search-result-item {
    width: 100%;

    padding: 17px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border: 0;
    border-bottom: 1px solid var(--border);

    background: var(--surface);
    color: var(--text);

    text-align: left;

    transition:
        background 0.2s ease,
        padding-left 0.2s ease;
}


.search-result-item:last-child {
    border-bottom: 0;
}


.search-result-item:hover,
.search-result-item:focus {
    padding-left: 24px;

    outline: none;

    background: #F7F5EF;
}


.result-main {
    min-width: 0;

    display: flex;
    flex-direction: column;
}


.result-title {
    color: var(--navy);

    font-size: 15px;
    font-weight: 700;
}


.result-medical-term {
    margin-top: 3px;

    color: var(--text-light);

    font-size: 12px;
}


.result-meta {
    flex-shrink: 0;

    display: flex;
    align-items: flex-end;
    flex-direction: column;

    gap: 4px;
}


.result-category {
    color: var(--gold-text);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.5px;
    text-transform: uppercase;
}


.result-specialty {
    color: var(--text-light);

    font-size: 11px;
}


.search-empty {
    padding: 22px;

    display: flex;
    flex-direction: column;

    gap: 4px;

    text-align: center;
}


.search-empty strong {
    color: var(--navy);

    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
}


.search-empty span {
    color: var(--text-light);

    font-size: 13px;
}


@media (max-width: 600px) {

    .search-results {
        max-height: 360px;
    }


    .search-result-item {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;

        padding: 15px 17px;
    }


    .result-meta {
        align-items: flex-start;
        flex-direction: row;

        gap: 10px;
    }

}
/* ==========================================================
   HOMEPAGE: DOCTORS, INSURANCE, CONTACT AND FOOTER
   ========================================================== */

.doctors-section {
    padding: 94px 0;

    background: var(--surface);
}


.doctors-heading {
    max-width: 760px;

    margin-right: auto;
    margin-bottom: 44px;
    margin-left: auto;
}


.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;
}


.doctor-card {
    min-width: 0;

    scroll-margin-top: 108px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background);

    box-shadow: var(--shadow-card);

    overflow: hidden;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}


.doctor-card:target {
    border-color: var(--gold);

    box-shadow: 0 20px 46px rgba(15, 45, 70, 0.16);
}


.doctor-card:hover {
    border-color: rgba(200, 169, 106, 0.7);

    box-shadow: 0 18px 42px rgba(15, 45, 70, 0.1);

    transform: translateY(-4px);
}


.doctor-monogram {
    min-height: 174px;

    display: grid;
    place-items: center;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(255, 255, 255, 0.12),
            transparent 36%
        ),
        var(--navy);
    color: var(--gold-text);

    font-family: 'Cormorant Garamond', serif;
    font-size: 58px;
    font-weight: 600;
    letter-spacing: 4px;
}


.doctor-card-content {
    padding: 28px;
}


.doctor-department {
    margin-bottom: 9px;

    color: var(--gold-text);

    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.doctor-card h3 {
    margin-bottom: 10px;

    font-size: 30px;
    line-height: 1.08;
}


.doctor-qualifications {
    min-height: 44px;

    color: var(--text-light);

    font-size: 12px;
    line-height: 1.65;
}


.doctor-designation {
    margin-top: 18px;
    padding-top: 17px;

    border-top: 1px solid var(--border);

    color: var(--navy);

    font-size: 13px;
    font-weight: 700;
}


.insurance-section {
    padding: 96px 0;

    background: var(--navy);
}


.insurance-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);

    align-items: center;

    gap: 70px;
}


.insurance-introduction h2 {
    margin: 6px 0 20px;

    color: var(--surface);

    font-size: clamp(42px, 5vw, 59px);
    line-height: 1.02;
}


.insurance-introduction > p:not(.section-kicker) {
    margin-bottom: 25px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.8;
}


.insurance-introduction .medical-text-link {
    color: var(--gold-text);

    font-size: 14px;
    font-weight: 700;
}


.insurance-introduction .medical-text-link:hover,
.insurance-introduction .medical-text-link:focus-visible {
    color: var(--surface);
}


.insurance-panel {
    padding: 38px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;

    background: var(--background);

    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}


.insurance-panel-label {
    margin-bottom: 20px;

    color: var(--navy);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.insurance-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 10px;

    list-style: none;
}


.insurance-list li {
    min-height: 48px;

    padding: 11px 12px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--surface);
    color: var(--navy);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}


.insurance-list .insurance-featured {
    border-color: var(--gold-text);

    background: var(--gold);
    color: var(--navy);
}


.insurance-note {
    margin-top: 20px;

    color: var(--text-light);

    font-size: 11px;
    line-height: 1.65;
}


.contact-section {
    padding: 96px 0;

    background: var(--background);
}


.contact-panel {
    padding: 56px;

    border-radius: 14px;

    background: var(--navy);

    box-shadow: 0 24px 60px rgba(15, 45, 70, 0.16);
}


.contact-introduction {
    max-width: 820px;

    margin-bottom: 42px;
}


.contact-introduction h2 {
    margin: 6px 0 15px;

    color: var(--surface);

    font-size: clamp(43px, 5vw, 61px);
    line-height: 1.02;
}


.contact-introduction > p:not(.section-kicker) {
    max-width: 700px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 15px;
    line-height: 1.8;
}


.contact-primary-actions {
    margin-top: 28px;

    display: flex;
    align-items: center;

    gap: 12px;
}


.contact-primary-actions .btn {
    background: var(--gold);
    color: var(--navy);
}


.contact-primary-actions .btn:hover,
.contact-primary-actions .btn:focus-visible {
    background: #D4B879;
}


.contact-outline-button {
    min-height: 46px;

    padding: 11px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.44);
    border-radius: 14px;

    color: var(--surface);

    font-size: 13px;
    font-weight: 700;
}


.contact-outline-button:hover,
.contact-outline-button:focus-visible {
    border-color: var(--gold-text);

    outline: none;

    color: var(--gold-text);
}


.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 16px;
}


.contact-card {
    min-width: 0;
    min-height: 238px;

    padding: 27px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.075);
}


.contact-card-number {
    margin-bottom: 23px;

    color: var(--gold-text);

    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    line-height: 1;
}


.contact-card h3 {
    margin-bottom: 13px;

    color: var(--surface);

    font-size: 28px;
}


.contact-card a:not(.contact-card-link) {
    margin-bottom: 5px;

    color: var(--surface);

    font-size: 14px;
    font-weight: 700;

    overflow-wrap: anywhere;
}


.contact-card p,
.contact-card address {
    color: rgba(255, 255, 255, 0.64);

    font-size: 12px;
    font-style: normal;
    line-height: 1.7;
}


.contact-card p {
    margin-top: 10px;
}


.contact-card-link {
    margin-top: auto;
    padding-top: 17px;

    color: var(--gold-text);

    font-size: 12px;
    font-weight: 700;
}


.contact-card a:hover,
.contact-card a:focus-visible {
    color: var(--gold-text);
}


.site-footer {
    padding: 70px 0 24px;

    background: #0A2134;
}


.footer-grid {
    padding-bottom: 50px;

    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(150px, 0.75fr));

    gap: 50px;
}


.footer-brand-link {
    justify-content: flex-start;
}


.footer-brand-link .brand-mark {
    background: var(--gold);
    color: var(--navy);
}


.footer-brand-link .brand-text strong {
    color: var(--surface);
}


.footer-brand-link .brand-text small {
    color: rgba(255, 255, 255, 0.56);
}


.footer-brand > p {
    max-width: 330px;

    margin-top: 21px;

    color: rgba(255, 255, 255, 0.56);

    font-size: 12px;
    line-height: 1.75;
}


.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 10px;
}


.footer-column h2 {
    margin-bottom: 8px;

    color: var(--gold-text);

    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}


.footer-column a,
.footer-column p {
    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;
    line-height: 1.6;
}


.footer-column a:hover,
.footer-column a:focus-visible {
    color: var(--surface);
}


.footer-bottom {
    padding-top: 23px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 35px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);
}


.footer-bottom p {
    max-width: 590px;

    color: rgba(255, 255, 255, 0.44);

    font-size: 10px;
    line-height: 1.6;
}


@media (max-width: 1000px) {

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


    .insurance-layout {
        grid-template-columns: 1fr;

        gap: 42px;
    }


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

}


@media (max-width: 760px) {

    .doctors-section,
    .insurance-section,
    .contact-section {
        padding: 68px 0;
    }


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


    .doctor-qualifications {
        min-height: 0;
    }


    .insurance-panel,
    .contact-panel {
        padding: 30px 24px;
    }


    .insurance-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .contact-primary-actions {
        align-items: stretch;
        flex-direction: column;
    }


    .contact-primary-actions a {
        width: 100%;
    }


    .contact-card {
        min-height: 0;
    }


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

        gap: 35px;
    }


    .footer-bottom {
        flex-direction: column;

        gap: 10px;
    }

}


@media (max-width: 420px) {

    .insurance-list {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================
   CONDITION PAGE TEMPLATE
   ========================================================== */


/* ---------- Condition Hero ---------- */

.condition-hero {
    padding: 85px 0;

    background:
        radial-gradient(
            circle at 20% 30%,
            rgba(200, 169, 106, 0.12),
            transparent 35%
        ),
        var(--background);
}


.condition-hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;

    align-items: center;

    gap: 70px;
}


.condition-category {
    margin-bottom: 12px;

    color: var(--gold-text);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.condition-hero h1 {
    margin-bottom: 8px;

    font-size: clamp(54px, 7vw, 82px);
    line-height: 0.98;
}


.medical-name {
    margin-bottom: 28px;

    color: var(--text-light);

    font-size: 16px;
}


.medical-name strong {
    color: var(--navy);
}


.condition-introduction {
    max-width: 720px;

    margin-bottom: 16px;

    color: var(--text-light);

    font-size: 17px;
    line-height: 1.8;
}


.condition-actions {
    margin-top: 32px;

    display: flex;
    align-items: center;

    gap: 24px;
}


.text-link {
    color: var(--navy);

    font-size: 14px;
    font-weight: 700;
}


.text-link:hover {
    color: var(--gold-text);
}


/* ---------- Summary Card ---------- */

.condition-summary-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--surface);

    box-shadow: var(--shadow-card);
}


.summary-label {
    margin-bottom: 18px;

    color: var(--gold-text);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.summary-item {
    padding: 16px 0;

    display: flex;
    flex-direction: column;

    gap: 4px;

    border-bottom: 1px solid var(--border);
}


.summary-item:last-child {
    border-bottom: 0;
}


.summary-item span {
    color: var(--text-light);

    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}


.summary-item strong {
    color: var(--navy);

    font-size: 14px;
    line-height: 1.5;
}


/* ---------- Main Condition Content ---------- */

.condition-content-section {
    padding: 90px 0;

    background: var(--surface);
}


.condition-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;

    align-items: start;

    gap: 70px;
}


.condition-article {
    max-width: 790px;
}


.content-block {
    padding-bottom: 46px;
    margin-bottom: 46px;

    border-bottom: 1px solid var(--border);
}


.content-block:last-child {
    margin-bottom: 0;
}


.content-block h2 {
    margin-bottom: 20px;

    font-size: clamp(32px, 4vw, 43px);
    line-height: 1.08;
}


.content-block p {
    margin-bottom: 16px;

    color: #4B5563;

    font-size: 16px;
    line-height: 1.85;
}


.content-block p:last-child {
    margin-bottom: 0;
}


.medical-list {
    margin: 22px 0 24px;
    padding-left: 0;

    display: grid;

    gap: 13px;

    list-style: none;
}


.medical-list li {
    position: relative;

    padding-left: 27px;

    color: #4B5563;

    font-size: 15px;
    line-height: 1.7;
}


.medical-list li::before {
    content: "";

    position: absolute;
    top: 10px;
    left: 0;

    width: 8px;
    height: 8px;

    border: 2px solid var(--gold);
    border-radius: 50%;
}


/* ---------- Urgent Information ---------- */

.urgent-block {
    padding: 34px;

    border: 1px solid rgba(200, 169, 106, 0.5);
    border-radius: 14px;

    background: #FBF8F1;
}


.block-label {
    margin-bottom: 8px !important;

    color: var(--gold-text) !important;

    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


/* ---------- FAQ ---------- */

.faq-block details {
    border-bottom: 1px solid var(--border);
}


.faq-block details:first-of-type {
    border-top: 1px solid var(--border);
}


.faq-block summary {
    padding: 19px 0;

    color: var(--navy);

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;
}


.faq-block details p {
    padding: 0 0 20px;

    font-size: 14px;
}


/* ---------- Sidebar ---------- */

.condition-sidebar {
    position: sticky;
    top: 30px;

    display: grid;

    gap: 22px;
}


.sidebar-card {
    padding: 28px;

    border: 1px solid var(--border);
    border-radius: 14px;

    background: var(--background);

    box-shadow: 0 8px 25px rgba(15, 45, 70, 0.05);
}


.sidebar-label {
    margin-bottom: 16px;

    color: var(--gold-text);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}


.sidebar-card > a:not(.btn) {
    padding: 12px 0;

    display: block;

    border-bottom: 1px solid var(--border);

    color: var(--navy);

    font-size: 14px;
    font-weight: 600;
}


.sidebar-card > a:not(.btn):last-child {
    border-bottom: 0;
}


.sidebar-card > a:not(.btn):hover {
    color: var(--gold-text);
}


.sidebar-help-card {
    background: var(--navy);
}


.sidebar-help-card h3 {
    margin-bottom: 13px;

    color: white;

    font-size: 27px;
    line-height: 1.1;
}


.sidebar-help-card > p:not(.sidebar-label) {
    margin-bottom: 20px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 13px;
    line-height: 1.7;
}


.sidebar-help-card .btn {
    background: var(--gold);
    color: var(--navy);
}


/* ---------- Appointment Panel ---------- */

.appointment-section {
    padding: 80px 0;

    background: var(--background);
}


.appointment-panel {
    padding: 48px 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    border-radius: 14px;

    background: var(--navy);

    box-shadow: 0 20px 45px rgba(15, 45, 70, 0.14);
}


.appointment-panel h2 {
    margin: 5px 0 10px;

    color: white;

    font-size: clamp(34px, 4vw, 46px);
    line-height: 1.08;
}


.appointment-panel > div:first-child > p:last-child {
    max-width: 650px;

    color: rgba(255, 255, 255, 0.72);
}


.appointment-actions {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    gap: 12px;
}


.appointment-actions .btn {
    background: var(--gold);
    color: var(--navy);
}


.outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 21px;

    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;

    color: white;

    font-size: 14px;
    font-weight: 600;
}


.outline-btn:hover {
    border-color: white;
}


/* ---------- Condition Footer ---------- */

.condition-footer {
    padding: 26px 0;

    background: #0A2134;
}


.condition-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.condition-footer p {
    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
}


/* ---------- Condition Page Responsive ---------- */

@media (max-width: 950px) {

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


    .condition-summary-card {
        max-width: 600px;
    }


    .condition-sidebar {
        position: static;

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


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

}


@media (max-width: 600px) {

    .condition-hero {
        padding: 60px 0;
    }


    .condition-hero-grid {
        gap: 42px;
    }


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

        gap: 16px;
    }


    .condition-content-section {
        padding: 65px 0;
    }


    .condition-layout {
        gap: 45px;
    }


    .urgent-block {
        padding: 25px;
    }


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


    .appointment-section {
        padding: 60px 0;
    }


    .appointment-panel {
        padding: 34px 25px;
    }


    .appointment-actions {
        width: 100%;

        align-items: stretch;
        flex-direction: column;
    }


    .appointment-actions a {
        width: 100%;
    }


    .condition-footer-content {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

}


/* ---------- Accessible Colour Contexts ---------- */

.brand-mark,
.doctor-monogram,
.contact-outline-button:hover,
.contact-outline-button:focus-visible,
.contact-card-number,
.contact-card-link,
.contact-card a:hover,
.contact-card a:focus-visible,
.footer-column h2,
.contact-section .section-kicker,
.introduction-content .section-kicker,
.insurance-introduction .section-kicker,
.insurance-introduction .medical-text-link {
    color: var(--gold);
}


.footer-bottom p {
    color: rgba(255, 255, 255, 0.72);
}
