

/* Start:/include/uslugi_land/implant/assets/css/implant.css?179449176658648*/
ul.lead-mark {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    color: #464646;
    margin: 9px;
    padding-left: 20px;
    list-style: none;
}
ul.lead-mark li::before {
    content: "";
    display: inline-block;
    height: 25px;
    background-repeat: no-repeat;
    background-size: contain;
    top: 12px;
    left: 15px;
    position: absolute;
    width: 20px;
    background-image: url(/include/uslugi_land/implant/assets/css/../images/Check.png);
}

.implants_logos picture {
    display: inline-flex;
    vertical-align: middle;
    padding-left: 65px;
}
.wrapper.wrapper--implant .text-lead > p {
    margin-top: 22px;
    margin-bottom: 30px;
}
@media (min-width: 1200px) {
    .hero-new__image--coop,
    .hero-new__image--implant {
        transform: translate(0%, 10%);
    }
}
@media (max-width: 996px) {
    .hero-new__image--coop,
    .hero-new__image--implant {
        transform: translate(-20%, 20%);
    }
}
@media (max-width: 768px) {
    .hero-new__image--coop,
    .hero-new__image--implant {
        transform: translate(5%, 5%);
    }
}

.implant-prices h3.h2 {
    margin-bottom: 22px;
}
.implants_logos {
    margin-bottom: 84px;
}
.row.row--implants-prices p {
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    max-width: 380px;
    color: #000000;
}
.row.row--implants-prices h3 {
    font-weight: 600;
    font-size: 30px;
    line-height: 28px;
    color: #212121;
}
.row.row--implants-prices p.implant-price {
    font-style: normal;
    font-weight: 600;
    font-size: 28px;
    line-height: 160%;
    margin-top: 30px;
    margin-bottom: 30px;
    /* identical to box height, or 45px */

    color: #ed902e;
}
.marker-implants {
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 160%;
    width: 100px;
    height: 100px;
    box-shadow: 0px 10px 40px rgb(54 61 136 / 6%);
    background: white;
    float: left;
    margin-right: 15px;
    padding-top: 25px;
    text-align: center;
    border-radius: 100px;
}
.row--implants-futures {
    margin-top: 75px;
    margin-bottom: 75px;
}

.implant-recommendation h2 {
    /* padding-top: 100px; */
    /* margin-bottom: 70px; */
}
h2.mt-10 {
    margin-top: 0;
    margin-bottom: 80px;
}
section.implant-benefits {
    margin-top: 0px;
}
.implant-benefits h6 {
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
}
.implant-benefits .mt-4 {
    margin-top: 37px;
}
.implant-benefits .mb-4 {
    margin-bottom: 37px;
}
.implant-new__types h2.mt-10 {
    margin-bottom: 22px;
}
.implant-new__types p.text-center {
    margin-top: 0;
}
.implant-new__types h6 {
    font-weight: 500;
    font-size: 22px;
    line-height: 26px;
}

.implant-new__steps h2.text-center {
    margin-bottom: 80px;
    margin-top: 135px;
}
.ml-auto {
    margin-left: auto;
}
.mr-auto {
    margin-right: auto;
}
.implant-deadline h6 {
    font-weight: 500;
    font-size: 30px;
    line-height: 35px;
}
.implant-deadline h2.text-center {
    margin-top: 135px;
    margin-bottom: 80px;
}
img.implant-video {
    margin-top: 35px;
}
@media (min-width: 820px) {
    .implant-price--modal {
        position: absolute;
        bottom: 0;
    }
    .implant-new__parallax .implant-new__parallax-item--5 img {
        transform: translate(-30%, 160%) !important;
    }
    .implant-new__parallax .implant-new__parallax-item--6 img {
        transform: translate(-200%, 60%) !important;
    }
    .implant-new__parallax .implant-new__parallax-item--4 img {
        transform: translate(100%, 80%) !important;
    }
}

span.step-number {
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
    width: 100px;
    height: 100px;
    box-shadow: 0px 10px 40px rgb(54 61 136 / 6%);
    background: white;
    float: left;
    margin-right: 15px;
    padding-top: 12px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 48px;
    color: #ed902e;
    border-radius: 100px;
}

.implant-denied .col-md-4 p {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
}

#modal-implant-inno p {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
}

#modal-implant-inno .row {
    margin-bottom: 25px;
}

section.implant-denied h2 {
    margin-bottom: 80px;
}
p.mt-denied {
    margin-top: 25px;
}
@media (max-width: 820px) {
    .implants_logos picture {
        padding-left: 0;
    }

    .row.row--implants-futures .col-md-4 {
        margin-bottom: 20px;
    }

    .row.row--implants-prices .col-md-6:nth-child(2) {
        margin-top: 120px;
    }

    section.implant-recommendation .col-md-4:not(:first-child) {
        margin-top: 80px;
    }
    .implant-benefits .col-md-4 {
        margin-bottom: 55px;
    }
    .implant-benefits .mb-4 {
        margin-bottom: 0px;
    }
    .implant-new__types .col-lg-4.col-md-8.mt-xl.text-center.text-lower {
        margin-bottom: 55px;
    }
    section.implant-types .col-md-8 {
        padding-right: 30px;
        padding-left: 30px;
    }
    section.implant-types h2.mt-10 {
        margin-bottom: 50px;
    }
    .jelly-wrapper canvas {
        max-width: none;
        width: auto;
        min-height: 100%;
        max-height: calc(100% + 480px);
        top: -250px;
    }
    .form-block-doctor {
        padding-top: 105px;
    }
    .row.row--implants-futures {
        margin-bottom: 55px;
    }
    .implant-recommendation h2 {
        padding-top: 20px;
    }
    section.implant-benefits {
        margin-top: 0;
    }
    .implant-new__parallax {
        padding-bottom: 55px;
    }
    .implant-new__types .col-lg-4.col-md-8.mt-xl.text-center.text-lower {
        margin-bottom: 30px;
    }
    .implant-new__steps h2.text-center {
        margin-bottom: 55px;
        margin-top: 85px;
    }
    .implant-deadline h2.text-center {
        margin-top: 80px;
        margin-bottom: 45px;
    }
    section.implant-denied h2 {
        margin-bottom: 80px;
        margin-top: 80px;
    }

    span.step-number {
        width: 80px;
        padding: inherit;
        height: 80px;
        vertical-align: middle;
    }
    p.mt-0 {
        margin-top: 0;
    }
    .implant-denied .col-md-4 p {
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        line-height: 160%;
        vertical-align: bottom;
    }
}
.isMobile {
    display: none;
}

.isDesktop {
    display: block;
}

.implant-benefit-picture.isDesktop {
    position: relative;
    height: 100%;
    transform: scale(1.452);
    left: 75px;
}

