.telemedicine-page {
    --tm-teal: #03595d;
    --tm-teal-dark: #03454a;
    --tm-green: #20843e;
    --tm-gold: #e6a71b;
    --tm-ink: #173c3b;
    --tm-muted: #5b6d69;
    --tm-soft: #e7f3f0;
    overflow: hidden;
}

.tm-container {
    width: min(1160px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.tm-hero {
    position: relative;
    isolation: isolate;
    padding: clamp(5.5rem, 10vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
    color: #fff;
    background:
        radial-gradient(ellipse at 86% 16%, rgba(230, 167, 27, .24), transparent 26rem),
        radial-gradient(ellipse at 4% 100%, rgba(32, 132, 62, .5), transparent 34rem),
        linear-gradient(125deg, #022f35 0%, #03595d 58%, #087552 125%);
}

.tm-hero::before,
.tm-hero::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    content: "";
}

.tm-hero::before {
    width: 34rem;
    height: 34rem;
    top: -17rem;
    right: -11rem;
}

.tm-hero::after {
    width: 23rem;
    height: 23rem;
    right: 10%;
    bottom: -16rem;
}

.tm-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
}

.tm-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.1rem;
    color: #ffdda0;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.tm-kicker i { font-size: 1rem; }

.tm-hero .tm-kicker {
    margin-bottom: 1rem;
    color: #c9ead9;
}

.tm-availability {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: .55rem;
    margin: 0 0 1.1rem;
    border: 1px solid rgba(176, 236, 197, .4);
    border-radius: 999px;
    padding: .38rem .75rem;
    color: #d7ffe3;
    background: rgba(5, 37, 39, .36);
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .09em;
}

.tm-availability-dot,
.tm-online-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #79e49d;
    box-shadow: 0 0 0 4px rgba(121, 228, 157, .16), 0 0 14px rgba(121, 228, 157, .8);
}

.tm-availability-divider {
    width: 1px;
    height: 14px;
    margin-inline: .12rem;
    background: rgba(255, 255, 255, .3);
}

.tm-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.7rem, 6.1vw, 5rem);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.tm-hero h1 span {
    color: #ffdda0;
}

.tm-hero-subtitle {
    margin: 1.15rem 0 0;
    color: #e4f6ed;
    font-size: clamp(1.12rem, 2vw, 1.4rem);
    font-weight: 750;
}

.tm-hero-copy {
    max-width: 620px;
    margin: .55rem 0 1.65rem;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(1.05rem, 1.8vw, 1.22rem);
    line-height: 1.75;
}

.tm-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .8rem;
}

.tm-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: .8rem 1.25rem;
    font: inherit;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.tm-button:hover { transform: translateY(-2px); }
.tm-button:focus-visible { outline: 3px solid var(--tm-gold); outline-offset: 3px; }
.tm-button-primary { color: #173c3b; background: #ffdda0; box-shadow: 0 10px 24px rgba(0, 0, 0, .17); }
.tm-button-primary:hover { color: #173c3b; background: #ffe8bc; }
.tm-button-glass { color: #fff; border-color: rgba(255, 255, 255, .48); background: rgba(255, 255, 255, .1); }
.tm-button-glass:hover { color: #fff; background: rgba(255, 255, 255, .2); }
.tm-button-teal { color: #fff; background: var(--tm-teal); box-shadow: 0 8px 18px rgba(3, 89, 93, .2); }
.tm-button-teal:hover { color: #fff; background: var(--tm-teal-dark); }

.tm-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.2rem;
    margin: 1.65rem 0 0;
    padding: 0;
    color: rgba(255, 255, 255, .84);
    font-size: .9rem;
    list-style: none;
}

.tm-trust-row li { display: inline-flex; align-items: center; gap: .45rem; }
.tm-trust-row i { color: #a9e3b9; }

.tm-hero-art {
    position: relative;
    display: grid;
    min-height: 440px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 30px;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 221, 160, .24), transparent 11rem),
        linear-gradient(145deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .035));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 28px 65px rgba(0, 0, 0, .17);
}

.tm-hero-art::before,
.tm-hero-art::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    content: "";
}

.tm-hero-art::before {
    width: 19rem;
    height: 19rem;
    right: -2.5rem;
    top: -2.5rem;
}

.tm-hero-art::after {
    width: 13rem;
    height: 13rem;
    left: -2.7rem;
    bottom: -2.2rem;
}

.tm-hero-image {
    display: block;
    width: calc(100% - 2rem);
    height: 390px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
}

.tm-hero-device {
    width: min(calc(100% - 3rem), 390px);
    border: 8px solid rgba(255, 255, 255, .17);
    border-radius: 28px;
    padding: 1rem;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .26);
    transform: rotate(2deg);
}

.tm-device-top {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .3rem .2rem 1rem;
    color: var(--tm-ink);
    font-weight: 800;
}

.tm-device-secure {
    margin-left: auto;
    color: #41855e;
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .07em;
}

.tm-device-secure i {
    margin-right: .18rem;
}

.tm-device-mark {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: var(--tm-teal);
}

.tm-call-card {
    display: grid;
    min-height: 205px;
    align-content: center;
    justify-items: center;
    border-radius: 20px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .2), transparent 35%),
        linear-gradient(145deg, #14756d, #173c3b);
    text-align: center;
}

