/* шрифт Roboto лежит на сайте (assets/fonts), без обращений к Google */
@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(fonts/roboto-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(fonts/roboto-latin-ext-400-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Roboto;font-style:normal;font-weight:400;font-display:swap;src:url(fonts/roboto-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(fonts/roboto-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(fonts/roboto-latin-ext-500-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Roboto;font-style:normal;font-weight:500;font-display:swap;src:url(fonts/roboto-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Roboto;font-style:normal;font-weight:600;font-display:swap;src:url(fonts/roboto-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Roboto;font-style:normal;font-weight:600;font-display:swap;src:url(fonts/roboto-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Roboto;font-style:normal;font-weight:600;font-display:swap;src:url(fonts/roboto-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--blue:#114DBB;--blue2:#2870F0;--navy:#073790;--btn:#0B3B93;--teal:#006E9C;--pink:#E991B2;--pale:#E8EFF9;--hero:#E0ECF3;--grey:#EEEFF3;--muted:#242424;--shadow:0 0 10px rgba(0,0,0,.5)}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Roboto,"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:17px;line-height:1.5;color:#000;background:#fff;-webkit-font-smoothing:antialiased}
img,video{display:block;max-width:100%}
img{height:auto}
a{color:var(--blue);text-decoration:none}
h1,h2,h3,p{margin:0}
button{font:inherit;cursor:pointer}
.wrap{max-width:1160px;margin-left:auto;margin-right:auto;padding:0 10px}
.ic{width:1em;height:1em;fill:currentColor;flex:none}
section{margin-top:104px}
.sec-h{font-size:30px;line-height:1.2;font-weight:500;text-transform:uppercase;padding:0 10px}
.sec-sub{color:var(--muted);padding:20px 10px 0;max-width:800px}
.sec-body{margin-top:40px}

/* шапка */
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;padding-bottom:10px}
.brand{display:flex;align-items:center;gap:20px;color:#000}
.brand img{width:65px;height:65px}
.brand b{display:block;font-size:20px;line-height:1.2;font-weight:600;text-transform:uppercase}
.brand small{display:block;font-size:15px;color:#444;margin-top:6px}
.top-right{display:flex;align-items:center;gap:20px}
.tel-pill{display:inline-flex;align-items:center;gap:8px;background:var(--hero);color:#000;font-weight:500;line-height:1;padding:12px 24px;border-radius:30px;white-space:nowrap}
.tel-pill .ic{color:var(--blue);font-size:15px}
.round{display:grid;place-items:center;width:39px;height:39px;border-radius:50%;background:#9E9E9E;color:#fff;border:0;padding:0;font-size:22px;transition:background .15s}
.round:hover{background:var(--blue)}
.burger{display:none;width:44px;height:44px;border:0;background:var(--hero);border-radius:10px;padding:0;place-items:center}
.burger i{display:block;width:20px;height:2px;background:#000;box-shadow:0 6px 0 #000,0 -6px 0 #000}
.menu ul{list-style:none;margin:0;padding:0}
.menu>ul{display:flex;justify-content:space-around;align-items:center}
.menu a,.menu .sub-t{display:block;padding:10px 14px;color:#000;font-weight:500;background:none;border:0}
.menu a:hover,.menu .sub-t:hover{color:var(--blue)}
.menu .has-sub{position:relative}
.menu .sub-t::after{content:"";display:inline-block;margin-left:10px;border:5px solid transparent;border-top-color:currentColor;vertical-align:-3px}
.menu .sub{display:none;position:absolute;left:0;top:100%;z-index:20;min-width:330px;background:#fff;border-radius:10px;box-shadow:0 6px 24px rgba(0,0,0,.18);padding:8px 0}
.menu .has-sub:hover .sub,.menu .has-sub:focus-within .sub{display:block}
.menu .sub a{font-weight:400;padding:9px 18px}

/* первый экран */
.hero-sec{margin-top:106px}
.hero{background:var(--hero);border-radius:20px;padding:30px;display:grid;grid-template-columns:minmax(0,523px) minmax(0,1fr);gap:30px;min-height:682px}
.hero h1{font-size:30px;line-height:1.2;font-weight:400;color:var(--teal);text-transform:uppercase}
.hero h1 span{display:block;margin-top:36px}
.hero .name{font-size:35px;line-height:1.2;font-weight:600;text-transform:uppercase;margin-top:20px;display:block;color:var(--name,#000)}
.hero p{margin-top:20px;max-width:480px}
.btns{display:flex;flex-wrap:wrap;gap:20px;margin-top:20px}
.b3{display:inline-flex;align-items:center;justify-content:center;text-align:center;width:161px;min-height:74px;padding:10px;border-radius:10px;border:1px solid var(--teal);background:#fff;color:var(--teal);font-size:16px;line-height:1;font-weight:500;transition:filter .15s,transform .15s}
.b3:hover{filter:brightness(.95);transform:translateY(-1px)}
.b3.pink{background:var(--pink);border-color:var(--pink);color:#fff}
.b3.teal{background:var(--teal);color:#fff}
.hero-media{justify-self:end;width:537px;max-width:100%;aspect-ratio:1;margin:-40px -37px 0 0;border-radius:20px;overflow:hidden;background:#cfd6da url(hero-poster.webp) center/cover}
.hero-media video{width:100%;height:100%;object-fit:cover}

/* этапы */
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
.stage{border-radius:20px;box-shadow:var(--shadow);background:#fff;overflow:hidden;display:flex;flex-direction:column}
.stage img{width:100%;height:240px;object-fit:cover}
.stage-b{padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.stage-h{display:flex;align-items:center;gap:14px;color:var(--blue);font-size:18px;font-weight:600;line-height:1.2}
.num{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--blue),var(--blue2));color:#fff;font-size:24px;font-weight:600;flex:none}
.stage-b p{line-height:25px}
.stage-b p+p{margin-top:-4px}
.b-out{display:inline-flex;align-items:center;justify-content:center;min-width:140px;padding:20px 30px;border:1px solid var(--btn);border-radius:10px;background:#fff;color:var(--btn);font-size:16px;line-height:1;font-weight:600;transition:background .15s,color .15s}
.b-out:hover{background:var(--btn);color:#fff}

/* направления */
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.tile{background:var(--pale);border-radius:20px;box-shadow:0 0 10px var(--pale);padding:20px}
.dir{display:flex;flex-direction:column;align-items:flex-start;min-height:520px}
.dir h3{font-size:18px;line-height:1.2;font-weight:600;color:var(--blue);margin-bottom:16px}
.dir p,.dir ol{font-size:16px;line-height:1.55;margin:0}
.dir ol{padding-left:20px;margin-top:4px}
.dir p a{color:#6E86B5}
.dir .b-out{margin-top:auto}

/* блоки-призывы с фото */
.cta{position:relative;overflow:hidden;background:#fff;border-radius:20px;box-shadow:var(--shadow);padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-height:400px}
.cta.tall{min-height:500px}
.cta>*{position:relative;z-index:1}
.cta .ph{position:absolute;z-index:0;right:0;top:0;bottom:0;width:48%}
.cta .ph img{width:100%;height:100%;object-fit:cover}
.cta .ph::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fff 0,rgba(255,255,255,0) 32%)}
.cta.tall .ph{width:44%}
.cta.tall .ph img{object-position:50% 12%}
.cta.tall .ph::after{background:linear-gradient(90deg,#fff 0,rgba(255,255,255,0) 14%)}
.cta h2{font-size:26px;line-height:1.2;font-weight:600;color:var(--navy);max-width:560px}
.cta p{color:var(--muted);max-width:594px;margin-top:30px}
.b-grad{display:inline-flex;align-items:center;justify-content:center;text-align:center;width:432px;max-width:100%;min-height:56px;padding:12px 10px;margin-top:30px;border-radius:14px;background:linear-gradient(90deg,var(--blue),var(--blue2));color:#fff;font-size:16px;line-height:1.2;font-weight:600;transition:filter .15s,transform .15s}
.b-grad:hover{filter:brightness(1.08);transform:translateY(-1px)}
.cta-gap{margin-top:70px}

/* почему */
.why{min-height:234px}
.why svg{width:50px;height:50px;stroke:#1E3A8A;fill:none;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;margin-bottom:14px}
.why p{font-weight:500}
.why b{font-weight:600;color:#0A1E8C}

/* обо мне */
.about{display:grid;grid-template-columns:minmax(0,547px) minmax(0,1fr);gap:30px}
.about-card{background:var(--grey);border-radius:20px;padding:30px}
.about-card h3{font-size:22px;line-height:1;font-weight:500}
.about-card>p{color:var(--muted);margin-top:10px}
.checks{list-style:none;margin:14px 0 20px;padding:0}
.checks li{position:relative;padding:0 0 10px 30px;font-size:16px;line-height:24px}
.checks .ic{position:absolute;left:0;top:5px;color:var(--blue);font-size:15px}
.about-ph{border-radius:20px;overflow:hidden;min-height:480px;background:#2b2f33}
.about-ph img{width:100%;height:100%;object-fit:cover;object-position:50% 15%}
.soc{display:flex;align-items:center;justify-content:flex-end;gap:40px;margin-top:40px;flex-wrap:wrap}
.soc-t{font-size:22px;line-height:30px;font-weight:600;text-align:right;max-width:436px}
.soc-cards{display:flex;gap:40px;flex-wrap:wrap}
.soc-c{display:block;min-width:185px;border-radius:10px;box-shadow:0 0 10px rgba(0,0,0,.27);padding:10px 14px;color:#000}
.soc-c span{display:flex;align-items:center;gap:14px;font-size:18px;font-weight:600;min-height:60px}
.soc-c i{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;color:#fff;font-size:22px;font-style:normal}
.soc-c em{display:flex;align-items:center;gap:10px;font-style:normal;color:var(--blue);padding:6px 0}
.soc-c em .ic{font-size:13px}
.soc-c:hover em{text-decoration:underline}

/* карусели */
.car{position:relative}
.car-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:10px}
.car-track::-webkit-scrollbar{display:none}
.car-track>*{scroll-snap-align:center;flex:none}
.car-btn{position:absolute;top:50%;z-index:2;transform:translateY(-50%);width:44px;height:44px;border-radius:8px;border:1px solid var(--blue);background:#fff;color:var(--blue);display:grid;place-items:center;padding:0}
.car-btn::before{content:"";width:10px;height:10px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(45deg);margin-left:4px}
.car-btn.next::before{transform:rotate(-135deg);margin:0 4px 0 0}
.car-btn.prev{left:0}.car-btn.next{right:0}
.car-btn:hover{background:var(--blue);color:#fff}
.reviews .car-track>*{width:100%;display:grid;place-items:center}
.reviews img{width:900px;height:auto;aspect-ratio:3/2}
.reviews{padding:0 50px}
.dips{padding:0 30px}
.dip{width:calc((100% - 40px)/3);border-radius:20px;box-shadow:var(--shadow);overflow:hidden;background:#fafafa;color:#000;scroll-snap-align:start}
.dip img{width:100%;aspect-ratio:660/380;object-fit:cover;object-position:50% 30%}
.dip div{padding:6px 30px 22px}
.dip b{display:block;font-size:18px;line-height:30px;font-weight:500;min-height:60px}
.dip em{display:flex;align-items:center;gap:10px;font-style:normal;color:var(--blue);padding-top:10px}
.dip em .ic{font-size:13px}
.dip:hover em{text-decoration:underline}

/* полоса-призыв */
.strip{display:flex;align-items:center;justify-content:space-between;gap:30px;background:var(--pale);border-radius:20px;box-shadow:var(--shadow);padding:30px}
.strip h2{font-size:26px;line-height:1.2;font-weight:600;color:var(--navy);max-width:700px}
.strip .b-grad{width:350px;margin-top:0;flex:none}

/* вопрос-ответ */
.faq{max-width:798px;display:grid;gap:8px}
.faq details{background:var(--pale);border-radius:8px}
.faq summary{position:relative;list-style:none;cursor:pointer;padding:18px 60px 18px 20px;font-size:16px;font-weight:500;color:#1F2124}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:24px;top:50%;transform:translateY(-50%);font-size:24px;font-weight:400;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq .ans{padding:0 20px 20px;font-size:16px}
.faq .ans ol{margin:8px 0;padding-left:22px}

/* подвал */
footer{margin-top:60px;border-top:2px solid #E0E0E0;padding:40px 0 50px}
.fgrid{display:grid;grid-template-columns:1fr 1.15fr;gap:40px}
.fbrand .socrow{margin-top:18px;gap:10px}
@media(min-width:901px){footer{padding:28px 0 30px;margin-top:44px}footer .brand b{font-size:17px}footer .brand small{font-size:14px}.legal{margin-top:0;padding-top:14px}}
.fgrid ul{list-style:none;margin:0;padding:0;font-size:16px}
.fgrid li{padding:4px 0}
.fnav{margin-top:26px;border-top:1px solid #E0E0E0}
.fnav ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;font-size:16px}
.fnav li{border-top:1px solid #E0E0E0}.fnav li:first-child{border-top:0}
.fnav a{display:block;padding:13px 0;color:#000}.fnav a:hover{color:var(--blue)}
@media(min-width:1101px){.fnav ul{flex-direction:row;flex-wrap:wrap;justify-content:space-between}.fnav li,.fnav li:first-child{border-top:0;border-left:1px solid #E0E0E0;flex:1 1 auto;text-align:center}.fnav li:first-child{border-left:0}.fnav a{padding:12px 14px;font-size:15px}}
@media(max-width:1100px){footer .legal{margin-top:0}}
@media(min-width:601px) and (max-width:1100px){.fnav ul{display:grid;grid-template-columns:1fr 1fr;column-gap:36px}.fnav li:nth-child(2){border-top:0}}

.fgrid li a{color:#000}
.fgrid li a:hover{color:var(--blue)}
.contacts li{position:relative;padding-left:30px}
.contacts .ic{position:absolute;left:0;top:9px;color:var(--blue);font-size:15px}
.contacts .addr{display:block;margin-bottom:9px}.contacts .addr:last-child{margin-bottom:0}
.socrow{display:flex;gap:14px;flex-wrap:wrap;margin-top:22px;align-items:flex-start}
.igd{position:relative}
.igd summary{list-style:none;cursor:pointer}.igd summary::-webkit-details-marker{display:none}
.igd[open] summary{background:var(--blue)}
.igmenu{position:absolute;left:0;bottom:calc(100% + 10px);z-index:20;display:flex;flex-direction:column;min-width:210px;background:#fff;border-radius:12px;box-shadow:0 4px 18px rgba(0,0,0,.22);padding:6px}
.igmenu a{padding:11px 14px;border-radius:8px;color:#1F2124;font-size:15px;line-height:1.2;white-space:nowrap}.igmenu a:hover{background:#EEF3F8;color:var(--blue)}
.top .igmenu{bottom:auto;top:calc(100% + 10px);left:auto;right:0}
.round.pd{font-size:19px;font-weight:600;font-family:Arial,sans-serif}

/* окна */
dialog{border:0;border-radius:20px;padding:0;width:min(520px,calc(100vw - 24px));max-height:calc(100vh - 24px);box-shadow:0 20px 60px rgba(0,0,0,.35)}
dialog::backdrop{background:rgba(0,0,0,.6)}
dialog.wide{width:min(820px,calc(100vw - 24px))}
.dlg{padding:30px;position:relative}
.dlg h2{font-size:24px;line-height:1.2;font-weight:600;color:var(--navy);padding-right:40px}
.dlg>p{margin:14px 0 18px;color:var(--muted);font-size:16px}
.dlg-x{position:absolute;right:14px;top:14px;width:40px;height:40px;border-radius:50%;border:0;background:var(--pale);font-size:24px;line-height:1;color:#000}
.dlg .alt{margin-top:14px;font-size:14px;text-align:center;color:#555}
.bio{margin:18px 0 0;padding-left:22px;font-size:16px}
.bio li{padding:4px 0}
.formdesigner-widget{min-height:60px}

@media(max-width:1100px){
.hero-media{margin:0;width:100%}
.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}
.dir{min-height:0;gap:20px}
.soc{justify-content:flex-start}.soc-t{text-align:left}.soc-cards{gap:20px}
}
@media(max-width:900px){
section{margin-top:64px}
.sec-h{font-size:24px}
.burger{display:grid}
.menu{display:none}
.menu.open{display:block}
.menu>ul{flex-direction:column;align-items:stretch;background:var(--hero);border-radius:14px;padding:8px}
.menu .sub{display:block;position:static;box-shadow:none;background:none;min-width:0;padding:0 0 0 14px}
.menu .sub-t::after{display:none}
.hero-sec{margin-top:16px}
.hero{grid-template-columns:1fr;min-height:0;padding:22px}
.hero h1{font-size:22px}.hero h1 span{margin-top:14px}
.hero .name{font-size:26px}
.hero-media{aspect-ratio:4/3;order:-1}
.grid3{grid-template-columns:1fr 1fr;gap:20px}
.about{grid-template-columns:1fr}
.about-ph{min-height:0;aspect-ratio:4/5;max-height:520px}
.strip{flex-direction:column;align-items:stretch}.strip .b-grad{width:100%}
.dip{width:calc((100% - 20px)/2)}
.fgrid{grid-template-columns:1fr}
.cta,.cta.tall{min-height:0;justify-content:flex-start}
.cta .ph,.cta.tall .ph{position:relative;order:5;width:auto;align-self:stretch;height:220px;margin:28px -30px -30px}
.cta.tall .ph{height:300px}
.cta.tall .ph img{object-position:50% 35%}
.cta .ph::after,.cta.tall .ph::after{display:none}
}
@media(max-width:600px){
body{font-size:16px}
.brand{gap:10px}.brand img{width:48px;height:48px}.brand b{font-size:15px}.brand small{font-size:12px;margin-top:3px}
.tel-pill{padding:0;width:44px;height:44px;justify-content:center;border-radius:50%}.tel-pill span{display:none}.tel-pill .ic{font-size:18px}
.top-right{gap:8px}.top .round{width:44px;height:44px}
.grid3,.grid4{grid-template-columns:1fr}
.btns{gap:10px}.b3{flex:1 1 30%;width:auto;min-width:100px;font-size:14px}
.reviews{padding:0}.reviews .car-btn{display:none}
.dips{padding:0}.dip{width:86%}.dips .car-btn{display:none}
.why{min-height:0}
.soc-c{flex:1 1 100%}
.cta h2,.strip h2{font-size:22px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* ───── внутренние страницы ───── */
.page{margin-top:40px}
.crumbs{font-size:14px;color:#666;padding:0 10px;margin-bottom:18px}
.crumbs a{color:#666}
.crumbs a:hover{color:var(--blue)}
.crumbs span{margin:0 7px;color:#aaa}
.page-h{font-size:30px;line-height:1.2;font-weight:500;text-transform:uppercase;padding:0 10px;margin-bottom:28px;max-width:960px}
.meta{color:#666;font-size:14px;padding:0 10px;margin:-16px 0 26px}
.feat{border-radius:20px;overflow:hidden;margin-bottom:36px;background:var(--hero)}
.feat img{width:100%;height:auto;max-height:420px;object-fit:cover}
.prose{max-width:960px;padding:0 10px}
.prose::after{content:"";display:block;clear:both}
.prose>*+*,.prose div>*+*,.prose blockquote>*+*,.prose li>*+*{margin-top:1em}
.prose h2{font-size:26px;line-height:1.2;font-weight:600;color:var(--navy);margin-top:1.6em;clear:both}
.prose h3{font-size:20px;line-height:1.3;font-weight:600;color:var(--blue);margin-top:1.4em}
.prose h4,.prose h5,.prose h6{font-size:17px;font-weight:600;margin-top:1.3em}
.prose>:first-child{margin-top:0}
.prose ul,.prose ol{margin-bottom:0;padding-left:24px}
.prose li>ul,.prose li>ol{margin-top:.3em}
.prose .cols>div>:first-child,.prose blockquote>:first-child{margin-top:0}
.prose li{margin:.4em 0}
.prose li::marker{color:var(--blue);font-weight:600}
.prose a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.prose a:hover{color:var(--navy)}
.prose img{border-radius:14px}
.prose figure{margin:1.5em 0 0}
.prose figure.center img{margin-left:auto;margin-right:auto}
.prose figure.fl{float:left;width:42%;max-width:380px;margin:6px 30px 16px 0}
.prose figure.fr{float:right;width:42%;max-width:380px;margin:6px 0 16px 30px}
.prose figcaption{font-size:14px;color:#555;margin-top:8px;text-align:center}
.prose blockquote{margin:1.5em 0 0;background:var(--pale);border-radius:20px;padding:24px 28px}
.prose blockquote h2,.prose blockquote h3{margin-top:0;font-size:20px;color:var(--navy)}
.prose hr{border:0;border-top:2px solid #E0E0E0;margin:2em 0 0}
.prose .tc{text-align:center}
.prose .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:30px;align-items:center}
.prose .cols figure{margin:0}
.prose .cols img{width:100%}
.prose .gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;align-items:start}
.prose .gallery figure{margin:0}
.prose .gallery img{width:100%}
.prose a.zoom{display:block;cursor:zoom-in}
.prose a.btn,.prose .btn{display:inline-flex;align-items:center;justify-content:center;padding:18px 28px;border:1px solid var(--btn);border-radius:10px;background:#fff;color:var(--btn);font-size:16px;line-height:1.2;font-weight:600;text-decoration:none;transition:background .15s,color .15s}
.prose a.btn:hover{background:var(--btn);color:#fff}
.prose a.b3{text-decoration:none}
.prose a.b3.pink,.prose a.b3.teal{color:#fff}
.btn-row{display:flex;flex-wrap:wrap;gap:16px}
.table-wrap{overflow-x:auto}
.prose table{border-collapse:collapse;width:100%;font-size:16px}
.prose td,.prose th{border:1px solid #D5DEEA;padding:10px 12px;text-align:left;vertical-align:top}
.prose th{background:var(--pale);font-weight:600}
.map iframe{display:block;width:100%;height:400px;border:0;border-radius:20px}
.video{aspect-ratio:16/9}
.video iframe{display:block;width:100%;height:100%;border:0;border-radius:14px}
.prose video{width:100%;border-radius:14px}
.prose.links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:none}
.prose.links>*{margin:0}
.prose.links p a{display:flex;align-items:center;height:100%;background:var(--pale);border-radius:14px;padding:18px 22px;color:#000;font-weight:500;text-decoration:none;transition:background .15s,color .15s}
.prose.links p a:hover{background:var(--blue);color:#fff}
.prose.links>:not(p){grid-column:1/-1}
.revs{margin-top:1.5em}
.revs .car-track>*{width:100%;display:grid;place-items:center}
.revs img{max-height:460px;width:auto;border-radius:10px;box-shadow:0 0 10px rgba(0,0,0,.18)}
.revs{padding:0 50px}
.postnav{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:50px;max-width:960px;padding:0 10px}
.postnav a{display:block;background:var(--pale);border-radius:14px;padding:16px 20px;color:#000;font-weight:500}
.postnav a small{display:block;font-size:13px;color:var(--blue);font-weight:600;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.postnav a:hover{background:var(--hero)}
.postnav .nx{text-align:right;grid-column:2}
.page .cta{margin-top:70px}
.nf{padding:60px 10px;text-align:center}
.nf b{display:block;font-size:90px;line-height:1;color:var(--blue);font-weight:600}
@media(max-width:900px){
.page{margin-top:20px}
.page-h{font-size:24px}
.prose h2{font-size:22px}
.prose.links{grid-template-columns:1fr}
}
@media(max-width:700px){
.prose .cols{grid-template-columns:1fr!important}
.prose figure.fl,.prose figure.fr{float:none;width:auto;max-width:none;margin:0 0 16px}
.revs{padding:0}
.revs .car-btn{display:none}
.postnav{grid-template-columns:1fr}
.postnav .nx{grid-column:1;text-align:left}
.map iframe{height:320px}
}

/* ───── автор, оглавление, «смотрите также» ───── */
[id]{scroll-margin-top:20px}
.meta a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.where{font-size:15px;color:#444!important;max-width:560px!important;margin-top:14px!important}
.toc{background:var(--pale);border-radius:14px;padding:18px 22px;margin:0 10px 28px;max-width:940px;font-size:16px}
.toc b{display:block;margin-bottom:8px}
.toc ol{margin:0;padding-left:22px;columns:2;column-gap:40px}
.toc li{margin:0 0 .35em;break-inside:avoid}
.toc a{color:var(--navy)}
.toc a:hover{text-decoration:underline}
.author{display:flex;gap:18px;align-items:flex-start;max-width:940px;margin:44px 10px 0;padding:20px 22px;background:var(--grey);border-radius:20px}
.author img{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:50% 10%;flex:none}
.author b{display:block;font-weight:600}
.author span{display:block;font-size:15px;color:#333;margin-top:4px}
.author small{display:block;font-size:13px;color:#666;margin-top:6px}
.related{margin-top:50px;padding:0 10px}
.related h2{font-size:22px;line-height:1.2;font-weight:600;color:var(--navy);margin-bottom:16px}
.related div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.related a{display:flex;align-items:center;background:var(--pale);border-radius:14px;padding:14px 18px;color:#000;font-weight:500;font-size:16px;transition:background .15s,color .15s}
.related a:hover{background:var(--blue);color:#fff}
.legal{margin-top:30px;padding-top:20px;border-top:1px solid #E0E0E0;font-size:13px;line-height:1.5;color:#666}
@media(max-width:900px){.related div{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.toc ol{columns:1}.related div{grid-template-columns:1fr}.author{padding:16px}.author img{width:56px;height:56px}}

/* ───── краткий ответ и опросники ───── */
.tldr{max-width:940px;margin:0 10px 26px;padding:18px 22px;border-left:5px solid var(--blue);background:var(--pale);border-radius:0 14px 14px 0}
.tldr b{display:block;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--navy);margin-bottom:6px}
.quiz{background:var(--pale);border-radius:20px;padding:30px}
.prose .quiz>*{margin-top:0}
.quiz .q-bar{height:6px;border-radius:6px;background:#fff;overflow:hidden;margin-bottom:18px}
.quiz .q-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--blue2));transition:width .25s}
.quiz .q-step{font-size:14px;color:#555;margin-bottom:6px}
.quiz .q-title{font-size:22px;line-height:1.25;font-weight:600;color:var(--navy);margin:0 0 12px;clear:none}
.quiz .q-how{font-size:16px;color:#333;margin-bottom:12px}
.quiz .q-ask{font-weight:600;margin-bottom:4px}
.quiz .q-opts{display:grid;gap:10px;margin-top:16px}
.quiz .q-opt{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:15px 18px;border:1px solid #C9D6EA;border-radius:12px;background:#fff;font-size:16px;line-height:1.35;color:#000;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.quiz .q-opt:hover,.quiz .q-opt.on{border-color:var(--blue);box-shadow:0 0 0 2px rgba(17,77,187,.15)}
.quiz .q-opt input{width:20px;height:20px;accent-color:var(--blue);flex:none;margin:0}
.quiz .q-nav{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px;flex-wrap:wrap}
.quiz .q-nav .b-grad{margin-top:0;width:auto;min-width:200px;border:0;padding:12px 28px}
.quiz .q-back{background:none;border:0;color:var(--blue);font-size:15px;padding:8px 0}
.quiz .q-res{border-left:6px solid var(--blue);background:#fff;border-radius:14px;padding:22px 24px}
.quiz .q-res>*+*{margin-top:10px}
.quiz .q-res.high{border-color:#D8435E}
.quiz .q-res.mid{border-color:#E8A23A}
.quiz .q-res.ok{border-color:#2E9E6B}
.quiz .q-res ul{margin:6px 0 0;padding-left:22px}
.quiz .q-alert{background:#FDECEF;border-radius:14px;padding:16px 18px;margin-bottom:16px;font-weight:500}
.quiz .q-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px;align-items:center}
.quiz .q-cta a{text-decoration:none}
.quiz .q-cta .b-grad{margin-top:0;width:auto;padding:12px 28px;color:#fff}
.quiz .q-cta .b-out{padding:18px 24px}
.quiz .q-note{font-size:13px;color:#666;margin-top:16px}
@media(max-width:700px){.quiz{padding:20px 16px}.quiz .q-title{font-size:19px}.quiz .q-cta a{width:100%}}

/* источники под статьёй */
.sources{max-width:940px;margin:36px 10px 0;font-size:15px;line-height:1.5;color:#444}.sources h2{font-size:18px;margin:0 0 10px;color:inherit}.sources ol{margin:0;padding-left:20px}.sources li{margin:6px 0}

.faqblock{max-width:940px;margin:44px 10px 0}.faqblock h2{font-size:26px;line-height:1.2;font-weight:600;color:var(--navy);margin:0 0 16px}@media(max-width:700px){.faqblock h2{font-size:22px}}

/* схемы в статьях */
.prose figure.scheme{max-width:480px}
.prose figure.scheme svg{display:block;width:100%;height:auto;font-family:inherit}
.prose figure.scheme figcaption{text-align:left}


/* уведомление о cookie */
.cookiebar{position:fixed;left:12px;right:12px;bottom:12px;z-index:60;max-width:760px;margin:0 auto;display:flex;align-items:center;gap:18px;background:#fff;border-radius:14px;box-shadow:0 6px 30px rgba(0,0,0,.28);padding:16px 20px;font-size:14px;line-height:1.45}
.cookiebar p{margin:0;flex:1}
.cookiebar a{text-decoration:underline}
.cookiebar button{flex:none;border:0;border-radius:10px;background:var(--btn);color:#fff;font-size:15px;font-weight:600;padding:12px 22px}
.cookiebar button:hover{background:var(--navy)}
@media(max-width:600px){.cookiebar{flex-direction:column;align-items:stretch;gap:12px;padding:14px 16px;font-size:13px}}
@media print{.cookiebar{display:none}}

/* статичные карты на странице адресов */
.prose figure.map-static{max-width:800px}
.prose figure.map-static img{width:100%;height:auto;border-radius:20px}
.prose figure.map-static figcaption{text-align:right;font-size:12px}

/* выделенный пункт меню «Виды помощи» (только на широких экранах) */
@media(min-width:901px){
.menu .sub-t{background:var(--btn);color:#fff;border-radius:10px;padding:10px 18px;font-weight:600}
.menu .sub-t:hover,.menu .has-sub:focus-within .sub-t{background:var(--navy);color:#fff}
}
@media(min-width:901px) and (max-width:1100px){.cta h2,.cta p,.cta .btns{max-width:50%!important}.cta.tall h2,.cta.tall p,.cta.tall .btns{max-width:54%!important}}
@media(min-width:901px) and (max-width:1100px){.hero{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px;min-height:0}.hero h1{font-size:26px}.hero h1 span{margin-top:22px}.hero .name{font-size:30px}.hero p{max-width:none}.hero-media{align-self:stretch;aspect-ratio:auto;width:100%;height:auto;min-height:460px;margin:0}}
