/* =========================================================
   DR. VISHAL YOGI PHYSIOTHERAPY & WELLNESS CLINIC
   MASTER STYLESHEET
   ========================================================= */

/*
   IMPORTANT:
   All CSS modules are loaded here in dependency order.

   After using this file, each HTML page should ideally load:
   <link rel="stylesheet" href="css/style.css">

   instead of loading every individual CSS file separately.
*/


/* =========================================================
   01. DESIGN TOKENS
   ========================================================= */

@import url("./variables.css");


/* =========================================================
   02. RESET
   ========================================================= */

@import url("./reset.css");


/* =========================================================
   03. GLOBAL / BASE STYLES
   ========================================================= */

@import url("./base.css");


/* =========================================================
   04. NAVIGATION
   ========================================================= */

@import url("./navbar.css");


/* =========================================================
   05. HERO
   ========================================================= */

@import url("./hero.css");


/* =========================================================
   06. SECTIONS
   ========================================================= */

@import url("./sections.css");


/* =========================================================
   07. CARDS
   ========================================================= */

@import url("./cards.css");


/* =========================================================
   08. ANIMATIONS
   ========================================================= */

@import url("./animations.css");


/* =========================================================
   09. RESPONSIVE SYSTEM
   ========================================================= */

@import url("./responsive.css");


/* =========================================================
   10. GLOBAL COMPATIBILITY LAYER
   ========================================================= */

/*
   These utilities are intentionally lightweight.
   Component-specific styling stays inside its own module.
*/


/* ---------- Selection ---------- */

