/* Shared styles: theme, typography, and base layout */
:root {
    --primary: #004BB1;
    --primary-dark: #003580;
    --primary-light: #EAF3FF;
    --accent: #FD5B53;
    --accent-light: #FFF0EF;
    --dark: #172B4D;
    --text: #334155;
    --muted: #64748B;
    --background: #FFFFFF;
    --section-bg: #F7F9FC;
    --font-heading: "Libre Baskerville", serif;
    --font-body: "Inter", sans-serif;
    color-scheme: light;
    font-family: var(--font-body);
    color: var(--dark);
    background: var(--background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
}

body {
    min-width: 0;
    margin: 0;
    font-family: var(--font-body);
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--background);
    box-shadow: 0 4px 14px rgba(0, 75, 177, 0.12);
}

.clinic-info-bar {
    background: var(--primary-dark);
    color: #fff;
}

.clinic-info-inner {
    display: flex;
    width: min(100% - 48px, 1200px);
    min-height: 32px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 0 auto;
}

.clinic-info-details,
.clinic-info-social {
    display: flex;
    align-items: center;
    gap: 22px;
}

.clinic-info-details {
    flex-wrap: wrap;
    font-size: 13px;
}

.clinic-info-details a,
.clinic-info-details span {
    color: inherit;
    text-decoration: none;
}

.clinic-info-details a:hover,
.clinic-info-details a:focus-visible {
    text-decoration: underline;
}

.clinic-info-social a {
    display: inline-grid;
    width: 24px;
    height: 24px;
    place-items: center;
    color: inherit;
    transition: color 160ms ease;
}

.clinic-info-social a:hover,
.clinic-info-social a:focus-visible {
    color: #b9d7ff;
}

.clinic-info-social a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.clinic-info-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.clinic-info-social a:nth-child(2) svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.floating-call-button,
.floating-social-button {
    position: fixed;
    z-index: 1100;
    right: 16px;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.24);
    transition: background-color 160ms ease, box-shadow 160ms ease, scale 160ms ease;
}

.floating-call-button {
    bottom: 16px;
    background: #168344;
}

.floating-whatsapp-button {
    bottom: 66px;
    background: #168344;
}

.floating-facebook-button {
    bottom: 116px;
    background: #1877f2;
}

.floating-call-button:hover,
.floating-call-button:focus-visible,
.floating-social-button:hover,
.floating-social-button:focus-visible {
    background: #106b35;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    scale: 1.06;
}

.floating-facebook-button:hover,
.floating-facebook-button:focus-visible {
    background: #0d5fca;
}

.floating-call-button:focus-visible,
.floating-social-button:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.floating-call-button svg,
.floating-social-button svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.floating-facebook-button svg {
    fill: currentColor;
    stroke: none;
}

@media (max-width: 480px) {
    .floating-call-button,
    .floating-social-button {
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .floating-call-button svg,
    .floating-social-button svg {
        width: 19px;
        height: 19px;
    }

    .floating-call-button {
        bottom: 12px;
    }

    .floating-whatsapp-button {
        bottom: 58px;
    }

    .floating-facebook-button {
        bottom: 104px;
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 48px, 1200px);
    min-height: 120px;
    margin: 0 auto;
}

.brand {
    display: inline-flex;
    flex: 0 0 120px;
    align-items: center;
    min-width: 0;
}

.brand img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    object-position: left center;
    transform: scale(1.55);
    transform-origin: left center;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.primary-nav a {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--accent);
}

.appoiment {
    flex: 0 0 auto;
}

.appoiment .button {
    position: relative;
    overflow: hidden;

    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;

    padding: 0 20px;

    border: 2px solid var(--accent);
    border-radius: 8px;

    background: var(--accent);
    color: var(--background);

    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease,
        box-shadow 160ms ease;
}

/* Sliding light */
.appoiment .button::before {
    content: "";
    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.45),
        transparent
    );

    transform: skewX(-20deg);
    transition: left 550ms ease;

    pointer-events: none;
}

.appoiment .button:hover::before {
    left: 140%;
}

.appoiment .button:hover {
    transform: translateY(-1px);

    border-color: var(--primary-dark);
    background: var(--primary-dark);

    box-shadow: 0 6px 18px rgba(0, 75, 177, 0.18);
}

.appoiment .button:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.menu-toggle,
.menu-button {
    display: none;
}

/* Home page: hero banner */
.hero-banner {
    position: relative;
    overflow: hidden;
    background: var(--background);
}

.hero-arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(0, 39, 92, 0.55);
    color: #fff;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover {
    background: rgba(0, 39, 92, 0.85);
}

.hero-arrow:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.hero-arrow svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.hero-arrow-previous {
    left: 20px;
}

.hero-arrow-next {
    right: 20px;
}

.hero-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 2000 / 720;
    overflow: hidden;
    background: var(--section-bg);
}

.hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateX(100%);
    transition: transform 600ms ease;
}

.hero-image.is-active {
    transform: translateX(0);
    z-index: 2;
}

.hero-image.is-exiting {
    transform: translateX(-100%);
    z-index: 1;
}

.hero-image.is-exiting-to-next {
    transform: translateX(100%);
}

.hero-image.is-preparing {
    transition: none;
}

.hero-image.is-preparing-from-previous {
    transform: translateX(-100%);
}

.hero-image.is-resetting {
    transition: none;
}

.hero-shade {
    background: rgba(23, 43, 77, 0.58);
}

.disease-marquee {
    overflow: hidden;
    padding: 18px 0;
    background: #A8DCFA;
}

.disease-marquee-track,
.disease-marquee-group {
    display: flex;
    width: max-content;
    align-items: center;
}

.disease-marquee-track {
    animation: disease-marquee-scroll 45s linear infinite;
}

.disease-marquee:hover .disease-marquee-track,
.disease-marquee:focus-within .disease-marquee-track {
    animation-play-state: paused;
}

.disease-marquee-group {
    flex: 0 0 auto;
    gap: 14px;
    margin: 0;
    padding: 0 7px;
    list-style: none;
}

.disease-marquee-group li {
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 1px solid #dbe8f7;
    border-radius: 18px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.disease-marquee-group li::before {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 9px;
    border-radius: 50%;
    background: #FD5B53;
    content: "";
    vertical-align: 1px;
}

@keyframes disease-marquee-scroll {
    to {
        transform: translateX(-50%);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 72px 0;
    color: var(--background);
}

.hero-eyebrow {
    margin: 0 0 14px;
    color: var(--accent-light);
    font-size: 15px;
    font-weight: 700;
}

.hero-content h1 {
    max-width: 640px;
    margin: 0;
    font-size: 52px;
    line-height: 1.08;
}

.hero-description {
    max-width: 560px;
    margin: 20px 0 28px;
    font-size: 18px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    background: var(--accent);
    color: var(--background);
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.hero-cta:hover,
.hero-cta:focus-visible {
    border-color: var(--background);
    background: var(--primary-dark);
}

.hero-cta:focus-visible {
    outline: 3px solid var(--background);
    outline-offset: 3px;
}

@media (max-width: 1000px) and (min-width: 801px) {
    .primary-nav {
        gap: 18px;
    }

    .primary-nav a {
        font-size: 14px;
    }

    .about-inner {
        gap: 36px;
    }
}

@media (max-width: 800px) {
    .clinic-info-inner {
        width: calc(100% - 36px);
    }

    .clinic-info-details {
        gap: 8px 16px;
        padding: 4px 0;
    }

    .header-inner {
        width: calc(100% - 36px);
        min-height: 76px;
        flex-wrap: wrap;
    }

    .brand {
        flex-basis: 76px;
    }

    .brand img {
        width: 100px;
        height: 76px;
    }

    .menu-toggle {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .menu-button {
        display: flex;
        width: 40px;
        height: 40px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border: 1px solid var(--primary-light);
        border-radius: 4px;
        cursor: pointer;
    }

    .menu-button span {
        width: 19px;
        height: 2px;
        background: var(--primary);
        transition: transform 160ms ease, opacity 160ms ease;
    }

    .menu-toggle:focus-visible + .menu-button {
        outline: 2px solid var(--accent);
        outline-offset: 3px;
    }

    .primary-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 4px 0 12px;
    }

    .appoiment {
        width: 100%;
        padding-top: 12px;
    }

    .appoiment .button {
        width: 100%;
    }

    .primary-nav a {
        padding: 13px 4px;
        border-top: 1px solid var(--primary-light);
    }

    .menu-toggle:checked ~ .primary-nav {
        display: flex;
    }

    .menu-toggle:checked + .menu-button span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle:checked + .menu-button span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle:checked + .menu-button span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

}

@media (max-width: 480px) {
    .clinic-info-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0 8px;
        width: calc(100% - 24px);
        min-height: 0;
        padding: 4px 0;
    }

    .clinic-info-details {
        min-width: 0;
        gap: 2px 8px;
        padding: 0;
        font-size: 11px;
        line-height: 1.3;
    }

    .clinic-info-social {
        gap: 8px;
    }

    .clinic-info-social a {
        width: 20px;
        height: 20px;
    }

    .clinic-info-social svg {
        width: 16px;
        height: 16px;
    }

    .header-inner {
        width: calc(100% - 28px);
        min-height: 76px;
    }

    .brand {
        flex-basis: 68px;
    }

    .brand img {
        width: 110px;
        height: 80px;
    }
}

/* Home page: About section */
.about-section {
    background: linear-gradient(
        135deg,
        var(--accent-light) 0%,
        var(--background) 45%,
        var(--primary-light) 100%
    );
}

.about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 80px 0;
}

.about-image {
    position: relative;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 75, 177, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-image::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--accent-light));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.about-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 82% center;
    border-radius: 16px;
    transition: transform 0.6s ease, filter 0.35s ease;
}

.about-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 48px rgba(253, 91, 83, 0.2);
}

.about-image:hover img {
    transform: scale(1.08);
    filter: saturate(1.08);
}

.about-copy {
    max-width: 560px;
}

.about-copy h2 {
    margin: 0 0 20px;
    color: var(--primary);
    font-size: clamp(2.1rem, 4vw, 2.6rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.about-copy h2 span {
    color: var(--accent);
}

.about-copy h5{
    margin: 0 0 20px;
    color: var(--primary);
    font-size: 25px;
    line-height: 1.15;
}

.about-kicker {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 9px;
    font-weight: 700;
}

/* About page content sections */
.about-page-section {
    padding: 76px 0;
    background: linear-gradient(135deg, var(--accent-light), var(--background) 48%, var(--primary-light));
}

.about-radiotherapy-section {
    padding: 68px 0;
    background: #f7fbff;
}

.about-radiotherapy-inner,
.about-visit-inner,
.about-appointment-inner {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.about-radiotherapy-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-radiotherapy-card {
    padding: 28px;
    border: 1px solid #e1edf5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(14, 65, 104, 0.06);
}

.about-radiotherapy-card .about-kicker {
    margin: 0 0 8px;
}

.about-radiotherapy-card h2,
.about-visit-details h2,
.about-appointment-inner h2 {
    margin: 0 0 18px;
    color: var(--primary-dark);
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.25;
}

.about-radiotherapy-card ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-radiotherapy-card li {
    position: relative;
    padding-left: 21px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.about-radiotherapy-card li::before {
    position: absolute;
    top: 0.65em;
    left: 1px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    content: "";
}

.about-visit-section {
    padding: 68px 0;
    background: #fff;
}

.about-visit-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 42px;
}

.about-visit-photo {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(14, 65, 104, 0.12);
}

.about-visit-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-visit-details > p:not(.about-kicker) {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.about-visit-details > p strong {
    color: var(--dark);
}

.about-hospital-note {
    padding: 12px 14px;
    border-left: 3px solid var(--primary);
    background: #f2f8fc;
}

.about-visit-map {
    width: min(1120px, calc(100% - 48px));
    height: 360px;
    overflow: hidden;
    margin: 34px auto 0;
    border: 1px solid #d7e1ef;
    border-radius: 16px;
}

.about-visit-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-appointment-section {
    padding: 44px 0;
    background: var(--primary-light);
}

.about-appointment-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.about-appointment-inner h2 {
    margin-bottom: 8px;
}

.about-appointment-inner p:not(.about-kicker) {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 760px) {
    .about-radiotherapy-section,
    .about-visit-section {
        padding: 48px 0;
    }

    .about-radiotherapy-inner,
    .about-visit-inner,
    .about-appointment-inner,
    .about-visit-map {
        width: calc(100% - 36px);
    }

    .about-radiotherapy-inner,
    .about-visit-inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-radiotherapy-card {
        padding: 22px;
    }

    .about-visit-map {
        height: 280px;
    }

    .about-appointment-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

.about-page-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 64px;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.about-page-image {
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border: 8px solid var(--background);
    border-radius: 22px;
    background: var(--primary-light);
    box-shadow: 0 20px 40px rgba(0, 75, 177, 0.12);
}

.about-page-image img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    object-position: 82% center;
}

.about-page-copy {
    max-width: 580px;
}

.about-page-copy h1 {
    margin: 0 0 20px;
    color: var(--primary);
    font-size: clamp(2.25rem, 4.5vw, 3.5rem);
    line-height: 1.15;
}

.about-page-copy > p:not(.about-kicker) {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.75;
}

.about-page-copy .doctor-read-more {
    margin-top: 8px;
}

/* vision mission */

.vision-mission-section {
    padding: 76px 0 84px;
    background: var(--section-bg);
}

.vision-mission-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.vision-mission-heading {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.vision-mission-heading .about-kicker {
    margin-bottom: 8px;
}

.vision-mission-heading h2 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.2;
}

.vision-mission-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.vision-mission-card {
    padding: 32px;
    border: 1px solid var(--primary-light);
    border-radius: 18px;
    background: var(--background);
    box-shadow: 0 12px 30px rgba(0, 75, 177, 0.07);
}

.vision-mission-icon {
    display: inline-grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 15px;
    background: var(--primary-light);
    color: var(--primary);
}

.vision-mission-icon svg {
    width: 27px;
    height: 27px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    transition: color 180ms ease;
}


.vision-mission-card h3 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 23px;
    line-height: 1.3;
    transition: color 180ms ease;
}

/* .vision-mission-card:hover h3,
.vision-mission-card:hover .vision-mission-icon svg {
    color: var(--accent);
} */

.vision-mission-card p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.care-approach-section {
    background: var(--background);
}

.care-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.care-step-card {
    padding: 28px 24px;
    border: 1px solid var(--primary-light);
    border-radius: 18px;
    background: var(--section-bg);
    box-shadow: 0 12px 30px rgba(0, 75, 177, 0.07);
}

.care-step-card:hover {
    border-color: var(--accent);
    box-shadow: 0 18px 36px rgba(253, 91, 83, 0.14);
}

.care-step-number {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--background);
    font-size: 16px;
    font-weight: 700;
}

.care-step-card h3 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 19px;
    line-height: 1.35;
    transition: color 180ms ease;
}

.care-step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.care-step-card:hover h3,
.care-step-card:hover svg
 {
    color: var(--accent);
}

.care-step-card:hover .care-step-number{
    background: var(--accent);
}

.about-copy p:not(.about-kicker) {
    margin: 0 0 16px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.7;
}

@media (max-width: 680px) {
    .about-page-section,
    .vision-mission-section {
        padding: 52px 0 60px;
    }

    .about-page-inner,
    .vision-mission-inner {
        width: calc(100% - 36px);
    }

    .about-page-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-page-image {
        width: min(100%, 640px);
        margin: 0 auto;
        aspect-ratio: 4 / 3;
    }

    .about-page-copy {
        max-width: 640px;
        margin: 0 auto;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .care-steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .vision-mission-card {
        padding: 24px;
    }

    .care-step-card {
        padding: 22px;
    }

    .about-inner {
        gap: 28px;
        width: calc(100% - 36px);
        padding: 56px 0;
    }

    .about-image {
        aspect-ratio: 4 / 3;
    }

    .about-copy h2 {
        font-size: clamp(1rem, 5vw, 2.5rem);
    }
}

@media (max-width: 480px) {
    .header-inner,
    .about-inner,
    .about-page-inner,
    .vision-mission-inner {
        width: calc(100% - 32px);
    }

    .about-page-copy > p:not(.about-kicker) {
        font-size: 16px;
    }

    .vision-mission-card {
        padding: 22px;
    }

    .care-steps-grid {
        grid-template-columns: 1fr;
    }

    .about-inner {
        padding: 44px 0;
    }

    .about-image {
        aspect-ratio: 4 / 3;
        padding: 7px;
        border-radius: 18px;
    }

    .about-image::before {
        border-radius: 18px;
    }

    .about-image img {
        border-radius: 12px;
    }

    .about-copy h5 {
        font-size: 16px;
    }

    .about-copy p:not(.about-kicker) {
        font-size: 16px;
    }
}

/* Contact page */
.contact-hero {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--primary-light), var(--background) 58%, var(--accent-light));
}

