/* Loaded only by the OSSTEM template. Existing theme styles supply fonts/buttons. */
.osstem-landing { --osstem-green: #92af50; --osstem-pale: #eef3e4; --osstem-ink: #23291e; --osstem-muted: #606854; }
.osstem-landing .osstem-section:not(:where(.etaps)) { padding: 42px 0; }
.osstem-landing .osstem-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; }
.osstem-landing .osstem-hero .title-section { margin-bottom: 18px; }
.osstem-landing .osstem-hero__price { font-size: clamp(38px, 4vw, 58px); line-height: 1.1; margin: 0 0 10px; font-weight: 700; }
.osstem-landing .osstem-price-note { color: var(--osstem-muted); margin-bottom: 20px; font-size: 15px; }
.osstem-landing .osstem-hero__description { margin-bottom: 24px; }
.osstem-landing .osstem-hero__description li { margin-bottom: 12px; }
.osstem-landing .osstem-offer-date { display: inline-block; background: var(--osstem-pale); padding: 7px 12px; border-radius: 7px; margin-bottom: 18px; font-size: 14px; }
.osstem-landing .osstem-hero__hint { font-size: 14px; color: var(--osstem-muted); margin-top: 10px; }
.osstem-landing .osstem-hero__doctors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.osstem-landing .osstem-hero__doctor { margin: 0; min-width: 0; }
.osstem-landing .osstem-hero__doctor img { display: block; width: 100%; height: 280px; object-fit: cover; object-position: top; border-radius: 16px; }
.osstem-landing .osstem-hero__doctor figcaption { margin-top: 10px; font-size: 15px; line-height: 1.4; }
.osstem-landing .osstem-hero__doctor figcaption span { display: block; font-size: 13px; color: var(--osstem-muted); margin-top: 5px; }
.osstem-landing .osstem-hero__fallback img { width: 100%; height: auto; border-radius: 16px; }
.osstem-landing .osstem-nav { display: flex; gap: 24px; flex-wrap: wrap; margin: 24px 0 0; font-size: 15px; }
.osstem-landing .osstem-nav a { color: var(--osstem-ink); text-decoration: underline; text-underline-offset: 4px; padding: 10px 0; }
.osstem-landing .osstem-muted { color: var(--osstem-muted); margin: 20px 0; font-size: 15px; }
.osstem-landing .osstem-order-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px; border-radius: 22px; background: var(--osstem-pale); }
.osstem-landing .osstem-form .item-form[hidden] { display: none !important; }
.osstem-landing .osstem-form .item-form { max-width: none; }
.osstem-landing .osstem-form input[type="text"], .osstem-landing .osstem-form input[type="tel"] { width: 100%; font-size: 16px; }
.osstem-landing [id^="osstem-"] { scroll-margin-top: 150px; }
.osstem-landing img:not(:where(.etaps *)) { max-width: 100%; }
@media (max-width: 991px) {
    .osstem-landing .osstem-hero__grid { grid-template-columns: 1fr; }
    .osstem-landing .osstem-hero__doctors { max-width: 600px; }
    .osstem-landing .osstem-order-grid { grid-template-columns: 1fr; }}
@media (max-width: 767px) {
    .osstem-landing .osstem-section:not(:where(.etaps)) { padding: 28px 0; }
.osstem-landing .osstem-order-grid { padding: 22px; }
    .osstem-landing .osstem-hero__doctor img { height: 220px; }
    .osstem-landing .osstem-nav { gap: 12px 18px; }
    .osstem-landing [id^="osstem-"] { scroll-margin-top: 105px; }}
@media (max-width: 420px) {
    .osstem-landing .osstem-hero__doctor img { height: 180px; }
    .osstem-landing .osstem-hero__doctor figcaption { font-size: 14px; }
    .osstem-landing .osstem-hero__doctor figcaption span { font-size: 12px; }
    .osstem-landing .btn-main { max-width: 100%; white-space: normal; text-align: center; height: auto; min-height: 50px; }}

/* 11 October: refinements use the theme's existing stage cards and buttons. */
.osstem-landing > :where(:not(.etaps)) { color: var(--osstem-ink); font-size: 16px; line-height: 1.6; }
.osstem-landing .osstem-hero { padding: 32px 0 0; }
.osstem-landing .osstem-hero .page-service__content { padding: 32px; }
.osstem-landing .title-section:not(:where(.etaps *)) { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.25; }
.osstem-landing .osstem-hero__description { font-size: 16px; line-height: 1.6; }
.osstem-landing .osstem-hero__description li { padding-left: 32px; }
.osstem-landing .osstem-hero__doctors { align-self: stretch; align-content: center; }
.osstem-landing .btn-main { font-size: 15px; max-width: 100%; min-height: 52px; height: auto; padding: 15px 24px; line-height: 1.4; white-space: normal; text-align: center; }
.osstem-landing .osstem-nav { margin-top: 12px; }
.osstem-landing .osstem-order-grid p { margin-top: 16px; }
.osstem-landing .osstem-form .item-form { margin-bottom: 14px; }
.osstem-landing .osstem-form .item-form p { margin: 0; }
.osstem-landing .osstem-form .checkbox { line-height: 1.6; font-size: 13px; }
.osstem-landing .osstem-form .checkbox a { text-decoration: underline; }
.osstem-landing .osstem-form input[type="submit"] { width: 100%; }
.osstem-landing .osstem-form input[type="submit"]:disabled { opacity: .6; }
@media (max-width: 767px) {
    .osstem-landing .osstem-hero { padding-top: 20px; }
    .osstem-landing .osstem-hero .page-service__content { padding: 22px; }
    .osstem-landing .osstem-hero__description { font-size: 15px; }
    .osstem-landing .osstem-hero__grid { gap: 24px; }
    .osstem-landing .osstem-hero__doctors { width: 100%; }
    .osstem-landing .osstem-hero__doctor img { height: 220px; }
  
}	
@media (max-width: 479px) {
    .osstem-landing .title-section:not(:where(.etaps *)) { font-size: 28px; }
    .osstem-landing .osstem-hero .page-service__content { padding: 20px; }
    .osstem-landing .osstem-hero__doctor img { height: 180px; }
    .osstem-landing .osstem-order-grid { padding: 20px; gap: 20px; }}



.osstem-landing .osstem-shared-block > section {
    padding: 42px 0;
}

@media (max-width: 767px) {
    .osstem-landing .osstem-shared-block > section {
        padding: 28px 0;
    }
}
.osstem-cost-intro {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.5;
}

.osstem-cost-intro .title-section {
    margin-bottom: 16px;
}

.osstem-cost-intro p + p {
    margin-top: 12px;
}

body.reforma-osstem-page .osstem-hero__grid {
    border-radius: 24px;
}

body.reforma-osstem-page .osstem-hero .btn-main,
body.reforma-osstem-page #osstem-cost .btn-main {
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
}

body.reforma-osstem-page #osstem-cost {
  color: var(--osstem-ink, #23291e);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.reforma-osstem-page #osstem-cost .title-section {
  font-family: "Tenor Sans", sans-serif;
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.25;
  text-transform: none;
}

body.reforma-osstem-page #osstem-cost .osstem-cost-intro {
  margin-bottom: 24px;
}
/* OSSTEM: две карточки этапов. Добавить в конец osstem-landing.css. */
body.reforma-osstem-page #osstem-cost .osstem-cost-intro {
    margin-bottom: 24px;
}
body.reforma-osstem-page #osstem-cost .osstem-cost-intro .title-section {
    margin: 0 0 12px;
    font-family: "Tenor Sans", sans-serif;
    font-size: clamp(26px, 2.4vw, 34px);
    font-weight: 400;
    line-height: 1.25;
    text-transform: none;
}
body.reforma-osstem-page #osstem-cost .osstem-cost-intro p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--osstem-muted, #606854);
}
body.reforma-osstem-page #osstem-cost .osstem-two-stages {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px;
    border-radius: 24px;
    background: #fff;
    color: var(--osstem-ink, #23291e);
    font-family: "Manrope", sans-serif;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__label {
    align-self: flex-start;
    padding: 7px 12px;
    margin-bottom: 16px;
    border-radius: 8px;
    background: var(--osstem-pale, #eef3e4);
    font-size: 14px;
    line-height: 1.4;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__title {
    min-height: 1.3em;
    margin: 0 0 14px;
    font-family: "Tenor Sans", sans-serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;
    text-transform: none;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__price {
    margin: 0 0 6px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__note {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--osstem-muted, #606854);
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 16px;
    background: var(--osstem-pale, #eef3e4);
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__list-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__list {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0 0 20px;
    list-style: none;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__list li::before {
    display: none;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__check {
    flex-shrink: 0;
    color: #6b843b;
    font-weight: 600;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 5px;
    background: var(--osstem-pale, #eef3e4);
    font-size: 12px;
    line-height: 1.5;
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__condition {
    padding-top: 16px;
    margin: auto 0 0;
    border-top: 1px solid #dce2d2;
    font-size: 13px;
    line-height: 1.6;
    color: var(--osstem-muted, #606854);
}
body.reforma-osstem-page #osstem-cost .osstem-stage-card__condition p {
    margin: 0;
}
body.reforma-osstem-page #osstem-cost .osstem-two-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
    align-items: center;
    gap: 28px;
    padding: 28px;
    margin: 24px 0;
    border-radius: 24px;
    background: var(--osstem-pale, #eef3e4);
}
body.reforma-osstem-page #osstem-cost .osstem-two-summary__title {
    margin: 0 0 12px;
    font-family: "Tenor Sans", sans-serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.35;
}
body.reforma-osstem-page #osstem-cost .osstem-two-summary__copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--osstem-muted, #606854);
}
body.reforma-osstem-page #osstem-cost .osstem-two-summary__action .btn-main {
    display: flex;
    width: 100%;
    min-height: 52px;
    height: auto;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-transform: none;
    white-space: normal;
}
body.reforma-osstem-page #osstem-cost .osstem-two-summary__action p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--osstem-muted, #606854);
}
@media (min-width: 768px) and (max-width: 1199px) {
    body.reforma-osstem-page #osstem-cost .osstem-stage-card__title {
        min-height: 2.6em;
    }}
@media (max-width: 991px) {
    body.reforma-osstem-page #osstem-cost .osstem-two-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    body.reforma-osstem-page #osstem-cost .osstem-two-summary__action {
        max-width: 360px;
    }}
@media (max-width: 767px) {
    body.reforma-osstem-page #osstem-cost .osstem-two-stages {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    body.reforma-osstem-page #osstem-cost .osstem-stage-card,
    body.reforma-osstem-page #osstem-cost .osstem-two-summary {
        padding: 22px;
        border-radius: 20px;
    }
    body.reforma-osstem-page #osstem-cost .osstem-stage-card__title {
        min-height: 0;
        font-size: 24px;
    }
    body.reforma-osstem-page #osstem-cost .osstem-stage-card__price {
        font-size: 30px;
    }
    body.reforma-osstem-page #osstem-cost .osstem-two-summary__title {
        font-size: 24px;
    }
    body.reforma-osstem-page #osstem-cost .osstem-two-summary__action {
        max-width: none;
    }}