::selection {
    background: var(--color-primary, #0f5c55);
    color: #ffffff;
}

::-moz-selection {
    background: var(--color-primary, #0f5c55);
    color: #ffffff;
}


/* ---------- Smooth anchor scrolling ---------- */

html {
    scroll-behavior: smooth;
}


/* ---------- Prevent accidental horizontal overflow ---------- */

html,
body {
    max-width: 100%;
}


/* ---------- Media safety ---------- */

img,
video,
iframe {
    max-width: 100%;
}


/* ---------- Image rendering ---------- */

img {
    image-rendering: auto;
}


/* ---------- Buttons ---------- */

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}


/* ---------- Accessible focus ---------- */

:focus-visible {
    outline: 2px solid var(--color-gold, #b99a5b);
    outline-offset: 4px;
}


/* ---------- Hidden utility ---------- */

.is-hidden {
    display: none !important;
}


/* ---------- Visibility utility ---------- */

.is-visible {
    visibility: visible !important;
    opacity: 1 !important;
}


/* ---------- No scroll ---------- */

.no-scroll {
    overflow: hidden !important;
}


/* ---------- Text helpers ---------- */

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}


/* ---------- Width helpers ---------- */

.full-width {
    width: 100% !important;
}

.max-width-none {
    max-width: none !important;
}


/* ---------- Accessibility ---------- */

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   11. PAGE STRUCTURE SAFETY
   ========================================================= */

main {
    position: relative;
    width: 100%;
}

section {
    position: relative;
    width: 100%;
}


/* =========================================================
   12. LINK NORMALIZATION
   ========================================================= */

a {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:not([class]) {
    color: inherit;
}


/* =========================================================
   13. FORM NORMALIZATION
   ========================================================= */

input,
textarea,
select,
button {
    font: inherit;
}

input::placeholder,
textarea::placeholder {
    color: inherit;
    opacity: 0.55;
}

textarea {
    resize: vertical;
}


/* =========================================================
   14. VIDEO / EMBED SAFETY
   ========================================================= */

video {
    display: block;
    width: 100%;
}

iframe {
    border: 0;
    display: block;
    width: 100%;
}


/* =========================================================
   15. TABLE SAFETY
   ========================================================= */

table {
    width: 100%;
    border-collapse: collapse;
}


/* =========================================================
   16. MOBILE SAFE AREA
   ========================================================= */

@supports (padding: max(0px)) {

    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

}


/* =========================================================
   17. REDUCED MOTION GLOBAL FALLBACK
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}


/* ---------- Compact inner-page heroes ---------- */

.page-hero {
    min-height: clamp(300px, 39svh, 410px);
}

.page-hero > .container {
    width: min(
        calc(100% - (var(--page-gutter, 1rem) * 2)),
        var(--container-xl, 1320px)
    );
    margin-inline: auto;
}

.page-hero__content,
.page-hero-content {
    width: min(820px, 100%);
    max-width: 820px;
    padding-block: 60px 64px;
}

.page-hero__title,
.page-hero-content .page-title {
    max-width: 820px;
    font-size: clamp(2.35rem, 4.3vw, 3.8rem);
    line-height: 1.04;
}

.page-hero-content .page-title {
    margin-block: 14px;
    letter-spacing: -0.04em;
}

.page-hero__description,
.page-hero-content .page-description {
    max-width: 600px;
    margin-top: 18px;
    font-size: clamp(0.95rem, 1.15vw, 1.08rem);
    line-height: 1.7;
}

.breadcrumb {
    margin-top: 18px;
    font-size: 0.78rem;
}

@media (max-width: 767px) {
    .page-hero {
        min-height: 300px;
    }

    .page-hero__content,
    .page-hero-content {
        width: 100%;
        padding-block: 54px 50px;
    }

    .page-hero__title,
    .page-hero-content .page-title {
        font-size: clamp(2.05rem, 8vw, 3rem);
        line-height: 1.08;
    }

    .page-hero__description,
    .page-hero-content .page-description {
        margin-top: 14px;
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .breadcrumb {
        margin-top: 16px;
    }
}

@media (max-width: 420px) {
    .page-hero {
        min-height: 280px;
    }

    .page-hero__content,
    .page-hero-content {
        padding-block: 48px 44px;
    }

    .page-hero__title,
    .page-hero-content .page-title {
        font-size: clamp(1.9rem, 8.5vw, 2.5rem);
    }
}


/* =========================================================
   18. PRINT SAFETY
   ========================================================= */

@media print {

    .custom-cursor,
    .cursor-follower,
    .page-loader,
    .floating-actions,
    .mobile-bottom-bar,
    .navbar,
    .nav-menu,
    .hero-video,
    .noise-overlay {
        display: none !important;
    }

    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    a {
        color: #000000 !important;
        text-decoration: underline;
    }

}

/* Keep full photos visible in gallery and award cards. */
.gallery-main-section .gallery-item__media {
    background: #edf1f2;
}

.gallery-main-section .gallery-item__media img {
    object-fit: contain;
}

.gallery-main-section .gallery-item:hover .gallery-item__media img {
    transform: none;
}

.achievements-main .achievement-showcase-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.achievement-showcase-card__certificate {
    display: grid;
    height: 260px;
    margin: 0;
    overflow: hidden;
    place-items: center;
    border-radius: 14px;
    background: #edf1f2;
}

.achievement-showcase-card__certificate img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .achievements-main .achievement-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .achievements-main .achievement-showcase-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* =========================================================
   VISUAL POLISH AND RESPONSIVE READABILITY
   ========================================================= */

body:not(.about-page) main > section.marquee-section:nth-of-type(n):not(.hero):not(.page-hero):not(.section-dark):not(.section--dark):not(.consultation-banner) {
    border-color: rgba(126, 229, 211, 0.24);
    background:
        radial-gradient(ellipse at 14% 50%, rgba(74, 211, 184, 0.16), transparent 36%),
        linear-gradient(105deg, #102b40 0%, #10565f 52%, #173c5b 100%);
    color: #ffffff;
}

.marquee-section .marquee-track {
    min-height: 74px;
    gap: clamp(16px, 2.4vw, 38px);
}

.marquee-section .marquee-track span {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(3, 19, 34, 0.34);
}

.marquee-section .marquee-track i {
    color: #ffd27e;
    text-shadow: none;
}

.section-grid,
.section-grid > * {
    min-width: 0;
}

.home-doctor-copy > p:not(.section-kicker) {
    color: #354d59;
    font-size: 1rem;
    line-height: 1.75;
}

.home-doctor-copy .home-doctor-copy__lead {
    color: #1b3545;
    font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem);
    line-height: 1.65;
}

.home-care-card p {
    color: #354d59;
    font-size: 0.92rem;
}

.home-care-card--ink p {
    color: rgba(255, 255, 255, 0.9);
}

.home-profile-card--teal {
    background: linear-gradient(145deg, #087f78, #075d58);
}

.home-profile-card--blue {
    background: linear-gradient(145deg, #2466a6, #1e4f86);
}

.home-profile-card--amber {
    background: linear-gradient(145deg, #a15b09, #75400b);
}

.home-profile-card--violet {
    background: linear-gradient(145deg, #6847a4, #51357f);
}

.home-profile-card--rose {
    background: linear-gradient(145deg, #b64066, #8f2e50);
}

.home-profile-card--gold {
    background: linear-gradient(145deg, #946500, #684700);
}

.home-profile-card--patients {
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.18), transparent 29%),
        linear-gradient(125deg, #075c65 0%, #24588f 52%, #5a438e 100%);
}

.home-profile-card--member {
    background: linear-gradient(145deg, #117c5e, #0c654f);
}

@media (max-width: 767px) {
    .cursor,
    .cursor-follower,
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }

    .section-grid,
    .section-grid--wide,
    .section-grid--reverse {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(24px, 6vw, 38px);
    }

    .education-section .display-title {
        max-width: 15ch;
        font-size: clamp(2.35rem, 10vw, 3.4rem);
        line-height: 1.02;
    }

    .education-section .section-copy--light .lead {
        font-size: 1.08rem;
        line-height: 1.7;
    }

    .education-section .section-copy--light > p:not(.lead) {
        font-size: 0.98rem;
        line-height: 1.7;
    }

    .gallery-preview .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .gallery-preview .section-heading-row > * {
        min-width: 0;
    }

    .gallery-preview .section-title {
        max-width: 14ch;
        font-size: clamp(2.1rem, 9vw, 3rem);
        line-height: 1.08;
    }

    .floating-action {
        width: 52px;
        height: 52px;
        right: max(14px, env(safe-area-inset-right));
    }

    .floating-action--call {
        bottom: calc(88px + env(safe-area-inset-bottom));
    }

    .floating-action--whatsapp {
        bottom: calc(22px + env(safe-area-inset-bottom));
    }

    .floating-action__tooltip {
        right: calc(100% + 10px);
        font-size: 0.75rem;
    }

    .patient-review {
        padding: 22px;
        border-radius: 24px;
    }
}

@media (max-width: 380px) {
    .marquee-section .marquee-track {
        min-height: 62px;
        gap: 14px;
    }

    .marquee-section .marquee-track span {
        font-size: 0.96rem;
        letter-spacing: 0.06em;
    }

    .home-profile-card {
        padding: 20px;
    }

    .home-profile-card__eyebrow {
        font-size: 0.68rem;
    }
}

/* Contact location and hours sections use page-specific markup. */
body[data-page="contact"] .location-section {
    background:
        radial-gradient(ellipse at 12% 18%, rgba(44, 169, 152, 0.12), transparent 36%),
        linear-gradient(135deg, #f0faf8, #f2f3ff 58%, #fff7ec);
}

body[data-page="contact"] .location-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(28px, 5vw, 72px);
}

body[data-page="contact"] .location-map-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(43, 119, 139, 0.2);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(31, 70, 96, 0.14);
}

body[data-page="contact"] .location-map-card__visual {
    position: relative;
    min-height: clamp(300px, 38vw, 440px);
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 76% 25%, rgba(255, 212, 126, 0.55), transparent 20%),
        linear-gradient(135deg, #14766f, #226e91 58%, #4e5f9c);
}

body[data-page="contact"] .map-grid {
    position: absolute;
    z-index: -1;
    inset: -20%;
    opacity: 0.42;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 42px 42px;
    transform: rotate(-12deg);
}

body[data-page="contact"] .map-route {
    position: absolute;
    z-index: -1;
    border: 3px dashed rgba(255, 255, 255, 0.48);
    border-radius: 50%;
}

body[data-page="contact"] .map-route--one {
    top: 8%;
    left: -20%;
    width: 130%;
    height: 65%;
    transform: rotate(24deg);
}

body[data-page="contact"] .map-route--two {
    right: -28%;
    bottom: -8%;
    width: 105%;
    height: 62%;
    border-color: rgba(255, 216, 139, 0.68);
    transform: rotate(-28deg);
}

body[data-page="contact"] .map-pin--main {
    position: absolute;
    top: 45%;
    left: 52%;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    transform: translate(-50%, -50%);
}

body[data-page="contact"] .map-pin__pulse {
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.13), 0 0 0 25px rgba(255, 255, 255, 0.08);
}

body[data-page="contact"] .map-pin__marker {
    position: relative;
    z-index: 1;
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 4px solid #ffffff;
    border-radius: 50% 50% 50% 12px;
    color: #ffffff;
    background: linear-gradient(145deg, #f1a846, #d97726);
    box-shadow: 0 12px 28px rgba(17, 37, 58, 0.3);
    font-size: 1.25rem;
    transform: rotate(-45deg);
}

body[data-page="contact"] .map-pin__marker i {
    transform: rotate(45deg);
}

body[data-page="contact"] .map-location-label {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: grid;
    gap: 4px;
    max-width: calc(100% - 44px);
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    color: #ffffff;
    background: rgba(13, 42, 61, 0.78);
    box-shadow: 0 12px 28px rgba(12, 36, 55, 0.2);
    backdrop-filter: blur(12px);
}

body[data-page="contact"] .map-location-label span {
    font-weight: 800;
}

body[data-page="contact"] .map-location-label small {
    color: #d1f4eb;
    font-size: 0.76rem;
}

body[data-page="contact"] .map-decor {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

body[data-page="contact"] .map-decor--one {
    top: 14%;
    right: 15%;
    width: 70px;
    height: 70px;
}

body[data-page="contact"] .map-decor--two {
    top: 28%;
    left: 14%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.62);
}

body[data-page="contact"] .map-decor--three {
    right: 24%;
    bottom: 25%;
    width: 13px;
    height: 13px;
    background: #ffd27e;
}

body[data-page="contact"] .location-map-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px clamp(18px, 3vw, 30px);
}

body[data-page="contact"] .location-map-card__footer > div {
    display: grid;
    gap: 4px;
}

body[data-page="contact"] .location-map-card__footer > div > span,
body[data-page="contact"] .location-address > div:last-child > span {
    color: #587081;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body[data-page="contact"] .location-map-card__footer strong {
    color: #17394d;
    font-family: var(--font-display);
    font-size: 1.12rem;
}

body[data-page="contact"] .map-open-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(120deg, #087f78, #286a9d);
    font-size: 0.84rem;
    font-weight: 800;
}

body[data-page="contact"] .location-content {
    min-width: 0;
}

body[data-page="contact"] .location-content .section-lead {
    margin-top: 18px;
    color: #3c5668;
    font-size: 1.05rem;
    line-height: 1.75;
}

body[data-page="contact"] .location-address {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 24px;
    padding: 20px;
    border: 1px solid rgba(43, 119, 139, 0.17);
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #edf8f5);
    box-shadow: 0 12px 28px rgba(31, 70, 96, 0.08);
}

body[data-page="contact"] .location-address__icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 15px;
    color: #087f78;
    background: #d9f2ea;
}

body[data-page="contact"] .location-address p {
    margin: 7px 0 0;
    color: #264659;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.75;
}

body[data-page="contact"] .location-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}

body[data-page="contact"] .location-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(43, 119, 139, 0.14);
    border-radius: 999px;
    color: #335467;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.78rem;
    font-weight: 700;
}

body[data-page="contact"] .location-feature i {
    color: #148b80;
}

body[data-page="contact"] .contact-hours-section {
    background:
        radial-gradient(ellipse at 88% 18%, rgba(110, 93, 192, 0.3), transparent 36%),
        linear-gradient(125deg, #102d43, #10545c 58%, #343d71);
}

body[data-page="contact"] .contact-hours-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(28px, 6vw, 88px);
}

body[data-page="contact"] .contact-hours-intro > p {
    max-width: 48ch;
    margin-top: 18px;
    color: #e1edf2;
    font-size: 1rem;
    line-height: 1.8;
}

body[data-page="contact"] .hours-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    padding: 10px 14px;
    border: 1px solid rgba(142, 236, 199, 0.28);
    border-radius: 999px;
    color: #e1fff2;
    background: rgba(31, 144, 112, 0.2);
    font-size: 0.82rem;
}

body[data-page="contact"] .hours-status > span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #77e2a7;
    box-shadow: 0 0 0 5px rgba(119, 226, 167, 0.14);
}

body[data-page="contact"] .hours-card {
    display: grid;
    gap: 0;
    padding: clamp(18px, 3vw, 30px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    color: #18374a;
    background: linear-gradient(145deg, #ffffff, #eaf6f4);
    box-shadow: 0 24px 54px rgba(4, 17, 36, 0.25);
}

body[data-page="contact"] .hours-card__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 68px;
}

body[data-page="contact"] .hours-card__day {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #365365;
    font-weight: 800;
}

body[data-page="contact"] .hours-card__day i {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 13px;
    color: #087f78;
    background: #d9f2ea;
}

body[data-page="contact"] .hours-card__row:nth-of-type(5) .hours-card__day i {
    color: #a66513;
    background: #fff0d0;
}

body[data-page="contact"] .hours-card__row strong {
    color: #17394d;
    font-size: clamp(0.86rem, 1.5vw, 1.02rem);
    font-weight: 850;
    text-align: right;
}

body[data-page="contact"] .hours-card__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(48, 103, 119, 0.2), transparent);
}