.implant-benefit-body:has(div.implant-benefit-picture.implant-benefit-certificate) {
    min-height: 610px;
}

.implant-benefit-picture.implant-benefit-certificate {
    transform: scale(1.452) translate(0%, 20%);
}

@media (max-width: 768px) {
    .isMobile {
        display: block;
    }
    .isDesktop {
        display: none;
    }
    .implant-benefits .swiper--alt-minimalistic-controls .swiper-controls {
        justify-content: center !important;
    }

    .implant-benefit-body:has(div.implant-benefit-picture.implant-benefit-certificate) {
        min-height: unset;
    }
}
.implant-benefits .swiper--alt-minimalistic-controls .swiper-controls {
    justify-content: flex-start;
}

/* ==========================================================================
   Редизайн страницы «Имплантация» (2026-11).
   Блоки перенесены из макета implant-full-preview.html.
   ========================================================================== */

.ih-hero,
.implant-cost,
.implant-proofs,
.implant-options,
.implant-guarantee,
.implant-consult,
.implant-tax,
.implant-dialog {
    font-family: Montserrat, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #565b5f;
}
.ih-hero *,
.implant-cost *,
.implant-options *,
.implant-guarantee *,
.implant-consult *,
.implant-tax *,
.implant-dialog * {
    box-sizing: border-box;
}
.ih-hero h1,
.ih-hero h2,
.ih-hero h3,
.implant-cost h2,
.implant-cost h3,
.implant-options h2,
.implant-guarantee h2,
.implant-guarantee h3,
.implant-consult h2,
.implant-tax h2,
.implant-dialog h2,
.implant-dialog h3 {
    font-family: Ubuntu, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 500;
    letter-spacing: 0;
    color: #56585a;
}
.ih-hero p,
.implant-cost p,
.implant-options p,
.implant-guarantee p,
.implant-consult p,
.implant-tax p,
.implant-dialog p {
    margin: 0;
}

/* Общие элементы */
.implant-eyebrow {
    margin: 0 0 14px;
    color: #159ba8;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.implant-btn,
a.implant-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 17px 25px;
    border: 0;
    border-radius: 32px;
    background: linear-gradient(180deg, #ffb653 0%, #f07800 100%);
    color: #fff;
    font: 500 16px/1.5 Montserrat, Roboto, sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s;
}
.implant-btn:hover,
a.implant-btn:hover {
    filter: brightness(1.05);
    color: #fff;
}
.implant-btn:focus-visible {
    outline: 3px solid #179daa;
    outline-offset: 4px;
}

/* 1–2. Главный баннер и показатели */
.ih-hero {
    position: relative;
    padding: 45px 0 40px;
    background:
        radial-gradient(ellipse at 80% 75%, #dff6f6, transparent 52%),
        linear-gradient(105deg, #fff 30%, #f5fafb);
    border-bottom: 7px solid #f79400;
}
.ih-hero .waysite {
    margin-bottom: 20px;
}
.ih-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.ih-eyebrow {
    margin: 0 0 20px;
    color: #18a8b4;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.ih-hero .ih-title {
    margin: 0 0 24px;
    font-size: 52px;
    line-height: 1.12;
    letter-spacing: -.4px;
}
.ih-intro {
    max-width: 590px;
    margin: 0 0 25px !important;
    color: #7a7d80;
    font-size: 18px;
    line-height: 1.65;
}
.ih-intro strong {
    color: #565b5f;
    font-weight: 600;
}
.ih-benefits {
    max-width: 530px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
    color: #646d71;
    font-size: 16px;
    line-height: 1.6;
}
.ih-benefits li {
    position: relative;
    margin: 20px 0;
    padding-left: 30px;
}
.ih-benefits li::before {
    content: "✓";
    position: absolute;
    top: 5px;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f59420;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}
.ih-start-price {
    margin: 0 0 22px !important;
    color: #38757d;
    font-size: 18px;
    line-height: 1.6;
}
.ih-start-price strong {
    font: 500 27px Ubuntu, sans-serif;
    white-space: nowrap;
}
.ih-start-price span {
    display: block;
    max-width: 540px;
    margin-top: 5px;
    color: #6d7d80;
    font-size: 13px;
    line-height: 1.6;
}
.ih-cta {
    display: inline-flex;
    justify-content: space-between;
    gap: 32px;
    padding: 18px 26px;
    border: 0;
    border-radius: 32px;
    background: linear-gradient(180deg, #ffb751 0%, #f57b00 100%);
    color: #fff;
    font: 500 16px/1.5 Montserrat, Roboto, sans-serif;
    cursor: pointer;
}
.ih-cta:focus-visible {
    outline: 3px solid #31b7c4;
    outline-offset: 5px;
}
.ih-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    gap: 22px;
    min-width: 0;
    background: radial-gradient(ellipse at 50% 45%, #cceff1 0%, rgba(232, 248, 249, .4) 48%, transparent 72%);
}
.ih-jaw {
    display: block;
    width: 100%;
    transform: rotate(-5deg);
}
.ih-jaw img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 22px 15px rgba(66, 126, 138, .15));
}
.ih-tech {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 8px;
    color: #3e737b;
}
.ih-tech picture {
    flex-shrink: 0;
}
.ih-tech img {
    display: block;
    width: 75px;
    height: 60px;
    object-fit: contain;
    transform: rotate(-12deg);
}
.ih-tech strong {
    display: block;
    font: 500 19px/1.35 Ubuntu, sans-serif;
}
.ih-tech span {
    display: block;
    margin-top: 4px;
    color: #6a9299;
    font-size: 12px;
    line-height: 1.6;
}
.ih-proof {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 32px;
    border: 1px solid #d6edef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 9px 25px rgba(39, 145, 160, .04);
}
.ih-proof__item {
    display: flex;
    align-items: center;
    gap: 27px;
    padding: 28px 40px;
}
.ih-proof__item + .ih-proof__item {
    border-left: 1px solid #d6edef;
}
.ih-proof svg {
    flex-shrink: 0;
    width: 55px;
    height: 65px;
    stroke: #1eb3c0;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ih-value {
    color: #1bafbc;
    font: 500 38px/1.15 Ubuntu, sans-serif;
}
.ih-proof p {
    margin: 7px 0 0;
    font-size: 16px;
    line-height: 1.5;
}
.ih-period {
    padding-top: 12px;
    color: #99a6a9;
    font-size: 12px;
}

/* 3. Стоимость лечения */
.implant-cost {
    padding: 70px 0 60px;
    background: #fff;
    scroll-margin-top: 30px;
}
.implant-cost .implant-cost__title {
    margin: 0 0 22px;
    font-size: 40px;
    line-height: 1.15;
}
.implant-cost__lead {
    max-width: 900px;
    margin: 0 0 38px !important;
    color: #7c7e80;
    font-size: 18px;
    line-height: 1.65;
}
.implant-cost__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.implant-cost__card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce9eb;
    border-radius: 18px;
    background: #fff;
}
.implant-cost__image {
    display: block;
    background: radial-gradient(ellipse at 50% 70%, #d5eff1, #f4fafb 75%);
}
.implant-cost__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    padding: 12px;
    object-fit: contain;
}
.implant-cost__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}
.implant-cost__category {
    margin: 0 0 8px !important;
    color: #159ba8;
    font-size: 14px;
}
.implant-cost .implant-cost__name {
    margin: 0 0 24px;
    font-size: 24px;
    line-height: 1.2;
}
.implant-cost__price {
    color: #159ba8;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.3;
}
.implant-cost__price sup {
    font-size: 17px;
}
.implant-cost__unit {
    margin: 6px 0 22px !important;
    color: #858789;
    font-size: 14px;
}
.implant-cost__details {
    margin-bottom: 25px;
    padding-top: 18px;
    border-top: 1px solid #e2ebed;
    font-size: 15px;
    line-height: 1.65;
}
.implant-cost__details summary,
.implant-consult__details summary {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
}
.implant-cost__details summary::-webkit-details-marker,
.implant-consult__details summary::-webkit-details-marker {
    display: none;
}
.implant-cost__details summary span,
.implant-consult__details summary span {
    color: #1aa4b2;
    transition: transform .15s;
}
.implant-cost__details[open] summary span,
.implant-consult__details details[open] summary span {
    transform: rotate(45deg);
}
.implant-cost__details summary:focus-visible,
.implant-consult__details summary:focus-visible {
    outline: 3px solid #f79400;
    outline-offset: 4px;
}
.content .implant-cost__details ul { /* .content — сильнее шаблонных правил для ul/ol при любом порядке стилей */
    margin: 16px 0 0;
    padding-left: 20px;
    color: #727779;
}
.implant-cost__details li {
    margin: 0 0 10px;
}
.implant-cost__details p {
    color: #818789;
    font-size: 14px;
}
.implant-cost__btn {
    width: 100%;
    margin-top: auto;
    padding: 16px 18px;
    font-size: 15px;
}
.implant-cost__footnote {
    max-width: 1000px;
    margin: 18px 0 42px !important;
    color: #98733f;
    font-size: 13px;
    line-height: 1.6;
}
.implant-cost__package {
    margin: 24px 0;
    padding: 22px 26px;
    border-radius: 14px;
    background: #eef9fa;
    font-size: 16px;
    line-height: 1.65;
}
.implant-cost .implant-cost__package h3 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.2;
}
.implant-cost__extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    margin-bottom: 48px;
    padding: 30px;
    border: 1px solid #dceff1;
    border-radius: 18px;
    background: #f0f9fa;
}
.implant-cost .implant-cost__extra h3 {
    margin: 0;
    font-size: 30px;
    line-height: 1.15;
}
.implant-cost__extra > p {
    color: #747b7e;
    font-size: 17px;
    line-height: 1.65;
}
.implant-cost__services-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}
.implant-cost .implant-cost__services-head h3 {
    margin: 0;
    font-size: 36px;
    line-height: 1.13;
}
.implant-cost__services-head span {
    color: #888;
    font-size: 14px;
}
.implant-cost__services-sub {
    margin: 15px 0 22px !important;
    color: #82888a;
    font-size: 16px;
}
.implant-cost__services dl {
    margin: 0;
}
.implant-cost__services dl > div {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #e5ecee;
    font-size: 18px;
    line-height: 1.5;
}
.implant-cost__services dt {
    font-weight: 400;
}
.implant-cost__services dd {
    margin: 0;
    color: #159ba8;
    font-weight: 500;
    white-space: nowrap;
}
.implant-cost__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 45px;
    margin-top: 30px;
}
.implant-cost__bottom p {
    max-width: 750px;
    color: #818789;
    font-size: 15px;
    line-height: 1.6;
}
.implant-cost__bottom a {
    flex-shrink: 0;
    border-bottom: 0;
    color: #159ba8;
    font-size: 16px;
    text-decoration: none;
}
.implant-cost__bottom a span {
    margin-left: 12px;
}