body.reforma-osstem-page #osstem-treatment-steps {
    padding: 42px 0;
    color: var(--osstem-ink, #23291e);
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    line-height: 1.65;
}

body.reforma-osstem-page #osstem-treatment-steps * {
    box-sizing: border-box;
}

body.reforma-osstem-page #osstem-treatment-steps h2 {
    margin: 0 0 12px;
    font-family: "Tenor Sans", sans-serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}

@media (max-width: 767px) {
    body.reforma-osstem-page #osstem-treatment-steps {
        padding: 28px 0;
    }

    body.reforma-osstem-page #osstem-treatment-steps h2 {
        font-size: 28px;
    }
}


#osstem-doctors.osstem-doctors-v3 {
    color: #252a20;
    font-family: 'Manrope', sans-serif;
}

#osstem-doctors .title-section {
    margin-bottom: 28px;
}

#osstem-doctors .osstem-doctors-v3__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
}






#osstem-doctors .osstem-doctor-v3 {
    min-width: 0;
    padding: 24px;
    border-radius: 24px;
    background: #fff;
    overflow-wrap: break-word;
}

#osstem-doctors .osstem-doctor-v3__photo {
    display: block;
    margin-bottom: 22px;
    border-radius: 16px;
    background: #eef3e4;
}

#osstem-doctors .osstem-doctor-v3__photo img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 340px;
    object-fit: cover;
    object-position: center top;
    border-radius: inherit;
}

#osstem-doctors .osstem-doctor-v3__name {
    margin: 0 0 10px;
    color: #252a20;
    font: 600 24px/1.4 'Manrope', sans-serif;
}

#osstem-doctors .osstem-doctor-v3__specialty,
#osstem-doctors .osstem-doctor-v3__experience {
    color: #606854;
    font-size: 15px;
    line-height: 1.7;
}

#osstem-doctors .osstem-doctor-v3__specialty {
    margin-bottom: 6px;
}

#osstem-doctors .osstem-doctor-v3__specialty p,
#osstem-doctors .osstem-doctor-v3__experience {
    margin: 0;
}

#osstem-doctors .osstem-doctor-v3__education {
    margin: 22px 0;
    border-top: 1px solid #dfe5d6;
    border-bottom: 1px solid #dfe5d6;
}

#osstem-doctors .osstem-doctor-v3__education summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 12px 8px 12px 0;
    color: #252a20;
    font-size: 16px;
    list-style: none;
    cursor: pointer;
}

#osstem-doctors .osstem-doctor-v3__education summary::-webkit-details-marker {
    display: none;
}

#osstem-doctors .osstem-doctor-v3__plus {
    flex: 0 0 22px;
    color: #606854;
    font-size: 24px;
    line-height: 1;
    text-align: center;
}

#osstem-doctors .osstem-doctor-v3__education[open] .osstem-doctor-v3__plus {
    transform: rotate(45deg);
}

#osstem-doctors .osstem-doctor-v3__education ol {
    list-style: none;
    margin: 0;
    padding: 6px 0 20px;
}

#osstem-doctors .osstem-doctor-v3__education li {
    margin: 0 0 18px;
    padding: 0 0 0 14px;
    border-left: 1px solid #dfe5d6;
    font-size: 14px;
    line-height: 1.7;
}

#osstem-doctors .osstem-doctor-v3__education li:last-child {
    margin-bottom: 0;
}

#osstem-doctors .osstem-doctor-v3__education li > * {
    display: block;
}

#osstem-doctors .osstem-doctor-v3__year {
    color: #68843c;
    font-size: 13px;
}

#osstem-doctors .osstem-doctor-v3__education strong {
    margin: 3px 0;
    font-weight: 500;
}

#osstem-doctors .osstem-doctor-v3__level,
#osstem-doctors .osstem-doctor-v3__institution {
    color: #606854;
    font-size: 13px;
}

#osstem-doctors .osstem-doctor-v3__institution {
    margin-top: 5px;
}

#osstem-doctors .osstem-doctor-v3__reviews {
    display: flow-root;
    min-width: 0;
    max-width: 100%;
    margin: 22px 0;
}

#osstem-doctors .osstem-doctor-v3__reviews iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

#osstem-doctors .osstem-doctor-v3__reviews img {
    max-width: 100%;
}

#osstem-doctors .osstem-doctor-v3__review-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 14px 0;
    color: #606854;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

#osstem-doctors .osstem-doctor-v3__actions {
    display: grid;
    gap: 6px;
    margin-top: 22px;
}

#osstem-doctors .osstem-doctor-v3__book {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border: 0;
    border-radius: 12px;
    background: #92af50;
    color: #202b17;
    font: 600 15px/1.5 'Manrope', sans-serif;
    text-decoration: none;
    text-transform: none;
}

#osstem-doctors .osstem-doctor-v3__book:hover {
    background: #86a346;
    color: #202b17;
}

#osstem-doctors .osstem-doctor-v3__more {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    color: #252a20;
    font-size: 14px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
}

@media (max-width: 991px) {
    #osstem-doctors .osstem-doctor-v3 {
        padding: 20px;
    }

    #osstem-doctors .osstem-doctor-v3__photo img {
        height: 260px;
    }

    #osstem-doctors .osstem-doctor-v3__name {
        font-size: 21px;
    }
}

@media (max-width: 767px) {
    #osstem-doctors .osstem-doctors-v3__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    #osstem-doctors .osstem-doctor-v3__photo img {
        height: 300px;
    }
}

@media (max-width: 479px) {
    #osstem-doctors .osstem-doctor-v3 {
        padding: 18px;
        border-radius: 20px;
    }

    #osstem-doctors .osstem-doctor-v3__photo img {
        height: 260px;
    }
}
/* Виджеты ПроДокторов внутри карточек врачей */

#osstem-doctors .osstem-doctor-v3__reviews .pd_widget_footer {
    min-width: 0 !important;
    max-width: 100% !important;
}

#osstem-doctors .pd_widget_footer .pd_widget_box {
    flex-direction: column !important;
    background-position: right 8px top 36px, 0 0 !important;
    background-size: 60px, 100% 100% !important;
}

#osstem-doctors .pd_widget_footer .pd_widget_profile {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    padding: 0 60px 14px 12px !important;
}

#osstem-doctors .pd_widget_footer .pd_widget_aside {
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 12px 12px !important;
}

#osstem-doctors .pd_widget_footer .pd_widget_review {
    width: 100% !important;
    min-width: 0 !important;
}

#osstem-doctors .pd_widget_footer .pd_widget_review_text {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}
/* Примеры восстановления: данные из портфолио */

#osstem-cases .osstem-cases-v2__surface {
    background: #f5f6f3;
    border-radius: 28px;
    padding: 36px;
}

#osstem-cases .osstem-cases-v2__heading {
    margin-bottom: 28px;
}

#osstem-cases .osstem-cases-v2__heading .title-section {
    margin: 0 0 14px;
}

#osstem-cases .osstem-cases-v2__heading p {
    margin: 0;
    color: #606854;
}

#osstem-cases .osstem-cases-v2__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

#osstem-cases .osstem-case-v2 {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 22px;
    color: #252a20;
}

#osstem-cases .osstem-case-v2__gallery {
    margin: 0;
    padding: 14px 14px 0;
}

#osstem-cases .osstem-case-v2__photos {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 15px;
    background: #e5e5df;
}

#osstem-cases [data-case-photo] {
    width: 100%;
    height: 100%;
}

#osstem-cases [data-case-photo][hidden] {
    display: none !important;
}

#osstem-cases [data-case-photo] img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#osstem-cases .osstem-case-v2__zoom {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

#osstem-cases .osstem-case-v2__zoom:focus-visible {
    outline: 3px solid #91ad4b;
    outline-offset: -3px;
}

#osstem-cases .osstem-case-v2__switches {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 5px;
    margin-top: 12px;
    background: #f5f6f3;
    border-radius: 12px;
}

#osstem-cases .osstem-case-v2__switches button {
    flex: 1 1 110px;
    min-width: 0;
    min-height: 44px;
    padding: 9px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #606854;
    font: inherit;
    font-size: 13px;
    line-height: 1.4;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}