@media (max-width: 767px) {
    body[data-page="contact"] .location-layout,
    body[data-page="contact"] .contact-hours-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body[data-page="contact"] .location-map-card__visual {
        min-height: 300px;
    }

    body[data-page="contact"] .location-map-card__footer {
        align-items: flex-start;
        flex-direction: column;
    }

    body[data-page="contact"] .map-open-button {
        width: 100%;
    }

    body[data-page="contact"] .hours-card__row {
        gap: 12px;
    }
}

@media (max-width: 420px) {
    body[data-page="contact"] .hours-card__row {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding-block: 12px;
    }

    body[data-page="contact"] .hours-card__row strong {
        padding-left: 52px;
        text-align: left;
    }
}

body[data-page="contact"] .contact-intro-content {
    min-width: 0;
}

body.about-page .page-hero-background {
    overflow: clip;
}

body:not(.about-page) main > section#achievements-preview.achievements-section {
    background:
        radial-gradient(ellipse at 12% 8%, rgba(45, 183, 162, 0.2), transparent 35%),
        radial-gradient(ellipse at 92% 92%, rgba(133, 111, 218, 0.2), transparent 38%),
        linear-gradient(125deg, #102b40 0%, #15505a 58%, #29385f 100%);
    color: #f7faff;
}

