.nagpal-home-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(124px, 10vw, 132px) 0 56px;
    background:
        radial-gradient(ellipse at 4% 8%, rgba(16, 148, 153, .08), transparent 35%),
        linear-gradient(122deg, #f6fbfa 0%, #fff 55%, #eef8f6 100%);
}

.nagpal-home-shell {
    width: min(100%, 1280px);
    min-height: 510px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
    align-items: center;
    gap: clamp(42px, 6vw, 86px);
    margin: 0 auto;
}

.nagpal-home-copy { position: relative; z-index: 2; padding: 8px 0; }
.nagpal-home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #087d89;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}
.nagpal-home-kicker-dot {
    width: 8px;
    height: 8px;
    border: 2px solid #15959a;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(21, 149, 154, .09);
}
.nagpal-home-hero h1 {
    max-width: 650px;
    margin: 20px 0 18px;
    color: #12313b;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(48px, 5.3vw, 76px);
    font-weight: 700;
    letter-spacing: -2.5px;
    line-height: .99;
}
.nagpal-home-hero h1 span { display: block; }
.nagpal-home-hero h1 em { color: #087d89; font-style: normal; }
.nagpal-home-intro {
    max-width: 590px;
    color: #455f66;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.75;
}
.nagpal-home-credentials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 21px;
    color: #526c72;
    font-size: 11px;
}
.nagpal-home-credentials span { white-space: nowrap; }
.nagpal-home-credentials b { color: #173c44; font-weight: 800; }
.nagpal-home-credentials i { width: 4px; height: 4px; border-radius: 50%; background: #77aaa8; }
.nagpal-home-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 26px;
}
.nagpal-home-primary,
.nagpal-home-call {
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    border: 1px solid #087d89;
    border-radius: 15px;
    padding: 0 20px;
    color: #fff !important;
    background: linear-gradient(125deg, #087d89, #18a4a8);
    box-shadow: 0 11px 24px rgba(8, 125, 137, .18);
    font-size: 13px;
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nagpal-home-primary:hover,
.nagpal-home-call:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(8, 125, 137, .24); }
.nagpal-home-primary > span { font-size: 18px; line-height: 1; }
.nagpal-home-call {
    justify-content: flex-start;
    gap: 10px;
    border-color: #d2e4e2;
    color: #173b42 !important;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 7px 20px rgba(19, 65, 72, .07);
}
.nagpal-home-call:hover { border-color: #75b1af; background: #fff; }
.nagpal-home-call-icon {
    width: 34px;
    height: 34px;
    display: grid;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 11px;
    color: #087d89;
    background: #e9f5f3;
}
.nagpal-home-call-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nagpal-home-call > span:last-child { display: grid; gap: 2px; line-height: 1.2; }
.nagpal-home-call strong { font-size: 11px; }
.nagpal-home-call small { color: #75898d; font-size: 10px; }
.nagpal-home-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 6px;
    color: #087d89 !important;
    font-size: 12px;
    font-weight: 750;
}
.nagpal-home-whatsapp:hover { color: #075d65 !important; }
.nagpal-home-note {
    max-width: 570px;
    margin-top: 15px !important;
    color: #71868b;
    font-size: 11px;
    line-height: 1.65;
}
.nagpal-home-hero a:focus-visible {
    outline: 3px solid rgba(8, 125, 137, .38);
    outline-offset: 3px;
}

.nagpal-home-visual {
    position: relative;
    min-height: 515px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    border-radius: 34px 34px 34px 100px;
    background:
        radial-gradient(ellipse at 68% 30%, rgba(34, 174, 174, .3), transparent 42%),
        linear-gradient(142deg, #123d46 0%, #0a2934 58%, #075d65 100%);
    box-shadow: 0 30px 70px rgba(15, 57, 65, .2);
    animation: nagpal-hero-reveal .8s cubic-bezier(.2,.75,.25,1) both,
               nagpal-hero-float 8s ease-in-out 1s infinite;
}
.nagpal-home-visual::before,
.nagpal-home-visual::after { position: absolute; content: ""; pointer-events: none; }
.nagpal-home-visual::before {
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px 26px 26px 76px;
}
.nagpal-home-visual::after {
    top: 14%;
    right: 10%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #74d5cf;
    box-shadow: 0 0 0 8px rgba(116, 213, 207, .12), 0 0 24px rgba(116, 213, 207, .6);
    animation: nagpal-hero-pulse 2.8s ease-in-out infinite;
}
.nagpal-home-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(78%, 470px);
    aspect-ratio: 1;
    border: 1px solid rgba(159, 231, 226, .24);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.nagpal-home-orbit-one { width: min(91%, 540px); }
.nagpal-home-orbit-two { width: min(68%, 405px); border-color: rgba(159, 231, 226, .15); }
.nagpal-home-image-mat {
    position: absolute;
    inset: 18px 18px 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-radius: 27px 27px 27px 78px;
}
.nagpal-home-image-mat::after {
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(180deg, transparent, rgba(6, 29, 38, .42));
    content: "";
    pointer-events: none;
}
.nagpal-home-image-mat img {
    z-index: 1;
    display: block;
    width: auto;
    height: min(100%, 515px);
    max-width: 100%;
    object-fit: contain;
    object-position: center bottom;
}
.nagpal-home-photo-caption {
    position: absolute;
    z-index: 2;
    right: 32px;
    bottom: 30px;
    left: 32px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
}
.nagpal-home-caption-mark {
    width: 39px;
    height: 39px;
    display: grid;
    flex: 0 0 39px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 13px;
    color: #fff;
    background: rgba(255, 255, 255, .13);
    font-family: "Playfair Display", Georgia, serif;
    font-size: 20px;
    font-weight: 700;
}
.nagpal-home-photo-caption > span:last-child { display: grid; gap: 3px; }
.nagpal-home-photo-caption strong { font-size: 12px; }
.nagpal-home-photo-caption small { color: rgba(255, 255, 255, .75); font-size: 10px; }
.nagpal-home-location-card {
    position: absolute;
    z-index: 3;
    top: 54px;
    left: -25px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px 12px 12px;
    border: 1px solid rgba(8, 125, 137, .11);
    border-radius: 15px;
    color: #173b42;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 32px rgba(9, 47, 54, .16);
    animation: nagpal-location-float 5s ease-in-out 1s infinite;
}
.nagpal-home-location-icon {
    width: 36px;
    height: 36px;
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 11px;
    color: #087d89;
    background: #e9f5f3;
}
.nagpal-home-location-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.nagpal-home-location-card > span:last-child { display: grid; gap: 2px; }
.nagpal-home-location-card small { color: #74888d; font-size: 9px; font-weight: 600; }
.nagpal-home-location-card strong { font-size: 11px; }
.nagpal-home-copy > * {
    animation: nagpal-copy-reveal .65s cubic-bezier(.2,.75,.25,1) both;
}
.nagpal-home-copy > :nth-child(1) { animation-delay: .06s; }
.nagpal-home-copy > :nth-child(2) { animation-delay: .13s; }
.nagpal-home-copy > :nth-child(3) { animation-delay: .2s; }
.nagpal-home-copy > :nth-child(4) { animation-delay: .27s; }
.nagpal-home-copy > :nth-child(5) { animation-delay: .34s; }
.nagpal-home-copy > :nth-child(6) { animation-delay: .41s; }
.nagpal-home-primary > span { transition: transform .2s ease; }
.nagpal-home-primary:hover > span { transform: translate(3px, -2px); }

@keyframes nagpal-copy-reveal {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes nagpal-hero-reveal {
    from { opacity: 0; transform: translateY(18px) scale(.99); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes nagpal-hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes nagpal-location-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes nagpal-hero-pulse {
    0%, 100% { box-shadow: 0 0 0 8px rgba(116, 213, 207, .12), 0 0 24px rgba(116, 213, 207, .6); }
    50% { box-shadow: 0 0 0 12px rgba(116, 213, 207, .08), 0 0 30px rgba(116, 213, 207, .78); }
}

@media (max-width: 950px) {
    .nagpal-home-shell { grid-template-columns: minmax(0, 1fr) minmax(310px, .84fr); gap: 30px; }
    .nagpal-home-hero h1 { font-size: clamp(44px, 5.2vw, 60px); }
    .nagpal-home-visual { min-height: 470px; }
    .nagpal-home-primary { width: 100%; }
    .nagpal-home-location-card { left: -12px; }
}
@media (max-width: 760px) {
    .nagpal-home-hero { padding: 80px 0 48px; }
    .nagpal-home-shell { grid-template-columns: 1fr; gap: 31px; }
    .nagpal-home-copy { padding: 0; }
    .nagpal-home-hero h1 { max-width: 620px; margin-top: 15px; font-size: clamp(42px, 11vw, 64px); letter-spacing: -1.7px; }
    .nagpal-home-intro { font-size: 15px; }
    .nagpal-home-credentials { gap: 8px; font-size: 10px; }
    .nagpal-home-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .nagpal-home-primary { grid-column: 1 / -1; }
    .nagpal-home-call { width: 100%; padding: 8px 10px; }
    .nagpal-home-whatsapp { justify-content: center; border: 1px solid #d2e4e2; border-radius: 15px; background: #fff; }
    .nagpal-home-visual { min-height: min(118vw, 510px); border-bottom-left-radius: 68px; }
    .nagpal-home-image-mat { inset: 13px 13px 8px; border-bottom-left-radius: 55px; }
    .nagpal-home-image-mat img { height: 100%; max-height: 100%; }
    .nagpal-home-photo-caption { right: 23px; bottom: 23px; left: 23px; }
    .nagpal-home-location-card { top: 30px; left: -7px; }
}
@media (max-width: 420px) {
    .nagpal-home-hero { padding-inline: 16px; }
    .nagpal-home-hero h1 { font-size: 41px; }
    .nagpal-home-kicker { font-size: 8px; letter-spacing: 1.25px; }
    .nagpal-home-credentials { gap: 6px; font-size: 9px; }
    .nagpal-home-actions { grid-template-columns: 1fr; }
    .nagpal-home-primary { grid-column: auto; }
    .nagpal-home-call,
    .nagpal-home-whatsapp { min-height: 48px; }
    .nagpal-home-visual { min-height: 440px; }
}
@media (prefers-reduced-motion: reduce) {
    .nagpal-home-hero *,
    .nagpal-home-hero *::before,
    .nagpal-home-hero *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation: none !important;
    }
}

/* Homepage finish: a calmer, editorial reading rhythm in the clinic's teal palette. */
.seo-home {
    --home-ink: #173b41;
    --home-muted: #536d70;
    --home-teal: #147d7a;
    --home-sage: #eaf3ef;
    --home-paper: #f8faf7;
}

.nagpal-home-hero {
    padding-top: clamp(128px, 11vw, 154px);
    padding-bottom: clamp(58px, 7vw, 92px);
    background:
        radial-gradient(ellipse at 1% 10%, rgba(66, 153, 139, .12), transparent 36%),
        linear-gradient(115deg, #f4f8f4 0%, #fbfcf8 54%, #e8f2ed 100%);
}

.nagpal-home-shell { max-width: 1320px; }
.nagpal-home-copy { max-width: 640px; }
.nagpal-home-kicker { color: #246e6e; }
.nagpal-home-hero h1 {
    color: #173b41;
    font-size: clamp(50px, 5.5vw, 78px);
    letter-spacing: -.045em;
    line-height: .98;
}
.nagpal-home-hero h1 em { color: #247f78; }
.nagpal-home-intro { color: #496468; }
.nagpal-home-visual {
    min-height: 550px;
    border-radius: 180px 180px 26px 26px;
    background:
        radial-gradient(ellipse at 50% 32%, rgba(102, 171, 157, .35), transparent 43%),
        linear-gradient(145deg, #1d5253 0%, #123b43 58%, #0c3038 100%);
    box-shadow: 0 28px 68px rgba(19, 59, 62, .17);
    animation: nagpal-hero-reveal .8s cubic-bezier(.2,.75,.25,1) both;
}
.nagpal-home-visual::before { inset: 15px; border-radius: 168px 168px 18px 18px; }
.nagpal-home-image-mat { inset: 10px 10px 8px; border-radius: 170px 170px 18px 18px; }
.nagpal-home-image-mat img { object-fit: contain; }
.nagpal-home-orbit { border-color: rgba(198, 231, 220, .22); }
.nagpal-home-location-card { left: -34px; }
.nagpal-home-primary,
.nagpal-home-call { border-radius: 9px; }
.nagpal-home-primary { background: #137c79; box-shadow: 0 10px 22px rgba(19, 124, 121, .16); }
.nagpal-home-primary:hover { background: #0c6968; }
.nagpal-home-call { border-radius: 9px; }

.seo-home-facts {
    position: relative;
    z-index: 2;
    border-top: 1px solid #d8e6e0;
    border-bottom: 1px solid #d8e6e0;
    background: #f0f6f2;
}
.seo-home-facts-grid { max-width: 1240px; }
.seo-home-facts-grid > div { padding-block: 23px; }
.seo-home-facts-grid strong { color: #1a5554; }

.treatment-choice-section,
.arthritis-story-section,
.hip-sports-section,
.doctor-luxe-section {
    scroll-margin-top: 90px;
}
.treatment-choice-section { background: #f6f8f4; }
.arthritis-story-section {
    background:
        radial-gradient(ellipse at 100% 10%, rgba(213, 231, 220, .6), transparent 30rem),
        #fbfcf8;
}
.hip-sports-section { background: #f0f6f2; }
.doctor-luxe-section { background: #fbfcf8; }
.treatment-choice-frame,
.arthritis-story-frame,
.hip-sports-frame,
.doctor-luxe-photo-frame,
.visit-prep-visual {
    box-shadow: 0 22px 52px rgba(24, 63, 61, .12);
}

.knee-recovery-section {
    --recovery-ink: #173b41;
    --recovery-mint: #b8d9cc;
    position: relative;
    overflow: hidden;
    padding: clamp(65px, 8vw, 112px) clamp(20px, 5vw, 72px);
    color: #f1f6ef;
    background:
        radial-gradient(ellipse at 93% 0%, rgba(52, 125, 113, .3), transparent 33rem),
        linear-gradient(122deg, #143b42 0%, #173f43 58%, #1b504d 100%);
}
.knee-recovery-section::before,
.knee-recovery-section::after {
    position: absolute;
    content: "";
    pointer-events: none;
}
.knee-recovery-section::before {
    top: 0;
    right: 8%;
    width: min(33vw, 390px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(188, 221, 208, .75));
}
.knee-recovery-section::after {
    top: -180px;
    right: -130px;
    width: 440px;
    aspect-ratio: 1;
    border: 1px solid rgba(190, 222, 208, .12);
    border-radius: 50%;
    box-shadow: 0 0 0 38px rgba(190, 222, 208, .035), 0 0 0 78px rgba(190, 222, 208, .025);
}
.knee-recovery-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 1240px);
    margin-inline: auto;
}
.knee-recovery-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, .72fr);
    align-items: end;
    gap: clamp(26px, 6vw, 90px);
}
.knee-recovery-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #b9d9ce;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .15em;
    line-height: 1.5;
    text-transform: uppercase;
}
.knee-recovery-eyebrow > span {
    width: 8px;
    height: 8px;
    border: 2px solid #8fc4b5;
    border-radius: 50%;
}
.knee-recovery-heading h2 {
    margin: 0;
    color: #f4f4e9;
    font-family: var(--heading, "Playfair Display", Georgia, serif);
    font-size: clamp(2.7rem, 5.4vw, 5.2rem);
    font-weight: 550;
    letter-spacing: -.055em;
    line-height: .98;
}
.knee-recovery-heading h2 em { color: #9fd0bf; font-weight: 500; }
.knee-recovery-heading > p {
    max-width: 420px;
    margin: 0 0 7px;
    color: #c5d7d0;
    font-size: 14px;
    line-height: 1.8;
}
.knee-recovery-caution {
    display: flex;
    align-items: center;
    gap: 13px;
    max-width: 890px;
    margin: 34px 0 50px;
    padding: 15px 18px;
    border: 1px solid rgba(190, 222, 208, .25);
    background: rgba(245, 249, 242, .07);
}
.knee-recovery-caution-mark {
    display: grid;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    place-items: center;
    border: 1px solid #a9d1c1;
    border-radius: 50%;
    color: #c4e1d4;
    font-family: Georgia, serif;
    font-size: 15px;
}
.knee-recovery-caution p {
    margin: 0;
    color: #d0dfd8;
    font-size: 11px;
    line-height: 1.7;
}
.knee-recovery-caution strong { color: #f2f3e7; }
.knee-recovery-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.knee-recovery-timeline::before {
    position: absolute;
    top: 18px;
    right: 9%;
    left: 9%;
    height: 1px;
    background: linear-gradient(90deg, rgba(153, 203, 186, .35), #a8d2c1 45%, rgba(153, 203, 186, .35));
    content: "";
}
.knee-recovery-stage { position: relative; min-width: 0; }
.knee-recovery-stage-index {
    display: block;
    margin: 0 0 11px 3px;
    color: #8ebcaf;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .16em;
}
.knee-recovery-stage-marker {
    position: relative;
    z-index: 1;
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    margin-bottom: 17px;
    border: 1px solid rgba(176, 216, 198, .7);
    border-radius: 50%;
    background: #1a4748;
}
.knee-recovery-stage-marker span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #b7d9c9;
}
.knee-recovery-stage-card {
    min-height: 235px;
    padding: 19px 17px 20px;
    border: 1px solid rgba(196, 221, 208, .2);
    background: rgba(245, 248, 241, .055);
    transition: transform .24s ease, border-color .24s ease, background .24s ease;
}
.knee-recovery-stage:hover .knee-recovery-stage-card {
    transform: translateY(-4px);
    border-color: rgba(193, 225, 207, .55);
    background: rgba(245, 248, 241, .1);
}
.knee-recovery-time {
    display: block;
    min-height: 29px;
    margin-bottom: 13px;
    color: #a9d0c1;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
}
.knee-recovery-stage-card h3 {
    margin: 0 0 10px;
    color: #f1f2e8;
    font-family: var(--heading, "Playfair Display", Georgia, serif);
    font-size: clamp(18px, 1.75vw, 23px);
    font-weight: 550;
    letter-spacing: -.025em;
    line-height: 1.15;
}
.knee-recovery-stage-card p {
    margin: 0;
    color: #bed0c9;
    font-size: 11px;
    line-height: 1.75;
}
.knee-recovery-footer {
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 36px;
    margin-top: 27px;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid rgba(190, 222, 208, .2);
    background: transparent;
}
.knee-recovery-footer::before { display: none; }
.knee-recovery-footer p {
    margin: 0;
    color: #adc3ba;
    font-size: 10px;
    line-height: 1.7;
}
.knee-recovery-footer a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 0 14px;
    border: 1px solid rgba(177, 216, 198, .55);
    color: #e8f1e9;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.knee-recovery-footer a:hover {
    transform: translateY(-2px);
    color: #173b41;
    background: #c8e2d5;
}
.knee-recovery-footer a:focus-visible {
    outline: 3px solid #b5d8c8;
    outline-offset: 4px;
}
.knee-recovery-footer a span:last-child { font-size: 15px; }

@media (min-width: 761px) and (max-width: 1360px) {
    .seo-home .container { padding-right: 88px; }
    .knee-recovery-shell {
        width: min(calc(100% - 104px), 1080px);
        margin-right: 80px;
        margin-left: auto;
    }
}

@media (max-width: 1040px) {
    .knee-recovery-timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
    .knee-recovery-timeline::before { display: none; }
    .knee-recovery-stage-card { min-height: 208px; }
}
@media (max-width: 760px) {
    .knee-recovery-section { padding-right: 76px; }
    .knee-recovery-shell { width: 100%; }
    .nagpal-home-hero { padding-top: 100px; }
    .nagpal-home-visual { min-height: min(112vw, 530px); border-radius: 180px 180px 22px 22px; }
    .nagpal-home-image-mat { border-radius: 170px 170px 17px 17px; }
    .nagpal-home-location-card { left: -8px; }
    .knee-recovery-section { padding: 58px 20px; }
    .knee-recovery-heading { grid-template-columns: 1fr; gap: 18px; }
    .knee-recovery-heading > p { max-width: 600px; }
    .knee-recovery-caution { margin: 26px 0 34px; }
    .knee-recovery-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
    .knee-recovery-stage-card { min-height: 0; }
}
@media (max-width: 520px) {
    .nagpal-home-hero { padding-inline: 18px; }
    .nagpal-home-hero h1 { font-size: clamp(41px, 12vw, 58px); }
    .nagpal-home-visual { min-height: 440px; }
    .knee-recovery-section { padding: 48px 18px; }
    .knee-recovery-eyebrow { align-items: flex-start; font-size: 9px; }
    .knee-recovery-heading h2 { font-size: clamp(2.55rem, 12vw, 3.6rem); }
    .knee-recovery-caution { align-items: flex-start; margin: 23px 0 29px; padding: 13px; }
    .knee-recovery-timeline { grid-template-columns: 1fr; gap: 0; }
    .knee-recovery-stage {
        display: grid;
        grid-template-columns: 33px minmax(0, 1fr);
        column-gap: 12px;
        padding-bottom: 16px;
    }
    .knee-recovery-stage:not(:last-child)::before {
        position: absolute;
        top: 36px;
        bottom: -1px;
        left: 17px;
        width: 1px;
        background: rgba(168, 210, 193, .45);
        content: "";
    }
    .knee-recovery-stage-index { grid-column: 1; margin: 0 0 5px; text-align: center; }
    .knee-recovery-stage-marker { grid-column: 1; grid-row: 2; width: 35px; height: 35px; margin: 0; }
    .knee-recovery-stage-card { grid-column: 2; grid-row: 1 / span 2; padding: 15px; }
    .knee-recovery-time { min-height: 0; margin-bottom: 8px; }
    .knee-recovery-stage-card h3 { font-size: 21px; }
    .knee-recovery-footer { align-items: stretch; flex-direction: column; }
    .knee-recovery-footer a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .seo-home .fade-up,
    .seo-home .fade-up.appear {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
        transition-delay: 0s !important;
    }
    .knee-recovery-section *,
    .knee-recovery-section *::before,
    .knee-recovery-section *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
    .nagpal-home-visual,
    .nagpal-home-copy > *,
    .nagpal-home-location-card { animation: none !important; }
}

/* Recovery timeline — light, winding infographic treatment from the reference. */
.knee-recovery-section {
    overflow: visible;
    padding: clamp(26px, 4.2vw, 56px) clamp(18px, 5vw, 72px);
    color: #30464a;
    background: #f4f7f4;
    scroll-margin-top: 128px;
}

.knee-recovery-section::before {
    top: 0;
    right: 0;
    left: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, #d9e3dd 16%, #d9e3dd 84%, transparent);
}

.knee-recovery-section::after { display: none; }

.knee-recovery-shell {
    width: min(100%, 1280px);
    padding: clamp(22px, 3vw, 38px) clamp(20px, 3.2vw, 46px) 24px;
    border: 1px solid #e4e9e5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(23, 59, 65, .055);
}

.knee-recovery-heading {
    grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr);
    align-items: center;
    gap: 36px;
}

.knee-recovery-eyebrow {
    margin-bottom: 12px;
    color: #4b8275;
    font-size: 10px;
    letter-spacing: .16em;
}

.knee-recovery-eyebrow > span {
    width: 7px;
    height: 7px;
    border-color: #4b9887;
}

.knee-recovery-heading h2 {
    max-width: 680px;
    color: #1b3439;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -.045em;
    line-height: 1.08;
}

.knee-recovery-heading h2 em { color: #438477; }

.knee-recovery-heading > p {
    max-width: 390px;
    margin: 0;
    color: #637579;
    font-size: 13px;
    line-height: 1.75;
}

.knee-recovery-caution {
    max-width: none;
    align-items: flex-start;
    gap: 9px;
    margin: 17px 0 4px;
    padding: 0;
    border: 0;
    background: transparent;
}

.knee-recovery-caution-mark {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
    border-color: #b6c9bf;
    color: #537b70;
    font-size: 11px;
}

.knee-recovery-caution p,
.knee-recovery-caution strong {
    color: #72827f;
    font-size: 10px;
}

.knee-recovery-map {
    position: relative;
    height: 560px;
    margin: 4px 0 2px;
}

.knee-recovery-route {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.knee-recovery-route path {
    fill: none;
    stroke: #30383a;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.knee-recovery-timeline {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.knee-recovery-stage {
    position: absolute;
    top: var(--step-y);
    left: var(--step-x);
    z-index: 1;
    width: 0;
    min-width: 0;
    transform: translate(-50%, -50%);
}

.knee-recovery-stage-marker {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    margin: 0;
    border: 2px solid #6b9c82;
    background: #fff;
    box-shadow: 0 0 0 3px #fff;
}

.knee-recovery-stage-marker span {
    width: 8px;
    height: 8px;
    background: #5f9c77;
}

.knee-recovery-stage-card {
    position: absolute;
    left: 50%;
    width: clamp(156px, 16vw, 190px);
    min-height: 0;
    padding: 7px 9px;
    border: 0;
    background: rgba(255, 255, 255, .97);
    box-shadow: none;
    transform: translateX(-50%);
    transition: color .22s ease, transform .22s ease;
}

.knee-recovery-stage.is-above .knee-recovery-stage-card {
    bottom: calc(100% + 17px);
}

.knee-recovery-stage.is-below .knee-recovery-stage-card {
    top: calc(100% + 17px);
}

.knee-recovery-stage:hover .knee-recovery-stage-card {
    border: 0;
    background: #fff;
    transform: translateX(-50%) translateY(-3px);
}

.knee-recovery-icon {
    display: block;
    width: 39px;
    height: 39px;
    margin: 0 0 8px;
    fill: none;
    stroke: #789f88;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.knee-recovery-time {
    min-height: 0;
    margin-bottom: 5px;
    color: #5c6d70;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .035em;
    line-height: 1.25;
    text-transform: uppercase;
}

.knee-recovery-stage-card h3 {
    margin: 0 0 5px;
    color: #243b3f;
    font-size: 17px;
    font-weight: 650;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.knee-recovery-stage-card p {
    margin: 0;
    color: #697879;
    font-size: 10px;
    line-height: 1.55;
}

.knee-recovery-stage:last-child .knee-recovery-stage-card {
    right: 16px;
    left: auto;
    transform: none;
}

.knee-recovery-stage:last-child:hover .knee-recovery-stage-card {
    transform: translateY(-3px);
}

.knee-recovery-footer {
    align-items: center;
    gap: 24px;
    margin-top: 4px;
    padding: 17px 0 0;
    border-top: 1px solid #e8ede9;
}

.knee-recovery-footer p {
    max-width: 680px;
    color: #71807e;
    font-size: 10px;
}

.knee-recovery-footer a {
    flex: 0 0 auto;
    border-color: #cbdad1;
    color: #377569;
}

.knee-recovery-footer a:hover {
    color: #fff;
    background: #247f78;
}

@media (max-width: 1040px) {
    .knee-recovery-map {
        height: auto;
        margin-top: 22px;
    }

    .knee-recovery-route { display: none; }

    .knee-recovery-timeline {
        position: relative;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px 16px;
    }

    .knee-recovery-stage,
    .knee-recovery-stage.is-above,
    .knee-recovery-stage.is-below {
        position: relative;
        top: auto;
        left: auto;
        display: flex;
        width: auto;
        flex-direction: column;
        align-items: flex-start;
        transform: none;
    }

    .knee-recovery-stage-marker { margin: 0 0 7px; }

    .knee-recovery-stage-card,
    .knee-recovery-stage.is-above .knee-recovery-stage-card,
    .knee-recovery-stage.is-below .knee-recovery-stage-card,
    .knee-recovery-stage:last-child .knee-recovery-stage-card {
        position: relative;
        inset: auto;
        width: 100%;
        padding: 10px 0;
        transform: none;
    }

    .knee-recovery-stage:hover .knee-recovery-stage-card,
    .knee-recovery-stage:last-child:hover .knee-recovery-stage-card {
        transform: translateY(-2px);
    }
}

@media (max-width: 760px) {
    .knee-recovery-section {
        padding: 44px 74px 44px 18px;
    }

    .knee-recovery-shell {
        padding: 23px 18px 18px;
        border-radius: 17px;
    }

    .knee-recovery-heading {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .knee-recovery-heading h2 {
        font-size: clamp(30px, 8vw, 40px);
    }

    .knee-recovery-heading > p { font-size: 12px; }
    .knee-recovery-caution { margin-top: 14px; }
    .knee-recovery-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .knee-recovery-stage-card h3 { font-size: 16px; }
}

@media (max-width: 520px) {
    .knee-recovery-section {
        padding: 38px 74px 38px 16px;
    }

    .knee-recovery-shell { padding: 20px 15px 16px; }
    .knee-recovery-timeline { grid-template-columns: 1fr; gap: 0; }

    .knee-recovery-stage,
    .knee-recovery-stage.is-above,
    .knee-recovery-stage.is-below {
        display: grid;
        grid-template-columns: 25px minmax(0, 1fr);
        grid-template-rows: auto;
        column-gap: 10px;
        padding: 0 0 16px;
    }

    .knee-recovery-stage:not(:last-child)::after {
        position: absolute;
        top: 18px;
        bottom: -1px;
        left: 8px;
        width: 1px;
        background: #d4dfd8;
        content: "";
    }

    .knee-recovery-stage-marker {
        z-index: 1;
        grid-column: 1;
        grid-row: 1;
        width: 17px;
        height: 17px;
        margin: 2px 0 0;
    }

    .knee-recovery-stage-card,
    .knee-recovery-stage.is-above .knee-recovery-stage-card,
    .knee-recovery-stage.is-below .knee-recovery-stage-card,
    .knee-recovery-stage:last-child .knee-recovery-stage-card {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        padding: 0 0 6px;
    }

    .knee-recovery-icon { width: 33px; height: 33px; }
    .knee-recovery-time { font-size: 9px; }
    .knee-recovery-stage-card p { font-size: 10px; }
    .knee-recovery-footer { align-items: stretch; flex-direction: column; gap: 12px; }
    .knee-recovery-footer a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .knee-recovery-stage-card,
    .knee-recovery-stage:hover .knee-recovery-stage-card,
    .knee-recovery-section .fade-up,
    .knee-recovery-section .fade-up.appear {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