#osstem-cases .osstem-case-v2__switches button[aria-pressed="true"] {
    color: #252a20;
    background: #fff;
    box-shadow: 0 1px 4px #252a2010;
}

#osstem-cases .osstem-case-v2__switches button:focus-visible {
    outline: 2px solid #607a2f;
    outline-offset: 2px;
}

#osstem-cases .osstem-case-v2__caption {
    margin-top: 8px;
    color: #606854;
    font-size: 12px;
    line-height: 1.5;
}

#osstem-cases .osstem-case-v2__content {
    padding: 22px;
    overflow-wrap: anywhere;
}

#osstem-cases .osstem-case-v2__tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 7px;
    color: #3e482d;
    background: #edf2e4;
    font-size: 12px;
    line-height: 1.5;
}

#osstem-cases .osstem-case-v2__content h3 {
    margin: 14px 0 20px;
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
}

#osstem-cases .osstem-case-v2__description {
    color: #606854;
    font-size: 15px;
    line-height: 1.75;
}

#osstem-cases .osstem-case-v2__description p {
    margin: 0 0 16px;
}

#osstem-cases .osstem-case-v2__description p:last-child {
    margin-bottom: 0;
}

#osstem-cases .osstem-case-v2__description strong {
    color: #252a20;
}

#osstem-cases .osstem-cases-v2__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e3e7dc;
}

#osstem-cases .osstem-cases-v2__footer p {
    margin: 0;
    color: #606854;
    font-size: 13px;
    line-height: 1.7;
}

#osstem-cases .osstem-cases-v2__footer .btn-main {
    flex-shrink: 0;
    max-width: 100%;
    min-height: 48px;
    height: auto;
    padding: 15px 22px;
    white-space: normal;
    text-align: center;
}

@media (max-width: 767px) {
    #osstem-cases .osstem-cases-v2__surface {
        padding: 0px;
        border-radius: 22px;
    }

    #osstem-cases .osstem-cases-v2__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #osstem-cases .osstem-case-v2__content {
        padding: 20px;
    }

    #osstem-cases .osstem-case-v2__content h3 {
        font-size: 20px;
    }

    #osstem-cases .osstem-cases-v2__footer {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }
}
/* Слайдер случаев из портфолио */

/* Общие стили существующего слайдера работ и слайдера врачей. */
:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-track.slick-initialized {
    display: block;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-track .slick-list {
    margin: 0 -10px;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-track .slick-track {
    display: flex;
    align-items: stretch;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-track .slick-slide {
    display: flex;
    flex-direction: column;
    height: auto;
    margin: 0 10px;
    float: none;
}

/* Существующие оформление, размеры и порядок элементов навигации. */
:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 22px;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-navigation[hidden] {
    display: none !important;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-navigation .slick-arrow {
    position: static;
    transform: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #dce2d2;
    border-radius: 50%;
    background: #fff;
    color: #526e24;
    font: 400 26px/1 Arial, sans-serif;
    cursor: pointer;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-navigation .slick-arrow::before {
    content: none;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-navigation .slick-prev {
    order: 1;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-navigation [data-cases-counter] {
    order: 2;
    min-width: 74px;
    text-align: center;
    color: #606854;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-navigation .slick-next {
    order: 3;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-navigation .slick-disabled {
    opacity: .35;
    cursor: default;
}

:is(#osstem-cases, #osstem-doctors, #osstem-reviews) .osstem-slider-navigation .slick-arrow:focus-visible {
    outline: 2px solid #607a2f;
    outline-offset: 3px;
}

/* Подпись работы остаётся доступной экранным дикторам. */
#osstem-cases .osstem-case-v2__caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    #osstem-doctors .osstem-slider-track .slick-slide {
        align-self: flex-start;
    }

    #osstem-doctors .osstem-doctor-v3__photo img {
        height: 170px;
    }
}

/* Филиалы и финальная форма записи */

#osstem-order-bottom .osstem-clinics__surface {
    padding: 36px;
    border-radius: 28px;
    background: #f5f6f3;
    color: #252a20;
}

#osstem-order-bottom .osstem-clinics__heading {
    margin-bottom: 28px;
}

#osstem-order-bottom .osstem-clinics__heading .title-section {
    margin: 0 0 16px;
}

#osstem-order-bottom .osstem-clinics__heading p {
    margin: 0;
    color: #606854;
    line-height: 1.7;
}

#osstem-order-bottom .osstem-clinics__heading strong {
    color: #252a20;
    white-space: nowrap;
}

#osstem-order-bottom .osstem-clinics__heading .osstem-clinics__price-note {
    margin-top: 5px;
    font-size: 14px;
}

#osstem-order-bottom .osstem-clinics__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

#osstem-order-bottom .osstem-clinic-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
}

#osstem-order-bottom .osstem-clinic-card.is-selected {
    box-shadow: 0 0 0 2px #92af50;
}

#osstem-order-bottom .osstem-clinic-card__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.55;
    object-fit: cover;
}

#osstem-order-bottom .osstem-clinic-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px;
}

#osstem-order-bottom .osstem-clinic-card__name {
    margin: 0 0 10px;
    color: #606854;
    font-size: 14px;
    line-height: 1.5;
}

#osstem-order-bottom .osstem-clinic-card h3 {
    margin: 0 0 16px;
    font-size: 21px;
    line-height: 1.45;
    font-weight: 600;
}

#osstem-order-bottom .osstem-clinic-card__hours {
    margin: 0 0 8px;
    color: #606854;
    font-size: 14px;
    line-height: 1.6;
}

#osstem-order-bottom .osstem-clinic-card__route {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin-bottom: 16px;
    color: #526e24;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#osstem-order-bottom .osstem-clinic-card__pick {
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    padding: 12px 10px;
    border: 1px solid #dfe5d6;
    border-radius: 11px;
    background: #edf2e4;
    color: #252a20;
    font: inherit;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

#osstem-order-bottom .osstem-clinic-card__pick[aria-pressed="true"] {
    border-color: #92af50;
    background: #92af50;
}

#osstem-order-bottom .osstem-clinic-card__pick:focus-visible {
    outline: 2px solid #607a2f;
    outline-offset: 3px;
}

#osstem-order-bottom .osstem-clinics__order {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #dfe5d6;
}

#osstem-order-bottom .osstem-clinics__copy h3 {
    margin: 0 0 16px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 400;
}

#osstem-order-bottom .osstem-clinics__copy p {
    margin: 0 0 18px;
    color: #606854;
    font-size: 16px;
    line-height: 1.7;
}

#osstem-order-bottom .osstem-clinics__copy .osstem-clinics__hint {
    margin-bottom: 0;
    font-size: 14px;
}

#osstem-order-bottom .osstem-clinics__form {
    min-width: 0;
}

#osstem-order-bottom .osstem-clinics__field-label {
    display: block;
    margin-bottom: 8px;
    color: #606854;
    font-size: 13px;
    line-height: 1.5;
}

#osstem-order-bottom .osstem-clinics__select {
    display: block;
    width: 100%;
    min-width: 0;
    height: 52px;
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid #dfe5d6;
    border-radius: 11px;
    background: #fff;
    color: #252a20;
    font: inherit;
    font-size: 16px;
}

#osstem-order-bottom .osstem-clinics__form .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

#osstem-order-bottom .osstem-clinics__form .wpcf7-form > * {
    grid-column: 1 / -1;
    min-width: 0;
}

#osstem-order-bottom .osstem-clinics__form .wpcf7-form > .hidden-fields-container {
    display: none;
}

#osstem-order-bottom .osstem-clinics__form .wpcf7-form > .item-form {
    grid-column: auto;
    margin: 0;
}

#osstem-order-bottom .osstem-clinics__form input[type="text"],
#osstem-order-bottom .osstem-clinics__form input[type="tel"] {
    width: 100%;
    height: 52px;
    padding: 10px 12px;
    border: 1px solid #dfe5d6;
    border-radius: 11px;
    background: #fff;
    color: #252a20;
    font-size: 16px;
    box-sizing: border-box;
}

#osstem-order-bottom .osstem-clinics__form .checkbox {
    order: 1;
    margin: 0;
    color: #606854;
    font-size: 12px;
    line-height: 1.7;
}

#osstem-order-bottom .osstem-clinics__form .wpcf7-form > p {
    position: relative;
    order: 2;
    margin: 0;
}

#osstem-order-bottom .osstem-clinics__form input[type="submit"] {
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 14px 20px;
    border-radius: 11px;
    white-space: normal;
}

#osstem-order-bottom .osstem-clinics__form .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 10px;
    margin: -12px 0 0;
}

#osstem-order-bottom .osstem-clinics__form .wpcf7-response-output {
    order: 3;
    margin: 0;
}

@media (max-width: 991px) {
    #osstem-order-bottom .osstem-clinic-card__content {
        padding: 17px;
    }

    #osstem-order-bottom .osstem-clinic-card h3 {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    #osstem-order-bottom .osstem-clinics__surface {
        padding: 24px 16px;
        border-radius: 22px;
    }

    #osstem-order-bottom .osstem-clinics__grid,
    #osstem-order-bottom .osstem-clinics__order,
    #osstem-order-bottom .osstem-clinics__form .wpcf7-form {
        grid-template-columns: 1fr;
    }

    #osstem-order-bottom .osstem-clinics__grid {
        gap: 20px;
    }

    #osstem-order-bottom .osstem-clinic-card__photo {
        aspect-ratio: 1.8;
    }

    #osstem-order-bottom .osstem-clinic-card__content {
        padding: 20px;
    }

    #osstem-order-bottom .osstem-clinic-card h3 {
        font-size: 21px;
    }

    #osstem-order-bottom .osstem-clinics__order {
        gap: 24px;
        margin-top: 26px;
        padding-top: 26px;
    }

    #osstem-order-bottom .osstem-clinics__copy h3 {
        font-size: 26px;
    }
}
/* Видеоотзывы */
#osstem-reviews.osstem-video-reviews {
    background-image: none;
}