body:not(.about-page) #achievements-preview .section-topline span {
    border-color: rgba(212, 242, 249, 0.28);
    color: #edfaff;
    background: rgba(4, 24, 42, 0.48);
}

body:not(.about-page) #achievements-preview .section-topline span:first-child {
    border-color: rgba(183, 255, 240, 0.4);
    color: #c4fff3;
    background: rgba(8, 58, 63, 0.8);
}

body:not(.about-page) #achievements-preview .section-kicker {
    color: #c4fff3;
}

body:not(.about-page) #achievements-preview .section-title {
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(3, 19, 32, 0.24);
}

body:not(.about-page) #achievements-preview .section-title em {
    color: #8ff3df;
}

body:not(.about-page) #achievements-preview .achievement-card-content h3 {
    color: #18334a;
}

body:not(.about-page) #achievements-preview .achievement-year,
body:not(.about-page) #achievements-preview .achievement-label {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

body:not(.about-page) #achievements-preview .achievement-intro > .text-link {
    border-color: rgba(213, 255, 247, 0.72);
    color: #ffffff;
    background: linear-gradient(120deg, #08796f, #4457a1);
    box-shadow: 0 10px 24px rgba(4, 17, 34, 0.3);
}

body:not(.about-page) #achievements-preview .achievement-intro > .text-link:focus-visible {
    outline: 3px solid #c4fff3;
    outline-offset: 4px;
}

