/* Mobile refinements from the revised Figma frames, November 2026. */
.ratings-ribbon{width:100%!important;overflow:hidden;grid-column:1/-1;position:relative;flex-shrink:0;--rating-gap:14px}
.ratings-track{display:flex;width:max-content;animation:ratings-travel 32s linear infinite}
.ratings-group{display:flex;gap:var(--rating-gap);padding-right:var(--rating-gap);flex-shrink:0}
.rating-pill{display:flex;align-items:center;gap:14px;background:white;border-radius:8px;padding:12px 18px;min-width:210px;height:60px;font-size:24px;white-space:nowrap}
.rating-pill img{width:112px;height:30px;object-fit:contain;max-width:none}
.rating-pill span{color:#ff9000;font-size:30px}.rating-pill b{font-weight:800}
.ratings-ribbon:hover .ratings-track{animation-play-state:paused}
@keyframes ratings-travel{to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.ratings-track{animation:none}.ratings-ribbon{overflow:auto}}
@media(max-width:639.98px){
#m-1 [data-node-id="1:864"],#m-1 [data-node-id="1:876"]{inset:0!important;width:100%!important;height:100%!important;border-radius:inherit!important;overflow:hidden}
#m-1 [data-node-id="1:862"],#m-1 [data-node-id="1:873"]{overflow:hidden}
#m-1 [data-node-id="1:864"] img,#m-1 [data-node-id="1:876"] img{object-fit:cover!important}
#m-1 [data-node-id="1:868"]{width:calc(94 * var(--u))!important;height:calc(68 * var(--u))!important;left:calc(22 * var(--u))!important;top:calc(108 * var(--u))!important}
#m-1 [data-node-id="1:872"]{width:calc(86 * var(--u))!important;height:calc(80 * var(--u))!important}
#m-1 [data-node-id="1:880"]{width:calc(288 * var(--u))!important;height:calc(150 * var(--u))!important}
#m-1 [data-node-id="1:883"]{width:100%!important;height:100%!important}
#m-1 [data-node-id="1:882"]{z-index:1}
#m-1 [data-node-id="1:881"]{display:none}
#m-1 .ratings-ribbon{margin-top:calc(4 * var(--u))}
.phone-stages{width:100%;display:grid;gap:calc(12 * var(--u))}
.phone-stages details{background:white;border-radius:calc(12 * var(--u));overflow:hidden}
.phone-stages summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:calc(14 * var(--u)) calc(12 * var(--u));color:#2390c0;font-size:calc(15 * var(--u));font-weight:600;cursor:pointer}
.phone-stages summary::-webkit-details-marker{display:none}
.phone-stages summary:after{content:'⌄';font-size:22px;line-height:1}
.phone-stages details[open]>summary{background:#2390c0;color:white}
.phone-stages details[open]>summary:after{transform:rotate(180deg)}
.phone-stages details>[data-node-id]{width:100%!important}
.mobile-stage-viewport,.mobile-stage-tabs{display:none!important}
#m-2 [data-name="Работаем даже со сложными случаями"] [data-name^="Медиа"]{transform:scale(1.16);transform-origin:center}
#m-3 [data-node-id="17:10"]{height:auto!important;min-height:calc(64 * var(--u));overflow:visible!important}
#m-3 [data-node-id="1:962"]{position:relative!important;inset:auto!important;line-height:1.3!important}
#m-3 .sed-card{height:calc(423 * var(--u))!important;isolation:isolate;border-radius:calc(12 * var(--u))!important}
#m-3 .sed-card .sed-photo{inset:0!important;width:100%!important;height:100%!important;object-fit:cover;border-radius:inherit;z-index:-2}
#m-3 .sed-card:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,59,87,0) 0%,rgba(8,59,87,.05) 35%,rgba(8,59,87,.92) 68%,#083b57 100%);z-index:-1}
#m-3 .sed-copy{left:calc(20 * var(--u));right:calc(20 * var(--u));top:auto!important;bottom:calc(46 * var(--u))!important}
#m-3 .sed-copy h3{font:700 calc(20 * var(--u))/1.2 'Tilda Sans',sans-serif;margin:0 0 calc(7 * var(--u))}
#m-3 .sed-copy p{font:400 calc(16 * var(--u))/1.2 'Tilda Sans',sans-serif;margin:0}
.phone-sed-dots{position:absolute;left:calc(20 * var(--u));right:calc(20 * var(--u));bottom:calc(30 * var(--u));display:flex;gap:calc(7 * var(--u));height:calc(3 * var(--u))}
.phone-sed-dots button{position:relative;flex:1;border-radius:8px;background:#ffffff66;height:100%}
.phone-sed-dots button:before{content:'';position:absolute;inset:-12px 0}
.phone-sed-dots button[aria-pressed=true]{background:white}
#m-3 [data-node-id="83:34"]{display:none!important}
#m-3 [data-name="Преимущество седации"]{height:auto!important;padding:calc(14 * var(--u)) calc(12 * var(--u));display:flex;flex-direction:column;gap:calc(10 * var(--u))}
#m-3 [data-name="Преимущество седации"]>p{position:relative!important;inset:auto!important;width:100%!important}
#m-3 [data-name="Преимущество седации"]>p:first-child{padding-left:calc(30 * var(--u));font-weight:700}
#m-4{height:auto!important}
#m-4>div{height:auto!important;display:flex;flex-direction:column;gap:calc(12 * var(--u));padding:calc(32 * var(--u)) calc(16 * var(--u))}
#m-4>div>[data-node-id]{position:relative!important;top:auto!important;left:auto!important;width:100%!important;flex-shrink:0}
#m-4 [data-node-id="12:38"]{height:auto!important;padding:calc(12 * var(--u));display:flex;flex-direction:column;gap:calc(10 * var(--u));border-radius:calc(14 * var(--u))!important}
#m-4 [data-node-id="1:1002"]{position:relative!important;inset:auto!important;width:100%!important;line-height:calc(22 * var(--u));font-weight:700;margin-bottom:calc(2 * var(--u))}
#m-4 .phone-treatment-card{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;display:flex;flex-direction:column;padding:calc(10 * var(--u)) calc(12 * var(--u));gap:calc(6 * var(--u))}
#m-4 .phone-treatment-card>p{position:relative!important;inset:auto!important;width:100%!important}
#m-4 .phone-treatment-card>p:last-child{order:-1;margin-bottom:calc(1 * var(--u))}
#m-4 .phone-treatment-card>p:first-child{font-size:calc(16 * var(--u));font-weight:700;line-height:calc(20 * var(--u))}
#m-4 .phone-treatment-card>p:nth-child(2){font-size:calc(14 * var(--u));line-height:calc(18 * var(--u));font-weight:400}
#m-4 [data-node-id="83:35"]{display:none!important}
#m-4 [data-node-id="1:1001"],#m-4 [data-node-id="1:1001"] span{font-family:'Tilda Sans',sans-serif!important}
#m-7 .phone-review{height:calc(466 * var(--u))!important;position:relative;background:white;overflow:hidden}
#m-7 .phone-review>h3{position:absolute;left:calc(14 * var(--u));right:calc(14 * var(--u));top:calc(16 * var(--u));font:500 calc(18 * var(--u))/calc(23 * var(--u)) 'Tilda Sans',sans-serif;margin:0}
.phone-review-body{position:absolute;top:calc(99 * var(--u));left:calc(6 * var(--u));right:calc(6 * var(--u));height:calc(271 * var(--u));border-radius:calc(10 * var(--u));background:#f5f5f5;padding:calc(10 * var(--u)) calc(8 * var(--u))}
.phone-review-person{display:grid;grid-template-columns:calc(100 * var(--u)) 1fr;gap:calc(14 * var(--u))}
.phone-review-portrait{width:calc(100 * var(--u));height:calc(118 * var(--u));object-fit:cover;border-radius:calc(12 * var(--u))}
.phone-review-person strong{font-size:calc(17 * var(--u));line-height:calc(21 * var(--u));font-weight:700;display:block}
.phone-review-person time{display:block;font-size:calc(12 * var(--u));line-height:calc(16 * var(--u));color:#565656;margin-top:calc(8 * var(--u))}
.phone-review-person .review-stars{color:#f4c11b;font-size:calc(15 * var(--u));line-height:calc(19 * var(--u));margin-top:calc(6 * var(--u))}
.phone-review-brand{display:flex;align-items:center;gap:calc(4 * var(--u));margin-top:calc(20 * var(--u));height:calc(29 * var(--u))}
.phone-review-brand img{width:auto;max-width:calc(112 * var(--u));height:100%;object-fit:contain}
.phone-review-brand .review-map-pin{width:calc(13 * var(--u));height:calc(15 * var(--u))}
.phone-review[data-review="0"] .phone-review-brand img:not(.review-map-pin){height:calc(22 * var(--u))}
.phone-review-copy{position:absolute;left:calc(8 * var(--u));right:calc(8 * var(--u));top:calc(144 * var(--u));font:400 calc(12 * var(--u))/1.15 'Tilda Sans',sans-serif!important}
.phone-review[data-review="2"] .phone-review-copy{font-size:calc(11 * var(--u))!important}
.phone-review-results{position:absolute;left:calc(6 * var(--u));right:calc(6 * var(--u));bottom:calc(6 * var(--u));display:grid;grid-template-columns:1fr 1fr;gap:calc(8 * var(--u));height:calc(80 * var(--u))}
.phone-review-results>div{position:relative;overflow:hidden;border-radius:calc(8 * var(--u))}
.phone-review-results img{position:absolute;width:100%;height:100%;object-fit:cover}
.phone-review[data-review="1"] .phone-review-results>div:nth-child(2) img{height:167.5%;top:-52.62%;object-fit:fill}
.phone-review[data-review="2"] .phone-review-results>div:first-child img{height:204.32%;width:121.98%;left:-10.99%;top:-103.75%;object-fit:fill}
#m-8.phone-guarantees{height:auto!important}
#m-8.phone-guarantees>.source-adaptive,#m-8.phone-guarantees>.shared-guarantee-cta{display:none!important}
#m-8.phone-guarantees>div:first-child{display:flex!important}
#m-5 [data-source-element="1771508040991"]>*{width:100%!important;text-align:left!important}
}
@media(max-width:639.98px){#m-1 [data-node-id="1:881"]{display:block!important;z-index:1}#m-1 [data-node-id="1:882"]{top:calc(74 * var(--u))!important}}
@media(max-width:639.98px){
/* These square source exports encode the Figma-wide image; restore that display geometry. */
.phone-review[data-review="0"] .phone-review-results img{object-fit:fill}
#m-7 [data-node-id="88:43"]{gap:0!important;justify-content:space-between;height:calc(31 * var(--u))!important}
#m-7 [data-node-id="88:44"]{gap:calc(3 * var(--u))!important}
#m-7 [data-node-id="88:44"]>div{width:calc(38 * var(--u))!important;height:calc(4 * var(--u))!important}
#m-7 [data-node-id="88:48"]{gap:calc(14 * var(--u))!important}
#m-7 .figma-review-mobile{width:calc(59 * var(--u));height:calc(31 * var(--u))}
#m-7 .figma-review-mobile>div:first-child{width:calc(59 * var(--u))!important;height:calc(31 * var(--u))!important;border-radius:calc(4 * var(--u))!important}
#m-7 .figma-review-mobile>div:nth-child(2){margin-top:calc(4 * var(--u))!important}
}
@media(min-width:640px) and (max-width:1199.98px){
.tb-clinic-original-grid>[data-original-node="1:880"]{grid-column:1/-1;height:180px!important}
.tb-clinic-original-grid [data-original-node="1:883"]{width:100%!important;height:100%!important}
.tb-clinic-original-grid [data-original-node="1:881"]{z-index:1}
}
@media(max-width:639.98px){#m-3 .sed-card:not([data-sedation="0"]) .sed-copy p{width:calc(232 * var(--u))}#m-3 .sed-card[data-sedation="2"] .sed-copy h3{width:calc(192 * var(--u))}}
/* v17: exact mobile clinic crops and stable controls. */
.rating-yell .yell-brand{display:flex;align-items:center;gap:8px;width:112px;color:#252525}
.rating-yell .yell-brand strong{font-size:28px;font-weight:700}
.rating-yell .yell-symbol{display:block;position:relative;width:31px;height:29px;overflow:hidden;flex:none}
.rating-yell .yell-symbol img{position:absolute;width:343.01%;height:100%;left:9.14%;top:0;max-width:none;object-fit:fill}
@media(max-width:639.98px){
#m-1 [data-node-id="1:864"]{left:calc(82 * var(--u))!important;right:0!important;top:0!important;bottom:0!important;width:calc(206 * var(--u))!important;height:100%!important}
#m-1 [data-node-id="1:876"]{left:calc(96 * var(--u))!important;right:0!important;top:0!important;bottom:0!important;width:calc(192 * var(--u))!important;height:100%!important}
#m-1 [data-node-id="1:876"] [style*="linear-gradient"]{background-image:linear-gradient(to right,white 17.489%,transparent 82.511%)!important}
#m-1 [data-node-id="1:868"]{left:calc(12 * var(--u))!important;top:calc(98 * var(--u))!important;width:calc(114 * var(--u))!important;height:calc(78 * var(--u))!important}
#m-1 [data-node-id="1:868"] img{inset:auto!important;top:0!important;left:.44%!important;width:102.63%!important;height:auto!important;object-fit:initial!important}
#m-1 [data-node-id="1:872"]{left:calc(28 * var(--u))!important;top:calc(98 * var(--u))!important;width:calc(86 * var(--u))!important;height:calc(78 * var(--u))!important}
#m-1 [data-node-id="1:872"] img{top:0!important;left:-18.02%!important;width:268.02%!important;height:auto!important}
.phone-stages summary:after{content:'';display:block;flex:0 0 8px;width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:0 4px 4px 8px}
.phone-stages details[open]>summary:after{transform:rotate(225deg);margin-top:5px;margin-bottom:0}
#m-2 [data-name="Технология и результат"]>[data-name="Frame"]{height:calc(17 * var(--u))!important;width:calc(17 * var(--u))!important;top:calc(10.5 * var(--u))!important}
#m-2 [data-name="Технология и результат"]>[data-name="Frame"] img,#m-3 [data-name="Преимущество седации"]>[data-name="Frame"] img{width:100%!important;height:auto!important;object-fit:contain!important}
#m-3 [data-name="Преимущество седации"]>[data-name="Frame"]{height:calc(20 * var(--u))!important;width:calc(20 * var(--u))!important;top:calc(14 * var(--u))!important}
#m-4 [data-node-id="1:1015"] img,#m-4 [data-node-id="1:1019"] img,#m-4 [data-node-id="1:1023"] img,#m-4 [data-node-id="1:1027"] img{height:auto!important}
#m-4 [data-node-id="1:1027"]{width:calc(86 * var(--u))!important;height:calc(78 * var(--u))!important;left:calc(194 * var(--u))!important;top:calc(13 * var(--u))!important}
#m-4 [data-node-id="1:1027"] img{width:268.02%!important;left:-18.02%!important;top:0!important}
#m-4 [data-node-id="1:1023"]{width:calc(100 * var(--u))!important;height:calc(67 * var(--u))!important;left:calc(182 * var(--u))!important;top:calc(6 * var(--u))!important}
#m-4 [data-node-id="1:1023"] img{inset:0!important;width:100%!important;height:auto!important}
#m-7 .figma-review-mobile{display:block!important;position:relative!important;color:#2390c0}
#m-7 .figma-review-mobile>div:nth-child(2){display:none!important}
#m-7 .figma-review-mobile:after{content:'';position:absolute;top:50%;left:50%;width:calc(22 * var(--u));height:calc(16.8673 * var(--u));transform:translate(-50%,-50%);background:currentColor;mask:url('assets/v16/a5f23.svg') center/contain no-repeat;pointer-events:none}
#m-7 [data-node-id="88:49"]:after{transform:translate(-50%,-50%) scaleX(-1)}
#m-7 .figma-review-mobile:hover,#m-7 .figma-review-mobile:focus-visible{color:white}
.mobile .word-highlight-heading{height:auto!important;min-height:0!important;overflow:visible!important;padding-block:calc(3 * var(--u))!important}
.mobile .word-highlight-heading>p,#m-3 .word-highlight-heading [data-node-id="1:962"]{position:relative!important;inset:auto!important;height:auto!important;width:100%!important;line-height:1.35!important}
.mobile .word-highlight-heading mark{background:#9fe0ff;color:#252525;border-radius:calc(4 * var(--u));padding:calc(2 * var(--u)) calc(5 * var(--u));box-decoration-break:clone;-webkit-box-decoration-break:clone}
}
.tablet-layout h1 mark,.tablet-layout h2 mark,.contacts-artboard h2 span{padding:2px 6px;box-decoration-break:clone;-webkit-box-decoration-break:clone;border-radius:4px}
@media(max-width:639.98px){
#m-4 [data-node-id="1:1015"]{height:calc(74 * var(--u))!important;top:calc(15 * var(--u))!important}
#m-4 [data-node-id="1:1015"] img{width:242%!important;left:-121%!important;top:0!important;height:auto!important}
#m-4 [data-node-id="1:1019"] img{width:275%!important;left:-28%!important;top:-96%!important;height:auto!important}
}
/* v18: breathing room around the hero highlight; smooth stage disclosure. */
@media(max-width:639.98px){
#m-0 .word-highlight-heading>p{line-height:1.55!important}
#m-0 .word-highlight-heading mark{padding:calc(3 * var(--u)) calc(6 * var(--u));box-decoration-break:clone;-webkit-box-decoration-break:clone}
.phone-stages summary:after{transition:transform .36s cubic-bezier(.22,1,.36,1)}
.phone-stages details[data-expanded="false"]>summary{background:white;color:#2390c0}
.phone-stages details[data-expanded="false"]>summary:after{transform:rotate(45deg)}
.phone-stages details[data-expanded="true"]>summary{background:#2390c0;color:white}
.phone-stages details[data-expanded="true"]>summary:after{transform:rotate(225deg)}
}
@media(prefers-reduced-motion:reduce){.phone-stages summary:after{transition:none}}
@media(max-width:639.98px){
#m-0 [data-node-id="17:4"]{height:auto!important;overflow:visible!important}
#m-0 [data-node-id="17:5"]{display:none!important}
#m-0 [data-node-id="1:824"]{position:relative!important;inset:auto!important;width:100%!important;display:flex;flex-direction:column;align-items:flex-start;gap:calc(5 * var(--u))}
#m-0 [data-node-id="1:824"]>p{line-height:1.22!important}
#m-0 [data-node-id="1:824"]>p:nth-child(2){background:#9fe0ff;border-radius:calc(4 * var(--u));padding:calc(4 * var(--u)) calc(6 * var(--u));max-width:100%;box-sizing:border-box}
}
