/*
 * Публичный сайт ALMA JOB (site/). Палитра и шрифты – по макетам «Сайт.zip».
 * Страницы собирает site-src/build.py; здесь только оформление блоков.
 * Ширины: телефон ≤ 720, планшет 721–1100, ПК > 1100 (макет – 1366).
 */

:root {
    --bg: #f5f1e8;
    --ink: #111111;
    --line: #2f2b2b;
    --muted: #4a4542;
    --purple: #633f91;
    --purple-deep: #503071;
    --purple-card: #8062a3;
    --purple-banner: #593b77;
    --lav: #cbb4d6;
    --lav-2: #c0a5d1;
    --lav-tab: #d0bcd8;
    --green: #98b944;
    --green-card: #abc465;
    --green-tab: #b4ca75;
    --green-light: #cbe58a;
    --green-pale: #d3e79d;
    --dark: #31302f;
    --white: #fdfcfb;

    --wrap: 1368px;
    --gut: 28px;
    --r-card: 34px;
    --r-btn: 24px;
    --bd: 1.6px solid var(--line);

    --f-main: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --f-hand: 'Amatic SC', Caveat, 'Comic Sans MS', cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--f-main);
    font-size: 19px;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 .6em; }
h1, h2, h3 { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

.skip {
    position: absolute; left: -999px; top: 8px; z-index: 100;
    background: var(--purple); color: #fff; padding: 8px 14px; border-radius: 12px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

.sec { padding: 56px 0; position: relative; }
.sec--hero { padding-top: 28px; }

.c-green { color: var(--green); }
.c-purple { color: var(--purple); }

/* ---------------------------------------------------------------- type */

.h1 {
    font-weight: 700;
    font-size: clamp(30px, 3.55vw, 50px);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: -.005em;
}
.h1--md { font-size: clamp(28px, 3vw, 42px); line-height: 1.32; }
.h2 {
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 47px);
    line-height: 1.15;
    letter-spacing: -.01em;
}
.h2--caps { text-transform: uppercase; font-size: clamp(24px, 2.9vw, 40px); }
.sub { font-size: clamp(17px, 1.5vw, 21px); margin-top: 18px; color: var(--ink); }
.lead { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.5; margin: 26px 0 0; max-width: 34em; }
.kicker { text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; font-size: clamp(16px, 1.45vw, 20px); margin-bottom: 26px; }
.kicker--plain { text-decoration: none; margin-bottom: 8px; }
.kicker--light { color: #fff; }

/* ---------------------------------------------------------------- buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    min-height: 48px; padding: 8px 20px;
    border-radius: var(--r-btn); border: var(--bd);
    font-size: clamp(17px, 1.5vw, 21px); line-height: 1.15; text-decoration: none; text-align: left;
    cursor: pointer; transition: transform .15s ease, filter .15s ease, background-color .15s;
    background: transparent; color: var(--ink);
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arr { width: 46px; height: 12px; flex: none; }
.btn .doc { width: 24px; height: 32px; flex: none; }
.btn--bold { font-weight: 700; }
.btn--green { background: var(--green); }
.btn--lightgreen { background: var(--green-light); }
.btn--purple { background: var(--purple); color: #fff; }
.btn--purpledeep { background: var(--purple-deep); color: #fff; }
.btn--dark { background: #2a2826; color: #fff; border-color: #2a2826; }
.btn--outline { background: transparent; }
.btn--plain { background: var(--bg); font-weight: 700; min-width: 70%; justify-content: center; }
.btn--lg { min-height: 56px; padding: 10px 34px; font-size: clamp(18px, 1.8vw, 26px); }
.btn--hdr { min-height: 48px; padding: 6px 22px; font-size: 19px; }

.btns { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 44px; }
.btns--col { flex-direction: column; align-items: flex-start; gap: 18px; }

.alllink { font-size: clamp(17px, 1.6vw, 22px); text-underline-offset: 5px; white-space: nowrap; }

/* ---------------------------------------------------------------- handwriting & stickers */

.stk { display: inline-flex; flex-direction: column; align-items: flex-start; transform: rotate(var(--tilt)); font-family: var(--f-hand); font-weight: 700; line-height: 1; }
.stk__l {
    display: inline-block; padding: 6px 22px 4px; font-size: clamp(22px, 2.3vw, 32px); text-transform: uppercase; letter-spacing: .02em;
    border-radius: 14px 40px 18px 34px / 24px 12px 30px 14px; white-space: nowrap; color: var(--ink);
}
.stk__l + .stk__l { margin-left: 2.6em; margin-top: -4px; }
.stk--green .stk__l { background: var(--green-light); }
.stk--lavender .stk__l { background: var(--lav); }
.stk--purple .stk__l { background: #8b72aa; color: #fff; }
.stk--white .stk__l { background: #f4f2ee; border: 1.5px solid #e6e2da; }

.hand {
    position: absolute; font-family: var(--f-hand); font-weight: 700; text-transform: uppercase; line-height: 1.05;
    color: var(--ink); white-space: nowrap; pointer-events: none;
}

/* ---------------------------------------------------------------- header */

.hdr { position: relative; z-index: 30; padding-top: 14px; }
.hdr__in { display: flex; align-items: center; gap: 36px; min-height: 72px; }
.hdr__logo .logo { width: 236px; height: auto; }
.hdr__menu { display: flex; align-items: center; flex: 1; gap: 24px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav__a {
    display: inline-flex; align-items: center; gap: 4px; font-size: 19px; text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; white-space: nowrap;
}
.nav__a:hover { color: var(--purple); }
.chev { width: 12px; height: 8px; opacity: 0; transition: transform .2s; }
.nav__dd { position: relative; }
.nav__dd.is-active .chev, .nav__dd:hover .chev, .nav__dd:focus-within .chev { opacity: 1; }
.dd {
    position: absolute; top: 100%; left: -18px; min-width: 280px; padding: 10px; display: none; flex-direction: column;
    background: var(--white); border: var(--bd); border-radius: 22px; box-shadow: 0 16px 40px rgba(40, 30, 60, .12);
}
.dd a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; font-size: 17px; white-space: nowrap; }
.dd a:hover { background: var(--green-pale); }
.dd__ico { width: 30px; height: 30px; object-fit: contain; }
.nav__dd:hover .dd, .nav__dd:focus-within .dd, .nav__dd.is-open .dd { display: flex; }
.nav__dd:hover .chev, .nav__dd.is-open .chev { transform: rotate(180deg); }
.hdr__act { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hdr__search { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 50%; }
.hdr__search svg { width: 30px; height: 30px; }
.hdr__search:hover { background: rgba(99, 63, 145, .08); }
.langs { display: flex; gap: 2px; font-size: 14px; font-weight: 500; }
.langs a { padding: 4px 6px; text-decoration: none; border-radius: 8px; color: var(--muted); }
.langs a[aria-current] { color: var(--ink); background: rgba(152, 185, 68, .28); }
.burger { display: none; }

/* ---------------------------------------------------------------- tabs (role switch) */

.tabs { border-top: 1.5px solid #cfc9bf; border-bottom: 1.5px solid #cfc9bf; margin-top: 28px; }
.tabs .tabs__in { max-width: var(--wrap); margin: 0 auto; padding: 6px var(--gut); display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.tabs .tabs__in::-webkit-scrollbar { display: none; }
.tab {
    flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 60px; padding: 0 16px;
    text-decoration: none; font-size: 17px; white-space: nowrap; border-radius: 40px; position: relative;
}
.tab + .tab::before { content: ''; position: absolute; left: -1px; top: 4px; bottom: 4px; width: 1.5px; background: #cfc9bf; }
.tab__ico { width: 50px; height: 46px; object-fit: contain; }
.tab:hover { background: rgba(203, 180, 214, .35); }
.tabs--green .tab.is-on { background: var(--green-tab); }
.tabs--lavender .tab.is-on { background: var(--lav-tab); }
.tab.is-on::before, .tab.is-on + .tab::before { display: none; }

/* ---------------------------------------------------------------- hero: home */

.hh { display: grid; grid-template-columns: 37fr 63fr; align-items: end; gap: 0 20px; }
.hh__text { padding: 44px 0 10px; position: relative; z-index: 2; }
.hh__title .ln { display: block; }
.hh__visual { position: relative; margin-right: calc(-1 * var(--gut)); container-type: inline-size; align-self: stretch; display: flex; align-items: flex-end; }
.hh__img { width: 100%; }
.hh__hand { left: 67%; top: 14%; font-size: 5.2cqw; transform: rotate(-22deg); transform-origin: left top; }

/* ---------------------------------------------------------------- hero: roles */

.sec--herorole { padding-top: 22px; padding-bottom: 0; }
.hr { position: relative; display: grid; grid-template-columns: 45fr 35fr 20fr; gap: 0 28px; min-height: 560px; }
.hr__text { grid-column: 1; padding-bottom: 48px; position: relative; z-index: 2; }
.hr__deco { display: flex; align-items: center; gap: 4px; min-height: 130px; margin: 0 0 22px; }
.hr__decoimg { width: 150px; max-height: 130px; object-fit: contain; flex: none; }
.hr__deco .stk { margin-left: 4px; }
.hr__title { margin: 0; }
.hr__feats { grid-column: 2; display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 34px 0 48px; position: relative; z-index: 2; }
.feat { display: grid; grid-template-columns: 92px 1fr; gap: 0 22px; align-items: start; }
.feat__ico { width: 92px; height: 92px; object-fit: contain; }
.feat__t { font-size: 19px; font-weight: 700; margin: 12px 0 6px; }
.feat p { margin: 0; font-size: 19px; }
.hr__visual { position: absolute; right: calc(-1 * var(--gut)); bottom: 0; width: var(--vis-w, 22%); container-type: inline-size; z-index: 1; pointer-events: none; }
.hr__img { width: 100%; }
.hr__hand { left: var(--hand-x, 20%); top: var(--hand-y, 1%); font-size: var(--hand-f, 8cqw); transform: rotate(-12deg); transform-origin: left top; }

.pg--candidates { --vis-w: 25.18%; --hand-x: 22.28%; --hand-y: 1%; --hand-f: 9.43cqw; }
.pg--employers { --vis-w: 34.04%; --hand-x: 37.02%; --hand-y: 0%; --hand-f: 7.22cqw; }
.pg--private-employers { --vis-w: 24.9%; --hand-x: 24%; --hand-y: 0%; --hand-f: 10cqw; }
.pg--private-practice { --vis-w: 25%; --hand-x: 16%; --hand-y: .5%; --hand-f: 10cqw; }
.pg--agencies { --vis-w: 28.7%; --hand-x: 31%; --hand-y: 1%; --hand-f: 8.8cqw; }
.pg--employers .hr__feats { padding-right: 12%; }

/* ---------------------------------------------------------------- home: roles grid */

.sec--roles { padding-top: 40px; }
.sec--roles .sub { max-width: 30em; }
.rgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin-top: 40px; }
.rcard {
    position: relative; display: flex; flex-direction: column; min-height: 248px; padding: 18px 20px 46px; text-decoration: none;
    border: var(--bd); border-radius: var(--r-card); transition: transform .18s ease, box-shadow .18s ease;
}
.rcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60, 40, 90, .16); }
.rcard--purple { background: var(--purple-card); color: #fff; }
.rcard--purple .rcard__ico { filter: invert(1) brightness(1.2); }
.rcard--green { background: var(--green-card); }
.rcard__ico { width: 64px; height: 56px; object-fit: contain; object-position: left center; }
.rcard__t { font-size: 21px; font-weight: 700; margin: 18px 0 auto; line-height: 1.3; }
.rcard__p { font-size: 15.5px; margin: 14px 0 0; line-height: 1.4; }
.rcard .arr { position: absolute; right: 20px; bottom: 18px; width: 40px; height: 12px; }

.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 30px; }
.pcard { position: relative; display: flex; border: var(--bd); border-radius: var(--r-card); overflow: hidden; min-height: 290px; }
.pcard--lightgreen { background: var(--green-pale); }
.pcard--lavender { background: var(--lav); }
.pcard__text { position: relative; z-index: 2; padding: 14px 18px 22px 22px; flex: 0 0 58%; display: flex; flex-direction: column; align-items: flex-start; }
.pcard__text p { font-size: 15.5px; }
.pcard__t { font-size: clamp(24px, 2.3vw, 34px); font-weight: 900; line-height: 1.12; text-transform: uppercase; margin: 2px 0 12px; }
.pcard__t--xl { text-transform: none; font-weight: 900; font-size: clamp(26px, 2.4vw, 33px); margin: 22px 0 22px; max-width: 9em; }
.pcard__text .btn { margin-top: auto; }
.pcard__art { position: relative; flex: 1; }
.pcard__photo { position: absolute; right: 4%; bottom: 4%; width: 74%; transform: rotate(-1deg); }
.pcard__spark { position: absolute; right: 2%; top: 3%; width: 16%; }
.pcard__loop { position: absolute; left: -36%; bottom: 8%; width: 30%; }
.pcard__phone { position: absolute; right: 0; bottom: 0; width: 88%; }
.chip { display: inline-block; padding: 6px 18px; border: var(--bd); border-radius: 18px; font-size: 21px; margin-top: 10px; }

/* ---------------------------------------------------------------- home: why + join */

.sec--why { padding-bottom: 20px; }
.why { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; margin-top: 30px; }
.why__ico { width: 160px; height: 160px; object-fit: contain; margin-bottom: 18px; }
.why__t { font-size: 21px; font-weight: 700; margin-bottom: 10px; }
.why__i p { font-size: 19px; }
.why__i:nth-child(2) .why__t, .why__i:nth-child(4) .why__t { padding-left: 12%; }

.sec--join { padding-top: 10px; padding-bottom: 0; }
.join { position: relative; display: flex; align-items: flex-end; min-height: 300px; }
.join__box {
    position: relative; flex: 1; margin-right: -60px; padding: 24px 28px 14px; min-height: 192px; align-self: center;
    background: var(--purple-banner); color: #fff; border: 2px solid var(--line);
}
.join__t { font-size: clamp(24px, 2.4vw, 33px); font-weight: 900; margin: 18px 0 22px; max-width: 80%; }
.join__box .btn { font-size: 20px; }
.join__spark { position: absolute; right: 9%; top: 10%; width: 130px; }
.join__person { position: relative; width: 31%; flex: none; display: flex; justify-content: center; }
.join__img { position: relative; z-index: 1; width: 82%; }
.blob { position: absolute; z-index: 0; display: block; }
.blob--green { background: var(--green-light); }
.blob--purple { background: var(--purple); }
.join__person .blob { inset: 0 -4% 6% 0; border-radius: 42% 58% 46% 54% / 38% 40% 60% 62%; }

/* ---------------------------------------------------------------- steps + CTA */

.how { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.step__n { width: 96px; height: 96px; object-fit: contain; }
.step:not(:last-child)::after {
    content: ''; position: absolute; top: 54px; left: 122px; right: -4px; height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 12' preserveAspectRatio='none'%3E%3Cpath d='M1 6h86M81 1l6 5-6 5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right center / 100% 100%;
}
.step__t { font-weight: 700; font-size: 21px; line-height: 1.45; margin-top: 30px; max-width: 8em; }
.cta { position: relative; border-radius: var(--r-card); padding: 26px 28px 30px; }
.cta--purple { background: var(--purple-card); color: #fff; }
.cta--green { background: var(--green-card); }
.cta__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.cta__t { font-size: 21px; font-weight: 700; line-height: 1.5; padding-top: 18px; }
.cta__ico { width: 96px; height: 96px; object-fit: contain; flex: none; }
.cta__ico--wide { width: 150px; height: 80px; margin-right: -14px; }
.cta__p { font-size: 19px; margin: 26px 0 32px; }
.cta .btn { width: 100%; max-width: 270px; justify-content: space-between; padding: 6px 20px; font-size: 18px; }
.cta__rays { position: absolute; left: -50px; bottom: -40px; width: 70px; }

/* ---------------------------------------------------------------- categories */

.sec--cats { padding-top: 10px; }
.cats__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 60px; margin-top: 30px; }
.cat {
    display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 18px; height: 100%; min-height: 245px;
    padding: 14px 10px 28px; border-radius: 38px; border: 3.5px solid; text-decoration: none; text-align: center; font-size: 19px; line-height: 1.4;
    transition: transform .18s ease, background-color .18s ease;
}
.cat:hover { transform: translateY(-4px); }
.cat--green { border-color: var(--green-card); }
.cat--green:hover { background: rgba(203, 229, 138, .3); }
.cat--purple { border-color: var(--purple-card); }
.cat--purple:hover { background: rgba(203, 180, 214, .3); }
.cat__ico { width: 72%; max-height: 130px; object-fit: contain; flex: 1; }

/* ---------------------------------------------------------------- bento */

.bento__head { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 6px 30px; margin-bottom: 36px; }
.bento__titlebox { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 10px; }
.bento__spark { width: 90px; flex: none; margin-top: -24px; }
.bento__btn { position: relative; grid-column: 1; grid-row: 2; display: flex; align-items: flex-start; gap: 120px; }
.bento__btn .btn { font-size: 18px; min-height: 46px; }
.bento__curl { width: 76px; margin-top: 6px; }
.bento__stk { grid-column: 2; grid-row: 1 / span 2; justify-self: center; align-self: center; }
.bento__spark2 { grid-column: 3; grid-row: 1 / span 2; width: 120px; margin-top: -10px; }
.pg--candidates .bento__btn { grid-column: 3; grid-row: 1; }
.pg--candidates .bento__curl { display: none; }
.pg--candidates .bento__stk { grid-column: 2 / span 2; grid-row: 2; justify-self: start; margin: -18px 0 0 0; }

.bento { display: grid; gap: 30px; align-items: stretch; }
.bento--candidates { grid-template-columns: 705fr 595fr 520fr; }
.bento--hirer { grid-template-columns: 705fr 480fr 655fr; }
.bento__col { display: flex; flex-direction: column; gap: 30px; }
.bento__col > .bc { flex: 1 1 auto; }

.bc {
    position: relative; border: var(--bd); border-radius: var(--r-card); padding: 20px 22px 22px; overflow: hidden;
    font-size: 19px; line-height: 1.45;
}
.bc p { margin: 0 0 .5em; }
.bc--purple { background: var(--purple-card); color: #fff; }
.bc--purpledeep { background: #725a90; color: #fff; }
.bc--green { background: var(--green-card); }
.bc--lightgreen { background: var(--green-pale); }
.bc--lavender { background: #d8c6e0; }
.bc--white { background: var(--white); }
.bc--dark { background: var(--dark); color: #fff; }
.bc__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.bc__head--icon-left { justify-content: flex-start; align-items: center; }
.bc__t { font-size: 21px; font-weight: 700; line-height: 1.4; }
.bc__t--sub { margin-top: 10px; font-size: 21px; }
.bc__t--center { text-align: center; }
.bc__ico { width: 110px; max-height: 110px; object-fit: contain; flex: none; }
.bc__ico--left { width: 110px; }
.bc__ul { list-style: disc; padding-left: 24px; }
.bc__ul li { margin: 8px 0; }
.bc--center .bc__head { justify-content: center; text-align: center; }
.bc--big { display: flex; flex-direction: column; min-height: 640px; padding: 26px 26px 0; }
.bc--big > p { font-size: 20px; }
.bc__art { position: relative; margin-top: auto; }
.bc__art--bottom { margin: auto -26px 0 auto; width: 70%; align-self: flex-end; }
.bc__art--bottom .bc__img { position: relative; z-index: 1; width: 100%; }
.bc__art--bottom .blob { inset: 12% 0 0 -8%; border-radius: 48% 52% 40% 60% / 44% 38% 62% 56%; }
.bc__art--bottom .blob--green { background: var(--green-pale); }
.bc__art--bottom .blob--purple { background: var(--purple); }
.bc--green .bc__art--bottom { width: 92%; }
.bc__stk { position: absolute; left: -48%; top: 22%; z-index: 2; }
.bc--green .bc__stk { left: -6%; top: -6%; }
.bc__art--center { margin: 10px auto 0; width: 84%; }
.bc__art--map { position: absolute; right: 14px; top: 46%; width: 34%; margin: 0; }
.bc__art--crm { margin: 18px 0 10px; width: 92%; }
.bc__tag {
    position: absolute; right: 8%; bottom: 12px; padding: 6px 26px; background: #fff; color: var(--ink); border: 1.5px solid var(--line);
    border-radius: 28px; font-family: var(--f-hand); font-weight: 700; font-size: 30px; text-transform: uppercase; transform: rotate(-12deg);
}
.bc--dark .bc__ico { width: 130px; }
.bc--dark:has(.bc__tag) p { padding-right: 32%; }

/* ---------------------------------------------------------------- about */

.ah { display: grid; grid-template-columns: 58fr 42fr; gap: 20px; align-items: start; }
.ah__text .lead { max-width: 42em; }
.ah__deco { position: relative; min-height: 200px; }
.ah__spark { position: absolute; left: 6%; top: -30px; width: 120px; }
.ah__stk { position: absolute; left: 14%; top: 70px; }
.ah__stk .stk__l { font-size: clamp(22px, 2.6vw, 38px); padding: 10px 40px 8px; }
.ah__heart { position: absolute; right: 2%; top: 0; width: 70px; }
.teamgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 9%; margin-top: 36px; }
.team { position: relative; border: 2.5px solid var(--ink); border-radius: 24px; padding: 14px 18px 0; display: flex; flex-direction: column; min-height: 440px; overflow: hidden; }
.team--green { background: var(--green-light); }
.team--white { background: var(--white); }
.team--lavender { background: var(--lav); }
.team__n { text-align: center; font-size: 23px; font-weight: 700; margin-bottom: 14px; }
.team p { font-size: 19px; line-height: 1.5; }
.team__art { position: relative; margin-top: auto; height: 210px; }
.team__burst {
    position: absolute; right: 0; bottom: -10px; width: 210px; height: 210px; display: block;
    clip-path: polygon(50% 0, 57% 9%, 68% 4%, 71% 15%, 83% 14%, 82% 26%, 93% 30%, 88% 41%, 97% 49%, 89% 57%, 95% 67%, 84% 72%, 85% 84%, 73% 84%, 69% 95%, 58% 90%, 50% 100%, 42% 90%, 31% 95%, 27% 84%, 15% 84%, 16% 72%, 5% 67%, 11% 57%, 3% 49%, 12% 41%, 7% 30%, 18% 26%, 17% 14%, 29% 15%, 32% 4%, 43% 9%);
}
.team__img { width: 100%; height: 100%; object-fit: cover; }
.team__tag {
    position: absolute; left: -6px; bottom: 80px; z-index: 2; padding: 6px 22px; border: 2.5px solid var(--ink); border-radius: 30px;
    font-family: var(--f-hand); font-weight: 700; font-size: 28px; text-transform: uppercase; transform: rotate(-40deg); transform-origin: left bottom; white-space: nowrap;
}
.team__tag--lavender { background: var(--lav); }
.team__tag--green { background: var(--green-light); }
.team__tag--white { background: var(--white); }

.prhead { position: relative; padding-right: 26%; }
.prhead .sub { margin-top: 38px; line-height: 1.6; }
.prhead__stk { position: absolute; right: 0; top: 30px; }
.prhead__plane { position: absolute; right: 22%; bottom: -40px; width: 130px; }
.prgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9%; margin-top: 70px; }
.pr { border-radius: 24px; padding: 22px 18px 24px; min-height: 420px; font-size: 19px; line-height: 1.55; }
.pr--purple { background: var(--purple); color: #fff; }
.pr--lightgreen { background: var(--green-light); border: 3px solid var(--green); }
.pr--green { background: var(--green); border: 3px solid var(--purple); }
.pr__head { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; min-height: 110px; }
.pr__ico { width: 110px; max-height: 110px; object-fit: contain; flex: none; }
.pr__t { font-size: 22px; font-weight: 700; text-align: center; flex: 1; line-height: 1.4; }

.gmhead { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 20px; padding-right: 24%; min-height: 220px; }
.gmhead__steps { position: absolute; right: 27%; top: 110px; width: 200px; }
.gmhead__person { position: absolute; right: -10px; top: -70px; width: 18.5%; }
.gmhead__person .blob { inset: 6% 26% 4% 0; border-radius: 52% 48% 44% 56% / 46% 40% 60% 54%; background: var(--green); }
.gmhead__img { position: relative; z-index: 1; width: 100%; }
.gm { display: grid; grid-template-columns: 600fr 545fr 600fr; gap: 50px; margin-top: 30px; }
.gm__growth { display: flex; flex-direction: column; justify-content: space-between; border-width: 2px; }
.gm__stk { align-self: flex-start; }
.gm__stk .stk__l { font-size: clamp(20px, 2.2vw, 34px); }
.growth { position: relative; height: 290px; margin: 18px 0; }
.growth img { position: absolute; }
.g1 { left: 4%; top: 6%; width: 15%; }
.ga1 { left: 21%; top: 22%; width: 16%; }
.g2 { left: 39%; top: 2%; width: 14%; }
.ga2 { left: 56%; top: 22%; width: 16%; }
.g3 { left: 74%; top: -10%; width: 22%; }
.ga3 { left: 80%; top: 52%; width: 12%; }
.g4 { left: 52%; top: 50%; width: 20%; }
.ga4 { left: 35%; top: 72%; width: 16%; }
.g5 { left: 20%; top: 60%; width: 15%; }
.gm__mid { display: flex; flex-direction: column; gap: 50px; }
.gm__mid .bc { flex: 1; }
.gm__map { position: absolute; right: 18px; bottom: 6px; width: 46%; }
.gm__mid .bc--lavender p { padding-right: 0; max-width: 92%; }
.gm__app { display: flex; flex-direction: column; }
.gm__apphead { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.gm__phone { width: 42%; flex: none; }
.gm__appt { text-transform: uppercase; font-size: 23px; font-weight: 700; text-align: center; line-height: 1.5; }
.gm__appsub { text-align: center; font-size: 21px; margin-top: 30px; }
.gm__app > p { font-size: 18px; }
.soon {
    align-self: center; margin-top: auto; display: inline-flex; align-items: center; gap: 30px; padding: 10px 30px 10px 54px;
    background: var(--white); color: var(--ink); border: 2.5px solid var(--ink); border-radius: 20px; font-weight: 900; font-size: 24px; text-transform: uppercase;
}
.soon__ico { width: 56px; margin: -20px 0 -14px; }

/* ---------------------------------------------------------------- modals (contacts, offer) */

.modal { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: auto; }
.modal::backdrop { background: rgba(245, 241, 232, .9); backdrop-filter: blur(2px); }
.modal[open] { display: flex; }
.modal .mframe { margin: auto; }
body.has-modal { overflow: hidden; }

.mframe { position: relative; display: grid; grid-template-columns: 330px minmax(0, 900px); align-items: end; width: min(1250px, 100% - 2 * var(--gut)); margin: 0 auto; padding: 14px 0; }
.mside { position: relative; align-self: end; margin-right: -40px; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.mside__img { width: 300px; }
.bubble {
    position: relative; align-self: flex-start; margin: 0 0 18px; padding: 12px 16px; background: var(--white); border: 3px solid var(--ink);
    border-radius: 18px 22px 16px 24px; font-size: 16px; line-height: 1.5; max-width: 280px;
}
.bubble::after {
    content: ''; position: absolute; right: 30px; bottom: -22px; width: 28px; height: 24px; background: var(--white);
    border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); transform: skewX(-30deg); clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.mcard {
    position: relative; z-index: 2; background: var(--white); border: 2px solid var(--ink); border-radius: 42px; padding: 30px 40px 34px; min-width: 0;
}
.mclose {
    position: absolute; right: 30px; top: 22px; width: 48px; height: 48px; border-radius: 6px; border: 0; background: var(--purple); color: #fff;
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.mclose svg { width: 30px; height: 30px; }
.mcard__top { display: flex; align-items: center; gap: 40px; padding-right: 60px; min-height: 130px; }
.mcard__stars { width: 110px; flex: none; }
.mcard__stk { flex: 1; align-items: center; }
.mcard__stk .stk__l { font-size: clamp(26px, 3.3vw, 46px); padding: 12px 60px 8px; border-radius: 30px 60px 24px 70px / 40px 20px 50px 24px; }
.mcard__t { text-align: center; font-size: clamp(22px, 2.4vw, 33px); font-weight: 700; line-height: 1.4; margin: 6px auto 28px; max-width: 22em; }

.ccards { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 0 24px; }
.ccard { border: 2.5px solid var(--ink); border-radius: 24px; padding: 18px 16px 26px; display: flex; flex-direction: column; min-height: 420px; }
.ccard--green { background: var(--green-light); }
.ccard--lavender { background: var(--lav-2); }
.ccard__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; min-height: 120px; }
.ccard__head h3 { font-size: clamp(24px, 2.4vw, 33px); font-weight: 700; flex: 1; text-align: center; line-height: 1.3; }
.ccard__ico { width: 110px; flex: none; }
.ccard__big { font-size: clamp(22px, 2.4vw, 33px); font-weight: 700; margin: 6px 0 22px; overflow-wrap: anywhere; }
.ccard__big--mail { font-size: clamp(19px, 2.2vw, 31px); }
.ccard__p { font-weight: 700; font-size: 19px; line-height: 1.6; padding: 0 10px; }
.ccard .btn { margin: auto auto 0; }

.kp__set { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.kp__l { font-size: clamp(20px, 2vw, 26px); font-weight: 700; padding: 0; margin-bottom: 16px; display: flex; gap: 6px; }
.kp__l span { font-weight: 400; }
.opts { display: grid; gap: 14px 34px; }
.opts--4 { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
.opts--3 { grid-template-columns: repeat(3, minmax(0, 250px)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
    display: flex; align-items: center; justify-content: center; min-height: 56px; height: 100%; padding: 8px 12px; text-align: center;
    border: 2.5px solid var(--ink); border-radius: 16px; background: var(--bg); font-weight: 700; font-size: 17px; line-height: 1.45; transition: background-color .15s;
}
.opt:hover span { background: #ece6d9; }
.opt--green input:checked + span { background: var(--green-light); }
.opt--lavender input:checked + span { background: var(--lav); }
.opt input:focus-visible + span { outline: 3px solid var(--purple); outline-offset: 3px; }
.kp__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 50px; }
.fld { display: flex; flex-direction: column; gap: 10px; }
.fld__l { color: #8a8580; font-size: 19px; }
.fld input {
    width: 100%; min-height: 44px; padding: 6px 16px; font: inherit; font-size: 19px; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--bg); color: var(--ink);
}
.fld input::placeholder { color: #9a948d; }
.fld input[aria-invalid="true"] { border-color: #b3261e; background: #fbefe8; }
.fld__err { min-height: 1.2em; font-size: 15px; color: #8a2a1b; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.kp__consent { font-size: 14px; color: #6f6964; text-align: center; margin: 0 0 12px; }
.kp__send { display: flex; justify-content: center; }
.kp__send .btn { min-width: min(100%, 470px); justify-content: center; gap: 36px; }
.kp__send .btn[disabled] { opacity: .65; cursor: progress; }
.kp__status { text-align: center; min-height: 1.4em; margin: 12px 0 0; font-size: 17px; }
.kp__status.is-error { color: #8a2a1b; }
.kp__done { text-align: center; padding: 30px 10px 20px; }
.kp__donet { font-size: 28px; margin-bottom: 14px; }
.kp__done .btn { margin-top: 18px; }

.sec--modalpage { padding: 20px 0 40px; }

/* ---------------------------------------------------------------- footer */

.ftr { margin-top: 30px; padding: 26px 0 30px; border-top: 1.5px solid #ddd6ca; }
.ftr__main { display: flex; align-items: center; gap: 40px; }
.ftr__main .logo { width: 236px; }
.ftr__slogan { flex: 1; text-align: center; font-size: 22px; margin: 0; }
.ftr__social { display: flex; gap: 22px; align-items: center; }
.ftr__ico { width: 54px; height: 54px; object-fit: contain; }
/* адрес почты текстом в строке копирайта (16.10.2026): не у всех открывается почтовая программа,
   а рядом со значками сверху выходило «всё в кучу» */
.ftr__mail { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.ftr__mail:hover { color: var(--purple); text-decoration: underline; }
.ftr__links { display: flex; gap: 60px; margin-top: 24px; font-size: 16px; }
.ftr__links ul { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.ftr__links a { text-decoration: none; color: var(--muted); }
.ftr__links a:hover { color: var(--purple); text-decoration: underline; }
.ftr__copy { margin-top: 16px; font-size: 14px; color: #8a8580; }
/* «Документы» – юридические документы платформы (те же, что при регистрации в приложении) */
.ftr__docs { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e6dfd3; font-size: 14px; line-height: 1.4; }
.ftr__docst { margin: 0 0 8px; font-weight: 500; color: var(--muted); }
.ftr__docs ul { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.ftr__docs a { text-decoration: none; color: #6f6964; overflow-wrap: anywhere; }
.ftr__docs a:hover { color: var(--purple); text-decoration: underline; }
.kp__consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.kp__consent a:hover { color: var(--purple); }

/* ================================================================ tablet */

@media (max-width: 1240px) {
    .hdr__in { gap: 22px; }
    .nav { gap: 22px; }
    .hdr__act { gap: 12px; }
    .btn--hdr { padding: 6px 16px; font-size: 17px; }
    .hdr__logo .logo { width: 196px; }
    .tab { font-size: 15px; gap: 8px; padding: 0 10px; }
    .tab__ico { width: 38px; height: 36px; }
}

@media (max-width: 1100px) {
    :root { --gut: 24px; --r-card: 28px; }
    body { font-size: 17px; }
    .sec { padding: 44px 0; }

    /* шапка – меню под «бургером» */
    .hdr__in { min-height: 64px; }
    .burger {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; margin-left: auto; width: 48px; height: 48px;
        padding: 0 11px; border: var(--bd); border-radius: 14px; background: transparent; cursor: pointer;
    }
    .burger span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
    .hdr.is-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hdr.is-open .burger span:nth-child(2) { opacity: 0; }
    .hdr.is-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .hdr__menu {
        display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 16px;
        padding: 16px var(--gut) 24px; background: var(--bg); border-bottom: var(--bd); box-shadow: 0 20px 30px rgba(40, 30, 60, .08);
    }
    .hdr.is-open .hdr__menu { display: flex; }
    /* Телефон (владелец 19.10.2026): меню на весь экран, «Войти» и «Зарегистрироваться» – внизу. Фон страницы под
       меню не прокручивается (html.menu-open). Высота – по видимой области (dvh), с нижним отступом безопасной зоны. */
    @media (max-width: 760px) {
        .hdr.is-open .hdr__menu {
            position: fixed; top: var(--hdr-h, 64px); bottom: 0; height: auto; overflow-y: auto; overscroll-behavior: contain;
            border-bottom: 0; box-shadow: none; padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 40;
        }
        .hdr.is-open .hdr__act { margin-top: auto; }
        .hdr.is-open .hdr__act .btn--hdr { flex: 1 1 100%; }
    }
    .nav { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__a { padding: 12px 0; font-size: 19px; width: 100%; justify-content: space-between; }
    .chev { opacity: 1; }
    .dd { position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px; min-width: 0; }
    .nav__dd:hover .dd { display: none; }
    .nav__dd.is-open .dd, .nav__dd:focus-within.is-open .dd { display: flex; }
    .hdr__act { flex-wrap: wrap; margin-left: 0; gap: 12px; }
    .hdr__act .btn--hdr { flex: 1 1 160px; }
    .langs { order: -1; width: 100%; font-size: 16px; }
    .hdr__search { order: -1; }

    .tab { flex: 0 0 auto; }

    .hh { grid-template-columns: 1fr 1fr; }
    .hh__text { padding-top: 20px; }

    .hr { grid-template-columns: 1fr 1fr; min-height: 0; }
    .hr__text { grid-column: 1 / -1; padding-bottom: 20px; }
    .hr__feats { grid-column: 1; padding: 10px 0 30px; justify-content: flex-start; }
    .hr__visual { position: relative; right: auto; grid-column: 2; grid-row: 2; width: 100%; max-width: 420px; justify-self: end; align-self: end; margin-right: calc(-1 * var(--gut)); }
    .pg--employers .hr__visual { max-width: 480px; }
    .feat { grid-template-columns: 76px 1fr; gap: 0 16px; }
    .feat__ico { width: 76px; height: 76px; }
    .feat__t, .feat p { font-size: 17px; }

    .rgrid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .promo { grid-template-columns: 1fr; gap: 24px; }
    .why { grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
    .why__ico { width: 130px; height: 130px; }
    .join { flex-direction: column; align-items: stretch; }
    .join__box { margin-right: 0; padding-bottom: 26px; align-self: stretch; }
    .pcard__phone { max-width: 250px; }
    .pcard__photo { max-width: 330px; }
    .join__t { max-width: 100%; }
    .join__person { width: 60%; max-width: 380px; align-self: flex-end; margin-top: -40px; }

    .how { grid-template-columns: 1fr; }
    .cta { max-width: 520px; }
    .cta__rays { display: none; }
    .steps { gap: 12px; }
    .step:not(:last-child)::after { left: 100px; top: 44px; }
    .step__n { width: 80px; height: 80px; }
    .step__t { font-size: 18px; margin-top: 20px; }

    .cats { grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 18px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
    .cats li { scroll-snap-align: start; }
    .cat { min-height: 210px; font-size: 17px; }

    .bento__head { grid-template-columns: 1fr; }
    .bento__titlebox, .bento__btn, .pg--candidates .bento__btn { grid-column: 1; grid-row: auto; gap: 40px; }
    .bento__stk, .pg--candidates .bento__stk { grid-column: 1; grid-row: auto; justify-self: end; margin: 10px 0 0; }
    .bento__spark2 { display: none; }
    .bento--candidates, .bento--hirer { grid-template-columns: 1fr 1fr; }
    .bento__col:first-child { grid-column: 1 / -1; }
    .bc--big { min-height: 0; display: grid; grid-template-columns: 1fr 44%; grid-template-rows: auto 1fr; column-gap: 20px; padding-bottom: 0; }
    .bc--big .bc__head { grid-column: 1 / -1; }
    .bc--big > p { grid-column: 1; }
    .bc--big .bc__art { grid-column: 2; grid-row: 2 / span 3; align-self: end; width: 100%; margin: 0 -26px 0 0; }
    .bc--big .bc__art--crm { margin: 0 0 20px; }
    .bc__stk, .bc--green .bc__stk { left: -50%; top: 30%; }

    .ah { grid-template-columns: 1fr; }
    .ah__deco { min-height: 110px; }
    .ah__stk { top: 20px; }
    .teamgrid { gap: 20px; }
    .team { min-height: 0; }
    .team__burst { width: 170px; height: 170px; }
    .team__art { height: 180px; }
    .team__tag { font-size: 22px; }
    .prhead { padding-right: 0; }
    .prhead__stk { position: relative; top: auto; margin: 20px 0 0 auto; display: flex; width: max-content; }
    .prhead__plane { display: none; }
    .prgrid { gap: 20px; margin-top: 40px; }
    .pr { min-height: 0; }
    .pr__head { flex-direction: column; text-align: center; margin-bottom: 18px; }
    .gmhead { padding-right: 30%; }
    .gmhead__steps { display: none; }
    .gmhead__person { width: 28%; top: -10px; }
    .gm { grid-template-columns: 1fr 1fr; gap: 24px; }
    .gm__growth { grid-column: 1 / -1; }
    .gm__mid { gap: 24px; }

    .mframe { grid-template-columns: 1fr; width: min(900px, 100% - 2 * var(--gut)); }
    .mside { display: none; }
    .mcard { padding: 24px 24px 28px; border-radius: 32px; }
    .ccards { gap: 24px; padding: 0; }
    .opts--4 { grid-template-columns: 1fr 1fr; }

    .ftr__main { flex-wrap: wrap; gap: 16px 30px; }
    .ftr__slogan { flex: 1 1 260px; text-align: left; }
    .ftr__links { flex-direction: column; gap: 14px; }
}

/* ================================================================ phone */

@media (max-width: 720px) {
    :root { --gut: 16px; --r-card: 24px; }
    body { font-size: 16px; }
    .sec { padding: 34px 0; }
    .hdr { padding-top: 8px; }
    .hdr__logo .logo { width: 160px; }

    .h1 { font-size: clamp(26px, 7.4vw, 34px); }
    .btn { font-size: 17px; }
    .btns { gap: 14px; margin-top: 28px; }
    .btns .btn { width: 100%; justify-content: space-between; }
    .btns--col { align-items: stretch; }

    .tabs { margin-top: 12px; }
    .tab { min-height: 52px; }

    .hh { grid-template-columns: 1fr; }
    .hh__text { padding: 10px 0 0; }
    .hh__visual { margin: 10px calc(-1 * var(--gut)) 0; }

    .hr { grid-template-columns: 1fr; }
    .hr__deco { min-height: 0; flex-wrap: wrap; }
    .hr__decoimg { width: 96px; max-height: 96px; }
    .hr__deco .stk__l { font-size: 22px; }
    .hr__feats { grid-column: 1; grid-row: auto; padding-bottom: 10px; }
    .hr__visual { grid-column: 1; grid-row: auto; width: 78%; max-width: 330px; margin: 0 calc(-1 * var(--gut)) 0 auto; }
    .pg--employers .hr__visual { width: 100%; max-width: 420px; }
    .feat { grid-template-columns: 64px 1fr; }
    .feat__ico { width: 64px; height: 64px; }
    .feat__t { margin-top: 4px; }

    .rgrid { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
    .rcard { min-height: 210px; padding: 14px 14px 40px; }
    .rcard__t { font-size: 17px; margin-top: 10px; }
    .rcard__p { font-size: 14px; }
    .rcard:last-child { grid-column: 1 / -1; min-height: 0; }
    .pcard { flex-direction: column; }
    .pcard__text { flex: none; }
    .pcard__art { min-height: 230px; }
    .pcard__photo { width: 70%; right: 12%; }
    .pcard__loop { left: 4%; width: 20%; }
    .pcard__phone { width: 64%; right: 8%; }

    .why { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
    .why__ico { width: 110px; height: 110px; }
    .why__t { font-size: 18px; padding-left: 0 !important; }
    .why__i p { font-size: 16px; }
    .why__i:last-child { grid-column: 1 / -1; }
    .join__spark { width: 80px; top: auto; bottom: 14px; right: 14px; }
    .join__person { width: 74%; }

    .steps { grid-template-columns: 1fr 1fr; gap: 26px 14px; margin-top: 28px; }
    .step::after { display: none; }
    .step__n { width: 72px; height: 72px; }
    .step__t { font-size: 17px; margin-top: 12px; }

    .cats__head { align-items: flex-start; flex-direction: column; gap: 10px; }
    .cats { grid-template-columns: repeat(5, 46%); gap: 14px; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
    .cat { min-height: 190px; border-radius: 28px; }

    .bento__btn { flex-direction: column; gap: 0; }
    .bento__curl { display: none; }
    .bento__spark { width: 60px; }
    .bento--candidates, .bento--hirer { grid-template-columns: 1fr; gap: 18px; }
    .bento__col { gap: 18px; }
    .bento__col:first-child { grid-column: auto; }
    .bc { padding: 18px 16px; font-size: 16px; }
    .bc__t { font-size: 18px; }
    .bc__ico { width: 76px; max-height: 76px; }
    .bc--big { display: flex; flex-direction: column; padding: 20px 16px 0; }
    .bc--big > p { font-size: 17px; }
    .bc--big .bc__art, .bc--big .bc__art--bottom { width: 88%; margin: 10px -16px 0 auto; }
    .bc--big .bc__art--crm { width: 100%; margin: 10px 0 18px; }
    .bc__stk, .bc--green .bc__stk { left: -14%; top: 4%; }
    .bc--dark p { padding-right: 0; padding-bottom: 46px; }
    .bc__art--map { position: relative; right: auto; top: auto; width: 50%; margin: 10px 0 0 auto; }

    .ah__spark { display: none; }
    .ah__stk { position: relative; left: 0; top: 0; }
    .ah__deco { min-height: 0; margin-top: 18px; }
    .ah__heart { width: 44px; top: -10px; }
    .teamgrid { grid-template-columns: 1fr; gap: 18px; }
    .prgrid { grid-template-columns: 1fr; gap: 18px; }
    .pr { font-size: 16px; }
    .gmhead { padding-right: 0; grid-template-columns: 1fr; }
    .gmhead__person { position: relative; right: auto; top: auto; width: 56%; margin: 10px 0 0 auto; }
    .gm { grid-template-columns: 1fr; }
    .growth { height: 230px; }
    .gm__apphead { flex-direction: column; }
    .gm__phone { width: 40%; }

    .modal .mframe { width: 100%; padding: 0; margin: 0; min-height: 100%; }
    .mcard { border-radius: 0; border: 0; padding: 18px 16px 28px; min-height: 100%; }
    .mframe:not(.modal *) .mcard { border-radius: 24px; border: 2px solid var(--ink); }
    .mclose { right: 14px; top: 14px; width: 42px; height: 42px; }
    .mcard__top { gap: 12px; min-height: 90px; padding-right: 48px; }
    .mcard__stars { width: 60px; }
    .mcard__stk .stk__l { padding: 8px 18px 6px; font-size: 26px; white-space: normal; }
    .ccards { grid-template-columns: 1fr; }
    .ccard { min-height: 0; gap: 4px; }
    .ccard__head { min-height: 0; }
    .ccard__ico { width: 80px; }
    .ccard .btn { margin-top: 16px; }
    .opts--4, .opts--3 { grid-template-columns: 1fr 1fr; gap: 10px; }
    .opt span { font-size: 15px; min-height: 52px; }
    .kp__fields { grid-template-columns: 1fr; }
    .kp__send .btn { width: 100%; gap: 14px; }

    .ftr__main .logo { width: 170px; }
    .ftr__slogan { font-size: 18px; }
    .ftr__ico { width: 44px; height: 44px; }
    .ftr__social { gap: 16px; }
    /* телефон: адрес отдельной строкой под копирайтом */
    .ftr__sep { display: none; }
    .ftr__copy .ftr__mail { display: block; margin-top: 4px; }
    .ftr__docs ul { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

/* казахские и английские подписи длиннее русских */
main { overflow-x: clip; }
:lang(kk) .hh__hand { font-size: 4.5cqw; }
:lang(kk) .hr__hand { font-size: calc(var(--hand-f, 8cqw) * .85); }
/* В Amatic SC нет казахских букв (Ә, Қ, Ң, Ө, Ұ, Ү, Һ, І) – на казахском весь рукописный текст одним шрифтом Caveat */
html:lang(kk) { --f-hand: Caveat, 'Comic Sans MS', cursive; }
:lang(kk) .stk__l { font-size: clamp(19px, 1.9vw, 27px); letter-spacing: 0; }
:lang(kk) .bc__tag, :lang(kk) .team__tag { font-size: 22px; }
:lang(kk) .mcard__stk .stk__l { font-size: clamp(22px, 2.7vw, 38px); }

/* мини-воронка «Новый → Интервью → Оффер» (вместо картинки, чтобы подписи были на языке страницы) */
.fn { display: flex; gap: 6px; flex: none; }
.fn__col { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0 4px 10px; border-left: 1.5px solid var(--line); }
.fn__col:first-child { border-left: 0; }
.fn__col b { background: #8a5cf0; color: #fff; border: 1.5px solid var(--line); border-radius: 8px; font-size: 11px; padding: 2px 7px; white-space: nowrap; }
.fn__col i { display: block; width: 52px; height: 18px; border: 1.5px solid var(--line); border-radius: 6px; }
.fn__col:not(:nth-child(2)) i { visibility: hidden; }
@media (max-width: 720px) { .fn { display: none; } }

/* ================================================================ без наложений (проверка 14.10.2026)
   Казахские и английские подписи длиннее русских: наклейки, рукописные подписи и картинки
   не должны ложиться на текст и уходить за край экрана ни на одной ширине. */

/* рукописная подпись главной: на казахском длиннее – уходила за правый край */
:lang(kk) .hh__hand { font-size: 3.9cqw; }
:lang(en) .hh__hand { font-size: 4.8cqw; }

/* «Қағазсыз» / «Без бумаг» в тёмной карточке – место под наклейку снизу, а не справа */
.bc--dark:has(.bc__tag) { padding-bottom: 84px; }
.bc--dark:has(.bc__tag) p { padding-right: 0; }

/* карточки бенто и «О нас»: overflow: hidden обнуляет min-height: auto, текст обрезался снизу */
.bento__col > .bc, .gm__mid .bc { flex-shrink: 0; }

/* «О нас»: наклейка у заголовка – в своей колонке, с переносом */
.ah > * { min-width: 0; }
.ah__stk { left: auto; right: 0; max-width: 100%; }
.ah__stk .stk__l { white-space: normal; }

/* команда: наклейка в нижней части карточки, рядом с фото, а не поверх текста */
.team__art { height: 220px; }
.team__tag {
    left: 10px; bottom: 26px; max-width: 64%; white-space: normal; line-height: 1; padding: 8px 18px 6px;
    transform: rotate(-14deg); transform-origin: left bottom;
}

/* карта – под текстом, а не поверх; рост растений – пропорционально ширине */
.gm__map { position: relative; right: auto; bottom: auto; display: block; width: 46%; max-width: 230px; margin: 10px 0 -8px auto; }
.growth { height: auto; width: 100%; max-width: 420px; aspect-ratio: 6 / 5; margin: 18px auto; }
.gmhead__steps { right: 30%; top: 150px; width: 170px; }

@media (max-width: 1100px) {
    .ah__deco { display: flex; align-items: center; gap: 10px; min-height: 0; margin-top: 10px; }
    .ah__spark, .ah__stk, .ah__heart { position: relative; left: auto; right: auto; top: auto; }
    .ah__spark { width: 80px; flex: none; }
    .ah__heart { width: 50px; flex: none; }
    .ah__stk { flex: 0 1 auto; }

    /* «Біз басқашамыз»: на всю ширину наклейка шла круто вниз и ложилась на абзац */
    .prhead__stk { transform: rotate(-4deg); }

    /* «Даналық және тәжірибе»: внутри картинки, не на колонке текста */
    .bc--big .bc__stk, .bc--green.bc--big .bc__stk { left: 0; top: -2%; }

    .gmhead__steps { display: none; }
}

@media (max-width: 720px) {
    .hh__visual { margin-top: 24px; }
    .ah__heart { display: none; }
    .ah__stk .stk__l { font-size: 20px; padding: 8px 20px 6px; }
    .team__tag { font-size: 22px; }
    .prhead__stk { margin-top: 24px; }
    .bc__stk, .bc--green .bc__stk { left: 0; top: 0; }
    .gm__map { width: 52%; }
}

/* окно «Контакты»: наклейка не заходит под крестик, карточки не шире рамки */
.mcard__stk { min-width: 0; }
.mcard__stk .stk__l { white-space: normal; }
.ccards > * { min-width: 0; }
@media (max-width: 720px) {
    .mcard__top { padding-right: 56px; }
    .mframe:not(.modal *) .mcard { padding-left: 14px; padding-right: 14px; }
}

/* полоса ролей: все пять видны всегда – переносом, без прокрутки за край (решение владельца 14.10.2026) */
.tabs .tabs__in { flex-wrap: wrap; overflow: visible; row-gap: 6px; }
@media (max-width: 1240px) {
    .tabs .tabs__in { justify-content: center; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
    .tab { flex: 0 1 auto; min-height: 48px; padding: 0 16px 0 10px; border: 1.5px solid #cfc9bf; }
    .tab + .tab::before { display: none; }
    .tab.is-on { border-color: transparent; }
}
@media (max-width: 720px) {
    .tabs .tabs__in { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .tab { justify-content: flex-start; gap: 8px; min-height: 52px; padding: 6px 10px 6px 8px; border-radius: 18px; white-space: normal; font-size: 14.5px; line-height: 1.25; text-align: left; }
    .tab__ico { width: 30px; height: 28px; flex: none; }
    .tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* рукописные подписи над фото: не шире места до правого края (на казахском Caveat шире Amatic SC) */
.hh__hand { white-space: normal; width: max-content; max-width: 31cqw; }
.hr__hand { white-space: normal; width: max-content; max-width: calc(96cqw - var(--hand-x, 20%)); }

/* «Избранное» в бенто соискателя: карта под текстом, а не поверх */
.bc__art--map { position: relative; right: auto; top: auto; width: 40%; max-width: 190px; margin: 6px 0 0 auto; }
.pg--candidates .bento__stk { margin-top: 0; }
.bento__stk { max-width: 100%; }
.bento__stk .stk__l { white-space: normal; }
.pg--agencies .hr__feats { padding-right: 9%; }

@media (max-width: 1100px) {
    .join__spark { width: 84px; top: auto; bottom: 14px; right: 14px; }
    .bc--big .bc__stk, .bc--green.bc--big .bc__stk { top: 4%; }
}
@media (max-width: 720px) {
    /* телефон в карточке «Быстро»: в потоке, под текстом */
    .pcard__art:has(.pcard__phone) { min-height: 0; }
    .pcard__phone { position: relative; display: block; right: auto; margin: 0 8% 0 auto; }
}

/* ================================================================ картинки и текст (решения владельца 14.10.2026) */

/* фото в шапке страниц ролей упирается в правый край окна – срез по плечу не висит посреди фона на широких экранах */
:root { --side: max(0px, (100vw - var(--wrap)) / 2); }
/* «Работодателям»: у рукава в исходнике прямой срез – низ картинки обрезан выше него */
.pg--employers .hr__img { aspect-ratio: 1114 / 1080; object-fit: cover; object-position: top; }

/* телефон: фото сбоку от списка преимуществ, как на планшете – человек показывает на список */
@media (max-width: 720px) {
    .hr { grid-template-columns: minmax(0, 1fr) 40%; column-gap: 6px; }
    .hr__text { grid-column: 1 / -1; }
    .hr__feats { grid-column: 1; grid-row: 2; gap: 16px; padding: 6px 0 22px; }
    .hr__visual, .pg--employers .hr__visual { grid-column: 2; grid-row: 2; width: auto; max-width: none; margin: 0 calc(-1 * var(--gut)) 0 0; align-self: end; justify-self: stretch; }
    .feat { grid-template-columns: 40px 1fr; gap: 0 10px; }
    .feat__ico { width: 40px; height: 40px; }
    .feat__t { font-size: 15px; margin: 0 0 2px; }
    .feat p { font-size: 13.5px; line-height: 1.35; }
    .hr { grid-template-columns: minmax(0, 1fr) 42%; }
    .hr__feats { min-width: 0; }
    .feat > div, .feat p, .feat__t { min-width: 0; overflow-wrap: break-word; hyphens: auto; }
    .hr__hand { font-size: calc(var(--hand-f, 8cqw) * 1.25); }
    :lang(kk) .hr__hand { font-size: calc(var(--hand-f, 8cqw) * 1.1); }
}

/* категории: сеткой, все видны, без прокрутки вбок */
@media (max-width: 1100px) {
    .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; scroll-snap-type: none; padding-bottom: 0; }
}
@media (max-width: 720px) {
    .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-right: 0; padding-right: 0; gap: 12px; }
    .cats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .cats li:last-child:nth-child(odd) .cat { min-height: 150px; }
    .cats li:last-child:nth-child(odd) .cat__ico { width: 34%; max-height: 90px; }
}


/* фото «Соискателям» и «Работодателям» пересобраны из исходников макета (14.10.2026): девушке дорисованы
   волосы слева и свитер справа, мужчине – плечо справа. Дорисованный правый край уходит за край экрана,
   поэтому блок сдвинут вправо на ширину добавки – человек стоит там же, где в макете. */
.pg--candidates .hr__visual { transform: translateX(6.14%); }
.pg--employers .hr__visual { transform: translateX(7.45%); }
@media (max-width: 1100px) {
    .pg--candidates .hr__visual { max-width: 500px; }
    .pg--employers .hr__visual { max-width: 520px; }
}
@media (max-width: 720px) {
    .pg--candidates .hr, .pg--employers .hr { grid-template-columns: minmax(0, 1fr) 46%; }
}

/* вошедший в приложение: «Мой кабинет» вместо «Войти / Зарегистрироваться» (класс is-auth ставит скрипт в <head>) */
.is-member { display: none !important; }
html.is-auth .is-member { display: inline-flex !important; }
html.is-auth li.is-member { display: list-item !important; }
html.is-auth .is-guest { display: none !important; }

/* ================================================================ сверка с SVG-макетами «Сайт.zip» (14.10.2026)
   Цвета, формы подложек и размеры – по исходникам SVG (экспорт 1366×768). Подложки «облаком» под фото –
   готовые картинки «фото + подложка», снятые из макета (форма пути из SVG, без растворения краёв). */

/* цвета карточек и наклеек – как в макете */
.bc--lavender { background: #d3c0da; }
.gm .bc--lavender { background: var(--lav); }
.bc--purpledeep { background: #715689; }
.gm__growth.bc--white { background: #f5f1e9; }
.stk--lavender .stk__l { background: var(--lav-tab); }
.stk--green .stk__l { background: var(--green-tab); }
.hr__deco .stk--green .stk__l { background: #d7e9a6; }
.stk--purple .stk__l { background: #816a94; }
.mcard__stk.stk--purple .stk__l { background: #9177b1; }

/* «Присоединяйтесь»: мужчина на зелёном «облаке» из макета, срез по груди */
.join__person--art { justify-content: flex-end; }
.join__person--art .join__img { width: 100%; }

@media (min-width: 1101px) {
    /* шрифты карточек и подписей – как в макете на 1366 */
    .sub { font-size: clamp(17px, 1.65vw, 22.6px); }
    .lead { font-size: clamp(17px, 1.65vw, 22.5px); }

    /* главная: шапка */
    .hh__title { font-size: clamp(30px, 3.07vw, 42px); }

    /* главная: «Для кого мы?» – промежутки между карточками ролей шире, карточки ниже */
    .rgrid { gap: 48px; }
    .rcard { min-height: 246px; padding: 10px 10px 40px 9px; }
    .rcard .arr { right: 14px; }
    .rcard__ico { height: 54px; }
    .rcard__t { font-size: clamp(19px, 1.62vw, 22px); margin-top: 14px; line-height: 1.36; }
    .rcard__p { font-size: 15px; margin-top: 10px; }
    .rcard .arr { bottom: 14px; }
    /* «О платформе»: фото Алматы крупнее, справа снизу, как в макете */
    .pcard--lightgreen .pcard__text { flex-basis: 56%; }
    .pcard__photo { width: 98%; right: .4%; bottom: 3.4%; transform: none; }
    .pcard__loop { left: -37%; width: 36%; bottom: 12%; }

    /* «Почему выбирают» */
    .why__ico { width: 155px; height: 155px; }
    .why__t { font-size: clamp(19px, 1.74vw, 23.7px); }
    .why__i p { font-size: clamp(17px, 1.55vw, 21.2px); }

    /* «Присоединяйтесь»: плашка 192 px, «облако» с мужчиной выше и ниже плашки, справа до края */
    .sec--join { padding-top: 24px; }
    .join { min-height: 0; align-items: flex-start; }
    .join__box { align-self: flex-start; margin: 2.9% -36px 0 0; min-height: 192px; padding: 20px 26px 16px; }
    .join__t { font-size: clamp(24px, 2.52vw, 34.4px); max-width: none; margin: 14px 0 18px; }
    .join__person--art { width: 28.1%; margin-right: -18px; }
    .join__spark { right: 3%; top: 4%; width: 115px; }
    .join__t { max-width: calc(100% - 140px); }
}

/* бенто: значок справа – в конце строки заголовка при любой ширине (в разметке он перед заголовком) */
.bc__head .bc__ico--right { order: 2; }
/* бенто: фото на «облаке» из макета – картинка уже с подложкой, до правого и нижнего края карточки */
.bc__art--tea .bc__img, .bc__art--duo .bc__img, .bc__art--sofa .bc__img { width: 100%; }

@media (min-width: 1101px) {
    /* «Как это работает»: подпись шага – по центру под кружком с цифрой */
    .step__t { font-size: clamp(19px, 1.65vw, 22.6px); width: max-content; max-width: 8em; text-align: center; transform: translateX(calc(48px - 50%)); margin-top: 26px; }
    /* карточка-призыв справа: крупнее текст, заголовок и кнопка по центру */
    .cta { padding: 26px 22px 26px 16px; }
    .cta__t { font-size: clamp(19px, 1.72vw, 23.5px); line-height: 1.45; text-align: center; flex: 1; }
    .pg--candidates .cta__t { text-align: left; }
    .cta__p { font-size: clamp(17px, 1.65vw, 22.6px); line-height: 1.42; margin: 18px 0 24px; }
    .cta .btn { display: flex; margin: 0 auto; }

    /* категории: подписи и значки крупнее */
    .cat { font-size: clamp(17px, 1.64vw, 22.4px); line-height: 1.38; padding: 12px 8px 26px; }
    .cat__ico { width: 80%; max-height: 128px; }

    /* бенто: шрифты, промежутки и значки – как в макете */
    .bento__col { gap: 20px; }
    .bc { font-size: clamp(17px, 1.5vw, 20.5px); line-height: 1.38; padding: 18px 20px 18px; }
    .bc__t { font-size: clamp(18px, 1.65vw, 22.6px); line-height: 1.35; }
    .bc__head { margin-bottom: 10px; }
    /* значок справа «плавает», текст обтекает его – карточки не растягиваются ради значка */
    .bc__head:not(.bc__head--icon-left) { display: block; }
    .bc__head:not(.bc__head--icon-left)::after { content: none; }
    .bc__head .bc__ico--right { float: right; width: 92px; max-height: 96px; margin: 0 0 6px 12px; }
    .bc__head .fn.bc__ico--right { width: auto; max-height: none; }
    .bc__ico--left { width: 80px; max-height: 90px; }
    .bc__head--icon-left { gap: 12px; }
    .bc__ico[src$="bento-rocket.webp"] { width: 60px; margin-top: -4px; }
    .bc__ico[src$="bento-doc-search.webp"] { width: 84px; }
    .bc__ico[src$="bento-chart-arrow.webp"] { width: 78px; }
    .bc__ico[src$="crm-funnel-cards.webp"] { width: 150px; max-height: none; }
    .bc--dark .bc__ico { width: 100px; }
    .bc--dark .bc__head--icon-left .bc__ico { width: 118px; }
    .bc__art--center { width: 70%; margin-top: 4px; }
    /* большая карточка: высота по соседним колонкам, крупный текст, фото на «облаке» во всю ширину низа */
    .bc--big { min-height: 0; padding: 22px 24px 0; }
    .bc--big .bc__t { font-size: clamp(20px, 1.76vw, 24px); }
    .bc--center .bc__t { text-align: center; max-width: 13.5em; margin: 0 auto; }
    .bc--big > p { font-size: clamp(18px, 1.68vw, 23px); line-height: 1.42; }
    /* ширина – доля поля карточки без отступов 24 + 24 (в макете 312, 415 и 340 px при карточке 478) */
    .bc .bc__art--tea { width: 72.5%; margin-right: -24px; }
    .bc .bc__art--duo { width: 96.5%; margin-right: -24px; }
    .bc .bc__art--sofa { width: 79%; margin-right: -24px; }
    .bc .bc__art--tea .bc__stk { left: -50%; top: 21%; }
    .bc .bc__art--duo .bc__stk { left: -12%; top: 2%; }
    .bc .bc__art--sofa .bc__stk { left: auto; right: 60%; top: 0; }
    /* «Частным нанимателям»: правая колонка – карточки по высоте текста, по центру колонки */
    .pg--private-employers .bento__col:nth-child(3) { justify-content: center; gap: 56px; }
    .pg--private-employers .bento__col:nth-child(3) > .bc { flex: 0 0 auto; }
}
@media (min-width: 1101px) {
    .bc { padding: 15px 18px 14px; }
    .bc p { margin-bottom: .3em; }
    .bc__ico[src$="bento-chart-arrow.webp"] { width: 70px; margin-top: 4px; }
    .bc--dark:has(.bc__tag) { padding-bottom: 70px; }
    /* мини-воронка – компактнее, как картинка в макете */
    .fn { gap: 3px; margin-top: 8px !important; }
    .fn__col { padding: 0 3px 8px; gap: 4px; }
    .fn__col b { font-size: 9.5px; padding: 1px 5px; border-radius: 6px; }
    .fn__col i { width: 40px; height: 15px; }
}
@media (min-width: 1101px) {
    /* значок слева тоже «плавает»: короткий заголовок – и первый абзац идёт справа от значка (чат) */
    .bc__head--icon-left { display: block; }
    .bc__head--icon-left .bc__ico { float: left; margin: 0 14px 4px 0; }
    .bc__head--icon-left + p { clear: none; }
    .pg--candidates .bc--white .bc__head--icon-left .bc__t { text-align: right; }
    .bc--dark .bc__head--icon-left::after, .bc--lightgreen .bc__head--icon-left::after { content: ''; display: block; clear: both; }
    .pg--candidates .bc--big { padding-top: 32px; }
    .pg--candidates .bc--big .bc__head { margin: 0 0 22px 18px; }
    /* «Работа рядом с домом»: карта справа у первого абзаца */
    .bc__art--map { float: right; clear: right; width: 32%; max-width: 132px; margin: -26px -6px 0 8px; }
    .bc__art--map + .bc__t--sub { clear: none; }
    /* «Соискателям»: большая карточка начинается выше соседних, стрелка-завиток под заголовком – как в макете */
    .pg--candidates .bento__col:first-child { margin-top: -54px; }
    .pg--candidates .bento__titlebox { position: relative; }
    .pg--candidates .bento__titlebox::after {
        content: ''; position: absolute; left: 74%; top: calc(100% + 4px); width: 76px; height: 82px;
        background: url(img/deco-curly-arrow.webp) center / contain no-repeat; pointer-events: none;
    }
}
@media (min-width: 1101px) {
    /* «Кадровым агентствам»: схема CRM меньше, справа от неё – бумажный самолётик (как в макете) */
    .bc--big .bc__art--crm { position: relative; width: 55%; margin: 14px 0 22px; align-self: flex-start; }
    .bc__art--crm::after {
        content: ''; position: absolute; left: 100%; top: 24%; width: 70%; aspect-ratio: 351 / 254;
        background: url(img/deco-plane-dotted.webp) center / contain no-repeat; filter: brightness(0) invert(1); pointer-events: none;
    }
}
@media (min-width: 1101px) {
    .hr__title { font-size: clamp(30px, 3.37vw, 46px); }
}
@media (min-width: 1101px) {
    /* подпись первого шага не уходит за левый край (английская – в одну длинную строку) */
    .step:first-child .step__t { transform: translateX(clamp(-12px, calc(48px - 50%), 0px)); }
    /* между текстом большой карточки и фото – место под наклейку (в макете ~50 px) */
    .bc--big > p:last-of-type { margin-bottom: 44px; }
    .bc .bc__art--sofa .bc__stk { right: auto; left: -36%; top: 2%; }
}
/* шапка ролей на ПК: фото с правого края не ложится на список преимуществ (ширина фото задана долей ряда – одинаково на 1366 и 1920) */
@media (min-width: 1101px) {
    .pg--employers .hr__feats { padding-right: 24%; }
    .pg--agencies .hr__feats { padding-right: 16%; }
    .pg--private-employers .hr__feats, .pg--private-practice .hr__feats { padding-right: 6%; }
}
@media (min-width: 1101px) {
    :lang(kk) .bc--big > p:last-of-type { margin-bottom: 84px; }
    :lang(kk) .pg--employers .hr__feats { padding-right: 27%; }
    .hr__feats .feat > div { min-width: 0; }
    .hr__feats .feat p { overflow-wrap: break-word; hyphens: auto; }
}

/* «О нас», геймификация: Әжека с яблоком на «облаке» из макета, звёзды у заголовка, лучи у карточки роста */
.gm { position: relative; }
.gm__rays { position: absolute; left: 29.4%; top: -40px; width: 56px; transform: rotate(180deg); pointer-events: none; }
.gmhead__stars { position: absolute; left: 67%; top: -14px; width: 76px; pointer-events: none; }
.gmhead__person--art .gmhead__img { width: 100%; }
@media (max-width: 1100px) {
    .gm__rays, .gmhead__stars { display: none; }
}
@media (min-width: 1101px) {
    .gmhead { min-height: 196px; }
    .gmhead__person--art { width: 20.3%; right: -26px; top: -36px; }
    .gm { gap: 50px; margin-top: 28px; }
    .gm__mid { gap: 32px; }
    .gm .bc p, .gm__app > p { font-size: clamp(17px, 1.54vw, 21px); }
    .gm .bc__t { font-size: clamp(18px, 1.65vw, 22.6px); }
    .gm__map { width: 54%; max-width: 176px; margin: -14px 0 -6px auto; }
    :lang(kk) .gm__map, :lang(en) .gm__map { margin-top: 4px; }
    :lang(kk) .prhead { padding-right: 29%; }
    .soon { padding: 6px 22px 6px 40px; font-size: 26px; gap: 22px; }
    .soon__ico { width: 54px; margin: -22px 0 -12px; }

    /* «О нас»: заголовок, команда и принципы – шрифты как в макете, заголовок принципов в одну строку */
    .h1--md { font-size: clamp(28px, 2.72vw, 37px); }
    .h2--caps { font-size: clamp(24px, 2.72vw, 37px); }
    .prhead { padding-right: 24%; }
    .team p { font-size: clamp(17px, 1.65vw, 22.6px); line-height: 1.38; }
    .team__n { font-size: clamp(20px, 1.8vw, 24.7px); }
    .teamgrid, .prgrid { gap: 0 7.6%; }
    .pr { font-size: clamp(17px, 1.65vw, 22.6px); line-height: 1.38; }
    .pr__t { font-size: clamp(19px, 1.83vw, 25px); }
}
@media (min-width: 1101px) {
    .bc__head .gm__bolt { width: 62px; max-height: 110px; margin: 2px 6px 0 14px; }
}
@media (min-width: 1101px) {
    .ah__stk { right: 7%; top: 64px; }
}
@media (min-width: 1101px) {
    /* «Честный найм»: искра над наклейкой и лучи у первой карточки – как в макете; штамп REAL наклонён */
    .prhead::after {
        content: ''; position: absolute; right: -10px; top: -64px; width: 100px; aspect-ratio: 309 / 270;
        background: url(img/deco-sparkle2.webp) center / contain no-repeat; pointer-events: none;
    }
    .prgrid { position: relative; margin-top: 60px; }
    .prgrid::before {
        content: ''; position: absolute; left: 25.8%; top: -52px; width: 60px; aspect-ratio: 183 / 212;
        background: url(img/deco-rays.webp) center / contain no-repeat; transform: rotate(180deg); pointer-events: none;
    }
    .pr { padding: 20px 12px 22px; min-height: 438px; }
    .pr__ico { width: 100px; }
    .pr__ico[src$="stamp-real.webp"] { transform: rotate(-20deg); width: 118px; }
}

/* окна «Контакты» и «Получить КП» – размеры и шрифты как в макете 1366 */
@media (min-width: 1101px) {
    .mframe { grid-template-columns: 265px minmax(0, 895px); width: min(1160px, 100% - 2 * var(--gut)); }
    .mside { margin-right: -33px; }
    .mside__img { width: 265px; }
    .mside__img[src$="photo-man-dark-kp.webp"] { width: 285px; max-width: none; aspect-ratio: 285 / 335; object-fit: cover; object-position: top; }
    .bubble { font-size: 16.5px; line-height: 1.45; max-width: 265px; padding: 10px 12px; }
    .mside:has(img[src$="photo-aika.webp"]) .bubble { font-size: clamp(16px, 1.55vw, 21px); line-height: 1.4; max-width: 230px; }
    .opts--4 { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 14px 30px; }
    .mcard { padding: 22px 40px 26px; }
    .mcard__top { min-height: 116px; }
    .ccards { gap: 67px; padding: 0 22px; }
    .ccard { min-height: 438px; padding: 18px 12px 24px; }
    .ccard__head h3 { font-size: clamp(26px, 2.7vw, 37px); }
    .ccard__big, .ccard__big--mail { font-size: clamp(22px, 2.6vw, 35.5px); }
    .ccard__p { font-size: clamp(18px, 1.76vw, 24px); line-height: 1.45; padding: 0 8px; }
    .ccard .btn { border-width: 3px; min-height: 56px; min-width: 250px; font-size: clamp(17px, 1.54vw, 21px); }
    .kp__set { margin-bottom: 14px; }
    .kp__l { font-size: clamp(20px, 1.98vw, 27px); margin-bottom: 12px; }
    .opt span { font-size: clamp(16px, 1.42vw, 19.5px); min-height: 70px; }
    .opts--3 .opt span { min-height: 54px; }
    .fld__l { font-size: clamp(17px, 1.54vw, 21px); }
    .kp__send .btn { font-size: clamp(20px, 1.76vw, 24px); min-height: 46px; }
}
/* на широком окне блок «фото + окно» сдвинут влево, как в макете (окно с x = 307 при 1366) */
@media (min-width: 1300px) {
    .mframe { position: relative; left: -50px; }
}

/* казахские рукописные подписи над фото не выходят за правый край окна (повёрнутая рамка) */
:lang(kk) .hh__hand { max-width: 26cqw; }
:lang(kk) .hr__hand { max-width: calc(88cqw - var(--hand-x, 20%)); }
/* ================================================================ телефон и планшет после сверки с макетом (снимки iPhone 14.10.2026) */

/* большая карточка бенто: наклейка – над фото, на фоне карточки, а не на лицах (в макете она сбоку, над плечом) */
@media (max-width: 1100px) {
    .bc--big .bc__art { display: flex; flex-direction: column; align-items: flex-start; }
    .bc--big .bc__art .bc__img { order: 2; }
    .bc--big .bc__stk, .bc--green.bc--big .bc__stk, .bc .bc__art--tea .bc__stk, .bc .bc__art--duo .bc__stk, .bc .bc__art--sofa .bc__stk {
        position: relative; left: auto; right: auto; top: auto; order: 1; z-index: 2; margin: 0 0 -4px 0; max-width: 100%;
    }
    .bc--big .bc__stk .stk__l { white-space: normal; }

    /* бенто и карточки: колонки не шире экрана – картинка (карта, фото) не распирает сетку (Safari считает её ширину) */
    .bento--candidates, .bento--hirer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento__col, .bc { min-width: 0; }
    .bc img { max-width: 100%; height: auto; }
    .bc__art--center { width: min(84%, 300px); max-width: 100%; margin: 10px auto 0; }
    .bc__art--center .bc__img { width: 100%; aspect-ratio: 360 / 202; object-fit: contain; }
}
@media (max-width: 720px) {
    .bento--candidates, .bento--hirer { grid-template-columns: minmax(0, 1fr); }
    .bc--big .bc__art, .bc--big .bc__art--bottom { margin-top: 6px; }
    .bc__art--center { width: min(88%, 300px); margin: 8px auto 4px; }
}

/* окна «Контакты» и «Получить КП» на телефоне: размеры как у остальных мобильных элементов, окно по высоте
   видимой области (100dvh – без нижней панели Safari), прокрутка внутри, крестик всегда на экране */
@media (max-width: 720px) {
    .modal { height: 100%; height: 100dvh; max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
    /* рамка – обычным блоком: сеткой с align-items: end карточка выше экрана вылезала вверх, за край окна, вместе с крестиком */
    .modal .mframe { display: block; min-height: 100%; flex: none; }
    .modal .mcard { min-height: 100vh; min-height: 100dvh; }
    .modal .mclose {
        position: fixed; top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(10px + env(safe-area-inset-right, 0px)); z-index: 20;
        box-shadow: 0 4px 14px rgba(40, 30, 60, .25);
    }
    .mcard__top { min-height: 72px; }
    .mcard__t { font-size: 20px; line-height: 1.35; margin: 4px auto 18px; }
    .kp__set { margin-bottom: 16px; }
    .kp__l { display: block; float: none; width: 100%; max-width: 100%; white-space: normal; font-size: 18px; line-height: 1.3; margin-bottom: 10px; }
    .kp__l span { margin-right: 4px; }
    .opt span { font-size: 14px; min-height: 46px; padding: 6px 8px; border-width: 2px; border-radius: 14px; line-height: 1.3; }
    .kp__fields { gap: 6px; }
    .fld { gap: 6px; }
    .fld__l { font-size: 15px; }
    .fld input { font-size: 16px; min-height: 44px; border-width: 2px; border-radius: 14px; padding: 6px 14px; }
    .fld__err { font-size: 13px; }
    .kp__consent { font-size: 12.5px; }
    .kp__send .btn { font-size: 17px; min-height: 48px; }
    .ccards { gap: 16px; }
    .ccard { padding: 14px 14px 18px; border-width: 2px; }
    .ccard__head h3 { font-size: 21px; text-align: left; }
    .ccard__ico { width: 64px; }
    .ccard__big { font-size: 20px; margin: 4px 0 10px; }
    .ccard__big--mail { font-size: 18px; }
    .ccard__p { font-size: 15.5px; line-height: 1.45; padding: 0; }
    .ccard .btn { font-size: 16px; min-height: 44px; }
}
/* планшет: то же – высокое окно не вылезает вверх за край, прокручивается от начала */
@media (min-width: 721px) and (max-width: 1100px) {
    .modal .mframe { display: block; flex: none; margin: 24px auto; }
}
@media (max-width: 720px) {
    /* повёрнутая наклейка над фото не задевает последнюю строку текста */
    .bc--big .bc__art:has(.bc__stk), .bc--big .bc__art--bottom:has(.bc__stk) { margin-top: 26px; }
}
@media (max-width: 720px) {
    /* «О платформе»: фото Алматы в потоке под кнопкой – на широком телефоне (430) не наезжает на «Узнать больше» */
    .pcard__art:has(.pcard__photo) { min-height: 0; }
    .pcard__photo { position: relative; display: block; right: auto; bottom: auto; width: 72%; max-width: 300px; margin: 6px 10% 14px auto; }
}
@media (max-width: 720px) {
    :lang(kk) .bc--big .bc__art:has(.bc__stk) { margin-top: 44px; }
}
@media (min-width: 721px) and (max-width: 1100px) {
    /* большая карточка: фото с наклейкой начинается под заголовком, а не поднимается на него */
    .bc--big .bc__art { align-self: start; margin-top: 4px; }
    .bc--big:has(.bc__stk) .bc__head { margin-bottom: 30px; }
}

/* Меню на весь экран телефона: фон не прокручивается (site.js). */
@media (max-width: 760px) { html.menu-open, html.menu-open body { overflow: hidden; } }

/* Карточка роли на компьютере: «Разместить …» и «Получить КП» – в один ряд, как в макете (Работодатели 1, ЧН 1,
   Част прак 1). Перенос второй кнопки на новую строку удлинял первый экран, и фото с подписью «Найм становится
   проще» съезжали вниз (владелец 19.10.2026). */
@media (min-width: 1101px) {
    .hr__text .btns { flex-wrap: nowrap; gap: 16px; }
    .hr__text .btns .btn { flex: 0 1 auto; min-width: 0; white-space: nowrap; }
}

/* Окно «В браузере удобнее» – встроенные браузеры (site.js; эскиз C «Открытка» владельца, 22.10.2026).
   Как в приложении: сайт за окном размыт и чуть подкрашен фиолетовым, кремовая карточка, картинка
   «двое у дерева» выходит за верхний край и оживает, зелёная кнопка со стрелкой мягко светится. */
.modal--inapp [hidden] { display: none !important; }
.modal--inapp::backdrop { background: linear-gradient(180deg, rgba(90, 50, 144, .16), rgba(90, 50, 144, .32));
    backdrop-filter: blur(12px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1); animation: iaw-fade .35s ease-out both; }
.iaw { width: 100%; min-height: 100%; display: flex; align-items: center; justify-content: center; box-sizing: border-box;
    padding: calc(120px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px)); }
.iaw__card { position: relative; width: 100%; max-width: 360px; box-sizing: border-box; background: var(--bg); border-radius: 32px;
    padding: 150px 24px 12px; box-shadow: 0 28px 70px rgba(50, 25, 90, .3); display: flex; flex-direction: column; align-items: center;
    text-align: center; font-family: Inter, Roboto, system-ui, sans-serif; color: #333; animation: iaw-in .65s cubic-bezier(.2, .9, .3, 1) both; }
.iaw__scene { position: absolute; left: 50%; top: -96px; width: 230px; aspect-ratio: 1558 / 1579; transform: translateX(-50%); pointer-events: none; }
.iaw__scene img { position: absolute; display: block; }
.iaw__tree { left: 26.3%; top: 0; width: 45.6%; height: 100%; transform-origin: 50% 100%; animation: iaw-grow .8s .25s cubic-bezier(.2, .8, .2, 1.1) both; }
.iaw__pl { left: 0; top: 14.2%; width: 46%; height: 79.2%; animation: iaw-left .9s .35s cubic-bezier(.2, .8, .2, 1) both; }
.iaw__pr { left: 51%; top: 11.6%; width: 49%; height: 81.8%; animation: iaw-right .9s .35s cubic-bezier(.2, .8, .2, 1) both; }
.iaw__t { margin: 0 0 8px; font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; animation: iaw-rise .5s .65s ease-out both; }
.iaw__lead { margin: 0 0 22px; max-width: 280px; font-size: 15px; line-height: 1.45; color: #7C7466; animation: iaw-rise .5s .65s ease-out both; }
.iaw__go { width: 100%; height: 54px; border: 0; border-radius: 16px; background: #76B300; color: #fff; font: 700 16px Inter, Roboto, system-ui, sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
    animation: iaw-rise .5s .8s ease-out both, iaw-glow 2.2s 1.6s ease-in-out infinite; }
.iaw__go svg { width: 20px; height: 20px; }
.iaw__go:active { transform: scale(.98); }
.iaw__go:focus-visible { outline: 3px solid #57328C; outline-offset: 3px; }
.iaw__help { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.iaw__help-t { margin: 0; font-size: 15px; line-height: 1.45; color: #666; }
.iaw__help-t b { font-size: 1.2em; line-height: 1; padding: 0 2px; }
.iaw__link { border: 0; background: none; padding: 6px 4px; font: 600 15px Inter, Roboto, system-ui, sans-serif; color: #57328C;
    text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.iaw__url { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.iaw__url.is-shown { position: static; box-sizing: border-box; margin-top: 8px; width: 100%; height: auto; opacity: 1; padding: 10px 12px; border: 1.5px solid #ddd5c8; border-radius: 12px;
    background: #fff; font-size: 14px; color: #333; }
.ia__status { text-align: center; min-height: 0; margin: 6px 0 0; font-size: 14px; }
.ia__status:empty { margin: 0; }
.iaw__stay { margin-top: 14px; min-height: 44px; padding: 0 16px; border: 0; background: none; font: 500 15px Inter, Roboto, system-ui, sans-serif; color: #8A8278;
    cursor: pointer; animation: iaw-rise .5s .8s ease-out both; }
.iaw__go[data-inapp-copybtn] { animation: iaw-rise .5s .8s ease-out both; }
/* iPhone в Instagram / Threads / Facebook (эскиз C2): шаги «⋯ → Открыть в браузере» сразу и стрелка к «⋯». */
.iaw__steps { width: 100%; box-sizing: border-box; margin: 0 0 12px; padding: 14px 14px 12px; border-radius: 18px; background: #fff;
    display: flex; flex-direction: column; gap: 10px; text-align: left; animation: iaw-rise .5s .75s ease-out both; }
.iaw__steps.is-flash { animation: iaw-flash 1.2s ease-out 2; }
.iaw__steps-t { margin: 0; font-size: 13px; font-weight: 700; color: #6B9D25; text-transform: uppercase; letter-spacing: .04em; }
.iaw__step { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.35; color: #333; }
.iaw__step b { font-weight: 700; }
.iaw__step--dots b { display: inline-flex; padding: 0 6px; border-radius: 6px; background: #111; color: #fff; }
.iaw__num { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 13px; background: #76B300; color: #fff; font-size: 13px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; }
.iaw__pointer { position: fixed; top: calc(6px + env(safe-area-inset-top, 0px)); right: 18px; z-index: 2; display: flex; align-items: flex-start; gap: 6px;
    color: #76B300; pointer-events: none; animation: iaw-fade .4s 1.1s both, iaw-point 1.4s 1.5s ease-in-out infinite; }
.iaw__pointer span { margin-top: 26px; padding: 6px 10px; border-radius: 10px; background: #76B300; color: #fff; font: 700 13px Inter, Roboto, system-ui, sans-serif; white-space: nowrap; }
.iaw__pointer svg { width: 44px; height: 44px; }
/* «Не видно ⋯? Нажмите на адрес сайта вверху» – Instagram/Threads прячут шапку при прокрутке, вернуть её
   может только сам человек нажатием на адрес (проверено на iPhone 22.10.2026; прокрутка сайтом не помогает). */
.iaw__hint { display: block; margin-top: 3px; color: #7A7568; font-size: 13px; font-weight: 400; line-height: 1.3; }
@keyframes iaw-point { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(4px, -6px); } }
@keyframes iaw-flash { 0%, 100% { background: #fff; } 30% { background: #EEF6DD; } }
@keyframes iaw-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes iaw-in { 0% { transform: translateY(40px) rotate(-2deg); opacity: 0; } 70% { transform: translateY(-4px) rotate(.5deg); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes iaw-left { from { transform: translateX(-40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes iaw-right { from { transform: translateX(40%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes iaw-grow { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes iaw-rise { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes iaw-glow { 0%, 100% { box-shadow: 0 6px 16px rgba(118, 179, 0, .35), 0 0 0 0 rgba(118, 179, 0, .35); }
    50% { box-shadow: 0 6px 16px rgba(118, 179, 0, .35), 0 0 0 10px rgba(118, 179, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
    .modal--inapp::backdrop, .iaw__card, .iaw__scene img, .iaw__t, .iaw__lead, .iaw__go, .iaw__stay, .iaw__steps, .iaw__pointer { animation: none; }
}