body[data-page="contact"] .contact-intro-content .section-lead {
    color: #3c5668;
    font-size: 1.02rem;
    line-height: 1.75;
}

body[data-page="contact"] .contact-quick-actions {
    display: grid;
    gap: 11px;
    margin-top: 24px;
}

body[data-page="contact"] .contact-quick-action {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    border: 1px solid rgba(40, 113, 137, 0.17);
    border-radius: 17px;
    color: #18374a;
    background: linear-gradient(120deg, #ffffff, #f1f8fa);
    box-shadow: 0 10px 24px rgba(34, 68, 111, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

body[data-page="contact"] .contact-quick-action:hover {
    transform: translateY(-2px);
    border-color: rgba(21, 139, 128, 0.42);
    box-shadow: 0 14px 28px rgba(34, 68, 111, 0.13);
}

body[data-page="contact"] .contact-quick-action__icon {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 14px;
    color: #087f78;
    background: #d9f2ea;
    font-size: 1.05rem;
}

body[data-page="contact"] .contact-quick-action:nth-child(2) .contact-quick-action__icon {
    color: #147b51;
    background: #dff5e6;
}

body[data-page="contact"] .contact-quick-action:nth-child(3) .contact-quick-action__icon {
    color: #a63269;
    background: #fae3ee;
}

.site-footer .footer-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
}

.site-footer .footer-brand-link .brand-symbol {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 4px rgba(142, 243, 223, 0.2), 0 8px 22px rgba(0, 0, 0, 0.3);
}

.site-footer .footer-brand-link .brand-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.site-footer .footer-brand-link .brand-text strong {
    color: #ffffff;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    font-weight: 800;
    letter-spacing: 0.035em;
    line-height: 1.25;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.site-footer .footer-brand-link .brand-text small {
    color: #c8fff2;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 1.4;
}

.final-cta .final-cta-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.final-cta .final-cta-inner > .section-kicker {
    display: inline-flex;
    margin: 0 0 16px;
    color: #a9ffeb;
    font-size: clamp(0.75rem, 1.1vw, 0.9rem);
    font-weight: 850;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.final-cta .final-cta-inner > h2 {
    max-width: 17ch;
    margin: 0 auto;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6.2vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.04;
    text-wrap: balance;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.25);
}

.final-cta .final-cta-inner > h2 em {
    color: #9cffdf;
    font-weight: 700;
}

.final-cta .final-cta-inner > p:not(.section-kicker) {
    max-width: 56ch;
    margin: 18px auto 0;
    color: #e4f3f7;
    font-size: clamp(1rem, 1.7vw, 1.16rem);
    font-weight: 500;
    line-height: 1.7;
}

.final-cta .final-cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.final-cta .final-cta-actions > .btn {
    min-height: 52px;
    padding-inline: 24px;
    border-radius: 999px;
    font-size: 0.94rem;
    font-weight: 850;
}

.final-cta .final-cta-actions > .btn-light {
    color: #12334a;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.final-cta .final-cta-actions > .btn-outline-light {
    border: 1px solid rgba(219, 255, 248, 0.78);
    color: #ffffff;
    background: rgba(7, 34, 49, 0.36);
}

.final-cta .final-cta-actions > .btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 540px) {
    .final-cta .final-cta-inner > .section-kicker {
        margin-bottom: 14px;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
    }

    .final-cta .final-cta-inner > h2 {
        max-width: 13ch;
        font-size: clamp(2.35rem, 10vw, 3.25rem);
    }

    .final-cta .final-cta-inner > p:not(.section-kicker) {
        max-width: 34ch;
        margin-top: 14px;
        font-size: 1rem;
    }

    .final-cta .final-cta-actions {
        gap: 10px;
        margin-top: 22px;
    }

    .final-cta .final-cta-actions > .btn {
        width: 100%;
        min-height: 52px;
    }
}

.condition-card--patient .condition-image {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1.6vw, 22px);
    border: 0;
}

.conditions-grid > .condition-card {
    position: relative;
    display: block;
    min-width: 0;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    border: 1px solid rgba(44, 113, 145, 0.18);
    border-radius: 22px;
    background: #17394d;
    box-shadow: 0 16px 34px rgba(34, 68, 111, 0.13);
    isolation: isolate;
}

.conditions-grid > .condition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 42px rgba(34, 68, 111, 0.2);
}

