/* Правки 25.11.2026: онлайн-консультации и рецепт (шаг r3_p25_online.py). Переменные r3. */
.p25o-hero{position:relative;display:flex;flex-direction:column;background:#1B1730;color:#fff;overflow:hidden;isolation:isolate}
.k3o-hero.p25o-hero{min-height:0}
.p25o-hi{position:relative;aspect-ratio:1/1;max-height:58svh;width:100%}
.p25o-hi img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.p25o-hi::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(27,23,48,.18) 0,rgba(27,23,48,0) 30%,rgba(27,23,48,0) 48%,#1B1730 100%)}
.p25o-ht{position:relative;z-index:1;width:100%;margin-top:-64px;padding-bottom:40px}
.p25o-hero .k3p-crumbs{justify-content:flex-start;margin-bottom:8px;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.p25o-hero .k3p-crumbs a{min-width:0}
.p25o-hero h1{margin:0;font-size:clamp(33px,8.4vw,44px);line-height:1.1;letter-spacing:-.01em;font-weight:800;color:#fff;text-wrap:balance}
.p25o-hero p.lead{margin:16px 0 0;font-size:17.5px;line-height:1.55;color:rgba(255,255,255,.9);max-width:none;text-align:left}
.p25o-hero .btns2{align-items:stretch;margin-top:24px}
/* полоса фактов */
.p25o-usp .ulist .ub{font-size:17px;line-height:1.4}
.p25o-usp .ulist li{align-items:flex-start}
/* картинка + список */
.p25o-split{display:grid;gap:26px;align-items:center}
.p25o-fig{margin:0;border-radius:var(--r);overflow:hidden;box-shadow:var(--sh);aspect-ratio:4/3;background:var(--mint)}
.p25o-fig img{display:block;width:100%;height:100%;object-fit:cover}
.p25o-split .k3o-asks{margin-top:22px}
.p25o-split .sh{margin-bottom:0}
.k3o-asks.p25o-one{grid-template-columns:1fr}
/* «онлайн» и «в центр» */
.k3o-col{padding-top:0!important;border-top:0!important}
.p25o-cimg{margin:0 -24px 22px;aspect-ratio:16/10;overflow:hidden;border-bottom:5px solid var(--g);background:var(--mint)}
.k3o-no .p25o-cimg{border-bottom-color:#E39A6F}
.p25o-cimg img{display:block;width:100%;height:100%;object-fit:cover}
.k3o-col h2{padding-right:0}
/* призыв в середине */
.p25o-cta .meta{justify-content:center}
/* «Что вы получите» */
.p25o-ggrid{display:grid;gap:16px}
.p25o-get{display:flex;flex-direction:column;border-radius:var(--r);background:#fff;border:1px solid var(--line);box-shadow:var(--sh);overflow:hidden}
.p25o-gimg{aspect-ratio:4/3;overflow:hidden;background:var(--mint)}
.p25o-gimg img{display:block;width:100%;height:100%;object-fit:cover}
.p25o-get h3{margin:20px 22px 0;font-size:20px;line-height:1.25}
.p25o-get p{margin:10px 22px 24px;color:var(--muted);font-size:16px;line-height:1.55}
.p25o-nv{display:inline-block;margin-top:18px;padding:8px 14px;border-radius:12px;background:#FFF3D6;color:#7A4B00;font-size:14px;font-weight:700}
/* специалисты */
.p25o-sph{flex:none;width:104px;height:130px;border-radius:20px;overflow:hidden;background:var(--mint);display:grid;place-items:center}
.p25o-sph img{width:100%;height:100%;object-fit:cover;object-position:50% 12%}
.p25o-sph b{font-size:30px;font-weight:800;color:var(--g)}
.k3p-spc{display:flex;gap:18px;align-items:flex-start}
.p25o-spt{min-width:0}
.p25o-spt .k3p-role{margin-top:4px}
/* «Как это проходит» */
.p25o-steps .k3i-fig{margin-top:22px;border-radius:var(--r);overflow:hidden;aspect-ratio:4/3}
.p25o-steps .k3i-fig img{display:block;width:100%;height:100%;object-fit:cover}
.p25o-st{padding:0 20px 20px}
.p25o-st p{margin:0;color:var(--muted);font-size:16.5px;line-height:1.6}
.p25o-steps .k3p-note{margin-left:58px}
/* «Как подготовиться» */
.p25o-clip{position:relative;list-style:none;margin:26px 0 0;padding:46px 24px 22px;border-radius:var(--r);background:#fff;border:1px solid var(--line);box-shadow:var(--sh);display:grid;gap:0}
.p25o-clip::before{content:"";position:absolute;top:-16px;left:50%;width:132px;height:36px;margin-left:-66px;border-radius:14px;background:var(--g)}
.p25o-clip::after{content:"";position:absolute;top:-9px;left:50%;width:52px;height:8px;margin-left:-26px;border-radius:9px;background:rgba(255,255,255,.75)}
.p25o-clip li{display:flex;gap:14px;align-items:flex-start;padding:15px 0;border-bottom:1px dashed #D9D3EC;font-size:17px;line-height:1.5}
.p25o-clip li:last-child{border-bottom:0}
.p25o-clip .ic{flex:none;box-sizing:border-box;width:28px;height:28px;padding:5px;border-radius:9px;background:var(--g);stroke:#fff;fill:none;stroke-width:3.2}
/* где действует */
.p25o-tri{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.p25o-tri li{padding:24px;border-radius:var(--r);background:var(--mint)}
.p25o-tri .dic{background:#fff}
.p25o-tri p{margin:0;font-size:17px;line-height:1.5}
/* хаб */
a.k3o-dir{padding-top:0}
.p25o-dimg{display:block;margin:0 -24px 20px;aspect-ratio:16/10;overflow:hidden;background:var(--mint)}
.p25o-dimg img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
a.k3o-dir:hover .p25o-dimg img{transform:scale(1.04)}
a.k3o-dir .k3o-go{background:#fff;top:16px;right:16px;box-shadow:0 6px 18px -6px rgba(23,23,31,.4)}
.k3o-dir h3{padding-right:0}
.k3o-dirs a.k3o-dir:first-child:nth-last-child(1){grid-column:auto}
/* форма */
.p25o-quick{margin:22px 0 0;font-weight:700}
.btns3.p25o-fb{justify-content:flex-start;margin-top:12px;width:auto}
.p25o-fb .btn{min-height:48px;font-size:16px;padding:0 24px}
.btn.p25o-tel{background:#fff;color:var(--ink);border:1px solid var(--line)}
.p25o-ff{display:none}
/* другие направления */
a.k3o-link{justify-content:flex-start;padding:10px 18px 10px 10px}
a.k3o-link img{flex:none;width:64px;height:64px;border-radius:16px;object-fit:cover}
a.k3o-link .ic{margin-left:auto;flex:none}
.p25o-five .dcard h3{padding-right:0}
@media (max-width:719px){
  .p25o-steps .k3p-note{margin-left:0}
  .p25o-fb .btn{flex:1 1 100%}
  .p25o-cta .btns3 .btn-white,.p25o-cta .btns3 .btn-wa,.p25o-cta .btns3 .btn-glass{flex:1 1 100%;min-height:50px;font-size:16px}
}
@media (min-width:720px){
  .p25o-ggrid{grid-template-columns:1fr 1fr}
  .p25o-tri{grid-template-columns:repeat(3,1fr)}
  .p25o-clip{grid-template-columns:1fr 1fr;column-gap:44px;padding:52px 40px 26px}
  .p25o-clip li:nth-last-child(2):nth-child(odd){border-bottom:0}
}
@media (min-width:900px){
  .p25o-hero{min-height:min(82svh,740px);justify-content:center}
  .p25o-hi{position:absolute;inset:0 0 0 auto;width:66%;max-height:none;aspect-ratio:auto}
  .p25o-hi::after{background:linear-gradient(90deg,#1B1730 0,rgba(27,23,48,.72) 22%,rgba(27,23,48,.12) 52%,rgba(27,23,48,0) 100%)}
  .p25o-ht{margin-top:0;padding-top:128px;padding-bottom:72px}
  .p25o-ht>div{max-width:540px}
  .p25o-hero h1{font-size:clamp(40px,4.3vw,62px)}
  .p25o-hero p.lead{font-size:19px;margin-top:18px}
  .p25o-hero .btns2{justify-content:flex-start;align-items:center;margin-top:30px}
  .p25o-split{grid-template-columns:.85fr 1.15fr;gap:56px}
  .p25o-split .k3o-asks{grid-template-columns:1fr 1fr}
  .p25o-split .k3o-asks.p25o-one{grid-template-columns:1fr}
}
@media (min-width:1024px){
  .p25o-ggrid{grid-template-columns:repeat(4,1fr)}
  .p25o-ff{display:block;margin-top:28px}
  .k3p-spec:has(>:nth-child(1):last-child){grid-template-columns:minmax(0,560px)}
  .k3p-spec:has(>:nth-child(2):last-child){grid-template-columns:repeat(2,1fr)}
}
/* отступы раздела — как на главной (76px), соседние белые блоки не складываются в пустоту */
[data-p25o]~.k3p-sec,[data-p25o]~.steps{padding:56px 0}
[data-p25o]~.p25o-usp{padding:28px 0 0}
[data-p25o]~.p25o-five:has(+.k3p-sec .k3p-online){padding-bottom:0}
[data-p25o]~.k3o-rxsec{padding-bottom:56px}
.p25o-usp .ulist{margin-top:0}
@media (min-width:900px){
  [data-p25o]~.k3p-sec,[data-p25o]~.steps{padding:76px 0}
  [data-p25o]~.p25o-usp{padding:32px 0 0}
  [data-p25o]~.k3o-rxsec{padding-bottom:76px}
  [data-p25o]~.k3p-sec:has(.k3p-spec>:nth-child(1):last-child)>.wrap{display:grid;grid-template-columns:.85fr 1.15fr;column-gap:56px;align-items:center}
  [data-p25o]~.k3p-sec:has(.k3p-spec>:nth-child(1):last-child) .k3p-spec{grid-column:2;grid-row:1/3;grid-template-columns:1fr}
  [data-p25o]~.k3p-sec:has(.k3p-spec>:nth-child(1):last-child) .sh{align-self:end;margin-bottom:0}
  [data-p25o]~.k3p-sec:has(.k3p-spec>:nth-child(1):last-child) .k3p-note{align-self:start;margin-top:14px}
}
[data-p25o]~.k3p-sec .k3p-split>*{min-width:0}
[data-p25o]~.k3p-sec .btns3.p25o-fb{flex-wrap:wrap}
.p25o-cimg img,.p25o-gimg img{max-width:100%}
@media (max-width:719px){
  .p25o-hero .k3p-crumbs [aria-current],.p25o-hero .k3p-crumbs [aria-hidden]:nth-last-child(2){display:none}
  .p25o-gimg{aspect-ratio:16/10}
  .p25o-split .k3o-asks li{padding:12px 16px}
}
@media (min-width:1024px){[data-p25o]~.k3p-sec .k3o-4{grid-template-columns:repeat(4,1fr)}}
.p25o-usp .ulist .ub{hyphens:manual;-webkit-hyphens:manual}
.p25o-usp .ulist .ub.p25o-long{font-size:15.5px;font-weight:600}
section.p25o-hero{padding:0}
@media (max-width:899px){.p25o-hi{aspect-ratio:1/1.08;max-height:62svh}}
@media (min-width:900px){.p25o-hi{width:70%}.p25o-ht{padding-top:150px;padding-bottom:84px}}
[data-p25o]~.p25o-usp:has(+.tint){padding-bottom:44px}