.contact-hero-inner,
.contact-options-grid,
.contact-appointment-inner,
.contact-location-inner,
.contact-support-inner,
.contact-emergency-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.contact-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: 56px;
}

.contact-hero-copy .about-kicker {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-hero-copy h1 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: clamp(2.6rem, 6vw, 4.4rem);
    line-height: 1.1;
}

.contact-hero-copy > p:not(.about-kicker) {
    max-width: 640px;
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.75;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.contact-hero-actions .doctor-read-more {
    margin: 0;
}

.contact-call-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: transparent;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.contact-call-button:hover,
.contact-call-button:focus-visible {
    background: var(--primary);
    color: var(--background);
}

.contact-call-button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.contact-hero-image {
    min-height: 350px;
    overflow: hidden;
    border: 7px solid var(--background);
    border-radius: 24px;
    background: var(--primary-light);
    box-shadow: 0 20px 44px rgba(23, 43, 77, 0.14);
}

.contact-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.contact-options-section {
    padding: 54px 0;
    background: var(--background);
}

.contact-options-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.contact-option-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border: 1px solid var(--primary-light);
    border-radius: 16px;
    background: var(--section-bg);
    box-shadow: 0 10px 28px rgba(23, 43, 77, 0.06);
}

.contact-option-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 17px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
}

.contact-option-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.contact-option-card h2 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 19px;
    line-height: 1.3;
}

.contact-option-card p {
    flex: 1;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.contact-option-card strong {
    color: var(--dark);
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

.contact-card-link:hover,
.contact-card-link:focus-visible {
    color: var(--accent);
}

.contact-appointment-section {
    padding: 76px 0;
    background: var(--section-bg);
}

.contact-appointment-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 48px;
}

.contact-appointment-intro h2,
.contact-location-copy h2,
.contact-support-inner h2 {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    line-height: 1.2;
}

.contact-appointment-intro > p:not(.about-kicker) {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.contact-form-panel {
    width: 100%;
}

.contact-form-panel h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.contact-form-disclaimer {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.contact-form-notice {
    margin: 12px 0 0;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
}

.contact-form-notice:empty {
    display: none;
}

.contact-location-section {
    position: static;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--background);
}

.contact-location-inner {
    width: 100%;
    max-width: none;
    margin: 0;
}

.contact-location-section .contact-location-inner {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
}

.clinic-hours-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}

.clinic-hours-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    /*align-items: center;*/
    /*gap: clamp(28px, 5vw, 64px);*/
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.clinic-hours-photo {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 18px;
    /*background: var(--primary-light);*/
    /*box-shadow: 0 14px 34px rgba(23, 43, 77, 0.12);*/
}

.clinic-hours-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.clinic-hours-photo > p {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    margin: 0;
    padding: 11px 14px;
    border-radius: 10px;
    background: rgba(7, 29, 50, 0.78);
    color: #fff;
    font-size: 14px;
}

.clinic-hours-copy h2 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-family: var(--font-heading, var(--font-body));
    /*font-size: clamp(1.8rem, 3vw, 2.5rem);*/
    line-height: 1.2;
}

.clinic-hours-detail {
    margin: 0 0 20px;
    padding: 0 0 18px;
    border-bottom: 1px solid #dfeaf2;
}

.clinic-hours-label {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.clinic-hours-detail p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.clinic-hours-detail strong {
    color: var(--dark);
}

.clinic-hours-copy .doctor-read-more {
    display: inline-flex;
    margin-top: 2px;
}

@media (max-width: 760px) {
    .clinic-hours-section {
        padding: 52px 0;
    }

    .clinic-hours-inner {
        grid-template-columns: 1fr;
        width: calc(100% - 36px);
        gap: 28px;
    }
}

.contact-location-inner {
    display: block;
}

.contact-map {
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--primary-light);
    box-shadow: 0 14px 34px rgba(23, 43, 77, 0.1);
}

.contact-map iframe {
    display: block;
    width: 100%;
    max-width: none;
    height: 480px;
    min-height: 480px;
    border: 0;
}

.contact-location-copy > p:not(.about-kicker) {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.contact-location-copy > p strong {
    color: var(--dark);
}

.contact-location-copy .doctor-read-more {
    gap: 9px;
    margin-top: 10px;
}

.contact-support-section {
    padding: 58px 0;
    background: var(--primary-light);
}

.contact-support-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.contact-support-inner > div {
    max-width: 760px;
}

.contact-support-inner h2 {
    margin-bottom: 10px;
}

.contact-support-inner > div > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.contact-support-inner .doctor-read-more {
    flex: 0 0 auto;
}

.contact-emergency-note {
    padding: 22px 0;
    border-top: 1px solid #F2C8C5;
    background: var(--accent-light);
}

.contact-emergency-inner {
    display: grid;
    gap: 5px;
    color: var(--dark);
    font-size: 13px;
    line-height: 1.6;
}

.contact-emergency-inner strong {
    color: #8F2420;
}

@media (max-width: 1000px) {
    .contact-options-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-hero-inner {
        gap: 32px;
    }

    .contact-appointment-inner,
    .contact-location-inner {
        gap: 30px;
    }
}

@media (max-width: 700px) {
    .contact-hero-inner,
    .contact-options-grid,
    .contact-appointment-inner,
    .contact-location-inner,
    .contact-support-inner,
    .contact-emergency-inner {
        width: calc(100% - 36px);
    }

    .contact-hero,
    .contact-appointment-section {
        padding: 52px 0 60px;
    }

    .contact-location-section {
        padding: 0;
    }

    .contact-hero-inner,
    .contact-appointment-inner,
    .contact-location-inner {
        grid-template-columns: 1fr;
    }

    .contact-hero-inner {
        gap: 28px;
    }

    .contact-hero-copy h1 {
        font-size: clamp(2.3rem, 10vw, 3.2rem);
    }

    .contact-hero-copy > p:not(.about-kicker) {
        font-size: 16px;
    }

    .contact-hero-image,
    .contact-hero-image img {
        min-height: 280px;
    }

    .contact-appointment-intro {
        max-width: 600px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 360px;
    }

    .contact-support-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero-inner,
    .contact-options-grid,
    .contact-appointment-inner,
    .contact-location-inner,
    .contact-support-inner,
    .contact-emergency-inner {
        width: calc(100% - 32px);
    }

    .contact-options-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-hero-actions > a {
        width: 100%;
    }

    .contact-form-panel {
        padding: 24px 18px;
    }
}

/* Contact page refinements for narrow screens */
@media (max-width: 560px) {
    .contact-options-section {
        padding: 40px 0;
    }

    .contact-option-card {
        padding: 22px;
    }

    .contact-form-panel {
        padding: 24px 18px;
        border-radius: 16px;
    }

    .contact-form-panel .appointment-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .contact-form-panel .appointment-field-full {
        grid-column: auto;
    }

    .contact-location-inner {
        gap: 26px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 320px;
    }

    .contact-support-section {
        padding: 42px 0;
    }
}

.contact-simple-hero .contact-hero-inner {
    display: flex;
    max-width: 900px;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

.contact-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    color: var(--muted);
    font-size: 13px;
}

.contact-breadcrumb a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.contact-breadcrumb a:hover,
.contact-breadcrumb a:focus-visible {
    color: var(--accent);
}

.contact-simple-hero .contact-hero-copy {
    width: 100%;
}

.contact-simple-hero .contact-hero-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(3rem, 8vw, 5rem);
}

.contact-simple-hero .contact-hero-copy > p:not(.about-kicker) {
    margin: 0 auto;
}

.contact-assistance-details {
    display: grid;
    gap: 14px;
    margin: 22px 0 18px;
}

.contact-assistance-details p {
    display: grid;
    gap: 4px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.contact-assistance-details strong {
    color: var(--dark);
    font-size: 14px;
}

.contact-assistance-details a {
    width: fit-content;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-assistance-details a:hover,
.contact-assistance-details a:focus-visible {
    color: var(--accent);
}

@media (max-width: 360px) {
    .contact-hero-inner,
    .contact-options-grid,
    .contact-appointment-inner,
    .contact-location-inner,
    .contact-support-inner {
        width: calc(100% - 28px);
    }

    .contact-hero-copy h1 {
        font-size: 1.15rem;
    }

    .contact-hero-image,
    .contact-hero-image img {
        min-height: 230px;
    }

    .contact-form-panel {
        padding: 20px 14px;
    }
}

.contact-option-card p,
.contact-location-copy > p:not(.about-kicker),
.contact-form-panel,
.contact-hero-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

/* Home page: services preview carousel */
.services-section {
    background: #fff;
    padding: 76px 0 84px;
}

.services-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.services-heading {
    margin-bottom: 32px;
    text-align: center;
}

.services-heading .about-kicker {
    margin-bottom: 8px;
}

.services-heading h2 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: clamp(1rem, 3vw, 2.6rem);
    line-height: 1.2;
}

.services-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.services-viewport {
    overflow: hidden;
    padding: 8px 4px 18px;
}

.services-track {
    display: flex;
    gap: 24px;
    transition: transform 400ms ease;
    will-change: transform;
}

.service-card {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #004bb129;
    border-radius: 16px;
    /*background: var(--primary-light);*/
    box-shadow: 0 12px 30px rgba(0, 75, 177, 0.07);
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #004bb19e;
    box-shadow: 0 18px 36px rgba(253, 91, 83, 0.14);
}

.service-card > img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 62%;
}

.service-card-copy {
    padding: 22px;
}

.service-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 14px;
    background: var(--background);
    color: var(--primary);
    transition: background-color 200ms ease, color 200ms ease;
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.service-card:hover .service-icon {
    background: var(--accent-light);
    color: var(--accent);
}

.service-card h3 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 20px;
    line-height: 1.3;
    transition: color 200ms ease;
}

.service-card:hover h3 {
    color: var(--accent);
}

.service-card p {
    margin: 0;
    min-height: 3.3em;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.services-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.services-dot {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.services-dot::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--primary);
    transition: background-color 160ms ease, transform 160ms ease;
}

.services-dot:hover,
.services-dot.is-active {
    background: transparent;
}

.services-dot:hover::before,
.services-dot.is-active::before {
    background: var(--accent);
    transform: scale(1.15);
}

.services-dot:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Home page: clinic gallery */
.gallery-section {
    padding: 76px 0 84px;
     background: linear-gradient(180deg, var(--accent-light) 0%, var(--background) 95%, var(--primary-light) 100%);
}

.gallery-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.gallery-heading {
    margin: 0 auto 32px;
    text-align: center;
}

.gallery-heading .about-kicker {
    margin-bottom: 8px;
}

.gallery-heading h2 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.2;
}

.gallery-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.gallery-viewport {
    overflow: hidden;
    padding: 8px 4px 18px;
}

.gallery-track {
    display: flex;
    gap: 24px;
    transition: transform 400ms ease;
    will-change: transform;
}

.gallery-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: 0;
    border: 1px solid var(--primary-light);
    border-radius: 16px;
    background: var(--primary-light);
    box-shadow: 0 12px 30px rgba(0, 75, 177, 0.08);
}

.gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.gallery-card:hover img {
    transform: scale(1.04);
}

.gallery-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.gallery-dot {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.gallery-dot::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--primary);
    transition: background-color 160ms ease, transform 160ms ease;
}

.gallery-dot:hover,
.gallery-dot.is-active {
    background: transparent;
}

