.physioPage .phyMain {
    padding: 0;
}

.phyMain {
    --phy-shadow: 0 16px 38px rgba(0, 61, 79, .10);
    color: var(--text-soft);
}

.phyMain svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.phyMain :is(h1, h2, h3, p) {
    margin: 0;
}

.phyMain h1, .phyMain h2, .phyMain h3 {
    color: var(--brand);
}

.phyMain h1 {
    font-size: clamp(36px, 3.5vw, 49px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.phyHeading h2 {
    font-size: clamp(30px, 2.8vw, 38px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.025em;
    text-wrap: balance;
}

.phyMain .phyBadge {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: #00556d;
    text-align: center;
    margin-bottom: 20px;
}

.phyMain .phyBadge::before, .phyMain .phyBadge::after {
    width: 64px;
    min-width: 20px;
    flex: 0 1 64px;
    height: 1.4px;
}

.phyMain .phyHeading {
    margin-bottom: 24px;
}

.phyHero {
    padding: 64px 0 28px;
}

.phySplit {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: 56px;
}

.phySplit>* {
    min-width: 0;
}

.phySplit--reverse> :first-child {
    grid-column: 2;
    grid-row: 1;
}

.phySplit--reverse>.phyVisual {
    grid-column: 1;
    grid-row: 1;
}

.phyHeroInner {
    gap: 40px;
}

.phyHeroCopy {
    position: relative;
    z-index: 1;
}

.phyHeroLead {
    font-size: 18px;
    line-height: 1.65;
    padding-top: 24px;
    text-wrap: pretty;
}

.phyMain .phyActions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.phyHero .phyActions>a {
    flex: 1 1 auto;
}

.phyTrust {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 24px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 430px;
}

.phyTrust svg {
    color: var(--brand);
}

.phyBenefits {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.phyBenefit {
    position: relative;
    min-width: 0;
    border-right: 1px solid var(--line);
}

.phyBenefit:last-child {
    border-right: 0;
}

.phyBenefits :is(h2, h3) {
    font-size: 16px;
    font-weight: 750;
    line-height: 1.25;
}

.phyBenefitBtn {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 72px;
    padding: 16px 16px 16px 18px;
    border: 0;
    background: transparent;
    color: var(--brand);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .2s ease;
}

.phyBenefitBtn:hover, .phyBenefit.is-open .phyBenefitBtn {
    background: rgba(0, 85, 109, .045);
}

.phyBenefitBtn:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: -4px;
    border-radius: 6px;
}

.phyBenefitIcon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--brand-pale);
    color: var(--brand);
    transition: background-color .2s ease, color .2s ease;
}

.phyBenefit.is-open .phyBenefitIcon {
    background: var(--brand);
    color: #fff;
}

.phyBenefits .phyBenefitIcon svg {
    width: 20px;
    height: 20px;
}

/* Icono +/−: dos barras; la vertical se pliega sobre la horizontal al abrir */
.phyBenefitPlus {
    position: relative;
    width: 16px;
    height: 16px;
    justify-self: center;
}

.phyBenefitPlus::before, .phyBenefitPlus::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: translate(-50%, -50%);
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease;
}

.phyBenefitPlus::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.phyBenefit.is-open .phyBenefitPlus::after {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
}

/* Escritorio: la descripción flota bajo su tarjeta; no desplaza ni la fila ni la página */
.phyBenefitPop {
    position: absolute;
    z-index: 5;
    top: calc(100% + 14px);
    left: 0;
    width: max(100%, 340px);
    padding: 18px 20px 20px;
    border-radius: 16px;
    color: #f2f9fa;
    background: #00556d;
    box-shadow: 0 24px 48px -20px rgba(0, 61, 79, .6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .3s;
}

.phyBenefitPop::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 26px;
    width: 14px;
    height: 14px;
    border-radius: 3px 0 0 0;
    background: #00556d;
    transform: rotate(45deg);
}

.phyBenefitPop::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(130% 100% at 0% 0%, rgba(255, 255, 255, .16), transparent 58%);
    pointer-events: none;
}

.phyBenefit:nth-child(n + 4) .phyBenefitPop {
    left: auto;
    right: 0;
}

.phyBenefit:nth-child(n + 4) .phyBenefitPop::before {
    left: auto;
    right: 26px;
}

.phyBenefit.is-open .phyBenefitPop {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.phyBenefitPop p {
    position: relative;
    z-index: 1;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(242, 249, 250, .94);
}

html:not(.js) .phyBenefits .phyBenefitPop {
    position: static;
    width: auto;
    margin: 0 18px 18px;
    padding: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
}

html:not(.js) .phyBenefits .phyBenefitPop::before, html:not(.js) .phyBenefits .phyBenefitPop::after {
    display: none;
}

html:not(.js) .phyBenefits .phyBenefitPop p {
    color: var(--text-soft);
}

.phyBenefitPop p+p {
    margin-top: 8px;
}

/* Variante en 3 columnas (2 filas): el panel cabe en la celda, siempre alineado a la izquierda */
@media (min-width: 901px) {
    .phyBenefits--three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .phyBenefits--four {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .phyBenefits--three .phyBenefit:nth-child(3n) {
        border-right: 0;
    }

    .phyBenefits--three .phyBenefit:nth-child(n + 4) {
        border-top: 1px solid var(--line);
    }

    .phyBenefits--three .phyBenefit .phyBenefitPop {
        left: 0;
        right: auto;
    }

    .phyBenefits--three .phyBenefit .phyBenefitPop::before {
        left: 26px;
        right: auto;
    }
}

.phySection {
    padding: 76px 0;
    scroll-margin-top: 100px;
}

.phyProse {
    display: grid;
    gap: 18px;
}

.phyProse p, .phySectionHead>p {
    font-size: 17px;
    line-height: 1.75;
    text-wrap: pretty;
}

.phyMain .phyHighlight {
    font-size: 17px;
    line-height: 1.65;
    color: var(--brand);
    padding-left: 18px;
    border-left: 2px solid var(--brand-soft);
    margin-top: 26px;
}

.phySectionHead {
    max-width: 900px;
    margin: 0 auto 30px;
    text-align: center;
}

.phySectionHead h2 {
    font-size: clamp(32px, 3vw, 42px);
}

.phySectionHead>p {
    max-width: 860px;
    margin-inline: auto;
}

.phyFeatures {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 44px;
    margin-top: 44px;
}

.phyFeatures--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
}

.phyFeatures--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Tarjetas de funcionalidad: mismo estilo que las del hero de odontología (numeración, franja y disco de icono) */
.phyFeatures {
    counter-reset: phyFeature;
}

.phyFeature {
    counter-increment: phyFeature;
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    align-content: start;
    column-gap: 12px;
    row-gap: 10px;
    padding: 24px 20px 22px;
    border: 1px solid rgba(0, 85, 109, .14);
    border-radius: 22px;
    background: linear-gradient(160deg, #fff 0%, #f3f8f9 100%);
    box-shadow: 0 18px 38px -24px rgba(0, 61, 79, .35);
    overflow: hidden;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}

.phyFeature::before {
    content: "0" counter(phyFeature);
    position: absolute;
    right: 14px;
    bottom: 8px;
    font-family: var(--font-heading);
    font-size: 38px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.04em;
    color: rgba(0, 85, 109, .08);
    pointer-events: none;
}

.phyFeature::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-soft) 60%, var(--green) 100%);
}