.conditions-grid .condition-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.condition-card--patient .condition-image > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.condition-card--patient-knee .condition-image > img,
.condition-card--patient-postoperative .condition-image > img {
    object-position: right center;
}

.condition-card--patient-knee {
    --patient-face-left: 87%;
    --patient-face-top: 28%;
}

.condition-card--patient-back {
    --patient-face-left: 70%;
    --patient-face-top: 62%;
}

.condition-card--patient-neuro {
    --patient-face-left: 37%;
    --patient-face-top: 36%;
}

.condition-card--patient-sports {
    --patient-face-left: 21%;
    --patient-face-top: 61%;
}

.condition-card--patient-postoperative {
    --patient-face-left: 52%;
    --patient-face-top: 68%;
}

.condition-card--patient-postoperative .condition-image > img {
    object-position: center top;
}

.condition-card--patient-back .condition-image > img {
    object-position: left center;
}

.condition-card--patient-neuro .condition-image > img {
    object-position: center center;
}

.condition-card--patient-knee .condition-overlay,
.condition-card--patient-back .condition-overlay,
.condition-card--patient-neuro .condition-overlay,
.condition-card--patient-sports .condition-overlay,
.condition-card--patient-postoperative .condition-overlay {
    background: linear-gradient(180deg, rgba(7, 24, 40, 0.02) 28%, rgba(7, 24, 40, 0.18) 56%, rgba(7, 24, 40, 0.9) 100%);
}