.tm-doctor-avatar {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border: 3px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    color: var(--tm-teal);
    background: #e8f4ef;
    font-size: 1.7rem;
}

.tm-call-card strong { margin-top: .75rem; font-size: 1.05rem; }
.tm-call-card span { color: rgba(255, 255, 255, .78); font-size: .82rem; }

.tm-device-footer {
    display: flex;
    justify-content: center;
    gap: .7rem;
    padding-top: .9rem;
}

.tm-device-footer span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--tm-teal);
}

.tm-device-footer span:last-child { background: #b93832; }

.tm-floating-card {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: .7rem;
    border: 1px solid rgba(23, 60, 59, .08);
    border-radius: 15px;
    padding: .8rem .95rem;
    color: var(--tm-ink);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 35px rgba(0, 0, 0, .2);
}

.tm-floating-card-care {
    left: -1.35rem;
    bottom: 2rem;
}

.tm-floating-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, var(--tm-teal), var(--tm-green));
}

.tm-floating-card small,
.tm-floating-card strong {
    display: block;
}

.tm-floating-card small {
    margin-bottom: .15rem;
    color: #687b75;
    font-size: .58rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.tm-floating-card strong {
    font-size: .84rem;
}

.tm-floating-card-online {
    top: 2rem;
    right: -1rem;
    color: var(--tm-ink);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.tm-floating-card-online .tm-online-dot {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
    box-shadow: none;
}

.tm-quick-strip {
    border-bottom: 1px solid #e3eee8;
    background: #fff;
}

.tm-quick-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .8rem 1.5rem;
    padding-block: 1rem;
    color: #3e5a53;
    font-size: .88rem;
    font-weight: 700;
}

.tm-quick-strip-inner span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.tm-quick-strip-inner i {
    color: var(--tm-green);
}

.tm-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.tm-section-soft { background: #f0f7f4; }
.tm-section-heading { max-width: 710px; margin: 0 auto 2.3rem; text-align: center; }
.tm-section-heading .tm-kicker { color: var(--tm-green); }
.tm-section-heading h2 { margin: 0; color: var(--tm-ink); font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; }
.tm-section-heading p { margin: .85rem 0 0; color: var(--tm-muted); font-size: 1.05rem; line-height: 1.7; }

.tm-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.tm-benefit {
    height: 100%;
    border: 1px solid #e1ece7;
    border-radius: 18px;
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 10px 30px rgba(23, 60, 59, .055);
}

.tm-benefit-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    color: var(--tm-teal);
    background: var(--tm-soft);
    font-size: 1.15rem;
}

.tm-benefit h3 { margin: 1rem 0 .45rem; color: var(--tm-ink); font-size: 1.12rem; }
.tm-benefit p { margin: 0; color: var(--tm-muted); line-height: 1.65; }

.tm-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .85rem;
    counter-reset: tm-step;
}

.tm-step {
    position: relative;
    border-top: 3px solid #b8d9cb;
    padding: 1.05rem .3rem 0;
    counter-increment: tm-step;
}

.tm-step::before {
    display: grid;
    width: 36px;
    height: 36px;
    margin-bottom: .85rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--tm-teal);
    content: counter(tm-step);
    font-weight: 800;
}

.tm-step h3 { margin: 0 0 .35rem; color: var(--tm-ink); font-size: 1rem; }
.tm-step p { margin: 0; color: var(--tm-muted); font-size: .92rem; line-height: 1.55; }

.tm-guide-callout {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.25rem;
    border-radius: 22px;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
    background: linear-gradient(115deg, var(--tm-teal-dark), var(--tm-teal) 65%, var(--tm-green));
    box-shadow: 0 18px 38px rgba(3, 69, 74, .17);
}