.phyFeature__icon {
    grid-column: 1;
    grid-row: 1;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-soft) 100%);
    color: #fff;
    box-shadow: 0 10px 20px -8px rgba(0, 85, 109, .55);
}

.phyFeature__icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.phyFeature h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--brand-deep);
    text-wrap: balance;
}

.phyFeature__text {
    grid-column: 1 / -1;
    min-width: 0;
}

.phyFeature p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-soft);
}

.phyFeature p+p {
    margin-top: 10px;
}

@media (hover: hover) {
    .phyFeature:hover {
        transform: translateY(-6px);
        border-color: rgba(0, 85, 109, .32);
        box-shadow: 0 28px 48px -22px rgba(0, 61, 79, .45);
    }
}

.phyChecklist {
    display: grid;
    gap: 16px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.phyChecklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    color: var(--brand);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.phyMain .phyChecklist li>svg {
    width: 34px;
    height: 34px;
    padding: 7px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--brand-pale);
    color: var(--brand);
}

.phyTextLink {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    color: var(--brand);
    font-size: 16px;
    font-weight: 700;
}

.phyTextLink:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* En móvil el enlace de la agenda pasa debajo del último mockup, centrado (duplicado en el marcado) */
.phyTextLink--mobile {
    display: none;
}

@media (max-width: 900px) {
    .phyAgendaSplit > div > .phyTextLink {
        display: none;
    }

    .phyAgendaSplit .phyVisual--agenda, .phySplit > .phyVisual--activities, .phySplit > .phyVisual--arrival, .phySplit > .phyVisual--economics {
        display: none;
    }

    .phyAgendaSplit .phyTextLink--mobile {
        display: inline-flex;
        justify-self: center;
        margin-top: 0;
        font-size: 20px;
    }

    #sesiones.phySection {
        padding-bottom: 20px;
    }
}

.phyProblemHeading {
    max-width: 870px;
    margin: 0 auto 48px;
    text-align: center;
}

.phyProblemHeading .phyHeading h2 {
    font-size: clamp(32px, 3.2vw, 44px);
}

.phyProblemBody {
    gap: 64px;
}

.phyProblemCopy .phyProse p {
    font-size: 18px;
    line-height: 1.8;
    color: #52666d;
}

.phyProblemTakeaway {
    margin-top: 26px !important;
    padding-left: 18px;
    border-left: 2px solid var(--brand-soft);
    color: var(--brand);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
}

.phyConnectionBoard {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
}

.phyPatientBridge {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 16px;
    width: 82%;
    margin: 0 auto;
    padding: 18px 22px;
    border-radius: 18px;
    background: linear-gradient(115deg, var(--brand-deep), var(--brand) 65%, var(--brand-soft));
    color: #fff;
    box-shadow: 0 12px 28px rgba(0, 61, 79, .14);
}

.phyPatientAvatar {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.phyPatientAvatar svg {
    width: 30px;
    height: 30px;
}

.phyPatientBridge>div {
    min-width: 0;
}

.phyPatientBridge>div>span {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: #d4e7e9;
}

.phyPatientBridge strong {
    display: block;
    font-size: 29px;
    font-weight: 750;
    line-height: 1.15;
    margin-top: 4px;
}

.phyBridgeLink {
    display: grid;
    place-items: center;
    margin-left: auto;
    opacity: .8;
}

.phyCarePanels {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding-top: 36px;
}

.phyCarePanels::before {
    content: '';
    position: absolute;
    inset: 0 20% 40px;
    border: 1px solid var(--brand-mist);
    border-top: 0;
    border-radius: 0 0 100px 100px;
    pointer-events: none;
}

.phyCarePanel {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 20px 32px -18px rgba(0, 61, 79, .26), 0 3px 8px rgba(0, 61, 79, .04);
    min-width: 0;
}

.phyDeviceChrome {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding-inline: 18px;
    border-bottom: 1px solid #e8eff0;
}

.phyDeviceChrome i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand-mist);
}

.phyCarePanelHead {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 18px 20px 12px;
    color: var(--brand);
}

.phyCarePanelHead>span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: #edf4f5;
    border-radius: 10px;
}

.phyCarePanelHead svg {
    width: 20px;
    height: 20px;
}

.phyCarePanelHead h3 {
    font-size: 20px;
    font-weight: 750;
    line-height: 1.2;
}

.phyCareChart {
    padding: 8px 20px 20px;
}

.phyCareChart svg {
    display: block;
    width: 100%;
    height: 88px;
}

.phyCarePanel ul {
    list-style: none;
    padding: 0 16px 16px;
    margin: 0;
}