.conditions-grid .condition-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 24, 40, 0.04) 20%, rgba(7, 24, 40, 0.24) 48%, rgba(7, 24, 40, 0.92) 100%);
    pointer-events: none;
}

.conditions-grid .condition-content {
    position: absolute;
    z-index: 2;
    right: 18px;
    bottom: 17px;
    left: 18px;
    display: grid;
    gap: 8px;
    color: #ffffff;
}

.conditions-grid .condition-content > span {
    color: #aaf1de;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.14em;
}

.conditions-grid .condition-content h3 {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.35vw, 1.28rem);
    font-weight: 850;
    line-height: 1.25;
    text-wrap: balance;
}

.conditions-grid .condition-content > i {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(14, 47, 65, 0.65);
}

.gallery-preview .gallery-item--patient {
    isolation: isolate;
}

.gallery-preview .gallery-item--patient .patient-face-mask {
    top: 61%;
    left: 27%;
    z-index: 3;
}

@media (max-width: 1100px) {
    .conditions-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .conditions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .conditions-grid > .condition-card {
        aspect-ratio: 1 / 1.12;
        border-radius: 18px;
    }

    .conditions-grid .condition-content {
        right: 13px;
        bottom: 13px;
        left: 13px;
    }

    .conditions-grid .condition-content > i {
        display: none;
    }
}

@media (max-width: 380px) {
    .conditions-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .conditions-grid > .condition-card {
        aspect-ratio: 1.28 / 1;
    }
}

.patient-face-mask {
    position: absolute;
    z-index: 3;
    top: var(--patient-face-top, 50%);
    left: var(--patient-face-left, 50%);
    display: block;
    width: clamp(58px, 6vw, 70px);
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #ffffff;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 3px 14px rgba(9, 26, 39, 0.38);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.patient-face-mask > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.18);
}

@media (max-width: 767px) {
    .patient-face-mask {
        width: clamp(56px, 15vw, 64px);
    }
}

body[data-page="contact"] .contact-quick-action > span:nth-child(2) {
    display: grid;
    flex: 1 1 auto;
    gap: 3px;
    min-width: 0;
}

body[data-page="contact"] .contact-quick-action small {
    color: #5b7281;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

body[data-page="contact"] .contact-quick-action strong {
    overflow-wrap: anywhere;
    color: #17394d;
    font-size: clamp(0.84rem, 1.1vw, 0.96rem);
    font-weight: 850;
    line-height: 1.35;
}

body[data-page="contact"] .contact-quick-action > i:last-child {
    flex: 0 0 auto;
    color: #168b83;
    font-size: 0.85rem;
}

.site-footer .footer-credit {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 5px 8px;
    max-width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(142, 219, 203, 0.24);
    border-radius: 999px;
    color: #d6eee9;
    background:
        radial-gradient(circle at 12% 0%, rgba(88, 202, 177, 0.2), transparent 52%),
        linear-gradient(110deg, rgba(18, 70, 78, 0.8), rgba(56, 54, 103, 0.72));
    box-shadow: 0 9px 22px rgba(4, 16, 33, 0.16);
    font-size: 0.72rem;
    line-height: 1.5;
}

.site-footer .footer-credit strong {
    color: #ffffff;
    font-weight: 850;
}

.site-footer .footer-credit a {
    color: #ffdc92;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer .footer-credit a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer .footer-credit a:focus-visible {
    outline: 2px solid #ffdc92;
    outline-offset: 3px;
}

@media (max-width: 767px) {
    .site-footer .footer-credit {
        justify-content: flex-start;
        border-radius: 16px;
    }

    body[data-page="contact"] .contact-quick-action {
        padding: 11px 12px;
    }
}