.tm-guide-callout h2 { margin: 0; color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.tm-guide-callout p { margin: .45rem 0 0; color: rgba(255, 255, 255, .82); }
.tm-guide-callout .tm-button { white-space: nowrap; }
.tm-emergency-note { max-width: 860px; margin: 1.4rem auto 0; color: #65756f; font-size: .87rem; line-height: 1.6; text-align: center; }

.tm-guide-hero {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    color: #fff;
    background: linear-gradient(125deg, #03454a, #03595d 65%, #20843e);
    text-align: center;
}

.tm-guide-hero h1 { margin: 0; color: #fff; font-size: clamp(2.25rem, 5vw, 3.8rem); letter-spacing: -.04em; }
.tm-guide-hero p { max-width: 680px; margin: .8rem auto 0; color: rgba(255, 255, 255, .83); font-size: 1.05rem; line-height: 1.65; }
.tm-guide-shortcuts { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.4rem; }
.tm-guide-shortcuts .tm-button { min-height: 44px; padding: .65rem 1rem; }

.tm-player {
    overflow: hidden;
    border: 1px solid #dfeae5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(23, 60, 59, .1);
}

.tm-player-frame {
    display: grid;
    min-height: 300px;
    place-items: center;
    padding: clamp(.7rem, 2vw, 1.3rem);
    background: #e9f2ef;
}

.tm-player-frame img { display: block; width: min(100%, 920px); border-radius: 12px; box-shadow: 0 10px 28px rgba(23, 60, 59, .15); }
.tm-player-caption { padding: 1rem 1.25rem .4rem; }
.tm-player-caption h3 { margin: 0; color: var(--tm-ink); font-size: 1.2rem; }
.tm-player-caption p { margin: .3rem 0 0; color: var(--tm-muted); line-height: 1.55; }
.tm-player-controls { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .65rem; padding: .9rem 1.25rem 1.2rem; }
.tm-player-controls button {
    display: inline-flex;
    min-width: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 1px solid #cfe0d8;
    border-radius: 12px;
    padding: .45rem .7rem;
    color: var(--tm-teal);
    background: #fff;
    font: inherit;
    font-weight: 750;
    cursor: pointer;
}
.tm-player-controls button:hover { background: #f0f7f4; }
.tm-player-controls button:focus-visible { outline: 3px solid var(--tm-gold); outline-offset: 2px; }
.tm-player-progress { width: 100%; accent-color: var(--tm-teal); }
.tm-player-count { color: var(--tm-muted); font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tm-player-note { margin: 0; padding: 0 1.25rem 1rem; color: #6b7975; font-size: .8rem; }

.tm-written-guide { display: grid; gap: 1rem; }
.tm-guide-step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .88fr);
    align-items: center;
    gap: clamp(1.2rem, 4vw, 3rem);
    border: 1px solid #e2ece7;
    border-radius: 20px;
    padding: clamp(1.1rem, 3vw, 1.75rem);
    background: #fff;
    box-shadow: 0 8px 24px rgba(23, 60, 59, .05);
}

.tm-guide-step:nth-child(even) .tm-guide-step-copy { order: 2; }
.tm-guide-step h3 { margin: 0 0 .55rem; color: var(--tm-ink); font-size: 1.35rem; }
.tm-guide-step p { margin: 0 0 .65rem; color: var(--tm-muted); line-height: 1.65; }
.tm-guide-step ul { margin: .65rem 0 0; padding-left: 1.2rem; color: #425854; line-height: 1.65; }
.tm-guide-step figure { margin: 0; }
.tm-guide-step figure img { display: block; width: 100%; border: 1px solid #dbe7e2; border-radius: 12px; background: #edf4f1; }
.tm-guide-step figcaption { margin-top: .45rem; color: #71807b; font-size: .78rem; }
.tm-guide-step-number { display: inline-grid; width: 34px; height: 34px; margin-bottom: .65rem; place-items: center; border-radius: 50%; color: #fff; background: var(--tm-teal); font-weight: 800; }

@media (max-width: 800px) {
    .tm-hero-grid { grid-template-columns: 1fr; }
    .tm-hero-art { min-height: 400px; }
    .tm-benefits { grid-template-columns: 1fr; }
    .tm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
    .tm-guide-callout { grid-template-columns: 1fr; }
    .tm-guide-callout .tm-button { justify-self: start; }
    .tm-floating-card-care { left: .75rem; }
    .tm-floating-card-online { right: .75rem; }
    .tm-guide-step,
    .tm-guide-step:nth-child(even) { grid-template-columns: 1fr; }
    .tm-guide-step:nth-child(even) .tm-guide-step-copy { order: initial; }
}

@media (max-width: 520px) {
    .tm-container { width: min(100% - 1.5rem, 1160px); }
    .tm-hero { padding-top: 5.5rem; }
    .tm-actions { align-items: stretch; }
    .tm-actions .tm-button { width: 100%; }
    .tm-hero-art { min-height: 340px; border-radius: 22px; }
    .tm-hero-image { height: 290px; }
    .tm-hero-device { width: calc(100% - 2rem); padding: .8rem; }
    .tm-call-card { min-height: 170px; }
    .tm-floating-card-care { bottom: .7rem; left: .45rem; }
    .tm-floating-card-online { top: .7rem; right: .45rem; }
    .tm-quick-strip-inner { align-items: flex-start; flex-direction: column; }
    .tm-steps { grid-template-columns: 1fr; }
    .tm-player-controls { grid-template-columns: auto 1fr auto; }
    .tm-player-count { grid-column: 1 / -1; justify-self: end; }
    .tm-player-controls button span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .tm-button { transition: none; }
    .tm-button:hover { transform: none; }
}