.phyCarePanel li {
    display: flex;
    gap: 10px;
    align-items: center;
    min-height: 46px;
    padding: 10px 8px;
    font-size: 16px;
    font-weight: 550;
    line-height: 1.35;
    color: #264c58;
}

.phyCarePanel li+li {
    border-top: 1px solid #edf2f3;
}

.phyCarePanel li:first-child {
    background: #edf5f5;
    border-radius: 8px;
    color: var(--brand);
}

.phyCarePanel li:nth-child(2) {
    border-top: 0;
}

.phyCarePanel li svg {
    width: 20px;
    height: 20px;
    color: var(--brand-soft);
}

.phyCarePanel--clinic {
    margin-top: 26px;
}

.phyCarePanel--clinic ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 12px;
    padding: 0 16px 20px;
}

.phyCarePanel--clinic li {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;
    padding: 16px 8px;
    min-height: 90px;
    font-size: 14px;
    border-top: 1px solid #edf2f3;
}

.phyCarePanel--clinic li:first-child {
    background: none;
    border-radius: 0;
}

.phyCarePanel--clinic li svg {
    width: 24px;
    height: 24px;
    color: var(--brand);
}

.phyCarePanel--home {
    margin-top: 0;
    border: 5px solid #d8e5e7;
    border-radius: 30px;
    background: linear-gradient(140deg, var(--brand-deep), var(--brand)) top / 100% 96px no-repeat, #fff;
    box-shadow: 0 24px 34px -18px rgba(0, 61, 79, .3), 0 0 0 1px #b9d2d4;
}

.phyCarePanel--home .phyDeviceChrome {
    justify-content: center;
    height: 26px;
    border: 0;
}

.phyCarePanel--home .phyDeviceChrome i:first-child {
    width: 34px;
    height: 4px;
    background: #7faab5;
}

.phyCarePanel--home .phyDeviceChrome i:not(:first-child) {
    display: none;
}

.phyCarePanel--home .phyCarePanelHead {
    padding: 6px 14px 16px;
}

.phyCarePanel--home .phyCarePanelHead h3 {
    color: #fff;
}

.phyCarePanel--home .phyCarePanelHead>span {
    display: none;
}

.phyCarePanel--home ul {
    padding: 0 10px 20px;
}

.phyCarePanel--home li {
    font-size: 15px;
    padding-inline: 5px;
}

.phyCareExercise {
    position: relative;
    margin: 0 12px 12px;
    border: 3px solid #fff;
    border-radius: 12px;
    background: #edf4f3;
    box-shadow: 0 5px 12px #003d4f0d;
}

.phyCareExercise .phyExerciseArt {
    display: block;
    width: 100%;
    height: 112px;
}

.phyCareExercise>span {
    position: absolute;
    display: grid;
    place-items: center;
    right: 8px;
    bottom: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px #00556d14;
}

.phyCareExercise>span svg {
    width: 14px;
    height: 14px;
    color: var(--brand);
}

.phyCareSync {
    position: absolute;
    display: grid;
    place-items: center;
    left: 55.5%;
    top: 46%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    border: 4px solid #f6fafb;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 10px #00556d20;
}

.phyCareSync svg {
    width: 19px;
    height: 19px;
}

.phyMotion .phyConnectionBoard:not(.phyPending) .phyPatientBridge {
    animation: phyConnectIn 550ms both;
}

.phyMotion .phyConnectionBoard:not(.phyPending) .phyCarePanel {
    animation: phyConnectIn 650ms 100ms both;
}

.phyMotion .phyConnectionBoard:not(.phyPending) .phyCarePanel--home {
    animation-delay: 200ms;
}

@keyframes phyConnectIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Native horizontal scrolling stays usable with touch, keyboard, or no JS. */
.phyExerciseCards {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 40px) / 3);
    gap: 20px;
    margin-inline: -32px;
    padding: 0 48px 12px;
    overflow-x: auto;
    scroll-padding-inline: 48px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-mist) transparent;
}

.phyExerciseCards {
    --phy-edge-fade: 48px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--phy-edge-fade), #000 calc(100% - var(--phy-edge-fade)), transparent);
    mask-image: linear-gradient(to right, transparent, #000 var(--phy-edge-fade), #000 calc(100% - var(--phy-edge-fade)), transparent);
}

html.js .phyExerciseCards {
    scrollbar-width: none;
    padding-bottom: 0;
}

html.js .phyExerciseCards::-webkit-scrollbar {
    display: none;
}

.phyExerciseCard {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 26px;
    grid-template-rows: auto 1fr auto;
    align-items: start;
    gap: 18px 14px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
    scroll-snap-align: start;
}

.phyExerciseCard>* {
    min-width: 0;
}

.phyExerciseCard>svg {
    grid-column: 2;
    grid-row: 1;
    width: 26px;
    height: 26px;
    color: var(--brand-soft);
}

.phyExerciseCard h3 {
    grid-column: 1;
    grid-row: 1;
    min-height: 2.4em;
    font-size: 21px;
    line-height: 1.2;
    font-weight: 750;
    letter-spacing: -.02em;
    text-align: left;
    text-wrap: pretty;
}

.phyExerciseCard p {
    grid-column: 1 / -1;
    color: var(--text);
    font-size: 16px;
    line-height: 1.65;
    text-wrap: pretty;
}

.phyExerciseCard .phyExerciseCardNote {
    min-height: calc(3.1em + 17px);
    padding-top: 16px;
    border-top: 1px solid var(--line);
    color: var(--brand);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.phyExerciseControls {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.phyExerciseControls[hidden] {
    display: none;
}

/* Con JS los controles siempre acaban visibles (5 tarjetas, 3 por vista): se reserva su sitio desde el primer pintado */
html.js .phyExerciseCarousel .phyExerciseControls[hidden] {
    display: grid;
    visibility: hidden;
}

.phyExerciseDots {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}

.phyExerciseDots button {
    display: grid;
    place-items: center;
    width: 28px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
}

.phyExerciseDots button::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-mist);
}