.gallery-dot:hover::before,
.gallery-dot.is-active::before {
    background: var(--accent);
    transform: scale(1.15);
}

.gallery-dot:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.gallery-view-more,
.home-latest-blogs-action {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.post-gallery-section {
    overflow: hidden;
    padding: 56px 0;
    background: #fff;
}

.post-gallery-viewport {
    overflow: hidden;
    width: 100%;
}

.post-gallery-track {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: post-gallery-scroll 42s linear infinite;
}

.post-gallery-track img {
    display: block;
    width: clamp(170px, 20vw, 260px);
    height: auto;
    flex: 0 0 auto;
}

.post-gallery-viewport:hover .post-gallery-track {
    animation-play-state: paused;
}

@keyframes post-gallery-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 10px)); }
}

@media (max-width: 600px) {
    .post-gallery-section {
        padding: 36px 0;
    }

    .post-gallery-track {
        gap: 12px;
        animation-duration: 34s;
    }

    .post-gallery-track img {
        width: 62vw;
        max-width: 230px;
    }
}

@media (max-width: 360px) {
    .post-gallery-track img {
        width: 68vw;
    }
}

@media (prefers-reduced-motion: reduce) {
    .post-gallery-track {
        animation: none;
    }
}

.radiotherapy-overview {
    padding: 68px 0 76px;
    background: #fff;
}

.radiotherapy-overview-inner {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.radiotherapy-overview-heading {
    max-width: 720px;
    margin: 0 auto 30px;
    text-align: center;
}

.radiotherapy-overview-heading .about-kicker {
    justify-content: center;
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
}

.radiotherapy-overview-intro {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.radiotherapy-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.radiotherapy-overview-card {
    padding: 28px 30px;
    border: 1px solid #e1edf5;
    border-radius: 16px;
    background: #f8fbfd;
    box-shadow: 0 12px 30px rgba(14, 65, 104, 0.06);
}

.radiotherapy-overview-card h3 {
    margin: 0 0 18px;
    color: var(--primary-dark);
    font-size: 1.25rem;
    line-height: 1.35;
}

.radiotherapy-overview-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.radiotherapy-overview-card li {
    position: relative;
    padding-left: 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.radiotherapy-overview-card li::before {
    position: absolute;
    top: 0.68em;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    content: "";
}

@media (max-width: 680px) {
    .radiotherapy-overview {
        padding: 48px 0 56px;
    }

    .radiotherapy-overview-inner {
        width: calc(100% - 36px);
    }

    .radiotherapy-overview-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .radiotherapy-overview-card {
        padding: 22px 20px;
    }
}

@media (max-width: 800px) {
    .services-inner {
        width: calc(100% - 36px);
    }

    .service-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .services-track {
        gap: 20px;
    }

    .gallery-inner {
        width: calc(100% - 36px);
    }

    .gallery-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .gallery-track {
        gap: 20px;
    }

    .testimonials-inner {
        width: calc(100% - 36px);
    }

    .testimonial-card {
        flex-basis: calc((100% - 20px) / 2);
    }

    .testimonials-track {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .services-section {
        padding: 52px 0 60px;
    }

    .services-inner {
        width: calc(100% - 32px);
    }

    .gallery-section {
        padding: 52px 0 60px;
    }

    .gallery-inner {
        width: calc(100% - 32px);
    }

    .service-card {
        flex-basis: 100%;
    }

    .gallery-card {
        flex-basis: 100%;
    }

    .service-card-copy {
        padding: 20px;
    }

    .service-card h3 {
        font-size: 14px;
    }
}

/* Home page: why choose us */
.informative-videos-section {
    padding: 44px 0 52px;
    /* background: linear-gradient(125deg, var(--primary-dark) 0%, var(--primary) 58%, #1768c5 100%); */
    background: #071d32;
    color: #fff;
}

.informative-videos-inner {
    width: min(1150px, calc(100% - 48px));
    margin: 0 auto;
}

.informative-videos-heading {
    max-width: 680px;
    margin: 0 auto 30px;
    text-align: center;
}

.informative-videos-heading .about-kicker {
    justify-content: center;
    color: #fff;
}

.informative-videos-heading h2,
.informative-videos-heading h3 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.2;
}

.informative-videos-heading > p:last-child {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.7;
}

.informative-videos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
}

.informative-video-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 6px;
    /*background: #fff;*/
}

.informative-video-placeholder {
    display: flex;
    position: relative;
    aspect-ratio: 9 / 16;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    background: linear-gradient(145deg, #d5e7ee 0%, #aecbd3 52%, #315868 100%);
    color: #fff;
    font-size: 11px;
    text-align: center;
}

.informative-video-placeholder.is-linked {
    color: var(--primary-dark);
    text-decoration: none;
    transition: background 160ms ease;
}

.informative-video-placeholder.is-linked:hover,
.informative-video-placeholder.is-linked:focus-visible {
    background: linear-gradient(140deg, #dceef8 0%, #c8e1f1 100%);
}

.informative-video-placeholder.is-linked:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.informative-video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    background: #d8eaf5;
}

.informative-video-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.informative-video-thumbnail::after {
    position: absolute;
    inset: 55% 0 0;
    /*background: linear-gradient(transparent, rgba(7, 29, 50, 0.76));*/
    content: "";
}

.informative-video-thumbnail:hover img,
.informative-video-thumbnail:focus-visible img {
    transform: scale(1.035);
}

.informative-video-thumbnail:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.informative-video-play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.informative-video-watch-label {
    position: absolute;
    z-index: 1;
    right: 4px;
    bottom: 7px;
    left: 4px;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    pointer-events: none;
}

.informative-video-play {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    padding-left: 4px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 6px 18px rgba(0, 75, 177, 0.24);
    color: #fff;
    font-size: 21px;
}

.informative-video-placeholder-label {
    margin: auto 4px 7px;
    padding: 5px 3px;
    border-radius: 4px;
    background: rgba(7, 29, 50, 0.72);
    font-size: 9px;
}

@media (max-width: 760px) {
    .informative-videos-section {
        padding: 52px 0 60px;
    }

    .informative-videos-inner {
        width: calc(100% - 36px);
    }

    .informative-videos-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
    }

    .informative-video-play {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .informative-videos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.why-choose-section {
    padding: 76px 0 84px;
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--background) 95%, var(--primary-light) 100%);
}

.why-choose-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.why-choose-heading {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.why-choose-heading .about-kicker {
    margin-bottom: 8px;
}

.why-choose-heading h2 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.2;
}

.why-choose-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.6;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.why-choose-card {
    padding: 26px;
    border: 1px solid var(--primary-light);
    border-radius: 16px;
    background: var(--background);
    box-shadow: 0 10px 28px rgba(0, 75, 177, 0.06);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.why-choose-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 16px 34px rgba(253, 91, 83, 0.12);
}

.why-choose-icon {
    display: inline-grid;
    width: 50px;
    height: 50px;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 15px;
    background: var(--primary-light);
    color: var(--primary);
    transition: background-color 200ms ease, color 200ms ease;
}

.why-choose-icon svg {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.why-choose-card:hover .why-choose-icon {
    background: var(--accent-light);
    color: var(--accent);
}

.why-choose-card h3 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 19px;
    line-height: 1.35;
    transition: color 200ms ease;
}

.why-choose-card:hover h3 {
    color: var(--accent);
}

.why-choose-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .why-choose-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .why-choose-section {
        padding: 52px 0 60px;
    }

    .why-choose-inner {
        width: calc(100% - 32px);
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-choose-card {
        padding: 22px;
    }
}

/* Home page: doctor profile preview */
.doctor-section {
    background: var(--section-bg);
    padding: 80px 0;
}

.doctor-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 64px;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.doctor-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 6px solid var(--background);
    border-radius: 22px;
    background: var(--primary-light);
    box-shadow: 0 18px 40px rgba(0, 75, 177, 0.12);
}

.doctor-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

.doctor-copy {
    max-width: 600px;
}

.doctor-copy .about-kicker {
    margin-bottom: 10px;
}

.doctor-copy h2 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
}

.doctor-specialty {
    margin: 0 0 20px;
    color: var(--accent);
    font-size: 16px;
    font-weight: 500;
}

.doctor-affiliations {
    display: grid;
    gap: 8px;
    margin: -8px 0 22px;
}

.doctor-affiliations p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.doctor-affiliations strong {
    color: var(--primary-dark);
    font-weight: 700;
}

.about-doctor-section .doctor-affiliations {
    margin-top: 12px;
}

.doctor-copy > p:not(.about-kicker, .doctor-specialty) {
    margin: 0 0 24px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.75;
}

/* Home page: clinic impact counters */
.impact-section {
    padding: 38px 0;
    background: linear-gradient(120deg, #003580 0%, #004BB1 100%);
}

.impact-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.impact-heading {
    margin-bottom: 32px;
    text-align: center;
}

.impact-heading .about-kicker {
    margin-bottom: 8px;
}

.impact-heading h2 {
    margin: 0;
    color: white;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.2;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.impact-stat {
    padding: 14px 12px;
    text-align: center;
}

.impact-value {
    margin: 0 0 6px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.impact-stat h3 {
    margin: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

/* Home page: patient testimonials */
.testimonials-section {
    padding: 76px 0 84px;
    background: #F7F9FC;
}

.testimonials-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.testimonials-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.testimonials-heading h2 {
    margin: 0 0 12px;
    color: #004BB1;
    font-size: clamp(2rem, 4vw, 2.6rem);
    line-height: 1.2;
}

.testimonials-subheading {
    margin: 0 0 14px;
    color: #334155;
    font-size: 18px;
    line-height: 1.6;
}

.testimonials-notice {
    display: inline-block;
    margin: 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: #FFF0EF;
    color: #172B4D;
    font-size: 13px;
    line-height: 1.5;
}

.testimonials-viewport {
    overflow: hidden;
    padding: 8px 4px 18px;
}

.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 400ms ease;
    will-change: transform;
}

.testimonial-card {
    position: relative;
    display: flex;
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
    border: 1px solid #EAF3FF;
    border-radius: 16px;
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(0, 75, 177, 0.07);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.testimonial-card:hover {
    border-color: #FD5B53;
    box-shadow: 0 16px 34px rgba(253, 91, 83, 0.14);
}

.testimonial-label {
    margin-bottom: 14px;
    color: #64748B;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.testimonial-quote-icon {
    height: 40px;
    color: #FD5B53;
    font-family: Georgia, serif;
    font-size: 56px;
    line-height: 1;
}

.testimonial-stars {
    margin: 6px 0 12px;
    color: #FD5B53;
    font-size: 20px;
    letter-spacing: 0.12em;
}

.testimonial-card blockquote {
    margin: 0 0 22px;
    color: #64748B;
    font-size: 16px;
    line-height: 1.7;
}

.testimonial-name {
    margin: auto 0 4px;
    color: #172B4D;
    font-size: 16px;
    font-weight: 700;
}

.testimonial-clinic {
    margin: 0;
    color: #004BB1;
    font-size: 14px;
    font-weight: 600;
}

.testimonials-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.testimonials-dot {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.testimonials-dot::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--primary);
    transition: background-color 160ms ease, transform 160ms ease;
}

.testimonials-dot:hover,
.testimonials-dot.is-active {
    background: transparent;
}

.testimonials-dot:hover::before,
.testimonials-dot.is-active::before {
    background: var(--accent);
    transform: scale(1.15);
}

.testimonials-dot:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Home page: appointment form */
.appointment-section {
    padding: 80px 0;
    background:  linear-gradient(180deg, var(--accent-light) 0%, var(--background) 95%, var(--primary-light) 100%);
}

.appointment-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 48px;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.appointment-image {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 22px;
    background: var(--primary-light);
    box-shadow: 0 18px 42px rgba(0, 75, 177, 0.14);
}

.appointment-image::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(transparent, rgba(23, 43, 77, 0.82));
    pointer-events: none;
}

.appointment-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    object-position: center top;
}

.appointment-image-caption {
    position: absolute;
    z-index: 1;
    right: 24px;
    bottom: 24px;
    left: 24px;
    color: var(--background);
}

.appointment-image-caption p {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.25;
}

.appointment-image-caption span {
    font-size: 14px;
    font-weight: 600;
}

.appointment-form-panel {
    align-self: center;
    padding: 36px;
    border: 1px solid var(--primary-light);
    border-radius: 22px;
    background: var(--background);
    box-shadow: 0 14px 38px rgba(0, 75, 177, 0.08);
}

.appointment-form-panel > .about-kicker {
    margin-bottom: 8px;
}

.appointment-form-panel h2 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
}

.appointment-intro {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
}

.appointment-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.appointment-field {
    display: grid;
    gap: 7px;
}

.appointment-field-full {
    grid-column: 1 / -1;
}

.appointment-field label {
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
}

.appointment-field label span {
    color: var(--muted);
    font-weight: 400;
}

.appointment-field input,
.appointment-field select,
.appointment-field textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 12px;
    border: 1px solid #D7E1EF;
    border-radius: 8px;
    background: var(--background);
    color: var(--dark);
    font: inherit;
    font-size: 14px;
}

.appointment-field textarea {
    min-height: 92px;
    resize: vertical;
}

.appointment-field input:focus-visible,
.appointment-field select:focus-visible,
.appointment-field textarea:focus-visible {
    border-color: var(--primary);
    outline: 3px solid rgba(0, 75, 177, 0.16);
}

.appointment-notice {
    margin: 18px 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.appointment-notice-success {
    color: var(--primary-dark);
    font-weight: 600;
}

.appointment-submit {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    background: var(--accent);
    color: var(--background);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.appointment-submit:hover,
.appointment-submit:focus-visible {
    transform: translateY(-1px);
    border-color: var(--primary-dark);
    background: var(--primary-dark);
}

.appointment-submit:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 900px) {
    .appointment-inner {
        grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
        gap: 28px;
    }

    .appointment-form-panel {
        padding: 28px;
    }
}

@media (max-width: 700px) {
    .appointment-section {
        padding: 52px 0 60px;
    }

    .appointment-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        width: calc(100% - 32px);
    }

    .appointment-image,
    .appointment-image img {
        min-height: 0;
    }

    .appointment-image {
        aspect-ratio: 4 / 3;
    }

    .appointment-form-panel {
        padding: 24px 20px;
    }
}

