/* r231: tablets upright (744-980 px, touch or narrow window) get the phone layout made for the wider screen
   (r228-r230 phone rules now include this range); this file tunes it for the tablet. Plus two phone fixes.
   A computer with a mouse from 1280 px is not touched. */

/* phones (and tablets upright): «Обслуживание» bar, the «Что входит» button goes under the price when both do not fit */
@media (max-width:743px),(max-width:999px) and (max-height:500px),(min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 html body .s5-cr-bar .c6-r{flex-wrap:wrap!important;row-gap:10px!important;column-gap:8px!important;min-width:0}
 html body .s5-cr-bar .c6-r .c6-more{margin-left:auto!important;flex:none!important;max-width:100%}
 /* «Нужно что-то другое?» open: the services in two columns over the whole width */
}
@media (max-width:743px) and (min-height:501px){/* r235n: upright phones only (on the side the list sits left of the picture) */
 html body .xd-dz6 .xd-m2-grid>.xd-g1{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;max-width:none!important;align-content:start}
 html body .xd-dz6 .xd-m2-grid>.xd-g1>button{width:auto!important;max-width:none!important;min-width:0;margin:0!important;height:auto}
}

@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){

 /* sideways cards: one wide card in the middle, the neighbours peek in */
 html body .r10-sw>.r10-it{flex:0 0 min(470px,60%)!important}
 html body .r10-sw>.r10-it:first-child{margin-left:calc((100% - min(470px,60%))/2 - var(--r10g,14px))!important}
 html body .r10-sw>.r10-it:last-child{margin-right:calc((100% - min(470px,60%))/2 - var(--r10g,14px))!important}

 /* home: «Сайт до 5 страниц» on the left (no picture, text in the middle of the tile); AI and design on the right, one above the other, with taller pictures */
 html body #r93pa.r93{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)!important;align-items:stretch!important}
 html body #r93pa.r93 .r93__big{display:flex!important;flex-direction:column!important;justify-content:center!important;padding:20px 22px!important}
 html body #r93pa.r93 .r93__col{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:12px!important}
 html body #r93pa.r93 .r93__t{height:auto!important;min-height:0!important;display:flex!important;flex-direction:column}
 html body #r93pa.r93 .r93__t>div:first-child{height:148px!important;flex:none!important}

 /* home web apps tile: picture left, text right; «Скоро» and the button in one row under the text */
 html body .wa{grid-template-columns:250px minmax(0,1fr) auto!important;column-gap:22px!important;row-gap:12px!important;padding:18px 20px!important;align-items:center!important}
 html body #apps-tile .wa-vw{width:250px!important;height:139px!important;aspect-ratio:auto!important;grid-row:1/span 2!important;align-self:center!important}
 html body #apps-tile .wa-vs{transform:scale(1.087)!important}
 html body #apps-tile .wa-st{min-width:0}

 /* FAQ: title on top; «Не нашли ответ?» on the left, the tabs and questions on the right */
 html body #faq .fb-wrap{display:grid!important;grid-template-columns:minmax(0,300px) minmax(0,1fr)!important;column-gap:24px!important;row-gap:0!important;align-items:start!important}
 html body #faq .fb-side{display:contents!important}
 html body #faq .fb-side>h2{grid-column:1/-1;grid-row:1;max-width:none!important}
 html body #faq .fb-side>p{grid-column:1/-1;grid-row:2;max-width:620px!important;margin-bottom:24px!important}
 html body #faq .r115f{grid-column:1;grid-row:3;width:auto!important;max-width:none!important;margin:0!important;position:sticky;top:calc(var(--r10-top,64px) + 16px)}
 html body #faq .fb-list{grid-column:2;grid-row:3;width:auto!important;max-width:none!important;min-width:0}
 html body #faq .fq__tabs{display:grid!important;grid-template-columns:repeat(4,minmax(0,auto))!important;justify-content:start!important;gap:6px!important;overflow:visible!important}
 html body #faq .fq__tabs>*{padding-left:11px!important;padding-right:11px!important;gap:6px!important;justify-content:center!important;min-width:0!important}
 html body #faq .fq__tabs>* svg{display:none!important}

 /* footer: everything centred and symmetric, like the approved phone footer: logo, line, [WhatsApp | e-mail] as two buttons of one size, hours;
    the groups below; at the very bottom the document links and the company line */
 html body .xft .xft__in{display:flex!important;flex-direction:column!important;grid-template-columns:none!important}
 html body .xft .xft__in>*{width:auto!important;max-width:none!important;grid-column:auto!important;border-left:0!important;border-right:0!important}
 html body .xft__panel{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;gap:0!important;padding:34px 20px 30px!important;max-width:none!important}
 html body .xft__panel>*{margin:0!important;text-align:center!important;justify-self:auto!important}
 html body .xft__panel>.xft__tag{margin-top:12px!important;white-space:normal!important;font-size:14.5px!important;line-height:1.5!important;max-width:none!important}
 html body .xft__panel>.r11-ct{margin-top:22px!important;display:grid!important;grid-auto-flow:column!important;grid-auto-columns:1fr!important;grid-template-columns:none!important;gap:10px!important;width:max-content!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important}
 html body .xft .xft__panel>.r11-ct>a.xft__wa{margin:0!important;width:100%!important;height:46px!important;min-height:0!important;justify-content:center!important;padding:0 18px!important;box-sizing:border-box;font-size:14.5px!important}
 html body .xft__panel>.r11-ct>.xft__c{margin:0!important;padding:0!important;list-style:none!important;display:block!important}
 html body .xft__panel>.r11-ct>.xft__c>li{display:none!important}
 html body .xft__panel>.r11-ct>.xft__c>li.r11-ml{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;height:46px!important;padding:0 18px!important;border-radius:99px!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.03)!important;box-sizing:border-box;position:relative}
 html body .xft__panel>.r11-ct>.xft__c>li.r11-ml a{font-weight:600!important;font-size:14.5px!important;color:#EEEBE6!important;white-space:nowrap}
 html body .xft__panel>.r11-ct>.xft__c>li.r11-ml a::after{content:"";position:absolute;inset:0;border-radius:99px}
 html body .xft__panel>.r11-ct>.xft__c>li svg{flex:none;color:#E0A04A}
 html body .xft__panel>.xft__hrs{margin-top:22px!important;width:100%!important;max-width:420px!important}
 html body .xft__main{padding-bottom:24px!important;margin-bottom:0!important}
 html body .xft,html body .xft .xft__in{padding-bottom:0!important;margin-bottom:0!important}
 html body .xft__main>*:last-child{margin-bottom:0!important}
 html body .xft__main>.xft__bt{display:flex!important;flex-direction:column-reverse!important;align-items:center!important;gap:10px!important;text-align:center!important;padding:22px 0 0!important;margin:0!important;border:0!important}
 html body .xft__main>.xft__bt>.ftl{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;column-gap:22px!important;row-gap:6px!important;margin:0!important;padding:0!important}
 html body .xft__main>.xft__bt>p{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;margin:0!important;color:#8d877e!important;font-size:13px!important}
 html body .xft__main>.xft__bt>p>span::before,html body .xft__main>.xft__bt>p>span::after{content:none!important;display:none!important}
 html body .xft__main>.xft__bt>p>span+span::before{content:"·"!important;display:inline!important;margin:0 9px!important;opacity:.6;position:static!important}
 html body .xft__main{padding-bottom:28px!important}

 /* sideways cards of a whole section (sites, AI, design): the neighbours run to the screen edge */
 html body .r10-sw:not(.bb .r10-sw):not(.care-wrap .r10-sw):not(.z58 .r10-sw){margin-left:calc((100% - 100vw)/2)!important;margin-right:calc((100% - 100vw)/2)!important;padding-left:calc((100vw - 100%)/2)!important;padding-right:calc((100vw - 100%)/2)!important;scroll-padding:0 calc((100vw - 100%)/2)}

 /* «Нужно что-то другое?» closed: bigger icons left; title, «Цена по запросу» and the groups (two lines) in the middle; both buttons on the right, on the title line */
 html body .xd-dz6 .xd-dz6-bar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;column-gap:18px!important;row-gap:0!important;align-items:start!important;padding:20px 20px!important}
 html body .xd-dz6 .xd-dz6-bar>.xd-dz6-cl{grid-column:1!important;grid-row:1!important;align-self:center!important;display:grid!important;grid-template-columns:repeat(2,36px)!important;gap:7px!important;width:auto!important;height:auto!important}
 html body .xd-dz6 .xd-dz6-bar>.xd-dz6-cl>.xd-dz6-q{width:36px!important;height:36px!important;border-radius:11px!important}
 html body .xd-dz6 .xd-dz6-bar>.xd-dz6-cl>.xd-dz6-q svg{width:17px!important;height:17px!important}
 html body .xd-dz6 .xd-dz6-bar>.xd-dz6-tx{grid-column:2!important;grid-row:1!important;align-self:center!important;min-width:0}
 html body .xd-dz6 .xd-dz6-bar>.xd-dz6-tx .xd-dz6-cn{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;column-gap:14px!important;row-gap:5px!important;margin-top:10px!important;max-width:100%!important}
 html body .xd-dz6 .xd-dz6-bar>.xd-dz6-tx .xd-dz6-cn>.xd-dz6-dot{display:none!important}
 html body .xd-dz6 .xd-dz6-bar>.xd-dz6-bt{grid-column:3!important;grid-row:1!important;align-self:center!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:8px!important;width:auto!important;margin:0!important}
 html body .xd-dz6 .xd-dz6-bar>.xd-dz6-bt>.xd-btn{width:100%!important;flex:none!important;padding-left:20px!important;padding-right:20px!important;min-width:0!important}

 /* design gift bar open: sites and shops side by side (three rows), like on a computer */
 html body #services .bt .cols{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
 html body #services .bt .cols .it{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:10px!important;row-gap:3px!important;align-items:center!important}
 html body #services .bt .cols .it>.nm,html body #services .bt .cols .it>.ds{grid-column:1!important;min-width:0}
 html body #services .bt .cols .it>.amt{grid-column:2!important;grid-row:1/span 2!important;align-self:center!important;justify-self:end!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:1px!important;padding:6px 10px!important;line-height:1.1!important;text-align:center}
 html body #services .bt .cols .it>.amt s{font-size:9.5px!important;white-space:nowrap}

 /* AI discounts: the number on the left, what it is for on the right, one even height */
 html:not([data-dsc=b]) body .a7-disc>div:not(.a7-df){display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;align-content:center!important;column-gap:16px!important;padding:16px 18px!important}
 html:not([data-dsc=b]) body .a7-disc>div:not(.a7-df)>.a7-dn{grid-row:1/span 2;font-size:30px!important;line-height:1!important;margin:0!important}
 html:not([data-dsc=b]) body .a7-disc>div:not(.a7-df)>.a7-dt{margin:0!important;padding-left:16px;border-left:1px solid rgba(224,160,74,.22)}

 /* «Обслуживание» / «Лицензия» open: «Что входит» in the right half, under the contract lines (moved by r231_mobile.js) */
 html body :is(.care-wrap,.r146) .s5-cr-l>.r11-side{grid-column:2!important;grid-row:1/span 7!important;align-self:stretch!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:16px 18px!important;border-radius:16px!important;border:1px solid rgba(255,255,255,.08)!important;background:rgba(255,255,255,.025)!important;min-width:0}
 html body :is(.care-wrap,.r146) .s5-cr-l>.r11-side>*{grid-column:auto!important;grid-row:auto!important;margin:0!important;max-width:none!important;width:auto!important}
 html body :is(.care-wrap,.r146) .s5-cr-l>.r11-side>.s5-cr-gift{align-self:flex-start!important}
 html body :is(.care-wrap,.r146) .s5-cr-l>.r11-side>.r11-cbw{margin-top:auto!important;padding-top:4px!important}
 html body :is(.care-wrap,.r146) .s5-cr-l>.r11-side>.r11-cbw>.r10-cb{width:100%!important;justify-content:center!important;padding:10px 14px!important}

 /* shop and catalog: the price on the title line (right), like «Обслуживание»; under it the picture left and both buttons right */
 html body .bb{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;column-gap:22px!important;align-items:start!important}
 html body .bb>.bb__hd{grid-column:1!important;grid-row:1!important;align-self:center!important;margin:0!important}
 html body .bb>.bb__row{display:contents!important}
 html body .bb>.bb__row>.pk-mk,html body .bb>.bb__row>[class*="-mk"]{grid-column:1!important;grid-row:2!important;width:auto!important;margin:16px 0 0!important;align-self:stretch!important}
 html body .bb>.bb__row>.bb__pr{grid-column:2!important;grid-row:1!important;align-self:center!important;justify-self:end!important;text-align:right!important;margin:0!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:4px!important;padding:0 8px 12px 0!important}
 html body .bb>.bb__row>.bb__bt{grid-column:2!important;grid-row:2!important;align-self:center!important;display:flex!important;flex-direction:column!important;gap:10px!important;width:auto!important;margin:16px 0 0!important}
 html body .bb>.bb__row>.bb__bt>*{width:100%!important;margin:0!important}
 html body .bb>.bb__row>.bb__f{display:none!important}
 html body .bb>.bb__body{grid-column:1/-1!important;grid-row:3!important;min-width:0}
 /* plan cards: the small lines a bit bigger */
 html body .r10-sw .b4-bt b{font-size:14px!important}
 html body .r10-sw .b4-bt small{font-size:12.5px!important}
 html body .r10-sw .b4-bv{font-size:13.5px!important}
 html body .r10-sw .b43-pr .c5{font-size:12.5px!important}
 html body .r10-sw .b43-go{font-size:14px!important}
}
@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 /* «Аналитика и заявки» and «Подбор услуги на сайте» side by side: picture on top, text under it, price at the bottom */
 html body #extras .r145-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;align-items:stretch!important}
 html body #extras .r145-row>article.s5-an{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;width:auto!important;margin:0!important;padding:14px!important;gap:14px!important;min-width:0}
 html body #extras .r145-row>article.s5-an>.s5-an-sc,html body #extras .r145-row>article.s5-an>.qz-sc{order:-1;width:auto!important;height:190px!important;min-height:0!important;max-height:none!important;margin:0!important;overflow:hidden!important;flex:none!important}
 html body #extras .r145-row>article.s5-an>.s5-an-tx{width:auto!important;flex:1 1 auto!important;display:flex!important;flex-direction:column!important;padding:0 4px 4px!important;min-width:0}
 html body #extras .r145-row>article.s5-an>.s5-an-tx>:last-child{margin-top:auto!important}

 /* catalog «Как это работает»: wider cards; the animation as tall as the card */
 html body #care-cat .z58-steps.r10-sw>.r10-it{flex:0 0 calc(100% - 64px)!important;align-items:stretch!important}
 html body #care-cat .z58-steps.r10-sw>.r10-it:first-child{margin-left:18px!important}
 html body #care-cat .z58-steps.r10-sw>.r10-it:last-child{margin-right:18px!important}
 html body #care-cat .z58-steps.r10-sw{align-items:stretch!important}
 html body #care-cat .z58-steps.r10-sw>.r10-it{height:auto!important;min-height:214px!important;align-items:center!important;align-content:center!important}
 html body #care-cat .z58-steps.r10-sw>.r10-it>.z58-sc{align-self:center!important;height:178px!important;min-height:0!important;max-height:none!important;overflow:hidden!important}
}
@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 /* swiped service cards: the picture never runs under the title (desktop pulls it 24 px down); on the design page the pictures are taller */
 html body .r10-sw>article.svc>.svc__media{margin-bottom:0!important}
 html.r11-dz body .r10-sw>article.svc>.svc__media{height:226px!important;align-items:center!important}
 html.r11-dz body .r10-sw>article.svc>.svc__media>.px{width:100%!important}
}
@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 /* «Нужно что-то другое?» open: the preview on top (picture left, text right), the services under it in two columns */
 html body .xd-dz6 .xd-m2-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 html body .xd-dz6 .xd-m2-grid>.xd-pvw{grid-column:1!important;grid-row:1!important;position:relative!important;top:auto!important;max-height:none!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:stretch!important}
 html body .xd-dz6 .xd-m2-grid>.xd-pvw>.xd-pv-screen{height:auto!important;min-height:170px!important}
 html body .xd-dz6 .xd-m2-grid>.xd-pvw{column-gap:22px!important}
 html body .xd-dz6 .xd-m2-grid>.xd-pvw>.xd-pv-cap{align-self:center!important;padding:6px 10px 6px 0!important;margin:0!important;position:relative!important;inset:auto!important;transform:none!important}
 html body .xd-dz6 .xd-m2-grid>.xd-pvw>.xd-pv-screen{overflow:hidden!important;border-radius:14px}
 html body .xd-dz6 .xd-m2-grid>.xd-g1{grid-column:1!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:auto!important;max-width:none!important}
 html body .xd-dz6 .xd-m2-grid>.xd-g1>button{width:auto!important;max-width:none!important;min-width:0;margin:0!important}
 html body .xd-dz6 .xd-m2-grid>.xd-g1.z17-all>.z17-gh{grid-column:1/-1!important}
}
@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 /* page heads, the same on every page: title on two lines (the gold part below), a narrower text, two buttons of one height */
 html body .p-head .p-hero,html body .hero>div:first-child{max-width:640px!important;row-gap:0!important}
 html body .p-head{padding-top:12px!important;padding-bottom:18px!important}
 html body .p-head .p-hero>h1,html body .hero>div>h1{font-size:44px!important;line-height:1.08!important;letter-spacing:-.02em;margin:0!important}
 html body .p-head .p-hero>.eyebrow,html body .hero>div>.eyebrow{margin:0 0 14px!important}
 html body .p-hero h1 em,html body .hero h1 em{display:block!important}
 html body .p-head .p-hero>.lead,html body .hero>div>.lead{font-size:17px!important;line-height:1.6!important;max-width:560px!important;margin-top:18px!important;margin-bottom:28px!important}
 html body .hero .lead br.lb{display:none!important}
 html body .p-cta,html body .hero .cta{display:flex!important;flex-wrap:wrap!important;align-items:center!important;column-gap:22px!important;row-gap:12px!important}
 html body .p-cta>.btn:not(.btn--2l),html body .hero .cta>.btn-hero{height:54px!important;min-height:54px!important;padding:0 24px!important;display:inline-flex!important;align-items:center!important;gap:10px!important;font-size:16px!important}
 html body .p-cta .r10-lg{display:inline!important}
 html body .p-cta .r10-sh{display:none!important}
 html body .hero .trust{margin-top:22px!important}
}
@media (max-width:743px),(max-width:999px) and (max-height:500px),(min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 /* «Как это работает» (catalog): no gold frame on the step the animation is at; the card in front is lit, the others dimmed, like «Как мы работаем» */
 html body #care-cat .z58-steps.r10-sw>.z58-st.zq-on{border-color:rgba(255,255,255,.08)!important;box-shadow:none!important}
 html body #care-cat .z58-steps.r10-sw>.z58-st:not(.r10-cur){opacity:.4!important}
 html body #care-cat .z58-steps.r10-sw>.z58-st.r10-cur{opacity:1!important}
 html body #care-cat .r10-pg{margin:6px 0 4px!important}
 html body #care-cat .z58-steps.r10-sw{padding-top:14px!important;padding-bottom:6px!important}
 /* service cards (AI, design): price and button centred against each other, like the plan cards */
 html body #services .svc__f:not(.r10-pcol){align-items:center!important}
 /* «Подбор услуги» second paragraph */
 html body #extras .s5-qz .s5-an-tx p.r11-q2{margin-top:10px!important}
}
@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 /* contact block like on a computer: title and text left, WhatsApp and e-mail right */
 html body #contact .contact{display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;column-gap:28px!important;align-items:center!important}
 html body #contact .contact>.c-intro{grid-column:1!important;margin:0!important}
 html body #contact .contact>.nx{grid-column:2!important;margin:0!important;width:auto!important}
 html body #contact .c-intro h2{white-space:normal!important;font-size:30px!important;line-height:1.12!important}
 html body #contact .c-intro p{max-width:none!important;font-size:14.5px!important}
 /* privacy page like the terms page */
 html body .xp-hero .r11-pp{margin:-6px 0 30px}
 html body .xp-hero .r11-pp .r11-lead{margin:0 0 20px!important;font:400 16px/1.55 Onest,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:#ADA79E!important;max-width:620px!important}
 html body .xp-hero .r11-pp ul{display:none!important;list-style:none;margin:0 0 16px;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px}
 html body .xp-hero .r11-pp li{position:relative;padding-left:24px;font-size:15px;line-height:1.45;color:#ADA79E}
 html body .xp-hero .r11-pp li::before{content:"";position:absolute;left:2px;top:5px;width:12px;height:7px;border-left:2px solid #E0A04A;border-bottom:2px solid #E0A04A;transform:rotate(-45deg)}
 html body .xp-hero .r11-pls{display:flex;flex-wrap:wrap;gap:8px}
 html body .xp-hero .r11-pls span{font:500 12px/1 var(--f-mono,monospace);color:#cfc9c0;padding:9px 12px;border-radius:99px;border:1px solid rgba(255,255,255,.12)}
 html body .xp-hero .r11-pp~.r10-pill,html body .xp-hero.r11-hpp .r10-pill{display:none!important}
}
@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 /* top bar on tablets: a little larger; WhatsApp as a green button with its name */
 html body .bar>.wrap{height:72px!important;min-height:72px!important}
 html body .bar .brand .lgx__m{width:40px!important;height:40px!important;border-radius:11px!important}
 html body .bar .brand .lgx__m svg{width:24px!important;height:24px!important}
 html body .bar .brand .lgx__w b{font-size:21px!important}
 html body .bar .brand .lgx__w small{font-size:11px!important}
 html body .bar .r9-wa{width:auto!important;height:44px!important;padding:0 16px 0 13px!important;display:inline-flex!important;align-items:center!important;gap:8px!important;border-radius:99px!important;color:#EEEBE6!important;font:600 15px/1 var(--f-body,inherit)!important;text-decoration:none!important}
 html body .bar .r9-wa svg{width:20px!important;height:20px!important;color:#25D366!important;flex:none}
 html body .bar .r9-wa::after{content:"WhatsApp"}
 html body .bar .lang-dd__btn,html body .bar .mnav-btn{height:44px!important;min-height:44px!important}
 html body .bar .mnav-btn{width:44px!important}
}
/* the widest tablet upright (Galaxy Tab S9 Ultra, 924 px): the top bar and the page heads a step larger, in proportion to the screen */
@media (min-width:880px) and (max-width:980px) and (min-height:501px){
 html body .bar>.wrap{height:80px!important;min-height:80px!important}
 html body .bar .brand .lgx__m{width:46px!important;height:46px!important;border-radius:13px!important}
 html body .bar .brand .lgx__m svg{width:27px!important;height:27px!important}
 html body .bar .brand .lgx__w b{font-size:24px!important}
 html body .bar .brand .lgx__w small{font-size:12px!important}
 html body .bar .r9-wa{height:48px!important;padding:0 18px 0 15px!important;font-size:16px!important}
 html body .bar .r9-wa svg{width:22px!important;height:22px!important}
 html body .bar .lang-dd__btn,html body .bar .mnav-btn{height:48px!important;min-height:48px!important}
 html body .bar .mnav-btn{width:48px!important}
 html body .p-head .p-hero,html body .hero>div:first-child{max-width:720px!important}
 html body .p-head .p-hero>h1,html body .hero>div>h1{font-size:50px!important}
 html body .p-head .p-hero>.lead,html body .hero>div>.lead{font-size:18px!important;max-width:620px!important}
}
/* one rhythm between the blocks of a page on tablets: 72 px from block to block, 40 px from the last block to the footer */
@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 html body main section.r5s,html body main>section:not(.hero):not(#contact),html body #prices,html body #why,html body #faq,html body #services,html body #how{padding-top:36px!important;padding-bottom:36px!important;margin-top:0!important;margin-bottom:0!important}
 html body #contact{padding-top:36px!important;padding-bottom:0!important;margin-bottom:0!important}
 html body footer.xft{margin-top:56px!important}
 html body .hero,html body .p-head{padding-bottom:20px!important;margin-bottom:0!important}
}
/* short pages (web apps, privacy, terms) on tablets: the content in the middle of the free space, the footer at the bottom of the screen */
@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 html.r11-ap body,html.r11-doc body{min-height:100vh;min-height:100dvh;display:flex!important;flex-direction:column!important}
 html.r11-ap body>main,html.r11-doc body>main{flex:1 0 auto!important;display:flex!important;flex-direction:column!important;justify-content:center!important;width:100%}
 html.r11-doc body>main>*{width:100%!important;align-self:stretch!important;box-sizing:border-box}
 html.r11-ap body>footer.xft,html.r11-doc body>footer.xft{margin-top:40px!important;flex:none}
}
/* the yearly saving line, variants for phones and tablets (html[data-sv]); without a choice it looks as before */
@media (max-width:743px),(max-width:999px) and (max-height:500px),(min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 html[data-sv] body .s5-cr-gift{display:block!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
 html[data-sv] body .s5-cr-gift>svg{display:none!important}
 html[data-sv] body .s5-cr-sub2{font:inherit!important;letter-spacing:0!important;margin:0!important}
 html[data-sv] body .r11-sv{font:500 14px/1.35 var(--f-body,inherit)!important;letter-spacing:0!important;color:#EEEBE6;text-transform:none}
 html[data-sv] body .r11-sv b{font-weight:700}
 /* A: one gold-tinted pill */
 html[data-sv=a] body .r11-sv{display:inline-flex;flex-wrap:wrap;align-items:center;column-gap:7px;padding:8px 14px;border-radius:99px;border:1px solid rgba(224,160,74,.38);background:rgba(224,160,74,.09)}
 html[data-sv=a] body .r11-sv .d{color:#8d877e}
 html[data-sv=a] body .r11-sv b{color:#F7C987}
 /* B: the yearly price as text, the saving as a solid gold badge */
 html[data-sv=b] body .r11-sv{display:inline-flex;flex-wrap:wrap;align-items:center;column-gap:10px;row-gap:6px}
 html[data-sv=b] body .r11-sv .d{display:none}
 html[data-sv=b] body .r11-sv .y{font-weight:600}
 html[data-sv=b] body .r11-sv b{background:#E0A04A;color:#17130d;border-radius:99px;padding:4px 10px;font-size:12.5px;line-height:1.2}
 /* C: two lines, the yearly price larger, the saving in gold under it */
 html[data-sv=c] body .r11-sv{display:flex;flex-direction:column;gap:2px;padding-left:12px;border-left:2px solid #E0A04A}
 html[data-sv=c] body .r11-sv .d{display:none}
 html[data-sv=c] body .r11-sv .y{font:700 17px/1.25 var(--f-display,inherit)}
 html[data-sv=c] body .r11-sv b{color:#F7C987;font-size:13px;font-weight:600}
 /* month: the care gift line in the same look; the licence keeps the room of the yearly line, so nothing jumps */
 html[data-sv=c] body .s5-cr-gift>span:not(.r11-wr){display:block;padding-left:12px;border-left:2px solid #E0A04A;color:#F7C987;font:600 14px/1.35 var(--f-body,inherit)}
 html[data-sv=c] body .r146 .s5-cr-sub2{min-height:44px!important;display:block!important}
 html[data-sv=c] body .s5-cr-gift{min-height:44px!important}
 html[data-sv=c] body :is(.r146,.care-wrap) .s5-cr-sub{min-height:2.7em!important}
}
/* computer: preview of look C only with ?sv=c in the address */
@media (min-width:981px){
 html[data-svd][data-sv=c] body .s5-cr-gift{display:block!important;background:none!important;border:0!important;padding:0!important}
 html[data-svd][data-sv=c] body .s5-cr-gift>svg{display:none!important}
 html[data-svd][data-sv=c] body .s5-cr-sub2{font:inherit!important;letter-spacing:0!important}
 html[data-svd][data-sv=c] body .r11-sv{display:flex;flex-direction:column;gap:2px;padding-left:12px;border-left:2px solid #E0A04A;font:500 14px/1.35 var(--f-body,inherit);color:#EEEBE6;letter-spacing:0;text-transform:none}
 html[data-svd][data-sv=c] body .r11-sv .d{display:none}
 html[data-svd][data-sv=c] body .r11-sv .y{font:700 17px/1.25 var(--f-display,inherit)}
 html[data-svd][data-sv=c] body .r11-sv b{color:#F7C987;font-size:13px;font-weight:600}
}
/* phone on its side: the swiped service cards never pull the picture under the title */
@media (min-width:600px) and (max-width:999px) and (max-height:500px){html body .r10-sw>article.svc>.svc__media{margin-bottom:0!important}}
/* phones: «Что входит» at the end of the open block, over the full width (not above the prices) */
@media (max-width:743px),(max-width:999px) and (max-height:500px){
 html body :is(.care-wrap,.r146) .s5-cr-l>.r11-cbw{margin:12px 0 14px!important}
 html body :is(.care-wrap,.r146) .s5-cr-l>.r11-cbw>.r10-cb{width:100%!important;justify-content:center!important;padding:10px 14px!important}
}

/* r232: AI «в мессенджерах» marked popular on every device */
#services .svc.r11-hi{position:relative;overflow:visible!important;border-radius:20px!important;border-color:rgba(224,160,74,.55)!important;box-shadow:0 0 0 1px rgba(224,160,74,.18),0 30px 60px -40px rgba(224,160,74,.55)!important}
#services .svc.r11-hi .r11-pop{position:absolute;right:18px;top:-13px;z-index:6;height:26px;display:inline-flex;align-items:center;padding:0 13px;border-radius:99px;background:#C9924A;color:#1a140c;font:600 11.5px/1 var(--f-mono,ui-monospace,monospace);letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;box-shadow:0 0 0 3px #141414}
.r10-sw>article.svc.r11-hi{overflow:visible!important}

/* r232: «Доп. услуги» on phones and tablets: no empty room under the short descriptions (booking, Google Maps, mail) */
@media (max-width:1100px) and (min-height:501px),(max-width:999px) and (max-height:500px){
 html body #extras .s5-bko>p,html body #extras .s5-xb>p{min-height:0!important;margin-bottom:4px!important}
 html body #extras .s5-xb>p{margin-bottom:20px!important}
 html body #extras .s5-bko .s5-exf,html body #extras .s5-xb .s5-exf{margin-top:14px!important}
 html body #extras .s5-bk2{align-items:stretch!important}
 html body #extras .s5-xb .s5-exf{margin-top:auto!important;padding-top:14px}
}

/* r232: the «Почему мы?» / «Как мы работаем» pager above the cards, the same look as the plan strips */
.r8-pg{margin:0 0 14px!important}
#how .r8-pg{margin:0 0 14px!important}
.r8-pg .ct{display:flex;align-items:center;gap:8px}
.r8-pg .ct::before{content:"";width:18px;height:18px;flex:none;background:#E0A04A;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8l-4 4 4 4M17 8l4 4-4 4M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 8l-4 4 4 4M17 8l4 4-4 4M3 12h18'/%3E%3C/svg%3E") center/contain no-repeat}
.r8-pg button{width:40px!important;height:40px!important}
#services .svc.r11-hi>.svc__media{border-top-left-radius:19px!important;border-top-right-radius:19px!important;overflow:hidden!important}

/* r232: catalog plan cards on tablets: price + its note on the left, the button on the right, centred against them; every card the same height */
@media (min-width:744px) and (max-width:980px) and (min-height:501px),(min-width:981px) and (max-width:1100px) and (min-height:1101px){
 html body #catalog .r10-sw{align-items:stretch!important}
 html body #catalog .r10-sw>.b43-c{display:flex!important;flex-direction:column!important;height:auto!important}
 html body #catalog .r10-sw>.b43-c>.b43-bd{flex:1 1 auto!important;display:flex!important;flex-direction:column!important}
 html body #catalog .r10-sw .b43-ft{margin-top:auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;column-gap:12px!important;align-items:center!important}
 html body #catalog .r10-sw .b43-pr{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;min-width:0}
 html body #catalog .r10-sw .b43-pr .c5{white-space:normal!important;line-height:1.35!important}
 html body #catalog .r10-sw .b43-ft .b43-go{width:auto!important;margin:0!important;align-self:center!important;white-space:nowrap!important}
}
}

/* r232: room under swiped cards so their hover glow is not cut */
.r10-sw{padding-bottom:44px!important;margin-bottom:-40px!important}
/* r232: both pager arrows on one line */
.r10-pg .ab,.r8-pg .ab{align-items:center!important}
.r10-pg .ab>button,.r8-pg .ab>button{margin:0!important;vertical-align:middle!important;flex:none!important;line-height:0!important}
/* r233d: catalog plan cards: the checklist only on a computer; phones and tablets get «Подробнее» */
.r11-cm{display:none}
@media (max-width:1100px),(hover:none) and (pointer:coarse){
 html body #catalog .b43-c .b43-bd>ul.b5-f{display:none!important}
 html body #catalog .b43-c .r11-cm{display:block!important;margin:14px 0 4px}
 html body #catalog .b43-c .r11-cm .b4-more{display:inline-flex!important;margin:0!important}
 html body #catalog .b43-c .r11-cm .b5-pop{display:none}
}
/* r233e: shop plan cards on phones and tablets: one line + «Подробнее» (computer too, approved 06.11) */
.r11-sh,.r11-sm{display:none}
@media all{
 html body #shops .bb--shop .b43-c .b43-bd>ul.b5-f{display:none!important}
 html body #shops .bb--shop .b43-c .r11-sh{display:flex!important;gap:9px;align-items:flex-start;margin:12px 0 0!important;font-size:14.5px;line-height:1.4;color:#EEEBE6}
 html body #shops .bb--shop .b43-c .r11-sh::before{content:"";flex:none;width:16px;height:16px;margin-top:2px;background:no-repeat center/13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E0A04A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
 html body #shops .bb--shop .b43-c .r11-sm{display:block!important;margin:14px 0 4px}
 html body #shops .bb--shop .b43-c .r11-sm .b4-more{display:inline-flex!important;margin:0!important}

 .b5-inc li.r11-plus{color:#E0A04A!important;font-weight:600}
 .b5-inc li.r11-plus::before{display:none!important}
}