.phyExerciseDots button[aria-current="true"]::before {
    background: var(--brand);
    transform: scale(1.3);
}

.bgModoAzul .phyExerciseDots button::before {
    background: rgba(255, 255, 255, .45);
}

.bgModoAzul .phyExerciseDots button[aria-current="true"]::before {
    background: #fff;
}

.phyExerciseArrows {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.phyExerciseArrows>button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--brand);
    background: #fff;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}

.phyExerciseArrows>button:hover:not(:disabled) {
    background: var(--brand-pale);
    border-color: var(--brand);
}

.phyExerciseArrows>button:disabled {
    opacity: .35;
    cursor: default;
}

.phyExercisePrev svg {
    transform: rotate(180deg);
}

.phyExerciseCards:focus-visible, .phyExerciseArrows button:focus-visible, .phyExerciseDots button:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 4px;
}

.phyMain .phyExerciseHighlight {
    width: fit-content;
    max-width: 780px;
    margin: 40px auto 0;
    text-align: left;
    text-wrap: pretty;
}

.phyVisual {
    position: relative;
    min-width: 0;
    color: var(--text);
    font-size: 13px;
    line-height: 1.5;
}

.phyVisual svg {
    width: 20px;
    height: 20px;
    color: var(--brand);
}

.phyVisual small {
    font-size: 11px;
    color: var(--text-soft);
    display: block;
}

.phyVisual b, .phyVisual strong {
    font-weight: 700;
}

.phyWindow {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--phy-shadow);
}

.phyWindowBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
    color: var(--brand);
    font-size: 15px;
    font-weight: 700;
}

.phyWindowBar>span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.phyWindowBar small {
    font-size: 10px;
    font-weight: 500;
}

.phyMiniHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--brand);
}

.phyStatus {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 20px;
    background: #eaf6f0;
    color: #25765c;
    font-size: 10px;
    font-weight: 600;
}

.phyMockButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 7px;
    background: linear-gradient(120deg, var(--brand), var(--brand-soft));
    color: #fff;
    font-weight: 650;
    font-size: 11px;
}

.phyVisual--hero {
    min-height: 572px;
}

.phyCalendar {
    width: 86%;
    position: absolute;
    top: 0;
    left: 0;
}

.phyCalendarGrid {
    height: 454px;
    position: relative;
    background: repeating-linear-gradient(to bottom, transparent 0, transparent 55px, #edf2f3 55px, #edf2f3 56px);
    margin: 0 12px 18px;
}

.phyWeek {
    height: 62px;
    display: grid;
    grid-template-columns: 40px repeat(4, 1fr);
    border-bottom: 1px solid var(--line);
    text-align: center;
    color: var(--text-muted);
    background: #fff;
    font-size: 10px;
    align-items: center;
}

.phyWeek b {
    display: block;
    color: var(--brand);
    font-size: 17px;
}

.phyHours {
    height: 390px;
    width: 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    color: var(--text-muted);
    font-size: 9px;
}

.phyAppt {
    position: absolute;
    padding: 8px;
    border-left: 2px solid #7c6daa;
    border-radius: 5px;
    background: #eeeaf5;
    left: 44px;
    width: 31%;
    font-size: 10px;
    line-height: 1.5;
}

.phyAppt b, .phyAppt span {
    display: block;
}

.phyAppt small {
    font-size: 9px;
}

.phyAppt--one {
    top: 72px;
}

.phyAppt--two {
    top: 146px;
    background: #e8f3ef;
    border-color: #2a9d8f;
}

.phyAppt--three {
    top: 246px;
    background: #fbf0e6;
    border-color: #d8a278;
}

.phyAppt--four {
    top: 351px;
    left: 45%;
    background: #f9e9e6;
    border-color: #d67d6d;
}

.phyRoutineFloat {
    position: absolute;
    right: -6px;
    top: 72px;
    width: 53%;
    padding: 17px;
    z-index: 2;
}

.phyRoutineFloat>b {
    display: block;
    margin-top: 10px;
}

.phyVideoPreview {
    position: relative;
    background: #f0f4f3;
    border-radius: 9px;
    margin: 12px 0;
}

.phyVisual .phyExerciseArt {
    display: block;
    width: 100%;
    height: auto;
}

.phyPlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 14px rgba(0, 61, 79, .13);
}

.phyPlay svg {
    width: 18px;
    height: 18px;
}

.phyVideoMeta {
    display: flex;
    gap: 20px;
    margin-top: 16px;
}

.phyPhone {
    position: absolute;
    width: 38%;
    bottom: 0;
    left: 35%;
    background: white;
    border: 5px solid #e8eff0;
    border-radius: 24px;
    box-shadow: var(--phy-shadow);
    z-index: 3;
}

.phyPhoneTop {
    padding: 12px 14px 16px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(125deg, var(--brand-deep), var(--brand));
    color: white;
}

.phyPhoneTop>i {
    display: block;
    width: 36px;
    height: 4px;
    margin: 0 auto 14px;
    background: rgba(255, 255, 255, .5);
    border-radius: 10px;
}

.phyPhoneTop small {
    color: #c9e0e3;
    font-size: 9px;
}

.phyPhoneBody {
    padding: 12px;
    font-size: 10px;
}

.phyPhoneExercise {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.phyPhoneExercise small {
    font-size: 8px;
}

.phyPhoneBody .phyMockButton {
    width: 100%;
    margin-top: 12px;
    font-size: 10px;
    padding: 8px 3px;
}

.phyRoutineLayout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
}

.phyExerciseLibrary {
    border-right: 1px solid var(--line);
    padding: 16px 12px;
}

.phyExerciseLibrary>div {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
    border-radius: 7px;
    padding: 12px 8px;
    font-size: 12px;
}

.phyExerciseLibrary .is-selected {
    background: #e8f2f3;
    color: var(--brand);
}

.phyRoutineDetail {
    padding: 22px;
}