#osstem-reviews .osstem-video-reviews__surface {
    box-sizing: border-box;
    padding: 40px;
    background: #fff;
    border-radius: 32px;
}

#osstem-reviews .title-section {
    margin: 0 0 32px;
}

#osstem-reviews .osstem-video-reviews__group {
    margin: 32px 0 20px;
    font-size: 22px;
}

#osstem-reviews .osstem-video-reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 760px;
    margin: 0 auto;
}

#osstem-reviews .osstem-video-review {
    min-width: 0;
    overflow: hidden;
    background: #f6f7f3;
    border: 1px solid #e8ebdf;
    border-radius: 24px;
}

#osstem-reviews .osstem-video-review__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #e6e8df;
    color: #fff;
    text-decoration: none;
}

#osstem-reviews .osstem-video-review__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#osstem-reviews .osstem-video-review__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: #91ad4b;
    color: #22291e;
    box-shadow: 0 0 0 8px rgb(255 255 255 / 20%);
    transform: translate(-50%, -50%);
}

#osstem-reviews .osstem-video-review__play svg {
    display: block;
    margin-left: 3px;
}

#osstem-reviews .osstem-video-review__watch {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 36px 20px 18px;
    background: linear-gradient(transparent, rgb(0 0 0 / 65%));
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

#osstem-reviews a.osstem-video-review__media:hover .osstem-video-review__play {
    background: #a1bb60;
}

#osstem-reviews a.osstem-video-review__media:focus-visible {
    outline: 3px solid #617b2e;
    outline-offset: -4px;
}

#osstem-reviews .osstem-video-review__body {
    padding: 22px;
}

#osstem-reviews .osstem-video-review__title {
    margin: 0;
    color: #282d24;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

#osstem-reviews .osstem-video-review__description {
    margin-top: 12px;
    color: #656b5c;
    font-size: 16px;
    line-height: 1.65;
}

#osstem-reviews .osstem-video-review__description > :last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
        #osstem-reviews .osstem-video-reviews__surface {
        padding: 28px 20px;
        border-radius: 24px;
    }

    #osstem-reviews .osstem-video-reviews__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 350px;
        gap: 24px;
    }

    #osstem-reviews .osstem-video-review__title {
        font-size: 19px;
    }
}

/* Компактный блок координатора */
#osstem-coordinator.osstem-coordinator-compact {
    background: none;
}

#osstem-coordinator .osstem-coordinator-card {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    gap: 44px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 32px;
}

#osstem-coordinator .osstem-coordinator-person {
    min-width: 0;
    margin: 0;
}

#osstem-coordinator .osstem-coordinator-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 15%;
    border-radius: 20px;
}

#osstem-coordinator .osstem-coordinator-person figcaption {
    padding-top: 16px;
}

#osstem-coordinator .osstem-coordinator-name {
    color: #282e24;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

#osstem-coordinator .osstem-coordinator-role {
    margin-top: 5px;
    color: #666e5e;
    font-size: 14px;
    line-height: 1.5;
}

#osstem-coordinator .osstem-coordinator-content {
    min-width: 0;
}

#osstem-coordinator .osstem-coordinator-title {
    margin: 0 0 18px;
    color: #282e24;
    font-size: clamp(28px, 2.6vw, 38px);
    font-weight: 400;
    line-height: 1.2;
}

#osstem-coordinator .osstem-coordinator-intro {
    margin-bottom: 24px;
    color: #666e5e;
    font-size: 16px;
    line-height: 1.65;
}

#osstem-coordinator .osstem-coordinator-intro p {
    margin: 0;
}

#osstem-coordinator .osstem-coordinator-benefits ul {
    display: grid;
    gap: 18px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

#osstem-coordinator .osstem-coordinator-benefits li {
    position: relative;
    min-height: 34px;
    margin: 0;
    padding: 0 0 0 48px;
    color: #666e5e;
    font-size: 14px;
    line-height: 1.6;
}

#osstem-coordinator .osstem-coordinator-benefits li::before {
    content: "✓";
    position: absolute;
    top: 2px;
    left: 0;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eff3e5;
    color: #617b2e;
    font-size: 19px;
    font-weight: 600;
}

#osstem-coordinator .osstem-coordinator-benefits li strong {
    display: block;
    margin-bottom: 3px;
    color: #282e24;
    font-size: 16px;
    font-weight: 600;
}

#osstem-coordinator .osstem-coordinator-benefits li > br {
    display: none;
}

#osstem-coordinator .osstem-coordinator-benefits li p {
    margin: 0;
}

#osstem-coordinator .osstem-coordinator-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: auto;
    max-width: 100%;
    min-height: 52px;
    padding: 14px 24px;
    background: #91ad4b;
    border-radius: 14px;
    color: #202719;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

#osstem-coordinator .osstem-coordinator-button:hover {
    background: #a0b960;
}

@media (max-width: 767px) {
    #osstem-coordinator .osstem-coordinator-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
        padding: 26px 22px;
        border-radius: 24px;
    }

    #osstem-coordinator .osstem-coordinator-person {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        align-items: center;
        gap: 18px;
    }

    #osstem-coordinator .osstem-coordinator-person figcaption {
        padding-top: 0;
    }

    #osstem-coordinator .osstem-coordinator-photo {
        border-radius: 14px;
    }

    #osstem-coordinator .osstem-coordinator-title {
        font-size: 28px;
    }

    #osstem-coordinator .osstem-coordinator-button {
        width: 100%;
    }
}
/* Зелёный блок рассрочки — только OSSTEM */
#osstem-payment.osstem-payment-green {
    background: none;
}

#osstem-payment .osstem-payment-card {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 40px;
    border-radius: 32px;
    background: linear-gradient(115deg, #647d33, #4e642c);
    color: #fff;
}

#osstem-payment .osstem-payment-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: center;
    gap: 40px;
}

#osstem-payment .osstem-payment-copy {
    min-width: 0;
}

#osstem-payment .osstem-payment-title {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(30px, 3vw, 42px);
    font-weight: 400;
    line-height: 1.2;
}

#osstem-payment .osstem-payment-description {
    max-width: 550px;
    margin: 0 0 28px;
    color: #f1f4e9;
    font-size: 17px;
    line-height: 1.65;
}

#osstem-payment .osstem-payment-benefits {
    display: grid;
    gap: 18px;
}

#osstem-payment .osstem-payment-benefits p {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin: 0;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
}

#osstem-payment .osstem-payment-benefits i {
    font-size: 22px;
    text-align: center;
}

#osstem-payment .osstem-payment-visual {
    display: grid;
    justify-items: center;
    gap: 16px;
    min-width: 0;
}

#osstem-payment .osstem-payment-art {
    display: block;
    width: 166px;
    max-width: 100%;
    height: 180px;
    object-fit: contain;
}

#osstem-payment .osstem-payment-partners {
    width: 100%;
}

#osstem-payment .osstem-payment-partners-title {
    margin-bottom: 8px;
    color: #f1f4e9;
    font-size: 12px;
    line-height: 1.5;
}

#osstem-payment .osstem-payment-logos {
    display: grid;
    gap: 8px;
}

#osstem-payment .osstem-payment-logo {
    display: grid;
    place-items: center;
    min-height: 36px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff;
}

#osstem-payment .osstem-payment-logo img {
    display: block;
    width: 100%;
    max-width: 174px;
    height: auto;
}

#osstem-payment .osstem-payment-form {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid rgb(255 255 255 / 22%);
}

#osstem-payment .osstem-payment-form-label {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 15px;
    line-height: 1.5;
}

#osstem-payment .consultation__line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: start;
    gap: 14px;
    margin: 0;
}

#osstem-payment .consultation__line .item-form {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

#osstem-payment .consultation__line p {
    margin: 0;
}

#osstem-payment .consultation__line > p {
    position: relative;
    width: auto;
    min-width: 0;
}

#osstem-payment .wpcf7-form-control-wrap {
    display: block;
}

#osstem-payment input[type="tel"] {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-width: 0;
    height: 56px;
    padding: 15px 18px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #3d4535;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.4;
}

#osstem-payment input[type="tel"]::placeholder {
    color: #68715f;
    opacity: 1;
}

#osstem-payment input.wpcf7-submit {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 56px;
    margin: 0;
    padding: 14px 18px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #34471d;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
}

#osstem-payment input.wpcf7-submit:hover {
    background: #edf3df;
}

#osstem-payment input.wpcf7-submit:disabled {
    opacity: .85;
}

#osstem-payment .wpcf7-spinner {
    position: absolute;
    top: 16px;
    right: 8px;
    margin: 0;
}

#osstem-payment .checkbox {
    margin: 16px 0 0;
    color: #f1f4e9;
    font-size: 12px;
    line-height: 1.6;
}

#osstem-payment .checkbox p,
#osstem-payment .checkbox .wpcf7-list-item {
    margin: 0;
}

#osstem-payment .checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #f1f4e9;
}

#osstem-payment .checkbox input[type="checkbox"] {
    position: static;
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    padding: 0;
    opacity: 1;
    appearance: auto;
    accent-color: #cbdca9;
}

#osstem-payment .checkbox .wpcf7-list-item-label {
    display: block;
    padding: 0;
    color: #f1f4e9;
}

#osstem-payment .checkbox .wpcf7-list-item-label::before,
#osstem-payment .checkbox .wpcf7-list-item-label::after {
    display: none;
}

#osstem-payment .checkbox a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#osstem-payment .wpcf7-not-valid-tip {
    margin-top: 7px;
    color: #fff;
    font-size: 13px;
}