/* Строка 100% / гарантия / 99% после блока стоимости */
.implant-proofs {
    padding: 25px 0;
}
.implant-proofs .row--implants-futures {
    margin-top: 0;
    margin-bottom: 0;
}

/* Подробнее о вариантах лечения */
.implant-options {
    padding: 30px 0 45px;
}
.implant-options .implant-options__title {
    margin: 0 0 22px;
    font-size: 26px;
    line-height: 1.15;
}
.implant-options__items {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.implant-options__item,
a.implant-options__item {
    display: flex;
    flex: 1 1 30%;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 19px 20px;
    border: 1px solid #b8dfe3;
    border-radius: 13px;
    background: #fff;
    color: #536469;
    font: 500 16px/1.45 Montserrat, Roboto, sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.implant-options__item:hover {
    border-color: #21acbb;
    background: #f1fbfc;
    color: #536469;
}
.implant-options__item:focus-visible {
    outline: 3px solid #f7ab40;
    outline-offset: 4px;
}
.implant-options__item svg {
    flex-shrink: 0;
    width: 30px;
    height: 32px;
    stroke: #1ca8b7;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.implant-options__item span {
    flex: 1;
}
.implant-options__item b {
    color: #1ba4b3;
    font-size: 23px;
    font-weight: 400;
}

/* Всплывающие окна (варианты лечения, хирургические шаблоны) */
.implant-dialog {
    width: min(600px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    padding: 36px;
    overflow: auto;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 25px 90px rgba(23, 61, 79, .2);
    color: #5a666b;
    font-size: 17px;
    line-height: 1.65;
}
.implant-dialog::backdrop {
    background: rgba(23, 53, 62, .6);
}
.implant-dialog .implant-eyebrow {
    padding-right: 30px;
    font-size: 11px;
}
.implant-dialog__icon {
    width: 42px;
    height: 44px;
    margin: 8px 0;
    stroke: #1ca8b7;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.implant-dialog h2 {
    margin: 8px 0 20px;
    color: #4f5b60;
    font-size: 32px;
    line-height: 1.15;
}
.implant-dialog h3 {
    margin: 24px 0 12px;
    font-size: 22px;
    line-height: 1.15;
}
.implant-dialog > p {
    margin: 0 0 20px;
}
.content .implant-dialog ol {
    margin: 0 0 24px;
    padding-left: 24px;
}
.implant-dialog li {
    margin: 8px 0;
}
.implant-dialog__note {
    padding: 18px 20px;
    border-radius: 12px;
    background: #eff9fa;
    font-size: 15px;
    line-height: 1.65;
}
.implant-dialog__close {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: #f0f7f8;
    color: #61858d;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
.implant-dialog__action {
    display: flex;
    margin-top: 26px;
    font-size: 15px;
}

/* 4. Новые слайды карусели (оборудование) */
.implant-benefit-tag {
    margin: 0 0 20px;
    color: #dcf5f7;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.implant-benefit-picture.implant-benefit-picture--equipment {
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    transform: none;
}
.implant-benefit-picture--equipment picture {
    display: block;
    width: 100%;
}
.implant-benefit-picture--equipment img {
    display: block;
    width: 100%;
    max-height: 500px;
    margin: 0 auto;
    object-fit: contain;
}
.implant-benefits-slider--equipment button.btn {
    border: 0;
    cursor: pointer;
}
/* На ≥768px у карусели autoHeight: false — слайды тянутся по самому высокому, поэтому содержимое
   новых слайдов центрируем по вертикали. На мобильных (autoHeight: true) центрирование не нужно:
   при переключении ширины оно оставляло пустую область над текстом.
   width у .wrapper не задаём: у него content-box, и width:100% + padding вылезало за экран. */
@media (min-width: 768px) {
    .swiper-slide.implant-benefits-slider--equipment {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .implant-benefits-slider--equipment .implant-benefit-body {
        align-items: center;
    }
}

/* Мобильный: место под панелью «‹ 1/9 ›». Бирюзовый фон есть только у слайдов (с margin-top: 50px),
   а высота карусели зависит от autoHeight Swiper (после смены ширины с десктопа он остаётся выключен),
   поэтому фон слайда кончается то над, то под панелью. Даём контейнеру тот же градиент ниже
   отступа слайдов и отступ снизу — под панелью всегда остаётся бирюзовое место. */
@media (max-width: 768px) {
    .implant-benefits .swiper.swiper--js-init-equipment {
        padding-bottom: 40px;
        background: linear-gradient(81deg, #0096aa, #b3e0e6) 0 50px / 100% calc(100% - 50px) no-repeat;
    }
}

/* Отступ между видеоотзывами (кнопки перелистывания) и баннером консультации */
.implant-consult {
    margin-top: 60px;
}
@media (max-width: 767px) {
    .implant-consult {
        margin-top: 40px;
    }
}

.content {
    padding-top: 0 !important;
}

/* «Имплантация — золотой стандарт»: белое «желе» на ≥992px должно покрывать весь текст и кнопку.
   Подобрано по реальному кадру canvas (контур 1511×1127 рисуется в canvas 1720×1350) с запасом 24px
   на ширинах 992, 1200, 1440, 1728, 1920 при сетке 1320px. */
@media (min-width: 992px) {
    .content section.jelly-wrapper > canvas {
        top: -340px;
        height: calc(100% + 640px);
        max-height: none;
        transform: translate(-44%);
    }
}

/* 5. Пожизненная гарантия */
.implant-guarantee {
    padding: 65px 0 75px;
    background: #fff;
    font-size: 18px;
    line-height: 1.6;
    color: #747577;
}
.implant-guarantee__header {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}
.implant-guarantee__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 88px;
    height: 99px;
    border-radius: 23px;
    background: #eef9fa;
    color: #1eb2be;
}
.implant-guarantee__icon svg {
    width: 57px;
    height: 57px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.implant-guarantee .implant-guarantee__title {
    margin: 0;
    font-size: 40px;
    line-height: 1.15;
}
.implant-guarantee__lead {
    max-width: 800px;
    margin-top: 20px !important;
    font-size: 18px;
}
.implant-guarantee__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 37px;
    overflow: hidden;
    border: 1px solid #c8e9ed;
    border-radius: 20px;
}
.implant-guarantee__item {
    padding: 28px 30px;
}
.implant-guarantee__item + .implant-guarantee__item {
    border-left: 1px solid #dceef0;
}
.implant-guarantee__number {
    color: #29b6c3;
    font: 500 28px/1 Ubuntu, sans-serif;
}
.implant-guarantee .implant-guarantee__item h3 {
    margin: 20px 0 13px;
    font-size: 24px;
    line-height: 1.2;
}
.implant-guarantee__item p {
    font-size: 16px;
    line-height: 1.7;
}
.implant-guarantee__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-top: 27px;
    padding: 24px 30px;
    border-radius: 14px;
    background: #f0f9fa;
}
.implant-guarantee__bottom p {
    max-width: 700px;
    font-size: 14px;
    line-height: 1.7;
}
.implant-guarantee__bottom .implant-btn {
    flex-shrink: 0;
    font-size: 15px;
}

/* 6. Консультация хирурга и ортопеда */
.implant-consult {
    background: #fff;
}
.implant-consult__banner {
    overflow: hidden;
    background: linear-gradient(100deg, #0b98ab 0%, #52b5c3 55%, #a5d8df 100%);
    color: #fff;
}
.implant-consult__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    min-height: 690px;
}
.implant-consult__copy {
    position: relative;
    z-index: 2;
    padding: 44px 18px 40px 0;
}
.implant-consult .implant-eyebrow {
    color: #d3f4f6;
    font-size: 11px;
    letter-spacing: 1.3px;
}
.implant-consult .implant-consult__title {
    margin: 0 0 20px;
    color: #fff;
    font-size: 36px;
    line-height: 1.16;
}
.implant-consult__lead {
    max-width: 640px;
    margin-bottom: 22px !important;
    font-size: 16px;
    line-height: 1.6;
}
.implant-consult__meta {
    display: flex;
    align-items: center;
    gap: 25px;
}
.implant-consult__meta strong {
    font: 500 34px/1.15 Ubuntu, sans-serif;
}
.implant-consult__meta span {
    padding-left: 25px;
    border-left: 1px solid rgba(255, 255, 255, .4);
    font-size: 16px;
}
.implant-consult__ct {
    margin: 9px 0 25px !important;
    color: #e5f8fa;
    font-size: 14px;
    line-height: 1.5;
}
.implant-consult .implant-consult__subtitle {
    margin: 0 0 10px;
    color: #fff;
    font: 600 17px/1.5 Montserrat, Roboto, sans-serif;
}
.implant-consult__list {
    max-width: 630px;
    margin: 0 0 25px;
    padding: 0;
    list-style: none;
    font-size: 15px;
    line-height: 1.6;
}
.implant-consult__list li {
    position: relative;
    margin: 7px 0;
    padding-left: 25px;
}
.implant-consult__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #dcf8f8;
}
.implant-consult__call {
    max-width: 430px;
    margin-top: 12px !important;
    color: #e1f6f8;
    font-size: 12px;
    line-height: 1.6;
}
.implant-consult__team {
    position: relative;
    min-width: 0;
    min-height: 630px;
    isolation: isolate;
    pointer-events: none;
}
.implant-consult__doctor {
    position: absolute;
    bottom: 0;
    margin: 0;
}
.implant-consult__doctor picture,
.implant-consult__doctor img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center bottom;
}
.implant-consult__doctor--surgeon {
    left: -20%;
    z-index: 1;
    width: 94%;
    height: 100%;
}
/* Как в макете: ортопед 80% × 75% блока, правым краем к краю экрана (не дальше 129px за сетку) */
.implant-consult__doctor--orthopedist {
    /* .wrapper здесь border-box: от края сетки до края окна = (100vw − min(1400px, 100vw)) / 2 + 40px поля */
    right: calc(-1 * min(129px, (100vw - min(1400px, 100vw)) / 2 + 40px));
    z-index: 2;
    width: 80%;
    height: 75%;
}
.implant-consult__doctor figcaption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.implant-consult__details {
    padding: 0 30px;
    border: 1px solid #dcebed;
    border-top: 0;
}
.implant-consult__details details + details {
    border-top: 1px solid #e2ecee;
}
.implant-consult__details summary {
    padding: 22px 0;
    font-size: 17px;
}
.implant-consult__details summary span {
    font-size: 24px;
    line-height: 1;
}
.content .implant-consult__details ol {
    max-width: 900px;
    margin: 0 0 20px;
    padding-left: 24px;
    color: #768083;
    font-size: 16px;
}
.implant-consult__details li {
    margin: 9px 0;
}
.implant-consult__details p {
    max-width: 900px;
    margin: 0 0 24px;
    color: #768083;
    font-size: 16px;
}

/* 7. Налоговый вычет */
.implant-tax {
    padding: 30px 0 40px;
    background: #fff;
}
.implant-tax__banner {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    align-items: center;
    gap: 25px;
    padding: 38px 44px;
    overflow: hidden;
    border: 1px solid #d8ebed;
    border-radius: 22px;
    background: linear-gradient(115deg, #f4fbfc, #eef9fa 65%, #e2f4f6);
}
.implant-tax .implant-tax__title {
    margin: 0 0 20px;
    color: #535b5f;
    font-size: 40px;
    line-height: 1.15;
}
.implant-tax__subtitle {
    margin-bottom: 15px !important;
    color: #269eac;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}
.implant-tax__text {
    max-width: 620px;
    margin-bottom: 25px !important;
    color: #7b8488;
    font-size: 16px;
    line-height: 1.7;
}
.implant-tax__illustration {
    justify-self: center;
    width: 100%;
    max-width: 380px;
}
.implant-tax__illustration svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Под шапкой поверх контента (≥1200px) фон первого экрана заходит под шапку */
@media (min-width: 1200px) {
    .ih-hero {
        margin-top: -80px;
        padding-top: 125px;
    }
}

@media (max-width: 1199px) {
    .ih-hero .ih-title {
        font-size: 44px;
    }
    .ih-value {
        font-size: 32px;
    }
    .ih-proof__item {
        gap: 18px;
        padding: 25px;
    }
    .implant-cost__body {
        padding: 20px;
    }
    .implant-cost__price {
        font-size: 27px;
    }
    .implant-cost__btn {
        padding: 14px;
        font-size: 13px;
    }
    .implant-cost__bottom {
        display: block;
    }
    .implant-cost__bottom a {
        display: inline-block;
        margin-top: 20px;
    }
    .implant-guarantee .implant-guarantee__title {
        font-size: 36px;
    }
    .implant-guarantee__item {
        padding: 25px 23px;
    }
    .implant-guarantee__bottom {
        display: block;
    }
    .implant-guarantee__bottom .implant-btn {
        margin-top: 20px;
    }
    .implant-consult__grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        min-height: 720px;
    }
    .implant-consult .implant-consult__title {
        font-size: 30px;
    }
    .implant-consult__team {
        min-height: 650px;
    }
    .implant-consult__doctor--surgeon {
        left: -18%;
        width: 92%;
    }
    .implant-consult__doctor--orthopedist {
        right: -19%;
        width: 88%;
        height: 78%;
    }
    .implant-tax__banner {
        grid-template-columns: 1.8fr 1fr;
        gap: 10px;
        padding: 30px;
    }
    .implant-tax .implant-tax__title {
        font-size: 35px;
    }
}

@media (max-width: 991px) {
    .implant-options__item {
        flex-basis: 45%;
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .ih-hero {
        padding: 30px 0;
    }
    .ih-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .ih-eyebrow {
        font-size: 10px;
        letter-spacing: 1px;
    }
    .ih-hero .ih-title {
        font-size: 36px;
    }
    .ih-benefits {
        margin-bottom: 24px;
        font-size: 15px;
    }
    .ih-start-price {
        font-size: 17px;
    }
    .ih-start-price strong {
        font-size: 24px;
    }
    .ih-cta {
        width: 100%;
        padding: 17px 22px;
        font-size: 15px;
    }
    .ih-visual {
        gap: 8px;
    }
    .ih-jaw {
        transform: rotate(-4deg);
    }
    .ih-tech {
        justify-content: flex-start;
        gap: 10px;
    }
    .ih-tech strong {
        font-size: 16px;
    }
    .ih-tech span {
        font-size: 11px;
    }
    .ih-proof {
        grid-template-columns: 1fr;
        margin-top: 24px;
    }
    .ih-proof__item {
        gap: 24px;
    }
    .ih-proof__item + .ih-proof__item {
        border-top: 1px solid #d6edef;
        border-left: 0;
    }
    .ih-value {
        font-size: 34px;
    }
    .ih-proof p {
        font-size: 15px;
    }
    .ih-period {
        font-size: 11px;
    }

    .implant-eyebrow {
        font-size: 11px;
        letter-spacing: .8px;
    }
    .implant-cost {
        padding: 35px 0;
    }
    .implant-cost .implant-cost__title,
    .implant-guarantee .implant-guarantee__title,
    .implant-tax .implant-tax__title {
        font-size: 30px;
        line-height: 1.2;
    }
    .implant-cost__title br,
    .implant-guarantee__title br,
    .implant-consult__title br,
    .implant-tax__subtitle br {
        display: none;
    }
    .implant-cost__lead {
        font-size: 17px;
    }
    .implant-cost__cards {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .implant-cost__image img {
        max-height: 240px;
    }
    .implant-cost__body {
        padding: 24px;
    }
    .implant-cost .implant-cost__name {
        margin-bottom: 18px;
    }
    .implant-cost__price {
        font-size: 32px;
    }
    .implant-cost__btn {
        padding: 17px 20px;
        font-size: 16px;
    }
    .implant-cost__package {
        padding: 18px;
        font-size: 15px;
    }
    .implant-cost__extra {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
    }
    .implant-cost .implant-cost__extra h3 {
        font-size: 28px;
    }
    .implant-cost .implant-cost__services-head h3 {
        font-size: 30px;
    }
    .implant-cost__services-head span {
        display: none;
    }
    .implant-cost__services dl > div {
        display: block;
        padding: 17px 0;
        font-size: 17px;
    }
    .implant-cost__services dd {
        margin-top: 7px;
        font-size: 20px;
    }
    .implant-cost__bottom p {
        font-size: 14px;
    }

    .implant-options {
        padding: 24px 0 30px;
    }
    .implant-options .implant-options__title {
        font-size: 25px;
    }
    .implant-options__items {
        display: grid;
        grid-template-columns: 1fr;
        gap: 11px;
    }
    .implant-options__item {
        gap: 15px;
        padding: 18px;
        font-size: 16px;
    }
    .implant-dialog {
        padding: 30px 23px;
        font-size: 16px;
    }
    .implant-dialog h2 {
        font-size: 29px;
    }
    .implant-dialog__note {
        font-size: 14px;
    }

    .implant-benefit-tag {
        margin-bottom: 14px;
        font-size: 10px;
    }
    .implant-benefit-picture--equipment img {
        max-height: 300px;
    }

    .implant-guarantee {
        padding: 35px 0 45px;
    }
    .implant-guarantee__header {
        display: block;
    }
    .implant-guarantee__icon {
        width: 58px;
        height: 64px;
        margin-bottom: 23px;
        border-radius: 15px;
    }
    .implant-guarantee__icon svg {
        width: 43px;
        height: 43px;
    }
    .implant-guarantee__lead {
        margin-top: 17px !important;
        font-size: 16px;
    }
    .implant-guarantee__grid {
        grid-template-columns: 1fr;
        margin-top: 27px;
        border-radius: 16px;
    }
    .implant-guarantee__item {
        padding: 24px;
    }
    .implant-guarantee__item + .implant-guarantee__item {
        border-top: 1px solid #dceef0;
        border-left: 0;
    }
    .implant-guarantee__bottom {
        margin-top: 22px;
        padding: 23px;
    }
    .implant-guarantee__bottom .implant-btn {
        gap: 12px;
        padding: 15px 20px;
        font-size: 14px;
    }

    .implant-consult__grid {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .implant-consult__copy {
        padding: 28px 0 0;
    }
    .implant-consult .implant-eyebrow {
        font-size: 9px;
        letter-spacing: .8px;
    }
    .implant-consult .implant-consult__title {
        font-size: 29px;
    }
    .implant-consult__lead {
        font-size: 17px;
    }
    .implant-consult__meta {
        gap: 18px;
    }
    .implant-consult__meta strong {
        font-size: 30px;
    }
    .implant-consult__meta span {
        padding-left: 18px;
        font-size: 14px;
    }
    .implant-consult__ct {
        font-size: 13px;
    }
    .implant-consult__list {
        font-size: 16px;
    }
    .implant-consult .implant-btn {
        width: 100%;
        font-size: 15px;
    }
    .implant-consult__team {
        height: clamp(220px, 62vw, 340px);
        min-height: 0;
        margin-top: 24px;
        overflow: hidden;
    }
    .implant-consult__doctor--surgeon {
        left: -10%;
        width: 88%;
        height: 100%;
    }
    .implant-consult__doctor--orthopedist {
        right: -6%;
        width: 70%;
        height: 100%;
    }
    .implant-consult__details {
        padding: 0 22px;
    }
    .implant-consult__details summary {
        padding: 21px 0;
        font-size: 16px;
    }
    .implant-consult__details ol,
    .implant-consult__details p {
        font-size: 15px;
    }

    .implant-tax__banner {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 28px 24px 12px;
        border-radius: 18px;
    }
    .implant-tax .implant-btn {
        width: 100%;
    }
    .implant-tax__illustration {
        max-width: 230px;
        margin-top: 8px;
    }
    /* Кнопка под картинкой: блок текста «прозрачный» для сетки, кнопку ставим последней */
    .implant-tax__banner {
        padding-bottom: 24px;
    }
    .implant-tax__copy {
        display: contents;
    }
    .implant-tax__illustration {
        order: 1;
        /* Видимые отступы сверху и снизу ~40px: у текста снизу 25px + межстрочный «воздух», у SVG внутри поля 15px сверху и 12px снизу */
        margin-top: -8px;
        margin-bottom: 24px;
    }
    .implant-tax .implant-btn {
        order: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    .implant-options__item,
    .implant-btn,
    .implant-cost__details summary span,
    .implant-consult__details summary span {
        transition: none;
    }
}

/* ==========================================================================
   Планшеты (768–1199px)
   ========================================================================== */

/* Строка «100% / ∞ / 99%»: круг и текст рядом (раньше float — текст обтекал круг) */
.implant-proofs .fichers {
    display: flex;
    align-items: center;
    gap: 15px;
}
.implant-proofs .fichers .marker-implants {
    float: none;
    flex-shrink: 0;
    margin-right: 0;
}
.implant-proofs .fichers p {
    margin: 0;
}

@media (min-width: 768px) and (max-width: 1199px) {
    /* Варианты лечения: по 3 в ряд (5 плашек → 3 + 2) */
    .implant-options__item {
        flex-basis: 30%;
    }

    /* Строка «100% / ∞ / 99%»: круг поменьше, чтобы тексту хватало ширины */
    .implant-proofs .fichers .marker-implants {
        display: grid;
        place-items: center;
        width: 80px;
        height: 80px;
        padding: 0;
        font-size: 24px;
    }
    .implant-proofs .fichers .marker-implants svg {
        width: 56px;
        height: auto;
    }
    .implant-proofs .fichers p {
        font-size: 16px;
        line-height: 1.45;
    }
}

/* Карусель (769–1199px; на ≤768px у неё мобильная раскладка шаблона) */
@media (min-width: 769px) and (max-width: 1199px) {
    /* Заголовок мельче, колонки 55/45 */
    .implant-benefits .implant-benefit-body {
        grid-template-columns: 55% 45%;
    }
    .implant-benefits .benefit-heading {
        font-size: 40px;
        line-height: 1.15;
    }
    /* Старые фото слайдов: без увеличения ×1.452 и сдвига — вписываем в колонку целиком */
    .implant-benefits .implant-benefit-picture.isDesktop,
    .implant-benefits .implant-benefit-picture.implant-benefit-certificate {
        display: flex;
        align-items: center;
        justify-content: center;
        left: 0;
        height: auto;
        margin-top: 0;
        margin-left: 24px;
        transform: none;
    }
    .implant-benefits .implant-benefit-picture.isDesktop img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 520px;
        margin: 0 auto;
    }
    .implant-benefits .implant-benefit-picture--equipment {
        margin-left: 24px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    /* «Хирург и ортопед»: на планшете только текст, фото врачей скрыты */
    .implant-consult__grid {
        display: block;
        min-height: 0;
    }
    .implant-consult__copy {
        padding: 40px 0;
    }
    .implant-consult__team {
        display: none;
    }
}

/* Карточки стоимости на 768–1023px: одна колонка, картинка слева, текст справа */
@media (min-width: 768px) and (max-width: 1023px) {
    .implant-cost__cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .implant-cost__card {
        flex-direction: row;
    }
    .implant-cost__image {
        display: flex;
        flex: 0 0 40%;
        align-items: center;
    }
    .implant-cost__image img {
        aspect-ratio: auto;
    }
    .implant-cost__body {
        padding: 26px;
    }
    .implant-cost__price {
        font-size: 30px;
    }
    .implant-cost__btn {
        align-self: flex-start;
        width: auto;
        padding: 16px 24px;
        font-size: 15px;
    }
}

/* «Имплантация — золотой стандарт» на 768–991px — как на мобильном: фото врача скрыто, текст на всю ширину */
@media (min-width: 768px) and (max-width: 991px) {
    .jelly-wrapper .row > .hidden-sm-down {
        display: none;
    }
    .jelly-wrapper .row > .doctor-motivation {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Видеоотзывы. В шаблоне сетка в один ряд (grid-auto-flow: column) с колонками auto-fill по 200px:
   если все 6 не помещаются (экран уже ~1380px), лишние видео сжимаются и обрезаются.
   До 740px работает мобильный слайдер шаблона — его не трогаем. */
@media (min-width: 740px) and (max-width: 1199.98px) {
    #feedback .stage-6 {
        display: grid;
        grid-auto-flow: row;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1200px) {
    #feedback .stage-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

/* Серая полоса между «Почему важно восстановить зуб вовремя?» и «Стоимостью» — высотой как оранжевая
   линия под первым экраном (border-bottom 7px у .ih-hero). Было 50px. */
section.implant-awareness {
    margin-bottom: 7px;
}

/* Серый блок «100% / ∞ / 99%» + «Подробнее о вариантах лечения»: одинаковые отступы сверху и снизу.
   Было: сверху 25px, снизу 45px + 50px (margin-top у квиза). */
.implant-proofs {
    padding-top: 50px;
}
.implant-options {
    padding-bottom: 50px;
}
section.quiz-section {
    margin-top: 0;
}
@media (max-width: 767px) {
    .implant-proofs {
        padding-top: 32px;
    }
    .implant-options {
        padding-bottom: 32px;
    }
}

/* Всплывающие окна «Отсроченная имплантация» и «Имплантация одного зуба»: иконка и заголовок в одну строку */
.implant-dialog__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 8px 0 20px;
}
.implant-dialog__head .implant-dialog__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin: 0;
}
.implant-dialog .implant-dialog__head h2 {
    margin: 0;
}
@media (max-width: 767px) {
    .implant-dialog__head {
        gap: 12px;
    }
    .implant-dialog__head .implant-dialog__icon {
        width: 34px;
        height: 34px;
    }
}

/* ==========================================================================
   Ширина страницы как в макете: контент 1320px (было: .wrapper — 1200px, .container — 1360px).
   Только содержимое страницы (.content), шапка и футер не меняются.
   ========================================================================== */
.content .wrapper {
    max-width: 1400px; /* border-box: 1320px контента + 2 × 40px поля */
}
.content .container {
    max-width: 1400px; /* внутри у блоков .container свои поля 40px → те же 1320px */
}
/* В слайдах карусели .wrapper наследует content-box от Swiper — там max-width это ширина контента */
.implant-benefits .swiper-slide > .wrapper {
    max-width: 1320px;
}
/* Исключение: «Почему важно восстановить зуб вовремя?» — как в макете, на сетке сайта (контент 1200px) */
.content .implant-awareness > .wrapper {
    max-width: 1280px; /* border-box: 1200px контента + 2 × 40px поля */
}

/* Блок «Более 5 800 / Более 128» — отдельной секцией под оранжевой линией первого экрана, как в макете */
.ih-hero {
    padding-bottom: 60px;
}
.ih-stats {
    padding: 32px 0 0;
    background: #fff;
    font-family: Montserrat, Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #565b5f;
}
.ih-stats * {
    box-sizing: border-box;
}
.ih-stats p {
    margin: 0;
}
.ih-stats .ih-proof {
    margin-top: 0;
}
.ih-stats .ih-proof p {
    margin-top: 7px;
}
@media (max-width: 767px) {
    .ih-hero {
        padding-bottom: 30px;
    }
    .ih-stats {
        padding-top: 24px;
    }
    /* под цифрами сразу белый блок «Почему важно…», без серой полосы */
    section.implant-awareness {
        margin-top: 0;
    }
}

/* «Почему важно восстановить зуб вовремя?» — типографика как в макете (там базовый шрифт 18px, заголовок 40px),
   у сайта по умолчанию 20px и 50px. */
.implant-awareness .awareness-heading {
    font-size: 40px;
    line-height: 1.15;
    color: #565b5f;
}
.implant-awareness .awareness-text {
    font-size: 18px;
    line-height: 1.6;
    color: #565b5f;
}
.implant-awareness .awareness-list p {
    margin-top: .5em;
}
@media (max-width: 767px) {
    .implant-awareness .awareness-heading {
        font-size: 30px;
        line-height: 1.2;
    }
    .implant-awareness .awareness-text {
        font-size: 16px;
    }
}

/* Меньше белого между «Пожизненной гарантией» и «Этапами лечения»:
   было 75px (гарантия) + 100px (этапы сверху) + 30px (заголовок) = 205px, стало — только отступ гарантии */
section.implant-steps {
    padding-top: 0;
}
section.implant-steps h2 {
    margin-top: 0;
}

/* «Золотой стандарт»: фото врача, обрезанное по «желе» (canvas рисует implant.js поверх <img>) */
.jelly-wrapper .hidden-sm-down picture {
    position: relative;
}
/* Сбрасываем глобальные стили «.jelly-wrapper canvas» (они для самого «желе»: left 50%, translate, min-height…).
   Положение и размер маски = рамка <img>, их выставляет implant.js. */
.jelly-wrapper canvas.jelly-photo-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    min-width: 0;
    max-width: none;
    min-height: 0;
    max-height: none;
    margin: 0;
    transform: none;
    z-index: auto;
    pointer-events: none;
    display: none;
}
.jelly-wrapper.jelly-photo-masked canvas.jelly-photo-mask {
    display: block;
}
.jelly-wrapper.jelly-photo-masked .hidden-sm-down picture img {
    visibility: hidden;
    transition: none; /* у img на сайте transition: .3s — без этого полное фото мелькает поверх маски */
}

/* Карусель на десктопе (≥1200px): фото в слайдах не выходят за блок по высоте.
   Шаблон увеличивает их ×1.452 — верх уходил за край слайда. Без увеличения: фото на всю высоту слайда,
   в правой колонке (от 65% контента до того же места справа, что и в шаблоне), прижато к низу.
   Сертификат All-on-4 и вырезанное оборудование и так помещаются — их не трогаем. */
@media (min-width: 1200px) {
    .implant-benefits .implant-benefit-picture.isDesktop:not(.implant-benefit-certificate) {
        position: absolute;
        top: 0;
        bottom: 0;
        /* Контент .wrapper: min(1320px, 100% − 80px). Левый край = начало правой колонки (65% контента). */
        left: calc(50% + 0.15 * min(1320px, 100% - 80px));
        /* Правый край — как у фото в шаблоне: на 130px правее контента, но не дальше края окна */
        right: max(0px, calc((100% - min(1320px, 100% - 80px)) / 2 - 130px));
        width: auto;
        height: auto;
        margin: 0;
        transform: none;
    }
    .implant-benefits .implant-benefit-picture.isDesktop:not(.implant-benefit-certificate) picture,
    .implant-benefits .implant-benefit-picture.isDesktop:not(.implant-benefit-certificate) img {
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: contain;
        object-position: center bottom;
    }
    /* Фото вынуто из потока — высоту слайда задаёт Swiper (по самому высокому), поэтому текст центрируем по вертикали */
    .implant-benefits .swiper-slide.implant-benefits-slider {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    /* Отступ текста от фото */
    .implant-benefits .implant-benefit-info {
        padding-right: 48px;
    }
}

/* Мобильная версия: меньше отступ между «Виды имплантов» и «Реальные истории возвращения улыбки» */
@media (max-width: 767px) {
    /* Сильнее шаблонного .implant-new__parallax { padding-bottom: 150px } — не зависит от порядка подключения стилей */
    section.implant-new__types .implant-new__parallax {
        padding-bottom: 24px;
    }
}
/* Параллакс шаблона на ≤991px выключается (destroy), но сдвиг слоя, набранный на десктопе, остаётся — сбрасываем */
@media (max-width: 991px) {
    .implant-new__parallax .implant-new__parallax-wrapper {
        transform: none !important;
    }
}

/* Мобильная версия: «Оправдать Ваше доверие…» — отступ сверху как снизу.
   Снизу 50px задаёт карусель (её фон начинается на 50px ниже, фото слайда заходит в этот отступ). */
@media (max-width: 767px) {
    section.implant-recommendation .h3 {
        margin-top: 50px;
    }
}

/* Мобильная версия: меньше отступ между FAQ и «Налоговым вычетом» (было 80px снизу у FAQ + 30px сверху у вычета) */
@media (max-width: 767px) {
    section.opinions.pb-xxl:has(+ section.implant-tax) {
        padding-bottom: 32px;
    }
    section.opinions + section.implant-tax {
        padding-top: 0;
    }
}

/* Мобильная версия: серая полоса между «Налоговым вычетом» и формой «Не нашли ответ на свой вопрос?» —
   7px, как полоса под «Почему важно восстановить зуб вовремя?» (было 105px; в шаблоне 40px) */
@media (max-width: 767px) {
    .content .form-block-doctor.form-block-doctor__change {
        padding-top: 7px;
    }
}

/* Первый экран: кнопка «Получить консультацию» на мобильном — под «3D-сканер Medit i700 · Diagnocat».
   В разметке две кнопки: в .ih-copy (десктоп/планшет) и .ih-cta--mobile в .ih-visual (только ≤767px). */
.ih-hero .ih-cta--mobile {
    display: none;
}
@media (max-width: 767px) {
    .ih-hero .ih-copy .ih-cta {
        display: none;
    }
    .ih-hero .ih-cta--mobile {
        display: flex;
        margin-top: 24px;
    }
}

/* Первый экран, мобильная версия: у челюсти одинаковый видимый отступ сверху (до цены) и снизу (до «Цифрового планирования») ~39px.
   Было 81px сверху: 22px у цены + 34px сетки + прозрачное поле картинки. */
@media (max-width: 767px) {
    .ih-hero .ih-jaw {
        margin-top: -42px;
    }
}

/* «Имплантация — золотой стандарт» на ≤820px: то же, что правило «.jelly-wrapper canvas» выше (top −250px, +480px),
   но с селектором сильнее шаблонного «.jelly-wrapper canvas {top: -150px; max-height: calc(100% + 380px)}».
   Иначе при другом порядке подключения стилей (например, под администратором) белое «желе» уезжает на ~100px вниз
   и заголовок оказывается на сером фоне. */
@media (max-width: 820px) {
    .content section.jelly-wrapper > canvas {
        max-width: none;
        width: auto;
        min-height: 100%;
        max-height: calc(100% + 480px);
        top: -250px;
    }
}

/* FAQ: ответ начинается сразу под вопросом (отступ задаёт кнопка вопроса — 24px). Убрали ведущий <br> в разметке,
   а у первого абзаца/списка ответа обнуляем верхний отступ wysiwyg (23px). */
.content .opinions .answers__dropdown [itemprop="text"] > :first-child {
    margin-top: 0;
}

/* FAQ, мобильная версия: номер и вопрос в одну строку (в шаблоне номер отдельной строкой над вопросом).
   Справа у вопроса место под иконку +/× (она абсолютная, right 23px, 18px). */
@media (max-width: 767px) {
    .content .opinions .answers__handler {
        flex-direction: row;
        align-items: baseline;
    }
    .content .opinions .answers__index {
        flex: 0 0 auto;
        margin-right: 10px;
    }
    .content .opinions .answers__label {
        flex: 1 1 auto;
        min-width: 0;
        margin-top: 0;
        /* В шаблоне у вопроса margin-right 40px под иконку — заменяем на свой отступ, чтобы не было двойного */
        margin-right: 0;
        padding-right: 33px;
    }
}

/* End */
/* /include/uslugi_land/implant/assets/css/implant.css?179449176658648 */