.phyRoutineDetail h3 {
    font-size: 20px;
    line-height: 1.25;
    margin-top: 12px;
}

.phyRoutineDetail>b {
    display: block;
}

.phyAttachment {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--brand);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
}

.phyAttachment>span {
    width: 100%;
    color: var(--text-muted);
}

.phyAttachment svg {
    width: 14px;
    height: 14px;
}

.phyMockPatient {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
}

.phyMockPatient>span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phyMockPatient small {
    font-size: 9px;
}

.phyMockActions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 10px;
}

.phyHistoryBody {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.phySessionLog {
    padding: 24px 18px;
}

.phySessionLog>div:not(.phyHistoryLinked) {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}

.phySessionLog p {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 8px;
}

.phyPain {
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    padding: 3px 8px;
    background: #eef4f5;
    border-radius: 12px;
    font-size: 10px;
    color: var(--brand);
}

.phyHistoryLinked {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 24px;
    font-size: 10px;
}

.phyBodyMap {
    padding: 18px 12px;
    border-left: 1px solid var(--line);
}

.phyBodyMap>b {
    font-size: 12px;
}

.phyBodyMap img {
    width: 100%;
    height: 326px;
    object-fit: cover;
    display: block;
    mix-blend-mode: multiply;
}

.phyBodyNote {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.phyBodyNote b {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 8px;
}

.phyBodyNote i {
    display: block;
    margin-top: 8px;
    height: 5px;
    border-radius: 9px;
    background: linear-gradient(to right, var(--brand) 40%, #e8eff0 40%);
}

.phyVisual--agenda {
    padding: 0 24px 0 0;
}

.phyAgendaSplit {
    align-items: start;
}

.phyArrivalSplit {
    align-items: start;
}

.phyArrivalSplit> :first-child {
    padding-top: 6px;
}

.phyTodayList {
    padding: 12px 20px;
}

.phyTodayList>div {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 4px 12px;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.phyTodayList>div:last-child {
    border: 0;
}

.phyTodayList time {
    grid-row: span 2;
    color: var(--text-muted);
}

.phyTodayList .phyStatus {
    width: fit-content;
}

.phyBono {
    position: relative;
    margin: -3px -24px 0 50px;
    padding: 22px;
}

.phyBono h3 {
    font-size: 20px;
}

.phyBonoCount {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 18px 0;
}

.phyBonoCount>strong {
    color: var(--brand);
    font-size: 48px;
    line-height: 1;
}

.phyBonoCount>strong>span {
    color: var(--brand-mist);
    font-size: 30px;
}

.phyBonoCount>span {
    font-size: 12px;
}

.phyBonoProgress {
    display: flex;
    gap: 6px;
}

.phyBonoProgress i {
    height: 6px;
    flex: 1;
    border-radius: 10px;
    background: var(--brand-fade);
}

.phyBonoProgress i:nth-child(-n+3) {
    background: var(--brand-soft);
}

.phyBonoFoot {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    font-size: 10px;
}

.phyActivityBody {
    padding: 28px;
}

.phyActivityBody h3 {
    font-size: 28px;
    line-height: 1.2;
}

.phyActivitySlots {
    display: flex;
    gap: 24px;
    margin-top: 22px;
}

.phyActivitySlots>span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
}

.phyActivityBody>p {
    font-size: 12px;
    margin: 12px 0 24px;
}

.phyActivityInfo {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
    font-size: 11px;
    color: var(--text-soft);
}

.phyActivityInfo b {
    display: block;
    color: var(--brand);
    font-size: 14px;
    margin-top: 3px;
}

.phyPlaces {
    display: flex;
    gap: 9px;
    margin-top: 28px;
}

.phyPlaces>span {
    display: grid;
    place-items: center;
    flex: 1;
    aspect-ratio: 1;
    border: 1px dashed var(--line);
    border-radius: 50%;
}

.phyPlaces .is-filled {
    background: #e8f2f3;
    border: 1px solid #d4e0e1;
}

.phyActivityCapacity {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 18px 0 26px;
    font-size: 12px;
}

.phyActivityCapacity b>span {
    color: var(--text-muted);
    font-weight: 400;
}

.phyActivityPayment {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.phyActivityPayment>svg:last-child {
    margin-left: auto;
}

.phyVisual--arrival {
    padding-right: 32px;
}

.phyArrivalChecks {
    padding: 10px 22px;
}

.phyArrivalChecks>div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.phyArrivalChecks>div:last-child {
    border: none;
}

.phyArrivalChecks small {
    margin-left: auto;
    font-size: 9px;
}

.phyArrivalChecks svg {
    color: var(--brand-soft);
}

.phyWaiting {
    position: relative;
    z-index: 2;
    margin: -28px -32px 0 48px;
    padding: 20px 24px;
    box-shadow: 0 28px 56px -22px rgba(0, 61, 79, .38), var(--phy-shadow);
}

.phyTurn {
    text-align: center;
    padding: 12px 0;
}

.phyTurn strong {
    font-size: 58px;
    line-height: 1.15;
    color: var(--brand);
    display: block;
}

.phyWaitingPath {
    border-top: 1px solid var(--line);
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 11px;
}

.phyEconomicsBody {
    padding: 28px;
}

.phyStatLead {
    display: flex;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
}

.phyStatLead>span {
    font-size: 13px;
}

.phyStatLead strong {
    font-size: 58px;
    line-height: 1.15;
    display: block;
    color: var(--brand);
    margin-top: 8px;
}

.phyBars {
    display: flex;
    flex: 1;
    gap: 8px;
    height: 108px;
    align-items: flex-end;
}

.phyBars i {
    flex: 1;
    height: var(--bar);
    background: linear-gradient(to top, var(--brand), var(--brand-soft));
    border-radius: 4px 4px 0 0;
}

.phyStats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
    font-size: 12px;
}

.phyStats b {
    display: block;
    color: var(--brand);
    font-size: 26px;
}

.phyReceipt {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.phyReceipt strong {
    margin-left: auto;
    font-size: 20px;
    color: var(--brand);
}

.phyReceiptStatus {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    color: #25765c;
    font-size: 11px;
}

.phyReceiptStatus svg {
    color: inherit;
    width: 16px;
    height: 16px;
}

.physioPage .phyFaq {
    background: transparent;
    padding: 76px 0 70px;
}

.phyCta.bgModoAzul {
    padding: 88px 0;
    margin-inline: 0;
}

/* Sección de contenido sobre fondo azul (historia clínica): mismo reset que .phyCta y textos en claro */
.phySection.bgModoAzul {
    padding: 76px 0;
    margin-inline: 0;
}

.phySection.bgModoAzul .phyHeading h2,
.phySection.bgModoAzul .eyebrow {
    color: #fff;
}

.phySection.bgModoAzul .phyProse p {
    color: rgba(255, 255, 255, .85);
}

.phySection.bgModoAzul .eyebrow::before {
    background: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, .8) 100%);
}

.phySection.bgModoAzul .eyebrow::after {
    background: linear-gradient(to right, rgba(255, 255, 255, .8) 0%, transparent 100%);
}

.phyMain .phySection.bgModoAzul .phyHighlight {
    color: #fff;
    border-left-color: rgba(255, 255, 255, .6);
}

.phyCtaInner {
    text-align: center;
    color: white;
}

.phyCtaInner h2 {
    color: white;
    max-width: 790px;
    margin: auto;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.phyCtaInner>p {
    color: rgba(255, 255, 255, .83);
    font-size: 18px;
    line-height: 1.7;
    max-width: 740px;
    margin: 22px auto 0;
}

.phyCta .phyActions {
    justify-content: center;
    margin-top: 30px;
}

.phyCtaInner>small {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
    margin-top: 24px;
}

.phyMotion [data-phy-reveal] {
    transition: opacity 600ms ease, transform 600ms cubic-bezier(.16, 1, .3, 1);
}

.phyMotion [data-phy-reveal].phyPending {
    opacity: 0;
    transform: translateY(22px);
}

@media (max-width: 1100px) {
    .phySplit {
        gap: 32px;
    }

    .phyHero h1 {
        font-size: 40px;
    }

    .phyRoutineFloat {
        right: 0;
        width: 56%;
    }

    .phyPhone {
        left: 25%;
        width: 47%;
    }

    .phyBenefitBtn {
        padding: 14px 12px 14px 14px;
    }

    .phyExerciseCard {
        padding: 22px;
    }

    .phyExerciseCard h3 {
        font-size: 20px;
    }

    .phyRoutineLayout {
        grid-template-columns: .75fr 1.25fr;
    }

    .phyRoutineDetail {
        padding: 16px;
    }

    .phyFeatures--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phyProblemBody {
        gap: 32px;
    }

    .phyCarePanelHead {
        padding-inline: 12px;
        gap: 8px;
    }

    .phyCarePanel ul {
        padding-inline: 10px;
    }

    .phyCarePanel li {
        font-size: 14px;
        gap: 7px;
    }

    .phyPatientBridge {
        padding: 20px;
        gap: 12px;
        width: 94%;
    }
}

@media (max-width: 900px) {
    .phyHero {
        padding-top: 40px;
    }

    .phyHeroInner {
        grid-template-columns: minmax(0, 1fr);
    }

    .phyHeroCopy {
        max-width: 660px;
        margin: auto;
        text-align: center;
    }

    .phyHero h1 {
        font-size: 44px;
    }

    .phyTrust {
        margin: auto;
        text-align: left;
    }

    .phyVisual--hero {
        width: 570px;
        max-width: 100%;
        margin: 8px auto 0;
        min-height: 555px;
    }

    .phyBenefits {
        grid-template-columns: minmax(0, 1fr);
        margin: 40px auto 0;
        max-width: 480px;
        border-bottom: 0;
    }

    .phyBenefit {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .phyBenefit:last-child {
        border-bottom: 0;
    }

    .phyBenefitBtn {
        grid-template-columns: 42px minmax(0, 1fr) 20px;
        gap: 12px;
        min-height: 64px;
        padding: 12px 0;
    }

    .phyBenefitBtn:hover, .phyBenefit.is-open .phyBenefitBtn {
        background: transparent;
    }

    .phyBenefitIcon {
        width: 42px;
        height: 42px;
    }

    /* En columna la descripción va en flujo con altura animada (grid-template-rows), sin salto seco */
    .phyBenefitPop, .phyBenefit:nth-child(n + 4) .phyBenefitPop {
        position: static;
        display: grid;
        grid-template-rows: 0fr;
        width: auto;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: grid-template-rows .32s cubic-bezier(.22, 1, .36, 1);
    }

    .phyBenefitPop::before, .phyBenefitPop::after {
        display: none;
    }

    .phyBenefitPopInner {
        min-height: 0;
        overflow: hidden;
    }

    .phyBenefitPop p {
        margin: 0 0 14px 54px;
        padding: 12px 14px;
        border-radius: 12px;
        background: var(--brand-pale);
        color: var(--text-soft);
        opacity: 0;
        transition: opacity .22s ease;
    }

    .phyBenefit.is-open .phyBenefitPop, html:not(.js) .phyBenefits .phyBenefitPop {
        grid-template-rows: 1fr;
    }

    .phyBenefit.is-open .phyBenefitPop p, html:not(.js) .phyBenefits .phyBenefitPop p {
        opacity: 1;
        transition-delay: .06s;
    }

    .phySplit:not(.phyHeroInner) {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .phySplit--reverse> :first-child, .phySplit--reverse>.phyVisual {
        grid-column: auto;
        grid-row: auto;
    }

    .phySplit>.phyVisual {
        width: 100%;
        max-width: 600px;
        margin-inline: auto;
    }

    .phyHeading {
        max-width: 680px;
        margin-inline: auto;
    }

    .phyHeading h2 {
        text-align: center;
    }

    .phyProblemCopy {
        max-width: 680px;
        margin-inline: auto;
    }

    .phyConnectionBoard {
        max-width: 580px;
    }

    .phyExerciseCards {
        grid-auto-columns: calc((100% - 20px) / 2);
    }

    .phyRoutineLayout {
        grid-template-columns: .8fr 1.2fr;
    }

    .phyFeatures--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .phyProse p {
        max-width: 680px;
        margin-inline: auto;
    }

    .phyMain .phyHighlight {
        max-width: 680px;
        margin-inline: auto;
    }

    .phyCta.bgModoAzul {
        padding-block: 72px;
    }
}

@media (max-width: 600px) {
    .physioPage .phyMain>section>.container, .physioPage .phyHero>.container {
        padding-inline: 18px;
    }

    .phyHero {
        padding-top: 94px;
    }

    .phyVisual--hero {
        display: none;
    }

    .phyHero h1 {
        font-size: clamp(35px, 10vw, 44px);
        line-height: 1.04;
    }

    .phyMain .phyBadge {
        font-size: 12px;
        gap: 9px;
        margin-bottom: 16px;
    }

    .phyMain .phyBadge::before, .phyMain .phyBadge::after {
        flex-basis: 36px;
        min-width: 16px;
    }

    .phyHeroLead {
        font-size: .96rem;
        line-height: 1.55;
        padding-top: 22px;
    }

    .phyMain .phyActions {
        gap: 10px;
    }

    .phyHero .phyActions {
        flex-direction: column;
        gap: 12px;
    }

    .phyHero .phyActions .btn {
        width: 100%;
        min-height: 54px;
        font-size: 16px;
        padding-inline: 12px;
        min-width: 0;
    }

    .phyHero .phyTrust {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        margin-inline: auto;
        font-size: .78rem;
        padding-top: 20px;
        text-align: center;
        color: var(--text-muted);
    }

    .phyHero .phyTrust svg {
        width: 16px;
        height: 16px;
        color: inherit;
    }

    .phyBenefitBtn {
        min-height: 58px;
    }

    .phyBenefits :is(h2, h3) {
        text-align: left;
    }

    .phyChecklist {
        gap: 14px;
        margin-top: 32px;
    }

    .phyChecklist li {
        font-size: 16px;
    }

    .phySection {
        padding-block: 48px;
    }

    .phySection.bgModoAzul {
        padding-block: 48px;
    }

    .phyHeading h2, .phySectionHead h2 {
        font-size: 30px;
    }

    .phyProse p, .phySectionHead>p {
        font-size: 16px;
        line-height: 1.7;
    }

    .phyMain .phyHighlight {
        font-size: 16px;
    }

    .phyExercises .phySectionHead>p {
        text-align: center;
    }

    .phyProblemHeading {
        margin-bottom: 28px;
    }

    .phyProblemHeading .phyHeading h2 {
        font-size: 30px;
    }

    .phyProblemCopy .phyProse p, .phyProblemTakeaway {
        font-size: 16px;
        line-height: 1.75;
    }

    .phyPatientBridge {
        width: 100%;
        padding: 18px;
    }

    .phyPatientAvatar {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }

    .phyPatientBridge strong {
        font-size: 26px;
    }

    .phyPatientBridge>div>span {
        font-size: 11px;
    }

    .phyBridgeLink {
        display: none;
    }

    .phyCarePanels {
        gap: 14px;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .phyCarePanelHead {
        padding: 14px 10px 10px;
        gap: 6px;
    }

    .phyCarePanelHead h3 {
        font-size: 16px;
    }

    .phyCarePanelHead>span {
        display: none;
    }

    .phyCarePanel ul, .phyCarePanel--home ul {
        padding: 0 6px 14px;
    }

    .phyCarePanel li, .phyCarePanel--home li {
        min-height: 51px;
        font-size: 14px;
        gap: 6px;
        padding-inline: 3px;
    }

    .phyCarePanel li svg {
        width: 18px;
        height: 18px;
    }

    .phyCarePanel--clinic ul {
        grid-template-columns: minmax(0, 1fr);
    }

    .phyCarePanel--clinic li {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        min-height: 51px;
        gap: 6px;
        padding: 10px 3px;
    }

    .phyCarePanel--home {
        border-width: 3px;
        border-radius: 22px;
        margin-top: 0;
    }

    .phyCarePanel--home .phyCarePanelHead {
        padding-inline: 8px;
    }

    .phyCareChart {
        padding-inline: 10px;
    }

    .phyCareChart svg {
        height: 58px;
    }

    .phyCareExercise {
        margin-inline: 8px;
    }

    .phyCareExercise .phyExerciseArt {
        height: 72px;
    }

    .phyCareSync {
        left: 50%;
        top: auto;
        bottom: 32px;
        width: 34px;
        height: 34px;
        border-width: 3px;
    }

    .phyExerciseCards {
        --phy-edge-fade: 32px;
        grid-auto-columns: 100%;
        gap: 16px;
        margin-inline: -18px;
        padding-inline: 32px;
        scroll-padding-inline: 32px;
    }

    .phyExerciseControls {
        gap: 12px;
    }

    .phyExerciseArrows {
        gap: 6px;
    }

    .phyExerciseArrows>button {
        width: 42px;
        height: 44px;
    }

    .phyExerciseDots {
        gap: 0;
    }

    .phyExerciseDots button {
        width: 24px;
    }

    .phyExerciseCard {
        padding: 22px;
        border-radius: 18px;
        gap: 18px 14px;
    }

    .phyExerciseCard p {
        font-size: 15.5px;
    }

    .phyMain .phyExerciseHighlight {
        margin-top: 30px;
    }

    .phyFeatures, .phyFeatures--four, .phyFeatures--three {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    /* Historia clínica y Económica: en columna las tarjetas desplazan en horizontal con avance automático (mismo motor que ejercicios) */
    .phyFeatureCarousel .phyFeatures {
        --phy-edge-fade: 32px;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        grid-template-columns: none;
        margin-inline: -18px;
        padding: 0 32px 12px;
        overflow-x: auto;
        scroll-padding-inline: 32px;
        scroll-snap-type: x mandatory;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, .35) transparent;
        -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--phy-edge-fade), #000 calc(100% - var(--phy-edge-fade)), transparent);
        mask-image: linear-gradient(to right, transparent, #000 var(--phy-edge-fade), #000 calc(100% - var(--phy-edge-fade)), transparent);
    }

    html.js .phyFeatureCarousel .phyFeatures {
        scrollbar-width: none;
        padding-bottom: 0;
    }

    html.js .phyFeatureCarousel .phyFeatures::-webkit-scrollbar {
        display: none;
    }

    .phyFeatureCarousel .phyFeature {
        scroll-snap-align: start;
    }

    html.js .phyFeatureCarousel .phyExerciseControls[hidden] {
        display: grid;
        visibility: hidden;
    }

    .phyVisual--hero {
        min-height: 425px;
    }

    .phyCalendar {
        width: 91%;
    }

    .phyCalendarGrid {
        height: 330px;
    }

    .phyHours {
        height: 270px;
        font-size: 8px;
    }

    .phyWeek {
        height: 54px;
    }

    .phyAppt {
        width: 41%;
        padding: 6px;
        font-size: 9px;
    }

    .phyAppt--one {
        top: 62px;
    }

    .phyAppt--two {
        top: 130px;
    }

    .phyAppt--three {
        top: 204px;
    }

    .phyAppt--four {
        top: 274px;
        left: 44px;
    }

    .phyRoutineFloat {
        top: 108px;
        width: 57%;
        padding: 12px;
    }

    .phyPhone {
        display: none;
    }

    .phyRoutineFloat .phyMiniHead {
        font-size: 11px;
        gap: 4px;
    }

    .phyRoutineFloat>small {
        font-size: 9px;
    }

    .phyRoutineFloat .phyStatus {
        display: none;
    }

    .phyRoutineFloat>b {
        font-size: 12px;
    }

    .phyVideoMeta {
        gap: 16px;
    }

    .phyWindowBar {
        padding: 15px;
        font-size: 13px;
    }

    .phyWindowBar>small {
        display: none;
    }

    .phyWindowBar>span:first-child {
        gap: 7px;
    }

    .phyWindowBar svg {
        width: 18px;
        height: 18px;
    }

    .phyRoutineLayout {
        grid-template-columns: 1fr;
    }

    .phyExerciseLibrary {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        padding: 12px;
    }

    .phyExerciseLibrary>div {
        font-size: 10px;
        padding: 6px;
        margin: 0;
        gap: 4px;
    }

    .phyExerciseLibrary svg {
        width: 13px;
        height: 13px;
    }

    .phyRoutineDetail {
        padding: 20px;
    }

    .phyRoutineDetail .phyVideoPreview {
        max-width: 290px;
        margin-inline: auto;
    }

    .phyHistoryBody {
        grid-template-columns: 1fr 1fr;
    }

    .phySessionLog {
        padding: 18px 12px;
        font-size: 11px;
    }

    .phyBodyMap {
        padding: 18px 8px;
    }

    .phyBodyMap img {
        height: 310px;
    }

    .phyBodyNote b {
        font-size: 10px;
    }

    .phySessionLog p {
        font-size: 10px;
    }

    .phyHistoryLinked {
        font-size: 9px;
        gap: 4px;
    }

    .phyVisual--agenda {
        padding-right: 14px;
    }

    .phyBono {
        margin-right: -14px;
        margin-left: 22px;
        padding: 18px;
    }

    .phyTodayList {
        padding-inline: 16px;
    }

    .phyTodayList>div {
        gap: 4px 8px;
        font-size: 12px;
    }

    .phyBonoFoot {
        flex-direction: column;
        gap: 5px;
    }

    .phyActivityBody {
        padding: 20px;
    }

    .phyActivityBody h3 {
        font-size: 25px;
    }

    .phyActivitySlots {
        gap: 12px;
        flex-wrap: wrap;
    }

    .phyPlaces {
        gap: 5px;
    }

    .phyPlaces svg {
        width: 17px;
        height: 17px;
    }

    .phyActivityCapacity {
        font-size: 10px;
    }

    .phyVisual--arrival {
        padding-right: 14px;
    }

    .phyArrivalChecks {
        padding-inline: 16px;
    }

    .phyArrivalChecks>div {
        gap: 8px;
        font-size: 11px;
    }

    .phyArrivalChecks small {
        font-size: 8px;
    }

    .phyWaiting {
        margin-left: 22px;
        margin-right: -14px;
        padding: 18px;
    }

    .phyWaitingPath {
        font-size: 10px;
    }

    .phyEconomicsBody {
        padding: 22px;
    }

    .phyStatLead {
        gap: 20px;
    }

    .phyStatLead>span {
        font-size: 12px;
    }

    .phyBars {
        gap: 5px;
    }

    .phyReceipt {
        gap: 8px;
        font-size: 11px;
    }

    .phyReceipt strong {
        font-size: 18px;
    }

    .physioPage .phyFaq {
        padding-block: 56px 48px;
    }

    .phyFaq .sectionTitle {
        font-size: 30px;
    }

    .phyCta.bgModoAzul {
        padding-block: 56px;
    }

    .phyCtaInner h2 {
        font-size: 30px;
    }

    .phyCtaInner>p {
        font-size: 16px;
    }

    .phyCta .phyActions {
        flex-direction: column;
    }

    .phyCta .phyActions a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .phyMotion .phyConnectionBoard:not(.phyPending) :is(.phyPatientBridge, .phyCarePanel) {
        animation: none;
    }

    .phyMotion [data-phy-reveal] {
        transition: none;
    }

    .phyMotion [data-phy-reveal].phyPending {
        opacity: 1;
        transform: none;
    }

    .phyBenefitPlus::before, .phyBenefitPlus::after, .phyBenefitBtn, .phyBenefitIcon, .phyBenefitPop, .phyBenefitPop p {
        transition: none;
    }
}