#osstem-payment .wpcf7-response-output {
    margin: 20px 0 0;
    color: #fff;
}

@media (max-width: 767px) {
    #osstem-payment .osstem-payment-card {
        padding: 28px 22px;
        border-radius: 24px;
    }

    #osstem-payment .osstem-payment-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    #osstem-payment .osstem-payment-title {
        font-size: 30px;
    }

    #osstem-payment .osstem-payment-description,
    #osstem-payment .osstem-payment-benefits p {
        font-size: 16px;
    }

    #osstem-payment .osstem-payment-visual {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        gap: 20px;
    }

    #osstem-payment .osstem-payment-art {
        height: 150px;
    }

    #osstem-payment .consultation__line {
        grid-template-columns: minmax(0, 1fr);
    }

    #osstem-payment input.wpcf7-submit {
        font-size: 15px;
    }
}
/* Вопросы и ответы — только OSSTEM */
#osstem-faq.osstem-faq-section {
    background: none;
}

#osstem-faq .osstem-faq-card {
    box-sizing: border-box;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 32px;
}

#osstem-faq .osstem-faq-title {
    margin: 0 0 30px;
    color: #282e24;
    font-size: clamp(30px, 2.6vw, 40px);
    font-weight: 400;
    line-height: 1.25;
}

#osstem-faq .osstem-faq-item {
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #e3e7dc;
    background: transparent;
}

#osstem-faq .osstem-faq-item:first-child {
    border-top: 1px solid #e3e7dc;
}

#osstem-faq .osstem-faq-item[open] {
    background: #f4f7ed;
}

#osstem-faq .osstem-faq-item > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 22px 18px;
    background: transparent;
    color: #282e24;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}

#osstem-faq .osstem-faq-item > summary::-webkit-details-marker {
    display: none;
}

#osstem-faq .osstem-faq-item > summary::marker {
    content: "";
}

#osstem-faq .osstem-faq-item > summary::before,
#osstem-faq .osstem-faq-item > summary::after {
    content: none;
}

#osstem-faq .osstem-faq-question {
    min-width: 0;
    overflow-wrap: anywhere;
}

#osstem-faq .osstem-faq-toggle {
    position: relative;
    display: block;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef3e3;
    color: #617b2e;
}

#osstem-faq .osstem-faq-toggle::before,
#osstem-faq .osstem-faq-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    background: currentColor;
    transform: translate(-50%, -50%);
}

#osstem-faq .osstem-faq-toggle::before {
    width: 12px;
    height: 2px;
}

#osstem-faq .osstem-faq-toggle::after {
    width: 2px;
    height: 12px;
}

#osstem-faq .osstem-faq-item[open] .osstem-faq-toggle::after {
    display: none;
}

#osstem-faq .osstem-faq-answer {
    padding: 0 70px 24px 18px;
    color: #626b59;
    font-size: 16px;
    line-height: 1.75;
}

#osstem-faq .osstem-faq-answer > :first-child {
    margin-top: 0;
}

#osstem-faq .osstem-faq-answer > :last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    #osstem-faq .osstem-faq-card {
        padding: 28px 18px;
        border-radius: 24px;
    }

    #osstem-faq .osstem-faq-title {
        margin-bottom: 24px;
        font-size: 28px;
    }

    #osstem-faq .osstem-faq-item > summary {
        gap: 14px;
        padding: 18px 10px;
        font-size: 16px;
    }

    #osstem-faq .osstem-faq-answer {
        padding: 0 10px 22px;
        font-size: 16px;
    }
}

/* Итоговая сумма: на ПК сохраняется прежнее представление. */
body.reforma-osstem-page #osstem-cost .osstem-total-mobile-label {
    display: none;
}

/* Компактные карточки стоимости — только на телефонах. */
@media (max-width: 767px) {
    body.reforma-osstem-page #osstem-cost {
        padding: 28px 0;
    }

    body.reforma-osstem-page #osstem-cost .osstem-cost-intro {
        margin-bottom: 20px;
    }

    body.reforma-osstem-page #osstem-cost .osstem-cost-intro .title-section {
        margin: 0 0 12px;
        font-size: 26px;
        line-height: 1.2;
    }

    body.reforma-osstem-page #osstem-cost .osstem-cost-intro p {
        font-size: 14px;
        line-height: 1.45;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-stages {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) max-content;
        align-content: start;
        gap: 0 12px;
        min-height: 0;
        padding: 16px;
        border-radius: 18px;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__label {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        align-self: center;
        margin: 0;
        padding: 5px 9px;
        font-size: 12px;
        line-height: 1.3;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__price {
        grid-column: 2;
        grid-row: 1;
        align-self: center;
        margin: 0;
        font-size: 26px;
        font-weight: 600;
        line-height: 1.2;
        white-space: nowrap;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__title {
        grid-column: 1 / -1;
        grid-row: 2;
        min-height: 0;
        margin: 14px 0 5px;
        font-family: "Manrope", sans-serif;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.3;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__note {
        grid-column: 1 / -1;
        grid-row: 3;
        margin: 0;
        font-size: 13px;
        line-height: 1.4;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__image,
    body.reforma-osstem-page #osstem-cost .osstem-stage-card__list-title {
        display: none;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__list {
        grid-column: 1 / -1;
        grid-row: 4;
        gap: 8px;
        margin: 16px 0 0;
        padding: 0;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__list li {
        display: grid;
        grid-template-columns: 16px minmax(0, 1fr);
        gap: 8px;
        margin: 0;
        padding: 0;
        font-size: 14px;
        line-height: 1.45;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__badge {
        padding: 1px 5px;
        font-size: 11px;
        line-height: 1.4;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__condition {
        grid-column: 1 / -1;
        grid-row: 5;
        margin: 14px 0 0;
        padding-top: 12px;
        font-size: 12px;
        line-height: 1.45;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 18px 16px;
        margin: 16px 0 0;
        border-radius: 18px;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__title {
        display: flex;
        flex-direction: column;
        gap: 5px;
        margin: 0 0 12px;
        font-family: "Manrope", sans-serif;
        font-size: 23px;
        line-height: 1.3;
    }

    body.reforma-osstem-page #osstem-cost .osstem-total-mobile-label {
        display: block;
        order: 0;
        margin-bottom: 2px;
        font-size: 13px;
        font-weight: 400;
    }

    body.reforma-osstem-page #osstem-cost .osstem-total-value {
        order: 1;
        font-size: 30px;
        font-weight: 600;
        line-height: 1.2;
    }

    body.reforma-osstem-page #osstem-cost .osstem-total-formula {
        order: 2;
        font-size: 12px;
        font-weight: 400;
        line-height: 1.4;
        color: var(--osstem-muted, #606854);
    }

    body.reforma-osstem-page #osstem-cost .osstem-total-equals {
        display: none;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__copy p {
        font-size: 13px;
        line-height: 1.45;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__action {
        min-width: 0;
        max-width: none;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__action .btn-main {
        width: 100%;
        min-height: 48px;
        padding: 12px 10px;
        font-size: 14px;
        line-height: 1.35;
        white-space: normal;
        text-align: center;
        overflow-wrap: anywhere;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__action p {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.4;
    }
}
@media (max-width: 767px) {
    body.reforma-osstem-page main.osstem-landing {
        padding-top: 140px !important;
    }
	#osstem-doctors .osstem-doctor-v3__education {
		margin: 12px 0;
	}
	#osstem-doctors .osstem-doctor-v3__reviews {
		margin: 12px 0;
	}
	#osstem-doctors .osstem-doctor-v3__actions {
		margin-top: 12px;
	}
}
/* Добавить в конец css/osstem-landing.css. */
#osstem-order-bottom .osstem-clinics-mobile__choices,
#osstem-order-bottom .osstem-clinics-mobile__hours,
#osstem-order-bottom .osstem-clinics-mobile__route,
#osstem-order-bottom .osstem-clinics-mobile__followup,
#osstem-order-bottom .osstem-clinics-mobile__consent-hint {
    display: none;
}

@media (max-width: 767px) {
    #osstem-order-bottom.osstem-clinics-mobile-ready {
        padding-top: 28px;
        padding-bottom: 28px;
        font-family: 'Manrope', Arial, sans-serif;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__surface {
        padding: 24px 18px;
        border-radius: 24px;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__heading {
        margin-bottom: 20px;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__heading .title-section {
        margin-bottom: 12px;
        font-size: 27px;
        line-height: 1.2;
        font-family: 'Tenor Sans', Georgia, serif;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__heading p {
        font-size: 14px;
        line-height: 1.5;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__heading .osstem-clinics__price-note {
        font-size: 12px;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__grid,
    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__copy,
    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__select,
    #osstem-order-bottom.osstem-clinics-mobile-ready label[for="osstem-clinic-select"] {
        display: none;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__order {
        display: block;
        margin: 0;
        padding: 0;
        border: 0;
    }

    #osstem-order-bottom .osstem-clinics-mobile__choices {
        display: grid;
        gap: 8px;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: 0;
    }

    #osstem-order-bottom .osstem-clinics-mobile__choices legend {
        float: none;
        width: auto;
        margin: 0 0 10px;
        padding: 0;
        color: #252a20;
        font: 500 14px/1.5 'Manrope', sans-serif;
    }

    #osstem-order-bottom .osstem-clinics-mobile__option {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        min-height: 52px;
        margin: 0;
        padding: 10px 12px;
        border: 1px solid #dfe5d6;
        border-radius: 12px;
        background: #fff;
        color: #252a20;
        cursor: pointer;
    }

    #osstem-order-bottom .osstem-clinics-mobile__option.is-selected {
        border-color: #92af50;
        background: #edf2e4;
    }

    #osstem-order-bottom .osstem-clinics-mobile__option input[type="radio"] {
        position: static;
        width: 18px;
        height: 18px;
        margin: 0;
        opacity: 1;
        appearance: auto;
        accent-color: #92af50;
    }

    #osstem-order-bottom .osstem-clinics-mobile__option strong {
        display: block;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
    }

    #osstem-order-bottom .osstem-clinics-mobile__option small {
        display: block;
        margin-top: 3px;
        color: #606854;
        font-size: 12px;
        line-height: 1.4;
    }

    #osstem-order-bottom .osstem-clinics-mobile__hours,
    #osstem-order-bottom .osstem-clinics-mobile__followup {
        display: block;
        margin: 10px 0 16px;
        color: #606854;
        font-size: 12px;
        line-height: 1.5;
    }

    #osstem-order-bottom .osstem-clinics-mobile__followup { margin: 12px 0 0; }

    #osstem-order-bottom .osstem-clinics-mobile__route {
        display: flex;
        align-items: center;
        min-height: 44px;
        margin: -10px 0 10px;
        color: #526e24;
        font-size: 13px;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    #osstem-order-bottom .osstem-clinics-mobile__route[hidden],
    #osstem-order-bottom .osstem-clinics-mobile__consent-hint[hidden] { display: none !important; }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__form form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__form form > * {
        order: 0;
        min-width: 0;
        margin: 0;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__form [data-clinic-label] {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .item-form p { margin: 0; }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__form input[type="text"],
    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__form input[type="tel"] {
        height: 50px;
        padding: 12px 14px;
        border-radius: 12px;
        font-size: 16px;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics__form form > .checkbox {
        margin-top: 6px;
        padding: 0;
        font-size: 12px;
        line-height: 1.5;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .checkbox p,
    #osstem-order-bottom.osstem-clinics-mobile-ready .checkbox .wpcf7-list-item { margin: 0; }

    #osstem-order-bottom.osstem-clinics-mobile-ready .checkbox label {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        align-items: start;
        gap: 9px;
        padding: 0 !important;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .checkbox label::before,
    #osstem-order-bottom.osstem-clinics-mobile-ready .checkbox label::after,
    #osstem-order-bottom.osstem-clinics-mobile-ready .checkbox .wpcf7-list-item-label::before,
    #osstem-order-bottom.osstem-clinics-mobile-ready .checkbox .wpcf7-list-item-label::after {
        display: none !important;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .checkbox input[type="checkbox"] {
        position: static !important;
        display: block !important;
        visibility: visible !important;
        width: 18px;
        height: 18px;
        margin: 2px 0 0;
        opacity: 1 !important;
        appearance: auto;
        accent-color: #92af50;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .osstem-clinics-mobile__consent-hint {
        display: block;
        margin: 0 0 4px;
        color: #606854;
        font-size: 12px;
        line-height: 1.5;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready input[type="submit"] {
        min-height: 52px;
        margin: 0;
        border-radius: 13px;
        font-size: 15px;
        font-family: inherit;
        line-height: 1.4;
        text-transform: none;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready span.wpcf7-not-valid-tip {
        display: block !important;
        margin-top: 6px;
        color: #7a2222;
        font-size: 13px;
        line-height: 1.4;
    }

    #osstem-order-bottom.osstem-clinics-mobile-ready .wpcf7-response-output[aria-hidden="false"] {
        display: block !important;
    }
}
/* Добавить в конец css/osstem-landing.css. */
#osstem-treatment-steps.osstem-path {
    position: relative;
    padding: 36px 0;
    color: #252a20;
    font-family: 'Manrope', Arial, sans-serif;
}

#osstem-treatment-steps .osstem-path__anchor {
    position: absolute;
    top: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

#osstem-treatment-steps .osstem-path__heading {
    margin-bottom: 24px;
}

#osstem-treatment-steps .osstem-path__heading .title-section {
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.2;
}

#osstem-treatment-steps .osstem-path__heading p {
    margin: 0;
    color: #606854;
    font-size: 15px;
    line-height: 1.5;
}

#osstem-treatment-steps .osstem-path__surface {
    padding: 28px;
    border-radius: 24px;
    background: #fff;
}

