/* Fedoseev breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
:root {
    --clinic-dark: #27313d;
    --clinic-muted: #eef1ef;
    --clinic-sage: #cfd5d1;
    --clinic-warm: #ded0c4;
    --clinic-line: #d8dbda;
    --clinic-text: #27313d;
    --clinic-white: #fff;
    --clinic-container: 1420px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--clinic-text);
    background: #fff;
    font-family: 'TT Fors';
    font-size: 16px;
    line-height: 1.45;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.clinic-container { width: min(calc(100% - 48px), var(--clinic-container)); margin-inline: auto; }
.section-space { padding-top: 118px; padding-bottom: 118px; }
.muted-section { background: var(--clinic-muted); }
.section-kicker { margin-bottom: 20px; font-size: 13px; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; font-weight: 500 !important; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 64px; font-size: clamp(31px, 2.1vw, 43px); font-weight: 500 !important; line-height: 1.08; text-transform: uppercase; }
.display-heading { font-size: clamp(36px, 3vw, 61px); font-weight: 500; line-height: 1.08; text-transform: uppercase; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 54px; }
.text-link { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; text-transform: uppercase; white-space: nowrap; font-weight: 500 !important; }
.text-link:hover { opacity: .65; }
.clinic-btn { min-height: 46px; padding: 12px 24px; border: 0; border-radius: 2px; color: var(--clinic-text); font-size: 14px; text-transform: uppercase; background: var(--clinic-sage); transition: opacity .2s ease, transform .2s ease; }
.clinic-btn:hover { opacity: .82; transform: translateY(-1px); }
.clinic-btn--warm { background: var(--clinic-warm); }
.clinic-btn--pale {
    min-width: 340px;
    background: #eadede;
    font-weight: 700;
    width: 100%;
    max-width: 460px;
    font-size: 18px;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.clinic-btn--wide { min-height: 58px; }

/* Header */
.site-header { position: relative; z-index: 1000; background: #fff; }
.header-top { position: relative; z-index: 1; min-height: 88px; color: #354752; font-size: 16px; line-height: 1.4; }
.header-top .clinic-container { position: relative; min-height: 88px; }
.header-top .clinic-container::after { position: absolute; right: 0; bottom: -1px; left: 0; z-index: 2; height: 1px; content: ''; background: #7d8288; }
.header-address { opacity: .6; transform: translateY(2px); }
.header-phone { transform: translateY(2px); }
.header-phone a { color: var(--clinic-text); font-size: 20px; font-weight: 700; line-height: 1; letter-spacing: .35px; }
.header-top .clinic-container > .d-flex { gap: 26px !important; }
.header-top .clinic-btn { display: inline-flex !important; align-items: center; justify-content: center; flex: 0 0 277px; width: 277px; height: 52px; min-height: 52px; padding: 0 16px; border-radius: 6px; background: #ded2c6; font-size: 20px; line-height: 1; }
.header-main { min-height: 145px; background: #fff; transition: box-shadow .2s ease; }
.header-main .clinic-container { min-height: 145px; }
.header-main.is-sticky { position: fixed; top: 0; right: 0; left: 0; min-height: 82px; box-shadow: 0 10px 30px rgba(39,49,61,.08); }
.header-main.is-sticky .clinic-container { min-height: 82px; }
.site-header.has-sticky { padding-bottom: 145px; }
.clinic-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.clinic-brand__image { width: 220px; height: 74px; }
.header-main.is-sticky .clinic-brand__image { width: 180px; height: auto; }
.header-nav { display: block; flex: 1 1 auto; min-width: 0; margin-left: auto; }
.clinic-menu { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 1px clamp(10px, 1.32vw, 25.31px); margin: 0; padding: 0; list-style: none; }
.clinic-menu__item a { position: relative; display: block; padding: 0; font-size: 18px; line-height: 24px; white-space: nowrap; }
.clinic-menu__item a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; content: ''; background: var(--clinic-dark); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.clinic-menu__item a:hover::after, .clinic-menu__item.is-active a::after { transform: scaleX(1); }
.accessibility-toggle { display: block; flex: 0 0 40px; width: 40px; height: 26px; margin-left: 34px; padding: 0; border: 0; background: transparent; }
.accessibility-toggle img { width: 40px; height: 26px; object-fit: fill; }
.navbar-toggler { display: none; width: 40px; height: 32px; border: 0; padding: 0; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { position: relative; display: block; width: 40px; height: 32px; border-top: 4px solid #354752; border-bottom: 4px solid #354752; background: none; }
.navbar-toggler-icon::before { position: absolute; top: 10px; right: 0; left: 0; height: 4px; content: ''; background: #354752; }
.offcanvas .clinic-menu { align-items: stretch; flex-direction: column; gap: 0; }
.offcanvas .clinic-menu__item a { padding: 14px 0; border-bottom: 1px solid #eee; font-size: 18px; }
.accessibility-panel { position: relative; z-index: 1200; color: #000; background: #ffd600; }
.access-control { min-height: 38px; padding: 6px 12px; border: 2px solid #000; background: #fff; font-weight: 700; }
.access-control--large { font-size: 22px; }
body.access-font-large { font-size: 20px; }
body.access-font-large .clinic-menu__item a { font-size: 17px; }
body.access-contrast { color: #fff; background: #000; }
body.access-contrast section, body.access-contrast header, body.access-contrast footer, body.access-contrast .header-main, body.access-contrast .header-top { color: #fff !important; background: #000 !important; }
body.access-contrast a, body.access-contrast h1, body.access-contrast h2, body.access-contrast h3 { color: #fff !important; }
body.access-hide-images img, body.access-hide-images [style*="background-image"] { visibility: hidden !important; }
body.access-hide-images .hero-card, body.access-hide-images .appointment-collage, body.access-hide-images .map-offline-placeholder { background-image: none !important; }

/* Hero */
.hero-section { padding-bottom: 92px; }
.hero-card { position: relative; min-height: 710px; overflow: hidden; background-position: center; background-size: cover; }
.hero-card::after { position: absolute; inset: 0; content: ''; background: rgba(226,219,216,.22); }
.hero-card h1 { position: relative; z-index: 2; max-width: 920px; padding: 42px 38px; font-size: clamp(25px, 2.05vw, 39px); font-weight: 400; line-height: 1.18; text-transform: uppercase; }
.hero-patients { position: absolute; z-index: 2; top: 36px; right: 34px; display: grid; align-items: start; gap: 3px; }
.hero-patients strong { display: flex; align-items: center; gap: 3px; white-space: nowrap; font-size: 30px; letter-spacing: 0; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.hero-patients strong span { display: inline-block; min-width: .62em; text-align: center; }
.hero-patients small { padding-left: 2px; font-size: 11px; line-height: 1.05; text-transform: uppercase; }
.hero-award { position: absolute; z-index: 2; bottom: 38px; left: 38px; width: 155px; height: 155px; object-fit: cover; }

/* Services */
.section-intro { max-width: 460px; font-size: 15px; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 42px; }
.service-card { position: relative; min-height: 95px; padding: 8px 10px 8px 20px; border-left: 5px solid var(--accent); transition: background .2s ease; }
.service-card:hover { background: #f4f5f4; }
.service-card strong { display: block; font-size: 21px; font-weight: 400; line-height: 1.15; text-transform: uppercase; }
.service-card span { display: block; margin-top: 5px; font-size: 13px; }
.service-card--big { grid-column: span 2; min-height: 150px; padding: 32px 250px 20px 32px; border: 0; border-radius: 18px; background: #f3e84d; }
.service-card--big:hover { background: #ede13c; }
.service-card--big .kids-logo { position: absolute; top: 18px; right: 24px; width: 205px; height: auto; margin: 0; }

/* Treatment */
.treatment-section { padding-bottom: 128px; }
.treatment-heading { max-width: 600px; margin-bottom: 58px; font-size: 40px; line-height: 56px; }
.treatment-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(180px, 1fr); gap: 18px; height: 418px; align-items: stretch; }
.treatment-card { position: relative; display: grid; grid-template-columns: minmax(260px, 380px) minmax(0, 1fr); height: 418px; min-height: 0; overflow: visible; border-radius: 0; background: transparent; }
.treatment-card::before { position: absolute; top: 48px; right: 0; bottom: 48px; left: 0; z-index: 0; border-radius: 20px; content: ''; background: #dfdbd7; }
.treatment-card__media { position: relative; z-index: 1; width: min(368px, calc(100% - 12px)); height: 418px; min-height: 0; margin-left: 12px; background: url('/local/templates/clinic/assets/images/doctor-plan-desktop.png') center / 100% 100% no-repeat; }
.treatment-card__tile { display: none; }
.treatment-card__copy { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 44px 0 32px; }
.treatment-card .section-kicker { margin-bottom: 12px; font-size: 23px; line-height: 34px; }
.treatment-feature__text { font-size: 24px; line-height: 34px; }
.treatment-note { height: 418px; min-height: 0; padding: 0 18px 0 20px; border-left: 2px solid #d4d5d7; font-size: 13px; line-height: 19px; }
.treatment-note p { margin-bottom: 20px; }
.treatment-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; row-gap: 22px; min-height: 181px; margin-top: -2px; padding-top: 27px; border-top: 2px solid #d4d5d7; }
.treatment-steps article, .treatment-steps article:not(:first-child) { min-height: 0; padding: 0; border: 0; }
.treatment-steps h3 { margin-bottom: 14px; font-size: 19px; font-weight: 400; line-height: 25px; text-transform: uppercase; }
.treatment-steps p { margin: 0; color: var(--clinic-text); font-size: 16px; line-height: 22px; }
.treatment-button { display: flex; align-items: center; justify-content: center; width: 340px; min-width: 340px; height: 48px; min-height: 48px; margin-top: 19px; padding: 0 18px; border-radius: 4px; background: #ded2c6; font-size: 20px; line-height: 22px; }

/* Slider navigation is maintained in assets/css/slider-arrows.css. */
.offer-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; padding: 34px; background: #fff; }
.offer-card small { color: #74797e; }
.offer-card h3 { max-width: 480px; font-size: 29px; font-weight: 400; line-height: 1.18; text-transform: uppercase; }
.offer-card > div { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.offer-card strong { font-size: 28px; font-weight: 400; }
.offer-card span { font-size: 12px; text-transform: uppercase; }
.person-card__image { position: relative; display: block; overflow: hidden; aspect-ratio: 1/1; background: #ddd; }
.person-card__image--placeholder { background: #e4e6e8; }
.ambassador-card::after, .tech-card::after { position: absolute; inset: 0; content: ''; background: rgba(39,49,61,0); transition: background .2s ease; }
.page-home .reviews-swiper, .page-home .stories-swiper, .page-home .media-swiper { overflow: visible !important; }
.person-card__image:hover::after, .ambassador-card:hover::after, .tech-card:hover::after { background: rgba(39,49,61,.2); }
.person-card img, .story-card img { width: 100%; height: 100%; object-fit: cover; }
.person-card h3, .story-card h3 { margin: 22px 0 7px; font-size: 16px; }
.person-card p, .story-card p { margin-bottom: 5px; font-size: 12px; }
.person-card small, .story-card small { font-size: 11px; color: #757b7e; }
.play-button { position: absolute; z-index: 3; right: 18px; bottom: 18px; display: grid; place-items: center; width: 48px; height: 48px; padding-left: 3px; border-radius: 50%; color: var(--clinic-dark); background: rgba(255,255,255,.9); font-size: 17px; }
.play-button--large { top: 50%; right: auto; bottom: auto; left: 50%; width: 80px; height: 80px; font-size: 28px; transform: translate(-50%, -50%); }
.story-card h3 a { color: inherit; }
.story-comparison { --comparison-position: 18%; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #ddd; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.story-comparison__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.story-comparison__after { position: absolute; inset: 0; overflow: hidden; clip-path: inset(0 0 0 var(--comparison-position)); }
.story-comparison__handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--comparison-position); width: 28px; padding: 0; border: 0; outline: 0; background: transparent; color: #fff; cursor: ew-resize; transform: translateX(-50%); }
.story-comparison__handle::before { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; content: ''; background: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(39,49,61,.08); transform: translateX(-50%); }
.story-comparison__handle:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }
.story-comparison__arrows { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; gap: 7px; width: 28px; height: 24px; transform: translate(-50%, -50%); }
.story-comparison__arrow { display: block; width: 0; height: 0; filter: drop-shadow(0 1px 1px rgba(39,49,61,.28)); }
.story-comparison__arrow--left { border-top: 5px solid transparent; border-right: 6px solid #fff; border-bottom: 5px solid transparent; }
.story-comparison__arrow--right { border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 6px solid #fff; }
.story-comparison.is-dragging .story-comparison__arrow--left { border-right-color: #f4f4f4; }
.story-comparison.is-dragging .story-comparison__arrow--right { border-left-color: #f4f4f4; }

/* Dent Friend */
.dentfriend-section { color: #fff; background: var(--clinic-dark); }
.dentfriend-logo { width: min(410px, 56vw); height: auto; }
.dentfriend-description { max-width: 860px; margin: 58px auto 0; font-size: 14px; text-align: center; }
.ambassador-card { position: relative; display: block; min-height: 455px; overflow: hidden; background: #111; }
.ambassador-card img { width: 100%; height: 100%; object-fit: cover; }
.ambassador-card span { position: absolute; z-index: 3; right: 20px; bottom: 18px; left: 20px; color: #fff; }
.ambassador-card strong, .ambassador-card small { display: block; }
.ambassador-card strong { font-size: 19px; text-transform: uppercase; }
.ambassador-card small { margin-top: 5px; font-size: 12px; }

/* Ratings and media */
.ratings-section { background: var(--clinic-sage); }
.ratings-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr; gap: 18px; }
.ratings-grid--count-1 { grid-template-columns: minmax(0, 1fr); }
.ratings-grid--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ratings-grid--count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rating-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 30px; border-radius: 8px; background: #fff; color: #272f39; text-decoration: none; }
a.rating-card:hover { transform: translateY(-3px); }
.rating-card h3 { font-family: Georgia, serif; font-size: 27px; }
.rating-card__logo { display: flex; align-items: flex-start; flex: 0 0 48px; height: 48px; }
.rating-card__logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 48px; object-fit: contain; object-position: left top; }
.rating-card__logo--forbes img { width: 124px; }
.rating-card__logo--yandex img { width: 108px; }
.rating-card__logo--2gis img { width: 116px; }
.rating-card__logo--prodoctorov img { width: 214px; }
.rating-card__award-text { margin-top: auto; max-width: 290px; color: #272f39; font-size: 13px; font-weight: 700; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
.rating-card__score { display: flex; align-items: flex-end; gap: 1px; margin-top: auto; line-height: 1; }
.rating-card strong { margin-top: auto; font-size: 35px; font-weight: 500; }
.rating-card span { margin-bottom: 3px; color: #272f39; font-size: 12px; line-height: 1.15; font-weight: 500; }
.media-card { display: flex; flex-direction: column; min-height: 270px; padding: 36px; border-radius: 8px; color: #272f39; background: #f6f3f2; }
.media-card__source { display: block; flex: 0 0 26px; height: 26px; font-family: Georgia, serif; font-size: 26px; line-height: 26px; }
.media-card__source img { display: block; width: auto; height: 26px; max-width: 100%; object-fit: contain; object-position: left top; }
.media-card h3 { margin: 41px 0 0; font-size: 18px; font-weight: 700; line-height: 25px; letter-spacing: .4px; text-transform: uppercase; }
.media-card span { margin-top: auto; color: #71767a; font-size: 12px; line-height: 17px; text-decoration: underline; text-transform: uppercase; }

/* Blog and video */
.blog-swiper .swiper-slide { height: auto; }
.blog-card { position: relative; display: block; overflow: hidden; height: 100%; min-height: 320px; background: #ddd; }
.blog-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover img { transform: scale(1.02); }
.blog-card strong { position: absolute; right: 0; bottom: 0; left: 0; padding: 14px 20px; background: #cdb9a6; font-size: 13px; text-align: center; text-transform: uppercase; }
.clinic-today h2 { margin-bottom: 58px; }
.clinic-video-mosaic { position: relative; display: block; overflow: hidden; width: 100%; aspect-ratio: 1420 / 795; background: #dedbd9; }
.clinic-video-mosaic__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* Mission */
.mission-copy { max-width: 1160px; }
.mission-copy .section-kicker { margin-bottom: 28px; font-size: 15px; }
.mission-copy h2 { max-width: 1160px; margin-bottom: 72px; font-size: 43px; font-weight: 400; line-height: 1.17; letter-spacing: -.015em; overflow-wrap: anywhere; }
.mission-copy h2 span { display: block; }
.stats-grid article { min-height: 220px; padding-left: 28px; border-left: 5px solid #9b8175; }
.stats-grid strong { display: block; font-size: clamp(58px, 5vw, 95px); font-weight: 300; line-height: .9; }
.stats-grid h3 { margin: 8px 0 20px; font-size: 31px; font-weight: 400; text-transform: uppercase; }
.stats-grid p { max-width: 340px; color: #5f666b; font-size: 13px; }

/* Technologies */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tech-card { position: relative; overflow: hidden; min-height: 0; background: #eceeed; height: 340px;}
.tech-card img { width: 100%; height: 100%; object-fit: cover; }
.tech-card strong { position: absolute; z-index: 3; top: 20px; right: auto; left: 20px; color: #fff; font-size: 14px; text-transform: uppercase; /* background: #00000045; */ padding: 5px 10px; }
.tech-card--1 { grid-column: 1 / 3;}
/* .tech-card--2 { grid-column: 7 / 10; grid-row: 1; } */
/* .tech-card--3 { grid-column: 1 / 4; grid-row: 2; } */
.tech-card--4 { grid-column: 3 / 5; }
/* .tech-card--5 { grid-column: 4 / 8; grid-row: 3; } */
.tech-card--6 { order: 1; }
/* .tech-card--4 strong, .tech-card--5 strong { color: #fff; } */

.services-catalog__copy {
    padding: 0;
}
.about-doctor-card__content strong {
    max-width: 340px;
    font-size: 22px !important;
    line-height: 34px !important;
}
.about-doctor-card__content small {
    font-size: 16px !important;
    margin: 0 !important;
}
.about-doctor-card__content {
    height: 120px;
    transition: all ease .2s;
    left: 0 !important;
    padding: 20px 20px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.about-doctor-card:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all ease .2s;
    background: #272F39CC;
}
.about-doctor-card__desc p {
    margin: auto 0 0;
}
.about-doctor-card:hover:after {
    opacity: 1;
}
.about-doctor-card__desc {
    opacity: 0;
    transition: all ease .2s;
    padding: 20px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.about-doctor-card:hover .about-doctor-card__content {
    bottom: 0;
    height: 100%;
}
.about-doctor-card:hover .about-doctor-card__desc {
    opacity: 1;
}
.about-doctor-card__desc strong {
    line-height: inherit !important;
    font-size: inherit !important;
    max-width: none;
    display: inline !important;
    text-transform: none !important;
    font-weight: bold !important;
}

.tech-card__empty.empty-1 {
    border-right: #F0E65A 10px solid;
}
.tech-card__empty.empty-2 {
    border-right: #ABCAE9 40px solid;
}
.tech-card__empty.empty-3 {
    border-left: #D2BEBE 60px solid;
}
.tech-card__empty.empty-5 {
    border-right: #AAB4AA 20px solid;
}

.about-stat:nth-child(1) {
    border-width: 10px;
}
.about-stat:nth-child(3) {
    border-width: 8px;
}
.about-stat:nth-child(5) {
    border-width: 6px;
}
.about-stat:nth-child(6) {
    border-width: 2px;
}
.about-history .about-history__years {
    /* grid-template-columns: repeat(4, 15.5%) 1fr; */
}

/* First visit / form / contacts */
.first-visit-video { position: relative; display: block; min-height: 700px; overflow: hidden; }
.first-visit-video img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.appointment-section { background: #fff; }
.appointment-heading { width: calc(50% - 10px); margin-bottom: 58px; }
.appointment-section h2 { margin-bottom: 28px; }
.appointment-lead { max-width: 690px; margin-bottom: 0; font-size: 14px; line-height: 1.55; }
.appointment-mobile-break { display: none; }
.appointment-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.appointment-form { min-width: 0; padding: 0; height: 100%; }
.clinic-webform, .clinic-webform form {
    height: 100%;
}
.appointment-collage { width: 100%; height: 700px; min-height: 700px; overflow: hidden; background: url('/local/templates/clinic/assets/images/form-collage-desktop.png') center / 100% 100% no-repeat; }
.clinic-webform form { margin: 0; }
.clinic-webform .row { display: flex; margin: 0; flex-direction: column; height: 100%; }
.clinic-webform .form-question--consent + .col-12 {
    margin: auto 0 0 !important;
}
.dentfriend-intro, .dentfriend-tasks, .dentfriend-workshop, .dentfriend-teens {
    padding: 128px 0;
}
.dentfriend-teens {
    padding-top: 0 !important;
    padding-bottom: 128px;
}
.clinic-webform .row > * { width: 100%; margin: 0; padding: 0; }
.clinic-webform .form-question:not(.form-question--consent) { height: 74px; }
.clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 16px; }
.clinic-webform .form-label { display: block; margin: 0 0 2px; color: #4f565c; font-size: 15px; line-height: 20px; }
.clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.clinic-webform textarea,
.clinic-webform select { display: block; width: 100%; height: 52px; min-height: 52px; margin: 0; padding: 8px 0 7px; border: 0; border-bottom: 1px solid #7d8288; border-radius: 0; outline: none; color: var(--clinic-text); background: transparent; box-shadow: none; font-size: 20px; line-height: 31px; }
.clinic-webform textarea { resize: none; overflow: hidden; }
.clinic-webform input::placeholder, .clinic-webform textarea::placeholder { color: var(--clinic-text); opacity: 1; }
.clinic-webform input:focus, .clinic-webform textarea:focus, .clinic-webform select:focus { border-color: var(--clinic-dark); box-shadow: none; }
.clinic-consent { position: relative; display: block; margin: 0; padding: 0; font-size: 14px; line-height: 20px; cursor: pointer; }
/* .clinic-consent .form-check-input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; } */
.form-check { display: grid; grid-template-columns: 2, 1fr; gap: 10px; }
.clinic-consent a { text-decoration: underline; }
.clinic-consent-error { display: none; margin-top: 8px; color: #9a2c2c; font-size: 12px; }
.clinic-consent-error.is-visible { display: block; }
.clinic-webform .form-question--consent { margin-top: 18px; }
.clinic-webform .form-question--consent + .col-12 { margin-top: auto; }
.clinic-webform .clinic-btn--wide { width: 100%; height: 73px; min-height: 73px; margin: 0; border-radius: 10px; background: #F0E65A; font-size: 18px; }
.appointment-form .required { display: none; }
.required { margin-left: 3px; color: #9a2c2c; }
.contacts-section { background: #f3f0ef; }
.contacts-head h2 { font-size: 22px; line-height: 1.35; margin: 0; }
.contacts-head > a { font-size: 23px; font-weight: 500; }
.map-frame { position: relative; height: 650px; overflow: hidden; background: #e5e3e2; }
.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1) contrast(.82) brightness(1.04);
    opacity: 1;
}
.clinic-map-marker { position: absolute; z-index: 3; top: 43%; left: 34.5%; width: 36px; height: 52px; pointer-events: none; background: linear-gradient(145deg, #aaa 0%, #8e8e8e 56%, #565656 100%); clip-path: polygon(50% 100%, 42% 77%, 30% 67%, 17% 61%, 8% 51%, 5% 38%, 8% 24%, 17% 12%, 31% 4%, 50% 1%, 69% 4%, 83% 12%, 92% 24%, 95% 38%, 92% 51%, 83% 61%, 70% 67%, 58% 77%); filter: drop-shadow(0 3px 2px rgba(39,49,61,.32)); transform: translate(-50%, -100%); }
.clinic-map-marker span { display: none; }

/* Footer and modals */
.site-footer { padding: 78px 0 88px; color: #fff; background: var(--clinic-dark); }
.footer-grid { display: grid; grid-template-columns: repeat(4, clamp(200px, 250px, 300px)) 1fr; gap: 20px; }
.site-footer h3 { margin-bottom: 16px; font-size: 24px; font-weight: 500; line-height: 34px; text-transform: uppercase; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li + li { margin-top: 16px; }
.footer-menu a { color: #f1f3f4; font-size: 16px; line-height: 22px; }
.footer-menu a:hover { color: #fff; text-decoration: underline; }
.footer-legal { display: flex; flex-direction: column; min-height: 360px; color: #f1f3f4; font-size: 13px; line-height: 1.5; }
.footer-legal a { text-decoration: underline; }
.footer-design { margin-top: auto; font-size: 14px; }
.clinic-modal { position: relative; border: 0; border-radius: 10px; }
.clinic-modal > .btn-close { position: absolute; z-index: 2; top: 36px; right: 36px; }
.clinic-modal h2 { margin-bottom: 12px; }
.review-links { display: grid; gap: 12px; }
.review-links a, .review-links .review-link { display: block; padding: 15px 18px; background: #eef1ef; text-transform: uppercase; }
.review-links a:hover { background: #dfe4e0; }
.review-link--disabled { color: #7b817d; cursor: default; }
.inner-page { min-height: 60vh; }
.inner-page > h1 { margin-bottom: 42px; font-size: clamp(36px, 4vw, 72px); font-weight: 400; text-transform: uppercase; }

.footer-policy a {
    color: #F0E65A;
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .clinic-container { width: min(calc(100% - clamp(48px, 7.5vw, 72px)), var(--clinic-container)); }
    .section-head { align-items: flex-start; flex-wrap: wrap; }
    .section-head > h2 { min-width: 0; }
    .section-head .slider-controls { flex: 0 0 auto; }
}

@media (max-width: 959.98px) {
    :root { --clinic-container: 1100px; }
    .hero-card { min-height: 570px; }
    .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ratings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tech-grid { grid-template-rows: repeat(3, 200px); }
}

@media (max-width: 959.98px) {
    .tech-card__empty { display: none; }
    .section-space { padding-top: 80px; padding-bottom: 80px; }
    .hero-section { padding-bottom: 60px; }
    .hero-card { min-height: 500px; }
    .hero-card h1 { max-width: 75%; padding: 28px 24px; }
    .hero-award { width: 118px; height: 118px; bottom: 20px; left: 20px; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-card--big { grid-column: span 2; }
    .ambassador-card { min-height: 360px; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
    .tech-card { grid-column: auto !important; grid-row: auto !important; min-height: 260px; }
    .first-visit-video { min-height: 470px; }
    .mission-copy h2 { font-size: 34px; }
    .map-frame { height: 480px; }
    .footer-grid { grid-template-columns: 1fr 1fr 1.05fr; column-gap: 54px; row-gap: 44px; }
    .footer-column--patients { grid-column: 1; grid-row: 1; }
    .footer-column--useful { grid-column: 2; grid-row: 1; }
    .footer-column--services { grid-column: 1; grid-row: 2; }
    .footer-column--other { grid-column: 2; grid-row: 2; }
    .footer-legal { grid-column: 3; grid-row: 1 / span 2; min-height: 100%; }
}

@media (max-width: 374.98px) {
    .clinic-container { width: min(calc(100% - 28px), var(--clinic-container)); }
    .clinic-container .row { --bs-gutter-x: 1.5rem; }
    .hero-section { width: 100%; }
    .hero-card { min-height: 520px; border-radius: 0; background-position: 55% center; }
    .hero-card h1 { max-width: none; padding: 22px 16px; font-size: 24px; }
    .hero-patients { top: auto; right: 16px; bottom: 22px; }
    .hero-patients strong { font-size: 22px; }
    .hero-award { width: 105px; height: 105px; }
    .display-heading { font-size: 31px; }
    .services-grid { grid-template-columns: 1fr; gap: 26px; }
    .service-card { min-height: 76px; }
    .service-card--big { grid-column: auto; min-height: 150px; padding: 22px 150px 18px 20px; }
    .service-card--big .kids-logo { top: 24px; right: 14px; width: 132px; }
    .section-head { align-items: flex-end; flex-wrap: wrap; margin-bottom: 36px; }
    .section-head > .d-flex { flex-wrap: wrap; }
    .reviews-section .section-head > .d-flex,
    .stories-section .section-head > .d-flex { flex-direction: row-reverse; justify-content: space-between; width: 100%; }
    .offer-card { min-height: 310px; padding: 25px; }
    .offer-card h3 { font-size: 22px; }
    .ratings-grid { grid-template-columns: 1fr; }
    .rating-card { min-height: 160px; }
    .blog-card { min-height: 240px; }
    .story-comparison { --comparison-position: 20%; }
    .clinic-today h2 { margin-bottom: 26px; }
    .clinic-video-mosaic { aspect-ratio: 327 / 183.074; }
    .mission-copy .section-kicker { margin-bottom: 15px; font-size: 12px; }
    .mission-copy h2 { margin-bottom: 40px; font-size: 24px; line-height: 1.18; letter-spacing: 0; }
    .mission-copy h2 span { display: inline; }
    .mission-copy h2 span:not(:last-child)::after { content: " "; }
    .stats-grid article { min-height: auto; }
    .clinic-btn--pale { min-width: 100%; }
    .tech-grid { grid-template-columns: 1fr; }
    .first-visit-video { min-height: 320px; }
    .play-button--large { width: 62px; height: 62px; }
    .contacts-head { align-items: flex-start; flex-direction: column; gap: 16px; }
    .contacts-head h2 { font-size: 18px; }
    .contacts-head > a { font-size: 18px; }
    .map-frame { height: 520px; }
    .clinic-map-marker { top: 44%; left: 44%; width: 32px; height: 46px; }
    .site-footer { padding: 52px 0 38px; }
    .footer-grid { display: block; }
    .footer-column + .footer-column { margin-top: 36px; }
    .footer-menu a { font-size: 14px; }
    .footer-legal { min-height: 0; margin-top: 34px; }
    .footer-design { margin-top: 34px; }
}


/* Treatment responsive layouts: 375–959.98px and compact below 375px. */
@media (min-width: 375px) and (max-width: 959.98px) {
    .treatment-section { padding-bottom: 36px; }
    .treatment-container { width: calc(100% - clamp(48px, 7.5vw, 72px)); max-width: none; margin-inline: auto; }
    .treatment-heading { max-width: none; margin-bottom: clamp(35px, 4.4vw, 42px); font-size: clamp(28px, 4.17vw, 40px); line-height: 1.4; }
    .treatment-layout { display: block; height: auto; }
    .treatment-card { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); width: 100%; height: auto; overflow: hidden; border-radius: 20px; background: #dfdbd7; }
    .treatment-card::before { display: none; }
    .treatment-card__media { width: calc(100% - clamp(48px, 7.5vw, 72px)); max-width: 282px; height: auto; min-height: 280px; margin: clamp(24px, 3.75vw, 36px) auto 0; background-image: url('/local/templates/clinic/assets/images/doctor-plan-tablet.png'); background-size: cover; }
    .treatment-card__copy { height: auto; min-height: 320px; padding: clamp(24px, 3.75vw, 36px); }
    .treatment-note { width: 700px; max-width: 100%; height: auto; margin-top: 28px; padding: 0; border-left: 0; font-size: 15px; line-height: 22px; }
    .treatment-note .section-kicker { margin-bottom: 12px; font-size: 16px; line-height: 22px; }
    .treatment-steps { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); grid-template-rows: none; column-gap: 20px; min-height: 0; margin-top: 21px; }
    .treatment-steps article, .treatment-steps article:nth-child(even), .treatment-steps article:nth-child(odd) { min-height: 105px; padding: 0; border: 0; }
    .treatment-button { width: 100%; min-width: 0; }
}

@media (max-width: 374.98px) {
    .treatment-section { padding-bottom: 32px; }
    .treatment-container { width: calc(100% - 48px); max-width: none; margin-inline: auto; }
    .treatment-heading { max-width: none; margin-bottom: 35px; font-size: 28px; line-height: 39px; }
    .treatment-layout { display: block; height: auto; }
    .treatment-card { display: grid; grid-template-columns: 1fr; grid-template-rows: 536px 317px; width: 100%; height: 853px; overflow: hidden; border-radius: 18px; background: #dfdbd7; }
    .treatment-card::before { display: none; }
    .treatment-card__copy { grid-row: 1; justify-content: flex-start; height: 536px; padding: 25px 25px 11px; }
    .treatment-card__media { grid-row: 2; width: calc(100% - 48px); height: 317px; margin: 0 24px; background-image: url('/local/templates/clinic/assets/images/doctor-plan-mobile.png'); }
    .treatment-note { width: 100%; height: auto; margin-top: 28px; padding: 0; border-left: 0; font-size: 15px; line-height: 22px; }
    .treatment-note .section-kicker { margin-bottom: 12px; font-size: 16px; line-height: 22px; }
    .treatment-steps { grid-template-columns: 1fr; grid-template-rows: 127px 152px 127px 127px; row-gap: 22px; min-height: 628px; margin-top: 21px; }
    .treatment-steps article, .treatment-steps article:nth-child(even), .treatment-steps article:nth-child(odd) { min-height: 0; padding: 0; border: 0; }
    .treatment-button { width: 100%; min-width: 0; }
}

/* Header responsive layouts: desktop from 960px, adaptive 375–959.98px, compact below 375px. */
@media (min-width: 375px) and (max-width: 959.98px) {
    .header-top { display: none; }
    .header-main, .header-main .clinic-container { min-height: 222px; }
    .header-main .clinic-container { display: flex !important; flex-wrap: wrap; align-content: flex-start; width: min(calc(100% - clamp(48px, 7.5vw, 72px)), var(--clinic-container)); padding-top: 27px; padding-bottom: 24px; }
    .header-main.is-sticky { position: relative; min-height: 222px; box-shadow: none; }
    .header-main.is-sticky .clinic-container { min-height: 222px; }
    .site-header.has-sticky { padding-bottom: 0; }
    .header-nav { display: none; }
    .accessibility-toggle { order: 1; width: 40px; height: 34px; margin-left: 0; }
    .navbar-toggler { display: block; order: 2; margin-left: auto; }
    .header-main .clinic-brand { order: 3; width: 100%; margin-top: 27px; }
    .clinic-brand__image, .header-main.is-sticky .clinic-brand__image { width: min(229px, 100%); height: auto; }
}

@media (max-width: 374.98px) {
    .header-top { display: none; }
    .header-main, .header-main .clinic-container { min-height: 222px; }
    .header-main .clinic-container { display: flex !important; flex-wrap: wrap; align-content: flex-start; width: min(calc(100% - 48px), var(--clinic-container)); padding-top: 27px; padding-bottom: 24px; }
    .header-main.is-sticky { position: relative; min-height: 222px; box-shadow: none; }
    .header-main.is-sticky .clinic-container { min-height: 222px; }
    .site-header.has-sticky { padding-bottom: 0; }
    .header-nav { display: none; }
    .accessibility-toggle { order: 1; width: 40px; height: 34px; margin-left: 0; }
    .navbar-toggler { display: block; order: 2; margin-left: auto; }
    .header-main .clinic-brand { order: 3; width: 100%; margin-top: 27px; }
    .header-main .clinic-brand__image, .header-main.is-sticky .clinic-brand__image { width: 327px; height: 110px; max-width: 100%; }
}


/* Appointment form: desktop from 960px, adaptive 375–959.98px, compact below 375px. */
@media (min-width: 960px) {
    .appointment-heading { position: relative; top: -13px; margin-bottom: 51.375px; }
    .appointment-section { padding-bottom: 96px; }
    .appointment-lead { font-size: 18px; line-height: 25px; }
    .clinic-webform .form-question:not(.form-question--consent) { height: 104px; }
    .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 64px; }
    .clinic-webform .form-label { position: relative; top: 5px; margin-bottom: 0; font-size: 18px; line-height: 25px; }
    .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .clinic-webform textarea,
    .clinic-webform select { height: 79px; min-height: 79px; padding: 11px 0 7px; font-size: 32px; line-height: 58px; }
    .clinic-consent { font-size: 14px; line-height: 20px; }
    .clinic-webform .form-question--consent { margin-top: 18px; }
    .clinic-webform .form-question--consent + .col-12 { margin-top: 108px; }
    .clinic-webform .clinic-btn--wide { height: 98px; min-height: 98px; font-size: 24px; }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .appointment-section { padding-top: 48px; padding-bottom: 35.16px; }
    .appointment-section .clinic-container { width: calc(100% - clamp(48px, 7.5vw, 72px)); max-width: none; }
    .appointment-heading { position: relative; top: -1px; width: 100%; margin-bottom: 32.8px; }
    .appointment-section h2 { position: relative; top: -4px; margin-bottom: 28px; font-size: 40px; line-height: 1.08; }
    .appointment-lead { font-size: 18px; line-height: 25px; }
    .appointment-layout { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
    .appointment-collage { width: 100%; height: auto; min-height: 0; aspect-ratio: 1 / 1; background-image: url('/local/templates/clinic/assets/images/form-collage-tablet.png'); }
    .clinic-webform .form-question:not(.form-question--consent) { height: 104px; }
    .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 62px; }
    .clinic-webform .form-label { position: relative; top: 5px; margin-bottom: 4px; font-size: 18px; line-height: 19px; }
    .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .clinic-webform textarea,
    .clinic-webform select { height: 79px; min-height: 79px; padding: 13px 0 7px; font-size: 32px; line-height: 58px; }
    .clinic-consent { font-size: 14px; line-height: 20px; }
    .clinic-webform .form-question--consent { margin-top: 18px; }
    .clinic-webform .form-question--consent + .col-12 { margin-top: 88px; }
    .clinic-webform .clinic-btn--wide { height: 98px; min-height: 98px; font-size: 24px; }
}

@media (max-width: 374.98px) {
    .appointment-section { padding-top: 24px; padding-bottom: 24px; }
    .appointment-section .clinic-container { width: calc(100% - 48px); max-width: none; }
    .appointment-heading { width: 100%; margin-bottom: 22px; }
    .appointment-section h2 { margin-bottom: 19px; font-size: 28px; line-height: 1.25; }
    .appointment-lead { font-size: 18px; line-height: 25px; }
    .appointment-mobile-break { display: block; }
    .appointment-layout { display: flex; flex-direction: column; gap: 20px; }
    .appointment-collage { order: -1; width: 100%; height: auto; min-height: 0; aspect-ratio: 327 / 328; background-image: url('/local/templates/clinic/assets/images/form-collage-desktop.png'); }
    .appointment-form { padding: 0; }
}


@media (min-width: 375px) and (max-width: 599.98px) {
    .appointment-collage {
        background-image: url('/local/templates/clinic/assets/images/form-collage-desktop.png');
    }
}
@media (max-width: 599.98px) {
    .appointment-lead a[href^="tel:"] {
        display: inline-block;
        white-space: nowrap;
    }
    .appointment-lead a[href^="tel:"] br.appointment-mobile-break {
        display: none;
    }
}

/* Generic standard bitrix:news pages */
.content-card { height: 100%; overflow: hidden; background: #f2f4f2; }
.content-card__image { display: block; aspect-ratio: 4/3; overflow: hidden; }
.content-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.content-card:hover .content-card__image img { transform: scale(1.025); }
.content-card__body { padding: 28px; }
.content-card h2 { margin-bottom: 16px; font-size: 24px; text-transform: none; }
.content-card__text { margin-bottom: 24px; color: #60676c; }
.content-detail { max-width: 1050px; }
.content-detail__image { width: 100%; max-height: 680px; margin-bottom: 42px; object-fit: cover; }
.content-detail__text { font-size: 18px; line-height: 1.7; }
.content-properties { margin-top: 50px; border-top: 1px solid #ddd; }
.content-properties > div { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid #ddd; }
.content-properties dt { font-weight: 700; }
.content-properties dd { margin: 0; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; }
.blog-filter button { padding: 10px 18px; border: 1px solid #bfc5c2; border-radius: 30px; background: transparent; }
.blog-filter button.is-active, .blog-filter button:hover { color: #fff; background: var(--clinic-dark); border-color: var(--clinic-dark); }
.blog-catalog-card .content-card__image { position: relative; }

.article-author { display: flex; align-items: center; gap: 18px; margin: 0 0 32px; padding: 20px; background: #eef1ef; }
.article-author img { width: 82px; height: 82px; object-fit: cover; }
.article-author div { display: grid; gap: 3px; }
.article-author small { color: #747b77; text-transform: uppercase; }
.article-author strong { font-size: 18px; }
.article-author span { color: #747b77; }
.service-faq { margin-bottom: 118px; }
.service-faq > h2 { margin-bottom: 28px; }
.faq-doctor-card { display: grid; gap: 8px; }
.faq-doctor-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 10px; background: #eef1ef; }
.faq-doctor-card strong { font-size: 20px; }
.faq-doctor-card span { color: #747b77; }
.clinic-faq-accordion .accordion-item { border-color: #d9ddda; }
.clinic-faq-accordion .accordion-button { padding: 22px 0; font-size: 20px; font-weight: 500; box-shadow: none; }
.clinic-faq-accordion .accordion-button:not(.collapsed) { color: inherit; background: transparent; }
.clinic-faq-accordion .accordion-body { padding: 0 0 24px; }


/* About page: first screen — supplied 1920 / 960 / 375 SVG mockups. */

@media (min-width: 960px) and (max-width: 1491.98px) {
    .about-hero__title { width: clamp(600px, calc(166.917px + 45.1128vw), 840px); }
}

/* About page: mission */

/* About page: complete layout */

/* «Интерьер клиники»: точная геометрия и кадрирование из макетов 375 / 960 / 1920. */

@media (max-width: 374.98px) {
    /* Fallback without JavaScript: keep the featured year visible and do not hide continuation years. */
}
html:has(body.page-about), body.page-about, body.page-about main { max-width: 100%; overflow-x: clip; }
@media (max-width: 374.98px) {
    .clinic-container,
    .treatment-container,
    .appointment-section .clinic-container,
    .about-hero__container,
    .about-mission__container,
    .page-about .clinic-today .clinic-container,
    .about-stats__container,
    .about-interior__container,
    .about-history__container,
    .about-principles__container,
    .about-values__container,
    .about-advantages__container,
    .about-safety__container,
    .about-doctors__container { width: calc(100% - 32px); }
    .about-values__pattern,
    .about-values__pattern::before,
    .page-about .tech-card,
    .page-about .reviews-section .person-card__image,
    .page-about .stories-section .story-comparison { width: 100%; max-width: 100%; }
    .about-values__pattern--right,
    .about-values__pattern--left { margin-left: 0; }
    .about-values__pattern--right::before,
    .about-values__pattern--left::before { left: 0; }
}


/* Rating cards are hidden until approved links are filled. Keep the remaining grid balanced. */
.page-about .ratings-grid--count-1 { grid-template-columns: minmax(0, 1fr); }
.page-about .ratings-grid--count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-about .ratings-grid--count-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-about .ratings-grid--count-1 { grid-template-columns: minmax(0, 1fr); }
    .page-about .ratings-grid--count-2,
    .page-about .ratings-grid--count-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
}
@media (max-width: 374.98px) {
    .ratings-grid--count-1,
    .ratings-grid--count-2,
    .ratings-grid--count-3,
    .page-about .ratings-grid--count-1,
    .page-about .ratings-grid--count-2,
    .page-about .ratings-grid--count-3 { grid-template-columns: 1fr; }
}

/* Fedoseev /about/: статичный первый экран. Непрефиксованный fallback нужен
 * на случай старой композитной разметки без класса page-about на body. */

/* Fedoseev /about/: итоговая визуальная сверка с макетами 1920 / 960 / 375.
 * Здесь только локальные исправления проблемных изображений. Геометрия, типографика
 * и отступы остальных секций не переопределяются. */

.stories-swiper {
    margin: 0 0 64px;
}

@media (max-width: 1344px) {
    .footer-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (max-width: 768px) {
    .page-about .about-stats__actions, .about-stats__actions {
        grid-template-columns: 1fr !important;
        display: grid;
    }
}
@media (max-width: 550px) {
    .home-blog-grid {
        grid-template-rows: 200px 210px !important;
    }
    .dentfriend-plan-grid article {
        min-height: 0 !important;
        grid-template-columns: 1fr !important;
    }
    .dentfriend-plan-grid small {
        font-size: 18px !important;
        line-height: 25px;
        font-weight: 500;
        padding: 24px 0 0 24px;
        margin: -22px 0 0;
        border-left: 5px solid #cdb9a6;
    }
    .dentfriend-plan-grid h3 {
        margin: 24px 0 0 !important;
    }
    .dentfriend-plan-grid p {
        margin: 24px 0 !important;
        padding: 0 0 0 24px !important;
        font-size: 16px !important;
    }
    .dentfriend-plan-grid strong {
        margin: 0 0 -22px 0 !important;
        padding: 0 0 24px 24px !important;
        font-size: 40px !important;
        line-height: 40px !important;
        font-weight: 500 !important;
        border-left: 5px solid #cdb9a6;
    }
}
@media (max-width: 425px) {
    .tech-grid {
        grid-template-columns: 1fr !important;
    }
}


/* ===== services-mega-menu.css ===== */
/* Fedoseev services dropdown. Project breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
.services-mega-menu[hidden] {
    display: none !important;
}

.services-mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 990;
    height: 973px;
    overflow: hidden;
    color: #272f39;
    background: rgba(222, 216, 210, 1);
}

.services-mega-menu.is-fixed {
    position: fixed;
    top: var(--services-menu-fixed-top, 0);
}

.services-mega-menu .services-mega-menu__inner {
    width: calc(100% - 48px);
    height: 100%;
    padding-top: 41px;
}

.services-mega-menu__title {
    display: block;
    color: #272f39;
    font-size: 28px;
    font-weight: 400;
    line-height: 28px;
    text-transform: uppercase;
}

.services-mega-menu__nav {
    margin-top: 34px;
}

.services-mega-menu__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-mega-menu__item {
    display: flex;
    min-width: 0;
    min-height: 50px;
    border-left: 6px solid var(--services-menu-accent, #27313d);
}

.services-mega-menu__item a {
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding-left: 14px;
    color: #272f39;
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    text-transform: uppercase;
}

.services-mega-menu__item a:hover,
.services-mega-menu__item a:focus-visible {
    opacity: .68;
}

.services-mega-menu-open .clinic-menu__item--services > a::after {
    transform: scaleX(1);
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .services-mega-menu .services-mega-menu__inner {
        width: calc(100% - clamp(48px, 7.5vw, 72px));
    }
}

@media (max-width: 374.98px) {
    .services-mega-menu .services-mega-menu__inner {
        width: calc(100% - 48px);
    }

    .services-mega-menu__item a {
        font-size: 17px;
        line-height: 24px;
    }
}

@media (min-width: 960px) {
    .services-mega-menu {
        height: clamp(670px, calc(670px + (100vw - 960px) * .00208334), 672px);
    }

    .services-mega-menu .services-mega-menu__inner {
        width: min(calc(100% - 72px), 1420px);
        padding-top: clamp(50px, calc(50px + (100vw - 960px) * .0291667), 78px);
    }

    .services-mega-menu__title {
        font-size: 40px;
        line-height: 40px;
    }

    .services-mega-menu__nav {
        margin-top: clamp(38px, calc(38px + (100vw - 960px) * .0291667), 66px);
    }

    .services-mega-menu__list {
        --services-menu-column-min: clamp(434px, calc(434px + (100vw - 960px) * .0488722), 460px);
        grid-template-columns: repeat(auto-fit, minmax(var(--services-menu-column-min), 1fr));
        column-gap: 20px;
        row-gap: 64px;
    }

    .services-mega-menu__item a {
        padding-left: 15px;
        font-size: 18px;
        line-height: 25px;
    }
}

/* ===== client-decisions.css ===== */
/* Client decisions package. Fedoseev breakpoints: desktop >=960; adaptive 375–959.98; compact <375. */

/* Accessibility mode: same site, simplified presentation and persistent controls. */
.accessibility-panel {
    position: sticky;
    top: 0;
    z-index: 1300;
    border-bottom: 2px solid #000;
    color: #000;
    background: #fff;
}
.accessibility-panel__inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 20px;
    min-height: 72px;
    padding-block: 12px;
}
.accessibility-panel__title { font-size: 18px; }
.accessibility-panel__group { display: flex; align-items: center; gap: 8px; }
.accessibility-panel__group > span { font-size: 14px; }
.accessibility-panel__close { margin-left: auto; }
.access-control[aria-pressed="true"] { color: #fff; background: #000; }
body.accessibility-mode *,
body.accessibility-mode *::before,
body.accessibility-mode *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
}
body.accessibility-mode a:focus-visible,
body.accessibility-mode button:focus-visible,
body.accessibility-mode input:focus-visible,
body.accessibility-mode textarea:focus-visible,
body.accessibility-mode select:focus-visible {
    outline: 3px solid currentColor !important;
    outline-offset: 3px;
}
body.accessibility-mode .hero-card::after,
body.accessibility-mode .map-frame::after { opacity: .08; }
body.accessibility-mode .header-main.is-sticky { position: relative !important; top: auto !important; }
body.accessibility-mode .site-header.has-sticky { padding-bottom: 0 !important; }
body.access-contrast img { filter: grayscale(1) contrast(1.15); }

/* Only the middle header block is sticky. */
.header-main.is-sticky { z-index: 1150; }

/* Appointment/review/chief-doctor modals. */
.modal-backdrop.show {
    opacity: .68;
    background: #6f7a80;
}
.clinic-modal-shell .modal-dialog {
    width: min(700px, calc(100% - 48px));
    max-width: 700px;
    margin: 24px auto;
}
.clinic-modal-shell .clinic-modal {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 10px;
    color: #272F39;
    background: #fff;
    box-shadow: none;
}
.clinic-modal-shell--appointment .clinic-modal {
    min-height: 886px;
}
.clinic-modal-shell--chief .clinic-modal { min-height: 0; }
.clinic-modal .required { display: none; }
.clinic-modal__body { padding: 36px; }
.clinic-modal__body h2 {
    max-width: 592px;
    margin: 0 36px 12px 0;
    color: #272F39;
    font-size: 40px;
    font-weight: 500;
    line-height: 56px;
    text-transform: uppercase;
}
.clinic-modal__lead {
    max-width: 592px;
    margin: 0 0 36px;
    color: #272F39;
    font-size: 18px;
    line-height: 25px;
}
.clinic-modal__lead a { white-space: nowrap; }
.clinic-modal__close {
    position: absolute;
    z-index: 4;
    top: 36px;
    right: 36px;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    background-image: none;
    opacity: 1;
}
.clinic-modal__close::before,
.clinic-modal__close::after {
    position: absolute;
    top: 11px;
    left: 0;
    width: 24px;
    height: 2px;
    content: '';
    background: #272F39;
}
.clinic-modal__close::before { transform: rotate(45deg); }
.clinic-modal__close::after { transform: rotate(-45deg); }
.clinic-modal__close:focus-visible { outline: 2px solid #27313d; outline-offset: 4px; }

.clinic-modal .clinic-webform .row { display: block; margin: 0; }
.clinic-modal .clinic-webform .row > * { width: 100%; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
.clinic-modal .clinic-webform .form-question:not(.form-question--consent) {
    height: 102px;
    min-height: 102px;
}
.clinic-modal .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) {
    margin-top: 36px;
}
.clinic-modal .clinic-webform .form-label {
    position: static;
    display: block;
    margin: 0;
    color: #272F39;
    font-size: 18px;
    line-height: 24px;
}
.clinic-modal .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.clinic-modal .clinic-webform textarea,
.clinic-modal .clinic-webform select {
    display: block;
    width: 100%;
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    padding: 16px 0;
    border: 0;
    border-bottom: 1px solid #7d8288;
    border-radius: 0;
    color: #272F39;
    background: transparent;
    box-shadow: none;
    font-size: 32px;
    line-height: 38px;
}
.clinic-modal .clinic-webform textarea {
    resize: none;
    overflow: hidden;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
}
.clinic-modal .clinic-consent {
    color: #272F39;
    font-size: 14px;
    line-height: 20px;
}
.clinic-modal .clinic-consent a {
    color: #272F39;
    text-decoration: underline;
}
.clinic-modal .clinic-webform .form-question--consent {
    margin-top: 36px;
    min-height: 56px;
    padding-bottom: 0;
}
.clinic-modal .clinic-webform .form-question--consent + .col-12 {
    margin-top: 36px !important;
}
.clinic-modal .clinic-webform .clinic-btn--wide {
    width: 100%;
    height: 98px;
    min-height: 98px;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    background: #F0E65A;
    color: #272F39;
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}
.clinic-modal .alert { margin-bottom: 20px; }

/* The consent checkbox is visible and required in every feedback form. */
.clinic-consent {
    position: relative;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: #27313d;
    font-size: 13px;
    line-height: 1.45;
    cursor: pointer;
}
.clinic-consent .form-check-input {
    position: static;
    display: block;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 1px solid #7d8288;
    border-radius: 0;
    opacity: 1;
    cursor: pointer;
}
.clinic-consent .form-check-input:checked {
    border-color: #27313d;
    background-color: #27313d;
}
.clinic-consent .form-check-label { min-width: 0; }
.clinic-consent a { text-decoration: underline; text-underline-offset: 2px; }
.clinic-consent-error { margin-left: 28px; }

.review-links { display: grid; gap: 12px; }
.review-links .review-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    padding: 13px 18px;
    border: 0;
    border-radius: 4px;
    color: #27313d;
    background: #eef1ef;
    font: inherit;
    text-align: center;
    text-transform: uppercase;
}
.review-links .review-link--disabled { color: #7b817d; cursor: default; }
.review-links .review-link--chief { background: #ccd2cc; cursor: pointer; }
.review-links .review-link--chief:hover { filter: brightness(.96); }

/* Optional author-expert on blog article detail. */
.blog-article-author {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin: 0 0 38px;
    padding: 20px 0;
    border-top: 1px solid #9fa4a9;
    border-bottom: 1px solid #9fa4a9;
}
.blog-article-author__image {
    display: block;
    width: 86px;
    height: 86px;
    overflow: hidden;
}
.blog-article-author__image img { width: 100%; height: 100%; object-fit: cover; }
.blog-article-author__copy { display: flex; flex-direction: column; gap: 3px; }
.blog-article-author__copy small { color: #7d8288; font-size: 12px; text-transform: uppercase; }
.blog-article-author__copy strong { font-size: 17px; text-transform: uppercase; }
.blog-article-author__copy span { font-size: 13px; line-height: 1.4; }

/* FAQ at the end of service details, linked to service and doctor properties. */
.service-faq { background: #eef0ee; }
.service-faq h2 { margin-bottom: 58px; }
.service-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 80px;
    align-items: start;
}
.service-faq__layout--without-doctor { grid-template-columns: minmax(0, 1fr); }
.service-faq__item { padding: 0 0 30px; border-bottom: 1px solid #9fa4a9; }
.service-faq__item + .service-faq__item { margin-top: 30px; }
.service-faq__item h3 { margin: 0 0 16px; font-size: 21px; font-weight: 400; line-height: 1.3; text-transform: uppercase; }
.service-faq__answer { max-width: 850px; font-size: 15px; line-height: 1.55; }
.service-faq__answer > :last-child { margin-bottom: 0; }
.service-faq__doctor { position: sticky; top: 110px; }
.service-faq__doctor-image { display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #ddd; }
.service-faq__doctor-image img { width: 100%; height: 100%; object-fit: cover; }
.service-faq__doctor-copy { display: flex; flex-direction: column; gap: 5px; padding-top: 17px; }
.service-faq__doctor-copy small { color: #7d8288; font-size: 12px; text-transform: uppercase; }
.service-faq__doctor-copy strong { font-size: 17px; text-transform: uppercase; }
.service-faq__doctor-copy span { font-size: 13px; line-height: 1.4; }

/* Text-only legal pages follow the blog article rhythm. */
.legal-article-page__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
}
.legal-article-page h1 {
    max-width: 1100px;
    margin: 61px 0 58px;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
}
.legal-article-page__content {
    max-width: 940px;
    min-height: 420px;
    padding-bottom: 120px;
    font-size: 16px;
    line-height: 1.65;
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .accessibility-panel__inner { align-items: flex-start; flex-direction: column; gap: 10px; }
    .accessibility-panel__close { margin-left: 0; }

    .header-main.is-sticky {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        min-height: 222px;
        box-shadow: 0 10px 30px rgba(39,49,61,.08);
    }
    .header-main.is-sticky .clinic-container { min-height: 222px; }
    .site-header.has-sticky { padding-bottom: 222px; }

    .clinic-modal-shell .modal-dialog { width: min(700px, calc(100% - 48px)); }
    .clinic-modal-shell--appointment .clinic-modal,
.clinic-modal-shell--chief .clinic-modal { min-height: 0; }
.clinic-modal .required { display: none; }
.clinic-modal__body { padding: 36px; }
    .clinic-modal__body h2 { font-size: 40px; }

    .service-faq__layout { grid-template-columns: minmax(0, 1fr); gap: 42px; }
    .service-faq__doctor { position: static; display: grid; grid-template-columns: 220px minmax(0,1fr); gap: 20px; }
    .service-faq__doctor-copy { padding-top: 0; }

    .legal-article-page__breadcrumbs { gap: 9px; font-size: 14px; }
    .legal-article-page h1 { margin: 34px 0 32px; font-size: 28px; }
    .legal-article-page__content { min-height: 300px; padding-bottom: 64px; font-size: 15px; }
}

@media (max-width: 374.98px) {
    .accessibility-panel__inner { align-items: flex-start; flex-direction: column; gap: 10px; }
    .accessibility-panel__group { flex-wrap: wrap; }
    .accessibility-panel__close { margin-left: 0; }

    .header-main.is-sticky {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        min-height: 222px;
        box-shadow: 0 10px 30px rgba(39,49,61,.08);
    }
    .header-main.is-sticky .clinic-container { min-height: 222px; }
    .site-header.has-sticky { padding-bottom: 222px; }

    .clinic-modal-shell--appointment .clinic-modal,
    .clinic-modal-shell--chief .clinic-modal { min-height: 0; }
    .clinic-modal-shell .modal-dialog {
        width: calc(100% - 48px);
        max-width: none;
        margin: 24px auto;
    }
    .clinic-modal__body { padding: 24px; }
    .clinic-modal__body h2 {
        margin-right: 38px;
        margin-bottom: 16px;
        font-size: 28px;
        line-height: 1.38;
    }
    .clinic-modal__lead { margin-bottom: 26px; font-size: 16px; line-height: 1.4; }
    .clinic-modal__close { top: 23px; right: 22px; width: 26px; height: 26px; }
    .clinic-modal__close::before,
    .clinic-modal__close::after { top: 12px; width: 26px; }
    .clinic-modal .clinic-webform .form-question:not(.form-question--consent) { min-height: 78px; }
    .clinic-modal .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 20px; }
    .clinic-modal .clinic-webform .form-label { font-size: 15px; }
    .clinic-modal .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .clinic-modal .clinic-webform textarea,
    .clinic-modal .clinic-webform select { height: 52px; min-height: 52px; font-size: 20px; line-height: 32px; }
    .clinic-modal .clinic-webform .form-question--consent { margin-top: 24px; }
    .clinic-modal .clinic-webform .form-question--consent + .col-12 { margin-top: 40px; }
    .clinic-modal .clinic-webform .clinic-btn--wide { height: 73px; min-height: 73px; font-size: 18px; }
    .clinic-consent { font-size: 14px; line-height: 1.42; }

    .blog-article-author { grid-template-columns: 70px minmax(0, 1fr); gap: 14px; }
    .blog-article-author__image { width: 70px; height: 70px; }

    .service-faq h2 { margin-bottom: 30px; }
    .service-faq__layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .service-faq__item h3 { font-size: 18px; }
    .service-faq__doctor { position: static; display: block; }
    .service-faq__doctor-image { margin-bottom: 16px; }

    .legal-article-page__breadcrumbs { gap: 8px; height: 55px; font-size: 13px; }
    .legal-article-page h1 { margin: 30px 0 28px; font-size: 28px; }
    .legal-article-page__content { min-height: 260px; padding-bottom: 48px; font-size: 15px; }
}

/* ===== video-modal.css ===== */
body.clinic-video-modal-open {
    overflow: hidden;
}

.clinic-video-modal .modal-dialog {
    width: min(1120px, calc(100% - 32px));
    max-width: 1120px;
    margin: 16px auto;
}

.clinic-video-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #101419;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

.clinic-video-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
    padding: 14px 18px 14px 24px;
    color: #fff;
}

.clinic-video-modal__title {
    margin: 0;
    overflow: hidden;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clinic-video-modal__close {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: 0/0 a;
}

.clinic-video-modal__close::before,
.clinic-video-modal__close::after {
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
    transform-origin: center;
}

.clinic-video-modal__close::before { transform: rotate(45deg); }
.clinic-video-modal__close::after { transform: rotate(-45deg); }

.clinic-video-modal__close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.clinic-video-modal__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.clinic-video-modal__frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.clinic-video-modal__error {
    margin: 0;
    padding: 28px 24px;
    background: #fff;
    color: #172332;
    text-align: center;
}

.clinic-video-modal__source {
    display: block;
    padding: 13px 24px 15px;
    background: #101419;
    color: #fff;
    font-size: 14px;
    text-align: right;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.video-trigger {
    cursor: pointer;
}

.clinic-video-mosaic,
.first-visit-video,
.service-detail__video,
.doctor-detail__video,
.crew-intro-video,
.dentfriend-wide-video,
.dentfriend-hero {
    position: relative;
}

.clinic-video-mosaic .play-button,
.clinic-video-mosaic__play,
.service-detail__video .play-button,
.doctor-detail__video .play-button,
.crew-intro-video .play-button,
.dentfriend-wide-video .play-button,
.dentfriend-hero .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
}

@media (max-width: 959.98px) {
    .clinic-video-modal .modal-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    .clinic-video-modal__header {
        min-height: 54px;
        padding: 10px 12px 10px 16px;
    }

    .clinic-video-modal__title {
        font-size: 17px;
    }

    .clinic-video-modal__close {
        width: 38px;
        height: 38px;
    }
}

/* ===== about-page.css ===== */
/*
 Страница «О клинике»: единый файл стилей. Сформирован без изменения итогового каскада.
 */
/*
 Первый экран
 */
/*
 * Static About page hero. Geometry follows the supplied 1920/960/375 SVGs.
 */
.page-about .about-hero {
    padding: 0 0 100px;
}
.page-about .about-hero__container {
    width: min(calc(100% - clamp(48px, 7.5vw, 72px)), 1420px);
    max-width: none;
}
.page-about .about-hero__container {
    container-type: inline-size;
}
.page-about .about-hero__banner {
    display: none;
    width: 100%;
    height: auto;
    max-width: none;
}
.page-about .about-hero__responsive {
    position: absolute;
    inset: 0;
}
.page-about .about-hero__visual {
    position: relative;
    height: 710px;
    min-height: 710px;
    overflow: hidden;
    background: #e8ebef;
}
.page-about .about-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}
.page-about .about-hero__title {
    position: absolute;
    z-index: 2;
    top: 39px;
    left: 36px;
    width: 840px;
    max-width: calc(100% - 330px);
    margin: 0;
    color: #27313d;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0;
    text-transform: uppercase;
}
.page-about .about-hero__patients {
    position: absolute;
    z-index: 3;
    top: 36px;
    right: 36px;
    color: #27313d;
    text-transform: uppercase;
}
.page-about .about-hero__digits {
    display: flex;
    gap: 2px;
}
.page-about .about-hero__digits span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    color: #fff;
    background: #354752;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}
.page-about .about-hero__patients-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.05;
}
.page-about .about-hero__award,
.page-about a.about-hero__award,
.page-about span.about-hero__award.about-hero__award--image {
    position: absolute;
    z-index: 3;
    bottom: 36px;
    left: 36px;
    display: block;
    width: 156px;
    height: 156px;
    max-width: none;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.page-about .about-hero__award__img,
.page-about img.about-hero__award {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (min-width: 960px) and (max-width: 1491.98px) {
    .page-about .about-hero__title {
        width: clamp(600px, calc(166.917px + 45.1128vw), 840px);
    }
}
@media (min-width: 375px) and (max-width: 959.98px) {
    .page-about .about-hero {
        padding-bottom: clamp(31px, calc(25.231px + 1.538462vw), 40px);
    }
    .page-about .about-hero__visual {
        height: clamp(613px, calc(550.821px + 16.581197vw), 710px);
        min-height: clamp(613px, calc(550.821px + 16.581197vw), 710px);
    }
    .page-about .about-hero__title {
        top: clamp(24px, calc(15.026px + 2.393162vw), 38px);
        left: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        width: clamp(279px, calc(73.103px + 54.905983vw), 600px);
        max-width: calc(100% - 48px);
        font-size: clamp(19px, calc(15.795px + .854701vw), 24px);
        line-height: clamp(28px, calc(22.872px + 1.367521vw), 36px);
    }
    .page-about .about-hero__patients {
        top: clamp(36px, calc(331.385px - 30.769231vw), 216px);
        right: auto;
        left: clamp(24px, calc(-385px + 109.059829vw), 662px);
    }
    .page-about .about-hero__award {
        right: auto;
        bottom: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        left: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        width: clamp(156px, calc(357.846px - 21.025641vw), 279px);
        height: clamp(156px, calc(357.846px - 21.025641vw), 279px);
    }
}
@media (max-width: 374.98px) {
    .page-about .about-hero {
        padding-bottom: 31px;
    }
    .page-about .about-hero__container {
        width: calc(100% - 48px);
    }
    .page-about .about-hero__visual {
        height: 613px;
        min-height: 613px;
    }
    .page-about .about-hero__title {
        top: 24px;
        left: 24px;
        width: 279px;
        max-width: 279px;
        font-size: 19px;
        line-height: 28px;
    }
    .page-about .about-hero__patients {
        top: 216px;
        right: auto;
        left: 24px;
    }
    .page-about .about-hero__digits span {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 20px;
    }
    .page-about .about-hero__patients-label {
        margin-top: 4px;
        font-size: 12px;
    }
    .page-about .about-hero__award {
        right: 24px;
        bottom: 24px;
        left: 24px;
        width: 279px;
        height: 279px;
    }
}
/* Exact supplied 1420 × 710 banner. The responsive HTML composition remains
 * active below the native banner width for the 960 and 375 layouts. */
@container (min-width: 1420px) {
    .page-about .about-hero__visual {
        height: 710px;
        min-height: 710px;
        background: transparent;
    }
    .page-about .about-hero__banner {
        display: block;
    }
    .page-about .about-hero__responsive .about-hero__image,
    .page-about .about-hero__responsive .about-hero__patients {
        display: none !important;
    }
    .page-about .about-hero__responsive .about-hero__title {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0 0 0 0) !important;
        clip-path: inset(50%) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }
}
/*
 Остальные секции страницы
 */
/*
 * Fedoseev /about/ — финальный слой геометрии страницы.
 * Загружается последним и фиксирует значения из SVG 1920 / 960 / 375,
 * не затрагивая остальные страницы сайта.
 */
.page-about,
.page-about button,
.page-about input,
.page-about textarea,
.page-about select { }
/* About page: first screen — supplied 1920 / 960 / 375 SVG mockups. */
.about-hero {
    padding: 0 0 100px;
}
.about-hero__container {
    width: min(calc(100% - 48px), 1420px);
    max-width: none;
}
.about-hero__visual {
    position: relative;
    height: 710px;
    min-height: 710px;
    overflow: hidden;
    background: #e8ebef;
}
.about-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}
.about-hero__title {
    position: absolute;
    z-index: 2;
    top: 39px;
    left: 36px;
    width: clamp(600px, calc(166.917px + 45.1128vw), 840px);
    max-width: calc(100% - 330px);
    margin: 0;
    color: #27313d;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0;
    text-transform: uppercase;
}
.about-hero__patients {
    position: absolute;
    z-index: 3;
    top: 36px;
    right: 36px;
    color: #27313d;
    text-transform: uppercase;
}
.about-hero__digits {
    display: flex;
    gap: 2px;
}
.about-hero__digits span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    color: #fff;
    background: #354752;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}
.about-hero__patients-label {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.05;
}
.about-hero__award {
    position: absolute;
    z-index: 3;
    bottom: 36px;
    left: 36px;
    display: block;
    width: 156px;
    height: 156px;
    max-width: none;
    object-fit: cover;
}
/* About page: mission */
.about-mission {
    padding: 0 0 99px;
}
.about-mission__container {
    width: min(calc(100% - 48px), 1420px);
}
.about-mission__label {
    margin: 0 0 28px;
    font-size: 40px;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.about-mission__title {
    margin: 0;
    color: #27313d;
    font-size: 40px;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
}
.about-mission__text {
    display: none;
}
.about-mission__text span {
    display: block;
    font-weight: 700;
}
.about-mission__text--desktop {
    display: block;
}
@media (min-width: 375px) and (max-width: 959.98px) {
    .about-hero {
        padding-bottom: clamp(31px, calc(25.231px + 1.538462vw), 40px);
    }
    .about-hero__container {
        width: calc(100% - clamp(48px, 7.5vw, 72px));
        max-width: none;
    }
    .about-hero__visual {
        height: clamp(613px, calc(550.821px + 16.581197vw), 710px);
        min-height: clamp(613px, calc(550.821px + 16.581197vw), 710px);
    }
    .about-hero__image {
        object-position: center center;
    }
    .about-hero__title {
        top: clamp(24px, calc(15.026px + 2.393162vw), 38px);
        left: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        width: clamp(279px, calc(73.103px + 54.905983vw), 600px);
        max-width: calc(100% - 48px);
        font-size: clamp(19px, calc(15.795px + .854701vw), 24px);
        line-height: clamp(28px, calc(22.872px + 1.367521vw), 36px);
    }
    .about-hero__patients {
        top: clamp(36px, calc(331.385px - 30.769231vw), 216px);
        right: auto;
        left: clamp(24px, calc(-385px + 109.059829vw), 662px);
    }
    .about-hero__award {
        right: auto;
        bottom: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        left: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        width: clamp(156px, calc(357.846px - 21.025641vw), 279px);
        height: clamp(156px, calc(357.846px - 21.025641vw), 279px);
    }
    .about-mission {
        padding-bottom: 39px;
    }
    .about-mission__container {
        width: calc(100% - clamp(48px, 7.5vw, 72px));
        max-width: none;
    }
    .about-mission__text--desktop {
        display: none;
    }
    .about-mission__text--tablet {
        display: block;
    }
}
@media (max-width: 374.98px) {
    .about-hero {
        padding-bottom: 31px;
    }
    .about-hero__container {
        width: calc(100% - 48px);
        max-width: none;
    }
    .about-hero__visual {
        height: 613px;
    }
    .about-hero__image {
        object-position: center;
    }
    .about-hero__title {
        top: 24px;
        left: 24px;
        width: 279px;
        font-size: 19px;
        line-height: 1.47;
    }
    .about-hero__patients {
        top: 216px;
        right: auto;
        left: 24px;
    }
    .about-hero__digits span {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
    .about-hero__patients-label {
        margin-top: 4px;
        font-size: 12px;
    }
    .about-hero__award {
        right: 24px;
        bottom: 24px;
        left: 24px;
        width: 279px;
        height: 279px;
    }
    .about-mission {
        padding-bottom: 32px;
    }
    .about-mission__container {
        width: calc(100% - 48px);
        max-width: none;
    }
    .about-mission__label {
        margin-bottom: 23px;
        font-size: 28px;
        line-height: 39px;
    }
    .about-mission__title {
        font-size: 28px;
        line-height: 39px;
    }
    .about-mission__text--desktop, .about-mission__text--tablet {
        display: none;
    }
    .about-mission__text--mobile {
        display: block;
    }
}
/* About page: complete layout */
.page-about .clinic-today {
    padding: 0 0 117px;
}
.page-about .clinic-today .clinic-container, .about-stats__container, .about-history__container, .about-principles__container, .about-values__container, .about-advantages__container, .about-safety__container, .about-doctors__container {
    width: min(calc(100% - 48px), 1420px);
}
.about-interior__container {
    width: min(calc(100% - 72px), 1420px);
}
.page-about .clinic-today h2, .about-principles h2, .about-values h2, .about-advantages h2, .about-doctors h2 {
    font-size: 40px;
    line-height: 1.1;
}
.about-interior h2, .about-history h2, .about-safety h2 {
    font-size: 40px;
    line-height: 1.1;
}
.page-about .clinic-today h2 {
    margin-bottom: 82px;
}
.page-about .clinic-video-mosaic {
    aspect-ratio: 1420 / 795;
}
.about-stats {
    min-height: 848px;
    padding: 0 0 112px;
}
.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 64px;
    row-gap: 72px;
}
.about-stat {
    min-height: 170px;
    padding: 0 0 0 28px;
    border-left: 4px solid #92796d;
}
.about-stat strong {
    display: block;
    font-size: 100px;
    font-weight: 300;
    line-height: .88;
    letter-spacing: -.04em;
}
.about-stat h3 {
    margin: 10px 0 20px;
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}
.about-stat p {
    max-width: 350px;
    margin: 0;
    color: #5e666d;
    font-size: 13px;
    line-height: 1.45;
}
.about-stats__actions {
    display: flex;
    grid-template-columns: 340px 340px;
    gap: 20px;
    margin-top: 72px;
}
.about-stats__actions .clinic-btn {
    min-width: 340px;
    background: #eadede;
    font-weight: 700;
    width: 100%;
    max-width: 460px;
    font-size: 18px;
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* «Интерьер клиники»: точная геометрия и кадрирование из макетов 375 / 960 / 1920. */
.about-interior {
    padding: 0 0 clamp(57px, calc(-71.1203px + 13.345865vw), 128px);
}
.about-interior__head {
    flex-wrap: wrap;
    row-gap: 26px;
    margin-bottom: clamp(38px, calc(16.345865px + 2.255639vw), 50px);
}
.about-interior-swiper {
    height: auto !important;
    min-height: 0;
    overflow: visible;
}
.about-interior-swiper .swiper-wrapper {
    height: auto !important;
    min-height: 0;
    align-items: flex-start;
}
.about-interior-swiper .swiper-slide {
    position: relative;
    flex: 0 0 auto;
    width: min(100%, clamp(327px, calc((100% - 20px) / 2), 700px));
    height: auto !important;
    min-height: 0;
    aspect-ratio: 7 / 5;
    overflow: hidden;
    background: #d9d9d9;
}
.about-interior-swiper .swiper-slide > img {
    position: absolute;
    display: block;
    max-width: none;
    margin: 0;
    object-fit: fill;
}
.about-interior-swiper .swiper-slide:nth-child(1) > img {
    top: 0;
    left: -5.00446%;
    width: 107.184768%;
    height: 100%;
}
.about-interior-swiper .swiper-slide:nth-child(2) > img {
    top: -49.2183%;
    left: 0;
    width: 100%;
    height: 175.00032%;
}
.about-interior-swiper .swiper-slide:nth-child(3) > img {
    top: -49.3194%;
    left: -84.9842%;
    width: 304.34816%;
    height: 175.00032%;
}
.about-interior-swiper .swiper-slide:nth-child(n+4) > img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-history {
    position: relative;
    z-index: 2;
    overflow: visible;
    height: 762px;
    min-height: 762px;
    padding: 84px 0 0;
    background: #e9dfdf;
    color: #272f39;
}
.about-history__container {
    position: relative;
    width: min(calc(100% - 48px), 1420px);
    max-width: 1420px;
    min-height: 678px;
}
.about-history__intro {
    max-width: 700px;
}
.about-history__intro h2 {
    position: relative;
    top: -15px;
    margin-bottom: 32px;
    letter-spacing: 1px;
}
.about-history__intro p {
    font-weight: 500;
    position: relative;
    top: -8px;
    max-width: 700px;
    margin: 0;
    color: #272f39;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: .1px;
    text-transform: uppercase;
}
.about-history__controls {
    position: absolute;
    z-index: 4;
    top: 144px;
    right: 0;
    gap: 24px;
}
.about-history__controls button {
    width: 60px;
    height: 60px;
    background: #fff;
}
.about-history__controls button::before {
    width: 17px;
    height: 17px;
    border-top-width: 1px;
    border-right-width: 1px;
}
.about-history-swiper {
    margin-top: 56px;
    overflow: hidden;
}
.about-history__years {
    display: grid;
    grid-template-columns: repeat(4, 15.5%) 1fr;
    gap: 20px;
    align-items: start;
}
.about-history__years article {
    min-width: 0;
}
.about-history__years strong {
    display: block;
    margin-bottom: 20px;
    color: #272f39;
    font-size: 40px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -1px;
}
.about-history__years p {
    margin: 0;
    color: #354752;
    font-size: 16px;
    line-height: 22px;
}
.about-history__year--featured {
    height: 160px;
    min-height: 160px;
    padding-left: 24px;
    border-left: 8px solid #78645a;
}
.about-history__year--featured strong {
    margin-bottom: 20px;
    font-size: 64px;
    letter-spacing: 3px;
}
.about-history__year--featured p {
    max-width: 100%;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0;
}
.about-history__years--continuation {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.about-history__emblem {
    position: absolute;
    right: 0;
    bottom: -116px;
    display: block;
    width: 460px;
    height: 330px;
    object-fit: cover;
    object-position: center;
    background: none;
}
.about-principles {
    position: relative;
    z-index: 1;
    height: 740px;
    min-height: 740px;
    padding: 156px 0 0;
}
.about-principles h2 {
    margin-bottom: 30px;
}
.about-principles__lead {
    font-weight: 500;
    max-width: 700px;
    margin: 0 0 65px;
    font-size: 24px;
    line-height: 34px;
    text-transform: uppercase;
}
.about-principles__grid {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, .75fr) minmax(0, 1.2fr) minmax(0, 2.1fr);
    column-gap: 40px;
    row-gap: 0;
    align-items: start;
}
.about-principles__grid article {
    min-height: 176px;
    padding-left: 20px;
    border-left: 4px solid #272f39;
    font-size: 16px;
    line-height: 24px;
}
.about-principles__grid article:nth-child(1) {
    border-left-width: 10px;
    border-left-color: #78645a;
}
.about-principles__grid article:nth-child(2) {
    border-left-width: 2px;
}
.about-principles__grid article:nth-child(3) {
    border-left-width: 4px;
}
.about-principles__grid strong {
    max-width: 580px;
    font-size: 20px;
    line-height: 25px;
    text-transform: uppercase;
}
.about-principles__mobile-break {
    display: none;
}
.about-values {
    height: 720px;
    min-height: 720px;
    padding: 0;
}
.about-values h2 {
    margin-bottom: 72px;
}
.about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 64px;
    align-items: start;
}
.about-values__grid > article:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
}
.about-values__grid > article:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
}
.about-values__grid > article:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
}
.about-values__grid > article:nth-of-type(4) {
    grid-column: 3;
    grid-row: 2;
}
.about-values__grid article h3 {
    margin-bottom: 29px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}
.about-values__grid article p {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
}
.about-values__pattern {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 150px;
}
.about-values__pattern::before {
    position: absolute;
    top: 0;
    height: 150px;
    content: '';
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.about-values__pattern--left {
    top: -1px;
    grid-column: 1;
    grid-row: 2;
}
.about-values__pattern--left::before {
    left: -250px;
    width: 530px;
    background-image: url('/local/templates/clinic/assets/images/about-values-pattern-desktop-left.png');
}
.about-values__pattern--right {
    top: -2px;
    grid-column: 3;
    grid-row: 1;
}
.about-values__pattern--right::before {
    left: 120px;
    width: 590px;
    background-image: url('/local/templates/clinic/assets/images/about-values-pattern-desktop-right.png');
}
.about-advantages {
    min-height: 956px;
    padding: 91px 0 100px;
    background: #efe9e3;
}
.about-advantages h2 {
    margin-bottom: 68px;
}
.about-advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 88px;
    row-gap: 72px;
}
.about-advantages__grid article {
    position: relative;
    min-height: 145px;
}
.about-advantages__grid span {
    position: absolute;
    z-index: 0;
    top: 15px;
    left: 0;
    color: #e2d7cc;
    font-size: 96px;
    font-weight: 700;
    line-height: .8;
}
.about-advantages__grid h3,
.about-advantages__grid p {
    position: relative;
    z-index: 1;
}
.about-advantages__grid h3 {
    margin-bottom: 28px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}
.about-advantages__grid p {
    max-width: 310px;
    margin: 0;
    font-size: 16px;
    line-height: 22px;
}
.about-safety {
    min-height: 702px;
    padding: 82px 0 88px;
}
.about-safety h2 {
    margin-bottom: 62px;
}
.about-safety__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.about-safety__grid article {
    min-height: 250px;
    padding: 40px 34px;
    background: #edece7;
    font-size: 20px;
    line-height: 27px;
}
.about-safety__grid article:nth-child(2) {
    background: #dfe5e1;
}
.about-safety__grid article:nth-child(3) {
    background: #e9dfdf;
}
.about-safety__grid strong {
    font-weight: 700;
}
.about-doctors {
    padding: 0 0 161px;
}
.about-doctors__head {
    margin-bottom: 54px;
}
.about-doctors-swiper {
    overflow: visible;
}
.about-doctor-card {
    position: relative;
    display: block;
    height: 460px;
    overflow: hidden;
    background: #d7d8d7;
    border-radius: 10px;
}
.about-doctor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}
.about-doctor-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(39,49,61,.88), rgba(39,49,61,0) 48%);
}
.about-doctor-card--featured .about-doctor-card__overlay {
    background: rgba(39,49,61,.78);
}
.about-doctor-card__content {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    left: 20px;
    color: #fff;
}
.about-doctor-card__content strong {
    display: block;
    /* max-width: 270px; */
    font-size: 20px;
    font-weight: 400;
    line-height: 1.15;
    text-transform: uppercase;
}
.about-doctor-card__content small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
}
.about-doctor-card__skills {
    display: none;
    margin-top: 55px;
    font-size: 12px;
    line-height: 1.45;
}
.about-doctor-card--featured .about-doctor-card__content {
    top: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
}
.about-doctor-card--featured .about-doctor-card__skills {
    display: block;
    margin-top: auto;
}
.page-about .tech-section {
    padding: 0 0 156px;
}
.page-about .tech-section h2 {
    margin-bottom: 54px !important;
    font-size: 40px;
    line-height: 1.1;
}
.page-about .tech-grid {
    grid-template-rows: repeat(3, 340px);
    gap: 20px;
}
.page-about .reviews-section {
    margin-top: -28px;
    padding: 143px 0 112px !important;
    background: #eef0ee;
}
.page-about .stories-section {
    padding: 78px 0 127px !important;
    background: #eef0ee;
}
.page-about .reviews-section .section-head,
.page-about .stories-section .section-head {
    margin-bottom: 55px;
}
.page-about .stories-section .clinic-btn--wide {
    height: 98px;
    min-height: 98px;
    margin-top: 101px !important;
    border-radius: 4px;
    background: #ccd2cc;
    font-size: 20px;
}
.page-about .ratings-section {
    min-height: 596px;
    padding: 102px 0 128px;
    background: #ccd2cc;
}
.page-about .ratings-section h2 {
    margin-bottom: 113px !important;
    font-size: 40px;
    line-height: 1.1;
}
.page-about .ratings-grid {
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 20px;
}
.page-about .rating-card {
    height: 220px;
    min-height: 220px;
    padding: 30px;
}
.page-about .rating-card:first-child strong {
    max-width: 280px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.08;
    text-transform: uppercase;
}
.page-about .rating-card h3 {
    font-size: 27px;
}
.page-about .rating-card:not(:first-child) strong {
    font-size: 40px;
}
.page-about .rating-card span {
    font-size: 11px;
}
.page-about .reviews-section h2 {
    font-size: 40px;
    line-height: 1.1;
}
.page-about .stories-section h2,
.page-about .media-section h2,
.page-about .blog-section h2 {
    font-size: 40px;
    line-height: 1.1;
}
.page-about .first-visit h2,
.page-about .about-appointment .appointment-heading {
    font-size: 40px;
    line-height: 1.1;
}
.about-contacts .contacts-head h2,
.about-contacts .contacts-head > a {
    font-size: 24px;
    line-height: 1.2;
}
.page-about .media-section {
    padding: 175px 0 128px;
    color: #272f39;
}
.page-about .media-section .section-head {
    margin-bottom: 64px;
}
.page-about .media-section .slider-controls {
    gap: 24px;
}
.page-about .media-section .slider-controls button {
    width: 60px;
    height: 60px;
    background: #efe9e3;
}
.page-about .media-section .slider-controls button::before {
    width: 15px;
    height: 15px;
    border-width: 1px;
    border-color: #272f39;
}
.page-about .media-swiper {
    overflow: visible;
}
.page-about .blog-section {
    padding: 0 0 150px;
}
.page-about .first-visit {
    padding: 0 0 117px;
}
.page-about .first-visit .section-head {
    margin-bottom: 54px;
}
.page-about .first-visit-video {
    min-height: 800px;
    height: 800px;
}
.page-about .about-appointment {
    padding-top: 0;
    padding-bottom: 96px;
}
.about-contacts {
    padding-top: 75px;
    padding-bottom: 128px;
    background: #f6f3f2;
}
.page-about .reviews-section .person-card__image, .page-about .stories-section .story-comparison {
    width: 340px;
    height: 340px;
    aspect-ratio: auto;
}
.page-about .blog-card {
    min-height: 390px;
    height: 390px;
}
.page-about .map-frame {
    height: 693px;
}
@media (min-width: 375px) and (max-width: 959.98px) {
    .page-about .clinic-today .clinic-container, .about-stats__container, .about-interior__container, .about-history__container, .about-principles__container, .about-values__container, .about-advantages__container, .about-safety__container, .about-doctors__container {
        width: calc(100% - clamp(48px, 7.5vw, 72px));
        max-width: none;
    }
    .page-about .clinic-today h2, .about-principles h2, .about-values h2, .about-advantages h2, .about-doctors h2, .page-about .tech-section h2, .page-about .reviews-section h2 {
        font-size: 40px;
        line-height: 1.1;
    }
    .about-history h2, .about-safety h2, .page-about .stories-section h2, .page-about .media-section h2, .page-about .blog-section h2 {
        font-size: 40px;
        line-height: 1.1;
    }
    .page-about .ratings-section h2, .page-about .first-visit h2, .page-about .about-appointment .appointment-heading {
        font-size: 40px;
        line-height: 1.1;
    }
    .about-stats {
        min-height: 872px;
        padding-bottom: 65px;
    }
    .about-stats__grid {
        grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
        gap: 50px 34px;
    }
    .about-stat {
        min-height: 150px;
        padding-left: 18px;
    }
    .about-stat strong {
        font-size: 100px;
    }
    .about-stat h3 {
        font-size: 48px;
    }
    .about-stats__actions {
        grid-template-columns: 1fr 1fr;
        gap: 18px;
        margin-top: 48px;
    }
    .about-interior h2 {
        font-size: clamp(28px, calc(20.31px + 2.051vw), 40px);
        line-height: 1.1;
    }
    .about-interior {
        padding-bottom: clamp(32px, calc(15.97px + 4.274vw), 57px);
    }
    .about-interior__head {
        margin-bottom: clamp(32px, calc(28.15px + 1.026vw), 38px);
    }
    .about-history {
        height: 492px;
        min-height: 492px;
        padding-top: 54px;
    }
    .about-history__container {
        min-height: 438px;
    }
    .about-history__intro {
        max-width: 700px;
    }
    .about-history__intro h2 {
        top: -13px;
    }
    .about-history__intro p {
        top: -6px;
        font-size: 24px;
        line-height: 34px;
    }
    .about-history__controls {
        top: 146px;
    }
    .about-history-swiper {
        margin-top: 30px;
    }
    .about-history__years {
        grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
        gap: 20px;
    }
    .about-history__year--featured strong {
        font-size: 64px;
    }
    .about-history__emblem {
        display: none;
    }
    .about-history__years article:nth-child(1),
    .about-history__years article:nth-child(2) {
        display: none;
    }
    .about-history__years article:nth-child(3),
    .about-history__years article:nth-child(4),
    .about-history__year--featured {
        grid-column: auto;
    }
    .about-principles {
        height: 515px;
        min-height: 515px;
        padding: 41px 0 0;
    }
    .about-principles h2 {
        margin-bottom: 30px;
    }
    .about-principles__lead {
        max-width: none;
        margin-bottom: 41px;
        font-size: 24px;
        line-height: 34px;
    }
    .about-principles__grid {
        grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
        column-gap: 32px;
        row-gap: 29px;
    }
    .about-principles__grid article {
        min-height: 137px;
        padding-left: 18px;
    }
    .about-principles__grid article:nth-child(1) {
        border-left-width: 10px;
    }
    .about-principles__grid article:nth-child(2) {
        border-left-width: 3px;
    }
    .about-principles__grid article:nth-child(3) {
        border-left-width: 5px;
    }
    .about-principles__grid strong {
        grid-column: 1 / -1;
        max-width: 888px;
        font-size: 18px;
        line-height: 24px;
    }
    .about-values {
        height: 875px;
        min-height: 875px;
        padding: 0;
    }
    .about-values h2 {
        margin-bottom: 44px;
    }
    .about-values__grid {
        grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
        column-gap: 32px;
        row-gap: 64px;
    }
    .about-values__grid > article,
    .about-values__pattern {
        grid-column: auto !important;
        grid-row: auto !important;
    }
    .about-values__grid > article:nth-of-type(1) { order: 1; }
    .about-values__grid > article:nth-of-type(2) { order: 2; }
    .about-values__pattern--right { top: -1px; order: 3; }
    .about-values__grid > article:nth-of-type(3) { order: 4; }
    .about-values__pattern--left { top: -1px; order: 5; }
    .about-values__grid > article:nth-of-type(4) { order: 6; }
    .about-values__pattern--right::before {
        left: 0;
        width: 100%;
        background-image: url('/local/templates/clinic/assets/images/about-values-pattern-tablet-right.png');
    }
    .about-values__pattern--left::before {
        left: 0;
        width: 100%;
        background-image: url('/local/templates/clinic/assets/images/about-values-pattern-tablet-left.png');
    }
    .about-advantages {
        min-height: 1043px;
        padding: 58px 0 68px;
    }
    .about-advantages h2 {
        margin-bottom: 48px;
    }
    .about-advantages__grid {
        grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
        gap: 50px 50px;
    }
    .about-safety {
        min-height: 714px;
        padding: 62px 0 70px;
    }
    .about-safety h2 {
        margin-bottom: 42px;
    }
    .about-safety__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-safety__grid article {
        min-height: 0;
        padding: 30px;
    }
    .about-doctors {
        padding-bottom: 55px;
    }
    .about-doctor-card {
        height: 340px;
    }
    .page-about .tech-section {
        padding-bottom: 0;
    }
    .page-about .tech-section h2 {
        margin-bottom: 32px !important;
    }
    .page-about .tech-grid {
        position: relative;
        top: 11px;
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
        grid-template-rows: none;
        column-gap: 20px;
        row-gap: 18px;
    }
    .page-about .reviews-section {
        margin-top: 52px;
        padding: 22px 0 53px !important;
    }
    .page-about .stories-section {
        padding: 46px 0 37px !important;
    }
    .page-about .stories-section .clinic-btn--wide {
        height: 97px;
        min-height: 97px;
        margin-top: 73px !important;
        font-size: 20px;
    }
    .page-about .ratings-section {
        min-height: 864px;
        padding: 42px 0 37px;
    }
    .page-about .ratings-section h2 {
        margin-bottom: 56px !important;
    }
    .page-about .ratings-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
        gap: 20px;
    }
    .page-about .rating-card {
        height: 219px;
        min-height: 219px;
    }
    .page-about .rating-card:first-child,
    .page-about .rating-card:last-child {
        grid-column: 1 / -1;
    }
    .page-about .media-section {
        padding: 35px 0;
    }
    .page-about .media-section .section-head {
        margin-bottom: 37px;
    }
    .page-about .blog-section {
        padding-bottom: 40px;
    }
    .page-about .first-visit {
        padding-bottom: 48px;
    }
    .page-about .first-visit-video {
        min-height: 500px;
        height: 500px;
    }
    .page-about .tech-section .clinic-container,
    .page-about .reviews-section .clinic-container,
    .page-about .stories-section .clinic-container,
    .page-about .ratings-section .clinic-container,
    .page-about .media-section .clinic-container,
    .page-about .blog-section .clinic-container,
    .page-about .first-visit .clinic-container,
    .page-about .about-appointment .clinic-container,
    .about-contacts .clinic-container {
        width: calc(100% - clamp(48px, 7.5vw, 72px));
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }
    .page-about .reviews-section .person-card__image,
    .page-about .stories-section .story-comparison {
        width: 340px;
        height: 340px;
    }
    .page-about .blog-card {
        min-height: 242px;
        height: 242px;
    }
    .page-about .map-frame {
        height: 433px;
    }
    .page-about .about-appointment {
        padding-bottom: 36px;
    }
    .about-contacts {
        padding-top: 53px;
        padding-bottom: 37px;
    }
    .about-contacts .contacts-head h2,
    .about-contacts .contacts-head > a {
        font-size: 24px;
        line-height: 1.2;
    }
    .about-history, .about-history__container, .about-principles, .about-values, .about-advantages, .about-safety {
        height: auto;
        min-height: 0;
    }
    .about-history {
        padding-bottom: 72px;
    }
    .about-principles, .about-values, .about-advantages, .about-safety {
        padding-bottom: 64px;
    }
    .about-values__pattern {
        width: 100%;
        max-width: 100%;
    }
    .about-values__pattern::before {
        max-width: 100%;
    }
    .page-about .tech-card, .page-about .reviews-section .person-card__image, .page-about .stories-section .story-comparison {
        width: 100%;
        max-width: 100%;
    }
}
@media (max-width: 374.98px) {
    .page-about .clinic-today .clinic-container, .about-stats__container, .about-interior__container, .about-history__container, .about-principles__container, .about-values__container, .about-advantages__container, .about-safety__container, .about-doctors__container {
        width: calc(100% - 48px);
        max-width: none;
    }
    .page-about .clinic-today {
        padding: 0;
    }
    .page-about .clinic-today h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    .page-about .clinic-today h2 {
        margin-bottom: 51px;
    }
    .page-about .clinic-video-mosaic {
        aspect-ratio: 327 / 183;
    }
    .about-stats {
        min-height: 1219px;
        padding-bottom: 48px;
    }
    .about-stats__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
    .about-stat {
        min-height: 130px;
        padding-left: 14px;
        border-left-width: 3px;
    }
    .about-stat strong {
        font-size: 50px;
    }
    .about-stat h3 {
        margin: 5px 0 10px;
        font-size: 24px;
    }
    .about-stat p {
        font-size: 12px;
    }
    .about-stats__actions {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 42px;
    }
    .about-stats__actions .clinic-btn {
        height: 64px;
        min-height: 64px;
        font-size: 20px;
    }
    .about-interior {
        padding-bottom: 32px;
    }
    .about-interior__head {
        display: block;
        margin-bottom: 32px;
    }
    .about-interior__head .slider-controls {
        margin-top: 26px;
    }
    .about-interior-swiper .swiper-slide {
        width: 100%;
    }
    .about-history {
        height: 566px;
        min-height: 566px;
        padding: 31px 0 0;
    }
    .about-history__container {
        min-height: 535px;
    }
    .about-history__intro {
        max-width: none;
    }
    .about-history__intro h2 {
        top: 3px;
        margin-bottom: 16px;
        letter-spacing: .7px;
    }
    .about-history__intro p {
        top: 3px;
        font-size: 18px;
        line-height: 25px;
        letter-spacing: .05px;
    }
    .about-history__controls {
        top: 251px;
        right: auto;
        left: 0;
    }
    .about-history-swiper {
        margin-top: 118px;
    }
    .about-history__years {
        grid-template-columns: 1fr 1fr;
        gap: 26px 20px;
    }
    .about-history__years strong {
        margin-bottom: 20px;
        font-size: 40px;
    }
    .about-history__years p {
        font-size: 18px;
        line-height: 25px;
    }
    .about-history__year--featured {
        height: 160px;
        min-height: 160px;
        padding-left: 24px;
        border-left-width: 8px;
    }
    .about-history__year--featured strong {
        margin-bottom: 20px;
        font-size: 64px;
    }
    .about-history__year--featured p {
        max-width: 270px;
    }
    .about-history__years--continuation {
        grid-template-columns: 1fr;
    }
    .about-history__emblem {
        display: none;
    }
    .about-principles {
        height: 958px;
        min-height: 958px;
        padding: 34px 0 0;
    }
    .about-principles h2 {
        margin-bottom: 16px;
    }
    .about-principles__lead {
        margin-bottom: 31px;
        font-size: 18px;
        line-height: 25px;
    }
    .about-principles__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-principles__grid article {
        min-height: 150px;
        padding-left: 20px;
        font-size: 16px;
        line-height: 22px;
    }
    .about-principles__grid article:nth-child(1) {
        border-left-width: 10px;
    }
    .about-principles__grid article:nth-child(2) {
        border-left-width: 2px;
    }
    .about-principles__grid article:nth-child(3) {
        border-left-width: 4px;
    }
    .about-principles__grid strong {
        font-size: 18px;
        line-height: 25px;
    }
    .about-principles__mobile-break {
        display: initial;
    }
    .about-values {
        height: 1741px;
        min-height: 1741px;
        padding: 0;
    }
    .about-values h2 {
        margin-bottom: 38px;
    }
    .about-values__grid {
        display: flex;
        flex-direction: column;
        gap: 34px;
    }
    .about-values__grid article h3 {
        margin-bottom: 29px;
        padding-left: 5px;
        font-size: 24px;
    }
    .about-values__grid article p {
        padding: 0 7px;
        font-size: 16px;
        line-height: 22px;
    }
    .about-values__pattern {
        flex: 0 0 150px;
        width: 344px;
        min-height: 150px;
    }
    .about-values__pattern--right {
        top: 0;
        margin-top: -4px;
        margin-left: 7px;
    }
    .about-values__pattern--right::before {
        left: 0;
        width: 344px;
        background-image: url('/local/templates/clinic/assets/images/about-values-pattern-mobile-right.png');
    }
    .about-values__pattern--left {
        top: 0;
        margin-top: -6px;
        margin-left: -24px;
    }
    .about-values__pattern--left::before {
        left: 0;
        width: 344px;
        background-image: url('/local/templates/clinic/assets/images/about-values-pattern-mobile-left.png');
    }
    .about-advantages {
        height: 1773px;
        min-height: 1773px;
        padding: 42px 0 50px;
        overflow: hidden;
    }
    .about-advantages h2 {
        margin-bottom: 42px;
    }
    .about-advantages__grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
    .about-advantages__grid article {
        min-height: 164px;
    }
    .about-advantages__grid span {
        top: 28px;
        font-size: 96px;
    }
    .about-advantages__grid h3 {
        margin-bottom: 26px;
        font-size: 24px;
    }
    .about-advantages__grid p {
        max-width: none;
        font-size: 16px;
        line-height: 22px;
    }
    .about-safety {
        min-height: 875px;
        padding: 42px 0 48px;
    }
    .about-safety h2 {
        margin-bottom: 36px;
    }
    .about-safety__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-safety__grid article {
        min-height: 0;
        padding: 30px 16px;
        font-size: 20px;
        line-height: 27px;
    }
    .about-doctors {
        padding-bottom: 59px;
    }
    .about-doctors__head {
        display: block;
        margin-bottom: 32px;
    }
    .about-doctors__head .slider-controls {
        margin-top: 26px;
    }
    .about-doctor-card {
        height: 327px;
    }
    .page-about .tech-section {
        padding: 0 0 50px;
    }
    .page-about .tech-section h2 {
        margin-bottom: 23px !important;
    }
    .page-about .tech-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 20px;
    }
    .page-about .tech-card {
        grid-column: 1 !important;
        grid-row: auto !important;
        width: 327px;
        min-height: 327px;
        height: 327px;
    }
    .page-about .tech-card strong {
        top: 20px;
        right: 20px;
        left: 20px;
        font-size: 14px;
    }
    .page-about .reviews-section {
        margin-top: -18px;
        padding: 63px 0 85px !important;
    }
    .page-about .stories-section {
        padding: 34px 0 33px !important;
    }
    .page-about .stories-section .clinic-btn--wide {
        height: 87px;
        min-height: 87px;
        margin-top: 82px !important;
        font-size: 16px;
    }
    .page-about .reviews-section .section-head,
    .page-about .stories-section .section-head {
        display: block;
        margin-bottom: 22px;
    }
    .page-about .reviews-section .section-head > .d-flex,
    .page-about .stories-section .section-head > .d-flex {
        margin-top: 18px;
    }
    .page-about .ratings-section {
        min-height: 1074px;
        padding: 42px 0 36px;
    }
    .page-about .ratings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about .rating-card {
        grid-column: auto;
        height: 219px;
        min-height: 219px;
        padding: 20px;
    }
    .page-about .ratings-section h2 {
        margin-bottom: 30px !important;
    }
    .page-about .media-section {
        padding: 35px 0;
    }
    .page-about .media-section .section-head {
        display: block;
        margin-bottom: 32px;
    }
    .page-about .media-section .slider-controls {
        margin-top: 26px;
    }
    .page-about .media-swiper {
        overflow: hidden;
    }
    .page-about .media-card {
        padding: 24px;
    }
    .page-about .media-card h3 {
        margin-top: 25px;
    }
    .page-about .blog-section {
        padding: 0 0 32px;
    }
    .page-about .blog-section .section-head {
        display: block;
        margin-bottom: 26px;
    }
    .page-about .blog-section .slider-controls {
        margin-top: 26px;
    }
    .page-about .first-visit {
        padding: 0 0 27px;
    }
    .page-about .first-visit .section-head {
        margin-bottom: 22px;
    }
    .page-about .first-visit-video {
        min-height: 327px;
        height: 327px;
    }
    .page-about .about-appointment {
        padding-top: 0;
    }
    .about-contacts {
        padding-top: 8px;
        padding-bottom: 25px;
    }
    .page-about .tech-section .clinic-container,
    .page-about .reviews-section .clinic-container,
    .page-about .stories-section .clinic-container,
    .page-about .ratings-section .clinic-container,
    .page-about .media-section .clinic-container,
    .page-about .blog-section .clinic-container,
    .page-about .first-visit .clinic-container,
    .page-about .about-appointment .clinic-container,
    .about-contacts .clinic-container {
        width: calc(100% - 48px);
        max-width: none;
        padding-right: 0;
        padding-left: 0;
    }
    .page-about .reviews-section .person-card__image,
    .page-about .stories-section .story-comparison {
        width: 327px;
        height: 327px;
    }
    .page-about .blog-card {
        min-height: 322px;
        height: 322px;
    }
    .page-about .map-frame {
        height: 327px;
    }
    .about-principles h2,
    .about-values h2,
    .about-advantages h2,
    .about-safety h2,
    .about-doctors h2,
    .page-about .tech-section h2,
    .page-about .reviews-section h2,
    .page-about .stories-section h2,
    .page-about .ratings-section h2,
    .page-about .first-visit h2,
    .page-about .about-appointment .appointment-heading {
        font-size: 28px;
        line-height: 1.2;
    }
    .about-interior h2,
    .about-history h2,
    .page-about .media-section h2,
    .page-about .blog-section h2 {
        font-size: 28px;
        line-height: 1.2;
    }
    .about-contacts .contacts-head h2,
    .about-contacts .contacts-head > a {
        font-size: 20px;
        line-height: 1.25;
    }
    .page-about .slider-controls button {
        width: 48px;
        height: 48px;
        background: #efe9e3;
    }
    /* Fallback without JavaScript: keep the featured year visible and do not hide continuation years. */
    .about-history__years:not(.about-history__years--continuation):not(.about-history__years--mobile) > article:nth-child(-n+4) {
        display: none;
    }
    .about-history__years--continuation > article,
    .about-history__years--mobile > article {
        display: block;
    }
    .about-history__years--mobile {
        min-height: 160px;
    }
    .about-history__years {
        display: block;
    }
    .about-history__year--featured {
        display: block;
        grid-column: auto;
    }
    .about-values__grid > article:nth-of-type(1) { order: 1; }
    .about-values__grid > article:nth-of-type(2) { order: 2; }
    .about-values__pattern--right { order: 3; }
    .about-values__grid > article:nth-of-type(4) { order: 4; }
    .about-values__grid > article:nth-of-type(3) { order: 5; }
    .about-values__pattern--left { order: 6; }
    .about-doctor-card__content strong {
        font-size: 20px;
    }
    .about-doctor-card__content small {
        font-size: 14px;
    }
    .page-about .about-appointment {
        padding-bottom: 34px;
    }
    .page-about .about-appointment .appointment-layout {
        gap: 9px;
    }
}
body.page-about .site-footer {
    background: #272f39;
}
/* Дополнительные исправления, выявленные при полной сверке страницы. */
.page-about .clinic-video-mosaic {
    position: relative;
    line-height: 0;
    isolation: isolate;
}
.page-about .clinic-video-mosaic__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center;
}
.page-about .about-history__emblem {
    background: #27313d !important;
    object-fit: contain;
    object-position: center;
}
.page-about .about-appointment .appointment-collage {
    background-image: url('/local/templates/clinic/assets/images/form-collage-home-desktop-exact.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
@media (max-width: 959.98px) {
    .page-about .about-appointment .appointment-collage {
        background-image: url('/local/templates/clinic/assets/images/form-collage-home-desktop-exact.png');
    }
}
/* Критический сброс размеров Swiper. Vendor CSS задаёт wrapper/slide height:100%,
 * поэтому фиксируем фактическую высоту карточки через aspect-ratio. */
.page-about .about-interior-swiper,
.page-about .about-interior-swiper .swiper-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
}
.page-about .about-interior-swiper .swiper-wrapper {
    align-items: flex-start !important;
}
.page-about .about-interior-swiper .swiper-slide {
    height: auto !important;
    min-height: 0 !important;
    max-height: 500px !important;
    aspect-ratio: 7 / 5 !important;
    align-self: flex-start !important;
}
/* В макете шириной ровно 375 px используется нижняя точка адаптивного диапазона:
 * размеры мобильного макета, но без отдельного промежуточного брейкпоинта. */
@media (min-width: 375px) and (max-width: 959.98px) {
    .page-about .about-mission__label,
    .page-about .about-mission__title,
    .page-about .clinic-today h2,
    .page-about .about-principles h2,
    .page-about .about-values h2,
    .page-about .about-advantages h2,
    .page-about .about-safety h2,
    .page-about .about-doctors h2,
    .page-about .tech-section h2,
    .page-about .reviews-section h2,
    .page-about .stories-section h2,
    .page-about .ratings-section h2,
    .page-about .first-visit h2,
    .page-about .about-appointment .appointment-heading,
    .page-about .media-section h2,
    .page-about .blog-section h2 {
        font-size: clamp(28px, calc(20.307692px + 2.051282vw), 40px) !important;
    }
    .page-about .about-mission__label,
    .page-about .about-mission__title {
        line-height: clamp(39px, calc(28.102564px + 2.905983vw), 56px) !important;
    }
    .page-about .clinic-today {
        padding-bottom: clamp(0px, calc(-41.025641px + 10.940171vw), 64px) !important;
    }
    .page-about .clinic-today h2 {
        margin-bottom: clamp(51px, calc(46.512821px + 1.196581vw), 58px) !important;
    }
    .page-about .about-stats {
        padding-bottom: clamp(48px, calc(37.102564px + 2.905983vw), 65px) !important;
    }
    .page-about .about-stats__grid {
        row-gap: clamp(34px, calc(23.743590px + 2.735043vw), 50px) !important;
        column-gap: 34px !important;
    }
    .page-about .about-stat {
        min-height: clamp(130px, calc(117.179487px + 3.418803vw), 150px) !important;
        padding-left: clamp(14px, calc(11.435897px + .683761vw), 18px) !important;
        border-left-width: clamp(3px, calc(2.358974px + .170940vw), 4px) !important;
    }
    .page-about .about-stat strong {
        font-size: clamp(50px, calc(17.948718px + 8.547009vw), 100px) !important;
    }
    .page-about .about-stat h3 {
        margin-top: clamp(5px, calc(1.794872px + .854701vw), 10px) !important;
        margin-bottom: clamp(10px, calc(3.589744px + 1.709402vw), 20px) !important;
        font-size: clamp(24px, calc(8.615385px + 4.102564vw), 48px) !important;
    }
    .page-about .about-stat p {
        font-size: clamp(12px, calc(11.358974px + .170940vw), 13px) !important;
    }
    .page-about .about-stats__actions {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
        margin-top: clamp(42px, calc(38.153846px + 1.025641vw), 48px) !important;
    }
    .page-about .about-stats__actions .clinic-btn {
        height: clamp(58px, calc(67.846154px - 1.025641vw), 64px) !important;
        min-height: clamp(58px, calc(67.846154px - 1.025641vw), 64px) !important;
    }
    .page-about .about-history {
        padding-top: clamp(31px, calc(16.256410px + 3.931624vw), 54px) !important;
    }
    .page-about .about-history__intro h2 {
        top: clamp(-13px, calc(13.256410px - 2.735043vw), 3px) !important;
        margin-bottom: clamp(16px, calc(5.743590px + 2.735043vw), 32px) !important;
    }
    .page-about .about-history__intro p {
        top: clamp(-6px, calc(8.769231px - 1.538462vw), 3px) !important;
        font-size: clamp(18px, calc(14.153846px + 1.025641vw), 24px) !important;
        line-height: clamp(25px, calc(19.230769px + 1.538462vw), 34px) !important;
    }
    .page-about .about-history__controls {
        top: clamp(146px, calc(318.307692px - 17.948718vw), 251px) !important;
    }
    .page-about .about-history-swiper {
        margin-top: clamp(30px, calc(174.410256px - 15.042735vw), 118px) !important;
    }
    .page-about .about-principles {
        padding-top: clamp(34px, calc(29.512821px + 1.196581vw), 41px) !important;
    }
    .page-about .about-principles h2 {
        margin-bottom: clamp(16px, calc(7.025641px + 2.393162vw), 30px) !important;
    }
    .page-about .about-principles__lead {
        margin-bottom: clamp(31px, calc(24.589744px + 1.709402vw), 41px) !important;
        font-size: clamp(18px, calc(14.153846px + 1.025641vw), 24px) !important;
        line-height: clamp(25px, calc(19.230769px + 1.538462vw), 34px) !important;
    }
    .page-about .about-principles__grid {
        row-gap: clamp(20px, calc(14.230769px + 1.538462vw), 29px) !important;
    }
    .page-about .about-principles__grid article {
        min-height: clamp(137px, calc(158.333333px - 2.222222vw), 150px) !important;
        padding-left: clamp(18px, calc(21.282051px - .341880vw), 20px) !important;
        line-height: clamp(22px, calc(20.717949px + .341880vw), 24px) !important;
    }
    .page-about .about-values h2 {
        margin-bottom: clamp(38px, calc(34.153846px + 1.025641vw), 44px) !important;
    }
    .page-about .about-advantages {
        padding-top: clamp(42px, calc(31.743590px + 2.735043vw), 58px) !important;
        padding-bottom: clamp(50px, calc(38.461538px + 3.076923vw), 68px) !important;
    }
    .page-about .about-advantages h2 {
        margin-bottom: clamp(42px, calc(38.153846px + 1.025641vw), 48px) !important;
    }
    .page-about .about-advantages__grid {
        gap: clamp(42px, calc(36.871795px + 1.367521vw), 50px) !important;
    }
    .page-about .about-advantages__grid article {
        min-height: clamp(145px, calc(176.179487px - 3.247863vw), 164px) !important;
    }
    .page-about .about-advantages__grid span {
        top: clamp(15px, calc(36.333333px - 2.222222vw), 28px) !important;
    }
    .page-about .about-advantages__grid h3 {
        margin-bottom: clamp(26px, calc(24.717949px + .341880vw), 28px) !important;
    }
    .page-about .about-safety {
        padding-top: clamp(42px, calc(29.179487px + 3.418803vw), 62px) !important;
        padding-bottom: clamp(48px, calc(33.897436px + 3.760684vw), 70px) !important;
    }
    .page-about .about-safety h2 {
        margin-bottom: clamp(36px, calc(32.153846px + 1.025641vw), 42px) !important;
    }
    .page-about .about-safety__grid article {
        padding: clamp(16px, calc(7.025641px + 2.393162vw), 30px) !important;
    }
    .page-about .about-doctor-card {
        height: clamp(327px, calc(318.666667px + 2.222222vw), 340px) !important;
    }
    .page-about .slider-controls button {
        width: clamp(48px, calc(40.307692px + 2.051282vw), 60px) !important;
        height: clamp(48px, calc(40.307692px + 2.051282vw), 60px) !important;
    }
}
@media (max-width: 374.98px) {
    .page-about .about-interior-swiper .swiper-slide {
        max-height: none !important;
    }
}

/* ===== home-page.css ===== */
/*
 * Fedoseev homepage — one scoped source for layout alignment with the
 * approved 1920 / 960 / 375 mockups.
 * Project ranges: desktop >= 960px; adaptive 375–959.98px; compact < 375px.
 */
.page-home {
    --clinic-dark: #272f39;
    --clinic-text: #272f39;
    --clinic-muted: #eef0ee;
    --clinic-sage: #ccd2cc;
    --clinic-warm: #ded2c6;
    --home-blog-caption: #c8b4a0;
    --home-media-card: #f6f3f2;
    --home-gap: 20px;

}

.page-home .clinic-container { width: min(calc(100% - clamp(48px, 7.5vw, 72px)), 1420px); max-width: none; }
.page-home .muted-section { background: var(--clinic-muted); }
.page-home .section-space { min-height: 0; padding-top: 0; padding-bottom: 0; }
.page-home .section-head { margin-bottom: clamp(52px, calc(24px + 2.916667vw), 80px); }
.page-home h2 { color: var(--clinic-dark); }

/* Header and first screen. */
.page-home .header-top .clinic-container::after { background: #7d8288; }
.page-home .hero-section { padding-bottom: clamp(52px, calc(-56px + 11.25vw), 160px); }
.page-home .hero-card { height: 710px; min-height: 710px; }
.page-home .hero-card h1 {
    max-width: 900px;
    padding: 42px 38px;
    font-size: 32px;
    line-height: 1.18;
}
.page-home .hero-patients { top: 36px; right: 34px; }
.page-home .hero-award { bottom: 38px; left: 38px; width: 155px; height: 155px; }

/* Services. */


/* Home: services block. One canonical implementation matched to Index 1920 / 960 / 375. */
.page-home .services-section,
.page-services .services-section {
    width: min(calc(100% - clamp(48px, 7.5vw, 72px)), 1420px);
    max-width: none;
    padding: 0 0 clamp(42px, calc(-76px + 12.291667vw), 160px);
    color: #272f39;
    container-type: inline-size;
}

.page-services .services-section {
    padding-top: 44px;
}
.page-home .home-services-hero { padding: 0 0 64px; }
.page-home .home-services-hero__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(620px, 100%), 1fr));
    column-gap: clamp(32px, 5.21vw, 100px);
    row-gap: 36px;
    align-items: start;
}
.page-home .home-services-heading {
    max-width: 620px;
    min-height: 168px;
    margin: 0;
    padding-left: 10px;
    border-left: 10px solid #78645a;
    font-size: 40.5px;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: normal;
}
.page-home .home-services-hero__copy {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    column-gap: clamp(20px, 2.08vw, 40px);
    align-items: end;
    width: 100%;
    height: 168px;
}
.page-home .home-services-hero__copy p {
    width: 100%;
    max-width: 340px;
    margin: 0;
    font-size: 16px;
    line-height: 22px;
}
.page-home .home-services-more {
    display: inline-block;
    justify-self: end;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    white-space: nowrap;
}
.page-home .home-services-more:hover { opacity: .65; }
.page-home .home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    column-gap: 20px;
    row-gap: 64px;
    align-items: end;
}
.page-home .home-service-card {
    --service-bar-width: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: 121px;
    min-height: 121px;
    padding: 3px 0 0 calc(20px - var(--service-bar-width));
    border-left: var(--service-bar-width) solid var(--service-accent, #272f39);
    color: #272f39;
    transition: background-color .2s ease;
}
.page-home .home-service-card:hover { background: #f5f5f3; }
.page-home .home-service-card strong {
    display: block;
    max-width: none;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    text-transform: uppercase;
    overflow-wrap: normal;
    -webkit-text-stroke: .12px currentColor;
}
.page-home .home-service-card span {
    display: block;
    margin-top: 0;
    font-size: 17px;
    line-height: 21px;
}
.page-home .home-service-card[data-service-card="service-diagnostics"] { --service-bar-width: 10px; }
.page-home .home-service-card[data-service-card="service-prevention"] { --service-bar-width: 6px; }
.page-home .home-service-card[data-service-card="service-surgery"] { --service-bar-width: 2px; }
.page-home .home-service-card[data-service-card="service-implant"] { --service-bar-width: 4px; }
.page-home .home-service-card[data-service-card="service-treatment"] { --service-bar-width: 10px; }
.page-home .home-service-card[data-service-card="service-ortho"] { --service-bar-width: 6px; }
.page-home .home-service-card[data-service-card="service-whitening"] { --service-bar-width: 4px; }
.page-home .home-service-card[data-service-card="service-design"] { --service-bar-width: 2px; }
.page-home .home-service-card[data-service-card="service-prosthetics"] { --service-bar-width: 6px; }
.page-home .home-service-card[data-service-card="service-trauma"] { --service-bar-width: 4px; }
.page-home .home-service-card--kids {
    grid-column: span 2;
    height: 194px;
    min-height: 194px;
    padding: 74px clamp(205px, 22vw, 310px) 24px 34px;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #f0e65a;
}
.page-home .home-service-card--kids:hover { background: #f0e65a; }
.page-home .home-service-card--kids strong {
    max-width: 190px;
    font-size: 22px;
    line-height: 33px;
}
.page-home .home-service-card--kids img {
    position: absolute;
    top: 0;
    right: 30px;
    width: clamp(180px, 22vw, 310px);
    height: 194px;
    object-fit: fill;
}

@container (max-width: 1000px) {
    .page-home .home-services-hero { padding-bottom: 36px; }
    .page-home .home-services-hero__container { display: block; }
    .page-home .home-services-heading {
        width: 100%;
        max-width: 860px;
        min-height: 0;
        font-size: clamp(26px, 4.17vw, 40px);
        line-height: 1.4;
    }
    .page-home .home-services-hero__copy {
        display: block;
        width: 100%;
        height: auto;
        padding-top: 37px;
    }
    .page-home .home-services-hero__copy p {
        max-width: none;
        margin: 0 0 25px;
    }
    .page-home .home-services-more { justify-self: start; }
    .page-home .home-services-grid {
        column-gap: 20px;
        row-gap: 36px;
    }
    .page-home .home-service-card[data-service-card="service-diagnostics"] { order: 10; }
    .page-home .home-service-card[data-service-card="service-prevention"] { order: 20; }
    .page-home .home-service-card[data-service-card="service-surgery"] { order: 30; }
    .page-home .home-service-card[data-service-card="service-implant"] { order: 40; }
    .page-home .home-service-card[data-service-card="service-treatment"] { order: 50; }
    .page-home .home-service-card[data-service-card="service-ortho"] { order: 60; }
    .page-home .home-service-card[data-service-card="service-prosthetics"] { order: 70; }
    .page-home .home-service-card[data-service-card="service-whitening"] { order: 80; }
    .page-home .home-service-card[data-service-card="service-trauma"] { order: 90; }
    .page-home .home-service-card[data-service-card="service-design"] { order: 100; }
    .page-home .home-service-card--kids {
        order: 110;
        grid-column: 1 / -1;
        padding: 34px clamp(205px, 34vw, 310px) 24px 34px;
    }
    .page-home .home-service-card--kids img {
        right: 0;
        width: clamp(180px, 34vw, 310px);
        max-width: 55%;
        object-fit: contain;
        object-position: right center;
    }
}

@container (max-width: 400px) {
    .page-home .home-services-hero { padding-bottom: 31px; }
    .page-home .home-services-heading {
        padding-left: 8px;
        font-size: 26px;
        line-height: 34px;
    }
    .page-home .home-services-hero__copy { padding-top: 34px; }
    .page-home .home-services-hero__copy p {
        margin-bottom: 25px;
        font-size: 16px;
        line-height: 22px;
    }
    .page-home .home-services-more { font-size: 18px; line-height: 22px; }
    .page-home .home-services-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    .page-home .home-service-card strong { max-width: none; }
    .page-home .home-service-card[data-service-card="service-diagnostics"] strong { max-width: 210px; }
    .page-home .home-service-card[data-service-card="service-ortho"] strong { letter-spacing: -.25px; }
    .page-home .home-service-card--kids {
        width: 100%;
        height: 266px;
        min-height: 266px;
        padding: 24px 20px 20px 25px;
        border-radius: 18px;
    }
    .page-home .home-service-card--kids strong {
        max-width: 270px;
        font-size: 22px;
        line-height: 33px;
    }
    .page-home .home-service-card--kids img {
        top: 82px;
        right: -3px;
        width: min(310px, 100%);
        max-width: 100%;
        height: auto;
        aspect-ratio: 310 / 194;
        object-fit: contain;
    }
}

/* Individual treatment plan. */
.page-home .treatment-section { padding-top: 0; padding-bottom: clamp(52px, calc(-36px + 9.166667vw), 140px); }
.page-home .treatment-card__media {
    background-image: url('assets/images/doctor-plan-desktop.png');
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.page-home .treatment-layout { gap: 20px; }
.page-home .treatment-note .section-kicker { font-weight: 700; }
.page-home .treatment-steps { column-gap: 20px; }

/* Offers + patient content sliders. */
.page-home .offers-section { padding-top: clamp(52px, calc(-40px + 9.583333vw), 144px); padding-bottom: clamp(44px, calc(-48px + 9.583333vw), 136px); overflow: hidden; }
.page-home .offers-section .clinic-container {
    min-width: 0;
    overflow: hidden;
}
.page-home .offers-swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.page-home .offers-swiper .swiper-wrapper {
    max-width: 100%;
}
.video-trigger svg {
    position: absolute;
    bottom: 20px;
    right: 20px;
}
.page-home .reviews-swiper, .page-home .stories-swiper, .page-home .media-swiper { overflow: visible !important; }
.page-home .offers-swiper .swiper-slide { height: 360px; }
.page-home .offer-card { height: 360px; min-height: 360px; padding: 34px 36px; }
.page-home .offer-card h3 { font-size: 29px; line-height: 1.18; }

.page-home .reviews-section,
.page-home .stories-section { overflow: hidden; }
.page-home .reviews-section { padding-top: clamp(44px, calc(-48px + 9.583333vw), 136px); padding-bottom: clamp(43px, calc(2px + 4.270833vw), 84px); }
.page-home .stories-section { padding-top: clamp(43px, calc(2px + 4.270833vw), 84px); padding-bottom: clamp(36px, calc(-56px + 9.583333vw), 128px); }
.page-home .reviews-swiper .swiper-slide,
.page-home .stories-swiper .swiper-slide { height: auto; }
.page-home .person-card__image,
.page-home .story-comparison { width: 100%; aspect-ratio: 1 / 1; }
.page-home .person-card h3,
.page-home .story-card h3 { margin-top: 22px; }
.page-home .stories-section .clinic-btn--wide {
    height: 98px;
    min-height: 98px;
    margin-top: clamp(53px, calc(25px + 2.916667vw), 81px);
    border-radius: 8px;
    background: #ccd2cc;
    font-size: 28px;
    line-height: 34px;
}

/* Dent Friend: 460 + 460 + 460 at 1420; one column when the container is 888. */
.page-home .dentfriend-section {
    padding-top: clamp(36px, calc(-56px + 9.583333vw), 128px);
    padding-bottom: clamp(36px, calc(-56px + 9.583333vw), 128px);
    background: var(--clinic-dark);
}
.page-home .section-head.dentfriend-head { align-items: flex-start; margin-bottom: 0; }
.page-home .dentfriend-section .text-link { min-height: 32px; font-size: 18px; line-height: 22px; }
.page-home .dentfriend-head > .text-link { font-size: 17px; line-height: 20px; letter-spacing: .25px; transform: translateY(-2px); }
.page-home .dentfriend-description {
    max-width: 1050px;
    margin-top: clamp(36px, calc(-24px + 6.25vw), 96px);
    font-size: 18px;
    line-height: 25px;
    letter-spacing: .4px;
    text-align: left;
}
.page-home .dentfriend-ambassadors-head h2 { color: #fff; font-size: 40px; line-height: 43px; }
.page-home .dentfriend-ambassadors-head > .text-link { transform: translateY(clamp(0px, calc(-5.769px + 1.538462vw), 9px)); }

.page-home .dentfriend-section .row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
    gap: var(--home-gap);
    margin: 0;
}
.page-home .dentfriend-section .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0;
    margin-top: 0;
}
.page-home .ambassador-card { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
.page-home .ambassador-card strong { font-size: 24px; line-height: 28px; }
.page-home .ambassador-card small { margin-top: 4px; font-size: 14px; line-height: 22px; }

/* Ratings. Exact desktop widths: 460 / 220 / 220 / 460 with 20px gaps. */
.page-home .ratings-section {
    padding-top: clamp(52px, calc(-38px + 9.375vw), 142px);
    padding-bottom: clamp(35px, calc(-56px + 9.479167vw), 126px);
    background: var(--clinic-sage);
}
.page-home .ratings-section .clinic-container { container-type: inline-size; }
.page-home .ratings-title { margin-bottom: clamp(52px, calc(24px + 2.916667vw), 80px); }
.page-home .ratings-grid,
.page-home .ratings-grid--count-4 {
    grid-template-columns: 23fr 11fr 11fr 23fr;
    gap: var(--home-gap);
}
.page-home .rating-card {
    height: 220px;
    min-height: 220px;
    padding: 30px;
    border-radius: 8px;
}
.page-home .rating-card__score { display: flex; align-items: baseline; margin-top: auto; }
.page-home .rating-card__score strong { margin: 0; }
.page-home .rating-card__score span { font-size: 18px; color: var(--clinic-dark); }

@container (max-width: 1000px) {
    .page-home .ratings-grid,
    .page-home .ratings-grid--count-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .page-home .rating-card:first-child,
    .page-home .rating-card:last-child { grid-column: 1 / -1; }
}

/* Media. Three 460px cards at desktop, next card remains partially visible. */
.page-home .media-section { padding-top: clamp(36px, calc(-56px + 9.583333vw), 128px); padding-bottom: clamp(26px, calc(-20px + 4.791667vw), 72px); overflow: hidden; }
.page-home .media-section .section-head { margin-bottom: clamp(36px, calc(8px + 2.916667vw), 64px); }
.page-home .media-section .section-head h2 { font-size: 40px; line-height: 1.08; }
.page-home .media-card {
    height: 270px;
    min-height: 270px;
    padding: 36px;
    border-radius: 8px;
    background: var(--home-media-card);
}

/* Blog. Deterministic 12-column composition from the approved desktop mockup. */
.page-home .blog-section { padding-top: clamp(26px, calc(-20px + 4.791667vw), 72px); padding-bottom: clamp(26px, calc(-20px + 4.791667vw), 72px); overflow: hidden; }
.home-blog-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 390px 390px;
    gap: 20px;
}
.home-blog-item { min-width: 0; }
.home-blog-item[hidden] { display: none; }
.home-blog-item[data-home-slot="1"] { grid-column: 1 / 7; grid-row: 1; }
.home-blog-item[data-home-slot="2"] { grid-column: 7 / 13; grid-row: 1; }
.home-blog-item[data-home-slot="3"] { grid-column: 1 / 7; grid-row: 2; }
.home-blog-item[data-home-slot="4"] { grid-column: 7 / 13; grid-row: 2; }
.home-blog-card {
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #e7e7e7;
}
.home-blog-card__media {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}
.home-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .2s ease;
}
.home-blog-card:hover .home-blog-card__media img,
.home-blog-card:focus-visible .home-blog-card__media img { filter: brightness(.9); }
.home-blog-card__title {
    display: none;
    flex: 0 0 66px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    color: var(--clinic-dark);
    background: #F0E65A;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
}
.home-blog-item[data-home-slot="1"] .home-blog-card__title { position: absolute; bottom: -100%; left: 0; width: 100%; display: block; transition: all ease .2s; }

.home-blog-item[data-home-slot="1"] .home-blog-card__media {}

.home-blog-card .video-play-button--mockup { top: 50%; left: 50%; }

.home-blog-card:hover .home-blog-card__title {
    bottom: 0;
}

/* Clinic today. No second play overlay when the poster already contains the mockup icon. */
.page-home .clinic-today { padding-top: clamp(26px, calc(-20px + 4.791667vw), 72px); padding-bottom: clamp(26px, calc(-20px + 4.791667vw), 72px); }
.page-home .clinic-today h2 { margin-bottom: clamp(52px, calc(24px + 2.916667vw), 80px); }
.page-home .clinic-video-mosaic { aspect-ratio: 1420 / 795; border-radius: 10px; }
.page-home .clinic-video-mosaic__play { top: 50%; left: 50%; }

/* Mission and statistics — matched to the approved 1920 / 960 / 375 SVGs. */
.page-home .mission-section { padding-top: clamp(26px, calc(-20px + 4.791667vw), 72px); padding-bottom: clamp(44px, calc(-2px + 4.791667vw), 90px); }
.page-home .mission-copy { max-width: 1000px; }
.page-home .mission-copy .section-kicker {
    display: block;
    margin-bottom: 28px;
    color: #272f39;
    font-size: 24px;
    font-weight: 400;
    line-height: 29px;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.page-home .mission-copy h2 {
    max-width: 1000px;
    margin: 0 0 95px;
    color: #272f39;
    font-size: 39px;
    font-weight: 400;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: normal;
}
.page-home .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 96px;
    margin: 0;
}
.page-home .stats-grid > .col {
    width: auto;
    max-width: none;
    padding: 0;
}
.page-home .stats-grid article {
    position: relative;
    height: 222px;
    min-height: 222px;
    padding: 5px 0 0 30px;
    border: 0;
}
.page-home .stats-grid article::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--stats-line-width, 4px);
    content: '';
    background: #78645a;
}
.page-home .stats-grid > .col:nth-child(1) article { --stats-line-width: 10px; }
.page-home .stats-grid > .col:nth-child(2) article { --stats-line-width: 4px; }
.page-home .stats-grid > .col:nth-child(3) article { --stats-line-width: 8px; }
.page-home .stats-grid > .col:nth-child(4) article { --stats-line-width: 4px; }
.page-home .stats-grid > .col:nth-child(5) article { --stats-line-width: 6px; }
.page-home .stats-grid > .col:nth-child(6) article { --stats-line-width: 2px; }
.page-home .stats-grid strong {
    display: block;
    color: #272f39;
    font-size: 104px;
    font-weight: 300;
    line-height: .9;
    letter-spacing: 0;
}
.page-home .stats-grid h3 {
    margin: 8px 0 25px;
    color: #272f39;
    font-size: 46px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}
.page-home .stats-grid p {
    max-width: 430px;
    margin: 0;
    color: #272f39;
    font-size: 16px;
    line-height: 19px;
}
.page-home .mission-actions { margin-top: 72px; gap: 20px; }

/* Technologies. Exact 1920px mosaic from the approved layout. */
.page-home .tech-section { padding-top: clamp(44px, calc(-2px + 4.791667vw), 90px); padding-bottom: clamp(26px, calc(-20px + 4.791667vw), 72px); }
.page-home .tech-section > .clinic-container > h2 {
    margin-bottom: clamp(40px, calc(12px + 2.916667vw), 68px);
    font-size: 40px;
    line-height: 1.08;
}
.page-home .tech-card {
    border-radius: 10px;
    height: 340px;
    min-height: 340px;
}
.page-home .tech-card::after {
    z-index: 2;
    pointer-events: none;
    background: rgba(39, 49, 61, .2);
}
.page-home .tech-card:hover::after { background: rgba(39, 49, 61, .2); }
.page-home .tech-card img { object-position: center; }
.page-home .tech-card strong {
    top: 20px;
    right: 20px;
    left: 20px;
    font-size: 19px;
    font-weight: 700;
    line-height: 25px;
}
/* .page-home .tech-card--1 { grid-column: 1 / 7; grid-row: 1; }
.page-home .tech-card--2 { grid-column: 7 / 10; grid-row: 1; }
.page-home .tech-card--3 { grid-column: 1 / 4; grid-row: 2; }
.page-home .tech-card--4 { grid-column: 7 / 13; grid-row: 2; }
.page-home .tech-card--5 { grid-column: 4 / 7; grid-row: 3; }
.page-home .tech-card--6 { grid-column: 10 / 13; grid-row: 3; } */
.page-home .tech-accent {
    display: block;
    align-self: stretch;
    z-index: 1;
    pointer-events: none;
}
.page-home .tech-accent--top-right {
    grid-column: 12;
    grid-row: 1;
    justify-self: end;
    width: 10px;
    background: #6e7d78;
}
.page-home .tech-accent--middle {
    grid-column: 6;
    grid-row: 2;
    justify-self: end;
    width: 40px;
    background: #463c3c;
}
.page-home .tech-accent--bottom-left {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    width: 60px;
    background: #d2bebe;
}
.page-home .tech-accent--bottom-middle {
    grid-column: 9;
    grid-row: 3;
    justify-self: end;
    width: 20px;
    background: #aab4aa;
}

/* First visit, form and map. */
.page-home .first-visit { padding-top: clamp(26px, calc(-20px + 4.791667vw), 72px); padding-bottom: 0; }
.page-home .first-visit .section-head {
    align-items: flex-end;
    margin-bottom: clamp(42px, calc(15px + 2.8125vw), 69px);
}
.page-home .first-visit h2 {
    
    font-size: 40px;
    font-weight: 400;
    line-height: 43px;
    letter-spacing: .15px;
    margin: 0;
}
.page-home .first-visit .text-link {
    min-height: 22px;
    
    font-size: 18px;
    line-height: 22px;
    letter-spacing: .4px;
    position: relative;
    top: -3px;
}
.page-home .first-visit-video {
    height: clamp(500px, calc(200px + 31.25vw), 800px);
    min-height: 0;
    aspect-ratio: auto;
}
.page-home .first-visit .play-button--large { width: 80px; height: 80px; font-size: 28px; }
.page-home .appointment-section { padding-top: clamp(45px, calc(-14px + 6.145833vw), 104px); padding-bottom: clamp(52px, calc(7px + 4.6875vw), 97px); }
.page-home .appointment-collage {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    background-image: url('/local/templates/clinic/assets/images/form-collage-home-desktop-exact.png');
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 8px;
}

@media (min-width: 960px) {
    .page-home .appointment-section .clinic-container { container-type: inline-size; }
    .page-home .appointment-heading {
        position: relative;
        top: 0;
        width: 100%;
        margin-bottom: clamp(37px, calc(8px + 3.020833vw), 66px);
    }
    .page-home .appointment-section h2 {
        margin-bottom: 28px;
        font-size: 40px;
        line-height: 1.08;
    }
}

@container (max-width: 1000px) {
    .page-home .appointment-collage {
        height: 700px;
        min-height: 700px;
        aspect-ratio: auto;
        background-image: url('/local/templates/clinic/assets/images/form-collage-home-desktop-exact.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }
}
.page-home .contacts-section { padding-top: clamp(52px, calc(32px + 2.083333vw), 72px); padding-bottom: clamp(52px, calc(2px + 5.208333vw), 102px); background: #f6f3f2; }
.page-home .map-frame { height: 650px; }

/* Homepage vertical geometry: prevent Swiper and Bootstrap utility classes
   from stretching sections beyond their real content height. */
.page-home .offers-section,
.page-home .reviews-section,
.page-home .stories-section,
.page-home .media-section,
.page-home .blog-section,
.page-home .clinic-today,
.page-home .mission-section,
.page-home .tech-section,
.page-home .first-visit,
.page-home .appointment-section,
.page-home .contacts-section {
    height: auto;
    min-height: 0;
}
.page-home .offers-swiper,
.page-home .reviews-swiper,
.page-home .stories-swiper,
.page-home .media-swiper,
.page-home .offers-swiper .swiper-wrapper,
.page-home .reviews-swiper .swiper-wrapper,
.page-home .stories-swiper .swiper-wrapper,
.page-home .media-swiper .swiper-wrapper {
    height: auto;
    min-height: 0;
}
.page-home .reviews-swiper .swiper-wrapper,
.page-home .stories-swiper .swiper-wrapper,
.page-home .media-swiper .swiper-wrapper { align-items: flex-start; }
.page-home .section-head.dentfriend-ambassadors-head {
    margin-top: clamp(42px, calc(-18px + 6.25vw), 102px);
    margin-bottom: clamp(43px, calc(15px + 2.916667vw), 71px);
}
.page-home .stories-section .clinic-btn--wide { margin-top: 55px; }
.page-home .stats-grid { margin: 0; }
.page-home .mission-actions { margin-top: 72px; gap: 20px; }

/* Adaptive layout: 375–959.98px. */
@media (min-width: 375px) and (max-width: 959.98px) {
    .page-home .section-head { margin-bottom: clamp(32px, calc(19.18px + 3.418803vw), 52px); }
    .page-home .hero-section { padding-bottom: clamp(42px, calc(35.59px + 1.709402vw), 52px); }
    .page-home .hero-card { height: 710px; min-height: 710px; }
    .page-home .hero-card h1 { max-width: 72%; font-size: clamp(24px, 3.35vw, 32px); }

    .page-home .treatment-section { padding-top: 0; padding-bottom: clamp(42px, calc(35.59px + 1.709402vw), 52px); }
    .page-home .offers-section { padding-top: clamp(42px, calc(35.59px + 1.709402vw), 52px); padding-bottom: clamp(38px, calc(34.15px + 1.025641vw), 44px); }
    .page-home .reviews-section { padding-top: clamp(38px, calc(34.15px + 1.025641vw), 44px); padding-bottom: clamp(36px, calc(31.51px + 1.196581vw), 43px); }
    .page-home .stories-section { padding-top: clamp(36px, calc(31.51px + 1.196581vw), 43px); padding-bottom: 32px; }
    .page-home .dentfriend-section {
        padding-top: clamp(32px, calc(29.44px + .683761vw), 36px);
        padding-bottom: clamp(32px, calc(29.44px + .683761vw), 36px);
    }
    .page-home .ratings-section { padding-top: clamp(42px, calc(35.59px + 1.709402vw), 52px); padding-bottom: clamp(30px, calc(26.79px + .854701vw), 35px); }
    .page-home .media-section { padding-top: clamp(40px, calc(32.307692px + 2.051282vw), 52px); padding-bottom: clamp(20px, calc(16.15px + 1.025641vw), 26px); }
    .page-home .media-section .section-head { margin-bottom: clamp(32px, calc(19.18px + 3.418803vw), 52px); }
    .page-home .media-section .section-head h2 {
        min-width: 220px;
        font-size: clamp(28px, calc(20.307692px + 2.051282vw), 40px);
    }
    .page-home .media-card { padding: clamp(24px, calc(16.307692px + 2.051282vw), 36px); }
    .page-home .media-card h3 { margin-top: clamp(25px, calc(14.74359px + 2.735043vw), 41px); }
    .page-home .blog-section,
    .page-home .clinic-today { padding-top: clamp(20px, calc(16.15px + 1.025641vw), 26px); padding-bottom: clamp(20px, calc(16.15px + 1.025641vw), 26px); }
    .page-home .mission-section { padding-top: clamp(20px, calc(16.15px + 1.025641vw), 26px); padding-bottom: clamp(38px, calc(34.15px + 1.025641vw), 44px); }
    .page-home .mission-copy .section-kicker {
        margin-bottom: clamp(16px, calc(10.87px + 1.367521vw), 24px);
        font-size: clamp(18px, calc(14.15px + 1.025641vw), 24px);
        line-height: clamp(22px, calc(17.51px + 1.196581vw), 29px);
    }
    .page-home .mission-copy h2 {
        margin-bottom: clamp(29px, calc(-13.31px + 11.282051vw), 95px);
        font-size: clamp(28px, calc(20.95px + 1.880342vw), 39px);
        line-height: clamp(39px, calc(28.10px + 2.905983vw), 56px);
    }
    .page-home .stats-grid { grid-template-columns: 1fr; row-gap: 21px; }
    .page-home .stats-grid article {
        height: auto;
        min-height: 0;
        padding: 0 0 5px 30px;
    }
    .page-home .stats-grid strong {
        font-size: clamp(55px, calc(23.59px + 8.376068vw), 104px);
    }
    .page-home .stats-grid h3 {
        margin: 8px 0 20px;
        font-size: clamp(24px, calc(9.90px + 3.760684vw), 46px);
    }
    .page-home .stats-grid p {
        font-size: clamp(13px, calc(11.08px + .512821vw), 16px);
        line-height: clamp(17px, calc(15.72px + .341880vw), 19px);
    }
    .page-home .tech-section { padding-top: clamp(38px, calc(34.15px + 1.025641vw), 44px); padding-bottom: clamp(20px, calc(16.15px + 1.025641vw), 26px); }
    .page-home .first-visit { padding-top: clamp(20px, calc(16.15px + 1.025641vw), 26px); padding-bottom: 0; }
    .page-home .first-visit .section-head { display: block; margin-bottom: 32px; }
    .page-home .first-visit h2 { margin-bottom: 14px; font-size: 28px; line-height: 39px; }
    .page-home .first-visit .text-link { min-height: 22px; font-size: 18px; line-height: 22px; letter-spacing: .4px; top: 0; }
    .page-home .appointment-section { padding-top: clamp(30px, calc(20.385px + 2.564103vw), 45px); padding-bottom: clamp(42px, calc(35.59px + 1.709402vw), 52px); }
    .page-home .contacts-section { padding-top: clamp(42px, calc(35.59px + 1.709402vw), 52px); padding-bottom: clamp(42px, calc(35.59px + 1.709402vw), 52px); }

    /* Dent Friend: fluid 375–959.98 layout from the approved 375 and 960 mockups. */
    .page-home .section-head.dentfriend-head {
        flex-wrap: wrap;
        row-gap: 32px;
        margin-bottom: 0;
    }
    .page-home .dentfriend-logo {
        width: clamp(311px, calc(247.54px + 16.923077vw), 410px);
        max-width: calc(100% - clamp(0px, calc(13.128px - 1.367521vw), 8px));
        margin-left: clamp(0px, calc(13.128px - 1.367521vw), 8px);
    }
    .page-home .dentfriend-head > .text-link {
        margin-left: clamp(0px, calc(13.128px - 1.367521vw), 8px);
    }
    .page-home .dentfriend-description {
        margin-top: clamp(27px, calc(19.949px + 1.880342vw), 38px);
        margin-right: clamp(0px, calc(13.128px - 1.367521vw), 8px);
        margin-left: clamp(0px, calc(13.128px - 1.367521vw), 8px);
    }
    .page-home .section-head.dentfriend-ambassadors-head {
        flex-wrap: wrap;
        row-gap: 7px;
        margin-top: clamp(32px, calc(25.59px + 1.709402vw), 42px);
        margin-bottom: clamp(27px, calc(16.744px + 2.735043vw), 43px);
    }
    .page-home .dentfriend-ambassadors-head h2 {
        flex: 1 1 500px;
        font-size: clamp(28px, calc(20.308px + 2.051282vw), 40px);
        line-height: clamp(39px, calc(36.436px + .683761vw), 43px);
    }

    .page-home .offers-swiper .swiper-slide,
    .page-home .offer-card { height: 322px; min-height: 322px; }
    .page-home .offer-card { padding: 28px; }
    .page-home .offer-card h3 { font-size: 24px; }
    .page-home .ambassador-card { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
    .page-home .first-visit-video {
        height: clamp(327px, calc(216.103px + 29.57265vw), 500px);
        min-height: 0;
        aspect-ratio: auto;
    }
    .page-home .map-frame { height: 540px; }
}

/* Home blog typography and exact header geometry from the approved mockups. */
@media (min-width: 375px) and (max-width: 959.98px) {
    .page-home .blog-section h2 {
        font-size: clamp(29px, calc(21.948718px + 1.880342vw), 40px);
        line-height: clamp(34px, calc(28.230769px + 1.538462vw), 43px);
    }
}

@media (min-width: 960px) {
    .page-home .blog-section h2 { font-size: 40px; line-height: 43px; }
}

/* Compact layout: below 375px. */
@media (max-width: 374.98px) {
    .page-home .section-head { margin-bottom: 32px; }
    .page-home .section-head h2 { width: 100%; }
    .page-home .hero-section { padding-bottom: 40px; }
    .page-home .hero-card { height: 613px; min-height: 613px; }
    .page-home .hero-card h1 { max-width: 100%; padding: 24px; font-size: 19px; line-height: 1.45; }
    .page-home .hero-patients { top: 216px; right: auto; bottom: auto; left: 24px; }
    .page-home .hero-award { right: 24px; bottom: 24px; left: 24px; width: auto; height: auto; aspect-ratio: 1 / 1; }

    .page-home .treatment-section { padding-top: 0; padding-bottom: 40px; }
    .page-home .offers-section { padding-top: 40px; padding-bottom: 36px; }
    .page-home .reviews-section { padding-top: 36px; padding-bottom: 34px; }
    .page-home .stories-section { padding-top: 34px; padding-bottom: 32px; }
    .page-home .dentfriend-section { padding-top: 32px; padding-bottom: 32px; }
    .page-home .ratings-section { padding-top: 40px; padding-bottom: 28px; }
    .page-home .media-section { padding-top: 40px; padding-bottom: 20px; }
    .page-home .media-section .section-head h2 { font-size: 28px; line-height: 1.15; }
    .page-home .media-card h3 { margin-top: 25px; }
    .page-home .blog-section,
    .page-home .clinic-today { padding-top: 20px; padding-bottom: 20px; }
    .page-home .mission-section { padding-top: 20px; padding-bottom: 36px; }
    .page-home .tech-section { padding-top: 36px; padding-bottom: 20px; }
    .page-home .first-visit { padding-top: 20px; padding-bottom: 0; }
    .page-home .first-visit .section-head { display: block; margin-bottom: 32px; }
    .page-home .first-visit h2 { margin-bottom: 14px; font-size: 28px; line-height: 39px; }
    .page-home .first-visit .text-link { min-height: 22px; font-size: 18px; line-height: 22px; letter-spacing: .4px; top: 0; }
    .page-home .appointment-section { padding-top: 30px; padding-bottom: 40px; }
    .page-home .contacts-section { padding-top: 40px; padding-bottom: 40px; }

    .page-home .offers-swiper .swiper-slide,
    .page-home .offer-card { height: 332px; min-height: 332px; }
    .page-home .offer-card { padding: 24px; }
    .page-home .offer-card h3 { font-size: 22px; }
    .page-home .reviews-swiper,
    .page-home .stories-swiper,
    .page-home .media-swiper { overflow: hidden; }
    .page-home .section-head.dentfriend-head { flex-wrap: wrap; row-gap: 32px; margin-bottom: 0; }
    .page-home .dentfriend-logo { width: 311px; max-width: calc(100% - 8px); margin-left: 8px; }
    .page-home .dentfriend-head > .text-link { margin-left: 8px; }
    .page-home .dentfriend-description { margin: 27px 8px 0; font-size: 18px; line-height: 25px; text-align: left; }
    .page-home .section-head.dentfriend-ambassadors-head { flex-wrap: wrap; row-gap: 7px; margin-top: 32px; margin-bottom: 27px; }
    .page-home .dentfriend-ambassadors-head h2 { flex: 1 1 500px; font-size: 28px; line-height: 39px; }
    .page-home .ambassador-card { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
    .page-home .ambassador-card span { right: 20px; bottom: 18px; left: 20px; }
    .page-home .ambassador-card strong { font-size: 24px; line-height: 28px; }
    .page-home .ambassador-card small { margin-top: 4px; font-size: 16px; line-height: 20px; }
    .page-home .ratings-title { margin-bottom: 40px; }
    .page-home .ratings-grid,
    .page-home .ratings-grid--count-4 { grid-template-columns: 1fr; gap: 20px; }
    .page-home .rating-card,
    .page-home .rating-card:first-child,
    .page-home .rating-card:last-child { grid-column: auto; height: 220px; min-height: 220px; }
    .page-home .media-card { height: 250px; min-height: 250px; padding: 24px; }
    .home-blog-grid { display: block; }
    .home-blog-item[data-home-slot] { width: 100%; height: 322px; }
    .home-blog-item[data-home-slot="1"] .home-blog-card__media { height: 265px; flex: 0 0 265px; }
    .home-blog-card__title { flex-basis: 57px; padding: 10px 14px; font-size: 13px; line-height: 17px; }
    .page-home .clinic-video-mosaic { aspect-ratio: 327 / 183; }
    .page-home .mission-copy .section-kicker { margin-bottom: 16px; font-size: 18px; line-height: 22px; }
    .page-home .mission-copy h2 { margin-bottom: 29px; font-size: 28px; line-height: 39px; }
    .page-home .stats-grid { grid-template-columns: 1fr; gap: 21px; }
    .page-home .stats-grid article { height: auto; min-height: 0; padding: 0 0 5px 30px; }
    .page-home .stats-grid strong { font-size: 55px; }
    .page-home .stats-grid h3 { margin: 8px 0 20px; font-size: 24px; }
    .page-home .stats-grid p { font-size: 13px; line-height: 17px; }
    .page-home .mission-actions { margin-top: 35px; }
    .page-home .tech-grid { grid-template-columns: 1fr; gap: 20px; }
    .page-home .tech-card[class*="tech-card--"] { height: 340px; min-height: 340px; }
    .page-home .tech-accent { display: none; }
    .page-home .first-visit-video { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
    .page-home .map-frame { height: 520px; }
}

/* The 960px layout has an 888px content container and follows the approved
   two-column composition without adding a fourth viewport breakpoint. */
.page-home .blog-section .clinic-container,
.page-home .mission-section .clinic-container,
.page-home .tech-section .clinic-container { container-type: inline-size; }

@container (min-width: 375px) and (max-width: 1000px) {
    .home-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, 242px);
        gap: 20px;
    }
    .home-blog-item[data-home-slot] {
        grid-column: auto;
        grid-row: auto;
        height: 242px;
        align-self: stretch;
    }
    .home-blog-item[data-home-slot="1"] .home-blog-card__media {
        height: 170px;
        flex: 0 0 170px;
        min-height: 170px;
    }
    .home-blog-card__title { flex-basis: 72px; padding: 12px 18px; font-size: 13px; line-height: 18px; }

    .page-home .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
    .page-home .stats-grid article { height: 222px; min-height: 222px; padding-top: 5px; padding-bottom: 0; }

    .page-home .tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 20px;
    }
    .page-home .tech-card[class*="tech-card--"] {
        grid-column: auto;
        grid-row: auto;
        height: 340px;
        min-height: 340px;
    }
    .page-home .tech-accent { display: none; }
}

/* Component-width adaptation used by the approved 960px composition. */
.page-home .hero-section,
.page-home .treatment-container { container-type: inline-size; }

@container (min-width: 425px) and (max-width: 1000px) {
    .page-home .hero-card { height: 570px; min-height: 570px; }
    .page-home .hero-card h1 { max-width: 72%; padding: 28px 28px; font-size: 28px; }
    .page-home .hero-award { right: auto; bottom: 28px; left: 28px; width: 126px; height: 126px; }


    .page-home .treatment-heading {
        max-width: none;
        margin-bottom: 42px;
        font-size: 40px;
        line-height: 56px;
    }
    .page-home .treatment-layout { display: block; height: auto; }
    .page-home .treatment-card {
        display: grid;
        grid-template-columns: minmax(282px, 39.752252%) minmax(0, 1fr);
        width: 100%;
        height: auto;
        min-height: 356px;
        overflow: hidden;
        border-radius: 20px;
        background: #dfdbd7;
    }
    .page-home .treatment-card::before { display: none; }
    .page-home .treatment-card__media {
        align-self: start;
        width: 282px;
        max-width: 100%;
        height: 320px;
        min-height: 320px;
        margin: 36px auto 0;
        background-image: url('assets/images/doctor-plan-tablet.png');
        background-position: center;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    .page-home .treatment-card__copy {
        justify-content: center;
        min-width: 0;
        min-height: 356px;
        padding: 36px 36px 36px 0;
    }
    .page-home .treatment-note {
        width: 700px;
        max-width: 100%;
        height: auto;
        margin-top: 28px;
        padding: 0;
        border-left: 0;
        font-size: 15px;
        line-height: 22px;
    }
    .page-home .treatment-note .section-kicker {
        margin-bottom: 12px;
        font-size: 16px;
        font-weight: 700;
        line-height: 22px;
    }
    .page-home .treatment-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        min-height: 0;
        margin-top: 21px;
    }
    .page-home .treatment-steps article,
    .page-home .treatment-steps article:not(:first-child) { min-height: 105px; padding: 0; border: 0; }
    .page-home .treatment-button { width: 100%; min-width: 0; }
}

/* Exact 375px mockup: the inner content is 327px wide and uses the compact
   one-column composition even though the viewport is the adaptive boundary. */
@container (max-width: 374.98px) {
    .page-home .blog-section .section-head {
        row-gap: 26px;
        margin-bottom: 32px;
    }
    .page-home .blog-section .section-head h2 {
        width: 100%;
        font-size: 29px;
        line-height: 34px;
    }

    .page-home .ratings-grid,
    .page-home .ratings-grid--count-4 { grid-template-columns: 1fr; gap: 20px; }
    .page-home .rating-card,
    .page-home .rating-card:first-child,
    .page-home .rating-card:last-child { grid-column: auto; }

    .home-blog-grid { display: block; }
    .home-blog-item[data-home-slot] { width: 100%; height: 322px; }
    .home-blog-item[data-home-slot="1"] .home-blog-card__media { height: 265px; flex: 0 0 265px; }
    .home-blog-card__title { flex-basis: 57px; padding: 10px 14px; font-size: 13px; line-height: 17px; }

    .page-home .stats-grid { grid-template-columns: 1fr; gap: 32px; }
    .page-home .tech-section > .clinic-container > h2 { margin-bottom: 40px; font-size: 29px; line-height: 1.15; }
    .page-home .tech-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 20px; }
    .page-home .tech-card[class*="tech-card--"] {
        grid-column: auto;
        grid-row: auto;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }
    .page-home .tech-accent { display: none; }

    .page-home .hero-card { height: 613px; min-height: 613px; }
    .page-home .hero-card h1 { max-width: 100%; padding: 24px; font-size: 19px; line-height: 1.45; }
    .page-home .hero-patients { top: 216px; right: auto; bottom: auto; left: 24px; }
    .page-home .hero-award { right: 24px; bottom: 24px; left: 24px; width: auto; height: auto; aspect-ratio: 1 / 1; }


    .page-home .treatment-card {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 536px 317px;
        width: 100%;
        height: 853px;
        min-height: 853px;
        overflow: hidden;
        border-radius: 20px;
        background: #dfdbd7;
    }
    .page-home .treatment-card__copy {
        grid-row: 1;
        justify-content: flex-start;
        height: 536px;
        min-height: 536px;
        padding: 25px 25px 11px;
    }
    .page-home .treatment-card__media {
        grid-row: 2;
        width: calc(100% - 48px);
        max-width: none;
        height: 317px;
        min-height: 317px;
        margin: 0 24px;
        background-image: url('assets/images/doctor-plan-mobile.png');
        background-position: center;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    .page-home .treatment-note {
        width: 100%;
        margin-top: 28px;
        font-size: 15px;
        line-height: 22px;
    }
    .page-home .treatment-note .section-kicker {
        margin-bottom: 12px;
        font-size: 16px;
        font-weight: 700;
        line-height: 22px;
    }
    .page-home .treatment-steps {
        grid-template-columns: 1fr;
        grid-template-rows: 127px 152px 127px 127px;
        row-gap: 22px;
        min-height: 628px;
        margin-top: 21px;
    }
}

/* Homepage hero — corrected after full code review against 1920 / 960 / 375 mockups. */
.page-home .hero-card {
    background-position: center center;
    background-size: cover;
}
.page-home .hero-card::after {
    display: none;
}
.page-home .hero-card h1 {
    box-sizing: border-box;
    margin: 0;
    overflow-wrap: normal;
    word-break: normal;
}
.page-home .hero-patients {
    display: block;
    width: max-content;
    max-width: calc(100% - 48px);
    gap: 0;
}
.page-home .hero-patients strong {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #fff;
    font-size: 0;
    line-height: 1;
    text-shadow: none;
}
.page-home .hero-patients strong span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    padding: 0;
    color: #fff;
    background: #354752;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.page-home .hero-patients small {
    display: block;
    width: max-content;
    max-width: 100%;
    margin-top: 4px;
    padding-left: 0;
    color: #272f39;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
}
.page-home .hero-award {
    object-fit: fill;
}

@media (min-width: 960px) {
    .page-home .hero-section {
        padding-bottom: clamp(36px, calc(-72.271px + 11.278195vw), 96px);
    }
    .page-home .hero-card {
        height: 710px;
        min-height: 710px;
    }
    .page-home .hero-card h1 {
        width: clamp(697px, calc(316.278px + 39.661654vw), 908px);
        max-width: calc(100% - 72px);
        padding: 36px;
        font-size: 24px;
        font-weight: 400;
        line-height: 35px;
    }
    .page-home .hero-patients {
        top: 36px;
        right: 36px;
        bottom: auto;
        left: auto;
    }
    .page-home .hero-award {
        right: auto;
        bottom: 36px;
        left: 36px;
        width: 156px;
        height: 156px;
        aspect-ratio: auto;
    }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-home .hero-section {
        padding-bottom: clamp(32px, calc(29.436px + .683761vw), 36px);
    }
    .page-home .hero-card {
        height: clamp(613px, calc(550.821px + 16.581197vw), 710px);
        min-height: clamp(613px, calc(550.821px + 16.581197vw), 710px);
    }
    .page-home .hero-card h1 {
        width: clamp(327px, calc(89.329px + 63.378378vw), 697px);
        max-width: 100%;
        padding: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        font-size: clamp(19px, calc(15.795px + .854701vw), 24px);
        font-weight: 400;
        line-height: clamp(28px, calc(23.513px + 1.196581vw), 35px);
    }
    .page-home .hero-patients {
        top: clamp(36px, calc(331.385px - 30.769231vw), 216px);
        right: auto;
        bottom: auto;
        left: clamp(24px, calc(16.308px + 2.051282vw), 36px);
    }
    .page-home .hero-award {
        right: auto;
        bottom: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        left: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        width: clamp(156px, calc(357.846px - 21.025641vw), 279px);
        height: clamp(156px, calc(357.846px - 21.025641vw), 279px);
        aspect-ratio: auto;
    }
}

@media (max-width: 374.98px) {
    .page-home .hero-section {
        padding-bottom: 32px;
    }
    .page-home .hero-card {
        height: 613px;
        min-height: 613px;
    }
    .page-home .hero-card h1 {
        width: 100%;
        max-width: none;
        padding: 24px;
        font-size: 19px;
        font-weight: 400;
        line-height: 28px;
    }
    .page-home .hero-patients {
        top: 216px;
        right: auto;
        bottom: auto;
        left: 24px;
    }
    .page-home .hero-award {
        right: auto;
        bottom: 24px;
        left: 24px;
        width: calc(100% - 48px);
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

/* Treatment typography matched to the approved 375 / 960 / desktop mockups. */
.page-home .treatment-section {
    
}
.page-home .treatment-note,
.page-home .treatment-steps p {
    color: #27313d;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 0;
}
.page-home .treatment-note .section-kicker {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
}
.page-home .treatment-steps h3 {
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 0;
}
.page-home .treatment-button {
    
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    letter-spacing: 0;
}

/* Homepage offers — aligned with approved 1920 / 960 / 375 mockups. */
.page-home .offers-section {
    
}
.page-home .offers-section .section-head {
    min-width: 0;
}
.page-home .offers-section .section-head h2 {
    min-width: 0;
    letter-spacing: 0;
}
.page-home .offers-swiper .swiper-slide,
.page-home .offer-card {
    height: 400px;
    min-height: 400px;
}
.page-home .offer-card {
    justify-content: flex-start;
    padding: 38px 36px 36px;
}
.page-home .offer-card small {
    display: block;
    color: #4f565c;
    font-size: 17px;
    font-weight: 400;
    line-height: 22px;
}
.page-home .offer-card h3 {
    max-width: 100%;
    margin: 25px 0 0;
    font-size: 35px;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: 0;
}
.page-home .offer-card > div {
    margin-top: auto;
}
.page-home .offer-card strong {
    font-size: 35px;
    font-weight: 500;
    line-height: 44px;
    white-space: nowrap;
}
.page-home .offer-card span {
    font-size: 19.4px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0;
    white-space: nowrap;
}

@media (min-width: 960px) {
    .page-home .offers-section {
        padding-top: clamp(36px, calc(-56px + 9.583333vw), 128px);
    }
    .page-home .offers-section .section-head {
        margin-bottom: clamp(36px, calc(8px + 2.916667vw), 64px);
    }
    .page-home .offers-section .section-head h2 {
        font-size: 40px;
        line-height: 56px;
    }
    .page-home .offer-card {
        padding-bottom: 39px;
    }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-home .offers-section .section-head {
        margin-bottom: clamp(21px, calc(40.692px - 2.051282vw), 33px);
    }
    .page-home .offers-swiper .swiper-slide,
    .page-home .offer-card {
        height: clamp(261px, calc(171.865px + 23.760684vw), 400px);
        min-height: clamp(261px, calc(171.865px + 23.760684vw), 400px);
    }
    .page-home .offer-card {
        padding: clamp(24px, calc(16.308px + 2.051282vw), 36px);
        padding-top: clamp(26px, calc(18.308px + 2.051282vw), 38px);
    }
    .page-home .offer-card h3 {
        margin-top: clamp(13px, calc(5.308px + 2.051282vw), 25px);
        font-size: clamp(23px, calc(15.308px + 2.051282vw), 35px);
        line-height: clamp(34px, calc(23.744px + 2.735043vw), 50px);
    }
    .page-home .offer-card > div {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
        gap: clamp(10px, calc(14.923px - .512821vw), 13px);
    }
    .page-home .offer-card span {
        font-size: 19.4px;
        line-height: 25px;
    }
}

@media (max-width: 374.98px) {
    .page-home .offers-section .section-head {
        margin-bottom: 32px;
    }
    .page-home .offers-swiper .swiper-slide,
    .page-home .offer-card {
        height: 261px;
        min-height: 261px;
    }
    .page-home .offer-card {
        padding: 26px 24px 24px;
    }
    .page-home .offer-card h3 {
        margin-top: 13px;
        font-size: 23px;
        line-height: 34px;
    }
    .page-home .offer-card > div {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
        gap: 13px;
    }
    .page-home .offer-card span {
        font-size: 19.4px;
        line-height: 25px;
    }
}

/* Homepage patient reviews — approved 1920 / 960 / 375 composition. */
.page-home .reviews-section {
    
}
.page-home .reviews-section .reviews-head {
    align-items: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    margin-bottom: 40px;
}
.page-home .reviews-section .reviews-head h2 {
    flex: 1 1 500px;
    min-width: 0;
    margin: 0;
    color: #27313d;
    font-size: 40.5px;
    font-weight: 400;
    line-height: 56px;
    letter-spacing: 0;
    white-space: nowrap;
}
.page-home .reviews-head__actions {
    flex: 0 1 320px;
    justify-content: flex-end;
    gap: 24px !important;
    min-width: 0;
    margin-left: auto;
}
.page-home .reviews-section .text-link {
    flex: 0 0 auto;
    min-height: 60px;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0;
}
.page-home .reviews-section .slider-controls {
    flex: 0 0 auto;
}
.page-home .reviews-swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.page-home .reviews-swiper .swiper-wrapper {
    align-items: flex-start;
}
.page-home .reviews-swiper .swiper-slide {
    width: 340px;
    max-width: 100%;
    height: auto;
}
.page-home .reviews-section .person-card {
    width: 100%;
    color: #27313d;
}
.page-home .reviews-section .person-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}
.page-home .reviews-section .person-card h3 {
    margin: 36px 0 10px;
    color: #27313d;
    font-size: 18.5px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 0;
}
.page-home .reviews-section .person-card p {
    margin: 0 0 10px;
    color: #27313d;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0;
}
.page-home .reviews-section .person-card small {
    display: block;
    color: #27313d;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0;
}
.page-home .reviews-section .play-button {
    right: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    padding-left: 4px;
    background: rgba(255, 255, 255, .9);
    font-size: 22px;
    line-height: 1;
}

@media (min-width: 960px) {
    .page-home .reviews-section .reviews-head {
        flex-wrap: nowrap;
    }
    .page-home .reviews-head__actions {
        flex-basis: 320px;
        flex-direction: row;
    }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-home .reviews-section .reviews-head {
        align-items: flex-start;
        gap: 21px 0;
        margin-bottom: 31px;
    }
    .page-home .reviews-section .reviews-head h2 {
        flex: 1 1 100%;
        width: 100%;
        font-size: 28.5px;
        line-height: 39px;
    }
    .page-home .reviews-head__actions {
        flex: 1 1 100%;
        flex-direction: row-reverse;
        justify-content: space-between;
        gap: 24px !important;
        width: 100%;
        max-width: none;
        margin-left: 0;
    }
}

@media (max-width: 374.98px) {
    .page-home .reviews-section .reviews-head {
        align-items: flex-start;
        gap: 21px 0;
        margin-bottom: 31px;
    }
    .page-home .reviews-section .reviews-head h2 {
        flex: 1 1 100%;
        width: 100%;
        font-size: 28.5px;
        line-height: 39px;
    }
    .page-home .reviews-head__actions {
        flex: 1 1 100%;
        flex-direction: row-reverse;
        justify-content: space-between;
        gap: 24px !important;
        width: 100%;
        max-width: none;
        margin-left: 0;
    }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-home .reviews-swiper { overflow: hidden; }
}
@media (max-width: 374.98px) {
    .page-home .reviews-swiper { overflow: hidden; }
}


/* Homepage stories: canonical 1920 / 960 / 375 implementation. */
.page-home .stories-section {
    overflow: hidden;
    
}
.page-home .stories-section .stories-head {
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: clamp(35px, calc(7px + 2.916667vw), 63px);
}
.page-home .stories-section .stories-head h2 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    color: #27313d;
    font-size: 40.5px;
    font-weight: 400;
    line-height: 56px;
    letter-spacing: 0;
    white-space: nowrap;
}
.page-home .stories-head__actions {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 24px !important;
    margin-left: auto;
}
.page-home .stories-section .text-link {
    flex: 0 0 auto;
    min-height: 60px;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0;
}
.page-home .stories-swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}
.page-home .stories-swiper .swiper-wrapper { align-items: flex-start; }
.page-home .stories-swiper .swiper-slide {
    width: 340px;
    max-width: 100%;
    height: auto;
}
.page-home .stories-section .story-card {
    width: 100%;
    color: #27313d;
}
.page-home .stories-section .story-comparison {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}
.page-home .stories-section .story-card h3 {
    margin: 36px 0 10px;
    color: #27313d;
    font-size: 18.5px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: 0;
}
.page-home .stories-section .story-card p {
    margin: 0 0 2px;
    color: #7d8288;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}
.page-home .stories-section .story-card small {
    display: block;
    color: #7d8288;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-home .stories-section .stories-head {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 21px 0;
        margin-bottom: 31px;
    }
    .page-home .stories-section .stories-head h2 {
        flex: 1 1 100%;
        width: 100%;
        font-size: 28.5px;
        line-height: 39px;
        white-space: normal;
    }
    .page-home .stories-head__actions {
        flex: 1 1 100%;
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
        margin-left: 0;
    }
    .page-home .stories-swiper { overflow: hidden; }
    .page-home .stories-swiper .swiper-slide { width: 100%; }
    .page-home .stories-section .story-card h3 {
        margin-top: 25px;
        font-size: 22px;
        line-height: 28px;
    }
    .page-home .stories-section .story-card p,
    .page-home .stories-section .story-card small {
        font-size: 16px;
        line-height: 24px;
    }
    .page-home .stories-section .clinic-btn--wide {
        height: 88px;
        min-height: 88px;
        margin-top: 62px;
        font-size: 28px;
        line-height: 34px;
    }
}

@media (max-width: 374.98px) {
    .page-home .stories-section .stories-head {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 21px 0;
        margin-bottom: 31px;
    }
    .page-home .stories-section .stories-head h2 {
        flex: 1 1 100%;
        width: 100%;
        font-size: 28.5px;
        line-height: 39px;
        white-space: normal;
    }
    .page-home .stories-head__actions {
        flex: 1 1 100%;
        flex-direction: row-reverse;
        justify-content: space-between;
        width: 100%;
        margin-left: 0;
    }
    .page-home .stories-swiper { overflow: hidden; }
    .page-home .stories-swiper .swiper-slide { width: 100%; }
    .page-home .stories-section .story-card h3 {
        margin-top: 25px;
        font-size: 22px;
        line-height: 28px;
    }
    .page-home .stories-section .story-card p,
    .page-home .stories-section .story-card small {
        font-size: 16px;
        line-height: 24px;
    }
    .page-home .stories-section .clinic-btn--wide {
        height: 88px;
        min-height: 88px;
        margin-top: 62px;
        font-size: 28px;
        line-height: 34px;
    }
}

/* Appointment form: exact adaptive geometry from the approved 375 / 960 mockups. */
@media (min-width: 375px) and (max-width: 959.98px) {
    .page-home .appointment-section .clinic-container {
        container-type: inline-size;
    }

    .page-home .appointment-heading {
        top: 0;
        margin-bottom: clamp(22px, calc(14.949px + 1.880342vw), 33px);
    }

    .page-home .appointment-section h2 {
        top: 0;
        margin-bottom: 19px;
        font-size: clamp(28px, calc(20.308px + 2.051282vw), 40px);
        line-height: clamp(39px, calc(36.436px + .683761vw), 43px);
    }

    .page-home .appointment-lead {
        max-width: 690px;
        font-size: 18px;
        line-height: 25px;
    }

    .page-home .appointment-layout {
        grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
        gap: 20px;
    }

    .page-home .clinic-webform .form-question:not(.form-question--consent) {
        height: clamp(74px, calc(54.769px + 5.128205vw), 104px);
    }

    .page-home .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) {
        margin-top: clamp(16px, calc(-13.487px + 7.863248vw), 62px);
    }

    .page-home .clinic-webform .form-label {
        position: relative;
        top: clamp(0px, calc(-3.205px + .854701vw), 5px);
        margin: 0 0 clamp(2px, calc(.718px + .34188vw), 4px);
        font-size: clamp(15px, calc(13.077px + .512821vw), 18px);
        line-height: clamp(19px, calc(20.641px - .17094vw), 20px);
    }

    .page-home .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .page-home .clinic-webform textarea,
    .page-home .clinic-webform select {
        height: clamp(52px, calc(34.692px + 4.615385vw), 79px);
        min-height: clamp(52px, calc(34.692px + 4.615385vw), 79px);
        padding: clamp(8px, calc(4.795px + .854701vw), 13px) 0 7px;
        font-size: clamp(20px, calc(12.308px + 2.051282vw), 32px);
        line-height: clamp(31px, calc(13.692px + 4.615385vw), 58px);
    }

    .page-home .clinic-webform .form-question--consent {
        margin-top: 18px;
    }

    .page-home .clinic-webform .form-question--consent + .col-12 {
        margin-top: clamp(38px, calc(5.949px + 8.547009vw), 88px);
    }

    .page-home .clinic-webform .clinic-btn--wide {
        height: clamp(73px, calc(56.974px + 4.273504vw), 98px);
        min-height: clamp(73px, calc(56.974px + 4.273504vw), 98px);
        font-size: clamp(18px, calc(14.154px + 1.025641vw), 24px);
    }
}

@container (max-width: 699px) {
    .page-home .appointment-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .page-home .appointment-collage {
        order: -1;
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        background-image: url('/local/templates/clinic/assets/images/form-collage-home-desktop-exact.png');
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .page-home .appointment-mobile-break {
        display: block;
    }
}

/* ===== slider-arrows.css ===== */
/* Single source of slider navigation styles for the Fedoseev layouts. */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.slider-controls button {
    position: relative;
    display: block;
    flex: 0 0 60px;
    width: 60px;
    min-width: 60px;
    height: 60px;
    min-height: 60px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    outline: 0;
    color: transparent;
    background: #efe9e3;
    font-size: 0;
    line-height: 0;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
}

.slider-controls button::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 13px;
    height: 25px;
    content: '';
    background: url('assets/images/slider-arrow.svg') center / 13px 25px no-repeat;
    transform: translate(-50%, -50%);
    transform-origin: center;
}

.slider-controls .slider-prev::before {
    transform: translate(-50%, -50%) rotate(180deg);
}

/* White controls on muted and dark layout sections. */
.page-home .offers-section .slider-controls button,
.page-home .reviews-section .slider-controls button,
.page-home .stories-section .slider-controls button,
.page-about .about-history .slider-controls button,
.page-about .reviews-section .slider-controls button,
.page-about .stories-section .slider-controls button {
    background: #fff;
}

.slider-controls button:hover { background: #e5ddd6; }
.page-home .offers-section .slider-controls button:hover,
.page-home .reviews-section .slider-controls button:hover,
.page-home .stories-section .slider-controls button:hover,
.page-about .about-history .slider-controls button:hover,
.page-about .reviews-section .slider-controls button:hover,
.page-about .stories-section .slider-controls button:hover {
    background: #f7f7f7;
}

.slider-controls button:focus-visible {
    outline: 1px solid #272f39;
    outline-offset: 3px;
}

.slider-controls button.swiper-button-disabled,
.slider-controls button[aria-disabled='true'] {
    opacity: .45;
}

@media (max-width: 374.98px) {
    .slider-controls { gap: 20px; }
    .slider-controls button {
        flex-basis: 56px;
        width: 56px;
        min-width: 56px;
        height: 56px;
        min-height: 56px;
    }
}

/* ===== doctor-detail.css ===== */
/* Doctor detail. Breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
.page-doctor-detail main { overflow: hidden; }
.page-doctor-detail .clinic-container { width: min(calc(100% - 72px), 1420px); }
.doctor-detail { color: #27313d; background: #fff; }
.doctor-detail__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    font-size: 18px;
    line-height: 1;
}
.doctor-detail__breadcrumbs a { color: #a7aaad; }
.doctor-detail__breadcrumbs a:hover { color: #27313d; }
.doctor-detail__container > h1 {
    margin: clamp(34px, calc(34px + (100vw - 960px) * .10714), 91px) 0 max(35px, calc(52px - (100vw - 960px) * .03195));
    font-size: 43px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}
.doctor-detail__video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1420 / 795;
    overflow: hidden;
    background: #d9d7d5;
    margin: 0 0 30px !important;
}
.doctor-detail__video img { width: 100%; height: 100%; object-fit: cover; }
.doctor-detail__video .play-button { width: 80px; height: 80px; color: #fff; background: rgba(82,72,65,.78); }

.doctor-profile {
    display: grid;
    grid-template-columns: clamp(434px, calc(434px + (100vw - 960px) * .27444), 580px) minmax(0, 1fr);
    gap: clamp(20px, calc(20px + (100vw - 960px) * .22556), 140px);
    align-items: start;
    margin-top: clamp(36px, calc(36px + (100vw - 960px) * .05263), 64px);
}
.doctor-profile__picture { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; background: #ede9e4; }
.doctor-profile__picture img { width: 100%; height: 100%; object-fit: cover; }
.doctor-profile__content { display: flex; flex-direction: column; min-width: 0; height: max(580px, calc(594px - (100vw - 960px) * .02632)); padding-top: 1px; }
.doctor-profile h2 {
    margin: 0 0 clamp(16px, calc(16px + (100vw - 960px) * .0094), 21px);
    font-size: clamp(18px, calc(18px + (100vw - 960px) * .01128), 24px);
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}
.doctor-profile__position { margin: 0 0 clamp(20px, calc(20px + (100vw - 960px) * .01504), 28px); font-size: clamp(12px, calc(12px + (100vw - 960px) * .00564), 15px); line-height: 1.45; }
.doctor-list { margin: 0; padding: 0 0 0 18px; }
.doctor-list li { padding-left: 1px; }

.doctor-list a {
    text-decoration: underline;
}
.doctor-list a:hover {
    text-decoration: none;
}

.doctor-list li + li { margin-top: 4px; }
.doctor-profile__facts { margin-bottom: clamp(20px, calc(20px + (100vw - 960px) * .01692), 29px); font-size: clamp(12px, calc(12px + (100vw - 960px) * .00564), 15px); line-height: 1.46; }
.doctor-profile__text { font-size: clamp(12px, calc(12px + (100vw - 960px) * .00564), 15px); line-height: 1.46; }
.doctor-profile__text p { margin: 0 0 clamp(15px, calc(15px + (100vw - 960px) * .01504), 23px); }
.page-doctor-detail .doctor-profile__appointment {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(340px, 100%);
    height: 48px;
    min-height: 48px;
    margin-top: auto;
    padding: 0;
    border-radius: 4px;
    background: #ded2c6;
    font-size: 18px;
}

.doctor-qualification {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    min-height: max(868px, calc(1063px - (100vw - 960px) * .36654));
    margin-top: clamp(40px, calc(40px + (100vw - 960px) * .11466), 101px);
    padding-bottom: clamp(71px, calc(71px + (100vw - 960px) * .08647), 117px);
    align-items: start;
}
.doctor-copy-block + .doctor-copy-block { margin-top: 45px; }
.doctor-copy-block h2,
.doctor-qualification__competencies > h2 {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}
.doctor-copy-block .doctor-list,
.doctor-competency .doctor-list { font-size: 13px; line-height: 1.42; }
.doctor-copy-block .doctor-list li + li { margin-top: 1px; }
.doctor-competency .doctor-list li + li { margin-top: 5px; }
.doctor-copy-block--certificates .doctor-list li + li { margin-top: 1px; }
.doctor-qualification__competencies {
    min-width: 0;
    padding-left: 20px;
    border-left: 6px solid #8C968C;
}
.doctor-qualification__competencies > h2 { margin-bottom: 35px; }
.doctor-competency + .doctor-competency { margin-top: 35px; }
.doctor-competency h3 {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}
.doctor-competency ul:not(:last-child) {
    margin: 0 0 35px;
}

.doctor-reviews { padding: clamp(29px, calc(29px + (100vw - 960px) * .07895), 71px) 0 clamp(36px, calc(36px + (100vw - 960px) * .17293), 128px); }
.doctor-reviews__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(43px, calc(43px + (100vw - 960px) * .02632), 57px);
}
.doctor-reviews__head h2 { font-size: clamp(40px, calc(40px + (100vw - 960px) * .00564), 43px); line-height: 1.08; }
.doctor-reviews__actions { display: flex; align-items: center; gap: 43px; }
.doctor-reviews__actions .text-link { font-size: 18px; }
.doctor-text-reviews-swiper { overflow: visible; }
.doctor-video-review { width: min(340px, 100%); min-width: 0; }
.doctor-video-review__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #d7d8d7;
}
.doctor-video-review__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.doctor-video-review__media .play-button {
    top: auto;
    right: 18px;
    bottom: 18px;
    left: auto;
    width: 48px;
    height: 48px;
    color: #fff;
    background: rgba(39,49,61,.86);
    transform: none;
}
.doctor-video-review h3 { margin: 22px 0 6px; font-size: 15px; font-weight: 400; line-height: 1.35; text-transform: uppercase; }
.doctor-video-review p { min-height: 43px; margin: 0 0 7px; font-size: 13px; line-height: 1.4; }
.doctor-video-review > span { display: block; font-size: 13px; line-height: 1.4; }
.doctor-text-reviews { position: relative; margin-top: clamp(157px, calc(157px + (100vw - 960px) * .10526), 213px); }
.doctor-text-reviews__controls { position: absolute; right: 0; bottom: calc(100% + 20px); }
.doctor-text-review {
    box-sizing: border-box;
    width: min(700px, calc((min(100vw - 72px, 1420px) - 20px) / 2));
    height: 436px;
    min-height: 436px;
    padding: 35px 39px 38px;
    background: #e2e5e2;
    font-size: 15px;
    line-height: 1.46;
}
.doctor-text-review__text p:last-child { margin-bottom: 0; }
.page-doctor-detail .doctor-reviews__button {
    width: 100%;
    height: 98px;
    min-height: 98px;
    margin-top: clamp(36px, calc(36px + (100vw - 960px) * .05263), 64px);
    border-radius: 4px;
    background: #ccd2cc;
    font-size: 20px;
}

.doctor-first-visit .first-visit { padding: clamp(39px, calc(39px + (100vw - 960px) * .19549), 143px) 0 clamp(48px, calc(48px + (100vw - 960px) * .1297), 117px); }
.doctor-first-visit .first-visit .section-head { margin-bottom: clamp(43px, calc(43px + (100vw - 960px) * .0282), 58px); }
.doctor-first-visit .first-visit h2 { font-size: 43px; line-height: 1.08; }
.doctor-first-visit .first-visit .text-link { font-size: 18px; }
.doctor-first-visit .first-visit-video { height: clamp(500px, calc(500px + (100vw - 960px) * .56391), 800px); min-height: 0; }

.doctor-appointment { padding: clamp(70px, calc(70px + (100vw - 960px) * .09023), 118px) 0 clamp(35px, calc(35px + (100vw - 960px) * .11466), 96px); }
.doctor-appointment > .clinic-container { margin-top: min(-118px, calc(-137px + (100vw - 960px) * .03571)); }
.doctor-appointment .appointment-collage { background-image: url('/local/templates/clinic/assets/images/form-collage-desktop.png'); }
.doctor-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: clamp(274px, calc(274px + (100vw - 960px) * .03759), 294px); }
.doctor-contacts { padding: clamp(64px, calc(64px + (100vw - 960px) * .01692), 73px) 0 clamp(36px, calc(36px + (100vw - 960px) * .17293), 128px); }
.doctor-contacts .contacts-head { margin-bottom: clamp(43px, calc(43px + (100vw - 960px) * .02444), 56px); }
.doctor-contacts .map-frame { height: auto; aspect-ratio: 1420 / 693; }

.page-doctor-detail .site-footer {
    min-height: max(606px, calc(768px - (100vw - 960px) * .30451));
    overflow: hidden;
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-doctor-detail .clinic-container { width: calc(100% - clamp(48px, 7.5vw, 72px)); max-width: none; }
    .page-doctor-detail .header-main .clinic-brand__image,
    .page-doctor-detail .header-main.is-sticky .clinic-brand__image {
        width: max(229px, calc(327px - (100vw - 375px) * .16752));
        max-width: 100%;
    }
    .doctor-detail__breadcrumbs { height: 61px; font-size: 18px; }
    .doctor-detail__container > h1 {
        margin-top: 34px;
        margin-bottom: clamp(33px, calc(33px + (100vw - 375px) * .01538), 42px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02564), 43px);
        line-height: 1.2;
    }
    .doctor-detail__video { aspect-ratio: 16 / 9; }
    .doctor-detail__video .play-button { width: clamp(34px, 8.333vw, 80px); height: clamp(34px, 8.333vw, 80px); }
    .doctor-profile {
        grid-template-columns: repeat(auto-fit, minmax(min(434px, 100%), 1fr));
        gap: 32px 20px;
        margin-top: clamp(32px, calc(32px + (100vw - 375px) * .00684), 36px);
    }
    .doctor-profile h2 { margin-bottom: clamp(16px, calc(21px - (100vw - 375px) * .00855), 21px); font-size: max(18px, calc(24px - (100vw - 375px) * .01026)); }
    .doctor-profile__position,
    .doctor-profile__facts,
    .doctor-profile__text { font-size: max(12px, calc(14px - (100vw - 375px) * .00342)); }
    .doctor-profile__position { margin-bottom: max(20px, calc(25px - (100vw - 375px) * .00855)); }
    .doctor-profile__facts { margin-bottom: max(20px, calc(28px - (100vw - 375px) * .01368)); }
    .doctor-profile__text p { margin-bottom: max(15px, calc(22px - (100vw - 375px) * .01197)); }
    .doctor-profile__content { height: clamp(594px, calc(835.231px - 25.1282vw), 744px); }
    .doctor-profile__appointment { height: 48px; min-height: 48px; margin-top: auto; padding: 0; }
    .doctor-qualification {
        grid-template-columns: repeat(auto-fit, minmax(min(434px, 100%), 1fr));
        min-height: clamp(1063px, calc(2407px - 140vw), 1882px);
        margin-top: max(40px, calc(69px - (100vw - 375px) * .04957));
        padding-bottom: 71px;
    }
    .doctor-qualification__competencies { padding-left: 20px; }
    .doctor-copy-block + .doctor-copy-block { margin-top: 45px; }
    .doctor-copy-block h2,
    .doctor-qualification__competencies > h2 { font-size: 20px; }
    .doctor-copy-block .doctor-list,
    .doctor-competency .doctor-list { font-size: 13px; line-height: 1.42; }
    .doctor-copy-block .doctor-list li + li,
    .doctor-copy-block--certificates .doctor-list li + li { margin-top: 1px; }
    .doctor-competency .doctor-list li + li { margin-top: 5px; }
    .doctor-qualification__competencies > h2 { margin-bottom: 35px; }
    .doctor-competency + .doctor-competency { margin-top: 35px; }
    .doctor-competency h3 { margin-bottom: 16px; font-size: 15px; }
    .doctor-reviews { padding: max(29px, calc(48px - (100vw - 375px) * .03248)) 0 clamp(32px, calc(32px + (100vw - 375px) * .00684), 36px); }
    .doctor-reviews__head { flex-wrap: wrap; margin-bottom: 43px; }
    .doctor-reviews__head h2 { font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px); }
    .doctor-reviews__actions {
        flex: 1 1 240px;
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 100%;
        margin-left: auto;
        gap: clamp(12px, 2.7vw, 26px);
    }
    .doctor-reviews__actions .text-link { font-size: clamp(14px, calc(14px + (100vw - 375px) * .00684), 18px); }
    .doctor-reviews .slider-controls { gap: clamp(12px, 2.5vw, 24px) !important; }
    .doctor-reviews .slider-controls button {
        flex-basis: clamp(42px, calc(42px + (100vw - 375px) * .03077), 60px);
        width: clamp(42px, calc(42px + (100vw - 375px) * .03077), 60px) !important;
        min-width: 0;
        height: clamp(42px, calc(42px + (100vw - 375px) * .03077), 60px) !important;
        min-height: 0;
    }
    .doctor-text-reviews { margin-top: clamp(148px, calc(148px + (100vw - 375px) * .01538), 157px); }
    .doctor-text-review { width: min(700px, 100%); height: clamp(436px, calc(874.154px - 45.641vw), 703px); min-height: clamp(436px, calc(874.154px - 45.641vw), 703px); padding: 32px 35px 36px; }
    .doctor-reviews__button { height: clamp(88px, calc(81.59px + 1.7094vw), 98px); min-height: clamp(88px, calc(81.59px + 1.7094vw), 98px); margin-top: clamp(32px, calc(32px + (100vw - 375px) * .00684), 36px); }
    .doctor-first-visit .first-visit { padding: clamp(11px, calc(11px + (100vw - 375px) * .04786), 39px) 0 48px; }
    .doctor-first-visit .first-visit .section-head { margin-bottom: 43px; }
    .doctor-first-visit .first-visit h2 { font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px); }
    .doctor-first-visit .first-visit-video {
        height: clamp(327px, calc(327px + (100vw - 375px) * .29573), 500px);
        min-height: 0;
    }
    .doctor-appointment { padding-top: 70px; padding-bottom: clamp(24px, calc(24px + (100vw - 375px) * .0188), 35px); }
    .doctor-appointment > .clinic-container { margin-top: calc(-72px - (100vw - 375px) * .11111); }
    .doctor-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: clamp(61px, calc(61px + (100vw - 375px) * .3641), 274px); }
    .doctor-appointment .clinic-webform .clinic-btn--wide { height: clamp(73px, calc(73px + (100vw - 375px) * .04274), 98px); min-height: clamp(73px, calc(73px + (100vw - 375px) * .04274), 98px); }
    .doctor-appointment h2 { font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px); }
    .doctor-appointment .appointment-layout {
        grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
    }
    .doctor-appointment .appointment-collage {
        grid-column: -2 / -1;
        grid-row: 1;
        width: 100%;
        height: clamp(328px, calc(328px + (100vw - 375px) * .6359), 700px);
        min-height: 0;
        aspect-ratio: auto;
        background-image: url('/local/templates/clinic/assets/images/form-collage.png');
        background-size: cover;
    }
    .doctor-contacts { padding: clamp(18px, calc(18px + (100vw - 375px) * .07863), 64px) 0 clamp(24px, calc(24px + (100vw - 375px) * .02051), 36px); }
    .doctor-contacts .contacts-head { margin-bottom: clamp(0px, calc((100vw - 375px) * .0735), 43px); }
    .doctor-contacts .map-frame {
        height: clamp(327px, calc(327px + (100vw - 375px) * .1812), 433px);
        aspect-ratio: auto;
    }
    .page-doctor-detail .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
        column-gap: 54px;
        row-gap: 36px;
    }
    .page-doctor-detail .footer-column,
    .page-doctor-detail .footer-legal {
        grid-column: auto;
        grid-row: auto;
    }
    .page-doctor-detail .footer-legal { min-height: 0; }
    .page-doctor-detail .site-footer { min-height: clamp(768px, calc(1806.77px - 108.205vw), 1401px); }
}

@media (max-width: 374.98px) {
    .page-doctor-detail .clinic-container { width: calc(100% - 48px); max-width: none; }
    .doctor-detail__breadcrumbs { gap: 9px; height: 61px; font-size: 14px; white-space: nowrap; }
    .doctor-detail__container > h1 { margin: 34px 0 33px; font-size: 28px; line-height: 1.39; }
    .doctor-detail__video { aspect-ratio: 327 / 183; }
    .doctor-detail__video .play-button { width: 34px; height: 34px; padding-left: 2px; font-size: 12px; }
    .doctor-profile { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
    .doctor-profile h2 { margin-bottom: 18px; font-size: 24px; line-height: 1.36; }
    .doctor-profile__position { margin-bottom: 25px; font-size: 14px; }
    .doctor-profile__facts { margin-bottom: 28px; font-size: 14px; line-height: 1.5; }
    .doctor-profile__text { font-size: 14px; line-height: 1.5; }
    .doctor-profile__text p { margin-bottom: 22px; }
    .doctor-profile__content { height: 744px; }
    .doctor-profile__appointment { height: 48px; min-height: 48px; margin-top: auto; padding: 0; font-size: 16px; }
    .doctor-qualification { grid-template-columns: 1fr; gap: 67px; min-height: 1882px; margin-top: 69px; padding-bottom: 67px; }
    .doctor-copy-block + .doctor-copy-block { margin-top: 45px; }
    .doctor-copy-block h2,
    .doctor-qualification__competencies > h2 { margin-bottom: 24px; font-size: 20px; line-height: 1.25; }
    .doctor-copy-block .doctor-list,
    .doctor-competency .doctor-list { font-size: 13px; line-height: 1.42; }
    .doctor-copy-block .doctor-list li + li { margin-top: 1px; }
    .doctor-competency .doctor-list li + li { margin-top: 5px; }
    .doctor-qualification__competencies { padding-left: 16px; }
    .doctor-qualification__competencies > h2 { margin-bottom: 35px; }
    .doctor-competency + .doctor-competency { margin-top: 35px; }
    .doctor-competency h3 { margin-bottom: 16px; font-size: 15px; line-height: 1.4; }
    .doctor-reviews { padding: 48px 0 32px; }
    .doctor-reviews__head { align-items: flex-start; flex-direction: column; gap: 22px; margin-bottom: 31px; }
    .doctor-reviews__head h2 { font-size: 28px; line-height: 1.39; }
    .doctor-reviews__actions { flex-direction: row-reverse; justify-content: space-between; width: 100%; gap: 12px; }
    .doctor-reviews__actions .text-link { font-size: 14px; }
    .doctor-video-review__media .play-button { right: 12px; bottom: 12px; width: 38px; height: 38px; }
    .doctor-video-review h3 { margin-top: 18px; font-size: 14px; }
    .doctor-video-review p { min-height: 0; font-size: 13px; }
    .doctor-text-reviews { margin-top: 148px; }
    .doctor-text-reviews__controls { bottom: calc(100% + 18px); }
    .doctor-text-review { width: min(700px, 100%); height: 703px; min-height: 703px; padding: 24px 20px 27px; font-size: 14px; line-height: 1.5; }
    .doctor-reviews__button { height: 88px; min-height: 88px; margin-top: 32px; font-size: 16px; }
    .doctor-first-visit .first-visit { padding: 11px 0 48px; }
    .doctor-first-visit .first-visit .section-head { display: block; margin-bottom: 24px; }
    .doctor-first-visit .first-visit h2 { margin-bottom: 20px; font-size: 28px; line-height: 1.39; }
    .doctor-first-visit .first-visit .text-link { font-size: 14px; white-space: normal; }
    .doctor-first-visit .first-visit-video { height: 327px; min-height: 327px; }
    .doctor-appointment { padding: 24px 0; }
    .doctor-appointment > .clinic-container { margin-top: -72px; }
    .doctor-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 61px; }
    .doctor-appointment .clinic-webform .clinic-btn--wide { height: 73px; min-height: 73px; }
    .doctor-appointment .appointment-layout { display: grid; grid-template-columns: 1fr; }
    .doctor-appointment .appointment-collage {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: 328px;
        min-height: 0;
        aspect-ratio: auto;
        background-image: url('/local/templates/clinic/assets/images/form-collage-mobile.png');
    }
    .doctor-contacts { padding: 18px 0 24px; }
    .doctor-contacts .contacts-head { margin-bottom: 0; }
    .doctor-contacts .map-frame { height: 327px; aspect-ratio: auto; }
    .page-doctor-detail .site-footer { min-height: 1401px; }
}

/* Prevent slider tracks and the adaptive footer from increasing the viewport width. */
.doctor-reviews { overflow: hidden; }
.doctor-reviews .slider-controls button { background: #fff !important; }
.doctor-video-reviews-swiper { overflow: hidden; }

/* ===== first-visit-page.css ===== */
/* First visit page. Reference layouts: 1920, 960 and 375 px. */
.page-first-visit main { overflow: hidden; }
.first-visit-page { color: #27313d; background: #fff; }
.page-first-visit .clinic-container,
.page-first-visit .treatment-container,
.page-first-visit .appointment-section .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}

.first-visit-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    font-size: 18px;
    line-height: 1;
}
.first-visit-breadcrumbs a { color: #a7aaad; }
.first-visit-breadcrumbs a:hover { color: #27313d; }

.first-visit-page__container > h1 {
    margin: 65px 0 52px;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}
.first-visit-page__video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1420 / 800;
    overflow: hidden;
    background: #d8d8d8;
}
.first-visit-page__video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.first-visit-page__intro-copy {
    display: grid;
    grid-template-columns: 700px minmax(0, 600px);
    gap: 120px;
    min-height: 262px;
    margin-top: 96px;
}
.first-visit-page__intro-column {
    min-width: 0;
    min-height: 262px;
    margin: 0;
    color: #304352;
    font-size: 15px;
    line-height: 22px;
}
.first-visit-page__intro-column p { margin: 0; }
.first-visit-page__intro-column p + p { margin-top: 22px; }
.first-visit-page__intro-column--warm {
    padding-left: 110px;
    border-left: 18px solid #a58782;
}
.first-visit-page__intro-column--sage {
    padding-left: 18px;
    border-left: 6px solid #8c968c;
}

.first-visit-treatment {
    padding-top: 134px;
    padding-bottom: 31px;
}
.first-visit-treatment .treatment-heading { margin-bottom: 58px; }
.first-visit-treatment .treatment-card__media {
    background-image: url('/local/templates/clinic/assets/images/first-visit-plan-custom.png');
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.first-visit-appointment { padding-top: 118px; }
.first-visit-appointment .appointment-heading { max-width: 800px; }
.first-visit-appointment .appointment-lead a { white-space: nowrap; }
.first-visit-appointment .appointment-collage {
    background-image: url('/local/templates/clinic/assets/images/first-visit-form-custom.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.first-visit-contacts { padding: 78px 0 128px; }
.first-visit-contacts .contacts-head { margin-bottom: 51px; }
.first-visit-contacts .map-frame { height: auto; aspect-ratio: 1420 / 693; }
.page-first-visit .site-footer { min-height: 606px; }
.page-first-visit .header-phone a { white-space: nowrap; }

/* Adaptive layout: 376–960 px. */
@media (min-width: 376px) and (max-width: 960px) {
    .page-first-visit .clinic-container,
    .page-first-visit .treatment-container,
    .page-first-visit .appointment-section .clinic-container {
        width: calc(100% - 72px);
    }

    .first-visit-page__container > h1 {
        margin: 34px 0 58px;
        font-size: 40px;
        line-height: 1.2;
    }
    .first-visit-page__video { aspect-ratio: 888 / 500.282; }
    .first-visit-page__intro-copy {
        grid-template-columns: 434px minmax(0, 434px);
        gap: 20px;
        min-height: 371px;
        margin-top: 37px;
    }
    .first-visit-page__intro-column { min-height: 371px; }
    .first-visit-page__intro-column--warm { padding-left: 30px; }
    .first-visit-page__intro-column--sage { padding-left: 18px; }

    .first-visit-treatment {
        padding-top: 29px;
        padding-bottom: 27px;
    }
    .first-visit-treatment .treatment-heading {
        max-width: none;
        margin-bottom: 42px;
        font-size: 40px;
        line-height: 56px;
    }
    .first-visit-treatment .treatment-layout { display: block; height: auto; }
    .first-visit-treatment .treatment-card {
        display: grid;
        grid-template-columns: 318px minmax(0, 1fr);
        width: 100%;
        height: 356px;
        overflow: hidden;
        border-radius: 20px;
        background: #dfdbd7;
    }
    .first-visit-treatment .treatment-card::before { display: none; }
    .first-visit-treatment .treatment-card__media {
        width: 282px;
        max-width: none;
        height: 320px;
        min-height: 0;
        margin: 36px 0 0 36px;
        background-image: url('/local/templates/clinic/assets/images/first-visit-plan-custom.png');
        background-size: contain;
        background-position: center bottom;
        background-repeat: no-repeat;
    }
    .first-visit-treatment .treatment-card__copy {
        min-height: 0;
        padding: 0 36px;
    }
    .first-visit-treatment .treatment-card .section-kicker {
        margin-bottom: 12px;
        font-size: 23px;
        line-height: 34px;
    }
    .first-visit-treatment .treatment-feature__text { font-size: 24px; line-height: 34px; }
    .first-visit-treatment .treatment-note {
        width: 100%;
        max-width: none;
        height: auto;
        margin-top: 28px;
        padding: 0 0 4px;
        border-left: 0;
        font-size: 15px;
        line-height: 22px;
    }
    .first-visit-treatment .treatment-note .section-kicker {
        margin-bottom: 12px;
        font-size: 16px;
        line-height: 22px;
    }
    .first-visit-treatment .treatment-steps {
        box-sizing: border-box;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 105px 127px;
        column-gap: 20px;
        row-gap: 22px;
        height: 283px;
        min-height: 0;
        margin-top: 21px;
    }
    .first-visit-treatment .treatment-steps article,
    .first-visit-treatment .treatment-steps article:nth-child(even),
    .first-visit-treatment .treatment-steps article:nth-child(odd) {
        min-height: 0;
        padding: 0;
        border: 0;
    }
    .first-visit-treatment .treatment-button { width: 100%; min-width: 0; }

    .first-visit-appointment {
        padding-top: 20px;
        padding-bottom: 35px;
    }
    .first-visit-appointment .appointment-heading {
        position: relative;
        top: -1px;
        width: 100%;
        max-width: none;
        margin-bottom: 33px;
    }
    .first-visit-appointment h2 {
        position: relative;
        top: -4px;
        margin-bottom: 28px;
        font-size: 40px;
        line-height: 1.08;
    }
    .first-visit-appointment .appointment-lead { font-size: 18px; line-height: 25px; }
    .first-visit-desktop-break { display: none; }
    .first-visit-appointment .appointment-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .first-visit-appointment .appointment-collage {
        width: 100%;
        height: 700px;
        min-height: 700px;
        aspect-ratio: auto;
        background-image: url('/local/templates/clinic/assets/images/first-visit-form-custom.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .first-visit-appointment .clinic-webform .form-question:not(.form-question--consent) { height: 104px; }
    .first-visit-appointment .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 62px; }
    .first-visit-appointment .clinic-webform .form-label {
        position: relative;
        top: 5px;
        margin-bottom: 4px;
        font-size: 18px;
        line-height: 19px;
    }
    .first-visit-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .first-visit-appointment .clinic-webform textarea,
    .first-visit-appointment .clinic-webform select {
        height: 79px;
        min-height: 79px;
        padding: 13px 0 7px;
        font-size: 32px;
        line-height: 58px;
    }
    .first-visit-appointment .clinic-consent { font-size: 14px; line-height: 20px; }
    .first-visit-appointment .clinic-webform .form-question--consent { margin-top: 18px; }
    .first-visit-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 88px; }
    .first-visit-appointment .clinic-webform .clinic-btn--wide {
        height: 98px;
        min-height: 98px;
        font-size: 24px;
    }

    .first-visit-contacts { padding: 65px 0 36px; }
    .first-visit-contacts .contacts-head { margin-bottom: 43px; }
    .first-visit-contacts .map-frame { height: 433px; aspect-ratio: auto; }

    .page-first-visit .footer-grid {
        grid-template-columns: 1fr 1fr 1.05fr;
        column-gap: 54px;
        row-gap: 44px;
    }
    .page-first-visit .footer-column--patients { grid-column: 1; grid-row: 1; }
    .page-first-visit .footer-column--useful { grid-column: 2; grid-row: 1; }
    .page-first-visit .footer-column--services { grid-column: 1; grid-row: 2; }
    .page-first-visit .footer-column--other { grid-column: 2; grid-row: 2; }
    .page-first-visit .footer-legal { grid-column: 3; grid-row: 1 / span 2; min-height: 100%; }
}

/* Mobile header for widths below the desktop breakpoint. */
@media (min-width: 376px) and (max-width: 959.98px) {
    .page-first-visit .header-top { display: none; }
    .page-first-visit .header-main,
    .page-first-visit .header-main .clinic-container { min-height: 222px; }
    .page-first-visit .header-main .clinic-container {
        display: flex !important;
        flex-wrap: wrap;
        align-content: flex-start;
        width: calc(100% - 72px);
        padding-top: 27px;
        padding-bottom: 24px;
    }
    .page-first-visit .header-main.is-sticky { position: relative; min-height: 222px; box-shadow: none; }
    .page-first-visit .header-main.is-sticky .clinic-container { min-height: 222px; }
    .page-first-visit .site-header.has-sticky { padding-bottom: 0; }
    .page-first-visit .header-nav { display: none; }
    .page-first-visit .accessibility-toggle { order: 1; width: 40px; height: 34px; margin-left: 0; }
    .page-first-visit .navbar-toggler { display: block; order: 2; margin-left: auto; }
    .page-first-visit .header-main .clinic-brand { order: 3; width: 100%; margin-top: 27px; }
    .page-first-visit .clinic-brand__image,
    .page-first-visit .header-main.is-sticky .clinic-brand__image { width: min(229px, 100%); height: auto; }
}

/* The supplied 960px reference keeps the full desktop header. */
@media (min-width: 960px) {
    .page-first-visit .header-top { display: block; }
    .page-first-visit .header-main,
    .page-first-visit .header-main .clinic-container { min-height: 145px; }
    .page-first-visit .header-main .clinic-container {
        display: flex !important;
        flex-wrap: nowrap;
        align-content: normal;
        align-items: center;
        width: min(calc(100% - 72px), 1420px);
        padding-top: 0;
        padding-bottom: 0;
    }
    .page-first-visit .header-main.is-sticky { position: fixed; min-height: 82px; box-shadow: 0 10px 30px rgba(39,49,61,.08); }
    .page-first-visit .header-main.is-sticky .clinic-container { min-height: 82px; }
    .page-first-visit .header-nav { display: block; order: initial; }
    .page-first-visit .accessibility-toggle { order: initial; width: 40px; height: 26px; margin-left: 34px; }
    .page-first-visit .navbar-toggler { display: none; order: initial; margin-left: 0; }
    .page-first-visit .header-main .clinic-brand { order: initial; width: auto; margin-top: 0; }
    .page-first-visit .clinic-brand__image { width: 220px; height: 74px; }
    .page-first-visit .header-main.is-sticky .clinic-brand__image { width: 180px; height: auto; }
}

@media (min-width: 960px) and (max-width: 960px) {
    .first-visit-page__container > h1 { margin-bottom: 47px; }
    .page-first-visit .site-footer {
        box-sizing: border-box;
        height: 768px;
        min-height: 768px;
        overflow: hidden;
        padding-bottom: 39px;
    }
}

/* Compact layout: up to and including 375 px. */
@media (max-width: 375px) {
    .page-first-visit .clinic-container,
    .page-first-visit .treatment-container,
    .page-first-visit .appointment-section .clinic-container {
        width: calc(100% - 48px);
    }

    .page-first-visit .header-top { display: none; }
    .page-first-visit .header-main,
    .page-first-visit .header-main .clinic-container { min-height: 222px; }
    .page-first-visit .header-main .clinic-container {
        display: flex !important;
        flex-wrap: wrap;
        align-content: flex-start;
        width: calc(100% - 48px);
        padding-top: 27px;
        padding-bottom: 24px;
    }
    .page-first-visit .header-main.is-sticky { position: relative; min-height: 222px; box-shadow: none; }
    .page-first-visit .header-main.is-sticky .clinic-container { min-height: 222px; }
    .page-first-visit .site-header.has-sticky { padding-bottom: 0; }
    .page-first-visit .header-nav { display: none; }
    .page-first-visit .accessibility-toggle { order: 1; width: 40px; height: 34px; margin-left: 0; }
    .page-first-visit .navbar-toggler { display: block; order: 2; margin-left: auto; }
    .page-first-visit .header-main .clinic-brand { order: 3; width: 100%; margin-top: 27px; }
    .page-first-visit .header-main .clinic-brand__image,
    .page-first-visit .header-main.is-sticky .clinic-brand__image {
        width: 327px;
        height: 110px;
        max-width: 100%;
    }

    .first-visit-breadcrumbs { gap: 9px; height: 61px; font-size: 14px; white-space: nowrap; }
    .first-visit-page__container > h1 {
        margin: 34px 0 30px;
        font-size: 28px;
        line-height: 39px;
    }
    .first-visit-page__video { aspect-ratio: 327 / 184.225; }
    .first-visit-page__video .play-button--large { width: 80px; height: 80px; font-size: 28px; }
    .first-visit-page__intro-copy {
        display: block;
        min-height: 1005px;
        margin-top: 33px;
    }
    .first-visit-page__intro-column { min-height: 0; }
    .first-visit-page__intro-column--warm {
        min-height: 503px;
        padding-left: 30px;
        border-left-width: 18px;
    }
    .first-visit-page__intro-column--sage {
        min-height: 481px;
        margin-top: 21px;
        padding-left: 19px;
        border-left-width: 6px;
    }

    .first-visit-treatment { padding: 34px 0 32px; }
    .first-visit-treatment .treatment-heading {
        max-width: none;
        margin-bottom: 30px;
        font-size: 28px;
        line-height: 39px;
    }
    .first-visit-treatment .treatment-layout { display: block; height: auto; }
    .first-visit-treatment .treatment-card {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 536px 317px;
        width: 100%;
        height: 853px;
        overflow: hidden;
        border-radius: 18px;
        background: #dfdbd7;
    }
    .first-visit-treatment .treatment-card::before { display: none; }
    .first-visit-treatment .treatment-card__copy {
        grid-row: 1;
        justify-content: flex-start;
        height: 536px;
        padding: 25px 25px 11px;
    }
    .first-visit-treatment .treatment-card__media {
        grid-row: 2;
        width: 279px;
        height: 317px;
        min-height: 317px;
        margin: 0 24px;
        background-image: url('/local/templates/clinic/assets/images/first-visit-plan-custom.png');
        background-size: contain;
        background-position: center bottom;
        background-repeat: no-repeat;
    }
    .first-visit-treatment .treatment-card .section-kicker {
        margin-bottom: 12px;
        font-size: 23px;
        line-height: 34px;
    }
    .first-visit-treatment .treatment-feature__text { font-size: 24px; line-height: 34px; }
    .first-visit-treatment .treatment-note {
        width: 100%;
        height: 361px;
        min-height: 361px;
        margin-top: 28px;
        padding: 0;
        overflow: visible;
        border-left: 0;
        font-size: 15px;
        line-height: 22px;
    }
    .first-visit-treatment .treatment-note .section-kicker {
        margin-bottom: 12px;
        font-size: 16px;
        line-height: 22px;
    }
    .first-visit-treatment .treatment-note p:last-child { margin-bottom: 0; }
    .first-visit-treatment .treatment-steps {
        grid-template-columns: 1fr;
        grid-template-rows: 127px 152px 127px 127px;
        row-gap: 22px;
        min-height: 628px;
        margin-top: 21px;
    }
    .first-visit-treatment .treatment-steps article,
    .first-visit-treatment .treatment-steps article:nth-child(even),
    .first-visit-treatment .treatment-steps article:nth-child(odd) {
        min-height: 0;
        padding: 0;
        border: 0;
    }
    .first-visit-treatment .treatment-button { width: 100%; min-width: 0; }

    .first-visit-appointment { padding: 20px 0 24px; }
    .first-visit-appointment .appointment-heading {
        width: 100%;
        max-width: none;
        margin-bottom: 29px;
    }
    .first-visit-appointment h2 { margin-bottom: 19px; font-size: 28px; line-height: 1.25; }
    .first-visit-appointment .appointment-lead { font-size: 18px; line-height: 25px; }
    .first-visit-desktop-break { display: none; }
    .first-visit-appointment .appointment-layout {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .first-visit-appointment .appointment-collage {
        order: -1;
        width: 100%;
        height: 327px;
        min-height: 327px;
        aspect-ratio: auto;
        background-image: url('/local/templates/clinic/assets/images/first-visit-form-custom.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .first-visit-appointment .appointment-form { padding: 0; }
    .first-visit-appointment .clinic-webform .form-question:not(.form-question--consent) { height: 74px; }
    .first-visit-appointment .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 16px; }
    .first-visit-appointment .clinic-webform .form-label {
        position: static;
        top: auto;
        margin: 0 0 2px;
        font-size: 15px;
        line-height: 20px;
    }
    .first-visit-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .first-visit-appointment .clinic-webform textarea,
    .first-visit-appointment .clinic-webform select {
        height: 52px;
        min-height: 52px;
        padding: 8px 0 7px;
        font-size: 20px;
        line-height: 31px;
    }
    .first-visit-appointment .clinic-consent { font-size: 14px; line-height: 20px; }
    .first-visit-appointment .clinic-webform .form-question--consent { margin-top: 18px; }
    .first-visit-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 38px; }
    .first-visit-appointment .clinic-webform .clinic-btn--wide {
        height: 73px;
        min-height: 73px;
        font-size: 18px;
    }

    .first-visit-contacts { padding: 20px 0 24px; }
    .first-visit-contacts .contacts-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 25px;
    }
    .first-visit-contacts .contacts-head h2 { font-size: 18px; }
    .first-visit-contacts .contacts-head h2 span { display: inline; }
    .first-visit-contacts .contacts-head > a { font-size: 18px; }
    .first-visit-contacts .map-frame { height: 327px; aspect-ratio: auto; }

    .page-first-visit .site-footer { min-height: 0; padding: 52px 0 15px; }
    .page-first-visit .footer-grid { display: block; }
    .page-first-visit .footer-column + .footer-column { margin-top: 36px; }
    .page-first-visit .footer-menu a { font-size: 14px; }
    .page-first-visit .footer-legal { min-height: 0; margin-top: 34px; }
    .page-first-visit .footer-design { margin-top: 34px; }
}

/* ===== prices-page.css ===== */
/* Prices page. Fedoseev breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
.prices-download__title {
    font-size: 36px;
    line-height: 50px;
    font-weight: 500;
    color: #354752;
    max-width: 700px;
    padding: 0 0 32px;
    border-bottom: #272F39 1px solid;
}
.prices-download__title a {
    text-decoration: underline;
    color: #354752;
}
.prices-download__title a:hover {
    text-decoration: none;
}

.page-prices main { overflow: hidden; }
.page-prices .clinic-container,
.page-prices .treatment-container,
.page-prices .appointment-section .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}
.prices-page { color: #27313d; background: #fff; }

.prices-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    font-size: 18px;
    line-height: 1;
}
.prices-breadcrumbs a { color: #a7aaad; }
.prices-breadcrumbs a:hover { color: #27313d; }

.prices-intro__container h1 {
    margin: clamp(34px, calc(34px + (100vw - 960px) * .05639), 64px) 0 clamp(45px, calc(45px + (100vw - 960px) * .02444), 58px);
    font-size: 43px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}
.prices-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(42px, calc(42px + (100vw - 960px) * .07143), 80px);
    row-gap: 48px;
}
.prices-category {
    display: flex;
    align-items: flex-start;
    min-height: 48px;
    padding: 5px 12px 5px 18px;
    border-left: 5px solid var(--price-accent);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}
.prices-category:hover { background: #f4f5f4; }
.prices-intro__lead {
    max-width: 690px;
    margin: 62px 0 0;
    font-size: 24px;
    line-height: 1.38;
    text-transform: uppercase;
}

.prices-packages { padding-top: 69px; }
.prices-package-group + .prices-package-group { margin-top: 64px; }
.prices-package-group h2 {
    margin: 0 0 55px;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}
.prices-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(434px, 100%), 1fr));
    gap: 20px;
    width: clamp(434px, calc(434px + (100vw - 960px) * 1.85338), 1420px);
    max-width: 100%;
}
.prices-package-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 378px;
    padding: clamp(28px, calc(28px + (100vw - 960px) * .01504), 36px);
    background: var(--price-card-bg);
}
.prices-package-card h3 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}
.prices-package-card__content { font-size: 15px; line-height: 1.45; }
.prices-package-card__content ul { margin: 0; padding-left: 20px; }
.prices-package-card__content li + li { margin-top: 2px; }
.prices-package-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}
.prices-package-card__footer strong {
    font-size: 34px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}
.prices-package-card__footer span {
    font-size: 14px;
    line-height: 1.25;
    text-align: right;
    text-transform: uppercase;
}

.prices-download { padding: 61px 0 149px; }
.prices-download__container { display: block; }
.prices-download__container > p {
    max-width: 710px;
    margin: 0;
    font-size: 28px;
    line-height: 1.35;
}
.prices-download__container > p a { text-decoration: underline; text-underline-offset: 4px; }
.prices-download__links {
    display: grid;
    gap: 24px;
    max-width: 710px;
    margin-top: 32px;
    font-size: 18px;
    line-height: 25px;
}
.prices-download__links p {
    margin: 0;
}
.prices-download__links a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.prices-treatment .treatment-section { padding-top: 0; padding-bottom: 108px; }
.prices-treatment .treatment-heading { margin-bottom: 58px; }
.prices-treatment .treatment-card__media {
    background-image: url('/local/templates/clinic/assets/images/first-visit-plan-custom.png');
    background-position: center bottom;
    background-size: contain;
    background-repeat: no-repeat;
}

.prices-safety { min-height: 0; padding: 0 0 111px; }
.prices-safety h2 { margin-bottom: 62px; }

.prices-offers .offers-section { padding-top: 119px; padding-bottom: 150px; }
.prices-doctors .about-doctors { padding: 149px 0 150px; }
.prices-doctors .about-doctors__head { margin-bottom: 54px; }
.prices-first-visit .first-visit { padding: 0 0 117px; }
.prices-first-visit .first-visit .section-head { margin-bottom: 54px; }
.prices-first-visit .first-visit h2 { font-size: 40px; }
.prices-first-visit .first-visit-video { min-height: 800px; height: 800px; }
.prices-appointment { padding-top: 0; padding-bottom: 96px; }
.prices-appointment .appointment-collage {
    background-image: url('/local/templates/clinic/assets/images/first-visit-form-custom.png');
    background-position: center;
    background-size: cover;
}
.prices-contacts { padding: 75px 0 128px; background: #f6f3f2; }
.prices-contacts .map-frame { height: 693px; }

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-prices .clinic-container,
    .page-prices .treatment-container,
    .page-prices .appointment-section .clinic-container {
        width: calc(100% - clamp(48px, 7.5vw, 72px));
        max-width: none;
    }
    .prices-breadcrumbs { height: 61px; font-size: 18px; }
    .prices-intro__container h1 {
        margin: 34px 0 clamp(32px, calc(32px + (100vw - 375px) * .02222), 45px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px);
    }
    .prices-categories {
        grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
        column-gap: 20px;
        row-gap: clamp(19px, calc(19px + (100vw - 375px) * .04957), 48px);
    }
    .prices-category {
        min-height: clamp(41px, calc(41px + (100vw - 375px) * .01197), 48px);
        padding: 4px 10px 4px 14px;
        font-size: clamp(14px, calc(14px + (100vw - 375px) * .00684), 18px);
    }
    .prices-intro__lead {
        max-width: 434px;
        margin-top: clamp(35px, calc(35px + (100vw - 375px) * .04615), 62px);
        font-size: clamp(14px, calc(14px + (100vw - 375px) * .00684), 18px);
        line-height: 1.45;
    }
    .prices-intro__lead br { display: none; }

    .prices-packages { padding-top: clamp(42px, calc(42px + (100vw - 375px) * .04615), 69px); }
    .prices-package-group + .prices-package-group { margin-top: clamp(45px, calc(45px + (100vw - 375px) * .03248), 64px); }
    .prices-package-group h2 {
        margin-bottom: clamp(29px, calc(29px + (100vw - 375px) * .04444), 55px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px);
    }
    .prices-package-grid { width: min(434px, 100%); grid-template-columns: 1fr; }
    .prices-package-card {
        height: clamp(360px, calc(360px + (100vw - 375px) * .03077), 378px);
        min-height: 360px;
        padding: clamp(22px, calc(22px + (100vw - 375px) * .01026), 28px);
    }
    .prices-package-card h3 { font-size: clamp(15px, calc(15px + (100vw - 375px) * .00855), 20px); }
    .prices-package-card__content { font-size: clamp(13px, calc(13px + (100vw - 375px) * .00342), 15px); }
    .prices-package-card__footer strong { font-size: clamp(24px, calc(24px + (100vw - 375px) * .01709), 34px); }
    .prices-package-card__footer span { font-size: clamp(11px, calc(11px + (100vw - 375px) * .00513), 14px); }

    .prices-download { padding: clamp(38px, calc(38px + (100vw - 375px) * .03932), 61px) 0 clamp(83px, calc(83px + (100vw - 375px) * .11282), 149px); }
    .prices-download__container > p { max-width: 434px; font-size: clamp(18px, calc(18px + (100vw - 375px) * .01709), 28px); }
    .prices-download__container > p br { display: none; }
    .prices-download__links { max-width: 434px; margin-top: 35px; }

    .prices-treatment .treatment-section { padding-bottom: clamp(54px, calc(54px + (100vw - 375px) * .09231), 108px); }
    .prices-treatment .treatment-heading {
        max-width: none;
        margin-bottom: clamp(30px, calc(30px + (100vw - 375px) * .04786), 58px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px);
        line-height: 1.4;
    }
    .prices-treatment .treatment-layout { display: block; height: auto; }
    .prices-treatment .treatment-card {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(279px, 100%), 1fr));
        width: 100%;
        height: auto;
        overflow: hidden;
        border-radius: 20px;
        background: #dfdbd7;
    }
    .prices-treatment .treatment-card::before { display: none; }
    .prices-treatment .treatment-card__media {
        width: min(282px, calc(100% - 48px));
        height: clamp(317px, calc(317px + (100vw - 375px) * .00513), 320px);
        min-height: 317px;
        margin: 36px auto 0;
    }
    .prices-treatment .treatment-card__copy { min-height: 356px; padding: 28px 36px; }
    .prices-treatment .treatment-card .section-kicker { font-size: 23px; line-height: 34px; }
    .prices-treatment .treatment-feature__text { font-size: clamp(20px, calc(20px + (100vw - 375px) * .00684), 24px); line-height: 1.42; }
    .prices-treatment .treatment-note {
        width: 100%;
        height: auto;
        min-height: 0;
        margin-top: 28px;
        padding: 0;
        border-left: 0;
        font-size: 15px;
        line-height: 22px;
    }
    .prices-treatment .treatment-steps {
        grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
        min-height: 0;
        margin-top: 21px;
        row-gap: 22px;
    }
    .prices-treatment .treatment-steps article,
    .prices-treatment .treatment-steps article:not(:first-child) { min-height: 0; padding: 0; border: 0; }
    .prices-treatment .treatment-button { width: 100%; min-width: 0; }

    .prices-safety { padding-bottom: clamp(64px, calc(64px + (100vw - 375px) * .08034), 111px); }
    .prices-safety h2 {
        margin-bottom: clamp(31px, calc(31px + (100vw - 375px) * .05299), 62px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px);
    }
    .prices-safety .about-safety__grid { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px; }
    .prices-safety .about-safety__grid article { min-height: 0; padding: clamp(24px, 4vw, 38px); font-size: clamp(15px, calc(15px + (100vw - 375px) * .00855), 20px); line-height: 1.35; }

    .prices-offers .offers-section { padding-top: clamp(60px, calc(60px + (100vw - 375px) * .10085), 119px); padding-bottom: clamp(65px, calc(65px + (100vw - 375px) * .1453), 150px); }
    .prices-doctors .about-doctors { padding: clamp(64px, calc(64px + (100vw - 375px) * .1453), 149px) 0 clamp(59px, calc(59px + (100vw - 375px) * .15556), 150px); }
    .prices-first-visit .first-visit { padding: 0 0 clamp(48px, calc(48px + (100vw - 375px) * .11795), 117px); }
    .prices-first-visit .first-visit h2 { font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px); }
    .prices-first-visit .first-visit-video { min-height: 327px; height: clamp(327px, calc(327px + (100vw - 375px) * .29573), 500px); }
    .prices-appointment { padding-top: 0; padding-bottom: 35px; }
    .prices-appointment .appointment-collage { background-image: url('/local/templates/clinic/assets/images/first-visit-form-custom.png'); }
    .prices-contacts { padding: 64px 0 36px; }
    .prices-contacts .map-frame { height: 433px; }
}

@media (max-width: 374.98px) {
    .page-prices .clinic-container,
    .page-prices .treatment-container,
    .page-prices .appointment-section .clinic-container {
        width: calc(100% - 48px);
        max-width: none;
    }
    .prices-breadcrumbs { gap: 9px; height: 61px; font-size: 14px; white-space: nowrap; }
    .prices-intro__container h1 { margin: 34px 0 30px; font-size: 28px; line-height: 39px; }
    .prices-categories { grid-template-columns: 1fr; row-gap: 19px; }
    .prices-category { min-height: 41px; padding: 4px 10px 4px 14px; font-size: 14px; }
    .prices-intro__lead { margin-top: 35px; font-size: 14px; line-height: 20px; }
    .prices-intro__lead br { display: none; }

    .prices-packages { padding-top: 42px; }
    .prices-package-group + .prices-package-group { margin-top: 45px; }
    .prices-package-group h2 { margin-bottom: 29px; font-size: 28px; line-height: 39px; }
    .prices-package-grid { width: 100%; grid-template-columns: 1fr; }
    .prices-package-card { height: 360px; min-height: 360px; padding: 22px; }
    .prices-package-card h3 { margin-bottom: 16px; font-size: 15px; }
    .prices-package-card__content { font-size: 13px; line-height: 1.42; }
    .prices-package-card__footer { gap: 12px; }
    .prices-package-card__footer strong { font-size: 24px; }
    .prices-package-card__footer span { font-size: 11px; }

    .prices-download { padding: 38px 0 83px; }
    .prices-download__container > p { font-size: 18px; line-height: 25px; }
    .prices-download__container > p br { display: none; }
    .prices-download__links { margin-top: 35px; gap: 24px; }
    .prices-download__links a { font-size: 12px; line-height: 17px; }

    .prices-treatment .treatment-section { padding: 0 0 54px; }
    .prices-treatment .treatment-heading { margin-bottom: 30px; font-size: 28px; line-height: 39px; }
    .prices-treatment .treatment-layout { display: block; height: auto; }
    .prices-treatment .treatment-card { display: grid; grid-template-columns: 1fr; grid-template-rows: 536px 317px; height: 853px; overflow: hidden; border-radius: 18px; background: #dfdbd7; }
    .prices-treatment .treatment-card::before { display: none; }
    .prices-treatment .treatment-card__copy { grid-row: 1; justify-content: flex-start; height: 536px; padding: 25px 25px 11px; }
    .prices-treatment .treatment-card__media { grid-row: 2; width: 279px; height: 317px; min-height: 317px; margin: 0 24px; }
    .prices-treatment .treatment-card .section-kicker { margin-bottom: 12px; font-size: 23px; line-height: 34px; }
    .prices-treatment .treatment-feature__text { font-size: 24px; line-height: 34px; }
    .prices-treatment .treatment-note { width: 100%; height: auto; min-height: 0; margin-top: 28px; padding: 0; border-left: 0; font-size: 15px; line-height: 22px; }
    .prices-treatment .treatment-steps { grid-template-columns: 1fr; min-height: 0; margin-top: 21px; row-gap: 22px; }
    .prices-treatment .treatment-steps article,
    .prices-treatment .treatment-steps article:not(:first-child) { min-height: 0; padding: 0; border: 0; }
    .prices-treatment .treatment-button { width: 100%; min-width: 0; }

    .prices-safety { padding: 0 0 64px; }
    .prices-safety h2 { margin-bottom: 31px; font-size: 28px; line-height: 39px; }
    .prices-safety .about-safety__grid { grid-template-columns: 1fr; gap: 20px; }
    .prices-safety .about-safety__grid article { min-height: 0; padding: 24px; font-size: 15px; line-height: 21px; }

    .prices-offers .offers-section { padding: 60px 0 65px; }
    .prices-doctors .about-doctors { padding: 64px 0 59px; }
    .prices-doctors .about-doctors__head { display: block; margin-bottom: 32px; }
    .prices-doctors .about-doctors__head .slider-controls { margin-top: 26px; }
    .prices-first-visit .first-visit { padding: 0 0 27px; }
    .prices-first-visit .first-visit .section-head { display: block; margin-bottom: 22px; }
    .prices-first-visit .first-visit h2 { margin-bottom: 20px; font-size: 28px; line-height: 39px; }
    .prices-first-visit .first-visit-video { min-height: 327px; height: 327px; }
    .prices-appointment { padding: 24px 0; }
    .prices-appointment .appointment-collage { background-image: url('/local/templates/clinic/assets/images/first-visit-form-custom.png'); }
    .prices-contacts { padding: 20px 0 24px; }
    .prices-contacts .contacts-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 25px; }
    .prices-contacts .contacts-head h2,
    .prices-contacts .contacts-head > a { font-size: 18px; }
    .prices-contacts .map-frame { height: 327px; }
}

/* ===== testimonials-page.css ===== */
/* Testimonials page. Breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
.page-testimonials main { overflow: hidden; }
.testimonials-page { color: #27313d; background: #fff; }
.page-testimonials .clinic-container,
.page-testimonials .testimonials-container,
.page-testimonials .appointment-section .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}

.testimonials-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    font-size: 18px;
    line-height: 1;
}
.testimonials-breadcrumbs a { color: #a7aaad; }
.testimonials-breadcrumbs a:hover { color: #27313d; }

.testimonials-hero h1 {
    margin: clamp(34px, calc(3px + 3.2292vw), 65px) 0 clamp(51px, calc(45px + .625vw), 57px);
    font-size: clamp(40px, 2.24vw, 43px);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}
.testimonials-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: clamp(36px, calc(32px + .4167vw), 40px);
}
.testimonials-video-card {
    position: relative;
    display: block;
    min-width: 0;
    height: 390px;
    aspect-ratio: auto;
    overflow: hidden;
    color: #fff;
    background: #666;
}
.testimonials-video-card--placeholder {
    background: #e4e6e8;
}
.testimonials-video-card--placeholder .testimonials-video-card__shade {
    display: none;
}
.testimonials-video-card--placeholder .testimonials-video-card__copy {
    color: #27313d;
}
.testimonials-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.testimonials-video-card::before {
    content: '';
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(53, 71, 82, .2);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.testimonials-video-card:hover::before,
.testimonials-video-card:focus-visible::before { opacity: 1; }
.testimonials-video-card:hover img,
.testimonials-video-card:focus-visible img { transform: scale(1.015); }
.testimonials-video-card__shade {
    position: absolute;
    z-index: 2;
    inset: 44% 0 0;
    background: linear-gradient(180deg, rgba(39,47,57,0) 0%, rgba(39,47,57,.88) 100%);
    pointer-events: none;
}
.testimonials-video-card__copy {
    position: absolute;
    right: 22px;
    bottom: 24px;
    left: 22px;
    z-index: 3;
    display: block;
}
.testimonials-video-card__copy strong,
.testimonials-video-card__copy small { display: block; }
.testimonials-video-card__copy strong {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}
.testimonials-video-card__copy small {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.25;
}
.page-testimonials .testimonials-review-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 98px;
    min-height: 98px;
    margin-top: clamp(36px, calc(32px + .4167vw), 40px);
    padding: 0;
    border-radius: 5px;
    background: #ccd2cc;
    font-size: 24px;
    font-weight: 400;
}

.testimonials-written {
    padding-top: clamp(132px, calc(76px + 5.8333vw), 188px);
    overflow: hidden;
}
.reviews-section--catalog .testimonials-written,
.reviews-section--catalog .reviews-section__written {
    padding-top: clamp(72px, calc(52px + 3.2vw), 88px);
    overflow: hidden;
}
.reviews-section--catalog .testimonials-text-controls {
    right: 0;
    bottom: calc(100% + clamp(20px, calc(7px + 2vw), 32px));
    z-index: 5;
}
.reviews-section--catalog .testimonials-text-controls button {
    width: 60px;
    height: 60px;
    background: #f1ece7 !important;
}
.reviews-section--catalog .testimonials-text-card {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}
.reviews-section--catalog .reviews-head__actions .slider-controls {
    display: none;
}
@media (min-width: 960px) {
    .reviews-section--catalog {
        overflow: visible;
    }
    .page-home .reviews-section.reviews-section--catalog,
    .page-about .reviews-section.reviews-section--catalog,
    .page-services .reviews-section.reviews-section--catalog {
        overflow: visible;
    }
    .reviews-section--catalog .clinic-container {
        overflow: visible;
    }
    .reviews-section--catalog .testimonials-written,
    .reviews-section--catalog .reviews-section__written {
        padding-top: clamp(80px, calc(52px + 3.2vw), 120px);
        overflow: visible;
    }
    .reviews-section--catalog .testimonials-text-slider-wrap {
        overflow: visible;
    }
    .reviews-section--catalog .testimonials-text-swiper {
        overflow: visible !important;
    }
    .reviews-section--catalog .testimonials-text-card {
        width: 700px;
        max-width: none;
    }
}
@media (max-width: 959.98px) {
    .reviews-section--catalog,
    .page-home .reviews-section.reviews-section--catalog,
    .page-about .reviews-section.reviews-section--catalog,
    .page-services .reviews-section.reviews-section--catalog {
        overflow: hidden;
    }
    .reviews-section--catalog .clinic-container {
        overflow: hidden;
    }
    .reviews-section--catalog .testimonials-written,
    .reviews-section--catalog .reviews-section__written {
        padding-top: 72px;
    }
    .reviews-section--catalog .testimonials-text-controls {
        right: auto;
        left: 0;
        bottom: calc(100% + 24px);
    }
    .reviews-section--catalog .testimonials-text-swiper {
        overflow: hidden !important;
    }
    .reviews-section--catalog .testimonials-text-swiper .swiper-slide {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }
    .reviews-section--catalog .testimonials-text-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: clamp(320px, calc(100vw - 48px), 520px);
        padding: 24px 20px 27px;
        font-size: 14px;
        line-height: 21px;
    }
    .reviews-section--catalog .testimonials-video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .reviews-section--catalog .testimonials-video-card {
        height: calc(100vw - 48px);
        max-height: 430px;
        aspect-ratio: auto;
    }
}
.testimonials-text-slider-wrap { position: relative; }
.testimonials-text-controls {
    position: absolute;
    right: 0;
    bottom: calc(100% + clamp(36px, calc(7px + 3.0208vw), 65px));
    z-index: 4;
}
.page-testimonials .testimonials-text-controls button {
    width: 60px;
    height: 60px;
    background: #f1ece7 !important;
}
.testimonials-text-swiper { overflow: visible; }
.testimonials-text-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: 700px;
    height: auto;
    min-height: 436px;
    padding: 35px 39px 38px;
    color: #304352;
    background: #e1e1db;
    font-size: 15px;
    line-height: 22px;
}
.testimonials-text-card__body { flex: 1 1 auto; }
.testimonials-text-card p { margin: 0; }
.testimonials-text-card p + p { margin-top: 22px; }
.testimonials-text-card__meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(48, 67, 82, .28);
}
.testimonials-text-card__meta strong {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}
.testimonials-text-card__meta time {
    flex: 0 0 auto;
    color: #6f7b84;
    font-size: 13px;
    line-height: 1.3;
}
.testimonials-gratitude {
    width: clamp(700px, calc(1076px - 19.5833vw), 888px);
    max-width: 100%;
    margin: clamp(40px, calc(-52px + 9.5833vw), 132px) 0 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: uppercase;
}
.page-testimonials .testimonials-review-button--bottom { margin-top: clamp(46px, calc(18px + 2.9167vw), 74px); }

.testimonials-first-visit .first-visit {
    padding: clamp(24px, calc(-32px + 5.8333vw), 80px) 0 0;
}
.testimonials-first-visit .first-visit .section-head { margin-bottom: 58px; }
.testimonials-first-visit .first-visit h2 { font-size: 43px; line-height: 1.08; }
.testimonials-first-visit .first-visit .text-link { font-size: 18px; }
.testimonials-first-visit .first-visit-video {
    width: 100%;
    height: clamp(500.282px, calc(200.564px + 31.2206vw), 800px);
    min-height: 0;
    aspect-ratio: auto;
}

.testimonials-appointment {
    padding-top: clamp(39px, calc(-38.5px + 8.0729vw), 116.5px);
    padding-bottom: clamp(36px, calc(-24px + 6.25vw), 96px);
}
.testimonials-appointment .appointment-heading {
    width: clamp(700px, calc(1076px - 19.5833vw), 888px);
    max-width: none;
}
.testimonials-appointment .appointment-lead a { white-space: nowrap; }
.testimonials-appointment .appointment-collage {
    background-image: url('/local/templates/clinic/assets/images/form-collage-desktop.png');
}
.testimonials-contacts { padding: clamp(56px, calc(34px + 2.2917vw), 78px) 0 clamp(36px, calc(-56px + 9.5833vw), 128px); }
.testimonials-contacts .contacts-head { margin-bottom: 51px; }
.testimonials-contacts .map-frame { height: auto; aspect-ratio: 1420 / 693; }
.page-testimonials .site-footer {
    box-sizing: border-box;
    height: clamp(606px, calc(930px - 16.875vw), 768px);
    min-height: clamp(606px, calc(930px - 16.875vw), 768px);
    overflow: hidden;
}
.page-testimonials .footer-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    column-gap: clamp(54px, calc(32px + 2.2917vw), 76px);
    row-gap: 44px;
}
.page-testimonials .footer-column { grid-column: auto; grid-row: auto; }
.page-testimonials .footer-legal { grid-column: -2 / -1; grid-row: 1 / span 2; }
.page-testimonials .header-phone a { white-space: nowrap; }

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-testimonials .clinic-container,
    .page-testimonials .testimonials-container,
    .page-testimonials .appointment-section .clinic-container {
        width: calc(100% - clamp(48px, 7.5vw, 72px));
        max-width: none;
    }

    .page-testimonials .header-top { display: none; }
    .page-testimonials .header-main,
    .page-testimonials .header-main .clinic-container { min-height: 222px; }
    .page-testimonials .header-main .clinic-container {
        display: flex !important;
        flex-wrap: wrap;
        align-content: flex-start;
        width: calc(100% - clamp(48px, 7.5vw, 72px));
        padding-top: 27px;
        padding-bottom: 24px;
    }
    .page-testimonials .header-main.is-sticky { position: relative; min-height: 222px; box-shadow: none; }
    .page-testimonials .header-main.is-sticky .clinic-container { min-height: 222px; }
    .page-testimonials .site-header.has-sticky { padding-bottom: 0; }
    .page-testimonials .header-nav { display: none; }
    .page-testimonials .accessibility-toggle {
        order: 1;
        width: 40px;
        height: 34px;
        margin-left: 0;
    }
    .page-testimonials .accessibility-toggle img { width: 40px; height: 34px; object-fit: contain; }
    .page-testimonials .navbar-toggler {
        display: block;
        order: 2;
        width: 40px;
        height: 32px;
        margin-left: auto;
        padding: 0;
    }
    .page-testimonials .navbar-toggler-icon {
        width: 40px;
        height: 32px;
        border-top-width: 4px;
        border-bottom-width: 4px;
    }
    .page-testimonials .navbar-toggler-icon::before { top: 12px; height: 4px; }
    .page-testimonials .header-main .clinic-brand {
        order: 3;
        width: 100%;
        margin-top: 27px;
    }
    .page-testimonials .header-main .clinic-brand__image,
    .page-testimonials .header-main.is-sticky .clinic-brand__image {
        width: clamp(229px, calc(389.82px - 16.752vw), 327px);
        height: auto;
        max-width: 100%;
    }

    .testimonials-breadcrumbs {
        gap: clamp(9px, calc(6.436px + .6838vw), 13px);
        height: 61px;
        font-size: clamp(14px, calc(11.436px + .6838vw), 18px);
        white-space: nowrap;
    }
    .testimonials-hero h1 {
        margin: 34px 0 clamp(30px, calc(22.308px + 2.051vw), 42px);
        font-size: clamp(28px, calc(20.308px + 2.051vw), 40px);
        line-height: clamp(39px, calc(33.231px + 1.538vw), 48px);
    }
    .testimonials-video-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(434px, 100%), 1fr));
        gap: clamp(20px, calc(9.744px + 2.735vw), 36px);
    }
    .testimonials-video-card {
        height: clamp(327px, calc(286.615px + 10.7692vw), 390px);
        aspect-ratio: auto;
    }
    .testimonials-video-card__copy {
        right: 22px;
        bottom: 24px;
        left: 22px;
    }
    .testimonials-video-card__copy strong { font-size: 20px; line-height: 1.2; }
    .testimonials-video-card__copy small { margin-top: 5px; font-size: 13px; line-height: 1.25; }
    .page-testimonials .testimonials-review-button {
        height: clamp(88px, calc(81.59px + 1.7094vw), 98px);
        min-height: clamp(88px, calc(81.59px + 1.7094vw), 98px);
        margin-top: clamp(20px, calc(9.744px + 2.735vw), 36px);
        font-size: clamp(18px, calc(14.154px + 1.0256vw), 24px);
    }

    .testimonials-written {
        padding-top: clamp(128px, calc(111.974px + 4.2735vw), 153px);
    }
    .testimonials-text-controls {
        right: auto;
        left: clamp(0px, calc(127.1795vw - 476.923px), calc(100% - 144px));
        bottom: calc(100% + clamp(32px, calc(10.846px + 5.641vw), 65px));
    }
    .page-testimonials .testimonials-text-controls button {
        width: 60px;
        height: 60px;
    }
    .testimonials-text-card {
        width: min(700px, 100%);
        height: clamp(436px, calc(874.154px - 45.641vw), 703px);
        min-height: clamp(436px, calc(874.154px - 45.641vw), 703px);
        padding: clamp(24px, calc(16.949px + 1.88vw), 35px) clamp(20px, calc(7.821px + 3.248vw), 39px) clamp(27px, calc(19.949px + 1.88vw), 38px);
        font-size: clamp(14px, calc(13.359px + .1709vw), 15px);
        line-height: clamp(21px, calc(20.359px + .1709vw), 22px);
    }
    .testimonials-gratitude {
        margin-top: clamp(38px, calc(4.026px + 9.060vw), 91px);
        font-size: 18px;
        line-height: 25px;
    }
    .page-testimonials .testimonials-review-button--bottom {
        height: clamp(88px, calc(81.59px + 1.7094vw), 98px);
        min-height: clamp(88px, calc(81.59px + 1.7094vw), 98px);
        margin-top: clamp(20px, calc(.128px + 5.299vw), 51px);
    }

    .testimonials-first-visit .first-visit {
        padding-top: clamp(25px, calc(3.846px + 5.641vw), 58px);
    }
    .testimonials-first-visit .first-visit .section-head {
        margin-bottom: clamp(34px, calc(28.231px + 1.538vw), 43px);
    }
    .testimonials-first-visit .first-visit h2 {
        font-size: clamp(28px, calc(20.308px + 2.051vw), 40px);
    }
    .testimonials-first-visit .first-visit .text-link {
        font-size: clamp(14px, calc(11.436px + .6838vw), 18px);
    }
    .testimonials-first-visit .first-visit-video {
        height: clamp(327px, calc(216.103px + 29.573vw), 500px);
        min-height: 0;
        aspect-ratio: auto;
    }

    .testimonials-appointment {
        padding-top: clamp(36px, calc(28.308px + 2.051vw), 48px);
        padding-bottom: clamp(29px, calc(25.154px + 1.0256vw), 35px);
    }
    .testimonials-appointment .appointment-heading {
        width: 100%;
        max-width: none;
        margin-bottom: max(33px, calc(41.205px - .8547vw));
    }
    .testimonials-appointment h2 {
        margin-bottom: clamp(19px, calc(13.231px + 1.538vw), 28px);
        font-size: clamp(28px, calc(20.308px + 2.051vw), 40px);
        line-height: 1.25;
    }
    .testimonials-appointment .appointment-lead { font-size: 18px; line-height: 25px; }
    .testimonials-appointment .appointment-layout {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(434px, 100%), 1fr));
        gap: clamp(20px, calc(28.205px - 2.188vw), 25px);
    }
    .testimonials-appointment .appointment-collage {
        grid-column: -2 / -1;
        grid-row: 1;
        width: 100%;
        height: clamp(327px, calc(87.846px + 63.761vw), 700px);
        min-height: 0;
        aspect-ratio: auto;
        background-image: url('/local/templates/clinic/assets/images/form-collage-tablet.png');
    }
    .testimonials-appointment .clinic-webform .form-question:not(.form-question--consent) {
        height: clamp(74px, calc(54.769px + 5.128vw), 104px);
    }
    .testimonials-appointment .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) {
        margin-top: clamp(16px, calc(-13.487px + 7.863vw), 62px);
    }
    .testimonials-appointment .clinic-webform .form-label {
        position: static;
        margin: 0 0 clamp(2px, calc(.718px + .3419vw), 4px);
        font-size: clamp(15px, calc(13.077px + .5128vw), 18px);
        line-height: clamp(20px, calc(20.641px - .1709vw), 19px);
    }
    .testimonials-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .testimonials-appointment .clinic-webform textarea,
    .testimonials-appointment .clinic-webform select {
        height: clamp(52px, calc(34.692px + 4.615vw), 79px);
        min-height: clamp(52px, calc(34.692px + 4.615vw), 79px);
        padding: clamp(8px, calc(4.795px + .8547vw), 13px) 0 7px;
        font-size: clamp(20px, calc(12.308px + 2.051vw), 32px);
        line-height: clamp(31px, calc(13.692px + 4.615vw), 58px);
    }
    .testimonials-appointment .clinic-consent { font-size: 14px; line-height: 20px; }
    .testimonials-appointment .clinic-webform .form-question--consent { margin-top: 18px; }
    .testimonials-appointment .clinic-webform .form-question--consent + .col-12 {
        margin-top: clamp(53px, calc(30.564px + 5.983vw), 88px);
    }
    .testimonials-appointment .clinic-webform .clinic-btn--wide {
        height: clamp(73px, calc(56.974px + 4.2735vw), 98px);
        min-height: clamp(73px, calc(56.974px + 4.2735vw), 98px);
        font-size: clamp(18px, calc(14.154px + 1.0256vw), 24px);
    }

    .testimonials-contacts {
        padding-top: clamp(29px, calc(5.923px + 6.154vw), 65px);
        padding-bottom: clamp(23px, calc(14.667px + 2.2222vw), 36px);
    }
    .testimonials-contacts .contacts-head {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 16px 24px;
        margin-bottom: clamp(16px, calc(-1.308px + 4.615vw), 43px);
    }
    .testimonials-contacts .contacts-head h2 {
        flex: 1 1 600px;
        font-size: clamp(18px, calc(15.436px + .6838vw), 22px);
        line-height: 1.35;
    }
    .testimonials-contacts .contacts-head > a {
        flex: 0 0 auto;
        font-size: clamp(18px, calc(14.795px + .8547vw), 23px);
        line-height: 1.45;
    }
    .testimonials-contacts .map-frame {
        height: clamp(327px, calc(259.051px + 18.12vw), 433px);
        aspect-ratio: auto;
    }

    .page-testimonials .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
        column-gap: 54px;
        row-gap: 36px;
    }
    .page-testimonials .footer-column,
    .page-testimonials .footer-legal {
        grid-column: auto;
        grid-row: auto;
    }
    .page-testimonials .footer-legal { min-height: 0; }
    .page-testimonials .site-footer {
        min-height: clamp(768px, calc(1806.77px - 108.205vw), 1401px);
        overflow: hidden;
    }
}

@media (max-width: 374.98px) {
    .page-testimonials .clinic-container,
    .page-testimonials .testimonials-container,
    .page-testimonials .appointment-section .clinic-container {
        width: calc(100% - 48px);
        max-width: none;
    }

    .page-testimonials .header-top { display: none; }
    .page-testimonials .header-main,
    .page-testimonials .header-main .clinic-container { min-height: 222px; }
    .page-testimonials .header-main .clinic-container {
        display: flex !important;
        flex-wrap: wrap;
        align-content: flex-start;
        width: calc(100% - 48px);
        padding-top: 27px;
        padding-bottom: 24px;
    }
    .page-testimonials .header-main.is-sticky { position: relative; min-height: 222px; box-shadow: none; }
    .page-testimonials .header-main.is-sticky .clinic-container { min-height: 222px; }
    .page-testimonials .site-header.has-sticky { padding-bottom: 0; }
    .page-testimonials .header-nav { display: none; }
    .page-testimonials .accessibility-toggle { order: 1; width: 40px; height: 34px; margin-left: 0; }
    .page-testimonials .accessibility-toggle img { width: 40px; height: 34px; object-fit: contain; }
    .page-testimonials .navbar-toggler { display: block; order: 2; width: 40px; height: 32px; margin-left: auto; padding: 0; }
    .page-testimonials .navbar-toggler-icon { width: 40px; height: 32px; border-top-width: 4px; border-bottom-width: 4px; }
    .page-testimonials .navbar-toggler-icon::before { top: 12px; height: 4px; }
    .page-testimonials .header-main .clinic-brand { order: 3; width: 100%; margin-top: 27px; }
    .page-testimonials .header-main .clinic-brand__image,
    .page-testimonials .header-main.is-sticky .clinic-brand__image { width: min(327px, 100%); height: auto; }

    .testimonials-breadcrumbs { gap: 9px; height: 61px; font-size: 14px; white-space: nowrap; }
    .testimonials-hero h1 { margin: 34px 0 30px; font-size: 28px; line-height: 39px; }
    .testimonials-video-grid { grid-template-columns: 1fr; gap: 20px; }
    .testimonials-video-card { height: calc(100vw - 48px); aspect-ratio: auto; }
    .testimonials-video-card__copy { right: 22px; bottom: 24px; left: 22px; }
    .testimonials-video-card__copy strong { font-size: 20px; line-height: 1.2; }
    .testimonials-video-card__copy small { margin-top: 5px; font-size: 13px; line-height: 1.25; }
    .page-testimonials .testimonials-review-button {
        height: 88px;
        min-height: 88px;
        margin-top: 20px;
        border-radius: 5px;
        font-size: 18px;
    }

    .testimonials-written { padding-top: 128px; }
    .testimonials-text-controls { right: auto; bottom: calc(100% + 32px); left: 0; }
    .page-testimonials .testimonials-text-controls button { width: 60px; height: 60px; }
    .testimonials-text-swiper { overflow: hidden; }
    .testimonials-text-card {
        width: 100%;
        height: 703px;
        min-height: 703px;
        padding: 24px 20px 27px;
        font-size: 14px;
        line-height: 21px;
    }
    .testimonials-gratitude { margin-top: 38px; font-size: 18px; line-height: 25px; }
    .testimonials-desktop-break { display: none; }
    .page-testimonials .testimonials-review-button--bottom {
        height: 88px;
        min-height: 88px;
        margin-top: 20px;
        font-size: 18px;
    }

    .testimonials-first-visit .first-visit { padding: 25px 0 0; }
    .testimonials-first-visit .first-visit .section-head { display: block; margin-bottom: 34px; }
    .testimonials-first-visit .first-visit h2 { margin-bottom: 18px; font-size: 28px; line-height: 1.2; }
    .testimonials-first-visit .first-visit .text-link { font-size: 14px; white-space: normal; }
    .testimonials-first-visit .first-visit-video { height: calc(100vw - 48px); min-height: 0; aspect-ratio: auto; }

    .testimonials-appointment { padding: 36px 0 29px; }
    .testimonials-appointment .appointment-heading { width: 100%; max-width: none; margin-bottom: 38px; }
    .testimonials-appointment h2 { margin-bottom: 19px; font-size: 28px; line-height: 1.25; }
    .testimonials-appointment .appointment-lead { font-size: 18px; line-height: 25px; }
    .testimonials-desktop-break { display: none; }
    .testimonials-appointment .appointment-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .testimonials-appointment .appointment-collage {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        height: calc(100vw - 48px);
        min-height: 0;
        aspect-ratio: auto;
        background-image: url('/local/templates/clinic/assets/images/form-collage-mobile.png');
    }
    .testimonials-appointment .clinic-webform .form-question:not(.form-question--consent) { height: 74px; }
    .testimonials-appointment .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 16px; }
    .testimonials-appointment .clinic-webform .form-label { position: static; margin: 0 0 2px; font-size: 15px; line-height: 20px; }
    .testimonials-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .testimonials-appointment .clinic-webform textarea,
    .testimonials-appointment .clinic-webform select {
        height: 52px;
        min-height: 52px;
        padding: 8px 0 7px;
        font-size: 20px;
        line-height: 31px;
    }
    .testimonials-appointment .clinic-consent { font-size: 14px; line-height: 20px; }
    .testimonials-appointment .clinic-webform .form-question--consent { margin-top: 18px; }
    .testimonials-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 53px; }
    .testimonials-appointment .clinic-webform .clinic-btn--wide { height: 73px; min-height: 73px; font-size: 18px; }

    .testimonials-contacts { padding: 29px 0 23px; }
    .testimonials-contacts .contacts-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 16px; }
    .testimonials-contacts .contacts-head h2 { font-size: 18px; }
    .testimonials-contacts .contacts-head > a { font-size: 18px; }
    .testimonials-contacts .map-frame { height: calc(100vw - 48px); aspect-ratio: auto; }

    .page-testimonials .site-footer { min-height: 0; padding: 52px 0 38px; overflow: hidden; }
    .page-testimonials .footer-grid { display: block; }
    .page-testimonials .footer-column + .footer-column { margin-top: 36px; }
    .page-testimonials .footer-legal { min-height: 0; margin-top: 34px; }
    .page-testimonials .footer-design { margin-top: 34px; }
}

@media (max-width: 374.98px) {
    .testimonials-text-card__meta { align-items: flex-start; flex-direction: column; gap: 6px; }
}

/* ===== stories-page.css ===== */
/* Stories page. Fedoseev breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
.page-stories main { overflow: hidden; }
.page-stories .clinic-container,
.page-stories .treatment-container,
.page-stories .appointment-section .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}
.stories-page,
.stories-lower { color: #27313d; background: #fff; }

.stories-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    font-size: 18px;
    line-height: 1;
}
.stories-breadcrumbs a { color: #a7aaad; }
.stories-breadcrumbs a:hover { color: #27313d; }

.stories-patients { padding: 0 0 128px; }
.stories-patients h1 {
    margin: clamp(34px, calc(34px + (100vw - 960px) * .05639), 64px) 0 clamp(50px, calc(50px + (100vw - 960px) * .0072917), 57px);
    font-size: clamp(40px, calc(40px + (100vw - 960px) * .003125), 43px);
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}
.stories-patients__list { border-top: 0; }
.stories-patient {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    min-height: 0;
    padding: 0 0 34px;
    border-bottom: 1px solid #899096;
}
.stories-patient + .stories-patient { padding-top: clamp(34px, calc(34px + (100vw - 960px) * .003125), 37px); }
.stories-patient__copy {
    min-width: 0;
    padding-top: 3px;
    padding-right: 34px;
    font-size: clamp(14px, calc(14px + (100vw - 960px) * .0010417), 15px);
    line-height: 1.46;
}
.stories-patient__copy h2 {
    margin: 0 0 22px;
    font-size: clamp(16px, calc(16px + (100vw - 960px) * .0020833), 18px);
    font-weight: 700;
    line-height: 1.35;
}
.stories-patient__text p { margin: 0 0 22px; }
.stories-patient__text p:last-child { margin-bottom: 0; }
.stories-patient__text ol,
.stories-patient__text ul { margin: 0 0 22px; padding-left: 25px; }
.stories-patient__text li { padding-left: 1px; }
.stories-patient:nth-child(2) .stories-patient__copy {
    line-height: clamp(18.2px, calc(18.2px + (100vw - 960px) * .002333), 20.44px);
}
.stories-patient__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 700 / 390;
    overflow: hidden;
    background: #e7e4e1;
}

.stories-patient__media-image,
.stories-before-after__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stories-before-after {
    --stories-before-after-position: 50%;
    cursor: ew-resize;
    touch-action: none;
    user-select: none;
}

.stories-before-after__before {
    position: absolute;
    inset: 0;
    overflow: hidden;
    clip-path: inset(0 calc(100% - var(--stories-before-after-position)) 0 0);
}

.stories-before-after__before img,
.stories-before-after__image--after {
    position: absolute;
    inset: 0;
}

.stories-before-after__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--stories-before-after-position);
    z-index: 3;
    width: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    transform: translateX(-50%);
    cursor: ew-resize;
}

.stories-before-after__handle::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, .95);
    transform: translateX(-50%);
}

.stories-before-after__handle-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #fff;
    transform: translate(-50%, -50%) rotate(45deg);
    box-shadow: 0 2px 10px rgba(39, 49, 61, .14);
}

.stories-before-after__handle:focus-visible .stories-before-after__handle-dot {
    outline: 2px solid #27313d;
    outline-offset: 4px;
}

.stories-before-after.is-dragging .stories-before-after__handle-dot {
    box-shadow: 0 4px 16px rgba(39, 49, 61, .22);
}

/* The blocks below reuse the existing prices-page component layout. */
.stories-treatment .treatment-section { padding-top: 0; }
.stories-treatment .treatment-heading { margin-bottom: 58px; }
.stories-safety { padding-top: 0; }
.stories-offers .offers-section { padding-top: 119px; }
.stories-doctors .about-doctors { padding-top: 149px; }
.stories-first-visit .first-visit { padding-top: 0; }
.stories-appointment { padding-top: 0; }
.stories-contacts { background: #f6f3f2; }

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-stories .clinic-container,
    .page-stories .treatment-container,
    .page-stories .appointment-section .clinic-container {
        width: calc(100% - clamp(48px, 7.5vw, 72px));
        max-width: none;
    }
    .stories-breadcrumbs { height: 61px; font-size: 18px; }
    .stories-patients { padding-bottom: clamp(59px, calc(59px + (100vw - 375px) * .11795), 128px); }
    .stories-patients h1 {
        margin: 34px 0 clamp(30px, calc(30px + (100vw - 375px) * .02222), 43px);
        font-size: clamp(28px, calc(28px + (100vw - 375px) * .02051), 40px);
        line-height: 1.2;
    }
    .stories-patient {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        min-height: 0;
        padding-bottom: clamp(28px, calc(28px + (100vw - 375px) * .01026), 34px);
    }
    .stories-patient + .stories-patient { padding-top: clamp(28px, calc(28px + (100vw - 375px) * .01026), 34px); }
    .stories-patient__copy {
        padding-top: 0;
        padding-right: 0;
        font-size: clamp(14px, calc(14px + (100vw - 375px) * .00171), 15px);
        line-height: 1.43;
    }
    .stories-patient:nth-child(2) .stories-patient__copy { line-height: 1.43; }
    .stories-patient__copy h2 {
        margin-bottom: clamp(18px, calc(18px + (100vw - 375px) * .00684), 22px);
        font-size: clamp(16px, calc(16px + (100vw - 375px) * .00342), 18px);
    }
    .stories-patient__text p { margin-bottom: clamp(18px, calc(18px + (100vw - 375px) * .00684), 22px); }
    .stories-patient__text ol,
    .stories-patient__text ul { margin-bottom: clamp(18px, calc(18px + (100vw - 375px) * .00684), 22px); padding-left: 22px; }
    .stories-patient__media { align-self: start; }

    .stories-treatment .treatment-heading {
        margin-bottom: clamp(30px, calc(30px + (100vw - 375px) * .04786), 58px);
    }
    .stories-offers .offers-section { padding-top: clamp(60px, calc(60px + (100vw - 375px) * .10085), 119px); }
    .stories-doctors .about-doctors { padding-top: clamp(64px, calc(64px + (100vw - 375px) * .1453), 149px); }
}

@media (max-width: 599.98px) {
    .stories-patient { grid-template-columns: 1fr; }
    .stories-patient__media { grid-row: 2; }
}


@media (min-width: 375px) and (max-width: 599.98px) {
    .stories-patient:nth-child(1) .stories-patient__copy { min-height: clamp(454px, calc(574.4px - (100vw - 375px) * .5351), 574.4px); }
    .stories-patient:nth-child(2) .stories-patient__copy { min-height: clamp(354px, calc(402px - (100vw - 375px) * .2133), 402px); }
    .stories-patient:nth-child(3) .stories-patient__copy { min-height: clamp(434px, calc(488px - (100vw - 375px) * .24), 488px); }
    .stories-patient:nth-child(3) { padding-bottom: clamp(28px, calc(31px - (100vw - 375px) * .0133), 31px); }
}

@media (max-width: 374.98px) {
    .page-stories .clinic-container,
    .page-stories .treatment-container,
    .page-stories .appointment-section .clinic-container {
        width: calc(100% - 48px);
        max-width: none;
    }
    .stories-breadcrumbs { gap: 9px; height: 61px; font-size: 14px; white-space: nowrap; }
    .stories-patients { padding-bottom: 59px; }
    .stories-patients h1 { margin: 34px 0 30px; font-size: 28px; line-height: 39px; }
    .stories-patient {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-bottom: 28px;
    }
    .stories-patient + .stories-patient { padding-top: 28px; }
    .stories-patient__copy { padding: 0; font-size: 14px; line-height: 20px; }
    .stories-patient:nth-child(1) .stories-patient__copy { min-height: 574.4px; }
    .stories-patient:nth-child(2) .stories-patient__copy { min-height: 402px; }
    .stories-patient:nth-child(3) .stories-patient__copy { min-height: 488px; }
    .stories-patient__copy h2 { margin-bottom: 18px; font-size: 16px; line-height: 22px; }
    .stories-patient__text p { margin-bottom: 18px; }
    .stories-patient__text ol,
    .stories-patient__text ul { margin-bottom: 18px; padding-left: 22px; }
    .stories-patient:nth-child(3) { padding-bottom: 31px; }
    .stories-patient__media { aspect-ratio: 327 / 182; }

    .stories-treatment .treatment-heading { margin-bottom: 30px; }
    .stories-offers .offers-section { padding-top: 60px; }
    .stories-doctors .about-doctors { padding-top: 64px; }
}

@media (min-width: 960px) {
    .stories-patient:nth-child(3) {
        min-height: clamp(462px, calc(505px - (100vw - 960px) * .04479), 505px);
    }
}

/* ===== blog-video-page.css ===== */
/* Blog page. Project breakpoints: >=960, 375-959.98 and <375 px. */
.page-blog-video main { overflow: hidden; }
.page-blog-video .clinic-container { width: min(calc(100% - 72px), 1420px); max-width: none; }
.blog-video-page { color: #27313d; background: #fff; }
.blog-video-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
    line-height: 1;
}
.blog-video-breadcrumbs a { color: #a7aaad; }
.blog-video-breadcrumbs span:last-child { color: #27313d; }
.blog-video-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 61px;
}
.blog-video-heading h1 {
    margin: 0;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.blog-video-tabs {
    display: flex;
    align-items: center;
    gap: 29px;
    padding-top: 5px;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
}
.blog-video-tabs a { color: #a4a8ab; }
.blog-video-tabs a.is-active { color: #27313d; font-weight: 700; }
.blog-video-filter {
    display: flex;
    flex-wrap: wrap;
    max-width: 1100px;
    margin-top: 63px;
    color: #9aa0a5;
    font-size: 15px;
    line-height: 1.55;
}
.page-blog-video .blog-video-filter button {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #9aa0a5 !important;
    background: transparent !important;
    box-shadow: none !important;
    font: inherit !important;
    font-weight: 400 !important;
    line-height: inherit !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
}
.page-blog-video .blog-video-filter button:hover,
.page-blog-video .blog-video-filter button:focus-visible,
.page-blog-video .blog-video-filter button.is-active {
    color: #27313d !important;
}
.page-blog-video .blog-video-filter button.is-active { font-weight: 700 !important; }
.page-blog-video .blog-video-filter button:not(:last-child)::after {
    content: '|';
    margin: 0 8px;
    color: #9aa0a5;
    font-weight: 400;
}
.blog-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 20px;
    margin-top: 48px;
    padding-bottom: 120px;
}
.blog-video-card {
    display: block;
    min-width: 0;
    margin: 0;
}
.blog-video-card[hidden] { display: none !important; }
.blog-video-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: #27313d;
    background: #f1efed;
}
.blog-video-card__media {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #d9d9d6;
}
.blog-video-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.blog-video-card__link:hover img,
.blog-video-card__link:focus-visible img { transform: scale(1.015); }
.blog-video-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #d9d9d6;
}
.blog-video-card strong {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 82px;
    padding: 18px 24px;
    background: #cdb9a6;
    color: #27313d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}
.blog-filter-empty {
    margin: 48px 0 120px;
    font-size: 18px;
    line-height: 1.5;
}
.page-blog-video .first-visit { padding: 0 0 117px; }
.page-blog-video .first-visit .section-head { margin-bottom: 58px; }
.page-blog-video .first-visit h2 { font-size: 43px; line-height: 1.08; }
.page-blog-video .first-visit .text-link { font-size: 13px; font-weight: 700; }
.page-blog-video .first-visit-video { min-height: 500px; height: clamp(500px, 55.55vw, 800px); }
.blog-video-appointment { padding: 0 0 128px; }
.blog-video-appointment .appointment-heading { width: 50%; max-width: 700px; margin-bottom: 58px; }
.blog-video-appointment h2 { margin-bottom: 28px; font-size: 43px; line-height: 1.08; }
.blog-video-appointment .appointment-lead { max-width: 705px; font-size: 14px; line-height: 1.55; }
.blog-video-appointment .appointment-collage {
    min-height: 500px;
    height: clamp(500px, 48.6vw, 700px);
    background-image: url('/local/templates/clinic/assets/images/blog-form-collage.png');
    background-position: center;
    background-size: cover;
}
.blog-video-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 88px; }
.blog-video-contacts { padding: 78px 0 128px; }
.blog-video-contacts .contacts-head { margin-bottom: 51px; }
.blog-video-contacts .map-frame { height: auto; aspect-ratio: 1420 / 693; }

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-blog-video .clinic-container { width: calc(100% - 48px); }
    .blog-video-breadcrumbs { gap: 9px; height: 61px; font-size: 14px; white-space: nowrap; }
    .blog-video-heading { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 34px; }
    .blog-video-heading h1 { font-size: 28px; line-height: 1.39; }
    .blog-video-tabs { gap: 27px; padding-top: 0; font-size: 13px; }
    .blog-video-filter { display: block; max-width: none; margin-top: 25px; font-size: 15px; }
    .blog-video-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
        gap: 24px 20px;
        margin-top: 28px;
        padding-bottom: 60px;
    }
    .blog-video-card strong { min-height: 72px; padding: 14px 16px; font-size: 14px; }
    .blog-filter-empty { margin: 28px 0 60px; }
    .page-blog-video .first-visit { padding: 42px 0 48px; }
    .page-blog-video .first-visit .section-head { display: block; margin-bottom: 24px; }
    .page-blog-video .first-visit h2 { margin-bottom: 20px; font-size: 28px; line-height: 1.39; }
    .page-blog-video .first-visit .text-link { font-size: 14px; white-space: normal; }
    .page-blog-video .first-visit-video { min-height: 327px; height: 327px; }
    .blog-video-appointment { padding: 0 0 24px; }
    .blog-video-appointment .appointment-heading { width: 100%; max-width: none; margin-bottom: 29px; }
    .blog-video-appointment h2 { margin-bottom: 19px; font-size: 28px; line-height: 1.25; }
    .blog-video-appointment .appointment-lead { font-size: 18px; line-height: 25px; }
    .blog-video-desktop-break { display: none; }
    .blog-video-appointment .appointment-layout { display: flex; flex-direction: column; gap: 20px; }
    .blog-video-appointment .appointment-collage { order: -1; min-height: 327px; height: 327px; }
    .blog-video-appointment .appointment-form { padding: 0; }
    .blog-video-appointment .clinic-webform .form-question:not(.form-question--consent) { height: 74px; }
    .blog-video-appointment .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 16px; }
    .blog-video-appointment .clinic-webform .form-label { position: static; margin: 0 0 2px; font-size: 15px; line-height: 20px; }
    .blog-video-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .blog-video-appointment .clinic-webform textarea,
    .blog-video-appointment .clinic-webform select { height: 52px; min-height: 52px; padding: 8px 0 7px; font-size: 20px; line-height: 31px; }
    .blog-video-appointment .clinic-consent { font-size: 14px; line-height: 20px; }
    .blog-video-appointment .clinic-webform .form-question--consent { margin-top: 18px; }
    .blog-video-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 38px; }
    .blog-video-appointment .clinic-webform .clinic-btn--wide { height: 73px; min-height: 73px; font-size: 18px; }
    .blog-video-contacts { padding: 20px 0 24px; }
    .blog-video-contacts .contacts-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 25px; }
    .blog-video-contacts .contacts-head h2,
    .blog-video-contacts .contacts-head > a { font-size: 18px; }
    .blog-video-contacts .contacts-head h2 span { display: inline; }
    .blog-video-contacts .map-frame { height: 327px; aspect-ratio: auto; }
}

@media (max-width: 374.98px) {
    .page-blog-video .clinic-container { width: calc(100% - 32px); }
    .blog-video-breadcrumbs { gap: 7px; height: 54px; font-size: 13px; white-space: nowrap; }
    .blog-video-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 28px; }
    .blog-video-heading h1 { font-size: 26px; line-height: 1.3; }
    .blog-video-tabs { gap: 22px; padding-top: 0; font-size: 12px; }
    .blog-video-filter { display: block; max-width: none; margin-top: 22px; font-size: 14px; }
    .blog-video-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; padding-bottom: 44px; }
    .blog-video-card strong { min-height: 68px; padding: 13px 14px; font-size: 13px; }
    .blog-filter-empty { margin: 24px 0 44px; font-size: 16px; }
    .page-blog-video .first-visit { padding: 36px 0 42px; }
    .page-blog-video .first-visit .section-head { display: block; margin-bottom: 22px; }
    .page-blog-video .first-visit h2 { margin-bottom: 18px; font-size: 26px; line-height: 1.3; }
    .page-blog-video .first-visit .text-link { font-size: 13px; white-space: normal; }
    .page-blog-video .first-visit-video { min-height: 288px; height: 288px; }
    .blog-video-appointment { padding: 0 0 22px; }
    .blog-video-appointment .appointment-heading { width: 100%; max-width: none; margin-bottom: 24px; }
    .blog-video-appointment h2 { margin-bottom: 17px; font-size: 26px; line-height: 1.25; }
    .blog-video-appointment .appointment-lead { font-size: 16px; line-height: 23px; }
    .blog-video-desktop-break { display: none; }
    .blog-video-appointment .appointment-layout { display: flex; flex-direction: column; gap: 18px; }
    .blog-video-appointment .appointment-collage { order: -1; min-height: 288px; height: 288px; }
    .blog-video-appointment .appointment-form { padding: 0; }
    .blog-video-appointment .clinic-webform .form-question:not(.form-question--consent) { height: 70px; }
    .blog-video-appointment .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 14px; }
    .blog-video-appointment .clinic-webform .form-label { position: static; margin: 0 0 2px; font-size: 14px; line-height: 19px; }
    .blog-video-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .blog-video-appointment .clinic-webform textarea,
    .blog-video-appointment .clinic-webform select { height: 50px; min-height: 50px; padding: 7px 0; font-size: 18px; line-height: 28px; }
    .blog-video-appointment .clinic-consent { font-size: 13px; line-height: 19px; }
    .blog-video-appointment .clinic-webform .form-question--consent { margin-top: 16px; }
    .blog-video-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 32px; }
    .blog-video-appointment .clinic-webform .clinic-btn--wide { height: 68px; min-height: 68px; font-size: 16px; }
    .blog-video-contacts { padding: 18px 0 22px; }
    .blog-video-contacts .contacts-head { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
    .blog-video-contacts .contacts-head h2,
    .blog-video-contacts .contacts-head > a { font-size: 16px; }
    .blog-video-contacts .contacts-head h2 span { display: inline; }
    .blog-video-contacts .map-frame { height: 288px; aspect-ratio: auto; }
}

/* ===== blog-article-page.css ===== */
/* Blog article detail. Reference layouts: 1920, 960 and 375 px. */
.blog-article-detail { color: #27313d; background: #fff; }
.blog-article-detail__container { width: min(calc(100% - 72px), 1420px); max-width: none; }
.blog-article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
    line-height: 1;
}
.blog-article-breadcrumbs a { color: #a7aaad; }
.blog-article-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 61px;
    margin-bottom: 38px;
}
.blog-article-heading h1 {
    margin: 0;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.blog-article-layout {
    
}
.blog-article-content { min-width: 0; }
.blog-article-layout h2 {
    max-width: 700px;
    margin: 0 0 64px;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: .01em;
    text-transform: uppercase;
}
.blog-article-text {
    color: #27313d;
    font-size: 15px;
    line-height: 1.48;
}
.blog-article-text p { margin: 0 0 21px; }
.blog-article-text h3 {
    margin: 37px 0 18px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.48;
}
.blog-article-text ul,
.blog-article-text ol { margin: 0 0 22px; padding-left: 22px; }
.blog-article-text li + li { margin-top: 8px; }
.blog-article-visual { min-width: 0; }
.blog-article-visual img {
    display: block;
    width: 100%;
    height: auto;
}

@media (min-width: 960px) and (max-width: 1491.98px) {
    .blog-article-detail__container { width: calc(100% - 72px); }
    .blog-article-heading {
        margin-top: 61px;
        margin-bottom: 38px;
    }
    .blog-article-heading h1 { font-size: 40px; }
    .blog-article-text p { margin-bottom: 19px; }
    .blog-article-text h3 { margin: 31px 0 15px; font-size: 13px; }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .blog-article-detail__container { width: calc(100% - 48px); }
    .blog-article-breadcrumbs {
        gap: 9px;
        height: 61px;
        font-size: 14px;
        white-space: nowrap;
    }
    .blog-article-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-top: 34px;
        margin-bottom: 24px;
    }
    .blog-article-heading h1 {
        font-size: 28px;
        line-height: 1.39;
    }
    .blog-article-layout {
        display: flex;
        flex-direction: column;
        gap: 36px;
        margin-bottom: 42px;
    }
    .blog-article-content h2 {
        margin-bottom: 26px;
        font-size: 14px;
        line-height: 1.42;
    }
    .blog-article-text p { margin-bottom: 18px; }
    .blog-article-text h3 { margin: 29px 0 14px; font-size: 13px; }
    .blog-article-visual {
        order: 2;
        width: 100%;
        overflow: hidden;
    }
    .blog-article-visual img {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 374.98px) {
    .blog-article-detail__container { width: calc(100% - 48px); }
}

/* ===== blog-articles-page.css ===== */
/* Blog articles list. Project breakpoints: >=960, 375-959.98 and <375 px. */
.blog-articles-page { color: #27313d; background: #fff; }
.blog-articles-heading { margin-top: 61px; }
.blog-articles-filter { margin-top: 63px; }
.blog-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    margin-top: 48px;
    padding-bottom: 120px;
}
.blog-article-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 100%;
    border-bottom: 1px solid #7D8288;
    background: #fff;
    color: #27313d;
    font-size: 14px;
    line-height: 1.48;
}
.blog-article-card[hidden] { display: none !important; }
.blog-article-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #ddd;
    margin: 0 0 32px;
}
.blog-article-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.blog-article-card__image:hover img,
.blog-article-card__image:focus-visible img { transform: scale(1.015); }
.blog-article-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 0 0 32px;
    font-size: 18px;
}
.blog-article-card h2 {
    margin: 0 0 18px;
    color: #27313d;
    font-size: 18px;
    font-weight: 700 !important;
    line-height: 25px;
    text-transform: uppercase;
}
.blog-article-card h2 a { color: inherit; }
.blog-article-card__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
}
.blog-article-card__text p { margin: 0 0 18px; }
.blog-article-card__text p:last-child { margin-bottom: 0; }
.blog-article-card__more {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 24px;
    color: #27313d;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .blog-articles-heading { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 34px; }
    .blog-articles-filter { display: block; margin-top: 25px; }
    .blog-articles-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
        gap: 24px 20px;
        margin-top: 28px;
        padding-bottom: 60px;
    }
    .blog-article-card__content { padding: 22px 20px 24px; }
    .blog-article-card h2 { font-size: 15px; }
}

@media (max-width: 374.98px) {
    .blog-articles-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 28px; }
    .blog-articles-filter { display: block; margin-top: 22px; }
    .blog-articles-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; padding-bottom: 44px; }
    .blog-article-card__content { padding: 20px 16px 22px; }
    .blog-article-card h2 { font-size: 14px; }
}

/* ===== qa-page.css ===== */
/* Q&A page. Reference layouts: 1920, 960 and 375 px. */
.page-qa main { overflow: hidden; }
.page-qa .clinic-container { width: min(calc(100% - 72px), 1420px); max-width: none; }
.qa-page { color: #27313d; background: #fff; }
.qa-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
    line-height: 1;
}
.qa-breadcrumbs a { color: #a7aaad; }
.qa-breadcrumbs span:last-child { color: #27313d; }
.qa-page h1 {
    margin: 61px 0 67px;
    color: #27313d;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.qa-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 100px;
    row-gap: 44px;
    padding-bottom: 141px;
}
.qa-item {
    min-height: 244px;
    padding: 0 0 31px;
    border-bottom: 1px solid #7d8288;
    color: #27313d;
    font-size: 15px;
    line-height: 1.48;
}
.qa-item h2 {
    margin: 0 0 24px;
    color: #27313d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.33;
    text-transform: uppercase;
}
.qa-item__text p { margin: 0 0 18px; }
.qa-item__text p:last-child { margin-bottom: 0; }

.page-qa .first-visit { padding: 0 0 117px; }
.page-qa .first-visit .section-head { margin-bottom: 58px; }
.page-qa .first-visit h2 { font-size: 43px; line-height: 1.08; }
.page-qa .first-visit .text-link { font-size: 13px; font-weight: 700; }
.page-qa .first-visit-video { min-height: 800px; height: 800px; }
.qa-appointment { padding: 0 0 128px; }
.qa-appointment .appointment-heading { width: 50%; max-width: 700px; margin-bottom: 58px; }
.qa-appointment h2 { margin-bottom: 28px; font-size: 43px; line-height: 1.08; }
.qa-appointment .appointment-lead { max-width: 705px; font-size: 14px; line-height: 1.55; }
.qa-appointment .appointment-collage {
    background-image: url('/local/templates/clinic/assets/images/qa-form-collage.png');
    background-size: cover;
    background-position: center;
}
.qa-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 88px; }
.qa-contacts { padding: 78px 0 128px; }
.qa-contacts .contacts-head { margin-bottom: 51px; }
.qa-contacts .map-frame { height: auto; aspect-ratio: 1420 / 693; }

@media (min-width: 960px) and (max-width: 1491.98px) {
    .page-qa .clinic-container { width: calc(100% - 72px); }
    .qa-page h1 { margin: 52px 0 50px; font-size: 40px; }
    .qa-list { column-gap: 20px; row-gap: 37px; padding-bottom: 89px; }
    .qa-item { min-height: 302px; padding-bottom: 28px; font-size: 15px; line-height: 1.48; }
    .qa-item h2 { margin-bottom: 22px; }
    .page-qa .first-visit { padding: 0 0 70px; }
    .page-qa .first-visit .section-head { margin-bottom: 38px; }
    .page-qa .first-visit h2 { font-size: 40px; }
    .page-qa .first-visit-video { min-height: 500px; height: 500px; }
    .qa-appointment { padding: 0 0 65px; }
    .qa-appointment .appointment-heading { width: 100%; max-width: none; margin-bottom: 33px; }
    .qa-appointment h2 { margin-bottom: 28px; font-size: 40px; }
    .qa-appointment .appointment-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .qa-appointment .appointment-collage { height: 700px; min-height: 700px; }
    .qa-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 88px; }
    .qa-contacts { padding: 65px 0 36px; }
    .qa-contacts .contacts-head { margin-bottom: 43px; }
    .qa-contacts .map-frame { height: 433px; aspect-ratio: auto; }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-qa .clinic-container { width: calc(100% - 48px); }
    .qa-breadcrumbs { gap: 9px; height: 61px; font-size: 14px; white-space: nowrap; }
    .qa-page h1 { margin: 34px 0 31px; font-size: 28px; line-height: 1.39; }
    .qa-list { grid-template-columns: 1fr; row-gap: 27px; padding-bottom: 43px; }
    .qa-item { min-height: 0; padding-bottom: 26px; font-size: 14px; line-height: 1.48; }
    .qa-item h2 { margin-bottom: 17px; font-size: 13px; line-height: 1.39; }
    .page-qa .first-visit { padding: 0 0 48px; }
    .page-qa .first-visit .section-head { display: block; margin-bottom: 24px; }
    .page-qa .first-visit h2 { margin-bottom: 20px; font-size: 28px; line-height: 1.39; }
    .page-qa .first-visit .text-link { font-size: 14px; white-space: normal; }
    .page-qa .first-visit-video { min-height: 327px; height: 327px; }
    .qa-appointment { padding: 0 0 24px; }
    .qa-appointment .appointment-heading { width: 100%; max-width: none; margin-bottom: 29px; }
    .qa-appointment h2 { margin-bottom: 19px; font-size: 28px; line-height: 1.25; }
    .qa-appointment .appointment-lead { font-size: 18px; line-height: 25px; }
    .qa-desktop-break { display: none; }
    .qa-appointment .appointment-layout { display: flex; flex-direction: column; gap: 20px; }
    .qa-appointment .appointment-collage { order: -1; height: 327px; min-height: 327px; aspect-ratio: auto; }
    .qa-appointment .appointment-form { padding: 0; }
    .qa-appointment .clinic-webform .form-question:not(.form-question--consent) { height: 74px; }
    .qa-appointment .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) { margin-top: 16px; }
    .qa-appointment .clinic-webform .form-label { position: static; margin: 0 0 2px; font-size: 15px; line-height: 20px; }
    .qa-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .qa-appointment .clinic-webform textarea,
    .qa-appointment .clinic-webform select { height: 52px; min-height: 52px; padding: 8px 0 7px; font-size: 20px; line-height: 31px; }
    .qa-appointment .clinic-consent { font-size: 14px; line-height: 20px; }
    .qa-appointment .clinic-webform .form-question--consent { margin-top: 18px; }
    .qa-appointment .clinic-webform .form-question--consent + .col-12 { margin-top: 38px; }
    .qa-appointment .clinic-webform .clinic-btn--wide { height: 73px; min-height: 73px; font-size: 18px; }
    .qa-contacts { padding: 20px 0 24px; }
    .qa-contacts .contacts-head { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 25px; }
    .qa-contacts .contacts-head h2,
    .qa-contacts .contacts-head > a { font-size: 18px; }
    .qa-contacts .contacts-head h2 span { display: inline; }
    .qa-contacts .map-frame { height: 327px; aspect-ratio: auto; }
}

@media (max-width: 374.98px) {
    .page-qa .clinic-container { width: calc(100% - 48px); }
}

/* ===== achievements-page.css ===== */
/* Achievements page. Reference layouts: 1920, 960 and 375 px. */
.page-achievements main { overflow: hidden; }
.page-achievements .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}
.achievements-page {
    color: #27313d;
    background: #fff;
}
.achievements-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
    line-height: 1;
}
.achievements-breadcrumbs a { color: #a7aaad; }
.achievements-breadcrumbs span:last-child { color: #27313d; }

.achievements-page h1 {
    margin: 61px 0 74px;
    color: #27313d;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.achievements-list {
    padding-bottom: 141px;
}
.achievement-item {
    display: grid;
    grid-template-columns: 560px 600px;
    column-gap: 160px;
    align-items: start;
    padding-bottom: 34px;
    border-bottom: 1px solid #9fa4a9;
}
.achievement-item + .achievement-item {
    margin-top: 33px;
}
.achievement-item h2 {
    max-width: 560px;
    margin: 0;
    color: #27313d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.34;
    text-transform: uppercase;
}
.achievement-item__text {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.48;
}
.achievement-item__image {
    width: 600px;
    overflow: hidden;
}
.achievement-item__image img {
    display: block;
    width: 100%;
    height: auto;
}

.page-achievements .first-visit {
    padding: 0 0 117px;
}
.page-achievements .first-visit .section-head {
    margin-bottom: 58px;
}
.page-achievements .first-visit h2 {
    font-size: 43px;
    line-height: 1.08;
}
.page-achievements .first-visit .text-link {
    font-size: 13px;
    font-weight: 700;
}
.page-achievements .first-visit-video {
    min-height: 800px;
    height: 800px;
}

.achievements-appointment {
    padding: 0 0 128px;
}
.achievements-appointment .appointment-heading {
    width: 50%;
    max-width: 700px;
    margin-bottom: 58px;
}
.achievements-appointment h2 {
    margin-bottom: 28px;
    font-size: 43px;
    line-height: 1.08;
}
.achievements-appointment .appointment-lead {
    max-width: 705px;
    font-size: 14px;
    line-height: 1.55;
}
.achievements-appointment .appointment-collage {
    background-image: url('/local/templates/clinic/assets/images/achievements-form-collage.png');
    background-size: cover;
    background-position: center;
}
.achievements-appointment .clinic-webform .form-question--consent + .col-12 {
    margin-top: 88px;
}

.achievements-contacts {
    padding: 78px 0 128px;
}
.achievements-contacts .contacts-head {
    margin-bottom: 51px;
}
.achievements-contacts .map-frame {
    height: auto;
    aspect-ratio: 1420 / 693;
}

@media (min-width: 960px) and (max-width: 1491.98px) {
    .page-achievements .clinic-container {
        width: calc(100% - 72px);
    }
    .achievements-page h1 {
        margin: 52px 0 50px;
        font-size: 40px;
    }
    .achievements-list {
        padding-bottom: 48px;
    }
    .achievement-item {
        grid-template-columns: 240px 434px;
        column-gap: 38px;
        padding-bottom: 29px;
    }
    .achievement-item + .achievement-item {
        margin-top: 20px;
    }
    .achievement-item h2 {
        max-width: 240px;
        font-size: 15px;
        line-height: 1.35;
    }
    .achievement-item__image {
        width: 434px;
    }
    .achievement-item__image img {
        width: 100%;
        height: auto;
    }

    .page-achievements .first-visit {
        padding: 0 0 70px;
    }
    .page-achievements .first-visit .section-head {
        margin-bottom: 38px;
    }
    .page-achievements .first-visit h2 {
        font-size: 40px;
    }
    .page-achievements .first-visit-video {
        min-height: 500px;
        height: 500px;
    }

    .achievements-appointment {
        padding: 0 0 65px;
    }
    .achievements-appointment .appointment-heading {
        width: 100%;
        max-width: none;
        margin-bottom: 33px;
    }
    .achievements-appointment h2 {
        margin-bottom: 28px;
        font-size: 40px;
    }
    .achievements-appointment .appointment-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .achievements-appointment .appointment-collage {
        height: 700px;
        min-height: 700px;
    }
    .achievements-appointment .clinic-webform .form-question--consent + .col-12 {
        margin-top: 88px;
    }

    .achievements-contacts {
        padding: 65px 0 36px;
    }
    .achievements-contacts .contacts-head {
        margin-bottom: 43px;
    }
    .achievements-contacts .map-frame {
        height: 433px;
        aspect-ratio: auto;
    }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-achievements .clinic-container {
        width: calc(100% - 48px);
    }
    .achievements-breadcrumbs {
        gap: 9px;
        height: 61px;
        font-size: 14px;
        white-space: nowrap;
    }
    .achievements-page h1 {
        margin: 34px 0 31px;
        font-size: 28px;
        line-height: 1.39;
    }
    .achievements-list {
        padding-bottom: 41px;
    }
    .achievement-item {
        display: block;
        padding-bottom: 31px;
    }
    .achievement-item + .achievement-item {
        margin-top: 32px;
        padding-top: 0;
    }
    .achievement-item h2 {
        max-width: none;
        margin-bottom: 20px;
        font-size: 13px;
        line-height: 1.39;
    }
    .achievement-item__image {
        width: 100%;
    }
    .achievement-item__image img {
        display: block;
        width: 100%;
        height: auto;
    }

    .page-achievements .first-visit {
        padding: 0 0 48px;
    }
    .page-achievements .first-visit .section-head {
        display: block;
        margin-bottom: 24px;
    }
    .page-achievements .first-visit h2 {
        margin-bottom: 20px;
        font-size: 28px;
        line-height: 1.39;
    }
    .page-achievements .first-visit-video {
        min-height: 321px;
        height: 321px;
    }

    .achievements-appointment {
        padding: 0 0 48px;
    }
    .achievements-appointment .appointment-heading {
        width: 100%;
        margin-bottom: 24px;
    }
    .achievements-appointment h2 {
        margin-bottom: 20px;
        font-size: 28px;
        line-height: 1.39;
    }
    .achievements-appointment .appointment-lead {
        font-size: 14px;
        line-height: 1.52;
    }
    .achievements-appointment .appointment-layout {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .achievements-appointment .appointment-collage {
        min-height: 327px;
        height: 327px;
    }
    .achievements-appointment .clinic-webform .form-question--consent + .col-12 {
        margin-top: 45px;
    }

    .achievements-contacts {
        padding: 48px 0 36px;
    }
    .achievements-contacts .contacts-head {
        display: block;
        margin-bottom: 24px;
    }
    .achievements-contacts .contacts-head h2 {
        margin-bottom: 16px;
        font-size: 18px;
        line-height: 1.39;
    }
    .achievements-contacts .map-frame {
        height: 327px;
        aspect-ratio: auto;
    }
}

@media (max-width: 374.98px) {
    .page-achievements .clinic-container {
        width: calc(100% - 32px);
    }
}

/* ===== media-page.css ===== */
/* Media page. Reference layouts: 1920, 960 and 375 px. */
.page-media main { overflow: hidden; }
.page-media .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}
.media-page {
    color: #27313d;
    background: #fff;
}
.media-page__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
    line-height: 1;
}
.media-page__breadcrumbs a { color: #a7aaad; }
.media-page__breadcrumbs span:last-child { color: #27313d; }
.media-page h1 {
    margin: 61px 0 58px;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.media-page__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(434px, 1fr));
    gap: 20px;
    padding-bottom: 135px;
}
.media-page__card {
    box-sizing: border-box;
    width: 100%;
    min-height: 270px;
    padding: 36px;
    border-radius: 10px;
}
.media-page__card h2 {
    margin: 41px 0 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: .35px;
    text-transform: uppercase;
}
.media-page__card span {
    margin-top: auto;
}

.media-blog-section {
    padding: 0 0 141px;
    color: #27313d;
    background: #fff;
}
.media-blog-section__head {
    margin-bottom: 58px;
}
.media-blog-section__head h2 {
    font-size: 43px;
    line-height: 1.08;
}
.media-blog-section__head .slider-controls {
    gap: 24px;
}
.media-blog-section__head .slider-controls button {
    width: 60px;
    height: 60px;
    background: #efe9e3;
}
.media-blog-swiper {
    overflow: hidden;
}
.media-blog-mosaic {
    --media-blog-wide: clamp(434px, calc(50vw - 46px), 700px);
    --media-blog-narrow: clamp(434px, calc(27.4436vw + 170.54px), 580px);
    --media-blog-wide-height: calc(var(--media-blog-wide) * 0.5571428571);
    --media-blog-narrow-height: calc(var(--media-blog-narrow) * 0.5571428571);
    --media-blog-v-gap: clamp(20px, calc(12.5677vw - 100.65px), 86.857px);
    position: relative;
    width: 100%;
    height: calc(var(--media-blog-wide-height) + var(--media-blog-v-gap) + var(--media-blog-narrow-height));
}
.media-blog-card {
    position: absolute;
    display: block;
    overflow: hidden;
    background: #ddd;
}
.media-blog-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.media-blog-card strong {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 73px;
    padding: 0 20px;
    background: #cdb9a6;
    color: #27313d;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}
.media-blog-card--1 {
    top: 0;
    left: 0;
    width: var(--media-blog-wide);
    height: var(--media-blog-wide-height);
}
.media-blog-card--2 {
    top: 0;
    right: 0;
    width: var(--media-blog-narrow);
    height: var(--media-blog-narrow-height);
}
.media-blog-card--3 {
    bottom: 0;
    left: 0;
    width: var(--media-blog-narrow);
    height: var(--media-blog-narrow-height);
}
.media-blog-card--4 {
    right: 0;
    bottom: 0;
    width: var(--media-blog-wide);
    height: var(--media-blog-wide-height);
}

.page-media .first-visit {
    padding: 0 0 117px;
}
.page-media .first-visit .section-head {
    margin-bottom: 58px;
}
.page-media .first-visit h2 {
    font-size: 43px;
    line-height: 1.08;
}
.page-media .first-visit .text-link {
    font-size: 13px;
    font-weight: 700;
}
.page-media .first-visit-video {
    min-height: 800px;
    height: 800px;
}

.media-appointment {
    padding: 0 0 128px;
}
.media-appointment .appointment-heading {
    width: 50%;
    max-width: 700px;
    margin-bottom: 58px;
}
.media-appointment h2 {
    margin-bottom: 28px;
    font-size: 43px;
    line-height: 1.08;
}
.media-appointment .appointment-lead {
    max-width: 705px;
    font-size: 14px;
    line-height: 1.55;
}
.media-appointment .appointment-collage {
    background-image: url('/local/templates/clinic/assets/images/media-form-collage.png');
    background-size: cover;
    background-position: center;
}
.media-appointment .clinic-webform .form-question--consent + .col-12 {
    margin-top: 88px;
}

.media-contacts {
    padding: 78px 0 128px;
}
.media-contacts .contacts-head {
    margin-bottom: 51px;
}
.media-contacts .map-frame {
    height: auto;
    aspect-ratio: 1420 / 693;
}

/* Adaptive range: 375–959.98 px. */
@media (min-width: 375px) and (max-width: 959.98px) {
    .page-media .clinic-container {
        width: calc(100% - 48px);
    }
    .media-page__breadcrumbs {
        gap: 9px;
        height: 61px;
        font-size: 14px;
        white-space: nowrap;
    }
    .media-page h1 {
        margin: 34px 0 31px;
        font-size: 28px;
        line-height: 1.39;
    }
    .media-page__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 51px;
    }
    .media-page__card {
        min-height: 225px;
        padding: 24px;
    }
    .media-page__card .media-card__source {
        height: 22px;
        font-size: 22px;
        line-height: 22px;
    }
    .media-page__card .media-card__source img {
        height: 22px;
    }
    .media-page__card h2 {
        margin-top: 27px;
        font-size: 13px;
        line-height: 1.38;
        letter-spacing: .2px;
    }
    .media-page__card span {
        font-size: 10px;
        line-height: 1.4;
    }

    .media-blog-section {
        padding-bottom: 48px;
    }
    .media-blog-section__head {
        display: block;
        margin-bottom: 30px;
    }
    .media-blog-section__head h2 {
        margin-bottom: 22px;
        font-size: 28px;
        line-height: 1.39;
    }
    .media-blog-section__head .slider-controls {
        gap: 16px;
    }
    .media-blog-section__head .slider-controls button {
        width: 40px;
        height: 40px;
    }
    .media-blog-mosaic {
        height: 321.565px;
    }
    .media-blog-card--1 {
        width: 100%;
        height: 321.565px;
    }
    .media-blog-card--2,
    .media-blog-card--3,
    .media-blog-card--4 {
        display: none;
    }
    .media-blog-card strong {
        height: 58px;
        font-size: 13px;
    }

    .page-media .first-visit {
        padding: 0 0 48px;
    }
    .page-media .first-visit .section-head {
        display: block;
        margin-bottom: 24px;
    }
    .page-media .first-visit h2 {
        margin-bottom: 20px;
        font-size: 28px;
        line-height: 1.39;
    }
    .page-media .first-visit-video {
        min-height: 327px;
        height: 327px;
    }

    .media-appointment {
        padding: 0 0 48px;
    }
    .media-appointment .appointment-heading {
        width: 100%;
        max-width: none;
        margin-bottom: 24px;
    }
    .media-appointment h2 {
        margin-bottom: 20px;
        font-size: 28px;
        line-height: 1.39;
    }
    .media-appointment .appointment-lead {
        font-size: 14px;
        line-height: 1.52;
    }
    .media-desktop-break { display: none; }
    .media-appointment .appointment-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .media-appointment .appointment-collage {
        order: -1;
        height: 327px;
        min-height: 327px;
    }
    .media-appointment .appointment-form {
        padding: 0;
    }
    .media-appointment .clinic-webform .form-question:not(.form-question--consent) {
        height: 74px;
    }
    .media-appointment .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) {
        margin-top: 16px;
    }
    .media-appointment .clinic-webform .form-label {
        position: static;
        margin: 0 0 2px;
        font-size: 15px;
        line-height: 20px;
    }
    .media-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .media-appointment .clinic-webform textarea,
    .media-appointment .clinic-webform select {
        height: 52px;
        min-height: 52px;
        padding: 8px 0 7px;
        font-size: 20px;
        line-height: 31px;
    }
    .media-appointment .clinic-consent {
        font-size: 14px;
        line-height: 20px;
    }
    .media-appointment .clinic-webform .form-question--consent {
        margin-top: 18px;
    }
    .media-appointment .clinic-webform .form-question--consent + .col-12 {
        margin-top: 38px;
    }
    .media-appointment .clinic-webform .clinic-btn--wide {
        height: 73px;
        min-height: 73px;
        font-size: 18px;
    }

    .media-contacts {
        padding: 20px 0 24px;
    }
    .media-contacts .contacts-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-bottom: 25px;
    }
    .media-contacts .contacts-head h2,
    .media-contacts .contacts-head > a {
        font-size: 18px;
    }
    .media-contacts .contacts-head h2 span {
        display: inline;
    }
    .media-contacts .map-frame {
        height: 327px;
        aspect-ratio: auto;
    }
}

/* Compact range: below 375 px. */
@media (max-width: 374.98px) {
    .page-media .clinic-container {
        width: calc(100% - 32px);
    }
}

/* ===== dentfriend-page.css ===== */
/* Dent Friend. Exactly three responsive ranges: desktop >=960; adaptive 375–959.98; compact <375. */
.page-dentfriend main {
    overflow: hidden;
}
.page-dentfriend .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}
.dentfriend-page {
    color: #272f39;
    background: #fff;
}
.dentfriend-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
    line-height: 1;
}
.dentfriend-breadcrumbs a {
    color: #a7aaad;
}
.dentfriend-breadcrumbs span:last-child {
    color: #272f39;
}
.dentfriend-intro {
    box-sizing: border-box;
    color: #fff;
    background: #272f39;
}
.dentfriend-hero, .dentfriend-wide-video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 71/40;
    overflow: hidden;
}
.dentfriend-hero img, .dentfriend-wide-video img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dentfriend-hero .play-button--large, .dentfriend-wide-video .play-button--large, .page-dentfriend .first-visit-video .play-button--large {
    width: 100px;
    height: 100px;
    font-size: 34px;
}
.dentfriend-project-logo {
    display: block;
    width: 410px;
    max-width: 86%;
    height: auto;
    margin: clamp(58px, calc(-1.54887px + 6.20301vw), 91px) 0 clamp(50px, calc(-2.17203px + 5.43459vw), 79px);
}
.dentfriend-intro-copy, .dentfriend-copy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(70px, calc(-56.09143px + 13.14286vw), 140px);
}
.dentfriend-intro-copy p, .dentfriend-copy-grid p {
    margin: 0;
    font-size: 18px;
    line-height: 25px;
}
.dentfriend-principles {
    position: relative;
    display: block;
    box-sizing: border-box;
    height: 210px;
    margin-top: 121px;
    border-bottom: 1px solid rgba(255, 255, 255, .34);
}
.dentfriend-principles article {
    position: absolute;
    width: clamp(340px, calc(631.66802px - 19.54875vw), 444px);
    min-height: 160px;
    padding-left: 70px;
}
.dentfriend-principles article:nth-child(1) {
    top: 0;
    left: 0;
}
.dentfriend-principles article:nth-child(2) {
    top: clamp(0px, calc(628.20937px - 42.10514vw), 224px);
    left: clamp(444px, calc(379.03759px + 6.76692vw), 480px);
}
.dentfriend-principles article:nth-child(3) {
    top: clamp(0px, calc(1256.42016px - 84.21047vw), 448px);
    left: clamp(0px, calc(-1732.33083px + 180.45113vw), 960px);
}
.dentfriend-principles strong, .dentfriend-task-grid strong {
    position: absolute;
    top: -18px;
    left: 0;
    color: #82908a;
    font-size: 150px;
    font-weight: 600;
    line-height: 1;
}
.dentfriend-principles span {
    margin: 0 0 -23px;
    position: relative;
    z-index: 2;
    display: block;
    max-width: 300px;
    font-size: clamp(20px, calc(12.78195px + 0.75188vw), 24px);
    line-height: 1.22;
    text-transform: uppercase;
}
.dentfriend-philosophy {
    padding-top: 64px;
}
.dentfriend-philosophy h1, .dentfriend-tasks h2, .dentfriend-ambassadors h2, .dentfriend-kids h2, .dentfriend-workshop h2, .dentfriend-teens h2, .dentfriend-plans h2, .dentfriend-doctors h2, .dentfriend-mission h2 {
    margin: 0;
    font-size: 40px;
    font-weight: 500;
    line-height: 56px;
    text-transform: uppercase;
}
.dentfriend-philosophy h1 {
    max-width: 500px;
}
.dentfriend-philosophy h2 {
    max-width: 650px;
    margin: 24px 0 64px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: uppercase;
}
.dentfriend-copy-grid {
    row-gap: 74px;
    font-size: 24px;
    line-height: 34px;
}
.dentfriend-tasks {
    box-sizing: border-box;
    overflow: hidden;
    /* padding: 0 0 128px; */
    background: #c8c8b4;
}
.dentfriend-tasks__lead, .dentfriend-section-lead {
    max-width: 690px;
    margin: 38px 0 64px;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.38;
    text-transform: uppercase;
}
.dentfriend-section-lead--secondary {
    margin-top: -40px;
}
.dentfriend-task-grid {
    position: relative;
    display: block;
    height: 120px;
    transform: translateY(clamp(-82px, calc(-262.45023px + 18.79693vw), 18px));
}
.dentfriend-task-grid article {
    position: absolute;
    width: clamp(444px, calc(415.12872px + 3.00746vw), 460px);
    min-height: 160px;
    padding-left: 55px;
}
.dentfriend-task-grid article:nth-child(1) {
    top: 0;
    left: 0;
}
.dentfriend-task-grid article:nth-child(2) {
    top: clamp(0px, calc(802.08933px - 53.75934vw), 286px);
    left: clamp(444px, calc(379.03759px + 6.76692vw), 480px);
}
.dentfriend-task-grid article:nth-child(3) {
    top: clamp(0px, calc(1413.47368px - 94.73684vw), 504px);
    left: clamp(0px, calc(-1732.33083px + 180.45113vw), 960px);
}
.dentfriend-task-grid strong {
    color: #fff;
}
.dentfriend-task-grid p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}
.dentfriend-ambassadors {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    padding: 128px 0;
    background: #fff;
}
.dentfriend-ambassadors__copy {
    max-width: 610px;
    margin-bottom: 64px;
}
.dentfriend-ambassadors__copy p {
    margin: 30px 0 0;
    font-size: 15px;
    line-height: 1.52;
}
.dentfriend-slider-controls {
    position: absolute;
    top: 180px;
    right: max(36px, calc((100vw - 1420px)/2));
    z-index: 5;
}
.dentfriend-ambassadors-swiper, .dentfriend-doctors-swiper, .dentfriend-gallery .swiper {
    overflow: hidden;
}
.dentfriend-ambassadors-swiper .swiper-slide {
    width: clamp(434px, calc(387.08386px + 4.8871vw), 460px);
}
.dentfriend-doctors-swiper .swiper-slide {
    width: clamp(340px, calc(123.45865px + 22.55639vw), 460px);
}
.dentfriend-gallery .swiper-slide {
    width: clamp(340px, calc(603.62316px - 17.66911vw), 434px);
}
.dentfriend-ambassador-card, .dentfriend-doctor-card {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1/1;
    color: #fff;
    background: #202832;
}
.dentfriend-ambassador-card img, .dentfriend-doctor-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}
.dentfriend-ambassador-card::after, .dentfriend-doctor-card::after {
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    content: '';
    background: linear-gradient(transparent, rgba(22, 29, 37, .9));
}
.dentfriend-ambassador-card span, .dentfriend-doctor-card span {
    position: absolute;
    z-index: 2;
    right: 22px;
    bottom: 20px;
    left: 22px;
}
.dentfriend-ambassador-card strong, .dentfriend-doctor-card strong {
    display: block;
    font-size: 20px;
    line-height: 1.12;
    text-transform: uppercase;
}
.dentfriend-ambassador-card small, .dentfriend-doctor-card small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
}
.dentfriend-kids {
    box-sizing: border-box;
    min-height: clamp(1797.28px, calc(980.34165px + 85.09774vw), 2250px);
    padding: clamp(52px, calc(-88.75188px + 14.66165vw), 130px) 0 clamp(75px, calc(20.86466px + 5.6391vw), 105px);
    background: #c8b4a0;
}
.dentfriend-copy-grid--small {
    margin-top: 67px;
    gap: clamp(70px, calc(-56.09143px + 13.14286vw), 140px);
}
.dentfriend-copy-grid--small p {
    font-size: 13px;
}
.dentfriend-gallery {
    position: relative;
    margin-top: 82px;
    border-bottom: #7D8288 1px solid;
    padding: 0 0 36px;
}
.dentfriend-teens .dentfriend-gallery {
    padding: 0;
    border: none;
}
.dentfriend-gallery__controls {
    justify-content: flex-end;
    margin-bottom: 26px;
}
.dentfriend-gallery .swiper-slide {
    height: auto;
}
.dentfriend-gallery img {
    display: block;
    width: 100%;
    object-fit: cover;
}
.dentfriend-gallery--portrait img {
    aspect-ratio: 2/3;
}
.dentfriend-gallery--landscape img {
    aspect-ratio: 3/2;
}
.dentfriend-school-link {
    display: flex;
    min-height: 184px;
    padding: 36px;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    background: #272f39;
    font-size: 26px;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
}
.dentfriend-workshop, .dentfriend-teens {
    box-sizing: border-box;
    /* padding: 0 0 128px; */
    background: #fff;
}
.dentfriend-workshop h2, .dentfriend-teens h2 {
    margin-bottom: 64px;
    max-width: 700px;
}
.dentfriend-workshop__text {
    max-width: 620px;
    margin: 64px 0 0;
    font-size: 18px;
    line-height: 1.4;
    text-transform: uppercase;
}
.dentfriend-teens {
    padding-top: clamp(59px, calc(8.47458px + 5.2631vw), 87px);
}
.dentfriend-teens h3 {
    max-width: 740px;
    margin: 62px 0 65px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.32;
    text-transform: uppercase;
}
.dentfriend-plans {
    box-sizing: border-box;
    min-height: clamp(1344px, calc(2437.7594px - 73.30827vw), 1734px);
    padding: 128px 0 clamp(32px, calc(-135.81955px + 17.4812vw), 125px);
    color: #fff;
    background: #272f39;
}
.dentfriend-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 20px;
}
.dentfriend-plan-grid article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
    min-height: 315px;
    padding: 0 24px;
    color: #272f39;
    background: #fff;
    align-items: start;
}
.dentfriend-plan-grid small {
    grid-column: 1/-1;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    padding: 24px 0 0 19px;
    border-left: #C8B4A0 5px solid;
}
.dentfriend-plan-grid h3 {
    align-self: start;
    margin: 26px 0 0;
    padding-left: 19px;
    border-left: 5px solid #cdb9a6;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.05;
    text-transform: uppercase;
}
.dentfriend-plan-grid p {
    margin: 26px 0 0;
    padding-left: 19px;
    border-left: 4px solid #8a9a91;
    line-height: 22px;
    min-height: 154px;
}
.dentfriend-plan-grid strong {
    grid-column: 1/-1;
    align-self: end;
    font-size: 40px;
    font-weight: 500;
    padding: 0 0 24px 19px;
    border-left: 4px solid #C8B4A0;
    line-height: 40px;
}
.about-doctors {
    padding: 128px 0;
}
.dentfriend-plan-cta {
    box-sizing: border-box;
    display: flex;
    min-height: clamp(170px, calc(-162.02918px + 34.58641vw), 354px);
    padding: 50px 0;
    align-items: center;
    background: #c8b4a0;
}
.dentfriend-plan-cta .clinic-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.dentfriend-plan-cta p {
    max-width: 510px;
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}
.dentfriend-plan-cta .clinic-btn {
    width: 100%;
    min-height: 73px;
    background: #f2ebe5;
}
.dentfriend-doctors {
    box-sizing: border-box;
    min-height: clamp(508px, calc(-121.77354px + 65.60144vw), 857px);
    padding: clamp(28px, calc(-183.12782px + 21.99248vw), 145px) 0 clamp(36px, calc(-160.69083px + 20.48866vw), 145px);
    background: #fff;
}
.dentfriend-doctors .section-head {
    margin-bottom: 64px;
}
.dentfriend-doctor-card {
    aspect-ratio: 1/1;
}
.dentfriend-doctor-card__details {
    display: none;
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.45;
}
.dentfriend-doctor-card__details ul {
    margin: 0 0 22px;
    padding-left: 18px;
}
.dentfriend-doctor-card__details p {
    margin: 0;
}
.dentfriend-doctor-card.is-featured::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: '';
    background: rgba(39, 47, 57, .88);
}
.dentfriend-doctor-card.is-featured::after {
    display: none;
}
.dentfriend-doctor-card.is-featured img {
    filter: grayscale(1);
    opacity: .5;
}
.dentfriend-doctor-card.is-featured span {
    top: 30px;
    right: 30px;
    bottom: auto;
    left: 30px;
}
.dentfriend-doctor-card.is-featured .dentfriend-doctor-card__details {
    display: block;
    max-width: 360px;
    margin-top: 28px;
    white-space: normal;
}
.dentfriend-blog {
    padding: 0 0 clamp(0px, calc(-230.97629px + 24.06003vw), 128px);
    background: #fff;
}
.dentfriend-blog .section-head {
    margin-bottom: clamp(51px, calc(27.54225px + 2.44355vw), 64px);
}
.dentfriend-blog h2, .page-dentfriend .dentfriend-clinic-today h2, .page-dentfriend .tech-section h2, .page-dentfriend .first-visit h2 {
    font-size: 43px;
    font-weight: 400;
    line-height: 1.12;
    text-transform: uppercase;
}
.dentfriend-blog-swiper {
    overflow: visible;
}
.dentfriend-blog-grid {
    position: relative;
    height: clamp(539.6px, calc(69.70526px + 48.94737vw), 800px);
}
.dentfriend-blog-card {
    position: absolute;
    display: block;
    overflow: hidden;
    background: #ddd;
}
.dentfriend-blog-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dentfriend-blog-card strong {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    height: 73px;
    padding: 10px 20px;
    box-sizing: border-box;
    line-height: 1.35;
    overflow-wrap: anywhere;
    align-items: center;
    justify-content: center;
    background: #c8b4a0;
    color: #272f39;
    font-size: 13px;
    text-align: center;
    text-transform: uppercase;
}
.dentfriend-blog-card--1 {
    top: 0;
    left: 0;
    width: clamp(434px, calc(-45.99974px + 49.99994vw), 700px);
    height: clamp(241.8px, calc(-25.62857px + 27.85714vw), 390px);
}
.dentfriend-blog-card--2 {
    top: 0;
    left: clamp(454px, calc(-242.5411px + 72.55633vw), 840px);
    width: clamp(434px, calc(170.54161px + 27.44355vw), 580px);
    height: clamp(241.8px, calc(95.27394px + 15.2631vw), 323px);
}
.dentfriend-blog-card--3 {
    top: clamp(261.8px, calc(-126.27832px + 40.42484vw), 476.86px);
    left: 0;
    width: clamp(434px, calc(170.54161px + 27.44355vw), 580px);
    height: clamp(241.8px, calc(95.27394px + 15.2631vw), 323px);
}
.dentfriend-blog-card--4 {
    top: clamp(261.8px, calc(-5.62857px + 27.85714vw), 410px);
    left: clamp(454px, calc(-25.99974px + 49.99994vw), 720px);
    width: clamp(434px, calc(-45.99974px + 49.99994vw), 700px);
    height: clamp(241.8px, calc(-25.62857px + 27.85714vw), 390px);
}
.page-dentfriend .dentfriend-clinic-today {
    box-sizing: border-box;
    padding: 0 0 112px;
}
.dentfriend-stats {
    padding: 0 0 128px;
    background: #fff;
}
.dentfriend-mission {
    max-width: 1000px;
    margin-bottom: 85px;
}
.dentfriend-mission small {
    display: block;
    margin-bottom: 28px;
    font-size: 15px;
    text-transform: uppercase;
}
.dentfriend-mission h2 {
    font-size: 43px;
}
.dentfriend-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 78px 40px;
}
.dentfriend-stats-grid article {
    min-height: 190px;
    padding-left: 28px;
    border-left: 5px solid #9b8175;
}
.dentfriend-stats-grid strong {
    display: block;
    font-size: 76px;
    font-weight: 300;
    line-height: .9;
}
.dentfriend-stats-grid h3 {
    margin: 10px 0 17px;
    font-size: 31px;
    font-weight: 400;
    text-transform: uppercase;
}
.dentfriend-stats-grid p {
    max-width: 340px;
    margin: 0;
    color: #5f666b;
    font-size: 12px;
}
.dentfriend-stats-actions {
    display: flex;
    gap: 20px;
    margin-top: 72px;
}
.dentfriend-stats-actions .clinic-btn {
    width: 330px;
    min-height: 72px;
}
.page-dentfriend .tech-section {
    padding: 0 0 128px;
}
.page-dentfriend .tech-section h2 {
    margin-bottom: 64px !important;
}
.page-dentfriend .first-visit {
    padding: 0 0 117px;
}
.page-dentfriend .first-visit .section-head {
    margin-bottom: 58px;
}
.page-dentfriend .first-visit-video {
    min-height: 800px;
    height: 800px;
}
.dentfriend-appointment {
    padding: 0 0 128px;
}
.dentfriend-appointment .appointment-heading {
    width: 50%;
    max-width: 700px;
    margin-bottom: 58px;
}
.dentfriend-appointment h2 {
    margin-bottom: 28px;
    font-size: 43px;
    line-height: 1.08;
    text-transform: uppercase;
}
.dentfriend-form-image {
    background-image: url('/local/templates/clinic/assets/images/dentfriend/exact/form.png?v=20260721-39');
    background-size: cover;
    background-position: center;
}
.dentfriend-contacts {
    padding: 78px 0 128px;
}
.dentfriend-contacts .contacts-head {
    margin-bottom: 51px;
}
.dentfriend-contacts .map-frame {
    height: auto;
    aspect-ratio: 1420/693;
}
@media (min-width: 375px) and (max-width: 959.98px) {
    .page-dentfriend .clinic-container {
        width: calc(100% - 48px);
    }
    .dentfriend-breadcrumbs {
        height: 61px;
        gap: 9px;
        font-size: 14px;
        white-space: nowrap;
    }
    .dentfriend-intro {
        padding: 32px 0 54px;
    }
    .dentfriend-hero {
        aspect-ratio: 71/40;
    }
    .dentfriend-project-logo {
        width: 291px;
        max-width: 89%;
        margin: 44px 0 34px;
    }
    .dentfriend-intro-copy, .dentfriend-copy-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .dentfriend-intro-copy p, .dentfriend-copy-grid p {
        font-size: 18px;
    }
    .dentfriend-principles {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
        height: auto;
        margin-top: 110px;
        padding-bottom: 45px;
    }
    .dentfriend-principles article, .dentfriend-task-grid article {
        position: relative;
        width: 100%;
        padding-left: 72px;
    }
    .dentfriend-principles article:nth-child(n), .dentfriend-task-grid article:nth-child(n) {
        top: auto;
        left: auto;
    }
    .dentfriend-principles article {
        min-height: 160px;
    }
    .dentfriend-principles strong, .dentfriend-task-grid strong {
        top: -18px;
        font-size: 150px;
    }
    .dentfriend-principles span {
        max-width: 260px;
        font-size: 18px;
    }
    .dentfriend-philosophy {
        padding-top: 42px;
    }
    .dentfriend-philosophy h1, .dentfriend-tasks h2, .dentfriend-ambassadors h2, .dentfriend-kids h2, .dentfriend-workshop h2, .dentfriend-teens h2, .dentfriend-plans h2, .dentfriend-doctors h2, .dentfriend-mission h2 {
        font-size: 28px;
        line-height: 1.32;
    }
    .dentfriend-philosophy h2 {
        margin: 24px 0 35px;
        font-size: 18px;
    }
    .dentfriend-copy-grid {
        row-gap: 22px;
    }
    .dentfriend-tasks {
        height: 959px;
        min-height: 0;
        padding: 52px 0;
    }
    .dentfriend-ambassadors {
        height: 961px;
        min-height: 0;
        padding: 52px 0;
    }
    .dentfriend-kids {
        min-height: 1536.23px;
        padding: 52px 0;
    }
    .dentfriend-workshop {
        min-height: 958px;
        padding: 52px 0;
    }
    .dentfriend-teens {
        min-height: 1545px;
        padding: 52px 0;
    }
    .dentfriend-plans {
        min-height: 2008px;
        padding: 52px 0 32px;
    }
    .dentfriend-doctors {
        min-height: 621px;
        padding: 131px 0 98px;
    }
    .dentfriend-tasks__lead, .dentfriend-section-lead {
        margin: 24px 0 38px;
        font-size: 15px;
    }
    .dentfriend-section-lead--secondary {
        margin-top: -18px;
    }
    .dentfriend-task-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 32px;
        height: auto;
        transform: translateY(17px);
    }
    .dentfriend-task-grid article:nth-child(1) {
        min-height: 212px;
    }
    .dentfriend-task-grid article:nth-child(2) {
        min-height: 162px;
    }
    .dentfriend-task-grid article:nth-child(3) {
        min-height: 160px;
    }
    .dentfriend-slider-controls {
        position: static;
        justify-content: flex-end;
        margin: 0 0 18px;
    }
    .dentfriend-ambassadors-swiper .swiper-slide, .dentfriend-doctors-swiper .swiper-slide, .dentfriend-gallery .swiper-slide {
        width: 100%;
    }
    .dentfriend-ambassadors__copy {
        margin-bottom: 106px;
    }
    .dentfriend-ambassadors__copy p {
        margin-top: 20px;
        font-size: 14px;
    }
    .dentfriend-ambassador-card, .dentfriend-doctor-card {
        aspect-ratio: 1/1;
    }
    .dentfriend-doctor-card.is-featured span {
        top: 20px;
        right: 20px;
        left: 20px;
    }
    .dentfriend-wide-video {
        aspect-ratio: 71/40;
    }
    .dentfriend-copy-grid--small {
        margin-top: 32px;
    }
    .dentfriend-gallery {
        margin-top: 32px;
    }
    .dentfriend-gallery__controls {
        margin-bottom: 18px;
    }
    .dentfriend-gallery--portrait img {
        aspect-ratio: 2/3;
    }
    .dentfriend-gallery--landscape img {
        aspect-ratio: 3/2;
    }
    .dentfriend-school-link {
        min-height: 181px;
        padding: 28px 24px;
        font-size: 18px;
    }
    .dentfriend-workshop h2, .dentfriend-teens h2 {
        margin-bottom: 28px;
    }
    .dentfriend-workshop__text, .dentfriend-teens h3 {
        margin: 30px 0;
        font-size: 17px;
    }
    .dentfriend-teens {
        padding-top: 52px;
    }
    .dentfriend-plan-grid {
        grid-template-columns: 1fr;
    }
    .dentfriend-plan-grid article {
        min-height: 318px;
        padding: 22px;
    }
    .dentfriend-plan-grid article:first-child {
        min-height: 428px;
    }
    .dentfriend-plan-grid article:last-child {
        min-height: 384px;
    }
    .dentfriend-plan-grid h3 {
        font-size: 25px;
    }
    .dentfriend-plan-grid strong {
        font-size: 25px;
    }
    .dentfriend-plan-cta {
        min-height: 269px;
        padding: 38px 0;
    }
    .dentfriend-plan-cta .clinic-container {
        grid-template-columns: 1fr;
        gap: 26px;
    }
    .dentfriend-doctors .section-head {
        margin-bottom: 28px;
    }
    .dentfriend-blog {
        padding: 0;
    }
    .dentfriend-blog h2, .page-dentfriend .dentfriend-clinic-today h2, .page-dentfriend .tech-section h2, .page-dentfriend .first-visit h2 {
        font-size: 28px;
    }
    .dentfriend-blog .section-head {
        margin-bottom: 24px;
    }
    .dentfriend-blog-grid {
        height: 321.565px;
    }
    .dentfriend-blog-card {
        display: none;
    }
    .dentfriend-blog-card--1 {
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 321.565px;
    }
    .dentfriend-blog-card strong {
        height: 58px;
        padding: 8px 12px;
    }
    .page-dentfriend .dentfriend-clinic-today {
        min-height: 635px;
        padding-bottom: 52px;
    }
    .dentfriend-mission {
        margin-bottom: 42px;
    }
    .dentfriend-mission h2 {
        font-size: 28px;
    }
    .dentfriend-stats {
        padding-bottom: 52px;
    }
    .dentfriend-stats-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .dentfriend-stats-grid article {
        min-height: 130px;
    }
    .dentfriend-stats-grid strong {
        font-size: 55px;
    }
    .dentfriend-stats-grid h3 {
        font-size: 24px;
    }
    .dentfriend-stats-actions {
        flex-direction: column-reverse;
        margin-top: 35px;
    }
    .dentfriend-stats-actions .clinic-btn {
        width: 100%;
    }
    .page-dentfriend .tech-section {
        padding-bottom: 52px;
    }
    .page-dentfriend .first-visit {
        padding: 0 0 48px;
    }
    .page-dentfriend .first-visit .section-head {
        display: block;
        margin-bottom: 24px;
    }
    .page-dentfriend .first-visit h2 {
        margin-bottom: 20px;
    }
    .page-dentfriend .first-visit-video {
        min-height: 327px;
        height: 327px;
    }
    .dentfriend-appointment {
        padding: 0 0 48px;
    }
    .dentfriend-appointment .appointment-heading {
        width: 100%;
        margin-bottom: 24px;
    }
    .dentfriend-appointment h2 {
        font-size: 28px;
    }
    .dentfriend-appointment .appointment-layout {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .dentfriend-form-image {
        min-height: 327px;
        height: 327px;
    }
    .dentfriend-contacts {
        padding: 48px 0 36px;
    }
    .dentfriend-contacts .contacts-head {
        display: block;
        margin-bottom: 24px;
    }
    .dentfriend-contacts .contacts-head h2 {
        margin-bottom: 16px;
        font-size: 18px;
    }
    .dentfriend-contacts .map-frame {
        height: 327px;
        aspect-ratio: auto;
    }
}
@media (max-width: 374.98px) {
    .page-dentfriend .clinic-container {
        width: calc(100% - 32px);
    }
    .dentfriend-school-link {
        padding-right: 16px;
        padding-left: 16px;
    }
}

/* ===== contacts-page.css ===== */
/* Contacts page. Reference layouts: 1920, 960 and 375 px. */
.page-contacts main { overflow: hidden; }
.page-contacts .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}
.contacts-page {
    color: #27313d;
    background: #fff;
}
.contacts-page__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
    line-height: 1;
}
.contacts-page__breadcrumbs a { color: #a7aaad; }
.contacts-page__breadcrumbs span:last-child { color: #27313d; }

/* Main contact information. Values interpolate from the 960 layout to the 1920 layout. */
.contacts-page__intro {
    width: min(940px, 100%);
    padding-bottom: clamp(140px, calc(60px + 8.333vw), 220px);
}
.contacts-page__intro h1 {
    margin: clamp(52px, calc(43px + .9375vw), 61px) 0 clamp(49px, calc(30px + 1.979vw), 68px);
    font-size: clamp(40px, calc(37px + .3125vw), 43px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.contacts-page__summary {
    font-size: clamp(20px, 1.25vw, 24px);
    line-height: 1.42;
    text-transform: uppercase;
}
.contacts-page__summary p {
    margin: 0 0 clamp(38px, 3vw, 57px);
}
.contacts-page__summary a { color: inherit; }
.contacts-page__callback {
    appearance: none;
    display: inline-block;
    margin: 0;
    padding: 0;
    border: 0;
    color: #27313d;
    background: transparent;
    font: inherit;
    font-weight: 700;
    line-height: inherit;
    text-transform: uppercase;
    cursor: pointer;
}
.contacts-page__schedule {
    margin-top: clamp(38px, calc(-20px + 6.042vw), 96px);
    padding-top: clamp(40px, calc(-4px + 4.583vw), 84px);
    border-top: 1px solid #8e9499;
}
.contacts-page__schedule h2 {
    margin: 0 0 clamp(45px, calc(24px + 2.188vw), 66px);
    font-size: clamp(20px, 1.25vw, 24px);
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}
.contacts-page__table-wrap {
    width: 100%;
    overflow: hidden;
}
.contacts-page__table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    color: #27313d;
    font-size: 15px;
    line-height: 1.35;
}
.contacts-page__table th,
.contacts-page__table td {
    padding: 13px 0 11px;
    border-bottom: 1px solid #8e9499;
    font-weight: 400;
    text-align: left;
    vertical-align: top;
}
.contacts-page__table th { width: 40%; padding-right: 24px; }
.contacts-page__table td { width: 30%; padding-right: 16px; }
.contacts-page__table tr:last-child th,
.contacts-page__table tr:last-child td { border-bottom: 0; }
.contacts-page__legal-links {
    display: grid;
    gap: 31px;
    width: 100%;
    margin-top: clamp(82px, calc(54px + 2.917vw), 110px);
    padding-top: clamp(42px, calc(20px + 2.292vw), 64px);
    border-top: 1px solid #8e9499;
    font-size: 15px;
    line-height: 1.42;
}
.contacts-page__legal-links p {
    width: min(500px, 100%);
    margin: 0;
    color: #59636d;
}
.contacts-page__legal-label {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Reused first-visit component. */
.page-contacts .first-visit {
    padding: 0 0 clamp(70px, calc(23px + 4.896vw), 117px);
}
.page-contacts .first-visit .section-head {
    margin-bottom: clamp(38px, calc(18px + 2.083vw), 58px);
}
.page-contacts .first-visit h2 {
    font-size: clamp(40px, calc(37px + .3125vw), 43px);
    line-height: 1.08;
}
.page-contacts .first-visit .text-link {
    font-size: 13px;
    font-weight: 700;
}
.page-contacts .first-visit-video {
    min-height: clamp(500px, calc(200px + 31.25vw), 800px);
    height: clamp(500px, calc(200px + 31.25vw), 800px);
}

/* Existing Bitrix appointment form. */
.contacts-appointment {
    padding: 0 0 clamp(65px, calc(2px + 6.563vw), 128px);
}
.contacts-appointment .appointment-heading {
    width: 50%;
    max-width: 700px;
    margin-bottom: clamp(33px, calc(8px + 2.604vw), 58px);
}
.contacts-appointment h2 {
    margin-bottom: 28px;
    font-size: clamp(40px, calc(37px + .3125vw), 43px);
    line-height: 1.08;
}
.contacts-appointment .appointment-lead {
    max-width: 705px;
    font-size: 14px;
    line-height: 1.55;
}
.contacts-appointment .appointment-collage {
    height: 700px;
    min-height: 700px;
    background-image: url('/local/templates/clinic/assets/images/contacts-form-collage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.contacts-appointment .clinic-webform .form-question--consent + .col-12 {
    margin-top: clamp(88px, calc(68px + 2.083vw), 108px);
}

/* Interactive map and footer transition. */
.contacts-map-section {
    padding: clamp(65px, calc(52px + 1.354vw), 78px) 0 clamp(36px, calc(-56px + 9.583vw), 128px);
}
.contacts-map-section .contacts-head {
    margin-bottom: clamp(43px, calc(35px + .833vw), 51px);
}
.contacts-map-section .map-frame {
    height: clamp(433px, calc(173px + 27.083vw), 693px);
    aspect-ratio: auto;
}

/* Adaptive range: 375–959.98 px. */
@media (min-width: 375px) and (max-width: 959.98px) {
    .page-contacts .clinic-container { width: calc(100% - 48px); }
    .contacts-page__breadcrumbs {
        gap: 9px;
        height: 61px;
        font-size: 14px;
        white-space: nowrap;
    }
    .contacts-page__intro {
        width: 100%;
        padding-bottom: clamp(88px, calc(54px + 9.067vw), 140px);
    }
    .contacts-page__intro h1 {
        margin: clamp(42px, calc(35.6px + 1.707vw), 52px) 0 clamp(36px, calc(27.65px + 2.227vw), 49px);
        font-size: clamp(20px, calc(7.16px + 3.423vw), 40px);
        line-height: 1.2;
    }
    .contacts-page__summary {
        font-size: clamp(16px, calc(13.43px + .685vw), 20px);
        line-height: 1.4;
    }
    .contacts-page__summary p {
        margin-bottom: clamp(30px, calc(24.86px + 1.37vw), 38px);
    }
    .contacts-page__schedule {
        margin-top: clamp(8px, calc(-11.27px + 5.137vw), 38px);
        padding-top: 40px;
    }
    .contacts-page__schedule h2 {
        margin-bottom: clamp(31px, calc(22px + 2.398vw), 45px);
        font-size: clamp(18px, calc(16.72px + .342vw), 20px);
    }
    .contacts-page__table-wrap {
        width: calc(100% + 24px);
        overflow: hidden;
    }
    .contacts-page__table {
        width: 100%;
        font-size: 15px;
        line-height: 1.4;
    }
    .contacts-page__table th,
    .contacts-page__table td {
        padding: 13px 0 12px;
    }
    .contacts-page__table th { width: 64%; padding-right: 16px; }
    .contacts-page__table td { width: 36%; padding-right: 0; }
    .contacts-page__table td:nth-child(3) { display: none; }
    .contacts-page__legal-links {
        gap: 28px;
        width: 100%;
        margin-top: clamp(40px, calc(36.15px + 1.027vw), 46px);
        padding-top: 0;
        border-top: 0;
        font-size: 15px;
        line-height: 1.48;
    }

    .page-contacts .first-visit {
        padding: 0 0 clamp(48px, calc(33.86px + 3.768vw), 70px);
    }
    .page-contacts .first-visit .section-head {
        display: block;
        margin-bottom: clamp(24px, calc(15px + 2.398vw), 38px);
    }
    .page-contacts .first-visit h2 {
        margin-bottom: clamp(16px, calc(.58px + 4.11vw), 40px);
        font-size: clamp(22px, calc(10.44px + 3.082vw), 40px);
        line-height: 1.25;
    }
    .page-contacts .first-visit .text-link {
        font-size: clamp(16px, calc(17.93px - .514vw), 13px);
        line-height: 1.4;
    }
    .page-contacts .first-visit-video {
        min-height: clamp(327px, calc(215.86px + 29.623vw), 500px);
        height: clamp(327px, calc(215.86px + 29.623vw), 500px);
    }

    .contacts-appointment {
        padding: 0 0 clamp(48px, calc(37.08px + 2.911vw), 65px);
    }
    .contacts-appointment .appointment-heading {
        width: 100%;
        max-width: none;
        margin-bottom: clamp(24px, calc(18.22px + 1.541vw), 33px);
    }
    .contacts-appointment h2 {
        margin-bottom: clamp(16px, calc(8.29px + 2.055vw), 28px);
        font-size: clamp(24px, calc(13.72px + 2.74vw), 40px);
        line-height: 1.25;
    }
    .contacts-appointment .appointment-lead {
        font-size: clamp(16px, calc(14.72px + .342vw), 18px);
        line-height: 1.45;
    }
    .contacts-desktop-break { display: none; }
    .contacts-appointment .appointment-layout {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
    }
    .contacts-appointment .appointment-collage {
        min-height: 0;
        height: auto;
        aspect-ratio: 327 / 328;
    }
    /* Override the generic tablet form sizing so the 375 layout matches the supplied form. */
    .contacts-appointment .clinic-webform .form-question:not(.form-question--consent) {
        height: 74px;
    }
    .contacts-appointment .clinic-webform .form-question:not(.form-question--consent) + .form-question:not(.form-question--consent) {
        margin-top: 16px;
    }
    .contacts-appointment .clinic-webform .form-label {
        position: static;
        top: auto;
        margin: 0 0 2px;
        font-size: 15px;
        line-height: 20px;
    }
    .contacts-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    .contacts-appointment .clinic-webform textarea,
    .contacts-appointment .clinic-webform select {
        height: 52px;
        min-height: 52px;
        padding: 8px 0 7px;
        font-size: 20px;
        line-height: 31px;
    }
    .contacts-appointment .clinic-consent {
        font-size: 14px;
        line-height: 20px;
    }
    .contacts-appointment .clinic-webform .form-question--consent {
        margin-top: 18px;
    }
    .contacts-appointment .clinic-webform .form-question--consent + .col-12 {
        margin-top: 38px;
    }
    .contacts-appointment .clinic-webform .clinic-btn--wide {
        height: 73px;
        min-height: 73px;
        font-size: 18px;
    }

    .contacts-map-section {
        padding: clamp(28px, calc(4.87px + 6.164vw), 64px) 0 24px;
    }
    .contacts-map-section .contacts-head {
        display: block;
        margin-bottom: 25px;
    }
    .contacts-map-section .contacts-head h2 {
        margin-bottom: 16px;
        font-size: 18px;
        line-height: 1.39;
    }
    .contacts-map-section .contacts-head > a { font-size: 18px; }
    .contacts-map-section .map-frame {
        height: clamp(327px, calc(258.92px + 18.151vw), 433px);
        aspect-ratio: auto;
    }
}

/* Compact mobile: below 375 px. */
@media (max-width: 374.98px) {
    .page-contacts .clinic-container { width: calc(100% - 32px); }
    .contacts-page__table { font-size: 14px; }
    .contacts-page__table-wrap { width: calc(100% + 16px); }
}

/* ===== jobs-page.css ===== */
/* Jobs page. Fedoseev ranges: desktop >= 960; adaptive 375–959.98; compact < 375. */
.page-jobs main { overflow: hidden; }
.page-jobs .clinic-container {
    width: min(calc(100% - 72px), 1420px);
    max-width: none;
}
.jobs-page {
    color: #27313d;
    background: #fff;
}
.jobs-page__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #a7aaad;
    font-size: 18px;
    line-height: 1;
}
.jobs-page__breadcrumbs a { color: #a7aaad; }
.jobs-page__breadcrumbs span:last-child { color: #27313d; }
.jobs-page h1 {
    margin: clamp(52px, calc(52px + (100vw - 960px) * .009375), 61px) 0
            clamp(48px, calc(48px + (100vw - 960px) * .020833), 68px);
    color: #27313d;
    font-size: clamp(40px, calc(40px + (100vw - 960px) * .003125), 43px);
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.jobs-page__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "history invitation"
        "vacancies offer"
        ". response";
    column-gap: clamp(20px, calc(20px + (100vw - 960px) * .104167), 120px);
    padding-bottom: clamp(58px, calc(58px + (100vw - 960px) * .064583), 120px);
}
.jobs-page__block {
    min-width: 0;
    color: #27313d;
    font-size: clamp(15px, calc(15px + (100vw - 960px) * .001042), 16px);
    line-height: 1.47;
}
.jobs-page__block p { margin: 0; }
.jobs-page__block--history { grid-area: history; }
.jobs-page__block--invitation { grid-area: invitation; }
.jobs-page__block--vacancies { grid-area: vacancies; }
.jobs-page__block--offer { grid-area: offer; }
.jobs-page__block--response { grid-area: response; }
.jobs-page__block--history,
.jobs-page__block--invitation {
    min-height: clamp(250px, calc(250px + (100vw - 960px) * .072917), 320px);
    padding-bottom: clamp(36px, calc(36px + (100vw - 960px) * .0125), 48px);
    border-bottom: 1px solid #7d8288;
}
.jobs-page__block--vacancies,
.jobs-page__block--offer {
    min-height: clamp(235px, calc(235px + (100vw - 960px) * .036458), 270px);
    padding: clamp(36px, calc(36px + (100vw - 960px) * .014583), 50px) 0
             clamp(46px, calc(46px + (100vw - 960px) * .014583), 60px);
    border-bottom: 1px solid #7d8288;
}
.jobs-page__block h2 {
    margin: 0 0 27px;
    color: #27313d;
    font-size: clamp(20px, calc(20px + (100vw - 960px) * .002083), 22px);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
}
.jobs-page__block ul {
    margin: 0;
    padding-left: 18px;
}
.jobs-page__block li { padding-left: 2px; }
.jobs-page__block--response {
    padding-top: clamp(46px, calc(46px + (100vw - 960px) * .01875), 64px);
    padding-bottom: 2px;
}
.jobs-map-section {
    padding: clamp(44px, calc(44px + (100vw - 960px) * .032292), 75px) 0
             clamp(108px, calc(108px + (100vw - 960px) * .022917), 130px);
    background: #f3f0ef;
}
.jobs-map-section__head {
    margin-bottom: clamp(49px, calc(49px + (100vw - 960px) * .009375), 58px);
}
.jobs-map-section__head h2,
.jobs-map-section__phone a {
    color: #27313d;
    font-size: clamp(20px, calc(20px + (100vw - 960px) * .003125), 23px);
    line-height: 1.3;
    text-transform: uppercase;
}
.jobs-map-section__head h2 { font-weight: 700; }
.jobs-map-section__head h2 span { font-weight: 400; }
.jobs-map-section__phone a { font-weight: 700; }
.jobs-map-section__map {
    height: clamp(433px, calc(433px + (100vw - 960px) * .270833), 693px);
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .page-jobs .clinic-container {
        width: calc(100% - 48px);
    }
    .jobs-page__breadcrumbs {
        gap: 9px;
        height: 41px;
        font-size: 12px;
        white-space: nowrap;
    }
    .jobs-page h1 {
        margin: 22px 0 29px;
        font-size: 20px;
        line-height: 1.2;
    }
    .jobs-page__grid {
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }
    .jobs-page__block {
        min-height: 0;
        font-size: 14px;
        line-height: 1.45;
    }
    .jobs-page__block--invitation { order: 1; }
    .jobs-page__block--vacancies { order: 2; }
    .jobs-page__block--offer { order: 3; }
    .jobs-page__block--history { order: 4; }
    .jobs-page__block--response { order: 5; }
    .jobs-page__block--history,
    .jobs-page__block--invitation,
    .jobs-page__block--vacancies,
    .jobs-page__block--offer,
    .jobs-page__block--response {
        padding: 0 0 24px;
        border-bottom: 1px solid #7d8288;
    }
    .jobs-page__block--vacancies,
    .jobs-page__block--offer,
    .jobs-page__block--history,
    .jobs-page__block--response {
        padding-top: 24px;
    }
    .jobs-page__block--response {
        padding-bottom: 31px;
        border-bottom: 0;
    }
    .jobs-page__block h2 {
        margin-bottom: 17px;
        font-size: 15px;
        line-height: 1.2;
    }
    .jobs-page__block ul {
        padding-left: 18px;
    }
    .jobs-map-section {
        padding: 24px 0 24px;
    }
    .jobs-map-section__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        margin-bottom: 17px;
    }
    .jobs-map-section__head h2,
    .jobs-map-section__phone a {
        font-size: 14px;
        line-height: 1.35;
    }
    .jobs-map-section__head h2 span {
        display: inline;
    }
    .jobs-map-section__map {
        height: 327px;
    }
}

@media (max-width: 374.98px) {
    .page-jobs .clinic-container {
        width: calc(100% - 32px);
    }
}

.jobs-vacancies-list {
    margin: 0;
    padding-left: 18px;
}
.jobs-vacancies-list__item {
    padding-left: 2px;
}
.jobs-vacancies-list__description {
    margin-top: 6px;
    font-size: .94em;
    line-height: 1.45;
}
.jobs-vacancies-list__description p {
    margin: 0;
}
.jobs-vacancies-list__empty {
    margin: 0;
}
.jobs-page__block--response a {
    color: inherit;
    text-decoration: none;
}

/* ===== crew.css ===== */
/* Team page. Breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
.page-crew main { overflow: hidden; }
.crew-page { color: #27313d; background: #fff; }
.crew-page__container { padding-top: 0; }

.crew-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 13px;
    height: 61px;
    border-top: 1px solid #7d8288;
    border-bottom: 1px solid #7d8288;
    color: #27313d;
    font-size: 18px;
    line-height: 1;
}
.crew-breadcrumbs a { color: #a7aaad; }
.crew-breadcrumbs a:hover { color: #27313d; }

.crew-page h1 {
    margin: 91px 0 59px;
    font-size: 43px;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.crew-intro-video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1420 / 795;
    overflow: hidden;
    background: #d9d7d5;
}
.crew-intro-video img { width: 100%; height: 100%; object-fit: cover; }
.crew-intro-video .play-button { width: 80px; height: 80px; color: #fff; background: rgba(82,72,65,.78); }

.crew-intro-text {
    width: 720px;
    max-width: 100%;
    margin: 64px 0 132px;
    font-size: 24px;
    line-height: 1.23;
    text-transform: uppercase;
}

.crew-groups { padding-bottom: 0; }
.crew-group h2 {
    margin: 0 0 62px;
    font-size: 43px;
    font-weight: 400;
    line-height: 1.08;
    text-transform: uppercase;
}
.crew-group__divider {
    height: 1px;
    margin: 64px 0 66px;
    background: #a9adb0;
}
.crew-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.crew-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    color: #fff;
    background: #d8d8d8;
}
.crew-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(1);
    transition: transform .35s ease;
}
.crew-card:hover img { transform: scale(1.015); }
.crew-card__placeholder { position: absolute; inset: 0; background: #d8d8d8; }
.crew-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(39,49,61,.9) 0, rgba(39,49,61,.48) 20%, rgba(39,49,61,0) 53%);
}
.crew-card__content {
    position: absolute;
    z-index: 2;
    right: 21px;
    bottom: 20px;
    left: 21px;
    display: block;
}
.crew-card__content strong {
    display: block;
    max-width: 390px;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.28;
    text-transform: uppercase;
}
.crew-card__content small {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 16px;
    line-height: 1.28;
}

.page-crew .first-visit { padding: 0 0 118px; }
.page-crew .first-visit .clinic-container { width: min(calc(100% - 48px), 1420px); }
.page-crew .first-visit .section-head { margin-bottom: 58px; }
.page-crew .first-visit h2 { font-size: 43px; line-height: 1.08; }
.page-crew .first-visit .text-link { font-size: 18px; }
.page-crew .first-visit-video { min-height: 0; height: auto; aspect-ratio: 1420 / 795; }
.page-crew .first-visit-video img { object-fit: cover; }

.page-crew .crew-appointment { padding-top: 84px; }
.page-crew .crew-contacts { padding-top: 49px; }

@media (min-width: 375px) and (max-width: 960px) {
    .crew-page__container { width: calc(100% - clamp(48px, 7.5vw, 72px)); max-width: none; }
    .crew-breadcrumbs { height: 61px; font-size: 18px; }
    .crew-page h1 {
        margin: clamp(33px, calc(28.513px + 1.1966vw), 40px) 0 clamp(35px, calc(32.436px + .6838vw), 39px);
        font-size: clamp(28px, calc(20.308px + 2.0513vw), 40px);
        line-height: 1.25;
    }
    .crew-intro-video { aspect-ratio: 888 / 499; }
    .crew-intro-video .play-button {
        width: clamp(34px, calc(18.615px + 4.1026vw), 58px);
        height: clamp(34px, calc(18.615px + 4.1026vw), 58px);
        font-size: clamp(12px, calc(6.872px + 1.3675vw), 20px);
    }
    .crew-intro-text {
        width: 100%;
        margin: clamp(33px, calc(29.154px + 1.0256vw), 39px) 0 clamp(30px, calc(24.231px + 1.5385vw), 39px);
        font-size: clamp(18px, calc(14.154px + 1.0256vw), 24px);
        line-height: 1.39;
    }
    .crew-groups { padding-bottom: 0; }
    .crew-group h2 {
        margin-bottom: clamp(33px, calc(27.231px + 1.5385vw), 42px);
        font-size: clamp(28px, calc(20.308px + 2.0513vw), 40px);
        line-height: 1.39;
    }
    .crew-group__divider {
        width: calc(100% - clamp(0px, calc(39.385px - 4.1026vw), 24px));
        margin: clamp(32px, calc(30.077px + .5128vw), 35px) auto clamp(33px, calc(27.231px + 1.5385vw), 42px);
    }
    .crew-grid { grid-template-columns: repeat(auto-fit, minmax(min(327px, 100%), 1fr)); gap: 20px; }
    .crew-card__content { right: 20px; bottom: 18px; left: 20px; }
    .crew-card__content strong { font-size: clamp(20px, 2.5vw, 24px); }
    .crew-card__content small { font-size: clamp(14px, 1.67vw, 16px); }
    .page-crew .first-visit { padding: 0 0 48px; }
    .page-crew .first-visit .clinic-container { width: calc(100% - clamp(48px, 7.5vw, 72px)); max-width: none; }
    .page-crew .first-visit .section-head { margin-bottom: clamp(24px, calc(12.462px + 3.0769vw), 42px); }
    .page-crew .first-visit h2 { font-size: clamp(28px, calc(20.308px + 2.0513vw), 40px); line-height: 1.39; }
    .page-crew .first-visit .text-link { font-size: clamp(14px, calc(11.436px + .6838vw), 18px); white-space: normal; }
    .page-crew .first-visit-video { aspect-ratio: 888 / 499; }
    .page-crew .crew-appointment { padding-top: 48px; }
    .page-crew .crew-contacts { padding-top: 48px; }
}

@media (max-width: 374.98px) {
    .crew-page__container { width: calc(100% - 48px); max-width: none; }
    .crew-breadcrumbs { height: 61px; gap: 12px; font-size: 18px; }
    .crew-page h1 { margin: 39px 0 35px; font-size: 28px; line-height: 1.25; }
    .crew-intro-video { aspect-ratio: 327 / 183; }
    .crew-intro-video .play-button { width: 34px; height: 34px; padding-left: 2px; font-size: 12px; }
    .crew-intro-text { width: 100%; margin: 33px 0 35px; font-size: 18px; line-height: 1.39; }
    .crew-groups { padding-bottom: 0; }
    .crew-group h2 { margin-bottom: 33px; font-size: 28px; line-height: 1.39; }
    .crew-group__divider { width: calc(100% - 24px); margin: 32px auto 33px; }
    .crew-grid { grid-template-columns: 1fr; gap: 20px; }
    .crew-card__content { right: 20px; bottom: 19px; left: 20px; }
    .crew-card__content strong { font-size: 24px; line-height: 1.36; }
    .crew-card__content small { margin-top: 4px; font-size: 16px; line-height: 1.28; }
    .page-crew .first-visit { padding: 0 0 27px; }
    .page-crew .first-visit .clinic-container { width: calc(100% - 48px); max-width: none; }
    .page-crew .first-visit .section-head { display: block; margin-bottom: 24px; }
    .page-crew .first-visit h2 { margin-bottom: 20px; font-size: 28px; line-height: 1.39; }
    .page-crew .first-visit .text-link { min-height: 0; font-size: 14px; white-space: normal; }
    .page-crew .first-visit-video { aspect-ratio: 327 / 183; }
    .page-crew .crew-appointment { padding-top: 24px; }
    .page-crew .crew-contacts { padding-top: 24px; }
}

.crew-group__divider--after { margin-bottom: 66px; }
@media (min-width: 375px) and (max-width: 960px) {
    .crew-group__divider--after { margin-bottom: clamp(33px, calc(27.231px + 1.5385vw), 42px); }
}
@media (max-width: 374.98px) {
    .crew-group__divider--after { margin-bottom: 33px; }
}

/* ===== services.css ===== */
/* Fedoseev breakpoints: desktop >= 960px; adaptive 375–959.98px; compact < 375px. */
/* Страница услуг и вложенные страницы услуг */
.page-services .clinic-container { width: min(calc(100% - 72px), 1420px); }
.page-services .services-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 66px;
    border-bottom: 1px solid #9da2a5;
    color: #8b9297;
    font-size: 14px;
    line-height: 1.2;
}
.page-services .services-breadcrumbs a { color: #a1a6aa; }
.page-services .services-breadcrumbs span:last-child { color: #27313d; }


/* Точные цвета верхнего блока по макетам Services */
.page-services .services-hero,
.page-services .services-navigation,
.page-services .services-more-link,
.page-services .services-navigation__card {
    color: #272f39;
}

.about-safety__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.about-safety__grid article {
    min-height: 250px;
    padding: 40px 34px;
    background: #edece7;
    font-size: 20px;
    line-height: 27px;
}
.about-safety__grid article:nth-child(2) {
    background: #dfe5e1;
}
.about-safety__grid article:nth-child(3) {
    background: #e9dfdf;
}
.about-safety__grid strong {
    font-weight: 700;
}

.services-hero { padding: 44px 0 64px; }
.services-hero__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(620px, 100%), 1fr));
    column-gap: clamp(32px, 5.21vw, 100px);
    row-gap: 36px;
    align-items: start;
}
.services-hero h1 {
    max-width: 620px;
    margin: 0;
    padding-left: 10px;
    border-left: 10px solid #78645a;
    font-size: 40px;
    font-weight: 400;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.services-hero__copy {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    column-gap: clamp(20px, 2.08vw, 40px);
    align-items: end;
    width: 100%;
    max-width: none;
    height: 168px;
    padding: 0;
}
.services-hero__copy p {
    width: 100%;
    max-width: 340px;
    margin: 0;
    font-size: 16px;
    line-height: 22px;
}
.services-more-link {
    display: inline-block;
    justify-self: end;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
}
.services-more-link:hover { opacity: .65; }

.services-navigation { padding: 0; }
.services-navigation__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    column-gap: 20px;
    row-gap: 64px;
    align-items: end;
}
.services-navigation__card {
    --service-bar-width: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    min-height: 121px;
    padding: 3px 0 0 calc(20px - var(--service-bar-width));
    border-left: var(--service-bar-width) solid var(--service-accent, #27313d);
    transition: background-color .2s ease;
}
.services-navigation__card:hover { background: #f5f5f3; }
.services-navigation__card strong {
    display: block;
    max-width: none;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    text-transform: uppercase;
    -webkit-text-stroke: 0.12px currentColor;
}
.services-navigation__card span {
    display: block;
    margin-top: 0;
    font-size: 17px;
    line-height: 21px;
}
.services-navigation__card[data-service-card="service-diagnostics"] { --service-bar-width: 10px; }
.services-navigation__card[data-service-card="service-prevention"] { --service-bar-width: 6px; }
.services-navigation__card[data-service-card="service-surgery"] { --service-bar-width: 2px; }
.services-navigation__card[data-service-card="service-implant"] { --service-bar-width: 4px; }
.services-navigation__card[data-service-card="service-treatment"] { --service-bar-width: 10px; }
.services-navigation__card[data-service-card="service-ortho"] { --service-bar-width: 6px; }
.services-navigation__card[data-service-card="service-whitening"] { --service-bar-width: 4px; }
.services-navigation__card[data-service-card="service-design"] { --service-bar-width: 2px; }
.services-navigation__card[data-service-card="service-prosthetics"] { --service-bar-width: 6px; }
.services-navigation__card[data-service-card="service-trauma"] { --service-bar-width: 4px; }
.services-navigation__card--kids {
    grid-column: span 2;
    height: 194px;
    min-height: 194px;
    padding: 34px clamp(205px, 22vw, 310px) 24px 34px;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #f0e65a;
}
.services-navigation__card--kids:hover { background: #f0e65a; }
.services-navigation__card--kids strong {
    max-width: 190px;
    font-size: 22px;
    line-height: 33px;
}
.services-navigation__card--kids img {
    position: absolute;
    top: 0;
    right: 30px;
    width: clamp(180px, 22vw, 310px);
    height: 194px;
    object-fit: fill;
}

.services-catalog { padding: 128px 0 84px; }
.services-catalog h2 {
    margin: 0 0 42px;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.1;
    text-transform: uppercase;
}
.services-catalog__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 44%);
    column-gap: 92px;
    align-items: center;
    min-height: 398px;
    padding: 31px 0 32px;
    border-bottom: 1px solid #9da2a5;
}
.services-catalog__copy { align-self: start; padding-top: 14px; }
.services-catalog__copy h3 {
    max-width: 630px;
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.28;
    text-transform: uppercase;
}
.services-catalog__copy h3 a:hover,
.services-catalog__copy li a:hover { opacity: .62; }
.services-catalog__copy ul {
    max-width: 650px;
    margin: 0;
    padding-left: 34px;
    color: #8c9297;
    font-size: 17px;
    line-height: 1.48;
}
.services-catalog__copy li { padding-left: 2px; }
.services-catalog__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 620 / 350;
    overflow: hidden;
}
.services-catalog__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.services-catalog__image:hover img { transform: scale(1.015); }

.page-services .treatment-section { padding-top: 98px; }
.page-services .services-safety { padding-top: 58px; padding-bottom: 116px; }
.page-services .services-safety h2 { margin-bottom: 58px; }
.page-services .about-doctors { padding-top: 112px; padding-bottom: 112px; }
.page-services .tech-section { padding-top: 112px; }

/* Вложенная страница услуги */
.service-detail {
    --detail-grid-gap: clamp(40px, calc(7.5188vw - 32.1805px), 80px);
    --detail-grid-shift: clamp(10px, calc(3.7594vw - 26.0902px), 30px);
    padding: 0;
    overflow: hidden;
}
.service-detail__hero {
    padding: clamp(45px, calc(1.1278vw + 34.173px), 51px) 0
        clamp(18px, calc(5.6391vw - 36.135px), 48px);
}
.service-detail h1 {
    width: 100%;
    max-width: clamp(700px, calc(1092.632px - 26.3158vw), 840px);
    margin: 0;
    color: #272f39;
    font-size: 40px;
    font-weight: 400;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.service-detail__hero-row {
    display: grid;
    grid-template-columns:
        minmax(0, calc((100% - var(--detail-grid-gap)) / 2 - var(--detail-grid-shift)))
        minmax(0, calc((100% - var(--detail-grid-gap)) / 2 + var(--detail-grid-shift)));
    align-items: start;
    column-gap: var(--detail-grid-gap);
    margin-top: clamp(2px, calc(10.3383vw - 97.248px), 57px);
}
.service-detail__picture-wrap {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: auto;
    margin-top: clamp(0px, calc(58.895px - 3.9474vw), 21px);
    overflow: hidden;
    aspect-ratio: 700 / 460;
}
.service-detail__picture {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.service-detail__hero-copy {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: clamp(460px, calc(513.263px - 3.5714vw), 479px);
    padding-top: 0;
}
.service-detail__intro {
    width: 100%;
    max-width: 585px;
    color: #272f39;
    font-size: clamp(22px, calc(27.609px - .3759vw), 24px);
    line-height: clamp(30px, calc(41.218px - .7519vw), 34px);
    text-transform: uppercase;
}
.service-detail__intro p { margin: 0; }
.service-detail__hero-button {
    width: 340px;
    height: 48px;
    min-height: 48px;
    margin-top: auto;
    padding: 0 20px;
    border-radius: 5px;
    font-size: 16px;
}
.service-detail__video-section {
    padding: clamp(18px, calc(5.4511vw - 34.331px), 47px) 0
        clamp(36px, calc(10.9023vw - 68.662px), 94px);
}
.service-detail__video {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1420 / 827.184;
    background: #ddd9d4;
}
.service-detail__video img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-detail__article { padding-bottom: 82px; }
.service-detail__article-grid {
    display: grid;
    grid-template-columns:
        minmax(0, calc((100% - var(--detail-grid-gap)) / 2 - var(--detail-grid-shift)))
        minmax(0, calc((100% - var(--detail-grid-gap)) / 2 + var(--detail-grid-shift)));
    column-gap: var(--detail-grid-gap);
}
.service-detail__qa {
    min-width: 0;
    padding: clamp(36px, calc(5.6391vw - 18.135px), 66px) 0 58px;
    border-top: 1px solid #9da2a5;
}
.service-detail__qa--lead {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns:
        minmax(0, calc((100% - var(--detail-grid-gap)) / 2 - var(--detail-grid-shift)))
        minmax(0, calc((100% - var(--detail-grid-gap)) / 2 + var(--detail-grid-shift)));
    column-gap: var(--detail-grid-gap);
}
.service-detail__qa-main { min-width: 0; }
.service-detail__qa h2 {
    margin: 0 0 22px;
    color: #272f39;
    font-size: 20px;
    font-weight: 400;
    line-height: 27px;
    text-transform: uppercase;
}
.service-detail__qa-text {
    color: #272f39;
    font-size: 15px;
    line-height: 21px;
}
.service-detail__qa-text p { margin: 0 0 19px; }
.service-detail__qa-text p:last-child { margin-bottom: 0; }
.service-detail__qa-text ol { margin: 0; padding-left: 22px; }
.service-detail__qa-text li { padding-left: 2px; }
.service-detail__related-list {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    min-height: clamp(378px, calc(950.12px - 38.346vw), 582px);
    margin: 0;
    padding: 38px 44px 36px 55px;
    background: #efefe9;
    color: #4d555c;
    font-size: 21px;
    line-height: 31px;
}
.service-detail__related-list li { padding-left: 7px; }
.service-detail__related-list a:hover { opacity: .62; }
.service-detail__qa--rich { grid-column: 1 / -1; }
.service-detail__qa--rich .service-detail__qa-text {
    max-width: 980px;
    font-size: 18px;
    line-height: 1.6;
}
.service-detail .treatment-section { padding-top: 83px; }
.service-detail .services-safety { padding-top: 64px; padding-bottom: 126px; }
.service-detail .services-safety h2 { margin-bottom: 58px; }
.service-detail .offers-section { padding-top: 116px; padding-bottom: 126px; }
.service-detail .about-doctors { padding-top: 111px; padding-bottom: 111px; }
.service-detail .first-visit { padding-top: 0; padding-bottom: 116px; }
.service-detail .first-visit .section-head { margin-bottom: 54px; }
.service-detail .first-visit-video { height: auto; min-height: 0; aspect-ratio: 1420 / 800; }
.service-detail .services-appointment { padding-top: 109px; }
.service-detail .services-contacts { padding-top: 68px; padding-bottom: 124px; }

.services-navigation__card strong,
.services-catalog__copy h3,
.service-detail__child { overflow-wrap: anywhere; }
@media (max-width: 959.98px) {
    .about-safety__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-safety__grid article {
        min-height: 0;
        padding: 30px;
    }

    .page-services .clinic-container { width: min(calc(100% - clamp(48px, 7.5vw, 72px)), 1420px); }

    .services-hero { padding: 32px 0 36px; }
    .services-hero__container { display: block; }
    .services-hero h1 {
        width: 100%;
        max-width: 860px;
        padding-left: 10px;
        border-left-width: 10px;
        font-size: clamp(26px, 4.17vw, 40px);
        line-height: 1.4;
    }
    .services-hero__copy {
        display: block;
        width: 100%;
        max-width: none;
        height: auto;
        padding-top: 37px;
    }
    .services-hero__copy p {
        width: 100%;
        margin: 0 0 25px;
        font-size: 16px;
        line-height: 22px;
    }
    .services-more-link { font-size: 18px; line-height: 22px; }

    .services-navigation { padding: 0; }
    .services-navigation__grid {
        grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
        column-gap: 20px;
        row-gap: 36px;
        align-items: end;
    }
    .services-navigation__card {
        height: 121px;
        min-height: 121px;
        padding: 3px 0 0 calc(20px - var(--service-bar-width));
    }
    .services-navigation__card strong { max-width: 330px; font-size: 24px; line-height: 32px; }
    .services-navigation__card span { margin-top: 0; font-size: 17px; line-height: 21px; }
    .services-navigation__card[data-service-card="service-trauma"] strong { max-width: none; white-space: normal; }
    .services-navigation__card--kids {
        order: 100;
        grid-column: 1 / -1;
        height: 194px;
        min-height: 194px;
        margin-top: 0;
        padding: 34px clamp(205px, 34vw, 310px) 24px 34px;
        border: 0;
    }
    .services-navigation__card--kids strong { max-width: 190px; font-size: 22px; line-height: 33px; }
    .services-navigation__card--kids img { top: 0; right: 0; width: clamp(180px, 34vw, 310px); max-width: 55%; height: 194px; object-fit: contain; object-position: right center; }

    .services-navigation__card[data-service-card="service-diagnostics"] { order: 10; }
    .services-navigation__card[data-service-card="service-prevention"] { order: 20; }
    .services-navigation__card[data-service-card="service-surgery"] { order: 30; }
    .services-navigation__card[data-service-card="service-implant"] { order: 40; }
    .services-navigation__card[data-service-card="service-treatment"] { order: 50; }
    .services-navigation__card[data-service-card="service-ortho"] { order: 60; }
    .services-navigation__card[data-service-card="service-prosthetics"] { order: 70; }
    .services-navigation__card[data-service-card="service-whitening"] { order: 80; }
    .services-navigation__card[data-service-card="service-trauma"] { order: 90; }
    .services-navigation__card[data-service-card="service-design"] { order: 100; }
    .services-navigation__card--kids { order: 110; }

    .services-catalog { padding-top: 43px; padding-bottom: 72px; }
    .services-catalog h2 { margin-bottom: 20px; font-size: 40px; }
    .services-catalog__row {
        grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
        column-gap: 38px;
        min-height: 0;
        padding: 36px 0;
    }
    .services-catalog__copy { padding-top: 1px; }
    .services-catalog__copy h3 { margin-bottom: 24px; font-size: 20px; line-height: 1.28; }
    .services-catalog__copy ul { padding-left: 30px; font-size: 16px; line-height: 1.48; }
    .services-catalog__image { width: 100%; height: auto; aspect-ratio: 620 / 350; }


    .service-detail__hero {
        padding: clamp(29px, calc(18.731px + 2.7385vw), 45px) 0
            clamp(0px, calc(3.0822vw - 11.558px), 18px);
    }
    .service-detail h1 {
        max-width: none;
        font-size: clamp(30px, calc(23.590px + 1.7094vw), 40px);
        line-height: 1.35;
    }
    .service-detail__hero-row {
        display: flex;
        flex-flow: row-reverse wrap;
        align-items: flex-start;
        gap: 40px;
        margin-top: clamp(2px, calc(90.615px - 9.2308vw), 56px);
    }
    .service-detail__picture-wrap,
    .service-detail__hero-copy {
        flex: 1 1 390px;
        width: auto;
        min-width: min(100%, 390px);
        height: auto;
    }
    .service-detail__picture-wrap {
        margin-top: clamp(0px, calc(3.5959vw - 13.484px), 21px);
        aspect-ratio: 700 / 460;
    }
    .service-detail__hero-copy {
        min-height: 0;
        padding-top: 0;
    }
    .service-detail__intro {
        max-width: none;
        font-size: clamp(18px, calc(14.154px + 1.0256vw), 24px);
        line-height: clamp(25px, calc(19.231px + 1.5385vw), 34px);
    }
    .service-detail__hero-button {
        width: min(340px, 100%);
        margin-top: clamp(24px, calc(2.846px + 5.6410vw), 57px);
        font-size: clamp(18px, calc(16.718px + .3419vw), 20px);
    }
    .service-detail__video-section {
        padding: clamp(18px, calc(40.974px - 2.3932vw), 32px) 0
            clamp(24px, calc(16.308px + 2.0513vw), 36px);
    }
    .service-detail__video { aspect-ratio: 1420 / 827.184; }
    .service-detail__article { padding-bottom: clamp(50px, calc(32.684px + 4.6154vw), 77px); }
    .service-detail__article-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(390px, 100%), 1fr));
        column-gap: clamp(28px, calc(20.308px + 2.0513vw), 40px);
    }
    .service-detail__qa {
        padding: clamp(30px, calc(21.026px + 2.3932vw), 44px) 0
            clamp(34px, calc(23.744px + 2.7350vw), 50px);
    }
    .service-detail__qa--lead {
        grid-template-columns: repeat(auto-fit, minmax(min(390px, 100%), 1fr));
        column-gap: clamp(28px, calc(20.308px + 2.0513vw), 40px);
    }
    .service-detail__qa h2 {
        margin-bottom: clamp(18px, calc(14.154px + 1.0256vw), 24px);
        font-size: 24px;
        line-height: 1.38;
    }
    .service-detail__qa-text {
        font-size: 17px;
        line-height: 24px;
    }
    .service-detail__qa-text p { margin-bottom: 24px; }
    .service-detail__related-list {
        grid-column: auto;
        grid-row: auto;
        min-height: clamp(403px, calc(288.167px + 30.6222vw), 582px);
        margin-top: 0;
        padding: clamp(22px, calc(10.462px + 3.0769vw), 40px)
            clamp(24px, calc(11.179px + 3.4188vw), 44px)
            clamp(22px, calc(10.462px + 3.0769vw), 40px)
            clamp(38px, calc(27.103px + 2.9060vw), 55px);
        font-size: clamp(17px, calc(14.436px + .6838vw), 21px);
        line-height: clamp(24px, calc(19.513px + 1.1966vw), 31px);
    }
    .service-detail .treatment-section { padding-top: clamp(52px, calc(32.769px + 5.1282vw), 82px); }
    .service-detail .services-safety { padding-top: clamp(42px, calc(29.179px + 3.4188vw), 62px); padding-bottom: clamp(68px, calc(56.462px + 3.0769vw), 86px); }
    .service-detail .offers-section { padding-top: clamp(68px, calc(56.462px + 3.0769vw), 86px); padding-bottom: clamp(68px, calc(56.462px + 3.0769vw), 86px); }
    .service-detail .about-doctors { padding-top: clamp(68px, calc(56.462px + 3.0769vw), 86px); padding-bottom: clamp(58px, calc(51.590px + 1.7094vw), 68px); }
    .service-detail .first-visit { padding-bottom: clamp(47px, calc(34.179px + 3.4188vw), 67px); }
    .service-detail .first-visit-video { aspect-ratio: 888 / 500.282; }
    .service-detail .services-appointment { padding-top: clamp(47px, calc(34.179px + 3.4188vw), 67px); }
    .service-detail .services-contacts { padding-top: clamp(45px, calc(36.667px + 2.2222vw), 58px); padding-bottom: clamp(68px, calc(56.462px + 3.0769vw), 86px); }
}

@media (max-width: 374.98px) {
    .about-safety__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .about-safety__grid article {
        min-height: 0;
        padding: 30px 16px;
        font-size: 20px;
        line-height: 27px;
    }
    .service-detail__hero { padding: 29px 0 0; }
    .service-detail h1 { font-size: 30px; line-height: 1.28; }
    .service-detail__hero-row { gap: 40px; margin-top: 56px; }
    .service-detail__picture-wrap,
    .service-detail__hero-copy { flex-basis: 100%; min-width: 0; }
    .service-detail__picture-wrap { margin-top: 0; aspect-ratio: 700 / 460; }
    .service-detail__intro { font-size: 18px; line-height: 25px; }
    .service-detail__hero-button { width: 100%; height: 48px; min-height: 48px; margin-top: 24px; font-size: 18px; }
    .service-detail__video-section { padding: 32px 0 24px; }
    .service-detail__video { aspect-ratio: 1420 / 827.184; }
    .service-detail__article { padding-bottom: 50px; }
    .service-detail__article-grid { display: block; }
    .service-detail__qa { padding: 30px 0 34px; }
    .service-detail__qa--lead { display: block; }
    .service-detail__qa h2 { margin-bottom: 20px; font-size: 24px; line-height: 33px; }
    .service-detail__qa-text { font-size: 17px; line-height: 24px; }
    .service-detail__qa-text p { margin-bottom: 24px; }
    .service-detail__related-list { margin-top: 31px; padding: 22px 20px 22px 40px; font-size: 17px; line-height: 24px; }
    .service-detail .treatment-section { padding-top: 52px; }
    .service-detail .services-safety { padding-top: 42px; padding-bottom: 68px; }
    .service-detail .offers-section { padding-top: 68px; padding-bottom: 68px; }
    .service-detail .about-doctors { padding-top: 68px; padding-bottom: 58px; }
    .service-detail .first-visit { padding-bottom: 47px; }
    .service-detail .first-visit-video { aspect-ratio: 327 / 183; }
    .service-detail .services-appointment { padding-top: 47px; }
    .service-detail .services-contacts { padding-top: 45px; padding-bottom: 68px; }

    .page-services .clinic-container { width: calc(100% - 48px); }
    .page-services .services-breadcrumbs {
        min-height: 57px;
        gap: 10px;
        font-size: 14px;
    }

    .services-hero { padding: 29px 0 31px; }
    .services-hero h1 {
        max-width: none;
        padding-left: 8px;
        border-left-width: 10px;
        font-size: 26px;
        line-height: 34px;
        letter-spacing: 0;
    }
    .services-hero__copy { padding-top: 34px; }
    .services-hero__copy p { margin-bottom: 25px; font-size: 16px; line-height: 22px; }
    .services-more-link { font-size: 18px; line-height: 22px; }

    .services-navigation { padding: 0; }
    .services-navigation__grid { display: flex; flex-direction: column; gap: 32px; }
    .services-navigation__card {
        height: 121px;
        min-height: 121px;
        padding: 3px 0 0 calc(20px - var(--service-bar-width));
    }
    .services-navigation__card strong { max-width: none; font-size: 24px; line-height: 32px; }
    .services-navigation__card[data-service-card="service-diagnostics"] strong { max-width: 210px; }
    .services-navigation__card[data-service-card="service-ortho"] strong { white-space: normal; letter-spacing: -0.25px; }
    .services-navigation__card[data-service-card="service-trauma"] strong { max-width: none; white-space: normal; }
    .services-navigation__card span { margin-top: 0; font-size: 17px; line-height: 21px; }
    .services-navigation__card--kids {
        order: 110;
        height: 266px;
        min-height: 266px;
        margin-top: 0;
        padding: 24px 20px 20px 25px;
        border: 0;
        border-radius: 18px;
    }
    .services-navigation__card--kids strong { max-width: 270px; font-size: 22px; line-height: 33px; }
    .services-navigation__card--kids img {
        top: 82px;
        right: -3px;
        bottom: auto;
        left: auto;
        width: min(310px, 100%);
        height: auto;
        aspect-ratio: 310 / 194;
    }

    .services-catalog { padding: 36px 0 46px; }
    .services-catalog h2 { margin-bottom: 16px; font-size: 28px; line-height: 1.1; }
    .services-catalog__row {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 29px 0 30px;
        border-bottom-color: #8e969b;
    }
    .services-catalog__copy { width: 100%; padding-top: 0; }
    .services-catalog__copy h3 {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: 18px;
        line-height: 1.31;
    }
    .services-catalog__copy ul {
        max-width: 100%;
        padding-left: 25px;
        font-size: 16px;
        line-height: 1.43;
    }
    .services-catalog__copy li { padding-left: 0; }
    .services-catalog__image {
        order: 2;
        width: 100%;
        height: auto;
        margin-top: 28px;
        aspect-ratio: 305 / 231;
    }
    .services-catalog__image img { object-fit: cover; }

    .page-services .treatment-section { padding-top: 58px; }
    .page-services .services-safety { padding-top: 28px; padding-bottom: 72px; }
    .page-services .services-safety h2 { margin-bottom: 32px; }
    .page-services .about-doctors { padding-top: 72px; padding-bottom: 72px; }
    .page-services .tech-section { padding-top: 72px; }

}
@media (max-width: 374.98px) {
    .page-services .clinic-container { width: calc(100% - 32px); }
    .services-navigation__card--kids { padding-right: 20px; }
    .services-navigation__card--kids img { right: 0; max-width: 100%; }
    .services-catalog__row { min-width: 0; }
    .services-catalog__copy,
    .services-catalog__image,
    .service-detail__picture { min-width: 0; max-width: 100%; }
}

@media (min-width: 375px) and (max-width: 959.98px) {
    .about-safety__grid article {
        padding: clamp(16px, calc(7.025641px + 2.393162vw), 30px) !important;
    }
}

/* ===== accessibility.css ===== */
/*
 * Fedoseev accessibility typography.
 * Loaded last and active only while body.access-font-large is set.
 * Original layout breakpoints remain: >=960px, 375–959.98px, <375px.
 */

body.access-font-large {
    font-size: 20px !important;
    line-height: 1.55;
    overflow-wrap: anywhere;
}
body.access-font-large button:not(.access-control),
body.access-font-large input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.access-font-large textarea,
body.access-font-large select {
    min-height: 48px;
}
body.access-font-large .clinic-menu {
    row-gap: 12px;
}
body.access-font-large .clinic-menu__item a {
    white-space: normal;
}
body.access-font-large .header-main,
body.access-font-large .header-main .clinic-container {
    height: auto;
}
body.access-font-large .header-top .clinic-container {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
}
body.access-font-large .header-top .clinic-btn {
    height: auto;
    min-height: 58px;
    white-space: normal;
}
body.access-font-large .hero-card h1 {
    max-width: min(1020px, calc(100% - 250px));
}
body.access-font-large .accessibility-panel,
body.access-font-large .accessibility-panel * {
    line-height: 1.25;
}

/* Source: template_styles.css */
body.access-font-large {
    font-size: 20px !important;
}
body.access-font-large .section-kicker {
    font-size: 16.25px !important;
}
body.access-font-large h2 {
    font-size: clamp(38.75px, 2.625vw, 53.75px) !important;
}
body.access-font-large .display-heading {
    font-size: clamp(45px, 3.75vw, 76.25px) !important;
}
body.access-font-large .text-link {
    font-size: 16.25px !important;
}
body.access-font-large .clinic-btn {
    font-size: 17.5px !important;
}
body.access-font-large .header-top {
    font-size: 20px !important;
}
body.access-font-large .header-phone a {
    font-size: 25px !important;
}
body.access-font-large .header-top .clinic-btn {
    font-size: 25px !important;
}
body.access-font-large .clinic-menu__item a {
    font-size: 22.5px !important;
    line-height: 30px !important;
}
body.access-font-large .offcanvas .clinic-menu__item a {
    font-size: 22.5px !important;
}
body.access-font-large .hero-card h1 {
    font-size: clamp(31.25px, 2.5625vw, 48.75px) !important;
}
body.access-font-large .hero-patients strong {
    font-size: 37.5px !important;
}
body.access-font-large .hero-patients small {
    font-size: 13.75px !important;
}
body.access-font-large .section-intro {
    font-size: 18.75px !important;
}
body.access-font-large .service-card strong {
    font-size: 26.25px !important;
}
body.access-font-large .service-card span {
    font-size: 16.25px !important;
}
body.access-font-large .treatment-heading {
    font-size: 50px !important;
    line-height: 70px !important;
}
body.access-font-large .treatment-card .section-kicker {
    font-size: 28.75px !important;
    line-height: 42.5px !important;
}
body.access-font-large .treatment-feature__text {
    font-size: 30px !important;
    line-height: 42.5px !important;
}
body.access-font-large .treatment-note {
    font-size: 16.25px !important;
    line-height: 23.75px !important;
}
body.access-font-large .treatment-steps h3 {
    font-size: 23.75px !important;
    line-height: 31.25px !important;
}
body.access-font-large .treatment-steps p {
    font-size: 20px !important;
    line-height: 27.5px !important;
}
body.access-font-large .treatment-button {
    font-size: 25px !important;
    line-height: 27.5px !important;
}
body.access-font-large .slider-controls button {
    font-size: 0 !important;
}
body.access-font-large .offer-card h3 {
    font-size: 36.25px !important;
}
body.access-font-large .offer-card strong {
    font-size: 35px !important;
}
body.access-font-large .offer-card span {
    font-size: 15px !important;
}
body.access-font-large .person-card h3,
body.access-font-large .story-card h3 {
    font-size: 20px !important;
}
body.access-font-large .person-card p,
body.access-font-large .story-card p {
    font-size: 15px !important;
}
body.access-font-large .person-card small,
body.access-font-large .story-card small {
    font-size: 13.75px !important;
}
body.access-font-large .play-button {
    font-size: 21.25px !important;
}
body.access-font-large .play-button--large {
    font-size: 35px !important;
}
body.access-font-large .dentfriend-description {
    font-size: 17.5px !important;
}
body.access-font-large .ambassador-card strong {
    font-size: 23.75px !important;
}
body.access-font-large .ambassador-card small {
    font-size: 15px !important;
}
body.access-font-large .rating-card h3 {
    font-size: 33.75px !important;
}
body.access-font-large .rating-card strong {
    font-size: 43.75px !important;
}
body.access-font-large .rating-card span {
    font-size: 15px !important;
}
body.access-font-large .media-card__source {
    font-size: 32.5px !important;
    line-height: 32.5px !important;
}
body.access-font-large .media-card h3 {
    font-size: 22.5px !important;
    line-height: 31.25px !important;
}
body.access-font-large .media-card span {
    font-size: 15px !important;
    line-height: 21.25px !important;
}
body.access-font-large .blog-card strong {
    font-size: 16.25px !important;
}
body.access-font-large .mission-copy .section-kicker {
    font-size: 18.75px !important;
}
body.access-font-large .mission-copy h2 {
    font-size: 53.75px !important;
}
body.access-font-large .stats-grid strong {
    font-size: clamp(72.5px, 6.25vw, 118.75px) !important;
}
body.access-font-large .stats-grid h3 {
    font-size: 38.75px !important;
}
body.access-font-large .stats-grid p {
    font-size: 16.25px !important;
}
body.access-font-large .tech-card strong {
    font-size: 17.5px !important;
}
body.access-font-large .appointment-lead {
    font-size: 17.5px !important;
}
body.access-font-large .clinic-webform .form-label {
    font-size: 18.75px !important;
    line-height: 25px !important;
}
body.access-font-large .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.access-font-large .clinic-webform textarea,
body.access-font-large .clinic-webform select {
    font-size: 25px !important;
    line-height: 38.75px !important;
}
body.access-font-large .clinic-consent {
    font-size: 17.5px !important;
    line-height: 25px !important;
}
body.access-font-large .clinic-consent-error {
    font-size: 15px !important;
}
body.access-font-large .clinic-webform .clinic-btn--wide {
    font-size: 22.5px !important;
}
body.access-font-large .contacts-head h2 {
    font-size: 27.5px !important;
}
body.access-font-large .contacts-head > a {
    font-size: 28.75px !important;
}
body.access-font-large .site-footer h3 {
    font-size: 22.5px !important;
}
body.access-font-large .footer-menu a {
    font-size: 18.75px !important;
}
body.access-font-large .footer-legal {
    font-size: 16.25px !important;
}
body.access-font-large .footer-design {
    font-size: 17.5px !important;
}
body.access-font-large .inner-page > h1 {
    font-size: clamp(45px, 5vw, 90px) !important;
}
@media (max-width: 959.98px) {
        body.access-font-large .mission-copy h2 {
        font-size: 42.5px !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .hero-card h1 {
        font-size: 30px !important;
    }
        body.access-font-large .hero-patients strong {
        font-size: 27.5px !important;
    }
        body.access-font-large .display-heading {
        font-size: 38.75px !important;
    }
        body.access-font-large .offer-card h3 {
        font-size: 27.5px !important;
    }
        body.access-font-large .mission-copy .section-kicker {
        font-size: 15px !important;
    }
        body.access-font-large .mission-copy h2 {
        font-size: 30px !important;
    }
        body.access-font-large .contacts-head h2 {
        font-size: 22.5px !important;
    }
        body.access-font-large .contacts-head > a {
        font-size: 22.5px !important;
    }
        body.access-font-large .footer-menu a {
        font-size: 17.5px !important;
    }
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .treatment-heading {
        font-size: clamp(35px, 5.2125vw, 50px) !important;
    }
        body.access-font-large .treatment-note {
        font-size: 18.75px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .treatment-note .section-kicker {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .treatment-heading {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .treatment-note {
        font-size: 18.75px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .treatment-note .section-kicker {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
}
@media (min-width: 960px) {
        body.access-font-large .appointment-lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .clinic-webform .form-label {
        font-size: 22.5px !important;
        line-height: 23.75px !important;
    }
        body.access-font-large .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .clinic-webform textarea,
    body.access-font-large .clinic-webform select {
        font-size: 40px !important;
        line-height: 72.5px !important;
    }
        body.access-font-large .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .clinic-webform .clinic-btn--wide {
        font-size: 30px !important;
    }
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .appointment-section h2 {
        font-size: 50px !important;
    }
        body.access-font-large .appointment-lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .clinic-webform .form-label {
        font-size: 22.5px !important;
        line-height: 23.75px !important;
    }
        body.access-font-large .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .clinic-webform textarea,
    body.access-font-large .clinic-webform select {
        font-size: 40px !important;
        line-height: 72.5px !important;
    }
        body.access-font-large .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .clinic-webform .clinic-btn--wide {
        font-size: 30px !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .appointment-section h2 {
        font-size: 35px !important;
    }
        body.access-font-large .appointment-lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
}
body.access-font-large .content-card h2 {
    font-size: 30px !important;
}
body.access-font-large .content-detail__text {
    font-size: 22.5px !important;
}
body.access-font-large .article-author strong {
    font-size: 22.5px !important;
}
body.access-font-large .faq-doctor-card strong {
    font-size: 25px !important;
}
body.access-font-large .clinic-faq-accordion .accordion-button {
    font-size: 25px !important;
}
body.access-font-large .about-hero__title {
    font-size: 30px !important;
    line-height: 45px !important;
}
body.access-font-large .about-hero__digits span {
    font-size: 26.25px !important;
}
body.access-font-large .about-hero__patients-label {
    font-size: 15px !important;
}
body.access-font-large .about-mission__label {
    font-size: 50px !important;
    line-height: 60px !important;
}
body.access-font-large .about-mission__title {
    font-size: 50px !important;
    line-height: 70px !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .about-hero__title {
        font-size: clamp(23.75px, 3.125vw, 30px) !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .about-hero__title {
        font-size: 23.75px !important;
    }
        body.access-font-large .about-hero__digits span {
        font-size: 25px !important;
    }
        body.access-font-large .about-hero__patients-label {
        font-size: 15px !important;
    }
        body.access-font-large .about-mission__label {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .about-mission__title {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
}
body.access-font-large .page-about .clinic-today h2,
body.access-font-large .about-principles h2,
body.access-font-large .about-values h2,
body.access-font-large .about-advantages h2,
body.access-font-large .about-doctors h2 {
    font-size: 50px !important;
}
body.access-font-large .about-interior h2,
body.access-font-large .about-history h2,
body.access-font-large .about-safety h2 {
    font-size: 50px !important;
}
body.access-font-large .about-stat strong {
    font-size: 125px !important;
}
body.access-font-large .about-stat h3 {
    font-size: 60px !important;
}
body.access-font-large .about-stat p {
    font-size: 16.25px !important;
}
body.access-font-large .about-stats__actions .clinic-btn {
    font-size: 25px !important;
}
body.access-font-large .about-history__intro p {
    font-size: 30px !important;
    line-height: 42.5px !important;
}
body.access-font-large .about-history__years strong {
    font-size: 50px !important;
}
body.access-font-large .about-history__years p {
    font-size: 20px !important;
    line-height: 27.5px !important;
}
body.access-font-large .about-history__year--featured strong {
    font-size: 80px !important;
}
body.access-font-large .about-history__year--featured p {
    font-size: 22.5px !important;
    line-height: 31.25px !important;
}
body.access-font-large .about-principles__lead {
    font-size: 30px !important;
    line-height: 42.5px !important;
}
body.access-font-large .about-principles__grid article {
    font-size: 20px !important;
    line-height: 30px !important;
}
body.access-font-large .about-principles__grid strong {
    font-size: 25px !important;
    line-height: 31.25px !important;
}
body.access-font-large .about-values__grid article h3 {
    font-size: 30px !important;
}
body.access-font-large .about-values__grid article p {
    font-size: 20px !important;
    line-height: 27.5px !important;
}
body.access-font-large .about-advantages__grid span {
    font-size: 120px !important;
}
body.access-font-large .about-advantages__grid h3 {
    font-size: 30px !important;
}
body.access-font-large .about-advantages__grid p {
    font-size: 20px !important;
    line-height: 27.5px !important;
}
body.access-font-large .about-safety__grid article {
    font-size: 25px !important;
    line-height: 33.75px !important;
}
body.access-font-large .about-doctor-card__content strong {
    font-size: 25px !important;
}
body.access-font-large .about-doctor-card__content small {
    font-size: 15px !important;
}
body.access-font-large .about-doctor-card__skills {
    font-size: 15px !important;
}
body.access-font-large .page-about .tech-section h2 {
    font-size: 50px !important;
}
body.access-font-large .page-about .stories-section .clinic-btn--wide {
    font-size: 25px !important;
}
body.access-font-large .page-about .ratings-section h2 {
    font-size: 50px !important;
}
body.access-font-large .page-about .rating-card:first-child strong {
    font-size: 16.25px !important;
}
body.access-font-large .page-about .rating-card h3 {
    font-size: 33.75px !important;
}
body.access-font-large .page-about .rating-card:not(:first-child) strong {
    font-size: 50px !important;
}
body.access-font-large .page-about .rating-card span {
    font-size: 13.75px !important;
}
body.access-font-large .page-about .reviews-section h2 {
    font-size: 50px !important;
}
body.access-font-large .page-about .stories-section h2,
body.access-font-large .page-about .media-section h2,
body.access-font-large .page-about .blog-section h2 {
    font-size: 50px !important;
}
body.access-font-large .page-about .first-visit h2,
body.access-font-large .page-about .about-appointment .appointment-heading {
    font-size: 50px !important;
}
body.access-font-large .about-contacts .contacts-head h2,
body.access-font-large .about-contacts .contacts-head > a {
    font-size: 30px !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .page-about .clinic-today h2,
    body.access-font-large .about-principles h2,
    body.access-font-large .about-values h2,
    body.access-font-large .about-advantages h2,
    body.access-font-large .about-doctors h2,
    body.access-font-large .page-about .tech-section h2,
    body.access-font-large .page-about .reviews-section h2 {
        font-size: 50px !important;
    }
        body.access-font-large .about-interior h2,
    body.access-font-large .about-history h2,
    body.access-font-large .about-safety h2,
    body.access-font-large .page-about .stories-section h2,
    body.access-font-large .page-about .media-section h2,
    body.access-font-large .page-about .blog-section h2 {
        font-size: 50px !important;
    }
        body.access-font-large .page-about .ratings-section h2,
    body.access-font-large .page-about .first-visit h2,
    body.access-font-large .page-about .about-appointment .appointment-heading {
        font-size: 50px !important;
    }
        body.access-font-large .about-stat strong {
        font-size: 125px !important;
    }
        body.access-font-large .about-stat h3 {
        font-size: 60px !important;
    }
        body.access-font-large .about-history__intro p {
        font-size: 30px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .about-history__year--featured strong {
        font-size: 80px !important;
    }
        body.access-font-large .about-principles__lead {
        font-size: 30px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .about-principles__grid strong {
        font-size: 22.5px !important;
        line-height: 30px !important;
    }
        body.access-font-large .page-about .stories-section .clinic-btn--wide {
        font-size: 25px !important;
    }
        body.access-font-large .about-contacts .contacts-head h2,
    body.access-font-large .about-contacts .contacts-head > a {
        font-size: 30px !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .page-about .clinic-today h2 {
        font-size: 35px !important;
    }
        body.access-font-large .about-stat strong {
        font-size: 62.5px !important;
    }
        body.access-font-large .about-stat h3 {
        font-size: 30px !important;
    }
        body.access-font-large .about-stat p {
        font-size: 15px !important;
    }
        body.access-font-large .about-stats__actions .clinic-btn {
        font-size: 25px !important;
    }
        body.access-font-large .about-history__intro p {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .about-history__years strong {
        font-size: 50px !important;
    }
        body.access-font-large .about-history__years p {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .about-history__year--featured strong {
        font-size: 80px !important;
    }
        body.access-font-large .about-principles__lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .about-principles__grid article {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .about-principles__grid strong {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .about-values__grid article h3 {
        font-size: 30px !important;
    }
        body.access-font-large .about-values__grid article p {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .about-advantages__grid span {
        font-size: 120px !important;
    }
        body.access-font-large .about-advantages__grid h3 {
        font-size: 30px !important;
    }
        body.access-font-large .about-advantages__grid p {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .about-safety__grid article {
        font-size: 25px !important;
        line-height: 33.75px !important;
    }
        body.access-font-large .page-about .tech-card strong {
        font-size: 17.5px !important;
    }
        body.access-font-large .page-about .stories-section .clinic-btn--wide {
        font-size: 20px !important;
    }
        body.access-font-large .about-principles h2,
    body.access-font-large .about-values h2,
    body.access-font-large .about-advantages h2,
    body.access-font-large .about-safety h2,
    body.access-font-large .about-doctors h2,
    body.access-font-large .page-about .tech-section h2,
    body.access-font-large .page-about .reviews-section h2,
    body.access-font-large .page-about .stories-section h2,
    body.access-font-large .page-about .ratings-section h2,
    body.access-font-large .page-about .first-visit h2,
    body.access-font-large .page-about .about-appointment .appointment-heading {
        font-size: 35px !important;
    }
        body.access-font-large .about-interior h2,
    body.access-font-large .about-history h2,
    body.access-font-large .page-about .media-section h2,
    body.access-font-large .page-about .blog-section h2 {
        font-size: 35px !important;
    }
        body.access-font-large .about-contacts .contacts-head h2,
    body.access-font-large .about-contacts .contacts-head > a {
        font-size: 25px !important;
    }
        body.access-font-large .about-doctor-card__content strong {
        font-size: 25px !important;
    }
        body.access-font-large .about-doctor-card__content small {
        font-size: 17.5px !important;
    }
}

/* Source: assets/css/services-mega-menu.css */
body.access-font-large .services-mega-menu__title {
    font-size: 35px !important;
    line-height: 35px !important;
}
body.access-font-large .services-mega-menu__item a {
    font-size: 22.5px !important;
    line-height: 31.25px !important;
}
@media (max-width: 374.98px) {
        body.access-font-large .services-mega-menu__item a {
        font-size: 21.25px !important;
        line-height: 30px !important;
    }
}
@media (min-width: 960px) {
        body.access-font-large .services-mega-menu__title {
        font-size: 50px !important;
        line-height: 50px !important;
    }
        body.access-font-large .services-mega-menu__item a {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
}

/* Source: assets/css/client-decisions.css */
body.access-font-large .clinic-modal__body h2 {
    font-size: 50px !important;
}
body.access-font-large .clinic-modal__lead {
    font-size: 18.75px !important;
}
body.access-font-large .clinic-modal .clinic-webform .form-label {
    font-size: 18.75px !important;
    line-height: 25px !important;
}
body.access-font-large .clinic-modal .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
body.access-font-large .clinic-modal .clinic-webform textarea,
body.access-font-large .clinic-modal .clinic-webform select {
    font-size: 33.75px !important;
    line-height: 50px !important;
}
body.access-font-large .clinic-modal .clinic-webform .clinic-btn--wide {
    font-size: 27.5px !important;
}
body.access-font-large .clinic-consent {
    font-size: 16.25px !important;
}
body.access-font-large .blog-article-author__copy small {
    font-size: 15px !important;
}
body.access-font-large .blog-article-author__copy strong {
    font-size: 21.25px !important;
}
body.access-font-large .blog-article-author__copy span {
    font-size: 16.25px !important;
}
body.access-font-large .service-faq__item h3 {
    font-size: 26.25px !important;
}
body.access-font-large .service-faq__answer {
    font-size: 18.75px !important;
}
body.access-font-large .service-faq__doctor-copy small {
    font-size: 15px !important;
}
body.access-font-large .service-faq__doctor-copy strong {
    font-size: 21.25px !important;
}
body.access-font-large .service-faq__doctor-copy span {
    font-size: 16.25px !important;
}
body.access-font-large .legal-article-page__breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .legal-article-page h1 {
    font-size: 53.75px !important;
}
body.access-font-large .legal-article-page__content {
    font-size: 20px !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .clinic-modal__body h2 {
        font-size: 50px !important;
    }
        body.access-font-large .legal-article-page__breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .legal-article-page h1 {
        font-size: 35px !important;
    }
        body.access-font-large .legal-article-page__content {
        font-size: 18.75px !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .clinic-modal__body h2 {
        font-size: 35px !important;
    }
        body.access-font-large .clinic-modal__lead {
        font-size: 20px !important;
    }
        body.access-font-large .clinic-modal .clinic-webform .form-label {
        font-size: 18.75px !important;
    }
        body.access-font-large .clinic-modal .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .clinic-modal .clinic-webform textarea,
    body.access-font-large .clinic-modal .clinic-webform select {
        font-size: 25px !important;
        line-height: 40px !important;
    }
        body.access-font-large .clinic-modal .clinic-webform .clinic-btn--wide {
        font-size: 22.5px !important;
    }
        body.access-font-large .clinic-consent {
        font-size: 17.5px !important;
    }
        body.access-font-large .service-faq__item h3 {
        font-size: 22.5px !important;
    }
        body.access-font-large .legal-article-page__breadcrumbs {
        font-size: 16.25px !important;
    }
        body.access-font-large .legal-article-page h1 {
        font-size: 35px !important;
    }
        body.access-font-large .legal-article-page__content {
        font-size: 18.75px !important;
    }
}

/* Source: assets/css/doctor-detail.css */
body.access-font-large .doctor-detail__breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .doctor-detail__container > h1 {
    font-size: 53.75px !important;
}
body.access-font-large .doctor-profile h2 {
    font-size: clamp(22.5px, calc(22.5px + (100vw - 960px) * 0.0141), 30px) !important;
}
body.access-font-large .doctor-profile__position {
    font-size: clamp(15px, calc(15px + (100vw - 960px) * 0.00705), 18.75px) !important;
}
body.access-font-large .doctor-profile__facts {
    font-size: clamp(15px, calc(15px + (100vw - 960px) * 0.00705), 18.75px) !important;
}
body.access-font-large .doctor-profile__text {
    font-size: clamp(15px, calc(15px + (100vw - 960px) * 0.00705), 18.75px) !important;
}
body.access-font-large .page-doctor-detail .doctor-profile__appointment {
    font-size: 22.5px !important;
}
body.access-font-large .doctor-copy-block h2,
body.access-font-large .doctor-qualification__competencies > h2 {
    font-size: 25px !important;
}
body.access-font-large .doctor-copy-block .doctor-list,
body.access-font-large .doctor-competency .doctor-list {
    font-size: 16.25px !important;
}
body.access-font-large .doctor-competency h3 {
    font-size: 18.75px !important;
}
body.access-font-large .doctor-reviews__head h2 {
    font-size: clamp(50px, calc(50px + (100vw - 960px) * 0.00705), 53.75px) !important;
}
body.access-font-large .doctor-reviews__actions .text-link {
    font-size: 22.5px !important;
}
body.access-font-large .doctor-video-review h3 {
    font-size: 18.75px !important;
}
body.access-font-large .doctor-video-review p {
    font-size: 16.25px !important;
}
body.access-font-large .doctor-video-review > span {
    font-size: 16.25px !important;
}
body.access-font-large .doctor-text-review {
    font-size: 18.75px !important;
}
body.access-font-large .page-doctor-detail .doctor-reviews__button {
    font-size: 25px !important;
}
body.access-font-large .doctor-first-visit .first-visit h2 {
    font-size: 53.75px !important;
}
body.access-font-large .doctor-first-visit .first-visit .text-link {
    font-size: 22.5px !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .doctor-detail__breadcrumbs {
        font-size: 22.5px !important;
    }
        body.access-font-large .doctor-detail__container > h1 {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.03205), 53.75px) !important;
    }
        body.access-font-large .doctor-profile h2 {
        font-size: max(22.5px, calc(30px - (100vw - 375px) * 0.01282)) !important;
    }
        body.access-font-large .doctor-profile__position,
    body.access-font-large .doctor-profile__facts,
    body.access-font-large .doctor-profile__text {
        font-size: max(15px, calc(17.5px - (100vw - 375px) * 0.00428)) !important;
    }
        body.access-font-large .doctor-copy-block h2,
    body.access-font-large .doctor-qualification__competencies > h2 {
        font-size: 25px !important;
    }
        body.access-font-large .doctor-copy-block .doctor-list,
    body.access-font-large .doctor-competency .doctor-list {
        font-size: 16.25px !important;
    }
        body.access-font-large .doctor-competency h3 {
        font-size: 18.75px !important;
    }
        body.access-font-large .doctor-reviews__head h2 {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.02564), 50px) !important;
    }
        body.access-font-large .doctor-reviews__actions .text-link {
        font-size: clamp(17.5px, calc(17.5px + (100vw - 375px) * 0.00855), 22.5px) !important;
    }
        body.access-font-large .doctor-first-visit .first-visit h2 {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.02564), 50px) !important;
    }
        body.access-font-large .doctor-appointment h2 {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.02564), 50px) !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .doctor-detail__breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .doctor-detail__container > h1 {
        font-size: 35px !important;
    }
        body.access-font-large .doctor-detail__video .play-button {
        font-size: 15px !important;
    }
        body.access-font-large .doctor-profile h2 {
        font-size: 30px !important;
    }
        body.access-font-large .doctor-profile__position {
        font-size: 17.5px !important;
    }
        body.access-font-large .doctor-profile__facts {
        font-size: 17.5px !important;
    }
        body.access-font-large .doctor-profile__text {
        font-size: 17.5px !important;
    }
        body.access-font-large .doctor-profile__appointment {
        font-size: 20px !important;
    }
        body.access-font-large .doctor-copy-block h2,
    body.access-font-large .doctor-qualification__competencies > h2 {
        font-size: 25px !important;
    }
        body.access-font-large .doctor-copy-block .doctor-list,
    body.access-font-large .doctor-competency .doctor-list {
        font-size: 16.25px !important;
    }
        body.access-font-large .doctor-competency h3 {
        font-size: 18.75px !important;
    }
        body.access-font-large .doctor-reviews__head h2 {
        font-size: 35px !important;
    }
        body.access-font-large .doctor-reviews__actions .text-link {
        font-size: 17.5px !important;
    }
        body.access-font-large .doctor-video-review h3 {
        font-size: 17.5px !important;
    }
        body.access-font-large .doctor-video-review p {
        font-size: 16.25px !important;
    }
        body.access-font-large .doctor-text-review {
        font-size: 17.5px !important;
    }
        body.access-font-large .doctor-reviews__button {
        font-size: 20px !important;
    }
        body.access-font-large .doctor-first-visit .first-visit h2 {
        font-size: 35px !important;
    }
        body.access-font-large .doctor-first-visit .first-visit .text-link {
        font-size: 17.5px !important;
    }
}

/* Source: assets/css/first-visit-page.css */
body.access-font-large .first-visit-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .first-visit-page__container > h1 {
    font-size: 53.75px !important;
}
body.access-font-large .first-visit-page__intro-column {
    font-size: 18.75px !important;
    line-height: 27.5px !important;
}
@media (min-width: 376px) and (max-width: 960px) {
        body.access-font-large .first-visit-page__container > h1 {
        font-size: 50px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-heading {
        font-size: 50px !important;
        line-height: 70px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-card .section-kicker {
        font-size: 28.75px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-feature__text {
        font-size: 30px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-note {
        font-size: 18.75px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-note .section-kicker {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .first-visit-appointment h2 {
        font-size: 50px !important;
    }
        body.access-font-large .first-visit-appointment .appointment-lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .first-visit-appointment .clinic-webform .form-label {
        font-size: 22.5px !important;
        line-height: 23.75px !important;
    }
        body.access-font-large .first-visit-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .first-visit-appointment .clinic-webform textarea,
    body.access-font-large .first-visit-appointment .clinic-webform select {
        font-size: 40px !important;
        line-height: 72.5px !important;
    }
        body.access-font-large .first-visit-appointment .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .first-visit-appointment .clinic-webform .clinic-btn--wide {
        font-size: 30px !important;
    }
}
@media (max-width: 375px) {
        body.access-font-large .first-visit-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .first-visit-page__container > h1 {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .first-visit-page__video .play-button--large {
        font-size: 35px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-heading {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-card .section-kicker {
        font-size: 28.75px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-feature__text {
        font-size: 30px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-note {
        font-size: 18.75px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .first-visit-treatment .treatment-note .section-kicker {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .first-visit-appointment h2 {
        font-size: 35px !important;
    }
        body.access-font-large .first-visit-appointment .appointment-lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .first-visit-appointment .clinic-webform .form-label {
        font-size: 18.75px !important;
        line-height: 25px !important;
    }
        body.access-font-large .first-visit-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .first-visit-appointment .clinic-webform textarea,
    body.access-font-large .first-visit-appointment .clinic-webform select {
        font-size: 25px !important;
        line-height: 38.75px !important;
    }
        body.access-font-large .first-visit-appointment .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .first-visit-appointment .clinic-webform .clinic-btn--wide {
        font-size: 22.5px !important;
    }
        body.access-font-large .first-visit-contacts .contacts-head h2 {
        font-size: 22.5px !important;
    }
        body.access-font-large .first-visit-contacts .contacts-head > a {
        font-size: 22.5px !important;
    }
        body.access-font-large .page-first-visit .footer-menu a {
        font-size: 17.5px !important;
    }
}

/* Source: assets/css/prices-page.css */
body.access-font-large .prices-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .prices-intro__container h1 {
    font-size: 53.75px !important;
}
body.access-font-large .prices-category {
    font-size: 22.5px !important;
}
body.access-font-large .prices-intro__lead {
    font-size: 30px !important;
}
body.access-font-large .prices-package-group h2 {
    font-size: 50px !important;
}
body.access-font-large .prices-package-card h3 {
    font-size: 25px !important;
}
body.access-font-large .prices-package-card__content {
    font-size: 18.75px !important;
}
body.access-font-large .prices-package-card__footer strong {
    font-size: 42.5px !important;
}
body.access-font-large .prices-package-card__footer span {
    font-size: 17.5px !important;
}
body.access-font-large .prices-download__container > p {
    font-size: 35px !important;
}
body.access-font-large .prices-download__links a {
    font-size: 16.25px !important;
}
body.access-font-large .prices-first-visit .first-visit h2 {
    font-size: 50px !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .prices-breadcrumbs {
        font-size: 22.5px !important;
    }
        body.access-font-large .prices-intro__container h1 {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.02564), 50px) !important;
    }
        body.access-font-large .prices-category {
        font-size: clamp(17.5px, calc(17.5px + (100vw - 375px) * 0.00855), 22.5px) !important;
    }
        body.access-font-large .prices-intro__lead {
        font-size: clamp(17.5px, calc(17.5px + (100vw - 375px) * 0.00855), 22.5px) !important;
    }
        body.access-font-large .prices-package-group h2 {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.02564), 50px) !important;
    }
        body.access-font-large .prices-package-card h3 {
        font-size: clamp(18.75px, calc(18.75px + (100vw - 375px) * 0.01069), 25px) !important;
    }
        body.access-font-large .prices-package-card__content {
        font-size: clamp(16.25px, calc(16.25px + (100vw - 375px) * 0.00428), 18.75px) !important;
    }
        body.access-font-large .prices-package-card__footer strong {
        font-size: clamp(30px, calc(30px + (100vw - 375px) * 0.02136), 42.5px) !important;
    }
        body.access-font-large .prices-package-card__footer span {
        font-size: clamp(13.75px, calc(13.75px + (100vw - 375px) * 0.00641), 17.5px) !important;
    }
        body.access-font-large .prices-download__container > p {
        font-size: clamp(22.5px, calc(22.5px + (100vw - 375px) * 0.02136), 35px) !important;
    }
        body.access-font-large .prices-treatment .treatment-heading {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.02564), 50px) !important;
    }
        body.access-font-large .prices-treatment .treatment-card .section-kicker {
        font-size: 28.75px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .prices-treatment .treatment-feature__text {
        font-size: clamp(25px, calc(25px + (100vw - 375px) * 0.00855), 30px) !important;
    }
        body.access-font-large .prices-treatment .treatment-note {
        font-size: 18.75px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .prices-safety h2 {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.02564), 50px) !important;
    }
        body.access-font-large .prices-safety .about-safety__grid article {
        font-size: clamp(18.75px, calc(18.75px + (100vw - 375px) * 0.01069), 25px) !important;
    }
        body.access-font-large .prices-first-visit .first-visit h2 {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.02564), 50px) !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .prices-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .prices-intro__container h1 {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .prices-category {
        font-size: 17.5px !important;
    }
        body.access-font-large .prices-intro__lead {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .prices-package-group h2 {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .prices-package-card h3 {
        font-size: 18.75px !important;
    }
        body.access-font-large .prices-package-card__content {
        font-size: 16.25px !important;
    }
        body.access-font-large .prices-package-card__footer strong {
        font-size: 30px !important;
    }
        body.access-font-large .prices-package-card__footer span {
        font-size: 13.75px !important;
    }
        body.access-font-large .prices-download__container > p {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .prices-download__links a {
        font-size: 15px !important;
        line-height: 21.25px !important;
    }
        body.access-font-large .prices-treatment .treatment-heading {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .prices-treatment .treatment-card .section-kicker {
        font-size: 28.75px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .prices-treatment .treatment-feature__text {
        font-size: 30px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .prices-treatment .treatment-note {
        font-size: 18.75px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .prices-safety h2 {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .prices-safety .about-safety__grid article {
        font-size: 18.75px !important;
        line-height: 26.25px !important;
    }
        body.access-font-large .prices-first-visit .first-visit h2 {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .prices-contacts .contacts-head h2,
    body.access-font-large .prices-contacts .contacts-head > a {
        font-size: 22.5px !important;
    }
}

/* Source: assets/css/testimonials-page.css */
body.access-font-large .testimonials-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .testimonials-hero h1 {
    font-size: clamp(50px, 2.8vw, 53.75px) !important;
}
body.access-font-large .testimonials-video-card__copy strong {
    font-size: 25px !important;
}
body.access-font-large .testimonials-video-card__copy small {
    font-size: 16.25px !important;
}
body.access-font-large .page-testimonials .testimonials-review-button {
    font-size: 30px !important;
}
body.access-font-large .testimonials-text-card {
    font-size: 18.75px !important;
    line-height: 27.5px !important;
}
body.access-font-large .testimonials-gratitude {
    font-size: 25px !important;
}
body.access-font-large .testimonials-first-visit .first-visit h2 {
    font-size: 53.75px !important;
}
body.access-font-large .testimonials-first-visit .first-visit .text-link {
    font-size: 22.5px !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .testimonials-breadcrumbs {
        font-size: clamp(17.5px, calc(14.295px + 0.85475vw), 22.5px) !important;
    }
        body.access-font-large .testimonials-hero h1 {
        font-size: clamp(35px, calc(25.385px + 2.56375vw), 50px) !important;
        line-height: clamp(48.75px, calc(41.53875px + 1.9225vw), 60px) !important;
    }
        body.access-font-large .testimonials-video-card__copy strong {
        font-size: 25px !important;
    }
        body.access-font-large .testimonials-video-card__copy small {
        font-size: 16.25px !important;
    }
        body.access-font-large .page-testimonials .testimonials-review-button {
        font-size: clamp(22.5px, calc(17.6925px + 1.282vw), 30px) !important;
    }
        body.access-font-large .testimonials-text-card {
        font-size: clamp(17.5px, calc(16.69875px + 0.21363vw), 18.75px) !important;
        line-height: clamp(26.25px, calc(25.44875px + 0.21363vw), 27.5px) !important;
    }
        body.access-font-large .testimonials-gratitude {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .testimonials-first-visit .first-visit h2 {
        font-size: clamp(35px, calc(25.385px + 2.56375vw), 50px) !important;
    }
        body.access-font-large .testimonials-first-visit .first-visit .text-link {
        font-size: clamp(17.5px, calc(14.295px + 0.85475vw), 22.5px) !important;
    }
        body.access-font-large .testimonials-appointment h2 {
        font-size: clamp(35px, calc(25.385px + 2.56375vw), 50px) !important;
    }
        body.access-font-large .testimonials-appointment .appointment-lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .testimonials-appointment .clinic-webform .form-label {
        font-size: clamp(18.75px, calc(16.34625px + 0.641vw), 22.5px) !important;
        line-height: clamp(25px, calc(25.80125px - 0.21363vw), 23.75px) !important;
    }
        body.access-font-large .testimonials-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .testimonials-appointment .clinic-webform textarea,
    body.access-font-large .testimonials-appointment .clinic-webform select {
        font-size: clamp(25px, calc(15.385px + 2.56375vw), 40px) !important;
        line-height: clamp(38.75px, calc(17.115px + 5.76875vw), 72.5px) !important;
    }
        body.access-font-large .testimonials-appointment .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .testimonials-appointment .clinic-webform .clinic-btn--wide {
        font-size: clamp(22.5px, calc(17.6925px + 1.282vw), 30px) !important;
    }
        body.access-font-large .testimonials-contacts .contacts-head h2 {
        font-size: clamp(22.5px, calc(19.295px + 0.85475vw), 27.5px) !important;
    }
        body.access-font-large .testimonials-contacts .contacts-head > a {
        font-size: clamp(22.5px, calc(18.49375px + 1.06838vw), 28.75px) !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .testimonials-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .testimonials-hero h1 {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .testimonials-video-card__copy strong {
        font-size: 25px !important;
    }
        body.access-font-large .testimonials-video-card__copy small {
        font-size: 16.25px !important;
    }
        body.access-font-large .page-testimonials .testimonials-review-button {
        font-size: 22.5px !important;
    }
        body.access-font-large .testimonials-text-card {
        font-size: 17.5px !important;
        line-height: 26.25px !important;
    }
        body.access-font-large .testimonials-gratitude {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .page-testimonials .testimonials-review-button--bottom {
        font-size: 22.5px !important;
    }
        body.access-font-large .testimonials-first-visit .first-visit h2 {
        font-size: 35px !important;
    }
        body.access-font-large .testimonials-first-visit .first-visit .text-link {
        font-size: 17.5px !important;
    }
        body.access-font-large .testimonials-appointment h2 {
        font-size: 35px !important;
    }
        body.access-font-large .testimonials-appointment .appointment-lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .testimonials-appointment .clinic-webform .form-label {
        font-size: 18.75px !important;
        line-height: 25px !important;
    }
        body.access-font-large .testimonials-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .testimonials-appointment .clinic-webform textarea,
    body.access-font-large .testimonials-appointment .clinic-webform select {
        font-size: 25px !important;
        line-height: 38.75px !important;
    }
        body.access-font-large .testimonials-appointment .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .testimonials-appointment .clinic-webform .clinic-btn--wide {
        font-size: 22.5px !important;
    }
        body.access-font-large .testimonials-contacts .contacts-head h2 {
        font-size: 22.5px !important;
    }
        body.access-font-large .testimonials-contacts .contacts-head > a {
        font-size: 22.5px !important;
    }
}

/* Source: assets/css/stories-page.css */
body.access-font-large .stories-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .stories-patients h1 {
    font-size: clamp(50px, calc(50px + (100vw - 960px) * 0.00391), 53.75px) !important;
}
body.access-font-large .stories-patient__copy {
    font-size: clamp(17.5px, calc(17.5px + (100vw - 960px) * 0.0013), 18.75px) !important;
}
body.access-font-large .stories-patient__copy h2 {
    font-size: clamp(20px, calc(20px + (100vw - 960px) * 0.0026), 22.5px) !important;
}
body.access-font-large .stories-patient:nth-child(2) .stories-patient__copy {
    line-height: clamp(22.75px, calc(22.75px + (100vw - 960px) * 0.00292), 25.55px) !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .stories-breadcrumbs {
        font-size: 22.5px !important;
    }
        body.access-font-large .stories-patients h1 {
        font-size: clamp(35px, calc(35px + (100vw - 375px) * 0.02564), 50px) !important;
    }
        body.access-font-large .stories-patient__copy {
        font-size: clamp(17.5px, calc(17.5px + (100vw - 375px) * 0.00214), 18.75px) !important;
    }
        body.access-font-large .stories-patient__copy h2 {
        font-size: clamp(20px, calc(20px + (100vw - 375px) * 0.00428), 22.5px) !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .stories-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .stories-patients h1 {
        font-size: 35px !important;
        line-height: 48.75px !important;
    }
        body.access-font-large .stories-patient__copy {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .stories-patient__copy h2 {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
}

/* Source: assets/css/blog-video-page.css */
body.access-font-large .blog-video-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .blog-video-heading h1 {
    font-size: 53.75px !important;
}
body.access-font-large .blog-video-tabs {
    font-size: 16.25px !important;
}
body.access-font-large .blog-video-filter {
    font-size: 18.75px !important;
}
body.access-font-large .blog-video-card strong {
    font-size: 18.75px !important;
}
body.access-font-large .page-blog-video .first-visit h2 {
    font-size: 53.75px !important;
}
body.access-font-large .page-blog-video .first-visit .text-link {
    font-size: 16.25px !important;
}
body.access-font-large .blog-video-appointment h2 {
    font-size: 53.75px !important;
}
body.access-font-large .blog-video-appointment .appointment-lead {
    font-size: 17.5px !important;
}
@media (min-width: 960px) and (max-width: 1491.98px) {
        body.access-font-large .blog-video-heading h1 {
        font-size: 50px !important;
    }
        body.access-font-large .blog-video-filter {
        font-size: 18.75px !important;
    }
        body.access-font-large .blog-video-card strong {
        font-size: 18.75px !important;
    }
        body.access-font-large .page-blog-video .first-visit h2 {
        font-size: 50px !important;
    }
        body.access-font-large .blog-video-appointment h2 {
        font-size: 50px !important;
    }
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .blog-video-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .blog-video-heading h1 {
        font-size: 35px !important;
    }
        body.access-font-large .blog-video-tabs {
        font-size: 16.25px !important;
    }
        body.access-font-large .blog-video-filter {
        font-size: 18.75px !important;
    }
        body.access-font-large .blog-video-card strong {
        font-size: 16.25px !important;
    }
        body.access-font-large .blog-video-card:not(.blog-video-card--caption) .blog-video-card__link::after {
        font-size: 16.25px !important;
    }
        body.access-font-large .page-blog-video .first-visit h2 {
        font-size: 35px !important;
    }
        body.access-font-large .page-blog-video .first-visit .text-link {
        font-size: 17.5px !important;
    }
        body.access-font-large .blog-video-appointment h2 {
        font-size: 35px !important;
    }
        body.access-font-large .blog-video-appointment .appointment-lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .blog-video-appointment .clinic-webform .form-label {
        font-size: 18.75px !important;
        line-height: 25px !important;
    }
        body.access-font-large .blog-video-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .blog-video-appointment .clinic-webform textarea,
    body.access-font-large .blog-video-appointment .clinic-webform select {
        font-size: 25px !important;
        line-height: 38.75px !important;
    }
        body.access-font-large .blog-video-appointment .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .blog-video-appointment .clinic-webform .clinic-btn--wide {
        font-size: 22.5px !important;
    }
        body.access-font-large .blog-video-contacts .contacts-head h2,
    body.access-font-large .blog-video-contacts .contacts-head > a {
        font-size: 22.5px !important;
    }
}

/* Source: assets/css/blog-article-page.css */
body.access-font-large .blog-article-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .blog-article-heading h1 {
    font-size: 53.75px !important;
}
body.access-font-large .blog-article-content h2 {
    font-size: 27.5px !important;
}
body.access-font-large .blog-article-text {
    font-size: 18.75px !important;
}
body.access-font-large .blog-article-text h3 {
    font-size: 18.75px !important;
}
@media (min-width: 960px) and (max-width: 1491.98px) {
        body.access-font-large .blog-article-heading h1 {
        font-size: 50px !important;
    }
        body.access-font-large .blog-article-content h2 {
        font-size: 20px !important;
    }
        body.access-font-large .blog-article-text {
        font-size: 16.25px !important;
    }
        body.access-font-large .blog-article-text h3 {
        font-size: 16.25px !important;
    }
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .blog-article-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .blog-article-heading h1 {
        font-size: 35px !important;
    }
        body.access-font-large .blog-article-content h2 {
        font-size: 17.5px !important;
    }
        body.access-font-large .blog-article-text {
        font-size: 16.25px !important;
    }
        body.access-font-large .blog-article-text h3 {
        font-size: 16.25px !important;
    }
}

/* Source: assets/css/blog-articles-page.css */
body.access-font-large .blog-article-card {
    font-size: 17.5px !important;
}
body.access-font-large .blog-article-card h2 {
    font-size: 20px !important;
}
@media (min-width: 960px) and (max-width: 1491.98px) {
        body.access-font-large .blog-article-card {
        font-size: 17.5px !important;
    }
        body.access-font-large .blog-article-card h2 {
        font-size: 18.75px !important;
    }
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .blog-article-card {
        font-size: 17.5px !important;
    }
        body.access-font-large .blog-article-card h2 {
        font-size: 18.75px !important;
    }
}

/* Source: assets/css/qa-page.css */
body.access-font-large .qa-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .qa-page h1 {
    font-size: 53.75px !important;
}
body.access-font-large .qa-item {
    font-size: 18.75px !important;
}
body.access-font-large .qa-item h2 {
    font-size: 18.75px !important;
}
body.access-font-large .page-qa .first-visit h2 {
    font-size: 53.75px !important;
}
body.access-font-large .page-qa .first-visit .text-link {
    font-size: 16.25px !important;
}
body.access-font-large .qa-appointment h2 {
    font-size: 53.75px !important;
}
body.access-font-large .qa-appointment .appointment-lead {
    font-size: 17.5px !important;
}
@media (min-width: 960px) and (max-width: 1491.98px) {
        body.access-font-large .qa-page h1 {
        font-size: 50px !important;
    }
        body.access-font-large .qa-item {
        font-size: 18.75px !important;
    }
        body.access-font-large .page-qa .first-visit h2 {
        font-size: 50px !important;
    }
        body.access-font-large .qa-appointment h2 {
        font-size: 50px !important;
    }
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .qa-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .qa-page h1 {
        font-size: 35px !important;
    }
        body.access-font-large .qa-item {
        font-size: 17.5px !important;
    }
        body.access-font-large .qa-item h2 {
        font-size: 16.25px !important;
    }
        body.access-font-large .page-qa .first-visit h2 {
        font-size: 35px !important;
    }
        body.access-font-large .page-qa .first-visit .text-link {
        font-size: 17.5px !important;
    }
        body.access-font-large .qa-appointment h2 {
        font-size: 35px !important;
    }
        body.access-font-large .qa-appointment .appointment-lead {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .qa-appointment .clinic-webform .form-label {
        font-size: 18.75px !important;
        line-height: 25px !important;
    }
        body.access-font-large .qa-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .qa-appointment .clinic-webform textarea,
    body.access-font-large .qa-appointment .clinic-webform select {
        font-size: 25px !important;
        line-height: 38.75px !important;
    }
        body.access-font-large .qa-appointment .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .qa-appointment .clinic-webform .clinic-btn--wide {
        font-size: 22.5px !important;
    }
        body.access-font-large .qa-contacts .contacts-head h2,
    body.access-font-large .qa-contacts .contacts-head > a {
        font-size: 22.5px !important;
    }
}

/* Source: assets/css/achievements-page.css */
body.access-font-large .achievements-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .achievements-page h1 {
    font-size: 53.75px !important;
}
body.access-font-large .achievement-item h2 {
    font-size: 18.75px !important;
}
body.access-font-large .achievement-item__text {
    font-size: 18.75px !important;
}
body.access-font-large .page-achievements .first-visit h2 {
    font-size: 53.75px !important;
}
body.access-font-large .page-achievements .first-visit .text-link {
    font-size: 16.25px !important;
}
body.access-font-large .achievements-appointment h2 {
    font-size: 53.75px !important;
}
body.access-font-large .achievements-appointment .appointment-lead {
    font-size: 17.5px !important;
}
@media (min-width: 960px) and (max-width: 1491.98px) {
        body.access-font-large .achievements-page h1 {
        font-size: 50px !important;
    }
        body.access-font-large .achievement-item h2 {
        font-size: 18.75px !important;
    }
        body.access-font-large .page-achievements .first-visit h2 {
        font-size: 50px !important;
    }
        body.access-font-large .achievements-appointment h2 {
        font-size: 50px !important;
    }
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .achievements-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .achievements-page h1 {
        font-size: 35px !important;
    }
        body.access-font-large .achievement-item h2 {
        font-size: 16.25px !important;
    }
        body.access-font-large .page-achievements .first-visit h2 {
        font-size: 35px !important;
    }
        body.access-font-large .achievements-appointment h2 {
        font-size: 35px !important;
    }
        body.access-font-large .achievements-appointment .appointment-lead {
        font-size: 17.5px !important;
    }
        body.access-font-large .achievements-contacts .contacts-head h2 {
        font-size: 22.5px !important;
    }
}

/* Source: assets/css/media-page.css */
body.access-font-large .media-page__breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .media-page h1 {
    font-size: 53.75px !important;
}
body.access-font-large .media-page__card h2 {
    font-size: 22.5px !important;
}
body.access-font-large .media-blog-section__head h2 {
    font-size: 53.75px !important;
}
body.access-font-large .media-blog-card strong {
    font-size: 16.25px !important;
}
body.access-font-large .page-media .first-visit h2 {
    font-size: 53.75px !important;
}
body.access-font-large .page-media .first-visit .text-link {
    font-size: 16.25px !important;
}
body.access-font-large .media-appointment h2 {
    font-size: 53.75px !important;
}
body.access-font-large .media-appointment .appointment-lead {
    font-size: 17.5px !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .media-page__breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .media-page h1 {
        font-size: 35px !important;
    }
        body.access-font-large .media-page__card .media-card__source {
        font-size: 27.5px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .media-page__card h2 {
        font-size: 16.25px !important;
    }
        body.access-font-large .media-page__card span {
        font-size: 12.5px !important;
    }
        body.access-font-large .media-blog-section__head h2 {
        font-size: 35px !important;
    }
        body.access-font-large .media-blog-card strong {
        font-size: 16.25px !important;
    }
        body.access-font-large .page-media .first-visit h2 {
        font-size: 35px !important;
    }
        body.access-font-large .media-appointment h2 {
        font-size: 35px !important;
    }
        body.access-font-large .media-appointment .appointment-lead {
        font-size: 17.5px !important;
    }
        body.access-font-large .media-appointment .clinic-webform .form-label {
        font-size: 18.75px !important;
        line-height: 25px !important;
    }
        body.access-font-large .media-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .media-appointment .clinic-webform textarea,
    body.access-font-large .media-appointment .clinic-webform select {
        font-size: 25px !important;
        line-height: 38.75px !important;
    }
        body.access-font-large .media-appointment .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .media-appointment .clinic-webform .clinic-btn--wide {
        font-size: 22.5px !important;
    }
        body.access-font-large .media-contacts .contacts-head h2,
    body.access-font-large .media-contacts .contacts-head > a {
        font-size: 22.5px !important;
    }
}

/* Source: assets/css/dentfriend-page.css */
body.access-font-large .dentfriend-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .dentfriend-hero .play-button--large,
body.access-font-large .dentfriend-wide-video .play-button--large,
body.access-font-large .page-dentfriend .first-visit-video .play-button--large {
    font-size: 42.5px !important;
}
body.access-font-large .dentfriend-intro-copy p,
body.access-font-large .dentfriend-copy-grid p {
    font-size: 18.75px !important;
}
body.access-font-large .dentfriend-principles strong,
body.access-font-large .dentfriend-task-grid strong {
    font-size: 187.5px !important;
}
body.access-font-large .dentfriend-principles span {
    font-size: clamp(25px,calc(15.97744px + 0.93985vw),30px) !important;
}
body.access-font-large .dentfriend-philosophy h1,
body.access-font-large .dentfriend-tasks h2,
body.access-font-large .dentfriend-ambassadors h2,
body.access-font-large .dentfriend-kids h2,
body.access-font-large .dentfriend-workshop h2,
body.access-font-large .dentfriend-teens h2,
body.access-font-large .dentfriend-plans h2,
body.access-font-large .dentfriend-doctors h2,
body.access-font-large .dentfriend-mission h2 {
    font-size: clamp(50px,calc(43.23309px + 0.70489vw),53.75px) !important;
}
body.access-font-large .dentfriend-philosophy h2 {
    font-size: 30px !important;
}
body.access-font-large .dentfriend-tasks__lead,
body.access-font-large .dentfriend-section-lead {
    font-size: 22.5px !important;
}
body.access-font-large .dentfriend-task-grid p {
    font-size: 18.75px !important;
}
body.access-font-large .dentfriend-ambassadors__copy p {
    font-size: 18.75px !important;
}
body.access-font-large .dentfriend-ambassador-card strong,
body.access-font-large .dentfriend-doctor-card strong {
    font-size: 25px !important;
}
body.access-font-large .dentfriend-ambassador-card small,
body.access-font-large .dentfriend-doctor-card small {
    font-size: 15px !important;
}
body.access-font-large .dentfriend-copy-grid--small p {
    font-size: 16.25px !important;
}
body.access-font-large .dentfriend-school-link {
    font-size: 32.5px !important;
}
body.access-font-large .dentfriend-workshop__text {
    font-size: 22.5px !important;
}
body.access-font-large .dentfriend-teens h3 {
    font-size: 30px !important;
}
body.access-font-large .dentfriend-plan-grid small {
    font-size: 15px !important;
}
body.access-font-large .dentfriend-plan-grid h3 {
    font-size: 42.5px !important;
}
body.access-font-large .dentfriend-plan-grid p {
    font-size: 16.25px !important;
}
body.access-font-large .dentfriend-plan-grid strong {
    font-size: 40px !important;
}
body.access-font-large .dentfriend-plan-cta p {
    font-size: 17.5px !important;
}
body.access-font-large .dentfriend-doctor-card__details {
    font-size: 15px !important;
}
body.access-font-large .dentfriend-blog h2,
body.access-font-large .page-dentfriend .dentfriend-clinic-today h2,
body.access-font-large .page-dentfriend .tech-section h2,
body.access-font-large .page-dentfriend .first-visit h2 {
    font-size: 53.75px !important;
}
body.access-font-large .dentfriend-blog-card strong {
    font-size: 16.25px !important;
}
body.access-font-large .dentfriend-mission small {
    font-size: 18.75px !important;
}
body.access-font-large .dentfriend-mission h2 {
    font-size: 53.75px !important;
}
body.access-font-large .dentfriend-stats-grid strong {
    font-size: 95px !important;
}
body.access-font-large .dentfriend-stats-grid h3 {
    font-size: 38.75px !important;
}
body.access-font-large .dentfriend-stats-grid p {
    font-size: 15px !important;
}
body.access-font-large .dentfriend-appointment h2 {
    font-size: 53.75px !important;
}
@media (min-width:375px) and (max-width:959.98px) {
        body.access-font-large .dentfriend-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .dentfriend-intro-copy p,
    body.access-font-large .dentfriend-copy-grid p {
        font-size: 17.5px !important;
    }
        body.access-font-large .dentfriend-principles strong,
    body.access-font-large .dentfriend-task-grid strong {
        font-size: 187.5px !important;
    }
        body.access-font-large .dentfriend-principles span {
        font-size: 22.5px !important;
    }
        body.access-font-large .dentfriend-philosophy h1,
    body.access-font-large .dentfriend-tasks h2,
    body.access-font-large .dentfriend-ambassadors h2,
    body.access-font-large .dentfriend-kids h2,
    body.access-font-large .dentfriend-workshop h2,
    body.access-font-large .dentfriend-teens h2,
    body.access-font-large .dentfriend-plans h2,
    body.access-font-large .dentfriend-doctors h2,
    body.access-font-large .dentfriend-mission h2 {
        font-size: 35px !important;
    }
        body.access-font-large .dentfriend-philosophy h2 {
        font-size: 22.5px !important;
    }
        body.access-font-large .dentfriend-tasks__lead,
    body.access-font-large .dentfriend-section-lead {
        font-size: 18.75px !important;
    }
        body.access-font-large .dentfriend-ambassadors__copy p {
        font-size: 17.5px !important;
    }
        body.access-font-large .dentfriend-school-link {
        font-size: 22.5px !important;
    }
        body.access-font-large .dentfriend-workshop__text,
    body.access-font-large .dentfriend-teens h3 {
        font-size: 21.25px !important;
    }
        body.access-font-large .dentfriend-plan-grid h3 {
        font-size: 31.25px !important;
    }
        body.access-font-large .dentfriend-plan-grid strong {
        font-size: 31.25px !important;
    }
        body.access-font-large .dentfriend-blog h2,
    body.access-font-large .page-dentfriend .dentfriend-clinic-today h2,
    body.access-font-large .page-dentfriend .tech-section h2,
    body.access-font-large .page-dentfriend .first-visit h2 {
        font-size: 35px !important;
    }
        body.access-font-large .dentfriend-mission h2 {
        font-size: 35px !important;
    }
        body.access-font-large .dentfriend-stats-grid strong {
        font-size: 68.75px !important;
    }
        body.access-font-large .dentfriend-stats-grid h3 {
        font-size: 30px !important;
    }
        body.access-font-large .dentfriend-appointment h2 {
        font-size: 35px !important;
    }
        body.access-font-large .dentfriend-contacts .contacts-head h2 {
        font-size: 22.5px !important;
    }
}

/* Source: assets/css/contacts-page.css */
body.access-font-large .contacts-page__breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .contacts-page__intro h1 {
    font-size: clamp(50px, calc(46.25px + 0.39062vw), 53.75px) !important;
}
body.access-font-large .contacts-page__summary {
    font-size: clamp(25px, 1.5625vw, 30px) !important;
}
body.access-font-large .contacts-page__schedule h2 {
    font-size: clamp(25px, 1.5625vw, 30px) !important;
}
body.access-font-large .contacts-page__table {
    font-size: 18.75px !important;
}
body.access-font-large .contacts-page__legal-links {
    font-size: 18.75px !important;
}
body.access-font-large .page-contacts .first-visit h2 {
    font-size: clamp(50px, calc(46.25px + 0.39062vw), 53.75px) !important;
}
body.access-font-large .page-contacts .first-visit .text-link {
    font-size: 16.25px !important;
}
body.access-font-large .contacts-appointment h2 {
    font-size: clamp(50px, calc(46.25px + 0.39062vw), 53.75px) !important;
}
body.access-font-large .contacts-appointment .appointment-lead {
    font-size: 17.5px !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .contacts-page__breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .contacts-page__intro h1 {
        font-size: clamp(25px, calc(8.95px + 4.27875vw), 50px) !important;
    }
        body.access-font-large .contacts-page__summary {
        font-size: clamp(20px, calc(16.7875px + 0.85625vw), 25px) !important;
    }
        body.access-font-large .contacts-page__schedule h2 {
        font-size: clamp(22.5px, calc(20.9px + 0.4275vw), 25px) !important;
    }
        body.access-font-large .contacts-page__table {
        font-size: 18.75px !important;
    }
        body.access-font-large .contacts-page__legal-links {
        font-size: 18.75px !important;
    }
        body.access-font-large .page-contacts .first-visit h2 {
        font-size: clamp(27.5px, calc(13.05px + 3.8525vw), 50px) !important;
    }
        body.access-font-large .page-contacts .first-visit .text-link {
        font-size: clamp(20px, calc(22.4125px - 0.6425vw), 16.25px) !important;
    }
        body.access-font-large .contacts-appointment h2 {
        font-size: clamp(30px, calc(17.15px + 3.425vw), 50px) !important;
    }
        body.access-font-large .contacts-appointment .appointment-lead {
        font-size: clamp(20px, calc(18.4px + 0.4275vw), 22.5px) !important;
    }
        body.access-font-large .contacts-appointment .clinic-webform .form-label {
        font-size: 18.75px !important;
        line-height: 25px !important;
    }
        body.access-font-large .contacts-appointment .clinic-webform input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
    body.access-font-large .contacts-appointment .clinic-webform textarea,
    body.access-font-large .contacts-appointment .clinic-webform select {
        font-size: 25px !important;
        line-height: 38.75px !important;
    }
        body.access-font-large .contacts-appointment .clinic-consent {
        font-size: 17.5px !important;
        line-height: 25px !important;
    }
        body.access-font-large .contacts-appointment .clinic-webform .clinic-btn--wide {
        font-size: 22.5px !important;
    }
        body.access-font-large .contacts-map-section .contacts-head h2 {
        font-size: 22.5px !important;
    }
        body.access-font-large .contacts-map-section .contacts-head > a {
        font-size: 22.5px !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .contacts-page__table {
        font-size: 17.5px !important;
    }
}

/* Source: assets/css/jobs-page.css */
body.access-font-large .jobs-page__breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .jobs-page h1 {
    font-size: clamp(50px, calc(50px + (100vw - 960px) * 0.00391), 53.75px) !important;
}
body.access-font-large .jobs-page__block {
    font-size: clamp(18.75px, calc(18.75px + (100vw - 960px) * 0.0013), 20px) !important;
}
body.access-font-large .jobs-page__block h2 {
    font-size: clamp(25px, calc(25px + (100vw - 960px) * 0.0026), 27.5px) !important;
}
body.access-font-large .jobs-map-section__head h2,
body.access-font-large .jobs-map-section__phone a {
    font-size: clamp(25px, calc(25px + (100vw - 960px) * 0.00391), 28.75px) !important;
}
@media (min-width: 375px) and (max-width: 959.98px) {
        body.access-font-large .jobs-page__breadcrumbs {
        font-size: 15px !important;
    }
        body.access-font-large .jobs-page h1 {
        font-size: 25px !important;
    }
        body.access-font-large .jobs-page__block {
        font-size: 17.5px !important;
    }
        body.access-font-large .jobs-page__block h2 {
        font-size: 18.75px !important;
    }
        body.access-font-large .jobs-map-section__head h2,
    body.access-font-large .jobs-map-section__phone a {
        font-size: 17.5px !important;
    }
}
body.access-font-large .jobs-vacancies-list__description {
    font-size: 1.175em !important;
}

/* Source: assets/css/services.css */
body.access-font-large .page-services .services-breadcrumbs {
    font-size: 17.5px !important;
}
body.access-font-large .services-hero h1 {
    font-size: 50px !important;
    line-height: 70px !important;
}
body.access-font-large .services-hero__copy p {
    font-size: 20px !important;
    line-height: 27.5px !important;
}
body.access-font-large .services-more-link {
    font-size: 22.5px !important;
    line-height: 27.5px !important;
}
body.access-font-large .services-navigation__card strong {
    font-size: 30px !important;
    line-height: 40px !important;
}
body.access-font-large .services-navigation__card span {
    font-size: 21.25px !important;
    line-height: 26.25px !important;
}
body.access-font-large .services-navigation__card--kids strong {
    font-size: 27.5px !important;
    line-height: 41.25px !important;
}
body.access-font-large .services-catalog h2 {
    font-size: 50px !important;
}
body.access-font-large .services-catalog__copy h3 {
    font-size: 25px !important;
}
body.access-font-large .services-catalog__copy ul {
    font-size: 21.25px !important;
}
body.access-font-large .service-detail h1 {
    font-size: 50px !important;
    line-height: 70px !important;
}
body.access-font-large .service-detail__intro {
    font-size: clamp(27.5px, calc(34.51125px - 0.46988vw), 30px) !important;
    line-height: clamp(37.5px, calc(51.5225px - 0.93988vw), 42.5px) !important;
}
body.access-font-large .service-detail__hero-button {
    font-size: 20px !important;
}
body.access-font-large .service-detail__qa h2 {
    font-size: 25px !important;
    line-height: 33.75px !important;
}
body.access-font-large .service-detail__qa-text {
    font-size: 18.75px !important;
    line-height: 26.25px !important;
}
body.access-font-large .service-detail__related-list {
    font-size: 26.25px !important;
    line-height: 38.75px !important;
}
body.access-font-large .service-detail__qa--rich .service-detail__qa-text {
    font-size: 22.5px !important;
}
@media (max-width: 959.98px) {
        body.access-font-large .services-hero h1 {
        font-size: clamp(32.5px, 5.2125vw, 50px) !important;
    }
        body.access-font-large .services-hero__copy p {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .services-more-link {
        font-size: 22.5px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .services-navigation__card strong {
        font-size: 30px !important;
        line-height: 40px !important;
    }
        body.access-font-large .services-navigation__card span {
        font-size: 21.25px !important;
        line-height: 26.25px !important;
    }
        body.access-font-large .services-navigation__card--kids strong {
        font-size: 27.5px !important;
        line-height: 41.25px !important;
    }
        body.access-font-large .services-catalog h2 {
        font-size: 50px !important;
    }
        body.access-font-large .services-catalog__copy h3 {
        font-size: 25px !important;
    }
        body.access-font-large .services-catalog__copy ul {
        font-size: 20px !important;
    }
        body.access-font-large .service-detail h1 {
        font-size: clamp(37.5px, calc(29.4875px + 2.13675vw), 50px) !important;
    }
        body.access-font-large .service-detail__intro {
        font-size: clamp(22.5px, calc(17.6925px + 1.282vw), 30px) !important;
        line-height: clamp(31.25px, calc(24.03875px + 1.92312vw), 42.5px) !important;
    }
        body.access-font-large .service-detail__hero-button {
        font-size: clamp(22.5px, calc(20.8975px + 0.42737vw), 25px) !important;
    }
        body.access-font-large .service-detail__qa h2 {
        font-size: 30px !important;
    }
        body.access-font-large .service-detail__qa-text {
        font-size: 21.25px !important;
        line-height: 30px !important;
    }
        body.access-font-large .service-detail__related-list {
        font-size: clamp(21.25px, calc(18.045px + 0.85475vw), 26.25px) !important;
        line-height: clamp(30px, calc(24.39125px + 1.49575vw), 38.75px) !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .service-detail h1 {
        font-size: 37.5px !important;
    }
        body.access-font-large .service-detail__intro {
        font-size: 22.5px !important;
        line-height: 31.25px !important;
    }
        body.access-font-large .service-detail__hero-button {
        font-size: 22.5px !important;
    }
        body.access-font-large .service-detail__qa h2 {
        font-size: 30px !important;
        line-height: 41.25px !important;
    }
        body.access-font-large .service-detail__qa-text {
        font-size: 21.25px !important;
        line-height: 30px !important;
    }
        body.access-font-large .service-detail__related-list {
        font-size: 21.25px !important;
        line-height: 30px !important;
    }
        body.access-font-large .page-services .services-breadcrumbs {
        font-size: 17.5px !important;
    }
        body.access-font-large .services-hero h1 {
        font-size: 32.5px !important;
        line-height: 42.5px !important;
    }
        body.access-font-large .services-hero__copy p {
        font-size: 20px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .services-more-link {
        font-size: 22.5px !important;
        line-height: 27.5px !important;
    }
        body.access-font-large .services-navigation__card strong {
        font-size: 30px !important;
        line-height: 40px !important;
    }
        body.access-font-large .services-navigation__card span {
        font-size: 21.25px !important;
        line-height: 26.25px !important;
    }
        body.access-font-large .services-navigation__card--kids strong {
        font-size: 27.5px !important;
        line-height: 41.25px !important;
    }
        body.access-font-large .services-catalog h2 {
        font-size: 35px !important;
    }
        body.access-font-large .services-catalog__copy h3 {
        font-size: 22.5px !important;
    }
        body.access-font-large .services-catalog__copy ul {
        font-size: 20px !important;
    }
}

/* Source: assets/css/crew.css */
body.access-font-large .crew-breadcrumbs {
    font-size: 22.5px !important;
}
body.access-font-large .crew-page h1 {
    font-size: 53.75px !important;
}
body.access-font-large .crew-intro-text {
    font-size: 30px !important;
}
body.access-font-large .crew-group h2 {
    font-size: 53.75px !important;
}
body.access-font-large .crew-card__content strong {
    font-size: 30px !important;
}
body.access-font-large .crew-card__content small {
    font-size: 20px !important;
}
body.access-font-large .page-crew .first-visit h2 {
    font-size: 53.75px !important;
}
body.access-font-large .page-crew .first-visit .text-link {
    font-size: 22.5px !important;
}
@media (min-width: 375px) and (max-width: 960px) {
        body.access-font-large .crew-breadcrumbs {
        font-size: 22.5px !important;
    }
        body.access-font-large .crew-page h1 {
        font-size: clamp(35px, calc(25.385px + 2.56412vw), 50px) !important;
    }
        body.access-font-large .crew-intro-video .play-button {
        font-size: clamp(15px, calc(8.59px + 1.70937vw), 25px) !important;
    }
        body.access-font-large .crew-intro-text {
        font-size: clamp(22.5px, calc(17.6925px + 1.282vw), 30px) !important;
    }
        body.access-font-large .crew-group h2 {
        font-size: clamp(35px, calc(25.385px + 2.56412vw), 50px) !important;
    }
        body.access-font-large .crew-card__content strong {
        font-size: clamp(25px, 3.125vw, 30px) !important;
    }
        body.access-font-large .crew-card__content small {
        font-size: clamp(17.5px, 2.0875vw, 20px) !important;
    }
        body.access-font-large .page-crew .first-visit h2 {
        font-size: clamp(35px, calc(25.385px + 2.56412vw), 50px) !important;
    }
        body.access-font-large .page-crew .first-visit .text-link {
        font-size: clamp(17.5px, calc(14.295px + 0.85475vw), 22.5px) !important;
    }
}
@media (max-width: 374.98px) {
        body.access-font-large .crew-breadcrumbs {
        font-size: 22.5px !important;
    }
        body.access-font-large .crew-page h1 {
        font-size: 35px !important;
    }
        body.access-font-large .crew-intro-video .play-button {
        font-size: 15px !important;
    }
        body.access-font-large .crew-intro-text {
        font-size: 22.5px !important;
    }
        body.access-font-large .crew-group h2 {
        font-size: 35px !important;
    }
        body.access-font-large .crew-card__content strong {
        font-size: 30px !important;
    }
        body.access-font-large .crew-card__content small {
        font-size: 20px !important;
    }
        body.access-font-large .page-crew .first-visit h2 {
        font-size: 35px !important;
    }
        body.access-font-large .page-crew .first-visit .text-link {
        font-size: 17.5px !important;
    }
}

/* Accessibility-specific final corrections. */
body.access-font-large .clinic-menu__item a { font-size: 22.5px !important; line-height: 30px !important; }
body.access-font-large .header-address { font-size: 20px !important; line-height: 1.5 !important; }
body.access-font-large .header-phone a { font-size: 25px !important; }
body.access-font-large .header-top .clinic-btn { font-size: 25px !important; line-height: 1.25 !important; }
body.access-font-large .hero-patients small { font-size: 14px !important; line-height: 1.3 !important; }
body.access-font-large .hero-patients strong { font-size: 37.5px !important; }

@media (min-width: 960px) {
    body.access-font-large .header-main,
    body.access-font-large .header-main .clinic-container { min-height: 165px; }
    body.access-font-large .header-main.is-sticky,
    body.access-font-large .header-main.is-sticky .clinic-container { min-height: 104px; }
    body.access-font-large .site-header.has-sticky { padding-bottom: 165px; }
}
@media (min-width: 375px) and (max-width: 959.98px) {
    body.access-font-large .hero-card h1 { max-width: 100%; }
}
@media (max-width: 374.98px) {
    body.access-font-large { font-size: 18px !important; }
    body.access-font-large .hero-card h1 { max-width: 100%; }
}

body.access-font-large .hero-patients strong span { font-size: inherit !important; line-height: inherit !important; }

/* ========================================================================== 
   Accessibility toolbar — layout and controls based on the approved example.
   Loaded last so it replaces the previous compact yellow strip.
   ========================================================================== */
.accessibility-panel {
    position: sticky;
    top: 0;
    z-index: 1400;
    border: 0;
    border-bottom: 1px solid #c8cdd2;
    color: #334250;
    background: #f4f4f4;
    box-shadow: none;
}
.accessibility-panel[hidden] {
    display: none !important;
}
.accessibility-panel__inner {
    display: grid;
    grid-template-columns: max-content max-content max-content max-content minmax(290px, 1fr);
    align-items: end;
    gap: 20px 34px;
    min-height: 96px;
    padding-top: 10px;
    padding-bottom: 12px;
}
.accessibility-panel__group {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.accessibility-panel__group--settings {
    align-items: flex-start;
}
.accessibility-panel__label {
    display: block;
    width: 100%;
    color: #3c4c5b;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}
.accessibility-panel__group--settings .accessibility-panel__label {
    text-align: center;
}
.accessibility-panel__controls {
    display: flex;
    align-items: center;
    gap: 6px;
}
.accessibility-panel__controls--colors {
    gap: 6px;
}
.accessibility-panel .access-control {
    display: inline-flex;
    min-width: 42px;
    height: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 11px;
    border: 1px solid #c5c9cd;
    border-radius: 4px;
    color: #111;
    background: #e2e2e2;
    box-shadow: none;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
}
.accessibility-panel .access-control:hover {
    border-color: #8b949b;
    background: #d7d7d7;
}
.accessibility-panel .access-control:focus-visible {
    outline: 3px solid #1a5f9e !important;
    outline-offset: 2px;
}
.accessibility-panel .access-control[aria-pressed="true"] {
    border-color: #66737d;
    box-shadow: inset 0 0 0 2px #66737d;
}
.accessibility-panel .access-control:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.accessibility-panel .access-control--font {
    min-width: 42px;
    padding-inline: 8px;
    font-size: 16px;
}
.accessibility-panel .access-control--scheme {
    min-width: 36px;
    width: 36px;
    padding: 0;
    font-size: 17px;
}
.accessibility-panel .access-control--scheme-white {
    border-color: #c7c7c7;
    color: #111;
    background: #fff;
}
.accessibility-panel .access-control--scheme-black {
    border-color: #111;
    color: #fff;
    background: #050505;
}
.accessibility-panel .access-control--scheme-blue {
    border-color: #8fb5d2;
    color: #15344e;
    background: #a9d6f5;
}
.accessibility-panel .access-control--scheme-beige {
    border-color: #d5cda8;
    color: #242014;
    background: #f5efd0;
}
.accessibility-panel .access-control--scheme-brown {
    border-color: #4f390d;
    color: #fff08a;
    background: #3f2e08;
}
.accessibility-panel .access-control--icon {
    width: 44px;
    min-width: 44px;
    padding: 0;
}
.accessibility-panel .access-control--icon svg {
    width: 22px;
    height: 22px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.accessibility-panel .access-control--icon .access-icon-fill {
    fill: currentColor;
    stroke: none;
}
.accessibility-panel__normal {
    width: auto;
    min-width: 186px !important;
    padding-inline: 15px !important;
    white-space: nowrap;
}
.accessibility-panel__collapse {
    margin-left: 0 !important;
}
.accessibility-panel__extra {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid #c8cdd2;
}
.accessibility-panel__extra[hidden] {
    display: none !important;
}
.accessibility-panel__extra-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.accessibility-panel__extra-group > span {
    margin-right: 4px;
    color: #3c4c5b;
    font-size: 15px;
    font-weight: 700;
}
.accessibility-panel .access-control--text {
    width: auto;
    min-width: 86px;
    padding-inline: 12px;
    font-size: 14px;
}

/* Keep the toolbar itself stable when the page font is enlarged. */
body.access-font-large .accessibility-panel,
body.access-font-large .accessibility-panel * {
    font-size: revert;
    line-height: 1.2;
    letter-spacing: normal;
}
body.access-font-large .accessibility-panel__label {
    font-size: 16px;
}
body.access-font-large .accessibility-panel .access-control {
    font-size: 17px;
}
body.access-font-large .accessibility-panel .access-control--font {
    font-size: 16px;
}
body.access-font-large .accessibility-panel__extra-group > span {
    font-size: 15px;
}
body.access-font-large .accessibility-panel .access-control--text {
    font-size: 14px;
}

/* Site colour schemes. */
body.accessibility-mode {
    --access-page-bg: #fff;
    --access-surface: #fff;
    --access-surface-alt: #f4f4f4;
    --access-text: #182633;
    --access-muted: #43515d;
    --access-link: #0b4d88;
    --access-border: #1d2a34;
    color: var(--access-text) !important;
    background-color: var(--access-page-bg) !important;
}
body.access-theme-black {
    --access-page-bg: #050505;
    --access-surface: #050505;
    --access-surface-alt: #171717;
    --access-text: #fff;
    --access-muted: #f0f0f0;
    --access-link: #ffe66c;
    --access-border: #fff;
}
body.access-theme-blue {
    --access-page-bg: #d8efff;
    --access-surface: #c8e7fb;
    --access-surface-alt: #acd7f3;
    --access-text: #13334c;
    --access-muted: #274c68;
    --access-link: #003f70;
    --access-border: #13334c;
}
body.access-theme-beige {
    --access-page-bg: #f7f1d0;
    --access-surface: #f7f1d0;
    --access-surface-alt: #ebe2b7;
    --access-text: #292316;
    --access-muted: #4e4632;
    --access-link: #594000;
    --access-border: #292316;
}
body.access-theme-brown {
    --access-page-bg: #382900;
    --access-surface: #382900;
    --access-surface-alt: #4a3600;
    --access-text: #fff29b;
    --access-muted: #fff4b3;
    --access-link: #fff;
    --access-border: #fff29b;
}
body.accessibility-mode,
body.accessibility-mode main,
body.accessibility-mode .site-header,
body.accessibility-mode .header-top,
body.accessibility-mode .header-main,
body.accessibility-mode .site-footer,
body.accessibility-mode .offcanvas,
body.accessibility-mode .modal-content,
body.accessibility-mode .services-mega-menu,
body.accessibility-mode .dropdown-menu {
    color: var(--access-text) !important;
    background-color: var(--access-page-bg) !important;
    border-color: var(--access-border) !important;
}
body.accessibility-mode section,
body.accessibility-mode article,
body.accessibility-mode [class$="-card"],
body.accessibility-mode [class*="-card "],
body.accessibility-mode [class$="__card"],
body.accessibility-mode [class*="__card "] {
    color: var(--access-text) !important;
    border-color: var(--access-border) !important;
}
body.accessibility-mode :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, address, label, small, strong, span) {
    border-color: var(--access-border);
}
body.accessibility-mode :is(a, .text-link) {
    color: var(--access-link) !important;
}
body.accessibility-mode :is(input, textarea, select) {
    color: var(--access-text) !important;
    background: var(--access-surface) !important;
    border-color: var(--access-border) !important;
}
body.accessibility-mode :is(.clinic-btn, button:not(.access-control)) {
    border-color: var(--access-border) !important;
}
body.access-theme-black :is(.header-top, .header-main, .site-footer, .offcanvas, .modal-content, .services-mega-menu, .dropdown-menu),
body.access-theme-blue :is(.header-top, .header-main, .site-footer, .offcanvas, .modal-content, .services-mega-menu, .dropdown-menu),
body.access-theme-beige :is(.header-top, .header-main, .site-footer, .offcanvas, .modal-content, .services-mega-menu, .dropdown-menu),
body.access-theme-brown :is(.header-top, .header-main, .site-footer, .offcanvas, .modal-content, .services-mega-menu, .dropdown-menu) {
    background-image: none !important;
    background-color: var(--access-surface) !important;
}
body.access-theme-black .clinic-brand__image,
body.access-theme-brown .clinic-brand__image {
    filter: grayscale(1) invert(1) brightness(1.35);
}

/* Image display modes. Inline toolbar SVG icons are intentionally unaffected. */
body.access-images-hidden img:not(.accessibility-panel img),
body.access-images-hidden picture,
body.access-images-hidden video,
body.access-images-hidden iframe,
body.access-images-hidden [style*="background-image"],
body.access-images-hidden .hero-card,
body.access-images-hidden .appointment-collage,
body.access-images-hidden .map-frame,
body.access-images-hidden .map-offline-placeholder {
    background-image: none !important;
}
body.access-images-hidden img:not(.accessibility-panel img),
body.access-images-hidden picture,
body.access-images-hidden video,
body.access-images-hidden iframe {
    visibility: hidden !important;
}
body.access-images-grayscale img,
body.access-images-grayscale picture,
body.access-images-grayscale video,
body.access-images-grayscale iframe,
body.access-images-grayscale [style*="background-image"] {
    filter: grayscale(1) contrast(1.08) !important;
}

/* Optional advanced reading settings. */
body.access-line-large :is(p, li, dd, td, th, label, blockquote) {
    line-height: 1.9 !important;
}
body.access-letter-large :is(p, li, dd, td, th, label, a, button, input, textarea, select) {
    letter-spacing: .08em !important;
}
body.access-speech-enabled {
    cursor: help;
}

@media (max-width: 959.98px) {
    .accessibility-panel__inner {
        display: flex;
        min-height: 0;
        align-items: flex-end;
        flex-wrap: wrap;
        gap: 16px 24px;
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .accessibility-panel__group--settings {
        width: 100%;
        align-items: flex-start;
    }
    .accessibility-panel__group--settings .accessibility-panel__label {
        text-align: left;
    }
    .accessibility-panel__extra {
        flex-basis: 100%;
    }
}
@media (max-width: 374.98px) {
    .accessibility-panel__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
    }
    .accessibility-panel__group,
    .accessibility-panel__group--settings {
        width: 100%;
        align-items: flex-start;
    }
    .accessibility-panel__label,
    .accessibility-panel__group--settings .accessibility-panel__label {
        text-align: left;
    }
    .accessibility-panel__controls {
        flex-wrap: wrap;
    }
    .accessibility-panel__normal {
        min-width: 0 !important;
        flex: 1 1 auto;
    }
    .accessibility-panel__extra {
        align-items: flex-start;
        flex-direction: column;
    }
}
@media print {
    .accessibility-panel,
    .accessibility-toggle {
        display: none !important;
    }
}

/* The eye button must stay visible so a collapsed toolbar can always be reopened. */
body.access-images-hidden .accessibility-toggle img {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Incremental font controls: the button remains clickable at limits so the limit can be announced. */
.access-control--font[aria-disabled="true"] {
    opacity: .55;
    cursor: not-allowed;
}

/* ===== video-play-buttons.css ===== */
/*
 * Единственный стиль кнопки play для видеопревью БЕЗ встроенной кнопки.
 * Геометрия взята из SVG-макетов Fedoseev: 60x60 px, #272F39, белый path.
 * На штатных video-1.png ... video-4.png кнопка уже нарисована в изображении,
 * поэтому HTML-оверлей для них шаблоны не выводят.
 */
.video-play-button--mockup {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    display: block;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    max-width: 60px;
    max-height: 60px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    color: transparent;
    background: transparent url('assets/images/video-play-mockup.svg') 50% 50% / 60px 60px no-repeat;
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: none;
}

.video-play-button--mockup::before,
.video-play-button--mockup::after {
    display: none;
    content: none;
}

/* /about/: первый баннер не является видео. Правило находится именно в
 * файле, который рисует иконку, поэтому порядок подключения CSS не вернёт её. */

/* ===== footer-mobile-fix.css ===== */
@media (min-width: 375px) and (max-width: 959.98px) {
    .site-footer {
        width: 100%;
        padding: 52px 0 38px;
        overflow: hidden;
    }

    .site-footer .clinic-container {
        width: calc(100% - 48px);
        max-width: none;
    }

    .footer-grid {
        display: block;
    }

    .footer-column,
    .footer-legal {
        width: 100%;
        min-width: 0;
    }

    .footer-column + .footer-column {
        margin-top: 34px;
    }

    .site-footer h3 {
        margin-bottom: 24px;
        font-size: 18px;
        line-height: 1.22;
    }

    .footer-menu li + li {
        margin-top: 18px;
    }

    .footer-menu a {
        font-size: 15px;
        line-height: 1.45;
    }

    .footer-legal {
        min-height: 0;
        margin-top: 34px;
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-legal a {
        word-break: break-word;
    }

    .footer-design {
        margin-top: 30px;
        font-size: 16px;
        line-height: 1.25;
    }
}

@media (max-width: 374.98px) {
    .site-footer {
        width: 100%;
        padding: 52px 0 38px;
        overflow: hidden;
    }

    .footer-grid {
        display: block;
    }

    .footer-column,
    .footer-legal {
        width: 100%;
        min-width: 0;
    }

    .footer-column + .footer-column {
        margin-top: 34px;
    }

    .site-footer h3 {
        margin-bottom: 24px;
        font-size: 18px;
        line-height: 1.22;
    }

    .footer-menu li + li {
        margin-top: 18px;
    }

    .footer-menu a {
        font-size: 15px;
        line-height: 1.45;
    }

    .footer-legal {
        min-height: 0;
        margin-top: 34px;
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .footer-legal a {
        word-break: break-word;
    }

    .footer-design {
        margin-top: 30px;
        font-size: 16px;
        line-height: 1.25;
    }
}

/* ===== mobile-menu-fix.css ===== */
@media (max-width: 959.98px) {
    #mobileMenu {
        --bs-offcanvas-width: 100%;
        width: 100%;
        max-width: 100%;
    }

    #mobileMenu .offcanvas-header {
        position: relative;
        align-items: flex-start;
        min-height: 134px;
        padding: 16px 72px 0 24px;
    }

    #mobileMenu .offcanvas-header .clinic-brand {
        display: block;
        width: auto;
        max-width: 100%;
        margin: 0;
    }

    #mobileMenu .offcanvas-header .clinic-brand__image {
        display: block;
        width: 229px;
        max-width: 100%;
        height: auto;
    }

    #mobileMenu .mobile-menu-close {
        position: absolute;
        z-index: 5;
        top: 22px;
        right: 20px;
        display: block;
        width: 40px;
        height: 40px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        cursor: pointer;
        appearance: none;
    }

    #mobileMenu .mobile-menu-close::before,
    #mobileMenu .mobile-menu-close::after {
        position: absolute;
        top: 19px;
        left: 5px;
        width: 30px;
        height: 2px;
        content: '';
        background: #27313d;
        transform-origin: center;
    }

    #mobileMenu .mobile-menu-close::before {
        transform: rotate(45deg);
    }

    #mobileMenu .mobile-menu-close::after {
        transform: rotate(-45deg);
    }

    #mobileMenu .mobile-menu-close:focus-visible {
        outline: 2px solid #27313d;
        outline-offset: 2px;
    }
}

/* Mobile sticky header: compact fixed menu after scrolling. */
@media (max-width: 959.98px) {
    .header-main.is-sticky {
        position: fixed;
        z-index: 1000;
        top: 0;
        right: 0;
        left: 0;
        min-height: 82px;
        background: #fff;
        box-shadow: 0 10px 30px rgba(39, 49, 61, .08);
    }

    .header-main.is-sticky .clinic-container {
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        align-items: center;
        align-content: center;
        min-height: 82px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .header-main.is-sticky .accessibility-toggle {
        grid-column: 1;
        grid-row: 1;
        width: 40px;
        height: 34px;
        margin: 0;
    }

    .header-main.is-sticky .clinic-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        width: auto;
        margin: 0;
    }

    .header-main.is-sticky .clinic-brand__image {
        width: 160px;
        max-width: 100%;
        height: auto;
    }

    .header-main.is-sticky .navbar-toggler {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin: 0;
    }

    .site-header.has-sticky {
        padding-bottom: 222px;
    }
}

/* Kids palette. Buttons, plates and section backgrounds live here so every page uses the same colors. */
:root,
.page-home,
.page-inner {
    --clinic-dark: #272F39;
    --clinic-text: #272F39;
    --clinic-white: #fff;
    --clinic-yellow: #F0E65A;
    --clinic-yellow-soft: rgb(240 230 90 / 10%);
    --clinic-blue: #ABCAE9;
    --clinic-beige: #C8B4A0;
    --clinic-sage: #F0E65A;
    --clinic-warm: #F0E65A;
    --clinic-muted: rgb(240 230 90 / 10%);
    --home-media-card: #ABCAE9;
    --home-blog-caption: #C8B4A0;
}

.clinic-btn,
.clinic-btn--pale,
.clinic-btn--warm,
.clinic-btn--wide,
.treatment-button,
.header-top .clinic-btn,
.page-home .header-top .clinic-btn,
.page-home .stories-section .clinic-btn--wide,
.page-about .stories-section .clinic-btn--wide,
.about-stats__actions .clinic-btn,
.dentfriend-plan-cta .clinic-btn,
.clinic-modal .clinic-webform .clinic-btn--wide {
    background: var(--clinic-yellow);
    color: var(--clinic-text);
}

.home-service-card,
.page-home .home-service-card,
.services-navigation__card {
    background: var(--clinic-yellow-soft);
    border-left-color: transparent;
    border-radius: 18px;
}

.home-service-card:hover,
.page-home .home-service-card:hover,
.services-navigation__card:hover {
    background: var(--clinic-yellow-soft);
}

.home-service-card--kids,
.page-home .home-service-card--kids,
.services-navigation__card--kids,
.service-card--big {
    background: var(--clinic-yellow);
}

.home-service-card--kids:hover,
.page-home .home-service-card--kids:hover,
.services-navigation__card--kids:hover,
.service-card--big:hover {
    background: var(--clinic-yellow);
}

.treatment-card::before,
.page-home .treatment-card::before {
    background: var(--clinic-yellow-soft);
}

.ratings-section,
.muted-section,
.page-home .muted-section {
    background: var(--clinic-yellow-soft);
}

.page-home .ratings-section {
    background: #F0E65A80;
}

.offers-section,
.page-home .offers-section,
.dentfriend-section,
.page-home .dentfriend-section {
    background: #ABCAE980;
    color: var(--clinic-text);
}

.dentfriend-section a,
.dentfriend-section .text-link,
.page-home .dentfriend-section a,
.page-home .dentfriend-section .text-link {
    color: var(--clinic-text);
}

.media-card,
.page-home .media-card {
    background: #ABCAE980;
    color: var(--clinic-text);
}

.offer-card,
.rating-card {
    background: var(--clinic-white);
    color: var(--clinic-text);
}

.slider-controls button {
    background: #F0E65A80;
}

.contacts-section,
.page-home .contacts-section,
.stories-contacts,
.prices-contacts {
    background: #F0E65A4D;
}

/* Kids homepage banner */
.page-home .hero-card--kids {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    height: 710px;
    min-height: 710px;
    padding: 36px;
    overflow: hidden;
    border-radius: 10px;
    background: url("assets/images/hero/banner.png") center center / cover no-repeat;
}
.page-home .hero-card--kids::after {
    display: none;
}
.page-home .hero-card--kids .hero-card__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}
.page-home .hero-card--kids h1 {
    position: relative;
    z-index: 2;
    top: auto;
    left: auto;
    flex: 1 1 auto;
    width: auto;
    max-width: 820px;
    margin: 0;
    padding: 0;
    color: #272f39;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    text-transform: uppercase;
}
.page-home .hero-card--kids .hero-card__title--desk span {
    display: block;
    white-space: nowrap;
}
.page-home .hero-card--kids .hero-card__title--mob {
    display: none;
}
.page-home .hero-card--kids .hero-patients {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 2;
    flex: 0 0 auto;
    width: 182px;
}
.page-home .hero-card--kids .hero-patients strong {
    gap: 2px;
}
.page-home .hero-card--kids .hero-patients strong span {
    width: 30px;
    height: 30px;
    min-width: 30px;
    color: #fff;
    background: #354752;
    font-size: 24px;
    font-weight: 700;
}
.page-home .hero-card--kids .hero-patients small {
    margin-top: 4px;
    color: #272f39;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-transform: uppercase;
}
.page-home .hero-card--kids .hero-card__hello {
    display: none;
}
.page-home .hero-card--kids .hero-award {
    position: relative;
    z-index: 2;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    width: 156px;
    height: 156px;
    margin: 0;
    padding: 12px 14px 10px;
    color: #272f39;
    background: #F0E65A;
    background-image: none;
}
.page-home .hero-card--kids .hero-award__place {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    text-transform: uppercase;
}
.page-home .hero-card--kids .hero-award__note {
    margin-top: 4px;
    font-size: 8px;
    font-weight: 500;
    line-height: 1.15;
    text-transform: uppercase;
}
.page-home .hero-card--kids .hero-award__brand {
    margin-top: auto;
    font-size: 32px;
    font-weight: 700;
    line-height: 0.9;
}
.page-home .hero-card--kids .hero-award__year {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.page-home .hero-card--kids .hero-award.hero-award--image,
.page-home .hero-card--kids a.hero-award.hero-award--image,
.page-home .hero-card--kids span.hero-award.hero-award--image {
    display: block;
    align-self: flex-start;
    margin-top: auto;
    width: 156px;
    height: 156px;
    padding: 0;
    background: transparent;
    background-image: none;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.page-home .hero-card--kids .hero-award--image .hero-award__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 959.98px) {
    .page-home .hero-section {
        padding-bottom: 32px;
    }
    .page-home .hero-card--kids {
        height: 613px;
        min-height: 613px;
        padding: 24px;
        gap: 24px;
        justify-content: flex-start;
    }
    .page-home .hero-card--kids .hero-card__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .page-home .hero-card--kids h1 {
        max-width: none;
        font-size: 20px;
        line-height: normal;
    }
    .page-home .hero-card--kids .hero-card__title--desk {
        display: none;
    }
    .page-home .hero-card--kids .hero-card__title--mob {
        display: block;
        white-space: normal;
    }
    .page-home .hero-card--kids .hero-patients {
        width: 158px;
    }
    .page-home .hero-card--kids .hero-award:not(.hero-award--image) {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        padding: 8% 8% 6%;
    }
    .page-home .hero-card--kids .hero-award.hero-award--image {
        width: 126px;
        height: 126px;
        margin-top: auto;
    }
    .page-home .hero-card--kids .hero-award__place {
        font-size: clamp(28px, 8.5vw, 40px);
    }
    .page-home .hero-card--kids .hero-award__note {
        margin-top: 2%;
        font-size: clamp(12px, 3.6vw, 16px);
    }
    .page-home .hero-card--kids .hero-award__brand {
        font-size: clamp(48px, 14vw, 72px);
    }
    .page-home .hero-card--kids .hero-award__year {
        font-size: clamp(40px, 12vw, 64px);
    }
}

@media (max-width: 767.98px) {
    .page-home .hero-card--kids {
        background: linear-gradient(to bottom, #d9d9d9 0%, #e2e2e2 100%);
    }
}

.page-home .home-services-heading {
    border-left-color: #F0E65A;
}
.page-home .home-service-card {
    height: auto;
    min-height: 360px;
    padding: 28px 24px 176px 28px;
    overflow: hidden;
    border-left-width: 0;
    background: #FBF7CE;
}
.page-home .home-service-card:hover {
    background: #FBF7CE;
}
.page-home .home-service-card strong,
.page-home .home-service-card span {
    position: relative;
    z-index: 1;
}
.page-home .home-service-card span {
    margin-top: 8px;
    font-size: 18px;
    line-height: 24px;
}
.page-home .home-service-card img {
    position: absolute;
    top: auto;
    right: 12px;
    bottom: 8px;
    left: auto;
    width: auto;
    max-width: 64%;
    height: auto;
    max-height: 190px;
    object-fit: contain;
    pointer-events: none;
}
.page-home .home-service-card--kids {
    grid-column: auto;
    height: auto;
    min-height: 360px;
    padding: 28px 24px 120px 28px;
    background: #E4DACF;
}
.page-home .home-service-card--kids:hover {
    background: #E4DACF;
}
.page-home .home-service-card--kids strong {
    max-width: 230px;
    font-size: 24px;
    line-height: 32px;
}
.page-home .home-service-card--kids img {
    top: auto;
    right: 20px;
    bottom: 32px;
    width: min(230px, 72%);
    height: auto;
    max-height: 88px;
    object-fit: contain;
}
.page-home .home-service-card[data-service-card="kids-service-surgery"] img {
    transform: scaleX(-1);
}

.kids-plan__title {
    max-width: 700px;
    margin: 0 0 64px;
    color: #272f39;
    font-size: 40px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
.kids-plan__feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 2px minmax(240px, 340px);
    align-items: stretch;
    border-bottom: 2px solid #d4d5d7;
}
.kids-plan__consult {
    position: relative;
    margin: 0 20px 0 0;
    padding: 48px 0;
}
.kids-plan__art-wrap {
    position: static;
}
.kids-plan__art {
    position: absolute;
    top: 30px;
    left: 12px;
    bottom: auto;
    z-index: 1;
    width: 324.234px;
    height: 368.272px;
    max-width: none;
    max-height: none;
    pointer-events: none;
}
.kids-plan__consult-body {
    min-height: 280px;
    padding: 36px 36px 36px 410px;
    border-radius: 20px;
    background: rgba(240, 230, 90, 0.3);
    color: #272f39;
}
.kids-plan__consult-body h3,
.kids-plan__note h3,
.kids-plan__steps h3 {
    margin: 0;
    color: #272f39;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
.kids-plan__consult-body h3 {
    margin-bottom: 12px;
    font-size: 24px;
}
.kids-plan__consult-body p {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
}
.kids-plan__divider {
    background: #d4d5d7;
}
.kids-plan__note {
    max-width: 340px;
    padding: 48px 0 48px 20px;
}
.kids-plan__note h3 {
    margin-bottom: 12px;
    font-size: 18px;
}
.kids-plan__note p {
    margin: 0 0 20px;
    color: #272f39;
    font-size: 16px;
    line-height: normal;
}
.kids-plan__note p:last-child {
    margin-bottom: 0;
}
.kids-plan__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    margin-top: 24px;
}
.kids-plan__steps h3 {
    margin-bottom: 12px;
    font-size: 18px;
}
.kids-plan__steps p {
    margin: 0;
    color: #272f39;
    font-size: 16px;
    line-height: normal;
}
.kids-plan__button {
    margin-top: 24px;
    padding: 12px 16px;
    border: 0;
    border-radius: 5px;
    background: #f0e65a;
    color: #272f39;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
}
.kids-plan__button:hover {
    background: #f0e65a;
    color: #272f39;
}

@media (max-width: 1199.98px) {
    .kids-plan__feature {
        grid-template-columns: 1fr;
    }
    .kids-plan__divider {
        display: none;
    }
    .kids-plan__note {
        max-width: none;
        padding: 24px 0 0;
        border-top: 2px solid #d4d5d7;
    }
    .kids-plan__consult-body {
        padding: 220px 24px 28px;
    }
    .kids-plan__art {
        top: 30px;
        bottom: auto;
        left: 24px;
        width: min(260px, 70%);
    }
    .kids-plan__steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }
}

@media (max-width: 699.98px) {
    .kids-plan__title {
        margin-bottom: 32px;
        font-size: 28px;
    }
    .kids-plan__steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .kids-plan__consult {
        margin: 0;
        padding: 0 0 24px;
    }
    .kids-plan__consult-body {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 24px 24px 0;
        overflow: visible;
        border-radius: 20px;
        background: rgba(240, 230, 90, 0.3);
    }
    .kids-plan__consult-body h3 {
        margin: 0 0 12px;
        font-size: 24px;
        font-weight: 500;
        line-height: normal;
    }
    .kids-plan__consult-body p {
        margin: 0 0 24px;
        font-size: 24px;
        font-weight: 400;
        line-height: normal;
    }
    .kids-plan__art-wrap {
        position: relative;
        display: flex;
        justify-content: center;
        width: calc(100% + 48px);
        height: auto;
        margin: 0 -24px;
        overflow: visible;
    }
    .kids-plan__art {
        position: relative;
        top: auto;
        left: auto;
        width: min(324.234px, 100%);
        height: auto;
        max-width: 100%;
        max-height: none;
    }
    .kids-plan__note {
        padding-top: 0;
        border-top: 0;
    }
    .kids-plan__button {
        width: 100%;
    }
}

.page-home .offers-swiper .swiper-slide:has(.offer-card--picture),
.page-home .offer-card--picture {
    height: 400px;
    min-height: 400px;
}
.page-home .offer-card--picture {
    position: relative;
    padding: 34px 38px 32px;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
}
.page-home .offer-card--picture small {
    color: #272f39;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}
.page-home .offer-card--picture h3 {
    max-width: 58%;
    margin-top: 22px;
    font-size: 36px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
.page-home .offer-card--picture > div {
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
}
.page-home .offer-card--picture strong {
    font-size: 36px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
.page-home .offer-card--picture span {
    font-size: 20px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
.page-home .offer-card--picture img {
    position: absolute;
    top: 39px;
    right: 40px;
    width: 160px;
    height: 268px;
    object-fit: contain;
    pointer-events: none;
}

.page-home .offer-card {
    overflow: hidden;
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    .page-home .offers-section {
        padding: 32px 0;
    }
    .page-home .offers-section .section-head {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
        margin-bottom: 32px;
    }
    .page-home .offers-section .section-head h2 {
        width: 100%;
        max-width: 700px;
        margin: 0;
        color: #272f39;
        font-size: 28px;
        font-weight: 500;
        line-height: normal;
        text-transform: uppercase;
    }
    .page-home .offers-section .slider-controls {
        gap: 24px;
    }
    .page-home .offers-swiper .swiper-slide,
    .page-home .offers-swiper .swiper-slide:has(.offer-card--picture),
    .page-home .offer-card,
    .page-home .offer-card--picture {
        height: 261px;
        min-height: 261px;
    }
    .page-home .offer-card,
    .page-home .offer-card--picture {
        justify-content: flex-start;
        padding: 24px;
        overflow: hidden;
        border-radius: 0;
        background: #fff;
    }
    .page-home .offer-card img,
    .page-home .offer-card--picture img {
        display: none;
    }
    .page-home .offer-card small,
    .page-home .offer-card--picture small {
        display: block;
        width: 100%;
        color: #272f39;
        font-size: 18px;
        font-weight: 400;
        line-height: normal;
    }
    .page-home .offer-card h3,
    .page-home .offer-card--picture h3 {
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
        color: #272f39;
        font-size: 24px;
        font-weight: 500;
        line-height: normal;
        text-transform: uppercase;
    }
    .page-home .offer-card > div,
    .page-home .offer-card--picture > div {
        width: 100%;
        margin-top: 24px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 6px;
    }
    .page-home .offer-card strong,
    .page-home .offer-card--picture strong {
        color: #272f39;
        font-size: 36px;
        font-weight: 500;
        line-height: normal;
        text-transform: uppercase;
    }
    .page-home .offer-card span,
    .page-home .offer-card--picture span {
        color: #272f39;
        font-size: 20px;
        font-weight: 500;
        line-height: normal;
        text-align: left;
        text-transform: uppercase;
        white-space: normal;
    }
}

.page-home .about-doctors {
    padding: 110px 0 128px;
    overflow: hidden;
}
.page-home .about-doctors-swiper {
    overflow: hidden;
}
.page-home .about-doctors-swiper .swiper-slide {
    width: 100%;
    max-width: 100%;
}
.page-home .about-doctors__head {
    margin-bottom: 64px;
}
.page-home .about-doctors h2 {
    max-width: 700px;
    margin: 0;
    color: #272f39;
    font-size: 40px;
    font-weight: 500;
    line-height: 56px;
    text-transform: uppercase;
}
.page-home .about-doctors .slider-controls {
    gap: 24px;
}
.page-home .about-doctors .slider-controls button,
.page-home .about-doctors .slider-controls button:hover {
    background: rgb(240 230 90 / 50%);
}

@media (max-width: 959.98px) {
    .page-home .about-doctors__head {
        margin-bottom: 32px;
    }
    .page-home .about-doctors h2 {
        font-size: 28px;
        line-height: 36px;
    }
}

.kids-dentfriend {
    padding: 120px 0;
    background: rgba(171, 202, 233, 0.5);
    color: #272f39;
}

.kids-dentfriend__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.kids-dentfriend__brand {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    min-width: 0;
}

.kids-dentfriend__brand img {
    display: block;
    width: 411px;
    max-width: 100%;
    height: 120px;
}

.kids-dentfriend__brand span {
    margin: 0 0 6px;
    color: #272f39;
    font-size: 60px;
    font-weight: 400;
    line-height: 56px;
    text-transform: uppercase;
    white-space: nowrap;
}

.kids-dentfriend__more {
    flex: 0 0 auto;
    color: #272f39;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
}

.kids-dentfriend__more:hover {
    color: #272f39;
}

.kids-dentfriend__lead {
    max-width: 870px;
    margin: 115px 0 0;
    color: #272f39;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    text-transform: uppercase;
}

.kids-dentfriend__video {
    position: relative;
    display: block;
    margin-top: 72px;
    overflow: hidden;
    border-radius: 10px;
}

.kids-dentfriend__poster {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.kids-dentfriend__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 108px;
    height: 108px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.kids-dentfriend__columns {
    display: grid;
    grid-template-columns: minmax(0, 580px) minmax(0, 580px);
    justify-content: space-between;
    gap: 24px 80px;
    margin-top: 76px;
    color: #272f39;
    font-size: 16px;
    font-weight: 400;
    line-height: 19px;
}

.kids-dentfriend__columns p {
    margin: 0;
}

.kids-dentfriend__controls {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.kids-dentfriend .slider-controls {
    gap: 20px;
}

.kids-dentfriend .slider-controls button,
.kids-dentfriend .slider-controls button:hover {
    background: #fff;
}

.kids-dentfriend-swiper {
    margin-top: 40px;
    overflow: hidden;
}

.kids-dentfriend-swiper .swiper-slide {
    width: 340px;
    height: 510px;
}

.kids-dentfriend-swiper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 1199.98px) {
    .kids-dentfriend__brand img {
        width: 280px;
        height: auto;
    }

    .kids-dentfriend__brand span {
        font-size: 40px;
        line-height: 44px;
    }

    .kids-dentfriend__columns {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 767.98px) {
    .kids-dentfriend {
        padding: 32px 0;
    }

    .kids-dentfriend__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .kids-dentfriend__brand {
        align-items: center;
        gap: 12px;
    }

    .kids-dentfriend__brand img {
        width: 180px;
    }

    .kids-dentfriend__brand span {
        margin-bottom: 0;
        font-size: 28px;
        line-height: 32px;
    }

    .kids-dentfriend__lead {
        margin-top: 40px;
        font-size: 18px;
        line-height: 24px;
    }

    .kids-dentfriend__video {
        margin-top: 32px;
    }

    .kids-dentfriend__play {
        width: 72px;
        height: 72px;
    }

    .kids-dentfriend__columns {
        grid-template-columns: 1fr;
        margin-top: 32px;
    }

    .kids-dentfriend-swiper .swiper-slide {
        width: 260px;
        height: 390px;
    }
}

@media (max-width: 767.98px) {
    .page-home .clinic-container {
        width: min(calc(100% - 48px), var(--clinic-container));
    }
    .page-home .section-head,
    .page-home .about-doctors__head {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 24px;
        margin-bottom: 32px;
    }
    .page-home .section-head h2,
    .page-home .about-doctors h2,
    .page-home .ratings-title,
    .page-home .clinic-today h2,
    .page-home .blog-section h2,
    .page-home .tech-section > .clinic-container > h2,
    .page-home .first-visit h2,
    .page-home .kids-plan__title {
        width: 100%;
        max-width: 700px;
        margin: 0;
        font-size: 28px;
        font-weight: 500;
        line-height: normal;
    }
    .page-home .ratings-title,
    .page-home .clinic-today h2,
    .page-home .tech-section > .clinic-container > h2,
    .page-home .kids-plan__title {
        margin-bottom: 32px;
    }
    .page-home .hero-section {
        padding-bottom: 32px;
    }
    .page-home .services-section,
    .page-home .home-services-hero,
    .page-home .treatment-section,
    .page-home .kids-plan {
        padding-top: 0;
        padding-bottom: 32px;
    }
    .page-home .home-services-grid {
        row-gap: 32px;
        margin-top: 32px;
    }
    .page-home .offers-section,
    .page-home .reviews-section,
    .page-home .stories-section,
    .page-home .ratings-section,
    .page-home .media-section,
    .page-home .blog-section,
    .page-home .clinic-today,
    .page-home .mission-section,
    .page-home .tech-section,
    .page-home .appointment-section,
    .page-home .about-doctors {
        padding-top: 32px;
        padding-bottom: 32px;
    }
    .page-home .first-visit {
        padding-top: 32px;
        padding-bottom: 24px;
    }
    .page-home .first-visit .section-head {
        display: flex;
        margin-bottom: 32px;
    }
    .page-home .first-visit h2 {
        margin-bottom: 12px;
    }
    .page-home .contacts-section {
        padding: 24px 0;
    }
    .page-home .stories-section .clinic-btn--wide,
    .page-home .mission-actions {
        margin-top: 32px;
    }
}

.page-about .about-hero--kids {
    padding: 0 0 100px;
}

.page-about .about-hero--kids .about-hero__visual {
    position: relative;
    height: 710px;
    min-height: 710px;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fff;
    background-image: url("assets/images/hero/banner.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.page-about .about-hero--kids .about-hero__title {
    position: absolute;
    z-index: 2;
    top: 32px;
    left: 38px;
    width: auto;
    max-width: calc(100% - 280px);
    margin: 0;
    padding: 0;
    color: #272f39;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-about .about-hero--kids .about-hero__title span {
    display: block;
    white-space: nowrap;
}

.page-about .about-hero--kids .about-hero__patients {
    position: absolute;
    z-index: 3;
    top: 40px;
    right: 40px;
    left: auto;
    bottom: auto;
    color: #272f39;
    text-transform: uppercase;
}

.page-about .about-hero--kids .about-hero__digits {
    display: flex;
    gap: 3px;
}

.page-about .about-hero--kids .about-hero__digits span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    min-width: 30px;
    color: #fff;
    background: #272f39;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.page-about .about-hero--kids .about-hero__patients-label {
    display: block;
    margin-top: 6px;
    color: #272f39;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    text-transform: uppercase;
}

.page-about .about-hero--kids .about-hero__hello {
    position: absolute;
    z-index: 2;
    left: 1.2%;
    top: 26.2%;
    width: 43.6%;
    height: auto;
    pointer-events: none;
}

@media (max-width: 959.98px) {
    .page-about .about-hero--kids {
        padding-bottom: clamp(31px, calc(25.231px + 1.538462vw), 40px);
    }

    .page-about .about-hero--kids .about-hero__visual {
        height: 520px;
        min-height: 520px;
        background-position: 72% center;
    }

    .page-about .about-hero--kids .about-hero__title {
        top: 24px;
        left: 24px;
        max-width: calc(100% - 48px);
        font-size: 18px;
        line-height: 24px;
    }

    .page-about .about-hero--kids .about-hero__title span {
        white-space: normal;
    }

    .page-about .about-hero--kids .about-hero__patients {
        top: auto;
        right: 24px;
        bottom: 24px;
    }

    .page-about .about-hero--kids .about-hero__hello {
        top: auto;
        bottom: 24px;
        left: 24px;
        width: min(280px, 58%);
    }
}

@media (max-width: 374.98px) {
    .page-about .about-hero--kids .about-hero__visual {
        height: 460px;
        min-height: 460px;
    }

    .page-about .about-hero--kids .about-hero__title {
        font-size: 16px;
        line-height: 22px;
    }
}

.page-about .about-interior {
    padding: 0 0 128px;
}

.page-about .about-interior__head {
    margin-bottom: 64px;
}

.page-about .about-interior h2 {
    margin: 0;
    color: #272f39;
    font-size: 40px;
    font-weight: 500;
    line-height: 56px;
    text-transform: uppercase;
}

.page-about .about-interior .slider-controls {
    gap: 24px;
}

.page-about .about-interior .slider-controls button,
.page-about .about-interior .slider-controls button:hover {
    background: rgba(240, 230, 90, 0.5);
}

.page-about .about-interior-swiper .swiper-slide {
    width: 700px !important;
    max-width: 700px !important;
    height: 500px !important;
    min-height: 500px !important;
    max-height: 500px !important;
    aspect-ratio: auto !important;
    overflow: hidden;
    border-radius: 10px;
    background: #d9d9d9;
}

.page-about .about-interior-swiper .swiper-slide > img {
    position: absolute;
    display: block;
    max-width: none;
    margin: 0;
    object-fit: fill;
}

.page-about .about-interior-swiper .swiper-slide:nth-child(1) > img {
    top: 0;
    left: -5%;
    width: 107.18%;
    height: 100%;
}

.page-about .about-interior-swiper .swiper-slide:nth-child(2) > img {
    top: -49.22%;
    left: 0;
    width: 100%;
    height: 175%;
}

.page-about .about-interior-swiper .swiper-slide:nth-child(3) > img {
    top: -49.32%;
    left: -84.98%;
    width: 304.35%;
    height: 175%;
}

.page-about .about-interior-swiper .swiper-slide:nth-child(n+4) > img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 959.98px) {
    .page-about .about-interior__head {
        margin-bottom: 32px;
    }

    .page-about .about-interior h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .page-about .about-interior-swiper .swiper-slide {
        width: min(100%, 700px) !important;
        max-width: min(100%, 700px) !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 7 / 5 !important;
    }
}

.kids-about-stats {
    padding: 0 0 128px;
    background: #fff;
    color: #272f39;
}

.kids-about-stats__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 440px;
    gap: 96px 20px;
    align-items: start;
}

.kids-about-stats__grid {
    display: contents;
}

.kids-about-stats__item {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 222px;
    padding-left: 32px;
    border-left-style: solid;
    border-left-color: #f0e65a;
}

.kids-about-stats__item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    border-left-width: 10px;
}

.kids-about-stats__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    border-left-width: 4px;
}

.kids-about-stats__item:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
    border-left-width: 8px;
}

.kids-about-stats__item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    border-left-width: 2px;
}

.kids-about-stats__value {
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.kids-about-stats__value strong {
    display: block;
    font-size: 100px;
    font-weight: 400;
    line-height: 1;
}

.kids-about-stats__value span {
    display: block;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

.kids-about-stats__item p {
    margin: 0;
    color: #272f39;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.25;
}

.kids-about-stats__art {
    grid-column: 3;
    grid-row: 1 / span 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    align-self: start;
    width: 440px;
}

.kids-about-stats__art img {
    display: block;
    width: 440px;
    max-width: 100%;
    height: 759px;
    object-fit: contain;
    object-position: center;
}

.kids-about-stats__actions {
    grid-column: 1 / 3;
    grid-row: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.kids-about-stats__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 86px;
    padding: 32px;
    border-radius: 5px;
    background: rgba(240, 230, 90, 0.5);
    color: #272f39;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.kids-about-stats__btn:hover {
    background: rgba(240, 230, 90, 0.7);
    color: #272f39;
}

@media (max-width: 1199.98px) {
    .kids-about-stats__layout {
        grid-template-columns: 1fr 1fr;
        gap: 64px 20px;
    }

    .kids-about-stats__art {
        grid-column: 1 / -1;
        grid-row: 3;
        order: 0;
        justify-content: flex-start;
    }

    .kids-about-stats__actions {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .kids-about-stats__value strong {
        font-size: 72px;
    }

    .kids-about-stats__value span {
        font-size: 36px;
    }
}

@media (max-width: 767.98px) {
    .kids-about-stats {
        padding-bottom: 64px;
    }

    .kids-about-stats__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .kids-about-stats__item,
    .kids-about-stats__item:nth-child(n) {
        grid-column: 1;
        grid-row: auto;
        min-height: 0;
    }

    .kids-about-stats__art {
        grid-column: 1;
        grid-row: auto;
    }

    .kids-about-stats__actions {
        grid-column: 1;
        grid-row: auto;
        grid-template-columns: 1fr;
    }

    .kids-about-stats__value strong {
        font-size: 56px;
    }

    .kids-about-stats__value span {
        font-size: 28px;
    }

    .kids-about-stats__btn {
        min-height: 72px;
        padding: 24px;
        font-size: 16px;
    }
}

.page-about .about-history--kids,
.page-about .about-history.about-history--kids {
    height: auto !important;
    min-height: 0 !important;
    padding: 64px 0 80px !important;
    overflow: hidden;
    background: rgba(171, 202, 233, 0.5) !important;
    color: #272f39;
}

.page-about .about-history--kids .about-history__container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 460px;
    column-gap: 80px;
    row-gap: 0;
    align-items: start;
    min-height: 0 !important;
}

.page-about .about-history--kids .about-history__intro {
    grid-column: 1;
    grid-row: 1;
    max-width: 700px;
    padding-bottom: 64px;
}

.page-about .about-history--kids .about-history__intro h2 {
    position: static !important;
    top: auto !important;
    margin: 0 0 32px !important;
    color: #272f39;
    font-size: 40px !important;
    font-weight: 500;
    line-height: 56px !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.page-about .about-history--kids .about-history__intro p {
    position: static !important;
    top: auto !important;
    max-width: 700px;
    margin: 0;
    color: #272f39;
    font-size: 24px !important;
    font-weight: 500;
    line-height: normal !important;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.page-about .about-history--kids .about-history__controls {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    justify-self: end;
    margin: 0 0 64px !important;
    gap: 24px;
}

.page-about .about-history--kids .about-history__controls button,
.page-about .about-history--kids .about-history__controls button:hover,
.page-about .about-history--kids .slider-controls button,
.page-about .about-history--kids .slider-controls button:hover {
    width: 60px;
    height: 60px;
    background: #fff !important;
}

.page-about .about-history--kids .about-history-swiper {
    grid-column: 1;
    grid-row: 2;
    margin-top: 0 !important;
    overflow: hidden;
    min-width: 0;
}

.page-about .about-history--kids .about-history__years,
.page-about .about-history--kids .about-history__years--continuation {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 220px));
    gap: 20px;
    align-items: start;
    width: 100%;
}

.page-about .about-history--kids .about-history__years > article,
.page-about .about-history--kids .about-history__years--continuation > article {
    grid-column: auto !important;
    width: auto;
    max-width: none;
    height: auto;
    min-height: 0;
    padding-left: 0;
    border-left: 0 !important;
}

.page-about .about-history--kids .about-history__years strong,
.page-about .about-history--kids .about-history__year--featured strong {
    display: block;
    margin-bottom: 18px;
    color: #354752;
    font-size: 40px !important;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0 !important;
    text-transform: uppercase;
}

.page-about .about-history--kids .about-history__years p,
.page-about .about-history--kids .about-history__year--featured p {
    margin: 0;
    color: #354752;
    font-size: 16px !important;
    font-weight: 400;
    line-height: normal !important;
}

.page-about .about-history--kids .about-history__emblem {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    grid-column: 2;
    grid-row: 2;
    display: block !important;
    width: 460px;
    height: 330px;
    object-fit: contain;
    object-position: center;
    background: #27313d;
}

@media (max-width: 1199.98px) {
    .page-about .about-history--kids .about-history__container {
        grid-template-columns: 1fr;
        column-gap: 32px;
    }

    .page-about .about-history--kids .about-history__controls {
        grid-column: 1;
        justify-self: end;
        margin-bottom: 32px !important;
    }

    .page-about .about-history--kids .about-history-swiper {
        grid-column: 1;
        grid-row: 3;
    }

    .page-about .about-history--kids .about-history__emblem {
        grid-column: 1;
        grid-row: 4;
        width: min(100%, 460px);
        height: auto;
        aspect-ratio: 460 / 330;
        margin-top: 32px;
    }

    .page-about .about-history--kids .about-history__years,
    .page-about .about-history--kids .about-history__years--continuation {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 959.98px) {
    .page-about .about-history--kids,
    .page-about .about-history.about-history--kids {
        padding: 48px 0 64px !important;
    }

    .page-about .about-history--kids .about-history__intro {
        padding-bottom: 24px;
    }

    .page-about .about-history--kids .about-history__intro h2 {
        margin-bottom: 24px !important;
        font-size: 28px !important;
        line-height: 36px !important;
    }

    .page-about .about-history--kids .about-history__intro p {
        font-size: 18px !important;
    }

    .page-about .about-history--kids .about-history__controls {
        grid-row: 2;
        justify-self: start;
        margin: 0 0 32px !important;
        top: auto !important;
    }

    .page-about .about-history--kids .about-history__years,
    .page-about .about-history--kids .about-history__years--continuation {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-about .about-history--kids .about-history__years article:nth-child(1),
    .page-about .about-history--kids .about-history__years article:nth-child(2) {
        display: block !important;
    }
}

.page-about .about-principles--kids,
.page-about .about-principles.about-principles--kids {
    height: auto !important;
    min-height: 0 !important;
    padding: 150px 0 128px !important;
    background: #fff;
    color: #272f39;
}

.page-about .about-principles--kids h2 {
    max-width: 700px;
    margin: 0 0 24px !important;
    color: #272f39;
    font-size: 40px !important;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-about .about-principles--kids .about-principles__lead {
    max-width: 700px;
    margin: 0 0 64px !important;
    color: #272f39;
    font-size: 24px !important;
    font-weight: 500;
    line-height: normal !important;
    text-transform: uppercase;
}

.page-about .about-principles--kids .about-principles__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
    align-items: stretch;
}

.page-about .about-principles--kids .about-principles__grid article {
    grid-column: span 2;
    align-self: stretch;
    height: 100%;
    min-height: 150px;
    padding-left: 20px;
    border-left-style: solid;
    border-left-color: #f0e65a;
    color: #272f39;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.page-about .about-principles--kids .about-principles__grid article:nth-child(1) {
    grid-column: 1 / span 2;
    border-left-width: 10px;
    border-left-color: #f0e65a;
}

.page-about .about-principles--kids .about-principles__grid article:nth-child(2) {
    grid-column: 3 / span 2;
    border-left-width: 2px;
    border-left-color: #f0e65a;
}

.page-about .about-principles--kids .about-principles__grid article:nth-child(3) {
    grid-column: 5 / span 2;
    border-left-width: 4px;
    border-left-color: #f0e65a;
}

.page-about .about-principles--kids .about-principles__grid strong {
    grid-column: 8 / span 5;
    max-width: none;
    color: #354752;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

@media (max-width: 959.98px) {
    .page-about .about-principles--kids,
    .page-about .about-principles.about-principles--kids {
        padding: 64px 0 !important;
    }

    .page-about .about-principles--kids h2 {
        font-size: 28px !important;
        line-height: 36px;
        margin-bottom: 16px !important;
    }

    .page-about .about-principles--kids .about-principles__lead {
        margin-bottom: 32px !important;
        font-size: 18px !important;
    }

    .page-about .about-principles--kids .about-principles__grid {
        grid-template-columns: 1fr;
    }

    .page-about .about-principles--kids .about-principles__grid article,
    .page-about .about-principles--kids .about-principles__grid article:nth-child(1),
    .page-about .about-principles--kids .about-principles__grid article:nth-child(2),
    .page-about .about-principles--kids .about-principles__grid article:nth-child(3),
    .page-about .about-principles--kids .about-principles__grid strong {
        grid-column: 1;
        min-height: 0;
    }
}

.page-about .about-advantages--kids,
.page-about .about-advantages.about-advantages--kids {
    min-height: 0 !important;
    padding: 64px 0 128px !important;
    background: rgba(240, 230, 90, 0.1) !important;
    color: #272f39;
}

.page-about .about-advantages--kids h2 {
    max-width: 700px;
    margin: 0 0 64px !important;
    color: #272f39;
    font-size: 40px !important;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-about .about-advantages--kids .about-advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 64px;
}

.page-about .about-advantages--kids .about-advantages__grid article {
    position: relative;
    max-width: 340px;
    min-height: 172px;
}

.page-about .about-advantages--kids .about-advantages__grid span {
    position: absolute;
    z-index: 0;
    top: 42px;
    left: 0;
    color: rgba(240, 230, 90, 0.5);
    font-size: 150px;
    font-weight: 700;
    line-height: 0.8;
    text-transform: uppercase;
}

.page-about .about-advantages--kids .about-advantages__grid h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 18px;
    color: #354752;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.page-about .about-advantages--kids .about-advantages__grid p {
    position: relative;
    z-index: 1;
    max-width: none;
    margin: 0;
    color: #354752;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

@media (max-width: 959.98px) {
    .page-about .about-advantages--kids,
    .page-about .about-advantages.about-advantages--kids {
        padding: 48px 0 64px !important;
    }

    .page-about .about-advantages--kids h2 {
        margin-bottom: 32px !important;
        font-size: 28px !important;
        line-height: 36px;
    }

    .page-about .about-advantages--kids .about-advantages__grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }

    .page-about .about-advantages--kids .about-advantages__grid article {
        max-width: none;
    }

    .page-about .about-advantages--kids .about-advantages__grid span {
        font-size: 110px;
    }
}

.page-about .about-safety--kids,
.page-about .about-safety.about-safety--kids {
    min-height: 0 !important;
    padding: 110px 0 128px !important;
    background: #fff;
    color: #272f39;
}

.page-about .about-safety--kids h2 {
    max-width: 700px;
    margin: 0 0 64px !important;
    color: #272f39;
    font-size: 40px !important;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-about .about-safety--kids .about-safety__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.page-about .about-safety--kids .about-safety__grid article {
    display: block;
    min-height: 0;
    padding: 36px;
    border-radius: 10px;
    background: rgba(171, 202, 233, 0.5);
    color: #354752;
    font-size: 24px;
    font-weight: 500;
    line-height: normal;
}

.page-about .about-safety--kids .about-safety__grid article strong {
    display: inline;
}

.page-about .about-safety--kids .about-safety__grid article:nth-child(2) {
    background: rgba(240, 230, 90, 0.5);
}

.page-about .about-safety--kids .about-safety__grid article:nth-child(3) {
    background: #d9d9d9;
}

.page-about .about-safety--kids .about-safety__grid strong {
    font-weight: 700;
}

@media (max-width: 959.98px) {
    .page-about .about-safety--kids,
    .page-about .about-safety.about-safety--kids {
        padding: 64px 0 !important;
    }

    .page-about .about-safety--kids h2 {
        margin-bottom: 32px !important;
        font-size: 28px !important;
        line-height: 36px;
    }

    .page-about .about-safety--kids .about-safety__grid {
        grid-template-columns: 1fr;
    }

    .page-about .about-safety--kids .about-safety__grid article {
        font-size: 18px;
    }
}

.page-about .reviews-section,
.page-about .stories-section {
    background: var(--clinic-yellow-soft);
}

.page-about .ratings-section {
    min-height: 0 !important;
    padding: 128px 0 !important;
    background: rgba(240, 230, 90, 0.5) !important;
    color: #272f39;
}

.page-about .ratings-section h2,
.page-about .ratings-section .ratings-title {
    max-width: 700px;
    margin: 0 0 64px !important;
    color: #272f39;
    font-size: 40px !important;
    font-weight: 500;
    line-height: 56px !important;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-about .ratings-grid,
.page-about .ratings-grid--count-4 {
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 20px;
}

.page-about .rating-card {
    height: 220px;
    min-height: 220px;
    padding: 36px;
    border-radius: 10px;
    background: #fff;
    color: #272f39;
}

.page-about .rating-card__logo {
    flex: 0 0 auto;
    height: auto;
}

.page-about .rating-card__logo img {
    max-height: 38px;
}

.page-about .rating-card__logo--forbes img {
    width: 100px;
}

.page-about .rating-card__logo--yandex img {
    width: 100px;
}

.page-about .rating-card__logo--2gis img {
    width: 100px;
}

.page-about .rating-card__logo--prodoctorov img {
    width: 219px;
}

.page-about .rating-card__award-text,
.page-about .rating-card:first-child strong {
    max-width: 388px;
    margin: 0;
    color: #272f39;
    font-size: 18px !important;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-about .rating-card__score {
    display: flex;
    align-items: baseline;
    gap: 0;
    margin-top: auto;
}

.page-about .rating-card__score strong,
.page-about .rating-card:not(:first-child) strong {
    margin: 0;
    color: #272f39;
    font-size: 40px !important;
    font-weight: 500;
    line-height: 0.7;
    text-transform: uppercase;
}

.page-about .rating-card__score span,
.page-about .rating-card span {
    margin: 0;
    color: #272f39;
    font-size: 24px;
    font-weight: 500;
    line-height: 0.7;
    text-transform: uppercase;
}

@media (max-width: 1199.98px) {
    .page-about .ratings-section {
        padding: 64px 0 !important;
    }

    .page-about .ratings-section h2,
    .page-about .ratings-section .ratings-title {
        margin-bottom: 32px !important;
        font-size: 28px !important;
        line-height: 36px !important;
    }

    .page-about .ratings-grid,
    .page-about .ratings-grid--count-4 {
        grid-template-columns: 1fr 1fr;
    }

    .page-about .rating-card:first-child,
    .page-about .rating-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 699.98px) {
    .page-about .ratings-grid,
    .page-about .ratings-grid--count-4 {
        grid-template-columns: 1fr;
    }

    .page-about .rating-card,
    .page-about .rating-card:first-child,
    .page-about .rating-card:last-child {
        grid-column: auto;
    }
}

.swiper-slide > img {
    border-radius: 10px;
}

.swiper-slide .person-card__image,
.swiper-slide .story-comparison,
.swiper-slide .about-doctor-card,
.swiper-slide .ambassador-card,
.swiper-slide .dentfriend-ambassador-card,
.swiper-slide .dentfriend-doctor-card,
.swiper-slide .doctor-video-review__media,
.swiper-slide .testimonials-video-card,
.swiper-slide .blog-card,
.swiper-slide .home-blog-card,
.swiper-slide .offer-card,
.swiper-slide .media-card,
.swiper-slide .doctor-text-review,
.swiper-slide .testimonials-text-card,
.swiper-slide .media-blog-mosaic,
.dentfriend-gallery .swiper-slide img {
    overflow: hidden;
    border-radius: 10px;
}

.page-services .home-services-hero {
    padding: 0 0 64px;
}

.page-services .home-services-hero__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(620px, 100%), 1fr));
    column-gap: clamp(32px, 5.21vw, 100px);
    row-gap: 36px;
    align-items: start;
}

.page-services .home-services-heading {
    max-width: 700px;
    min-height: 168px;
    margin: 0;
    padding-left: 10px;
    border-left: 10px solid #f0e65a;
    color: #272f39;
    font-size: 40px;
    font-weight: 500;
    line-height: 56px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-services .home-services-hero__copy {
    display: grid;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    column-gap: clamp(20px, 2.08vw, 40px);
    align-items: end;
    width: 100%;
    height: 168px;
}

.page-services .home-services-hero__copy p {
    width: 100%;
    max-width: 340px;
    margin: 0;
    color: #272f39;
    font-size: 16px;
    line-height: 22px;
}

.page-services .home-services-more {
    display: inline-block;
    justify-self: end;
    color: #272f39;
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    white-space: nowrap;
}

.page-services .home-services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 20px;
    align-items: stretch;
}

.page-services .home-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    min-height: 400px;
    padding: 28px 24px 176px 28px;
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    background: #fbf7ce;
    color: #272f39;
}

.page-services .home-service-card:hover {
    background: #fbf7ce;
}

.page-services .home-service-card strong,
.page-services .home-service-card span {
    position: relative;
    z-index: 1;
}

.page-services .home-service-card strong {
    display: block;
    max-width: none;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    text-transform: uppercase;
}

.page-services .home-service-card span {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    line-height: 24px;
}

.page-services .home-service-card img {
    position: absolute;
    top: auto;
    right: 12px;
    bottom: 8px;
    left: auto;
    width: auto;
    max-width: 64%;
    height: auto;
    max-height: 190px;
    object-fit: contain;
    pointer-events: none;
}

.page-services .home-service-card--kids {
    grid-column: auto;
    min-height: 400px;
    padding: 28px 24px 120px 28px;
    background: #e4dacf;
}

.page-services .home-service-card--kids:hover {
    background: #e4dacf;
}

.page-services .home-service-card--kids strong {
    max-width: 230px;
    font-size: 24px;
    line-height: 32px;
}

.page-services .home-service-card--kids img {
    right: 20px;
    bottom: 32px;
    width: min(230px, 72%);
    max-height: 88px;
}

.page-services .home-service-card[data-service-card="kids-service-surgery"] img {
    transform: scaleX(-1);
}

@media (max-width: 1199.98px) {
    .page-services .home-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-services .home-services-hero__container {
        display: block;
    }

    .page-services .home-services-heading {
        min-height: 0;
        font-size: 28px;
        line-height: 36px;
    }

    .page-services .home-services-hero__copy {
        display: block;
        height: auto;
        padding-top: 24px;
    }

    .page-services .home-services-more {
        display: inline-block;
        margin-top: 24px;
    }
}

@media (max-width: 699.98px) {
    .page-services .home-services-grid {
        grid-template-columns: 1fr;
    }
}

.first-visit-video,
.clinic-video-mosaic,
.crew-intro-video,
.crew-card,
.about-doctor-card,
.person-card__image,
.story-comparison,
.ambassador-card,
.dentfriend-ambassador-card,
.dentfriend-doctor-card,
.doctor-video-review__media,
.testimonials-video-card,
.tech-card,
.blog-card,
.home-blog-card,
.faq-doctor-card img,
.media-blog-card,
.dentfriend-blog-card,
.dentfriend-gallery .swiper-slide img,
.kids-dentfriend-swiper .swiper-slide img,
.doctor-detail__video,
.doctor-profile__picture,
.page-doctor-detail .appointment-collage,
.page-doctor-detail .map-frame {
    overflow: hidden;
    border-radius: 10px;
}

.page-doctor-detail .doctor-profile__appointment {
    background: #F0E65A;
    color: #272F39;
    border-radius: 5px;
}

.page-doctor-detail .doctor-qualification__competencies {
    border-left-color: #F0E65A;
}

.page-doctor-detail .doctor-reviews {
    background: rgba(240, 230, 90, 0.1);
}

.page-doctor-detail .doctor-text-review {
    background: rgba(240, 230, 90, 0.5);
    border-radius: 10px;
}

.page-doctor-detail .doctor-reviews__button {
    background: #F0E65A;
    color: #272F39;
    border-radius: 10px;
}

.page-first-visit .first-visit-page__intro-column--warm,
.page-first-visit .first-visit-page__intro-column--sage {
    border-left-color: #F0E65A;
}

.page-first-visit .first-visit-page__video,
.page-first-visit .appointment-collage,
.page-first-visit .map-frame {
    overflow: hidden;
    border-radius: 10px;
}

.page-first-visit .first-visit-treatment .treatment-card,
.page-first-visit .first-visit-treatment .treatment-card::before {
    background: rgba(240, 230, 90, 0.3);
}

.page-first-visit .treatment-button,
.page-first-visit .clinic-webform .clinic-btn--wide {
    background: #F0E65A;
    color: #272F39;
}

.services-mega-menu {
    color: #272F39;
    background: rgba(251, 247, 205, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.services-mega-menu__item {
    border-left-color: #F0E65A;
}

.page-testimonials .testimonials-video-card {
    overflow: hidden;
    border-radius: 10px;
}

.page-testimonials .testimonials-review-button {
    background: #F0E65A;
    color: #272F39;
    border-radius: 10px;
}

.page-testimonials .testimonials-text-card {
    background: rgba(240, 230, 90, 0.5);
    color: #354752;
    border-radius: 10px;
}

.page-testimonials .testimonials-text-controls button {
    background: rgba(240, 230, 90, 0.5) !important;
}

.page-testimonials .appointment-collage,
.page-testimonials .map-frame,
.page-testimonials .first-visit-video {
    overflow: hidden;
    border-radius: 10px;
}

.page-blog-video .blog-video-card__link,
.page-blog-video .blog-video-card__media,
.page-blog-video .media-blog-card {
    overflow: hidden;
    border-radius: 10px;
}

.page-blog-video .blog-video-card strong,
.page-blog-video .media-blog-card strong {
    background: #F0E65A;
    color: #272F39;
}

.page-blog-video .blog-video-filter button.is-active {
    color: #272F39 !important;
}

.page-blog-video .appointment-collage,
.page-blog-video .map-frame,
.page-blog-video .first-visit-video {
    overflow: hidden;
    border-radius: 10px;
}

.page-dentfriend .dentfriend-hero,
.page-dentfriend .dentfriend-wide-video,
.page-dentfriend .first-visit-video,
.page-dentfriend .appointment-collage,
.page-dentfriend .map-frame,
.page-dentfriend .tech-card,
.page-dentfriend .clinic-video-mosaic {
    overflow: hidden;
    border-radius: 10px;
}

.page-dentfriend .dentfriend-workshop,
.page-dentfriend .dentfriend-teens {
    padding-bottom: 128px;
}

.page-dentfriend .dentfriend-workshop {
    padding-top: 128px;
}

.page-dentfriend .dentfriend-workshop__text {
    font-size: 24px;
    line-height: 32px;
}

.page-dentfriend .dentfriend-tasks {
    background: rgba(171, 202, 233, 0.5);
    color: #272F39;
}

.page-dentfriend .dentfriend-task-grid strong {
    color: #fff;
}

.page-dentfriend .dentfriend-plan-grid article {
    overflow: hidden;
    border-radius: 10px;
}

.page-dentfriend .dentfriend-plan-grid small,
.page-dentfriend .dentfriend-plan-grid h3,
.page-dentfriend .dentfriend-plan-grid strong {
    border-left-color: #ABCAE9;
}

.page-dentfriend .dentfriend-plan-grid p {
    border-left-color: rgba(171, 202, 233, 0.5);
}

.page-dentfriend .dentfriend-plan-cta .clinic-btn {
    background: #F0E65A;
    color: #272F39;
    border-radius: 10px;
}

.page-dentfriend .dentfriend-blog-card {
    border-radius: 10px;
}

.page-dentfriend .dentfriend-blog-card strong {
    background: #F0E65A;
    color: #272F39;
}

.page-dentfriend .dentfriend-contacts,
.page-dentfriend .about-contacts {
    background: rgba(240, 230, 90, 0.3);
}

.page-dentfriend .clinic-webform .clinic-btn--wide {
    background: #F0E65A;
    color: #272F39;
    border-radius: 10px;
}

.page-dentfriend .dentfriend-blog-swiper {
    overflow: hidden;
}
.page-dentfriend .dentfriend-blog-swiper .swiper-slide {
    min-width: 0;
    overflow: hidden;
}
@media (min-width: 960px) {
    .page-dentfriend .dentfriend-blog-grid {
        height: auto;
        aspect-ratio: 1420 / 800;
    }
    .page-dentfriend .dentfriend-blog-grid .dentfriend-blog-card {
        display: block;
    }
    .page-dentfriend .dentfriend-blog-grid .dentfriend-blog-card--1 {
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
        width: 49.3%;
        height: 48.75%;
    }
    .page-dentfriend .dentfriend-blog-grid .dentfriend-blog-card--2 {
        top: 0;
        left: auto;
        right: 0;
        bottom: auto;
        width: 40.85%;
        height: 40.4%;
    }
    .page-dentfriend .dentfriend-blog-grid .dentfriend-blog-card--3 {
        top: auto;
        left: 0;
        right: auto;
        bottom: 0;
        width: 40.85%;
        height: 40.4%;
    }
    .page-dentfriend .dentfriend-blog-grid .dentfriend-blog-card--4 {
        top: auto;
        left: auto;
        right: 0;
        bottom: 0;
        width: 49.3%;
        height: 48.75%;
    }
}
@media (max-width: 959.98px) {
    .page-dentfriend .dentfriend-blog-grid {
        height: auto;
        aspect-ratio: 1.12;
    }
    .page-dentfriend .dentfriend-blog-grid .dentfriend-blog-card {
        display: none;
    }
    .page-dentfriend .dentfriend-blog-grid .dentfriend-blog-card--1 {
        display: block;
        top: 0;
        left: 0;
        right: auto;
        bottom: auto;
        width: 100%;
        height: 100%;
    }
}

.video-trigger .play-button:not(.video-play-button--mockup) {
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
}
.video-trigger .play-button:not(.video-play-button--mockup)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 29%;
    height: 29%;
    background: currentColor;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    transform: translate(-43%, -50%);
}