@media (max-width: 420px) {
    .appointment-fields {
        grid-template-columns: 1fr;
    }

    .appointment-field-full {
        grid-column: auto;
    }
}

.doctor-read-more {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 2px solid var(--accent);
    border-radius: 8px;
    background: var(--accent);
    color: var(--background);
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.doctor-read-more:hover,
.doctor-read-more:focus-visible {
    transform: translateY(-2px);
}

/* Shared footer: used across the site */
.site-footer {
    padding: 58px 0 0;
    background: var(--dark);
    color: #E2E8F0;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 40px;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding-bottom: 42px;
}

.footer-brand,
.footer-links,
.footer-contact,
.footer-social {
    min-width: 0;
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 14px;
}

.footer-logo img {
    display: block;
    /*width: 140px;*/
    height: 90px;
    padding: 8px;
    border-radius: 8px;
    background: var(--background);
    object-fit: contain;
}

.footer-brand > p,
.footer-social-note {
    margin: 0;
    color: #CBD5E1;
    font-size: 14px;
    line-height: 1.7;
}

.footer-inner h2 {
    margin: 8px 0 18px;
    color: var(--background);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-links h2 {
    margin-bottom: 6px;
}

.footer-links a,
.footer-bottom a {
    color: #CBD5E1;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-bottom a:hover,
.footer-bottom a:focus-visible {
    color: var(--accent);
}

.footer-contact {
    margin: 0;
    font-style: normal;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 14px;
    color: #CBD5E1;
    font-size: 14px;
    line-height: 1.6;
    transition: color 160ms ease;
}

.footer-contact .footer-phone-link
 {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-contact .footer-phone-link:hover{
    color: var(--accent);

}
.footer-contact p:hover{
    color: var(--accent);
}

.footer-contact svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
    transition: stroke 160ms ease, transform 160ms ease;
}

.footer-contact p:hover svg {
    transform: translateY(-1px);
    stroke: var(--accent);
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-social-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(226, 232, 240, 0.3);
    border-radius: 50%;
    color: var(--background);
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.footer-social-icon:hover,
.footer-social-icon:focus-visible {
    transform: translateY(-3px);
    border-color: var(--accent);
    background: var(--accent);
    color: var(--background);
}

.footer-social-icon:focus-visible {
    outline: 3px solid var(--accent-light);
    outline-offset: 3px;
}

.footer-social-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.footer-social-icon:nth-child(2) svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.footer-social-icon:nth-child(2) .footer-social-dot {
    fill: currentColor;
    stroke: none;
}

.footer-social-icon:nth-child(3) .footer-social-play {
    fill: var(--dark);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 18px 0;
    border-top: 1px solid rgba(226, 232, 240, 0.2);
}

.footer-bottom p {
    margin: 0;
    color: #CBD5E1;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
}

@media (max-width: 560px) {
    .site-footer {
        padding-top: 42px;
    }

    .footer-logo img {
        /*width: 160px;*/
        height: 90px;
        padding: 9px;
    }

    .footer-inner,
    .footer-bottom {
        width: calc(100% - 36px);
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-bottom: 32px;
    }

    .footer-inner h2 {
        margin-bottom: 12px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

.doctor-read-more:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Doctor page: full doctor profile */
.doctor-profile-page {
    padding: 48px 0 76px;
    background: linear-gradient(145deg, #effaff 0%, #fff 56%, #f4f9ff 100%);
}

.doctor-profile-inner {
    width: min(100% - 48px, 1000px);
    margin: 0 auto;
}

.doctor-page-header {
    display: flex;
    width: min(100% - 48px, 1200px);
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.doctor-profile-back {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.doctor-page-header .doctor-profile-back {
    margin: 0;
}

.doctor-profile-back-mobile {
    display: none;
}

.doctor-profile-back:hover,
.doctor-profile-back:focus-visible {
    color: var(--accent);
}

.doctor-profile-card {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.doctor-page-hero {
    display: grid;
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    align-items: center;
    gap: clamp(28px, 5vw, 54px);
    padding: 8px 0 30px;
}

.doctor-page-photo-wrap {
    position: relative;
    min-width: 0;
}

.doctor-page-hero .doctor-profile-image {
    width: 100%;
    aspect-ratio: 0.88;
    border-radius: 18px;
    background: #dff3fd;
    box-shadow: 0 18px 38px rgba(0, 75, 177, 0.14);
}

.doctor-page-hero .doctor-profile-image img {
    object-position: center top;
}

.doctor-page-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 0;
}

.doctor-page-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.doctor-page-kicker::before {
    width: 24px;
    height: 2px;
    background: var(--accent);
    content: "";
}

.doctor-page-hero h1,
.home-doctor-profile .doctor-page-hero h2 {
    margin: 0 0 8px;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: clamp(2.5rem, 5vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.doctor-page-hero h1 span,
.home-doctor-profile .doctor-page-hero h2 span {
    color: var(--primary);
}

.doctor-page-hero .doctor-specialty {
    margin-bottom: 14px;
    color: var(--dark);
}

.doctor-page-hero .doctor-profile-intro {
    max-width: 570px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.doctor-photo-badge {
    position: absolute;
    right: -12px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid #e5eef7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(23, 43, 77, 0.16);
}

.doctor-photo-badge > span:last-child,
.doctor-page-experience > span:last-child {
    display: grid;
    gap: 3px;
}

.doctor-photo-badge strong {
    color: var(--primary-dark);
    font-size: 13px;
}

.doctor-photo-badge small {
    color: var(--muted);
    font-size: 11px;
}

.doctor-badge-icon,
.doctor-experience-icon {
    display: grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
}

.doctor-badge-icon svg,
.doctor-experience-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.doctor-page-experience {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
}

.doctor-experience-icon {
    width: 44px;
    height: 44px;
}

.doctor-page-experience strong {
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: 23px;
    line-height: 1;
}

.doctor-page-experience span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.doctor-page-experience .doctor-experience-icon {
    color: #fff;
}

.doctor-page-experience small {
    color: var(--muted);
    font-size: 11px;
}

.doctor-focus-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin: 0 0 20px;
    padding: 0 16px;
    border: 1px solid #dbeafa;
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    background: #fff;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0, 75, 177, 0.06);
}

.doctor-focus-tag span {
    color: var(--primary);
    font-size: 17px;
}

.doctor-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.doctor-page-actions .doctor-read-more,
.doctor-call-button {
    min-height: 48px;
}

.doctor-page-actions .doctor-read-more {
    gap: 9px;
    border-color: var(--primary);
    background: var(--primary);
}

.doctor-page-actions .doctor-read-more:hover,
.doctor-page-actions .doctor-read-more:focus-visible {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
}

.doctor-call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 20px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.doctor-call-button:hover,
.doctor-call-button:focus-visible {
    background: var(--primary);
    color: #fff;
}

.doctor-call-button:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 3px;
}

.doctor-call-button svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.doctor-highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 10px 0 42px;
}

.doctor-highlight-card {
    min-height: 132px;
    padding: 22px 16px;
    border: 1px solid #e2edf7;
    border-radius: 14px;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 22px rgba(0, 75, 177, 0.06);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.doctor-highlight-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-light);
    box-shadow: 0 16px 30px rgba(0, 75, 177, 0.14);
}

.doctor-highlight-card > span {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.doctor-highlight-card h2 {
    margin: 0 0 5px;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 800;
}

.doctor-highlight-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.doctor-about-section {
    padding: 58px 24px;
    background: linear-gradient(135deg, #effaff, #f8fcff);
}

.doctor-about-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: clamp(36px, 6vw, 84px);
    width: min(100%, 1000px);
    margin: 0 auto;
}

.doctor-about-copy .about-kicker {
    margin: 0 0 10px;
}

.doctor-about-copy h2 {
    margin: 0 0 14px;
    color: var(--primary-dark);
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    line-height: 1.25;
}

.doctor-about-copy > p:not(.about-kicker) {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.doctor-about-points {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.doctor-about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}

.doctor-about-points li span {
    display: inline-grid;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    place-items: center;
    margin-top: 1px;
    border-radius: 50%;
    background: #13a778;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.doctor-professional-info {
    padding: 24px;
    border: 1px solid #d9edf9;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.48);
}

.doctor-professional-info h2 {
    margin: 0 0 14px;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 800;
}

.doctor-professional-info dl {
    display: grid;
    margin: 0;
}

.doctor-professional-info dl > li {
    padding: 13px 0;
    border-bottom: 1px solid #dcecf6;
}

.doctor-professional-info dl > li:last-child {
    border-bottom: 0;
}

.doctor-professional-info dt {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: 12px;
}

.doctor-professional-info dt > span:first-child {
    display: inline-grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 8px;
    background: #e0f3ff;
    color: var(--primary);
    font-size: 16px;
}

.doctor-professional-info dd {
    margin: 0 0 0 40px;
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
}

.doctor-expertise-section {
    padding: 58px 24px 68px;
    background: #edf8ff;
}

.doctor-expertise-inner {
    width: min(100%, 1000px);
    margin: 0 auto;
}

.doctor-expertise-heading {
    max-width: 650px;
    margin: 0 auto 32px;
    text-align: center;
}

.doctor-expertise-heading .doctor-page-kicker {
    justify-content: center;
    margin-bottom: 10px;
}

.doctor-expertise-heading h2 {
    margin: 0 0 10px;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
}

.doctor-expertise-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.doctor-expertise-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.doctor-expertise-grid article {
    min-height: 200px;
    padding: 22px 18px;
    border: 1px solid #e1edf7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(0, 75, 177, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.doctor-expertise-grid article:hover {
    transform: translateY(-5px);
    border-color: #b9d7ff;
    box-shadow: 0 14px 28px rgba(0, 75, 177, 0.12);
}

.doctor-expertise-grid article > span {
    display: block;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
}

.doctor-expertise-grid h3 {
    margin: 0 0 9px;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
}

.doctor-expertise-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.doctor-journey-section {
    padding: 64px 24px 72px;
    background: var(--background);
}

.doctor-journey-inner,
.doctor-faq-inner {
    width: min(100%, 1000px);
    margin: 0 auto;
}

.doctor-journey-heading,
.doctor-faq-heading {
    max-width: 650px;
    margin: 0 auto 36px;
    text-align: center;
}

.doctor-journey-heading .doctor-page-kicker,
.doctor-faq-heading .doctor-page-kicker {
    justify-content: center;
}

.doctor-journey-heading h2,
.doctor-faq-heading h2 {
    margin: 0 0 10px;
    color: var(--primary);
    font-family: var(--font-body);
    font-size: clamp(1.9rem, 4vw, 2.65rem);
    font-weight: 800;
    line-height: 1.15;
}

.doctor-journey-heading > p:last-child,
.doctor-faq-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.doctor-journey-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: journey-step;
}

.doctor-journey-timeline::before {
    position: absolute;
    top: 13px;
    right: 10%;
    left: 10%;
    height: 2px;
    background: #cfe1f5;
    content: "";
}

.doctor-journey-timeline li {
    position: relative;
    min-width: 0;
    padding-top: 36px;
    counter-increment: journey-step;
}

.doctor-journey-timeline li::before {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 18px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border: 4px solid var(--background);
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    content: counter(journey-step);
    font-size: 10px;
    font-weight: 800;
    box-sizing: content-box;
}

.doctor-journey-timeline article {
    height: 100%;
    padding: 20px 18px;
    border: 1px solid #e1edf7;
    border-radius: 14px;
    background: var(--section-bg);
    box-shadow: 0 8px 20px rgba(0, 75, 177, 0.05);
}

.doctor-journey-label {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.doctor-journey-timeline h3 {
    margin: 0 0 9px;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
}

.doctor-journey-timeline article > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

@media (max-width: 900px) {
    .doctor-journey-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .doctor-journey-timeline::before {
        display: none;
    }

    .doctor-journey-timeline li {
        padding-top: 34px;
    }

    .doctor-journey-timeline li::before {
        left: 14px;
    }
}

.doctor-faq-section {
    padding: 64px 24px 72px;
    background: var(--section-bg);
}

.doctor-faq-heading {
    margin-bottom: 30px;
}

.doctor-faq-list {
    display: grid;
    gap: 12px;
    width: min(100%, 820px);
    margin: 0 auto;
}

.doctor-faq-list details {
    overflow: hidden;
    border: 1px solid #e1eaf5;
    border-radius: 12px;
    background: var(--background);
    box-shadow: 0 6px 18px rgba(23, 43, 77, 0.045);
}

.doctor-faq-list summary {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    color: var(--primary-dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.doctor-faq-list summary::-webkit-details-marker {
    display: none;
}

.doctor-faq-list summary::after {
    display: grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    content: "+";
    font-size: 20px;
    line-height: 1;
}

.doctor-faq-list details[open] summary {
    color: var(--primary);
}

.doctor-faq-list details[open] summary::after {
    background: var(--primary);
    color: #fff;
    content: "−";
}

.doctor-faq-list summary:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: -3px;
}

.doctor-faq-list details > p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.doctor-faq-list details > p a {
    color: var(--primary);
    font-weight: 700;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.doctor-profile-heading {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 36px;
    padding: 32px;
}

.doctor-profile-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    background: var(--primary-light);
}

.doctor-profile-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% center;
}

.doctor-profile-heading h1 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.about-doctor-section .doctor-profile-heading h2 {
    margin: 0 0 8px;
    color: var(--primary);
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.doctor-profile-body {
    padding: 0 32px 36px;
}

.doctor-profile-body > p {
    margin: 0 0 28px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.75;
}

.doctor-profile-intro {
    margin: 0 0 24px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.75;
}

.doctor-profile-note {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.doctor-profile-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.35fr);
    gap: 24px;
}

.doctor-profile-sections {
    margin-top: 44px;
    grid-template-columns: 1fr;
}

.doctor-profile-details > section {
    padding: 24px;
    border: 1px solid var(--primary-light);
    border-radius: 16px;
    background: var(--section-bg);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.doctor-profile-details > section:hover {
    transform: translateY(-4px);
    border-color: #b9d7ff;
    box-shadow: 0 14px 28px rgba(0, 75, 177, 0.1);
}

.doctor-profile-details h2,
.doctor-profile-details h3 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: 21px;
}

.doctor-profile-details ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 22px;
    color: var(--text);
    line-height: 1.55;
}

.doctor-profile-details li::marker {
    color: var(--accent);
}

/* Responsive overrides: shared and home-page layouts */
@media (max-width: 760px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-image,
    .about-copy {
        width: min(100%, 640px);
        margin-right: auto;
        margin-left: auto;
    }

    .appointment-inner {
        grid-template-columns: 1fr;
        max-width: 640px;
    }

    .appointment-image {
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .appointment-image img {
        min-height: 0;
    }
}

@media (max-width: 800px) {
    .doctor-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        width: calc(100% - 36px);
    }

    .doctor-image {
        width: min(100%, 640px);
        margin: 0 auto;
    }

    .doctor-copy {
        width: min(100%, 640px);
        margin: 0 auto;
    }

    .doctor-about-inner {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
        gap: 28px;
    }

    .doctor-expertise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .doctor-section {
        padding: 52px 0;
    }

    .doctor-inner {
        width: calc(100% - 32px);
        gap: 24px;
    }

    .doctor-image {
        border-width: 4px;
        border-radius: 18px;
    }

    .doctor-copy > p:not(.about-kicker, .doctor-specialty) {
        font-size: 16px;
    }
}

@media (max-width: 680px) {
    .hero-slides {
        aspect-ratio: 1994 / 789;
    }

    .hero-image {
        object-position: center;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
    }

    .hero-arrow-previous {
        left: 10px;
    }

    .hero-arrow-next {
        right: 10px;
    }

    .impact-section {
        padding: 28px 0;
    }

    .impact-inner {
        width: calc(100% - 32px);
    }

    .impact-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .impact-stat {
        padding: 10px 12px;
    }
}

@media (max-width: 680px) {
    .testimonials-section {
        padding: 52px 0 60px;
    }

    .testimonials-inner {
        width: calc(100% - 32px);
    }

    .testimonials-subheading {
        font-size: 16px;
    }

    .testimonials-inner {
        width: calc(100% - 32px);
    }

    .testimonial-card {
        flex-basis: 100%;
        padding: 22px;
    }

    .doctor-page-header {
        width: calc(100% - 32px);
        min-height: 88px;
    }

    .doctor-page-header .doctor-profile-back {
        display: none;
    }

    .doctor-profile-page {
        padding: 40px 0 56px;
    }

    .doctor-profile-back-mobile {
        display: inline-block;
        margin-bottom: 20px;
    }

    .doctor-profile-inner {
        width: calc(100% - 32px);
    }

    .doctor-page-hero {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .doctor-page-photo-wrap {
        width: min(100%, 420px);
        margin: 0 auto;
    }

    .doctor-profile-heading {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }

    .doctor-page-hero {
        gap: 18px;
    }

    .doctor-page-hero .doctor-profile-image {
        width: 100%;
        min-height: 0;
        aspect-ratio: 0.95;
        margin: 0;
    }

    .doctor-page-hero-copy {
        min-height: 0;
        padding: 12px 0;
    }

    .doctor-page-hero h1,
    .home-doctor-profile .doctor-page-hero h2 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .doctor-photo-badge {
        right: -6px;
        bottom: 14px;
    }

    .doctor-page-actions {
        width: 100%;
    }

    .doctor-page-actions > a {
        flex: 1 1 auto;
    }

    .doctor-about-inner,
    .doctor-profile-sections {
        grid-template-columns: 1fr;
    }

    .doctor-about-section {
        padding: 42px 16px;
    }

    .doctor-professional-info {
        padding: 20px;
    }

    .doctor-expertise-section {
        padding: 44px 16px 52px;
    }

    .doctor-expertise-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .doctor-expertise-grid article {
        min-height: 0;
    }

    .doctor-journey-section,
    .doctor-faq-section {
        padding: 44px 16px 52px;
    }

    .doctor-journey-heading,
    .doctor-faq-heading {
        margin-bottom: 26px;
    }

    .doctor-journey-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .doctor-journey-timeline::before {
        display: none;
    }

    .doctor-journey-timeline li {
        padding-top: 34px;
    }

    .doctor-journey-timeline li::before {
        left: 14px;
    }

    .doctor-profile-sections {
        gap: 16px;
        margin-top: 32px;
    }

    .doctor-profile-image {
        width: min(100%, 480px);
        margin: 0 auto;
    }

    .doctor-profile-body {
        padding: 0 20px 24px;
    }

    .doctor-profile-details {
        grid-template-columns: 1fr;
    }

    .doctor-faq-list summary {
        min-height: 60px;
        padding: 14px 16px;
        font-size: 14px;
    }

    .doctor-faq-list details > p {
        padding: 0 16px 16px;
    }
}

@media (max-width: 480px) {
    .doctor-journey-timeline {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-left: 18px;
    }

    .doctor-journey-timeline::before {
        display: block;
        top: 12px;
        bottom: 12px;
        left: 17px;
        width: 2px;
        height: auto;
    }

    .doctor-journey-timeline li {
        padding: 0 0 0 16px;
    }

    .doctor-journey-timeline li::before {
        top: 17px;
        left: -18px;
    }

    .doctor-journey-timeline article {
        padding: 18px 16px;
    }
}

@media (max-width: 420px) {
    .header-inner {
        width: calc(100% - 24px);
    }

    .about-inner,
    .services-inner,
    .gallery-inner,
    .why-choose-inner,
    .doctor-inner,
    .impact-inner,
    .testimonials-inner,
    .appointment-inner,
    .footer-inner,
    .footer-bottom {
        width: calc(100% - 28px);
    }

    .doctor-profile-heading,
    .doctor-profile-body {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-image,
    .services-track {
        transition: none;
    }

    .disease-marquee-track {
        animation: none;
        display: block;
        width: 100%;
    }

    .disease-marquee-group {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .disease-marquee-group[aria-hidden="true"] {
        display: none;
    }

    .gallery-track,
    .testimonials-track {
        transition: none;
    }
}




/* Services page: service overview and category sections */
.service-page-hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 78px;
    background:
        radial-gradient(circle at 6% 100%, rgba(253, 91, 83, 0.11), transparent 30%),
        linear-gradient(125deg, var(--section-bg) 0%, var(--background) 50%, var(--primary-light) 100%);
}

.service-page-hero::before {
    position: absolute;
    top: -170px;
    right: 34%;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(0, 75, 177, 0.1);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.service-page-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
    align-items: center;
    gap: clamp(36px, 7vw, 96px);
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.service-page-hero-copy {
    max-width: 650px;
}

.service-page-hero-copy > .about-kicker {
    margin-bottom: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.service-page-hero h1 {
    margin: 0 0 20px;
    color: var(--dark);
    font-size: clamp(2.7rem, 5.2vw, 4.7rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.service-page-hero-copy > p:not(.about-kicker, .service-page-doctor) {
    max-width: 580px;
    margin: 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

.service-page-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
    margin-top: 28px;
}

.service-page-text-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.service-page-text-link span {
    color: var(--accent);
    font-size: 19px;
    transition: transform 160ms ease;
}

.service-page-text-link:hover span {
    transform: translateY(3px);
}

.service-page-text-link:focus-visible {
    border-radius: 4px;
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

.service-page-doctor {
    display: grid;
    gap: 4px;
    margin: 36px 0 0;
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
}

.service-page-doctor span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}

.service-page-hero-image {
    position: relative;
    min-height: 450px;
    overflow: hidden;
    border: 8px solid var(--background);
    border-radius: 180px 180px 24px 24px;
    background: var(--primary-light);
    box-shadow: 0 24px 55px rgba(0, 53, 128, 0.16);
}

.service-page-hero-image::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(23, 43, 77, 0.72));
    content: "";
    pointer-events: none;
}

.service-page-hero-image > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: cover;
    object-position: center 28%;
}

.service-page-image-caption {
    position: absolute;
    z-index: 1;
    right: 22px;
    bottom: 24px;
    left: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--background);
}

.service-page-image-caption p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.service-page-image-caption strong {
    font-size: 16px;
}

.service-page-image-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    color: var(--background);
    font-family: var(--font-heading);
    font-size: 23px;
}

.service-category-nav {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: min(100% - 48px, 1200px);
    margin: -27px auto 0;
    padding: 10px;
    border: 1px solid #E5EBF4;
    border-radius: 14px;
    background: var(--background);
    box-shadow: 0 12px 32px rgba(23, 43, 77, 0.08);
}

.service-category-nav a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    border-radius: 9px;
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.service-category-nav a span {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.service-category-nav a:hover,
.service-category-nav a:focus-visible {
    background: var(--primary-light);
    color: var(--primary);
}

.service-category-nav a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.service-category-section {
    padding: 88px 0;
    scroll-margin-top: 24px;
}

.service-cancer-section {
    background: var(--background);
}

.service-therapy-section {
    background: var(--section-bg);
}

.service-category-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.service-category-heading {
    max-width: 720px;
    margin-bottom: 34px;
}

.service-category-heading .about-kicker {
    margin-bottom: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.service-category-heading h2,
.service-support-copy h2 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.service-category-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.service-condition-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.service-condition-card {
    position: relative;
    display: flex;
    min-height: 150px;
    align-items: flex-start;
    gap: 17px;
    padding: 24px;
    border: 1px solid #E4EAF3;
    border-radius: 14px;
    background: var(--background);
    box-shadow: 0 8px 24px rgba(23, 43, 77, 0.04);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-condition-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 14px 30px rgba(253, 91, 83, 0.1);
}

.service-condition-featured {
    grid-column: 1 / -1;
    min-height: 132px;
    align-items: center;
    border-color: rgba(0, 75, 177, 0.22);
    background: linear-gradient(110deg, var(--primary-light), var(--background) 76%);
}

.service-condition-number {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.service-condition-featured .service-condition-number {
    background: var(--primary);
    color: var(--background);
}

.service-condition-card h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.service-condition-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.service-condition-featured > svg {
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
    margin-left: auto;
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.service-therapy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.service-therapy-card {
    display: flex;
    min-height: 136px;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border: 1px solid #E4EAF3;
    border-radius: 14px;
    background: var(--background);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-therapy-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 14px 30px rgba(0, 75, 177, 0.08);
}

.service-therapy-card > span {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    border-radius: 16px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.service-therapy-card h3 {
    margin: 0 0 5px;
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.service-therapy-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.service-page-disclaimer {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.service-support-section {
    padding: 76px 0;
    background: var(--background);
    scroll-margin-top: 24px;
}

.service-support-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
    padding: 38px;
    border: 1px solid rgba(253, 91, 83, 0.3);
    border-radius: 20px;
    background: linear-gradient(110deg, var(--accent-light), #FFFFFF 75%);
}

.service-support-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 18px;
    background: var(--background);
    color: var(--accent);
    box-shadow: 0 8px 22px rgba(253, 91, 83, 0.1);
}

.service-support-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.service-support-copy .about-kicker {
    margin-bottom: 8px;
}

.service-support-copy h2 {
    margin-bottom: 4px;
}

.service-support-copy h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
}

.service-support-copy > p:last-child {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.service-support-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    padding: 0 17px;
    border: 1px solid rgba(253, 91, 83, 0.45);
    border-radius: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.service-support-link span {
    color: var(--accent);
    font-size: 18px;
}

.service-support-link:hover,
.service-support-link:focus-visible {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--background);
}

.service-support-link:hover span,
.service-support-link:focus-visible span {
    color: var(--background);
}

.service-page-cta {
    padding: 64px 0;
    background: var(--primary-dark);
}

.service-page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.service-page-cta .about-kicker {
    margin-bottom: 8px;
    color: #FFB1AC;
}

.service-page-cta h2 {
    margin: 0 0 10px;
    color: var(--background);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    line-height: 1.2;
}

.service-page-cta-inner > div > p:last-child {
    margin: 0;
    color: #D8E5F8;
    font-size: 15px;
    line-height: 1.6;
}

.service-page-cta .doctor-read-more {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .service-page-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
        gap: 36px;
    }

    .service-page-hero-image,
    .service-page-hero-image > img {
        min-height: 390px;
    }

    .service-therapy-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-support-inner {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .service-support-link {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .service-page-hero {
        padding: 48px 0 58px;
    }

    .service-page-hero-inner,
    .service-category-nav,
    .service-category-inner,
    .service-support-inner,
    .service-page-cta-inner {
        width: calc(100% - 36px);
    }

    .service-page-hero-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .service-page-hero h1 {
        max-width: 540px;
        font-size: clamp(2.45rem, 9vw, 3.5rem);
    }

    .service-page-hero-copy > p:not(.about-kicker, .service-page-doctor) {
        font-size: 16px;
    }

    .service-page-doctor {
        margin-top: 26px;
    }

    .service-page-hero-image,
    .service-page-hero-image > img {
        min-height: 0;
    }

    .service-page-hero-image {
        width: min(100%, 480px);
        aspect-ratio: 4 / 3;
        margin: 0 auto;
        border-radius: 120px 120px 20px 20px;
    }

    .service-page-hero-image > img {
        height: 100%;
    }

    .service-category-nav {
        justify-content: flex-start;
        gap: 4px;
        margin-top: -20px;
        padding: 8px;
    }

    .service-category-nav a {
        flex: 1 1 100%;
        min-height: 44px;
        padding: 0 12px;
    }

    .service-category-section {
        padding: 60px 0;
    }

    .service-category-heading {
        margin-bottom: 26px;
    }

    .service-condition-grid,
    .service-therapy-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-condition-card,
    .service-condition-featured {
        min-height: 0;
        padding: 20px;
    }

    .service-therapy-card {
        min-height: 104px;
        padding: 18px;
    }

    .service-support-section {
        padding: 52px 0;
    }

    .service-support-inner {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 24px;
    }

    .service-support-icon {
        width: 56px;
        height: 56px;
    }

    .service-support-link {
        grid-column: auto;
    }

    .service-page-cta {
        padding: 48px 0;
    }

    .service-page-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 420px) {
    .service-page-hero-inner,
    .service-category-nav,
    .service-category-inner,
    .service-support-inner,
    .service-page-cta-inner {
        width: calc(100% - 28px);
    }

    .service-page-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .service-page-hero-actions .doctor-read-more {
        width: 100%;
    }

    .service-condition-card {
        gap: 12px;
        padding: 17px;
    }

    .service-condition-number {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .service-condition-featured > svg {
        display: none;
    }

    .service-support-inner {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .service-page-text-link span,
    .service-condition-card,
    .service-therapy-card,
    .service-support-link {
        transition: none;
    }
}

/* Gallery page: hero, category filters, mosaic, and lightbox */
.gallery-page-hero {
    position: relative;
    display: grid;
    min-height: clamp(380px, 48vw, 590px);
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: var(--dark);
}

.gallery-page-hero-image {
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: url("../img/slider/heroBanner.png");
    background-position: center 56%;
    background-size: cover;
    transform: scale(1.01);
}

.gallery-page-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 31, 57, 0.88), rgba(13, 31, 57, 0.54) 58%, rgba(13, 31, 57, 0.2));
    content: "";
}

.gallery-page-hero-inner {
    width: min(100% - 48px, 1400px);
    margin: 0 auto;
    padding: 80px 0;
    color: var(--background);
}

.gallery-page-hero-inner .about-kicker {
    margin-bottom: 15px;
    color: #FFD3D0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.gallery-page-hero h1 {
    max-width: 800px;
    margin: 0 0 18px;
    color: var(--background);
    font-size: clamp(2.7rem, 7vw, 5.5rem);
    line-height: 1.08;
}

.gallery-page-hero-inner > p:not(.about-kicker) {
    max-width: 650px;
    margin: 0;
    color: #F1F5F9;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.75;
}

.gallery-page-hero .doctor-read-more {
    gap: 12px;
    margin-top: 28px;
}

.gallery-page-hero .doctor-read-more span {
    font-size: 20px;
    line-height: 1;
}

.gallery-page-hero-label {
    position: absolute;
    right: max(24px, calc((100vw - 1200px) / 2));
    bottom: 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gallery-page-section {
    padding: 76px 0 88px;
    background: var(--section-bg);
}

.gallery-page-inner {
    width: min(100% - 48px, 1400px);
    margin: 0 auto;
}

.gallery-page-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.gallery-page-heading .about-kicker {
    margin-bottom: 8px;
}

.gallery-page-heading h2 {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
}

.gallery-page-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 30px;
}

.gallery-filter-button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #D7E1EF;
    border-radius: 999px;
    background: var(--background);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.gallery-filter-button:hover {
    transform: translateY(-1px);
    border-color: var(--accent);
    color: var(--accent);
}

.gallery-filter-button.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--background);
}

.gallery-filter-button.is-active:hover {
    border-color: var(--primary-dark);
    background: var(--primary-dark);
    color: var(--background);
}

.gallery-filter-button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.gallery-filter-status {
    min-height: 22px;
    margin: -16px 0 14px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.gallery-mosaic-card {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin: 0;
    border: 1px solid #E3EAF4;
    border-radius: 16px;
    background: var(--background);
    box-shadow: 0 10px 28px rgba(23, 43, 77, 0.07);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.gallery-mosaic-card:hover,
.gallery-mosaic-card:focus-within {
    transform: translateY(-4px);
    border-color: #b9d7ff;
    box-shadow: 0 16px 34px rgba(0, 75, 177, 0.16);
}

.gallery-image-button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--dark);
    color: var(--background);
    font: inherit;
    text-align: left;
    cursor: zoom-in;
}

.gallery-image-button > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 400ms ease, filter 400ms ease;
}

.gallery-image-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: clamp(18px, 3vw, 30px);
    background: linear-gradient(180deg, rgba(13, 31, 57, 0.02) 18%, rgba(13, 31, 57, 0.84) 100%);
    transition: background-color 220ms ease, padding 220ms ease;
}

.gallery-image-button:hover > img,
.gallery-image-button:focus-visible > img {
    transform: scale(1.055);
    filter: brightness(0.78);
}

.gallery-image-button:focus-visible {
    outline: 4px solid var(--accent);
    outline-offset: -4px;
}

.gallery-card-category {
    margin-bottom: 8px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.11em;
    line-height: 1.5;
    text-transform: uppercase;
}

.gallery-card-title {
    max-width: 420px;
    color: var(--background);
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2.2vw, 1.9rem);
    line-height: 1.25;
}

.gallery-card-description {
    margin-top: 7px;
    color: #E2E8F0;
    font-size: 12px;
    line-height: 1.5;
}

.gallery-card-open {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 15px;
    color: var(--background);
    font-size: 12px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-card-open span {
    color: #FFD3D0;
    font-size: 16px;
}

.gallery-image-button:hover .gallery-card-open,
.gallery-image-button:focus-visible .gallery-card-open {
    opacity: 1;
    transform: translateY(0);
}

.gallery-mosaic-placeholder {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(20px, 2.4vw, 30px);
    background:
        radial-gradient(circle at 100% 0, rgba(0, 75, 177, 0.08), transparent 58%),
        var(--background);
}

.gallery-placeholder-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 13px;
    background: var(--primary-light);
    color: var(--primary);
}

.gallery-placeholder-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.gallery-mosaic-placeholder .gallery-card-category {
    color: var(--accent);
    letter-spacing: 0.06em;
}

.gallery-mosaic-placeholder h3 {
    margin: 0 0 8px;
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.gallery-mosaic-placeholder p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.gallery-mosaic [hidden] {
    display: none !important;
}

.gallery-lightbox {
    position: fixed;
    width: min(100% - 32px, 1100px);
    max-width: none;
    max-height: min(90dvh, 900px);
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    color: var(--background);
}

.gallery-lightbox::backdrop {
    background: rgba(8, 18, 35, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-lightbox-panel {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 14px;
}

.gallery-lightbox-figure {
    min-width: 0;
    margin: 0;
    text-align: center;
}

.gallery-lightbox-figure img {
    display: block;
    width: 100%;
    max-height: calc(90dvh - 76px);
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
}

.gallery-lightbox-figure figcaption {
    min-height: 24px;
    padding: 12px 8px 0;
    color: #E2E8F0;
    font-size: 14px;
    line-height: 1.5;
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(23, 43, 77, 0.78);
    color: var(--background);
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
    border-color: var(--accent);
    background: var(--accent);
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-arrow:focus-visible {
    outline: 3px solid var(--background);
    outline-offset: 3px;
}

.gallery-lightbox-close {
    position: absolute;
    z-index: 1;
    top: -18px;
    right: -18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 29px;
    line-height: 1;
}

.gallery-lightbox-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 32px;
    line-height: 1;
}

.gallery-page-cta {
    padding: 58px 0;
    background: var(--primary-dark);
}

.gallery-page-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(100% - 48px, 1400px);
    margin: 0 auto;
}

.gallery-page-cta .about-kicker {
    margin-bottom: 8px;
    color: #FFD3D0;
}

.gallery-page-cta h2 {
    max-width: 680px;
    margin: 0;
    color: var(--background);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.25;
}

.gallery-page-cta .doctor-read-more {
    flex: 0 0 auto;
}

@media (max-width: 900px) {
    .gallery-mosaic {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .gallery-mosaic-placeholder {
        min-height: 190px;
    }
}

@media (max-width: 680px) {
    .gallery-page-hero {
        min-height: 460px;
    }

    .gallery-page-hero-image {
        background-position: 58% center;
    }

    .gallery-page-hero::after {
        background: linear-gradient(90deg, rgba(13, 31, 57, 0.85), rgba(13, 31, 57, 0.52));
    }

    .gallery-page-hero-inner,
    .gallery-page-inner,
    .gallery-page-cta-inner {
        width: calc(100% - 36px);
    }

    .gallery-page-hero-inner {
        padding: 64px 0 74px;
    }

    .gallery-page-hero-label {
        right: 18px;
        bottom: 17px;
        left: 18px;
        font-size: 10px;
    }

    .gallery-page-section {
        padding: 52px 0 60px;
    }

    .gallery-filter {
        justify-content: center;
        flex-wrap: wrap;
        padding: 3px 0 8px;
    }

    .gallery-filter-button {
        flex: 0 0 auto;
        min-height: 44px;
        padding: 0 15px;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .gallery-mosaic-card {
        aspect-ratio: 16 / 10;
    }

    .gallery-mosaic-placeholder {
        min-height: 210px;
        padding: 22px;
    }

    .gallery-card-open {
        opacity: 1;
        transform: none;
    }

    .gallery-page-cta {
        padding: 46px 0;
    }

    .gallery-page-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .gallery-lightbox {
        width: calc(100% - 24px);
        max-height: 88dvh;
    }

    .gallery-lightbox-panel {
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: 6px;
    }

    .gallery-lightbox-arrow {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .gallery-lightbox-close {
        top: -48px;
        right: 0;
    }

    .gallery-lightbox-figure img {
        max-height: calc(88dvh - 70px);
    }
}

@media (max-width: 420px) {
    .gallery-page-hero-inner,
    .gallery-page-cta-inner {
        width: calc(100% - 28px);
    }

    .gallery-page-inner {
        width: calc(100% - 36px);
    }

    .gallery-page-hero {
        min-height: 420px;
    }

    .gallery-page-hero .doctor-read-more {
        width: 100%;
        justify-content: center;
    }

    .gallery-mosaic {
        gap: 12px;
    }

    .gallery-mosaic-placeholder {
        min-height: 205px;
    }

    .gallery-image-overlay {
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-filter-button,
    .gallery-image-button > img,
    .gallery-card-open,
    .gallery-lightbox-close,
    .gallery-lightbox-arrow {
        transition: none;
    }
}

/* Mobile typography: reduce headings and supporting taglines across pages */
@media (max-width: 600px) {
    .about-copy h2,
    .about-page-copy h1,
    .vision-mission-heading h2,
    .services-heading h2,
    .gallery-heading h2,
    .why-choose-heading h2,
    .doctor-copy h2,
    .impact-heading h2,
    .testimonials-heading h2,
    .appointment-form-panel h2,
    .service-page-hero h1,
    .service-category-heading h2,
    .service-support-copy h2,
    .gallery-page-hero h1,
    .gallery-page-heading h2 {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
        line-height: 1.18;
    }

    .services-heading > p:last-child,
    .gallery-heading > p:last-child,
    .why-choose-heading > p:last-child,
    .impact-heading > p:last-child,
    .testimonials-subheading,
    .appointment-intro,
    .about-copy p:not(.about-kicker),
    .about-page-copy > p:not(.about-kicker),
    .vision-mission-heading > p:last-child,
    .doctor-copy > p:not(.about-kicker, .doctor-specialty),
    .service-page-hero-copy > p:not(.about-kicker, .service-page-doctor),
    .service-category-heading > p:last-child,
    .service-support-copy > p:last-child,
    .gallery-page-hero-inner > p:not(.about-kicker),
    .gallery-page-heading > p:last-child {
        font-size: 14px;
        line-height: 1.6;
    }

    .service-card h3,
    .why-choose-card h3,
    .impact-stat h3,
    .service-condition-card h3,
    .service-therapy-card h3,
    .service-support-copy h3,
    .gallery-mosaic-placeholder h3 {
        font-size: 15px;
        font-weight: 700;
    }
}

@media (max-width: 420px) {
    .about-copy h2,
    .about-page-copy h1,
    .vision-mission-heading h2,
    .services-heading h2,
    .gallery-heading h2,
    .why-choose-heading h2,
    .doctor-copy h2,
    .impact-heading h2,
    .testimonials-heading h2,
    .appointment-form-panel h2,
    .service-page-hero h1,
    .service-category-heading h2,
    .service-support-copy h2,
    .gallery-page-hero h1,
    .gallery-page-heading h2 {
        font-size: 1.6rem;
    }

    .service-page-hero h1,
    .gallery-page-hero h1 {
        font-size: 2rem;
    }
}

/* Blog page */
.blog-hero {
    padding: 72px 24px 76px;
    background: linear-gradient(125deg, #eef8ff 0%, #f9fcff 58%, #e7f4ff 100%);
}

.blog-hero-inner,
.blog-page-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.blog-hero-inner {
    max-width: 820px;
    text-align: center;
}

.blog-hero .about-kicker,
.blog-section-heading .about-kicker {
    justify-content: center;
    margin-bottom: 10px;
}

.blog-hero h1 {
    margin: 0 0 14px;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
}

.blog-hero-inner > p:not(.about-kicker) {
    max-width: 680px;
    margin: 0 auto 24px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
}

.blog-hero .doctor-read-more {
    display: inline-flex;
}

.blog-listing-section {
    padding: 68px 0 80px;
    background: linear-gradient(180deg, var(--background) 0%, #f6fbff 100%);
}

.blog-section-heading {
    max-width: 680px;
    margin: 0 auto 34px;
    text-align: center;
}

.blog-section-heading h2 {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
}

.blog-section-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.blog-card-grid .news-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    height: 100%;
}

.blog-card-grid .news-card-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.blog-card-grid .news-card-copy > p:not(.news-eyebrow) {
    min-height: 0;
}

.blog-card-grid .news-text-link {
    margin-top: auto;
}

.blog-medical-note {
    margin: 26px 0 0;
    padding: 16px 18px;
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    background: #edf8ff;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .blog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 680px) {
    .blog-hero {
        padding: 52px 0 56px;
    }

    .blog-hero-inner,
    .blog-page-inner {
        width: calc(100% - 36px);
    }

    .blog-hero h1 {
        font-size: clamp(2rem, 9vw, 2.7rem);
    }

    .blog-hero-inner > p:not(.about-kicker) {
        font-size: 15px;
    }

    .blog-listing-section {
        padding: 48px 0 56px;
    }

    .home-latest-blogs {
        padding: 48px 0 56px;
    }

    .blog-section-heading {
        margin-bottom: 26px;
    }

    .blog-section-heading h2 {
        font-size: clamp(1.65rem, 7vw, 2rem);
    }

    .blog-section-heading > p:last-child {
        font-size: 14px;
    }

    .blog-card-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-card-grid .news-card-image {
        aspect-ratio: 16 / 9;
    }

    .blog-card-grid .news-card-copy {
        padding: 18px;
    }

    .blog-card-grid .news-card-copy h3 {
        font-size: 18px;
    }

    .blog-medical-note {
        margin-top: 20px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .blog-hero-inner,
    .blog-page-inner {
        width: calc(100% - 32px);
    }

    .blog-hero {
        padding: 42px 0 46px;
    }

    .blog-hero .about-kicker {
        font-size: 12px;
    }

    .blog-hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.25rem);
    }

    .blog-hero-inner > p:not(.about-kicker) {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .blog-listing-section {
        padding: 40px 0 48px;
    }
}

/* News & media page */
.news-page-inner {
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.news-hero {
    padding: 64px 0;
    background: linear-gradient(135deg, var(--primary-light), var(--background) 58%, var(--accent-light));
}

.news-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 56px;
    width: min(100% - 48px, 1200px);
    margin: 0 auto;
}

.news-hero-copy .about-kicker {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-hero-copy h1 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: clamp(2.7rem, 6vw, 4.6rem);
    line-height: 1.1;
}

.news-hero-copy > p:not(.about-kicker) {
    max-width: 620px;
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.75;
}

.news-hero-copy .doctor-read-more {
    margin-top: 26px;
}

.news-hero-image {
    position: relative;
    min-height: 350px;
    margin: 0;
    overflow: hidden;
    border: 7px solid var(--background);
    border-radius: 24px;
    background: var(--primary-light);
    box-shadow: 0 20px 44px rgba(23, 43, 77, 0.14);
}

.news-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
    object-position: center 28%;
}

.news-hero-image figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px 20px 16px;
    background: linear-gradient(transparent, rgba(23, 43, 77, 0.82));
    color: var(--background);
    font-size: 13px;
    font-weight: 600;
}

.news-simple-hero .news-hero-inner {
    display: flex;
    max-width: 900px;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

.news-simple-hero .news-hero-copy {
    width: 100%;
}

.news-simple-hero .news-hero-copy h1 {
    margin-bottom: 16px;
    font-size: clamp(3rem, 8vw, 5rem);
}

.news-simple-hero .news-hero-copy > p:not(.about-kicker) {
    margin: 0 auto;
}

.news-featured-section {
    padding: 64px 0;
    background: var(--background);
}

.news-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    overflow: hidden;
    border: 1px solid #E3EAF4;
    border-radius: 22px;
    background: var(--section-bg);
    box-shadow: 0 16px 42px rgba(23, 43, 77, 0.08);
}

.news-featured-image {
    position: relative;
    min-height: 340px;
    background: var(--primary-light);
}

.news-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.news-featured-image > span,
.news-image-note {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(23, 43, 77, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.news-featured-copy {
    align-self: center;
    padding: clamp(28px, 5vw, 56px);
}

.news-eyebrow {
    margin: 0 0 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-featured-copy h2,
.news-section-heading h2,
.news-latest-inner h2,
.news-stay-informed h2 {
    margin: 0 0 14px;
    color: var(--primary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    line-height: 1.25;
}

.news-featured-copy > p:not(.news-eyebrow) {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.news-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.news-text-link:hover,
.news-text-link:focus-visible {
    color: var(--accent);
}

.news-content-section {
    padding: 68px 0 80px;
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--background) 95%, var(--primary-light) 100%);
}

.news-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-bottom: 20px;
}

.news-filter-button {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid #D7E1EF;
    border-radius: 999px;
    background: var(--background);
    color: var(--text);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.news-filter-button:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.news-filter-button.is-active {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--background);
}

.news-filter-button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.news-filter-status {
    min-height: 20px;
    margin: 0 0 36px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

.news-group {
    margin-top: 62px;
}

.news-group:first-of-type {
    margin-top: 0;
}

.news-group[hidden] {
    display: none;
}

.news-section-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

.news-section-heading .about-kicker {
    margin-bottom: 8px;
}

.news-section-heading h2 {
    margin-bottom: 10px;
}

.news-section-heading > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.news-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.news-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #E3EAF4;
    border-radius: 16px;
    background: var(--background);
    box-shadow: 0 10px 28px rgba(23, 43, 77, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(23, 43, 77, 0.12);
}

.news-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--primary-light);
}

.news-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.035);
}

.news-card-image .news-image-note {
    bottom: 10px;
    left: 10px;
    right: auto;
}

.news-card-copy {
    padding: 22px;
}

.news-card-copy h3 {
    margin: 0 0 10px;
    color: var(--dark);
    font-size: 19px;
    line-height: 1.4;
}

.news-card-copy > p:not(.news-eyebrow) {
    min-height: 76px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.news-card-copy .news-text-link {
    font-size: 13px;
}

.news-medical-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    text-align: center;
}

.news-empty-group {
    padding: 32px;
    border: 1px solid #D7E1EF;
    border-radius: 18px;
    background: var(--background);
}

.news-empty-group .news-section-heading {
    margin-bottom: 14px;
}

.news-empty-state {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.news-gallery-section {
    padding: 72px 0;
    background: var(--background);
}

.news-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-gallery-grid a {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 16px;
    background: var(--dark);
}

.news-gallery-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 300ms ease;
}

.news-gallery-grid a:hover img,
.news-gallery-grid a:focus-visible img {
    transform: scale(1.04);
}

.news-gallery-grid a > span {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px 16px 14px;
    background: linear-gradient(transparent, rgba(23, 43, 77, 0.85));
    color: var(--background);
    font-size: 14px;
    font-weight: 700;
}

.news-gallery-grid a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.news-gallery-link {
    display: flex;
    width: fit-content;
    margin: 24px auto 0;
}

.news-latest-section {
    padding: 56px 0;
    background: var(--primary-light);
}

.news-latest-section .news-section-heading {
    margin-bottom: 28px;
}

.news-article-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.news-article-links a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 190px;
    padding: 24px;
    border: 1px solid rgba(0, 75, 177, 0.12);
    border-radius: 16px;
    background: var(--background);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.news-article-links a:hover,
.news-article-links a:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(23, 43, 77, 0.1);
}

.news-article-links a:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.news-article-links .news-eyebrow {
    margin-bottom: 10px;
}

.news-article-links strong {
    margin-bottom: 8px;
    color: var(--dark);
    font-family: var(--font-heading);
    font-size: 17px;
    line-height: 1.45;
}

.news-article-links a > span:last-child {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.news-latest-inner,
.news-stay-informed-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.news-latest-inner > div,
.news-stay-informed-inner > div {
    max-width: 700px;
}

.news-latest-inner .about-kicker,
.news-stay-informed-inner .about-kicker {
    margin-bottom: 8px;
}

.news-latest-inner h2,
.news-stay-informed h2 {
    margin-bottom: 10px;
}

.news-latest-inner > div > p:last-child,
.news-stay-informed-inner > div > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

.news-latest-inner .doctor-read-more,
.news-stay-informed-inner .doctor-read-more {
    flex: 0 0 auto;
}

.news-stay-informed {
    padding: 60px 0;
    background: var(--section-bg);
}

@media (max-width: 900px) {
    .news-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
        gap: 32px;
    }

    .news-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .news-page-inner,
    .news-hero-inner {
        width: calc(100% - 36px);
    }

    .news-hero,
    .news-featured-section,
    .news-gallery-section {
        padding: 52px 0 60px;
    }

    .news-hero-inner,
    .news-featured-card {
        grid-template-columns: 1fr;
    }

    .news-hero-inner {
        gap: 28px;
    }

    .news-hero-copy h1 {
        font-size: clamp(2.3rem, 10vw, 3.2rem);
    }

    .news-hero-copy > p:not(.about-kicker) {
        font-size: 16px;
    }

    .news-hero-image,
    .news-hero-image img {
        min-height: 300px;
    }

    .news-featured-image,
    .news-featured-image img {
        min-height: 240px;
    }

    .news-content-section {
        padding: 52px 0 60px;
    }

    .news-filter {
        justify-content: center;
        flex-wrap: wrap;
        margin: 0 0 20px;
        padding: 3px 0 10px;
    }

    .news-filter-button {
        flex: 0 0 auto;
    }

    .news-card-copy > p:not(.news-eyebrow) {
        min-height: 0;
    }

    .news-gallery-grid {
        grid-template-columns: 1fr;
    }

    .news-article-links {
        grid-template-columns: 1fr;
    }

    .news-gallery-grid a {
        aspect-ratio: 16 / 9;
    }

    .news-latest-inner,
    .news-stay-informed-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .news-page-inner,
    .news-hero-inner {
        width: calc(100% - 32px);
    }

    .news-card-grid {
        grid-template-columns: 1fr;
    }

    .news-group {
        margin-top: 48px;
    }

    .news-empty-group {
        padding: 24px 18px;
    }
}


/* doctor page */

/* readmore page */

/* Blog article page */
.article-hero {
    padding: 54px 24px 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--background) 58%, var(--accent-light));
}

.article-hero-inner {
    width: min(100%, 850px);
    margin: 0 auto;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 13px;
}

.article-breadcrumb a,
.article-back-link,
.article-phone-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.article-breadcrumb a:hover,
.article-back-link:hover,
.article-phone-link:hover {
    color: var(--accent);
}

.article-hero .about-kicker {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-hero h1 {
    max-width: 780px;
    margin: 0 0 16px;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.12;
}

.article-deck {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.article-meta {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 760px) minmax(240px, 300px);
    align-items: start;
    gap: 48px;
    width: min(100% - 48px, 1108px);
    margin: 0 auto;
    padding: 54px 0 76px;
}

.article-content {
    min-width: 0;
    color: var(--text);
}

.article-cover {
    margin: 0 0 30px;
    overflow: hidden;
    border-radius: 18px;
    background: var(--primary-light);
    box-shadow: 0 14px 34px rgba(23, 43, 77, 0.1);
}

.article-cover img {
    display: block;
    width: 100%;
    max-height: 440px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article-cover figcaption {
    padding: 12px 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.article-content p,
.article-content li {
    font-size: 16px;
    line-height: 1.8;
}

.article-content > p {
    margin: 0 0 20px;
}

.article-content .article-lead {
    margin-bottom: 30px;
    color: var(--dark);
    font-size: 18px;
    line-height: 1.8;
}

.article-content section {
    scroll-margin-top: 130px;
    margin: 34px 0;
}

.article-content section h2,
.article-on-this-page h2 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 750;
    line-height: 1.3;
}

.article-content section p {
    margin: 0 0 16px;
}

.article-content ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 24px;
}

.article-content li::marker {
    color: var(--accent);
}

.article-on-this-page {
    display: grid;
    gap: 10px;
    margin: 0 0 34px;
    padding: 22px 24px;
    border: 1px solid #d7e7fb;
    border-radius: 14px;
    background: var(--section-bg);
}

.article-on-this-page h2 {
    margin-bottom: 2px;
    font-size: 17px;
}

.article-on-this-page a {
    width: fit-content;
    color: var(--primary);
    font-size: 14px;
    line-height: 1.5;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-callout {
    display: grid;
    gap: 6px;
    margin: 28px 0;
    padding: 20px 22px;
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    background: var(--accent-light);
    color: var(--dark);
    line-height: 1.65;
}

.article-callout span {
    color: var(--muted);
    font-size: 14px;
}

.article-content .blog-medical-note {
    margin: 30px 0 22px;
}

.article-back-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.article-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 132px;
}

.article-sidebar-card {
    display: grid;
    justify-items: start;
    gap: 12px;
    padding: 24px;
    border: 1px solid var(--primary-light);
    border-radius: 16px;
    background: var(--section-bg);
    box-shadow: 0 10px 28px rgba(23, 43, 77, 0.06);
}

.article-sidebar-card .about-kicker {
    margin: 0;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.article-sidebar-card h2 {
    margin: 0;
    color: var(--primary-dark);
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.35;
}

.article-sidebar-card p:not(.about-kicker) {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.article-sidebar-card .doctor-read-more {
    width: 100%;
    padding: 0 14px;
    font-size: 14px;
}

.article-related a {
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding-top: 11px;
    border-top: 1px solid #d7e1ef;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
}

.article-related a:hover {
    color: var(--accent);
}

@media (max-width: 900px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        max-width: 760px;
    }

    .article-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .article-hero {
        padding: 38px 0 36px;
    }

    .article-hero-inner,
    .article-layout {
        width: calc(100% - 36px);
    }

    .article-breadcrumb {
        margin-bottom: 22px;
        font-size: 12px;
    }

    .article-hero h1 {
        font-size: clamp(1.9rem, 9vw, 2.6rem);
    }

    .article-deck {
        font-size: 15px;
        line-height: 1.65;
    }

    .article-layout {
        gap: 24px;
        padding: 32px 0 52px;
    }

    .article-cover {
        margin-bottom: 22px;
        border-radius: 13px;
    }

    .article-content .article-lead {
        font-size: 16px;
        line-height: 1.7;
    }

    .article-content p,
    .article-content li {
        font-size: 15px;
        line-height: 1.72;
    }

    .article-on-this-page {
        padding: 18px;
    }

    .article-sidebar {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 360px) {
    .article-hero-inner,
    .article-layout {
        width: calc(100% - 28px);
    }

    .article-sidebar-card {
        padding: 20px;
    }
}

/* Doctor professional journey: alternating vertical timeline */
.doctor-journey-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 0;
    padding: 8px 0;
}

.doctor-journey-timeline::before {
    display: block;
    top: 8px;
    right: auto;
    bottom: 8px;
    left: 50%;
    width: 2px;
    height: auto;
    transform: translateX(-50%);
}

.doctor-journey-timeline li {
    display: grid;
    min-height: 136px;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    padding: 0;
}

.doctor-journey-timeline li:nth-child(odd) article {
    grid-column: 1;
    justify-self: end;
    margin-right: 34px;
}

.doctor-journey-timeline li:nth-child(even) article {
    grid-column: 2;
    justify-self: start;
    margin-left: 34px;
}

.doctor-journey-timeline li::before {
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border-color: var(--background);
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
    transform: translate(-50%, -50%);
}

.doctor-journey-timeline article {
    width: min(100%, 410px);
    min-height: 112px;
    padding: 22px 24px;
    border-color: #dce9f6;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff, #f7faff);
    box-shadow: 0 12px 28px rgba(0, 75, 177, 0.08);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.doctor-journey-timeline article:hover {
    transform: translateY(-3px);
    border-color: #b9d7ff;
    box-shadow: 0 16px 34px rgba(0, 75, 177, 0.13);
}

.doctor-journey-timeline li:nth-child(odd) article {
    text-align: right;
}

.doctor-journey-timeline .doctor-journey-label {
    color: var(--accent);
}

.doctor-journey-timeline h3 {
    font-size: 18px;
}

body.journey-motion-ready .doctor-journey-timeline li {
    opacity: 0;
    transition: opacity 600ms ease, transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

body.journey-motion-ready .doctor-journey-timeline li:nth-child(odd) {
    transform: translateX(-32px);
}

body.journey-motion-ready .doctor-journey-timeline li:nth-child(even) {
    transform: translateX(32px);
}

body.journey-motion-ready .doctor-journey-timeline li.is-visible {
    opacity: 1;
    transform: translateX(0);
}

body.journey-motion-ready .doctor-journey-timeline li:nth-child(2) {
    transition-delay: 80ms;
}

body.journey-motion-ready .doctor-journey-timeline li:nth-child(3) {
    transition-delay: 160ms;
}

body.journey-motion-ready .doctor-journey-timeline li:nth-child(4) {
    transition-delay: 240ms;
}

@media (max-width: 600px) {
    .doctor-journey-timeline {
        gap: 16px;
        padding: 0;
    }

    .doctor-journey-timeline::before {
        top: 4px;
        bottom: 4px;
        left: 14px;
        transform: none;
    }

    .doctor-journey-timeline li {
        min-height: 0;
        grid-template-columns: 30px minmax(0, 1fr);
    }

    .doctor-journey-timeline li:nth-child(odd) article,
    .doctor-journey-timeline li:nth-child(even) article {
        grid-column: 2;
        justify-self: stretch;
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 19px 18px;
        text-align: left;
    }

    .doctor-journey-timeline li::before {
        top: 26px;
        left: 14px;
        width: 28px;
        height: 28px;
        transform: translate(-50%, -50%);
    }

    body.journey-motion-ready .doctor-journey-timeline li:nth-child(odd),
    body.journey-motion-ready .doctor-journey-timeline li:nth-child(even) {
        transform: translateY(20px);
    }

    body.journey-motion-ready .doctor-journey-timeline li.is-visible {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.journey-motion-ready .doctor-journey-timeline li {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .doctor-journey-timeline article {
        transition: none;
    }
}

/* Header appointment form modal */
.appointment-dialog {
    width: min(600px, calc(100% - 32px));
    max-width: 600px;
    max-height: calc(100% - 32px);
    padding: 0;
    overflow: auto;
    border: 0;
    border-radius: 18px;
    background: var(--background);
    color: var(--dark);
    box-shadow: 0 24px 80px rgba(0, 20, 48, 0.32);
}

.appointment-dialog::backdrop {
    background: rgba(12, 24, 40, 0.55);
    backdrop-filter: blur(3px);
}

.appointment-dialog-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(120deg, var(--primary-dark), var(--primary));
    color: var(--background);
}

.appointment-dialog-heading h2 {
    margin: 0 0 6px;
    color: inherit;
    font-family: var(--font-body);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.25;
}

.appointment-dialog-heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    line-height: 1.55;
}

.appointment-dialog-close {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font: inherit;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

.appointment-dialog-close:hover,
.appointment-dialog-close:focus-visible {
    background: rgba(255, 255, 255, 0.24);
}

.appointment-dialog-close:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.appointment-dialog-body {
    padding: 24px 28px 28px;
}

.appointment-modal-form .appointment-fields {
    gap: 17px 20px;
}

.appointment-modal-form .appointment-field label span {
    color: var(--accent);
}

.appointment-modal-form textarea {
    min-height: 110px;
}

.appointment-modal-privacy {
    margin: 16px 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.appointment-modal-form .appointment-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.appointment-modal-form .appointment-notice:empty {
    display: none;
}

.appointment-modal-form .appointment-notice a {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 560px) {
    .appointment-dialog {
        width: calc(100% - 24px);
        max-height: calc(100% - 24px);
        border-radius: 15px;
    }

    .appointment-dialog-heading {
        padding: 20px;
    }

    .appointment-dialog-heading h2 {
        font-size: 21px;
    }

    .appointment-dialog-body {
        padding: 20px;
    }

    .appointment-modal-form .appointment-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .appointment-modal-form .appointment-field-full {
        grid-column: auto;
    }
}



/* Simple gallery page */
.gallery-page-heading h1 {
    margin: 0;
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.2;
}

.gallery-image-button:hover > img,
.gallery-image-button:focus-visible > img {
    transform: scale(1.035);
    filter: none;
}

.gallery-lightbox-panel {
    display: block;
}

.gallery-hero {
    background: linear-gradient(120deg, #70C8F2 0%, #1683D8 100%);
}


.gallery-hero .contact-hero-copy h1,
.gallery-hero .contact-hero-copy > p:not(.about-kicker),
.gallery-hero .contact-hero-copy .about-kicker,
.gallery-hero .contact-breadcrumb,
.gallery-hero .contact-breadcrumb a {
    color: #003580;
}

.gallery-hero .contact-breadcrumb a:hover,
.gallery-hero .contact-breadcrumb a:focus-visible {
    color: #FD5B53;
}

.gallery-lightbox-arrow {
    position: absolute;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-previous { left: 16px; }
.gallery-lightbox-next { right: 16px; }

.service-page-list { padding-top: 64px; }

.service-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.service-page-grid .service-card { min-width: 0; }

.service-page-grid .service-card h2 {
    margin: 0 0 10px;
    color: var(--primary);
    font-size: 20px;
    line-height: 1.3;
}

.service-page-grid .service-card p { font-size: 14px; }

.brain-service-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.brain-service-read-more:hover,
.brain-service-read-more:focus-visible {
    color: var(--accent);
}

.brain-service-read-more:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.brain-service-hero {
    padding: 34px 0 64px;
    background: linear-gradient(120deg, #EAF3FF 0%, #f8fbff 100%);
}

.brain-service-inner {
    width: min(100% - 48px, 1120px);
    margin: 0 auto;
}

.brain-service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    align-items: center;
    gap: clamp(32px, 6vw, 76px);
    padding-top: 34px;
}

.brain-service-copy h1 {
    margin: 0 0 18px;
    color: var(--primary);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.12;
}

.brain-service-copy h1 span {
    display: block;
    margin-top: 8px;
    font-size: 0.48em;
}

.brain-service-copy > p:not(.about-kicker),
.brain-service-content p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.brain-service-image {
    overflow: hidden;
    border-radius: 20px;
    background: var(--primary-light);
}

.brain-service-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.brain-service-content {
    padding: 64px 0 76px;
}

.brain-service-content h2 {
    margin: 0 0 16px;
    color: var(--primary);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.brain-service-content p {
    max-width: 820px;
    margin: 0 0 24px;
}

@media (max-width: 700px) {
    .brain-service-inner { width: calc(100% - 36px); }
    .brain-service-layout { grid-template-columns: 1fr; gap: 28px; }
    .brain-service-image { grid-row: 1; }
    .brain-service-content { padding: 44px 0 56px; }
}

@media (max-width: 900px) {
    .service-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .service-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-page-grid .service-card p {
    font-size: 14px;
    display: none;
}
}

.gallery-hero {
    background: linear-gradient(120deg, #EAF3FF 0%, #A8DCFA 100%);
}

@media (max-width: 700px) {
    .gallery-hero { padding: 34px 0; }

    .gallery-hero .contact-hero-inner {
        width: calc(100% - 32px);
        gap: 14px;
    }

    .gallery-hero .contact-hero-copy .about-kicker {
        margin: 0 0 8px;
        font-size: 10px;
        letter-spacing: 0.07em;
    }

    .gallery-hero .contact-hero-copy h1 {
        margin-bottom: 8px;
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        line-height: 1.12;
    }

    .gallery-hero .contact-hero-copy > p:not(.about-kicker) {
        font-size: 14px;
        line-height: 1.5;
    }

    .gallery-hero .contact-breadcrumb {
        gap: 6px;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .gallery-hero { padding: 28px 0; }

    .gallery-hero .contact-hero-copy h1 {
        font-size: clamp(1.6rem, 7.5vw, 1.9rem);
    }

    .gallery-hero .contact-hero-copy > p:not(.about-kicker) { font-size: 13px; }
}
/* Shared pale title banner used across the inner pages */
.gallery-hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 96px;
    background: linear-gradient(115deg, #D9E8F5 0%, #E4FAFA 100%);
}

.gallery-hero::before,
.gallery-hero::after {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(122, 224, 226, 0.2);
    content: "";
    pointer-events: none;
}

.gallery-hero::before {
    top: -125px;
    left: -100px;
}

.gallery-hero::after {
    right: -105px;
    bottom: -225px;
}

.gallery-hero .contact-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    gap: 16px;
}

.gallery-hero .contact-hero-copy .about-kicker,
.gallery-hero .contact-hero-copy > p:not(.about-kicker) {
    display: none;
}

.gallery-hero .contact-hero-copy h1 {
    margin: 0;
    color: #075BAE;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.15;
}

.gallery-hero .contact-breadcrumb {
    order: 2;
    color: #334155;
    font-size: 14px;
}

.gallery-hero .contact-breadcrumb a {
    color: #334155;
}

.gallery-hero .contact-breadcrumb a:hover,
.gallery-hero .contact-breadcrumb a:focus-visible {
    color: #075BAE;
}

@media (max-width: 700px) {
    .gallery-hero {
        padding: 52px 0 46px;
    }

    .gallery-hero .contact-hero-copy h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .gallery-hero .contact-breadcrumb {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .gallery-hero {
        padding: 42px 0 38px;
    }

    .gallery-hero .contact-hero-copy h1 {
        font-size: clamp(1.6rem, 7.5vw, 1.9rem);
    }
}

/* Refined inner-page hero: inspired by the reference, with its own layout */
.gallery-hero {
    padding: 76px 0 72px;
    background: linear-gradient(115deg, #F2F8FF 0%, #E5F7FC 100%);
}

.gallery-hero::before {
    top: -175px;
    left: auto;
    right: 9%;
    width: 390px;
    height: 390px;
    background: rgba(22, 131, 216, 0.08);
}

.gallery-hero::after {
    right: -70px;
    bottom: -245px;
    width: 360px;
    height: 360px;
    background: rgba(122, 224, 226, 0.2);
}

.gallery-hero .contact-hero-inner {
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.gallery-hero .contact-breadcrumb {
    order: 0;
    justify-content: flex-start;
    color: #52677D;
}

.gallery-hero .contact-breadcrumb a {
    color: #075BAE;
}

.gallery-hero .contact-hero-copy {
    order: 1;
    max-width: 760px;
    text-align: left;
}

.gallery-hero .contact-hero-copy .about-kicker {
    display: block;
    margin: 0 0 10px;
    color: #3976A8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-hero .contact-hero-copy h1 {
    margin: 0 0 14px;
    color: #075BAE;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.08;
}

.gallery-hero .contact-hero-copy > p:not(.about-kicker) {
    display: block;
    max-width: 660px;
    margin: 0;
    color: #435B70;
    font-size: 17px;
    line-height: 1.65;
}

@media (max-width: 700px) {
    .gallery-hero {
        padding: 42px 0;
    }

    .gallery-hero .contact-hero-inner {
        gap: 14px;
    }

    .gallery-hero .contact-hero-copy h1 {
        margin-bottom: 10px;
        font-size: clamp(1.9rem, 8vw, 2.8rem);
    }

    .gallery-hero .contact-hero-copy > p:not(.about-kicker) {
        font-size: 14px;
        line-height: 1.55;
    }
}

@media (max-width: 420px) {
    .gallery-hero {
        padding: 34px 0;
    }

    .gallery-hero .contact-hero-copy h1 {
        font-size: clamp(1.7rem, 8vw, 2rem);
    }
}

/* Keep the original centered title and breadcrumb placement */
.gallery-hero .contact-hero-inner {
    align-items: center;
    text-align: center;
}

.gallery-hero .contact-hero-copy {
    order: 0;
    text-align: center;
}

.gallery-hero .contact-hero-copy .about-kicker,
.gallery-hero .contact-hero-copy > p:not(.about-kicker) {
    display: none;
}

.gallery-hero .contact-hero-copy h1 {
    margin: 0;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
}

.gallery-hero .contact-breadcrumb {
    order: 1;
    justify-content: center;
}

@media (max-width: 700px) {
    .gallery-hero .contact-hero-copy h1 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
}

@media (max-width: 420px) {
    .gallery-hero .contact-hero-copy h1 {
        font-size: clamp(1.6rem, 7.5vw, 1.9rem);
    }
}
.clinic-hours-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin:  auto;
    padding: 50px 30px;
}

.clinic-hours-inner {
    display: grid;
    grid-template-columns: 1fr;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.clinic-hours-photo {
    width: 100%;
}

.clinic-hours-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.clinic-hours-copy {
    padding: 10px 30px;
}

.clinic-hours-copy h2 {
    font-size: 20px;
    line-height: 1.3;
    color: #00428f;
    /*margin: 10px 0 20px;*/
}

.clinic-hours-detail p {
    color: #52657a;
    line-height: 1.7;
    
}

.doctor-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 13px 25px;
    background: #ff5a55;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.doctor-read-more:hover {
    color: #fff;
    background: #00428f;
}


/* Mobile */
@media (max-width: 991px) {
    .clinic-hours-section {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

@media (max-width: 575px) {
    .clinic-hours-section {
        padding: 15px;
        gap: 20px;
    }

    .clinic-hours-photo img {
        height: 300px;
    }

    .clinic-hours-copy {
        padding: 22px;
    }

    .clinic-hours-copy h2 {
        font-size: 18px;
    }
}