#osstem-treatment-steps .osstem-path__steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: start;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#osstem-treatment-steps .osstem-path__steps::before {
    position: absolute;
    top: 18px;
    right: 18px;
    left: 18px;
    height: 1px;
    background: #dfe5d6;
    content: '';
}

#osstem-treatment-steps .osstem-path__step {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0;
}

#osstem-treatment-steps .osstem-path__number {
    position: relative;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 18px;
    border-radius: 11px;
    background: #edf2e4;
    color: #526e24;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

#osstem-treatment-steps .osstem-path__copy h3 {
    min-height: 46px;
    margin: 0 0 10px;
    color: #252a20;
    font: 600 17px/1.35 'Manrope', Arial, sans-serif;
    overflow-wrap: break-word;
}

#osstem-treatment-steps .osstem-path__description {
    color: #606854;
    font-size: 14px;
    line-height: 1.55;
}

#osstem-treatment-steps .osstem-path__description > :first-child { margin-top: 0; }
#osstem-treatment-steps .osstem-path__description > :last-child { margin-bottom: 0; }

#osstem-treatment-steps .osstem-path__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: center;
    gap: 24px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #dfe5d6;
}

#osstem-treatment-steps .osstem-path__video {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    color: #526e24;
    font-size: 14px;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#osstem-treatment-steps .osstem-path__play {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    padding-left: 2px;
    border-radius: 50%;
    background: #edf2e4;
    font-size: 12px;
    line-height: 1;
    text-decoration: none;
}

#osstem-treatment-steps .osstem-path__video--mobile { display: none; }

#osstem-treatment-steps .osstem-path__book {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 52px;
    padding: 12px;
    border-radius: 13px;
    background: #92af50;
    color: #202b17;
    font: 600 14px/1.4 'Manrope', Arial, sans-serif;
    white-space: normal;
    text-align: center;
    text-transform: none;
}

#osstem-treatment-steps .osstem-path__booking p {
    margin: 9px 0 0;
    color: #606854;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

@media (min-width: 768px) and (max-width: 991px) {
    #osstem-treatment-steps .osstem-path__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }
    #osstem-treatment-steps .osstem-path__steps::before { display: none; }
}

@media (max-width: 767px) {
    #osstem-treatment-steps.osstem-path { padding: 28px 0; }
    #osstem-treatment-steps .osstem-path__heading { margin-bottom: 20px; }
    #osstem-treatment-steps .osstem-path__heading .title-section { font-size: 27px; }
    #osstem-treatment-steps .osstem-path__heading p { font-size: 14px; }
    #osstem-treatment-steps .osstem-path__surface { padding: 20px 18px 18px; border-radius: 22px; }
    #osstem-treatment-steps .osstem-path__steps { grid-template-columns: 1fr; gap: 0; }
    #osstem-treatment-steps .osstem-path__steps::before { display: none; }
    #osstem-treatment-steps .osstem-path__step {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 12px;
        padding-bottom: 24px;
    }
    #osstem-treatment-steps .osstem-path__step:not(:last-child)::before {
        position: absolute;
        top: 37px;
        bottom: 5px;
        left: 15px;
        width: 1px;
        background: #dfe5d6;
        content: '';
    }
    #osstem-treatment-steps .osstem-path__number {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
        border-radius: 10px;
        font-size: 12px;
    }
    #osstem-treatment-steps .osstem-path__copy h3 { min-height: 0; margin: 3px 0 6px; font-size: 16px; }
    #osstem-treatment-steps .osstem-path__description { line-height: 1.5; }
    #osstem-treatment-steps .osstem-path__desktop-video { display: none; }
    #osstem-treatment-steps .osstem-path__video--mobile { display: flex; gap: 7px; margin: 5px 0 -5px; font-size: 12px; }
    #osstem-treatment-steps .osstem-path__video--mobile .osstem-path__play { flex-basis: 15px; width: 15px; height: 20px; padding: 0; background: none; font-size: 11px; }
    #osstem-treatment-steps .osstem-path__footer { grid-template-columns: 1fr; gap: 0; margin: 0; padding: 0; border: 0; }
    #osstem-treatment-steps .osstem-path__booking p { margin-top: 12px; text-align: left; }
}

@media (max-width: 350px) {
    #osstem-treatment-steps .osstem-path__surface { padding-right: 14px; padding-left: 14px; }
    #osstem-treatment-steps .osstem-path__step { gap: 10px; }
}
/* Компактные примеры работ. Добавить в конец css/osstem-landing.css. */
#osstem-cases .osstem-cases-v2__surface {
    padding: 30px;
}

#osstem-cases .osstem-cases-v2__heading {
    margin-bottom: 24px;
}

#osstem-cases .osstem-cases-v2__heading .title-section {
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.2;
}

#osstem-cases .osstem-cases-v2__heading p {
    font-size: 15px;
    line-height: 1.5;
}

#osstem-cases .osstem-cases-v2__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

/* Карточка растёт по своему содержимому, включая раскрытый разбор. */
#osstem-cases .osstem-slider-track .slick-track {
    align-items: flex-start;
}

#osstem-cases .osstem-slider-track .slick-slide {
    align-self: flex-start;
    height: auto;
}

#osstem-cases .osstem-case-v2__gallery {
    margin: 0;
    padding: 12px 12px 0;
}

#osstem-cases .osstem-case-v2__photos {
    aspect-ratio: 3 / 2;
    border-radius: 14px;
}

#osstem-cases .osstem-case-v2__switches {
    flex-wrap: nowrap;
    gap: 4px;
    margin-top: 8px;
    padding: 4px;
}

