/* /help/<slug>/ pages — only what the main page CSS (/assets/site.css) does not have.
   Colours and type follow the rendered main page: page #eef5f7, alt #d9e7ed, slate #435664, ink #152b37, eyebrow #416a80. */

.helpPage{background:#eef5f7}

/* ---------------- compact rhythm: less air than the main page's landing sections */
.helpPage main>.section{padding-top:72px!important;padding-bottom:72px!important}
.helpPage main>.section .sectionHead{margin-bottom:40px!important}
.helpPage main>.section.helpText .sectionHead,.helpPage main>.section.helpTest .sectionHead,.helpPage main>.section.helpCrisis .sectionHead{margin-bottom:0!important}

/* specialist and situation cards: two per row instead of a tall stacked deck */
.helpTeam .duoFrame,.helpOthers .duoFrame{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px!important}
.helpTeam .duoFrame>.sectionHead,.helpOthers .duoFrame>.sectionHead{grid-column:1/-1}
.helpTeam .duoFrame>.cCard,.helpOthers .duoFrame>.cCard{position:relative!important;top:auto!important;width:auto!important;max-width:none!important;margin:0!important;
  height:auto!important;min-height:0!important;aspect-ratio:16/9!important;transform:none!important;grid-column:auto!important}

/* ---------------- top bar (inner page, like /prices/): logo · back · languages · "Записатися" */
.helpBar{background:#435664;color:#f2f6f8}
.helpBar__in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:84px;padding:0 130px;border-bottom:1px solid rgb(255 255 255 / 14%)}
.helpBrand{display:flex;align-items:center;gap:14px;color:inherit;text-decoration:none}
.helpBrand__mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:rgb(255 255 255 / 10%);box-shadow:inset 0 1px 1px rgb(255 255 255 / 25%);
  font-style:normal;font-weight:700;font-size:15px;letter-spacing:.04em;color:#fff}
.helpBrand__name{display:flex;flex-direction:column;gap:2px}
.helpBrand__name b{font-weight:700;font-size:13px;letter-spacing:.2em;text-transform:uppercase}
.helpBrand__name small{font-weight:600;font-size:9px;letter-spacing:.24em;text-transform:uppercase;color:#c3d0d8}
.helpBar__r{display:flex;align-items:center;gap:20px}
.helpBack{display:inline-flex;align-items:center;gap:6px;color:#c3d0d8;text-decoration:none;font-weight:600;font-size:13px;transition:color .2s}
.helpBack:hover,.helpBack:focus-visible{color:#fff}
.helpBack svg{flex:none}
.helpLangs{display:flex;align-items:center;gap:2px;padding:4px;border-radius:999px;background:rgb(255 255 255 / 10%);box-shadow:inset 0 1px 1px rgb(255 255 255 / 25%)}
.helpLangs a{min-width:36px;padding:6px 8px;border-radius:999px;text-align:center;text-decoration:none;font-weight:700;font-size:11px;line-height:1;letter-spacing:.08em;color:#c3d0d8;transition:background-color .2s,color .2s}
.helpLangs a:hover{color:#fff}
.helpLangs a[aria-current]{background:#fff;color:#152b37}
.helpBar__book{display:inline-flex;align-items:center;min-height:44px;padding:0 24px;border-radius:999px;background:#fff;color:#152b37;text-decoration:none;
  font-weight:700;font-size:14px;letter-spacing:.18em;text-transform:uppercase;transition:background-color .2s}
.helpBar__book:hover{background:#dfe9ee}
.helpBar a:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* ---------------- page head: breadcrumbs, photo banner like the topic pop-up, intro */
.helpIntro{padding:32px 130px 56px}
.helpCrumbs ol{display:flex;flex-wrap:wrap;gap:6px 0;margin:0 0 24px;padding:0;list-style:none;font-weight:700;font-size:10px;line-height:1.5;letter-spacing:.24em;text-transform:uppercase;color:#416a80}
.helpCrumbs li+li::before{content:"/";margin:0 10px;opacity:.5}
.helpCrumbs a{color:inherit;text-decoration:none;transition:color .2s}
.helpCrumbs a:hover,.helpCrumbs a:focus-visible{color:#152b37}
.helpCrumbs [aria-current]{color:#152b37}
.helpBanner{position:relative;display:flex;align-items:flex-end;min-height:380px;border-radius:24px;overflow:hidden;background-size:cover;background-position:var(--banner-pos,70% 35%);
  box-shadow:0 24px 60px -30px rgb(11 32 41 / 45%)}
.helpBanner::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgb(34 59 73 / 72%) 0%,rgb(34 59 73 / 35%) 50%,rgb(34 59 73 / 0%) 78%),linear-gradient(0deg,rgb(34 59 73 / 45%) 0%,rgb(34 59 73 / 0%) 55%)}
.helpBanner__body{position:relative;max-width:720px;padding:48px 56px}
.helpBanner__tag{margin:0 0 16px;font-weight:700;font-size:10px;letter-spacing:.28em;text-transform:uppercase;color:rgb(255 255 255 / 80%)}
.helpBanner h1{margin:0;font-size:clamp(26px,3vw,42px);line-height:1.18;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff;text-wrap:balance}
.helpIntro__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 96px;align-items:start;margin-top:32px}
.helpIntro__lead{margin:0;font-size:17px;line-height:1.75;letter-spacing:.01em;color:#1c3a49}
.helpBadges{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.helpBadges li{padding:8px 12px;border-radius:10px;background:#e3ecf0;border:1px solid #26465722;font-weight:600;font-size:12px;line-height:1.3;color:#152b37}
.helpIntro__btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}

/* buttons: same pill as the main page ("Надіслати заявку" / "Записатися") */
.helpBtn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:47px;padding:0 26px;border-radius:999px;border:1px solid rgb(255 255 255 / 70%);
  background:transparent;color:#fff;text-decoration:none;font-weight:700;font-size:11px;line-height:1.2;letter-spacing:.18em;text-transform:uppercase;text-align:center;
  transition:background-color .2s,color .2s,border-color .2s,transform .2s}
.helpBtn:hover,.helpBtn:active{background:rgb(255 255 255 / 16%)}
.helpBtn--main{background:#fff;border-color:#fff;color:#152b37}
.helpBtn--main:hover,.helpBtn--main:active{background:#dfe9ee;border-color:#dfe9ee}
.helpBtn:focus-visible{outline:2px solid #fff;outline-offset:3px}
.helpBtn svg{flex:none}
.helpBtn--dark{background:#435664;border-color:#435664;color:#fff}
.helpBtn--dark:hover,.helpBtn--dark:active{background:#36474f;border-color:#36474f}
.helpBtn--line{border-color:#435664;color:#152b37}
.helpBtn--line:hover,.helpBtn--line:active{background:#435664;color:#fff}
.helpBtn--dark:focus-visible,.helpBtn--line:focus-visible{outline-color:#435664}

/* ---------------- text sections: heading left, text right (main page .sectionHead.split, but top-aligned for long text) */
.helpText .sectionHead.split{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)!important;align-items:start!important;gap:48px 96px!important;margin-bottom:0!important}
.helpText__body,.helpCrisis .helpText__body{font-size:15px;line-height:1.8;letter-spacing:.01em;color:#4b6c7d}
.helpText__body p{margin:0 0 16px}
.helpText__body p:last-child{margin-bottom:0}
.helpPage main>.helpBg--alt{background:#d9e7ed!important}
.helpPage main>.helpBg--light{background:#eef5f7!important}
.helpPage main>section[id]{scroll-margin-top:64px}

/* ---------------- page contents bar (sticky) */
.helpJump{position:sticky;top:0;z-index:50;background:rgb(238 245 247 / 88%);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid #26465722}
.helpJump__in{display:flex;gap:6px;padding:10px 130px;overflow-x:auto;scrollbar-width:none}
.helpJump__in::-webkit-scrollbar{display:none}
.helpJump a{flex:none;padding:8px 14px;border-radius:999px;text-decoration:none;font-weight:700;font-size:10px;line-height:1.2;letter-spacing:.18em;text-transform:uppercase;color:#416a80;
  transition:background-color .2s,color .2s}
.helpJump a:hover{background:#d9e7ed;color:#152b37}
.helpJump a[aria-current]{background:#435664;color:#fff}
.helpJump a:focus-visible{outline:2px solid #435664;outline-offset:2px}
.helpNote{padding:14px 18px;border-radius:14px;background:rgb(255 255 255 / 60%);border:1px solid #26465722}
.helpText__body a{color:inherit}

/* ---------------- tiles (main page .methodTile) */
.helpGrid4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.helpTile{cursor:default}

.helpStep__no{font-weight:700;font-size:15px;letter-spacing:.06em;font-variant-numeric:tabular-nums}
.helpMore{margin:24px 0 0;text-align:right}
.helpMore a{display:inline-flex;align-items:center;gap:8px;font-weight:700;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#152b37;text-decoration:none}
.helpMore a:hover{color:#416a80}
.helpMore svg{transition:transform .2s}
.helpMore a:hover svg{transform:translateX(3px)}

/* ---------------- prices */
.helpPrices__table{overflow-x:auto;border-top:1px solid #26465733}
.helpPrices table{width:100%;border-collapse:collapse;font-size:15px}
.helpPrices th,.helpPrices td{padding:20px 0;border-bottom:1px solid #26465733;text-align:left;vertical-align:baseline}
.helpPrices thead th{padding:14px 0;font-weight:700;font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:#416a80}
.helpPrices tbody th{font-weight:600;color:#152b37;padding-right:16px}
.helpPrices td{color:#4b6c7d;white-space:nowrap;padding-right:16px}
.helpPrices td:last-child{text-align:right;padding-right:0;font-weight:700;font-size:18px;color:#152b37;font-variant-numeric:tabular-nums}
.helpPrices thead th:last-child{text-align:right}
.helpPrices__note{margin:20px 0 0;color:#4b6c7d}
.helpPrices__note a{margin-left:8px;font-weight:700;font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#152b37}

/* ---------------- final test block: full width, slate like the main page's dark blocks */
.helpTest{background:#435664;color:#fff;padding-left:48px;padding-right:48px}
.helpTest .sectionHead{display:block!important;margin:0!important;text-align:center}
.helpTest__in{max-width:760px;margin:0 auto;text-align:center;display:flex;flex-direction:column;align-items:center}
.helpTest__icon{display:grid;place-items:center;width:56px;height:56px;margin:0 0 24px;border-radius:16px!important;border-radius:50%;background:rgb(16 38 48 / 34%);
  box-shadow:inset 0 1px 1px rgb(255 255 255 / 35%),inset 0 -1px 1px rgb(255 255 255 / 10%),inset 0 0 60px rgb(255 255 255 / 6%),0 24px 60px -30px rgb(0 0 0 / 35%)}
.helpTest__icon svg{color:#fff}
.helpTest h2{color:#fff!important;margin:0}
.helpTest h2 i{color:rgb(255 255 255 / 72%)!important}
.helpTest__text{max-width:560px;margin:24px 0 0;font-size:16px;line-height:1.7;color:rgb(255 255 255 / 88%)}
.helpTest__btns{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:28px 0 0}
.helpTest__all{margin:20px 0 0;font-size:13px;color:rgb(255 255 255 / 80%);text-decoration:underline;text-underline-offset:3px}
.helpTest__all:hover{color:#fff}
.helpTest__note{margin:20px 0 0;font-weight:600;font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:rgb(255 255 255 / 62%)}

/* ---------------- "if it's very hard right now" */
.helpCrisis__in{max-width:760px}
.helpCrisis .helpText__body{margin-top:24px}
.helpCrisis .sectionHead{margin-bottom:0!important}
.helpCrisis .helpText__body a{color:#152b37;text-decoration:underline;text-underline-offset:3px}
.helpCrisis .helpText__body a:has(b){text-decoration:none;white-space:nowrap}

@media (max-width:1100px){
  .helpJump__in{padding-left:48px;padding-right:48px}
  .helpBar__in,.helpIntro{padding-left:48px;padding-right:48px}
  .helpIntro__row{gap:32px 48px}
  .helpGrid4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media (max-width:800px){
  .helpJump__in{padding:8px 16px}
  .helpJump a{padding:8px 12px;font-size:9px;letter-spacing:.14em}
  .helpPage main>section[id]{scroll-margin-top:52px}
  .helpPage main>.section{padding-top:48px!important;padding-bottom:48px!important}
  .helpPage main>.section .sectionHead{margin-bottom:24px!important}
  .helpTeam .duoFrame,.helpOthers .duoFrame{grid-template-columns:1fr;gap:12px!important}
  .helpTeam .duoFrame>.cCard,.helpOthers .duoFrame>.cCard{aspect-ratio:auto!important;min-height:200px!important}
  .helpBar__in{min-height:64px;padding:0 16px;gap:8px}
  .helpBrand__name,.helpBack span:last-child,.helpBar__book{display:none}
  .helpBrand__mark{width:38px;height:38px;border-radius:10px;font-size:13px}
  .helpBar__r{gap:8px}
  .helpBack{width:40px;height:40px;justify-content:center;border-radius:12px;background:rgb(255 255 255 / 10%);box-shadow:inset 0 1px 1px rgb(255 255 255 / 25%);color:#fff}
  .helpIntro{padding:20px 20px 40px}
  .helpCrumbs ol{margin-bottom:16px;font-size:9px;letter-spacing:.18em}
  .helpBanner{min-height:260px;border-radius:18px;background-position:var(--banner-pos,72% 30%)}
  .helpBanner::before{background:linear-gradient(0deg,rgb(34 59 73 / 80%) 0%,rgb(34 59 73 / 30%) 60%,rgb(34 59 73 / 5%) 100%)}
  .helpBanner__body{padding:24px 20px}
  .helpBanner__tag{margin-bottom:10px;font-size:9px}
  .helpBanner h1{font-size:22px;letter-spacing:.07em}
  .helpIntro__row{grid-template-columns:1fr;gap:20px;margin-top:24px}
  .helpIntro__lead{font-size:15px}
  .helpIntro__btns{flex-direction:column;align-items:stretch}
  .helpGrid3{grid-template-columns:1fr!important}
  .helpTile p{display:block!important}
  .helpTile h3{font-size:13px!important}
  .helpTile{padding:20px!important}
  .helpTile p{max-width:none!important;font-size:13px!important;line-height:1.6!important}
  #team.helpTeam .cCard .cBody .cTopInfo__roles{max-width:58%!important}
  .helpCrumbs ol{margin-bottom:18px;font-size:9px;letter-spacing:.18em}
  .helpBadges{margin-top:20px}
  .helpBadges li{font-size:10px;padding:7px 12px}
  .helpGrid4{grid-template-columns:1fr!important}
  .helpMore{text-align:left}
  .helpTest{padding-left:20px;padding-right:20px}
  .helpText .sectionHead.split{grid-template-columns:1fr!important;gap:24px!important}
  .helpTest__btns{flex-direction:column;align-items:stretch;width:100%}
  .helpPrices th,.helpPrices td{padding:16px 0}
}
@media (prefers-reduced-motion:reduce){.helpBtn,.helpMore svg{transition:none}}
.helpTest .sectionNo{color:rgb(255 255 255 / 62%)!important}
.helpTile h3 a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;text-decoration-color:rgb(65 106 128 / 50%)}
.helpTile h3 a:hover{text-decoration-color:currentColor}

/* /help/ hub: plain texture banner, intro text on the right */
.helpBanner--plain{min-height:300px}
.helpBanner--plain .helpBanner__body{max-width:900px}
.helpHub .helpIntro__row .helpText__body{font-size:15px}

/* ---------------- compact small blocks: final test block and the safety/support block */
.helpPage main>.section.helpTest,.helpPage main>.section.helpCrisis{padding-top:48px!important;padding-bottom:48px!important}
.helpPage .helpTest .sectionNo,.helpPage .helpCrisis .sectionNo{margin-bottom:12px!important}
.helpTest__icon{margin-bottom:16px!important}
.helpTest h2{font-size:clamp(22px,2vw,28px)!important}
.helpTest__text{margin-top:14px!important}
.helpTest__btns{margin-top:20px!important}
.helpTest__all{margin-top:14px!important}
.helpTest__note{margin-top:10px!important}
.helpCrisis h2{font-size:clamp(20px,1.8vw,26px)!important}
.helpCrisis .helpText__body{margin-top:14px!important}
@media (max-width:800px){
  .helpPage main>.section.helpTest,.helpPage main>.section.helpCrisis{padding-top:36px!important;padding-bottom:36px!important}
}
.helpPage main>.duo{padding-top:72px!important;padding-bottom:72px!important}
@media (max-width:800px){.helpPage main>.duo{padding-top:48px!important;padding-bottom:48px!important}}

/* ---------------- horizontal layout (desktop): test block = heading | text | buttons; safety block = heading | text */
@media (min-width:1001px){
  .helpTest__in{max-width:none!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1.2fr) auto;gap:20px 56px;align-items:center!important;text-align:left!important;flex-direction:initial!important}
  .helpTest__head{display:flex;align-items:center;gap:20px}
  .helpTest__head .helpTest__icon{flex:none;margin:0!important}
  .helpTest .sectionHead{text-align:left!important}
  .helpTest__text{margin:0!important;max-width:none!important}
  .helpTest__side{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
  .helpTest__btns{margin:0!important;flex-direction:column;align-items:stretch;justify-content:flex-start!important}
  .helpTest__all,.helpTest__note{margin:0!important}
  .helpCrisis__in{max-width:none!important;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:20px 56px;align-items:center}
  .helpCrisis__in .helpText__body{margin:0!important}
}
@media (max-width:1000px){
  .helpTest__head{display:flex;flex-direction:column;align-items:center}
  .helpTest__side{display:flex;flex-direction:column;align-items:center;width:100%}
}
@media (min-width:801px){.helpPage main>.section.helpTest{padding-left:9vw!important;padding-right:9vw!important}}

/* ---------------- touch targets and minimum text size (checked at 320–1920px) */
.helpLangs a{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 9px}
.helpBack{min-height:40px;padding:0 6px}
@media (max-width:800px){
  .helpLangs a{min-width:38px;min-height:36px}
  .helpCrumbs ol{font-size:10px!important;letter-spacing:.14em!important}
  .helpBanner__tag{font-size:10px!important}
  .helpJump a{font-size:10px!important;min-height:36px;display:inline-flex;align-items:center}
}
@media (max-width:360px){
  .helpLangs a{min-width:34px;padding:0 6px}
  .helpBanner h1{font-size:20px!important}
}

/* ---------------- screen-size fixes (checked 320–1920px) */
/* one left/right edge for the whole page: the same 9% side padding as the main page's sections */
@media (min-width:801px){
  .helpBar__in,.helpIntro,.helpJump__in{padding-left:9vw!important;padding-right:9vw!important}
}
/* tablets: cards one per row (two per row were too narrow and cut the text), compact top bar */
@media (max-width:1100px){
  .helpTeam .duoFrame,.helpOthers .duoFrame{grid-template-columns:1fr!important}
  .helpTeam .duoFrame>.cCard,.helpOthers .duoFrame>.cCard{width:100%!important;max-width:720px!important;justify-self:center}
}
@media (min-width:801px) and (max-width:1000px){
  .helpBrand__name small{display:none}
  .helpBrand__name b{white-space:nowrap}
  .helpBack span:last-child{display:none}
  .helpBack{width:40px;justify-content:center;border-radius:12px;background:rgb(255 255 255 / 10%);box-shadow:inset 0 1px 1px rgb(255 255 255 / 25%);color:#fff}
  .helpBar__r{gap:12px}
}
@media (max-width:360px){
  .helpBtn{letter-spacing:.1em;padding:0 16px}
}
/* match the main page's section side padding: 6% at 801–1000px, 9% above */
@media (min-width:801px) and (max-width:1000px){
  .helpBar__in,.helpIntro,.helpJump__in,.helpPage main>.section.helpTest{padding-left:6vw!important;padding-right:6vw!important}
}
/* two cards per row only where they are wide enough for their text */
@media (max-width:1240px){
  .helpTeam .duoFrame,.helpOthers .duoFrame{grid-template-columns:1fr!important}
  .helpTeam .duoFrame>.cCard,.helpOthers .duoFrame>.cCard{width:100%!important;max-width:720px!important;justify-self:center}
}
.helpText__body a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}

/* ---------------- /team/ specialist pages: hero with a large photo (left) and text (right) */
.teamHero__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center}
.teamHero__photo{position:relative;aspect-ratio:4/5;border-radius:24px;overflow:hidden;background:#d9e7ed;box-shadow:0 24px 60px -30px rgb(11 32 41 / 45%)}
.teamHero__photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.teamHero__copy h1{margin:0;font-size:clamp(28px,3.2vw,46px);line-height:1.15;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#152b37}
.teamHero__roles{margin:14px 0 0;font-weight:700;font-size:11px;line-height:1.6;letter-spacing:.2em;text-transform:uppercase;color:#416a80}
.teamHero__copy .helpIntro__lead{margin-top:22px}
.teamHero__copy .helpBadges{margin-top:24px}
.teamHero__copy .helpIntro__btns{margin-top:24px}
/* topic cards: plain text tiles; the ones with their own /help/ page are links */
.teamTopics .teamTopic{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:0!important;padding:24px!important;text-decoration:none;color:inherit}
.teamTopics .teamTopic h3{margin:0!important}
.teamTopic__more{display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:#416a80}
a.teamTopic{cursor:pointer}
a.teamTopic:hover .teamTopic__more{color:#152b37}
a.teamTopic:focus-visible{outline:2px solid #435664;outline-offset:3px}
.teamFormat{margin:0 0 20px;font-size:15px;line-height:1.7;color:#1c3a49}
.teamReviews .reviews__track{margin-top:0}
/* diplomas: same glass cards and carousel as the reviews */
.teamDiplomas .reviews__track{margin-top:0;align-items:stretch}
.teamDiplomas>.reviews__controls{justify-content:center;gap:10px;margin:8px 0 0}
.teamDiplomas>.reviews__controls button{width:30px;height:30px;font-size:16px}
.teamDiplomas>.reviews__controls .reviews__count{font-size:9px;letter-spacing:.1em;min-width:48px}
.dipCard{display:flex;flex-direction:column;gap:14px;padding:14px 14px 18px;min-height:0!important;text-decoration:none;color:inherit;cursor:zoom-in}
.dipCard__img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#f3f7f9;border-radius:14px;border:1px solid #dbe5ea}
.dipCard__cap{padding:0 4px;font:600 12px/1.45 var(--font-ui,sans-serif);letter-spacing:.015em;color:#152b37;overflow-wrap:anywhere}
.dipCard:focus-visible{outline:2px solid #435664;outline-offset:4px}
@media (max-width:900px){
  .teamHero__grid{grid-template-columns:1fr;gap:24px}
  .teamHero__photo{aspect-ratio:4/3;max-height:420px}
}
@media (max-width:800px){
  .teamHero__copy h1{font-size:26px;letter-spacing:.07em}
  .teamTopics{grid-template-columns:1fr!important}
}

/* ---------------- team hero laid out in a row: photo | name, roles, text | badges, buttons */
.teamHero__grid{grid-template-columns:minmax(0,300px) minmax(0,1.25fr) minmax(0,1fr)!important;gap:24px 48px!important;align-items:center!important}
.teamHero__photo{aspect-ratio:4/5}
.teamHero__copy h1{font-size:clamp(26px,2.6vw,40px)!important}
.teamHero__copy .helpIntro__lead{margin-top:16px!important;font-size:16px}
.teamHero__side .helpBadges{margin:0!important}
.teamHero__side .helpIntro__btns{margin-top:20px!important;flex-direction:column;align-items:stretch}
@media (max-width:1100px){
  .teamHero__grid{grid-template-columns:minmax(0,260px) minmax(0,1fr)!important}
  .teamHero__photo{grid-row:span 2}
  .teamHero__side .helpIntro__btns{flex-direction:row;align-items:center}
}
@media (max-width:800px){
  .teamHero__grid{grid-template-columns:1fr!important;gap:20px!important}
  .teamHero__photo{grid-row:auto;aspect-ratio:4/3}
  .teamHero__side .helpIntro__btns{flex-direction:column;align-items:stretch}
}

/* ---------------- team "about" block laid out in a row: heading on top, paragraphs side by side */
.teamCols .sectionHead{margin-bottom:28px!important}
.teamCols__body{display:grid;grid-template-columns:repeat(var(--cols,3),minmax(0,1fr));gap:20px 48px}
.teamCols__body p{margin:0!important}
@media (max-width:1100px){.teamCols__body{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:800px){.teamCols__body{grid-template-columns:1fr;gap:16px}.teamCols .sectionHead{margin-bottom:20px!important}}
.helpPage main>.section.helpText.teamCols .sectionHead{margin-bottom:28px!important}
@media (max-width:800px){.helpPage main>.section.helpText.teamCols .sectionHead{margin-bottom:20px!important}}
.teamCols__body .helpNote{grid-column:1/-1;margin:4px 0 0!important}

/* =================== PHONES: rethought layout of the /help/ and /team/ pages (desktop unchanged) =================== */
.helpStickyBar,.helpReadMore{display:none}
@media (max-width:800px){
  /* booking bar fixed at the bottom (appears after the top block); the round "up" button is not needed here */
  body.helpPage{padding-bottom:88px}
  .helpPage .toTop{display:none!important}
  .helpStickyBar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom, 0px));z-index:80;display:flex;gap:10px;align-items:center;
    transform:translateY(170%);transition:transform .3s ease;pointer-events:none}
  .helpStickyBar.isShown{transform:none;pointer-events:auto}
  .helpStickyBar .helpBtn{flex:1;min-width:0;min-height:52px;padding:0 14px;box-shadow:0 14px 30px -12px rgb(11 32 41 / 60%)}
  .helpStickyBar__tg{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff;color:#435664;border:1px solid #26465722;
    box-shadow:0 14px 30px -12px rgb(11 32 41 / 45%)}
  .helpStickyBar a:focus-visible{outline:2px solid #435664;outline-offset:3px}

  /* long text blocks: first paragraph + "read more" */
  .isCollapsible:not(.isOpen) > :not(:first-child){display:none!important}
  .helpReadMore{display:inline-flex;align-items:center;gap:8px;margin:12px 0 0;padding:10px 0;border:0;background:none;font:inherit;font-weight:700;font-size:11px;
    letter-spacing:.18em;text-transform:uppercase;color:#152b37;cursor:pointer}
  .helpReadMore::after{content:"";width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
  .helpReadMore[aria-expanded="true"]::after{transform:translateY(2px) rotate(-135deg)}
  .helpReadMore:focus-visible{outline:2px solid #435664;outline-offset:3px;border-radius:4px}

  /* compact cards: icon on the left, text on the right */
  .helpPage .methodsGrid{gap:10px!important}
  .helpPage .helpTile{display:grid!important;grid-template-columns:40px minmax(0,1fr);column-gap:14px;align-items:start;padding:16px!important;min-height:0!important}
  .helpPage .helpTile .methodIcon{grid-row:1 / span 2;width:40px!important;height:40px!important;border-radius:12px!important;margin:0!important}
  .helpPage .helpTile .methodIcon svg{width:20px;height:20px}
  .helpPage .helpTile h3{margin:9px 0 6px!important;font-size:13px!important;line-height:1.35!important}
  .helpPage .helpTile p{grid-column:2;margin:0!important;font-size:13px!important;line-height:1.55!important}
  .helpPage .helpStep__no{font-size:13px!important}
  .helpPage .helpMore{margin-top:16px}

  /* specialist topics: a tidy list, arrow on the right for the ones that open a page */
  .helpPage .teamTopics{gap:8px!important}
  .helpPage .teamTopics .teamTopic{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:12px;padding:15px 16px!important}
  .helpPage .teamTopics .teamTopic h3{margin:0!important}
  .helpPage .teamTopic__more{font-size:0!important;gap:0;flex:none;width:32px;height:32px;justify-content:center;border-radius:50%;background:#e3ecf0}
  .helpPage .teamTopic__more svg{width:16px;height:16px}

  /* specialists / other situations: one row you swipe with a finger, the next card peeks in */
  .helpPage .helpCarousel{display:flex!important;flex-direction:row!important;gap:12px!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;
    margin:0 calc(-1 * max(16px, 5vw)) !important;padding:4px max(16px, 5vw) 20px !important;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .helpPage .helpCarousel::-webkit-scrollbar{display:none}
  .helpPage .helpCarousel > .cCard{flex:0 0 84%!important;width:auto!important;max-width:none!important;min-height:220px!important;margin:0!important;
    position:relative!important;top:auto!important;scroll-snap-align:start;scroll-margin-left:max(16px, 5vw);aspect-ratio:auto!important}

  /* contents bar: fade on the right edge = "there is more, swipe" */
  .helpJump::after{content:"";position:absolute;top:0;right:0;bottom:1px;width:40px;pointer-events:none;background:linear-gradient(90deg,rgb(238 245 247 / 0%),rgb(238 245 247 / 96%))}
}

/* ---------------- phones: page intro = text, a small facts card (place / online / language), then the two buttons */
.helpBadge__ico{display:none}
@media (max-width:800px){
  .helpIntro__row{gap:18px!important}
  .helpIntro__side .helpBadges{display:block!important;margin:0!important;border-radius:16px;background:rgb(255 255 255 / 55%);border:1px solid #26465722;overflow:hidden}
  .helpIntro__side .helpBadges li{display:flex!important;align-items:center;gap:12px;padding:12px 16px!important;border:0!important;border-radius:0!important;background:none!important;
    font-size:14px!important;font-weight:600!important;line-height:1.35!important;color:#152b37}
  .helpIntro__side .helpBadges li + li{border-top:1px solid #26465722!important}
  .helpBadge__ico{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;background:#e3ecf0;color:#435664;font-style:normal}
  .helpIntro__side .helpIntro__btns{margin-top:16px!important;gap:10px!important}
  .helpIntro__side .helpBtn--line{min-height:44px;border-color:#26465755;background:transparent}
}
/* phones: the three facts side by side (icon on top, text under it) */
@media (max-width:800px){
  .helpIntro__side .helpBadges{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}
  .helpIntro__side .helpBadges li{flex-direction:column;justify-content:flex-start;text-align:center;gap:8px!important;padding:14px 8px!important;
    font-size:12px!important;line-height:1.3!important}
  .helpIntro__side .helpBadges li + li{border-top:0!important;border-left:1px solid #26465722!important}
}
/* phones: the two intro buttons in one row (booking wider, test narrower); long labels may wrap to two lines */
@media (max-width:800px){
  .helpIntro__side .helpIntro__btns{display:grid!important;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:stretch;gap:10px!important}
  .helpIntro__side .helpIntro__btns .helpBtn{min-height:52px!important;padding:8px 10px!important;letter-spacing:.08em!important;line-height:1.25!important;white-space:normal;text-wrap:balance}
}

/* ---------------- contents bar: directly under the photo on all screens (the copy after the buttons is not shown) */
.helpIntro--head{padding-bottom:0!important}
.helpIntro--row{padding-top:0!important}
.helpJump--mobile{display:block;margin-top:16px}
.helpJump--desktop{display:none}
.helpIntro--row .helpIntro__row{margin-top:24px!important}
@media (max-width:800px){
  .helpIntro--row .helpIntro__row{margin-top:20px!important}
}
/* phones: "when to seek help" cards two per row (icon on top); an odd last card spans the whole row */
@media (max-width:800px){
  .helpPage .helpWhen .methodsGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .helpPage .helpWhen .helpTile{display:flex!important;flex-direction:column;align-items:flex-start;padding:14px!important}
  .helpPage .helpWhen .helpTile .methodIcon{width:36px!important;height:36px!important;margin:0 0 10px!important}
  .helpPage .helpWhen .helpTile h3{margin:0 0 6px!important;font-size:12.5px!important;line-height:1.3!important}
  .helpPage .helpWhen .helpTile p{font-size:12.5px!important;line-height:1.5!important}
  .helpPage .helpWhen .helpTile:last-child:nth-child(odd){grid-column:1 / -1}
}
/* phones: the 4 steps two per row too (number on top) */
@media (max-width:800px){
  .helpPage .helpSteps .methodsGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .helpPage .helpSteps .helpTile{display:flex!important;flex-direction:column;align-items:flex-start;padding:14px!important}
  .helpPage .helpSteps .helpTile .methodIcon{width:36px!important;height:36px!important;margin:0 0 10px!important}
  .helpPage .helpSteps .helpTile h3{margin:0 0 6px!important;font-size:12.5px!important;line-height:1.3!important}
  .helpPage .helpSteps .helpTile p{font-size:12.5px!important;line-height:1.5!important}
}

/* team hub: the 1.16 zoom from the main page cut off the top of Olha Haha's head on the lower hub cards — zoom from the top edge instead, so the headroom of the photo stays */
.teamPage #team .cCard.wideShot[data-method="olga_g"] .cShot{transform-origin:50% 0}

/* mobile menu: three-line button next to the logo, panel with the main sections under the bar */
.helpMenuBtn,.helpMenu{display:none}
@media (max-width:800px){
  .helpBar{position:relative;z-index:60}
  .helpBar__in{justify-content:flex-start}
  .helpBar__r{margin-left:auto}
  .helpMenuBtn{display:grid;align-content:center;justify-items:center;gap:4px;flex:none;width:38px;height:38px;padding:0;border:0;border-radius:10px;cursor:pointer;
    background:rgb(255 255 255 / 10%);box-shadow:inset 0 1px 1px rgb(255 255 255 / 25%);color:#fff;-webkit-tap-highlight-color:transparent}
  .helpMenuBtn i{display:block;width:16px;height:1.6px;border-radius:2px;background:currentColor;transition:transform .2s,opacity .2s}
  .helpMenuBtn[aria-expanded="true"] i:nth-child(1){transform:translateY(5.6px) rotate(45deg)}
  .helpMenuBtn[aria-expanded="true"] i:nth-child(2){opacity:0}
  .helpMenuBtn[aria-expanded="true"] i:nth-child(3){transform:translateY(-5.6px) rotate(-45deg)}
  .helpMenuBtn:focus-visible{outline:2px solid #fff;outline-offset:3px}
  .helpMenu:not([hidden]){display:block;position:absolute;left:0;right:0;top:100%;max-height:calc(100vh - 64px);max-height:calc(100dvh - 64px);overflow-y:auto;overscroll-behavior:contain;
    padding:6px 6vw 18px;background:#435664;border-top:1px solid rgb(255 255 255 / 14%);box-shadow:0 18px 30px rgb(30 45 55 / 30%)}
  .helpMenu__a{display:flex;align-items:center;min-height:46px;color:#fff;text-decoration:none;font-weight:700;font-size:13px;letter-spacing:.14em;text-transform:uppercase;
    border-bottom:1px solid rgb(255 255 255 / 10%)}
  .helpMenu__a:last-child{border-bottom:0}
  .helpMenu__sub{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px 0 12px;border-bottom:1px solid rgb(255 255 255 / 10%)}
  .helpMenu__sub a{display:flex;align-items:center;min-height:38px;padding:6px 12px;border-radius:10px;background:rgb(255 255 255 / 8%);color:#e6eef2;text-decoration:none;font-size:13px;line-height:1.25}
  .helpMenu a:focus-visible{outline:2px solid #fff;outline-offset:2px}
  html.helpMenuOpen .helpStickyBar{visibility:hidden}
}

/* photos inside long text blocks (placeholders until real photos arrive) — a row under the text; on phones a swipe row */
.helpPhotos{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:20px;margin-top:32px}
.helpPhoto{position:relative;margin:0;aspect-ratio:4/3;border-radius:24px;overflow:hidden;background:#dde8ed;box-shadow:0 18px 40px rgb(38 70 87 / 10%)}
.helpPhotos[style*="--n:2"] .helpPhoto{aspect-ratio:2/1}
.helpPhoto img{display:block;width:100%;height:100%;object-fit:cover}
.helpPhoto--empty{display:grid;place-items:center;background:linear-gradient(135deg,#e6eff3 0%,#d3e1e8 100%);border:1px dashed #9db3bf}
.helpPhoto--empty span{display:grid;justify-items:center;gap:8px;color:#6f8b99}
.helpPhoto--empty span svg{width:28px;height:28px}
.helpPhoto--empty b{font-weight:700;font-size:10px;letter-spacing:.18em;text-transform:uppercase}
@media (max-width:800px){
  .helpPhotos{display:flex;gap:10px;margin:20px 0 0;padding:0 0 10px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
  .helpPhotos::-webkit-scrollbar{display:none}
  .helpPhoto,.helpPhotos[style*="--n:2"] .helpPhoto{flex:0 0 78%;aspect-ratio:4/3;border-radius:18px;scroll-snap-align:start;box-shadow:none}
}
/* a single horizontal photo across the whole block */
.helpPhotos[style*="--n:1"] .helpPhoto{aspect-ratio:21/8}
@media (max-width:800px){.helpPhotos[style*="--n:1"]{overflow:visible}.helpPhotos[style*="--n:1"] .helpPhoto{flex:1 1 100%;aspect-ratio:16/9}}

/* text block with one photo beside it (helpSplit--right: text | photo, helpSplit--left: photo | text); on phones the photo goes under the text */
.helpSplit__in{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px;align-items:center}
.helpSplit--left .helpSplit__in{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
.helpSplit--left .helpSplit__in .helpPhotos{order:-1}
.helpSplit .helpPhotos{margin:0}
.helpSplit .helpPhotos[style*="--n:1"] .helpPhoto{aspect-ratio:4/3}
.helpSplit .teamCols__body{grid-template-columns:1fr!important}
@media (max-width:800px){
  .helpSplit__in,.helpSplit--left .helpSplit__in{grid-template-columns:1fr;gap:0}
  .helpSplit--left .helpSplit__in .helpPhotos{order:0}
  .helpSplit .helpPhotos{margin-top:20px}
  .helpSplit .helpPhotos[style*="--n:1"] .helpPhoto{aspect-ratio:16/9}
}

/* format badges + booking/test buttons above the photo (between breadcrumbs and banner); the lead stays under the photo */
.helpIntro__side--top{display:flex;align-items:center;justify-content:space-between;gap:16px 32px;flex-wrap:wrap;margin:0 0 20px}
.helpIntro__side--top .helpBadges{margin:0}
.helpIntro__side--top .helpIntro__btns{margin:0!important}
.helpIntro__row--solo{grid-template-columns:minmax(0,1fr)!important}
.helpIntro__row--solo .helpIntro__lead{max-width:880px}
@media (max-width:800px){
  .helpIntro__side--top{display:block;margin:0 0 16px}
  .helpIntro__side--top .helpIntro__btns{margin-top:12px!important}
}
/* test card: last card of the specialists grid (computer) / swipe row (phone), exactly the size of a specialist card (16:9) */
.helpTeam .duoFrame>.helpTestCard{position:relative;display:flex;flex-direction:column;justify-content:center;gap:14px;margin:0;padding:clamp(20px,2.6vw,36px);
  aspect-ratio:16/9;min-width:0;overflow:hidden;border-radius:20px;background:#435664;color:#fff;box-shadow:0 24px 48px -24px rgb(16 38 48 / 45%);
  scroll-margin-top:90px;container-type:inline-size}
.helpTestCard h3{display:flex;align-items:center;gap:14px;margin:0;font-weight:700;font-size:clamp(14px,1.35vw,18px);line-height:1.3;letter-spacing:.14em;text-transform:uppercase;color:#fff}
.helpTestCard h3 i{display:block;font-style:normal;font-weight:300;color:rgb(255 255 255 / 72%)}
.helpTestCard__icon{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:rgb(16 38 48 / 34%);box-shadow:inset 0 1px 1px rgb(255 255 255 / 18%)}
.helpTestCard__icon svg{color:#fff}
.helpTestCard__text{margin:0;font-size:13.5px;line-height:1.6;color:rgb(255 255 255 / 86%)}
.helpTestCard__side{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.helpTestCard__btns{display:flex;flex-wrap:wrap;gap:8px}
.helpTestCard .helpBtn{min-height:40px;padding-top:0;padding-bottom:0;font-size:10px}
.helpTestCard__all{font-size:12px;color:rgb(255 255 255 / 80%);text-decoration:underline;text-underline-offset:3px}
.helpTestCard__all:hover{color:#fff}
.helpTestCard__note{margin:0;font-weight:600;font-size:9px;letter-spacing:.22em;text-transform:uppercase;color:rgb(255 255 255 / 62%)}
/* smaller card: drop the secondary lines so everything fits the 16:9 box */
@container (max-width:520px){
  .helpTestCard__note{display:none}
  .helpTestCard__text{font-size:12.5px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .helpTestCard__icon{width:36px;height:36px;border-radius:12px}
}
@container (max-width:440px){
  .helpTestCard__text{display:none}
  .helpTestCard .helpBtn{min-height:36px}
}
@media (max-width:800px){
  .helpPage .helpCarousel>.helpTestCard{flex:0 0 84%!important;aspect-ratio:auto;min-height:220px;padding:22px 20px;gap:12px;scroll-snap-align:start;scroll-margin-left:max(16px, 5vw);scroll-margin-top:60px}
  .helpTestCard__btns{flex-direction:column;align-items:stretch;width:100%}
  .helpTestCard__side{align-items:stretch;width:100%}
  .helpTestCard__all{text-align:center}
}
@media (min-width:801px) and (max-width:1240px){
  .helpTeam .duoFrame>.helpTestCard{width:100%;max-width:720px;justify-self:center}
}
.helpTestCard .helpBtn{white-space:nowrap}
@container (min-width:600px){
  .helpTestCard h3{font-size:19px}
  .helpTestCard__text{font-size:14.5px;line-height:1.65}
  .helpTestCard>.helpTestCard__main{display:flex;flex-direction:column;gap:16px}
}
.helpTestCard__main{display:flex;flex-direction:column;gap:12px}
@media (max-width:800px){
  .helpTestCard .helpBtn{padding-left:12px;padding-right:12px;font-size:9.5px;letter-spacing:.12em;gap:8px}
}
/* phones: footer link lists (services / legal) hidden, as on the main page */
@media (max-width:800px){ footer > div:not([class]){display:none!important} }

/* "Оплатити онлайн" on specialist pages: placeholder until online payment is live (same as the price page and pop-ups) */
.helpBtn--pay{font-family:inherit;gap:8px;opacity:.55;pointer-events:none}
.helpBtn--pay,.helpBtn--pay:hover,.helpBtn--pay:active,.helpBtn--pay:focus{background:transparent!important;color:#152b37!important;border-color:#435664!important;box-shadow:none!important;transform:none!important}
.helpBtn__soon{flex:none;padding:4px 7px;border-radius:999px;background:#43566422;font-size:9px;line-height:1;letter-spacing:.12em}
/* price block on specialist pages: «Усі ціни» left, «Оплатити онлайн» right */
.teamPricesFoot{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:20px}
.teamPricesFoot .helpPrices__note{margin:0!important}
@media (max-width:800px){.teamPricesFoot{flex-direction:column;align-items:stretch}.teamPricesFoot .helpBtn--pay{width:100%}}