#osstem-cases .osstem-case-v2__switches button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding: 7px 3px;
    font-size: 12px;
    line-height: 1.3;
}

#osstem-cases .osstem-case-v2__content {
    padding: 16px 16px 14px;
}

#osstem-cases .osstem-case-v2__content h3 {
    min-height: 2.7em;
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.35;
}

#osstem-cases .osstem-case-v2__short {
    min-height: 4.65em;
    margin: 0;
    color: #606854;
    font-size: 14px;
    line-height: 1.55;
}

#osstem-cases .osstem-case-v2__details {
    margin: 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
}

#osstem-cases .osstem-case-v2__details > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 44px;
    padding: 0;
    color: #526e24;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
}

#osstem-cases .osstem-case-v2__details > summary::-webkit-details-marker {
    display: none;
}

#osstem-cases .osstem-case-v2__details > summary::after {
    content: '+';
    flex: 0 0 auto;
    font: 400 23px/1 Arial, sans-serif;
}

#osstem-cases .osstem-case-v2__details[open] > summary::after {
    content: '−';
}

#osstem-cases .osstem-case-v2__details > summary:focus-visible {
    outline: 2px solid #607a2f;
    outline-offset: 3px;
}

#osstem-cases .osstem-case-v2__details > .osstem-case-v2__description {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px solid #dce2d2;
    font-size: 14px;
    line-height: 1.6;
}

#osstem-cases .osstem-case-v2__description p {
    margin: 0 0 10px;
}

#osstem-cases .osstem-case-v2__description p:last-child {
    margin-bottom: 0;
}

#osstem-cases .osstem-slider-navigation {
    margin-top: 20px;
}

#osstem-cases .osstem-cases-v2__footer {
    margin-top: 20px;
    padding-top: 18px;
}

#osstem-cases .osstem-cases-v2__footer p {
    font-size: 12px;
    line-height: 1.6;
}

#osstem-cases .osstem-cases-v2__footer .btn-main {
    padding: 14px 18px;
    font-size: 14px;
}

@media (max-width: 1100px) {
    #osstem-cases .osstem-cases-v2__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #osstem-cases .osstem-cases-v2__surface {
        padding: 24px 14px;
    }

    #osstem-cases .osstem-cases-v2__heading {
        margin-bottom: 20px;
    }

    #osstem-cases .osstem-cases-v2__heading .title-section {
        font-size: 28px;
    }

    #osstem-cases .osstem-cases-v2__heading p {
        font-size: 14px;
    }

    #osstem-cases .osstem-cases-v2__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #osstem-cases .osstem-case-v2__content h3 {
        min-height: 0;
        font-size: 20px;
    }

    #osstem-cases .osstem-case-v2__short {
        min-height: 0;
    }

    #osstem-cases .osstem-slider-navigation {
        justify-content: center;
    }

    #osstem-cases .osstem-cases-v2__footer {
        gap: 16px;
    }
}
/* OSSTEM: компактные карточки врачей только на ПК. */
@media (min-width: 992px) {
    body.reforma-osstem-page #osstem-doctors {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    body.reforma-osstem-page #osstem-doctors .title-section {
        margin: 0 0 18px;
        font-size: 32px;
        line-height: 1.2;
    }

    /* Врачи: портрет рядом с информацией; полный виджет отзывов сохраняется. */
    body.reforma-osstem-page #osstem-doctors .osstem-doctors-v3__grid {
        gap: 20px;
        align-items: start;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3 {
        display: grid;
        grid-template-columns: 148px minmax(0, 1fr);
        grid-template-areas: 'photo name' 'photo specialty' 'photo experience' 'photo education' 'reviews reviews' 'actions actions';
        grid-template-rows: auto auto auto auto auto auto;
        gap: 6px 16px;
        align-content: start;
        padding: 18px;
        border-radius: 22px;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__photo {
        grid-area: photo;
        align-self: start;
        width: 148px;
        margin: 0;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__photo img {
        width: 148px;
        height: 176px;
        min-height: 0;
        object-fit: cover;
        object-position: center 22%;
        border-radius: 14px;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__name {
        grid-area: name;
        margin: 0;
        font-size: 21px;
        line-height: 1.3;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__specialty {
        grid-area: specialty;
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__experience {
        grid-area: experience;
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__education {
        grid-area: education;
        margin: 0;
        padding-top: 4px;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__education summary {
        min-height: 34px;
        padding: 5px 0;
        font-size: 14px;
        line-height: 1.4;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__reviews {
        grid-area: reviews;
        margin: 8px 0 0;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__actions {
        grid-area: actions;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin: 8px 0 0;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__book {
        flex: 1 1 auto;
        width: auto;
        min-height: 46px;
        height: auto;
        padding: 12px;
        font-size: 13px;
        line-height: 1.35;
    }

    body.reforma-osstem-page #osstem-doctors .osstem-doctor-v3__more {
        flex: 0 1 auto;
        width: auto;
        margin: 0;
        font-size: 12px;
        line-height: 1.4;
        text-align: center;
    }
}
@media (min-width: 992px) {
    body.reforma-osstem-page #osstem-doctors
    .osstem-doctor-v3__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 12px;
    }

    body.reforma-osstem-page #osstem-doctors
    .osstem-doctor-v3__book,
    body.reforma-osstem-page #osstem-doctors
    .osstem-doctor-v3__more {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 100%;
        min-width: 0;
        min-height: 46px;
        height: auto;
        margin: 0;
        padding: 12px 14px;
        border-radius: 14px;
        font-size: 14px;
        line-height: 1.35;
        text-align: center;
        white-space: normal;
        text-decoration: none;
    }

    body.reforma-osstem-page #osstem-doctors
    .osstem-doctor-v3__more {
        border: 1px solid #91ad4c;
        background: transparent;
        color: #526e24;
    }
}
/* OSSTEM: компактные два этапа с фотографиями только на ПК. */
@media (min-width: 992px) {
    body.reforma-osstem-page #osstem-cost {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Фотографии располагаются рядом с заголовком и ценой этапа. */
    body.reforma-osstem-page #osstem-cost .osstem-cost-intro {
        margin-bottom: 18px;
    }

    body.reforma-osstem-page #osstem-cost .osstem-cost-intro .title-section {
        margin-bottom: 8px;
        font-size: 32px;
        line-height: 1.2;
    }

    body.reforma-osstem-page #osstem-cost .osstem-cost-intro p {
        margin: 0;
        font-size: 15px;
        line-height: 1.45;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-stages {
        gap: 20px;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 112px;
        grid-template-areas: 'label image' 'title image' 'price image' 'note image' 'list list' 'condition condition';
        align-content: start;
        align-items: start;
        gap: 6px 14px;
        padding: 20px;
        border-radius: 22px;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__label {
        grid-area: label;
        justify-self: start;
        align-self: center;
        margin: 0;
        padding: 5px 9px;
        font-size: 13px;
        line-height: 1.4;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__price {
        grid-area: price;
        margin: 0;
        font-size: 30px;
        line-height: 1.15;
        white-space: nowrap;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__title {
        grid-area: title;
        margin: 0;
        min-height: 0;
        font-size: 22px;
        line-height: 1.25;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__note {
        grid-area: note;
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__image {
        grid-area: image;
        display: block;
        align-self: start;
        width: 112px;
        height: 128px;
        min-height: 0;
        margin: 0;
        aspect-ratio: auto;
        border-radius: 14px;
        overflow: hidden;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 25%;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__list-title {
        display: none;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__list {
        grid-area: list;
        display: grid;
        gap: 8px;
        margin: 8px 0 0;
        padding: 0;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__list li {
        gap: 8px;
        margin: 0;
        font-size: 14px;
        line-height: 1.45;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__badge {
        padding: 2px 6px;
        font-size: 11px;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__condition {
        grid-area: condition;
        margin: 6px 0 0;
        padding-top: 10px;
        font-size: 12px;
        line-height: 1.45;
    }

    body.reforma-osstem-page #osstem-cost .osstem-stage-card__condition p {
        margin: 0;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
        gap: 24px;
        align-items: center;
        margin: 16px 0 0;
        padding: 18px 20px;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__title {
        margin: 0 0 8px;
        font-size: 28px;
        line-height: 1.25;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__copy p {
        margin: 0;
        font-size: 13px;
        line-height: 1.45;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__action {
        width: auto;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__action .btn-main {
        min-height: 46px;
        padding: 12px 16px;
        font-size: 14px;
        line-height: 1.35;
    }

    body.reforma-osstem-page #osstem-cost .osstem-two-summary__action p {
        margin: 8px 0 0;
        font-size: 12px;
        line-height: 1.4;
    }
}
/* OSSTEM: компактные фотографии этапов на телефонах. Добавить в конец osstem-landing.css. */
@media (max-width: 767px) {
  body.reforma-osstem-page #osstem-cost .osstem-stage-card {
    grid-template-columns: minmax(0, 1fr) 76px;
    column-gap: 12px;
  }

  body.reforma-osstem-page #osstem-cost .osstem-stage-card__label {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }

  body.reforma-osstem-page #osstem-cost .osstem-stage-card__price {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: end;
  }

  body.reforma-osstem-page #osstem-cost .osstem-stage-card__title {
    grid-column: 1;
    grid-row: 2;
  }

  body.reforma-osstem-page #osstem-cost .osstem-stage-card__note {
    grid-column: 1;
    grid-row: 3;
  }

  body.reforma-osstem-page #osstem-cost .osstem-stage-card__image {
    display: block;
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: start;
    justify-self: end;
    width: 76px;
    height: 88px;
    min-height: 0;
    margin: 14px 0 0;
    aspect-ratio: auto;
    border-radius: 12px;
    overflow: hidden;
  }

  body.reforma-osstem-page #osstem-cost .osstem-stage-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
  }
}
/* Стрелки слайдеров по центру */
body.reforma-osstem-page #osstem-doctors .osstem-slider-navigation,
body.reforma-osstem-page #osstem-cases .osstem-slider-navigation {
    justify-content: center;
}
/* OSSTEM: компактные видеоотзывы на ПК. Добавить в конец osstem-landing.css. */
@media (min-width: 992px) {
  body.reforma-osstem-page #osstem-reviews {
    padding: 32px 0;
  }

  body.reforma-osstem-page #osstem-reviews .osstem-video-reviews__surface {
    padding: 28px;
  }

  body.reforma-osstem-page #osstem-reviews .title-section {
    margin: 0 0 24px;
    font-size: 34px;
    line-height: 1.2;
  }

  body.reforma-osstem-page #osstem-reviews .osstem-video-reviews__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: none;
    margin: 0;
  }

  body.reforma-osstem-page #osstem-reviews .osstem-video-review {
    box-sizing: border-box;
    flex: 1 1 180px;
    max-width: 210px;
    min-width: 0;
    border-radius: 18px;
  }

  body.reforma-osstem-page #osstem-reviews .osstem-video-review__media {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
  }

  body.reforma-osstem-page #osstem-reviews .osstem-video-review__body {
    padding: 14px;
  }

  body.reforma-osstem-page #osstem-reviews .osstem-video-review__title {
    font-size: 16px;
    line-height: 1.4;
  }

  body.reforma-osstem-page #osstem-reviews .osstem-video-review__description {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.45;
  }

  body.reforma-osstem-page #osstem-reviews .osstem-video-review__play {
    width: 52px;
    height: 52px;
  }

  body.reforma-osstem-page #osstem-reviews .osstem-video-review__watch {
    padding: 24px 14px 12px;
    font-size: 14px;
  }
}
/* OSSTEM: адреса слева, форма справа. Добавить в конец osstem-landing.css. */
@media (min-width: 992px) {
  body.reforma-osstem-page #osstem-order-bottom { padding: 32px 0; }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__surface {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 22px 24px;
    align-items: start;
    padding: 0;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__heading {
    grid-column: 1 / -1;
    margin: 0;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__heading .title-section {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.2;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__heading p {
    font-size: 14px;
    line-height: 1.5;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: stretch;
    border-radius: 16px;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card__photo {
    width: 100%;
    height: 100%;
    min-height: 130px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    align-content: center;
    min-width: 0;
    padding: 12px 14px;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card__name,
  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card h3,
  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card__hours {
    grid-column: 1 / -1;
    margin: 0;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card__name {
    font-size: 12px;
    line-height: 1.4;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card h3 {
    font-size: 16px;
    line-height: 1.3;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card__hours {
    font-size: 12px;
    line-height: 1.4;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card__route {
    min-height: 34px;
    margin: 2px 0 0;
    font-size: 12px;
    line-height: 1.35;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinic-card__pick {
    width: auto;
    min-height: 34px;
    margin: 2px 0 0;
    padding: 6px 10px;
    font-size: 12px;
    line-height: 1.35;
    white-space: normal;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__order {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 22px;
    border: 0;
    border-radius: 20px;
    background: #fff;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__copy {
    margin-bottom: 16px;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__copy h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.25;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__copy p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__copy .osstem-clinics__hint {
    font-size: 12px;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__field-label {
    margin-bottom: 5px;
    font-size: 12px;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__select {
    height: 46px;
    margin-bottom: 12px;
    font-size: 14px;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .wpcf7-form {
    gap: 12px;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .item-form p,
  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .checkbox p {
    margin: 0;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form input[type="text"],
  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form input[type="tel"] {
    height: 46px;
    font-size: 14px;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .checkbox {
    order: 1;
    line-height: 1.5;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .checkbox .wpcf7-list-item { margin: 0; }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 0;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .checkbox label::before,
  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .checkbox label::after,
  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .checkbox .wpcf7-list-item-label::before,
  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .checkbox .wpcf7-list-item-label::after { display: none; }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form .checkbox input[type="checkbox"] {
    display: block;
    position: static;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    opacity: 1;
    visibility: visible;
    appearance: auto;
    accent-color: #91ad4b;
  }

  body.reforma-osstem-page #osstem-order-bottom .osstem-clinics__form input[type="submit"] {
    min-height: 48px;
    padding: 12px;
    font-size: 14px;
  }
}

/* OSSTEM: единое расстояние между разделами. Добавить в самый конец CSS. */
body.reforma-osstem-page main.osstem-landing {
    --osstem-section-gap: 64px;
}

/* Отступ задан один раз — перед следующим разделом. */
body.reforma-osstem-page main.osstem-landing > :is(
    #osstem-cost,
    #osstem-treatment-steps,
    #osstem-order,
    #osstem-doctors,
    #osstem-cases,
    #osstem-reviews,
    #osstem-coordinator,
    #osstem-payment,
    #osstem-faq,
    #osstem-order-bottom
) {
    display: flow-root;
    margin-top: var(--osstem-section-gap);
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* У сертификата есть собственная вложенная секция. */
body.reforma-osstem-page main.osstem-landing > #osstem-order > .consultation {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Сохраняем воздух после последнего раздела. */
body.reforma-osstem-page main.osstem-landing > #osstem-order-bottom {
    margin-bottom: var(--osstem-section-gap);
}

@media (max-width: 767px) {
    body.reforma-osstem-page main.osstem-landing {
        --osstem-section-gap: 32px;
    }
}
/* OSSTEM: компактное превью существующей ссылки на видео консультации. */
body.reforma-osstem-page #osstem-treatment-steps .osstem-path__video {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 480px;
    min-width: 0;
    padding: 8px;
    border: 1px solid #e2e7d9;
    border-radius: 16px;
    background: #f5f7f0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

body.reforma-osstem-page #osstem-treatment-steps .osstem-path__thumb {
    display: block;
    position: relative;
    width: 100%;
    height: 102px;
    overflow: hidden;
    border-radius: 10px;
    background: #e6e8df;
}

body.reforma-osstem-page #osstem-treatment-steps .osstem-path__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.reforma-osstem-page #osstem-treatment-steps .osstem-path__thumb .osstem-path__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0 0 0 2px;
    border-radius: 50%;
    background: #91ad4b;
    color: #22291e;
    box-shadow: 0 0 0 5px rgb(255 255 255 / 35%);
    transform: translate(-50%, -50%);
    font-size: 14px;
    line-height: 1;
}

body.reforma-osstem-page #osstem-treatment-steps .osstem-path__video:hover {
    border-color: #91ad4b;
}

body.reforma-osstem-page #osstem-treatment-steps .osstem-path__video:focus-visible {
    outline: 2px solid #617b2e;
    outline-offset: 3px;
}

body.reforma-osstem-page #osstem-treatment-steps .osstem-path__video--mobile {
    display: none;
}

@media (max-width: 767px) {
    body.reforma-osstem-page #osstem-treatment-steps .osstem-path__video--mobile {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 10px;
        max-width: none;
        margin: 12px 0 0;
        padding: 6px;
        border-radius: 12px;
        font-size: 12px;
        line-height: 1.4;
    }

    body.reforma-osstem-page #osstem-treatment-steps .osstem-path__thumb {
        height: 60px;
        border-radius: 7px;
    }

    body.reforma-osstem-page #osstem-treatment-steps .osstem-path__thumb .osstem-path__play {
        width: 30px;
        height: 30px;
        font-size: 11px;
        box-shadow: 0 0 0 3px rgb(255 255 255 / 35%);
    }
}
/* OSSTEM: меню под первым экраном. Добавить в самый конец osstem-landing.css. */
body.reforma-osstem-page .osstem-landing .osstem-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    margin: 20px 0 0;
    padding: 4px 2px;
}

body.reforma-osstem-page .osstem-landing .osstem-nav a {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    margin: 0;
    padding: 10px 17px;
    border: 1px solid #dce3d1;
    border-radius: 12px;
    background: #fff;
    color: #262c22;
    font-family: 'Manrope', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
}

body.reforma-osstem-page .osstem-landing .osstem-nav a[href="#order-service"] {
    background: #edf2e2;
}

body.reforma-osstem-page .osstem-landing .osstem-nav a:hover {
    border-color: #91ad4b;
    background: #edf2e2;
}

body.reforma-osstem-page .osstem-landing .osstem-nav a:focus-visible {
    outline: 2px solid #617b2e;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    body.reforma-osstem-page .osstem-landing .osstem-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        margin-top: 16px;
    }

    body.reforma-osstem-page .osstem-landing .osstem-nav::-webkit-scrollbar {
        display: none;
    }

    body.reforma-osstem-page .osstem-landing .osstem-nav a {
        padding-right: 15px;
        padding-left: 15px;
    }
}
/* Плавная прокрутка к разделам страницы */
html {
    scroll-behavior: smooth;
}

/* Учитываем настройку уменьшения анимации */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
/* После расширения общих селекторов слайдера на #osstem-reviews добавить в конец CSS. */
body.reforma-osstem-page #osstem-reviews .osstem-slider-navigation {
    justify-content: center;
    margin-top: 20px;
}

@media (max-width: 767px) {
    body.reforma-osstem-page #osstem-reviews .osstem-video-reviews__grid {
        grid-template-columns: minmax(0, 1fr);
        max-width: 350px;
        min-width: 0;
    }

    body.reforma-osstem-page #osstem-reviews .osstem-video-reviews__grid.slick-initialized {
        display: block;
    }

    body.reforma-osstem-page #osstem-reviews .osstem-slider-track .slick-track {
        align-items: flex-start;
    }
}
