/* EMOR - остальные страницы в стиле главной, 2026-09-22. Для фирм, о нас, контакты, вакансия, блог, политика.
   Поверх style.css, home.css и kand.css. Движение только transform и opacity */

/* ---------- переключатель на четыре языка ---------- */
.header-cta .lang-switch a { padding: 6px 9px; font-size: 12px; letter-spacing: .02em; }
@media (max-width: 420px) {
    .header-cta .lang-switch a { padding: 6px 7px; font-size: 11.5px; }
    .logo img { height: 32px; }
}

/* ---------- общие заголовки ---------- */
.sec-h { max-width: 20ch; margin-bottom: 52px; }
.home .page-hero { display: none; }

/* ---------- для фирм, боль ---------- */
.pain { background: linear-gradient(180deg, var(--bg) 0%, #051A13 100%); }
.pain-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.pain-head { position: sticky; top: 118px; }
.pain-head h2 { margin-bottom: 22px; }
.pain-l { list-style: none; border-top: 1px solid var(--line); }
.pain-l li { display: flex; gap: 20px; align-items: flex-start; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pain-l p { font-size: 18px; color: #D5E8DE; line-height: 1.55; }
.pain-l b { color: var(--ivory); }
.pain-x { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; position: relative; background: rgba(255, 107, 91, .1); border: 1px solid rgba(255, 107, 91, .35); margin-top: 2px; }
.pain-x::before, .pain-x::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; background: #FF8A7A; border-radius: 2px; }
.pain-x::before { transform: translate(-50%, -50%) rotate(45deg); }
.pain-x::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- как работаем ---------- */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how-item { padding: 28px 24px; border-radius: 22px; background: linear-gradient(160deg, #0A2F24 0%, #072219 100%); border: 1px solid rgba(255, 255, 255, .07); }
.how-item .gi-ic { margin-bottom: 22px; }
.how-item h3 { font-size: 18px; color: var(--ivory); margin-bottom: 10px; }
.how-item p { color: var(--muted); font-size: 15px; }
.svc-row .eff { grid-column: 1 / -1; margin-top: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(52, 214, 154, .07); color: #CFE8DC; font-size: 15px; }
.svc-row .eff b { color: var(--mint); }
.svc-head .btn { margin-top: 30px; }

/* ---------- школа UDT ---------- */
.udt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.udt-ph { margin: 0; }
.udt-ph .par { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 5; }
.udt-ph img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; object-position: 30% 50%; }
.udt h2 { margin-bottom: 22px; }
.udt .lead-xl { margin-bottom: 30px; }
.udt-list { border-top: 1px solid var(--line); }
.udt-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.udt-item h3 { font-size: 18px; color: var(--ivory); margin-bottom: 6px; }
.udt-item p { color: var(--muted); font-size: 15px; }

/* ---------- правовая безопасность ---------- */
.lg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lg-card { padding: 30px 28px; border-radius: 22px; background: linear-gradient(150deg, #0F4A37 0%, #072A1F 100%); border: 1px solid rgba(52, 214, 154, .22); }
.lg-card h3 { font-size: 19px; color: var(--ivory); margin-bottom: 10px; }
.lg-card p { color: #C4D8CE; font-size: 15px; }

/* ---------- отрасли чипами ---------- */
.ind-chips { display: flex; flex-wrap: wrap; gap: 12px; }
.ind-chips span { font-family: var(--display); font-weight: 600; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.02em; color: var(--ivory); padding: 16px 26px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 42, 32, .6); transition: border-color .4s, background .4s; }
.ind-chips span:hover { border-color: var(--mint); background: rgba(52, 214, 154, .08); }

/* ---------- о нас ---------- */
.story-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 80px; align-items: center; }
.story h2 { margin-bottom: 26px; }
.story .lead-xl { margin-bottom: 26px; }
.story-quote { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2vw, 28px); line-height: 1.3; letter-spacing: -.02em; color: var(--ivory); padding-left: 22px; border-left: 2px solid var(--mint); max-width: 34ch; }
.story-ph { margin: 0; }
.story-ph .par { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 4 / 5; }
.story-ph img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.val-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.val { padding: 34px 32px; border-radius: 22px; background: linear-gradient(160deg, #0A2F24 0%, #072219 100%); border: 1px solid rgba(255, 255, 255, .07); }
.val h3 { font-family: var(--display); font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); letter-spacing: -.02em; color: var(--ivory); margin-bottom: 12px; }
.val p { color: var(--muted); font-size: 16px; }
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dual-card { display: flex; flex-direction: column; gap: 12px; padding: 36px 34px; border-radius: 24px; background: #082A20; border: 1px solid rgba(255, 255, 255, .08); transition: transform .6s var(--ease), border-color .4s; }
.dual-card.is-main { background: linear-gradient(150deg, #0F4A37 0%, #072A1F 100%); border-color: rgba(52, 214, 154, .35); }
.dual-card:hover { transform: translateY(-4px); border-color: var(--mint); }
.dual-card h3 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; color: var(--ivory); }
.dual-card p { color: #C4D8CE; font-size: 16px; }
.dual-card .jc-go { margin-top: 12px; }

/* ---------- контакты ---------- */
.home .kontakt { padding-top: 60px; }
.kt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.kt-cards { display: grid; gap: 14px; }
.kt-card, .kt-hours { display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; border-radius: 22px; background: #082A20; border: 1px solid rgba(255, 255, 255, .08); transition: transform .6s var(--ease), border-color .4s; }
a.kt-card:hover { transform: translateY(-3px); border-color: var(--mint); }
.kt-card.is-main { background: linear-gradient(150deg, #0F4A37 0%, #072A1F 100%); border-color: rgba(52, 214, 154, .35); }
.kt-card span, .kt-hours span { font-size: 14px; color: var(--muted); }
.kt-card b { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.03em; color: var(--ivory); }
.kt-hours b { font-size: 17px; color: var(--ivory); }
.kontakt .form-card { border-radius: 24px; background: #082A20; }
.kontakt .form-card .btn { border-radius: 999px; width: 100%; }
.oddzial { border-radius: 22px; overflow: hidden; background: #082A20; border: 1px solid rgba(255, 255, 255, .08); }
.oddzial iframe { filter: grayscale(.4) invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }
.oddzial h3 { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--ivory); display: flex; align-items: center; gap: 10px; }
.hq-b { font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0; color: #03130E; background: var(--mint); padding: 3px 9px; border-radius: 999px; }

/* ---------- вакансия ---------- */
.home .jv-hero.hx { position: relative; overflow: hidden; isolation: isolate; padding: 40px 0 44px !important; min-height: 0; display: block; }
.home .jv-hero::before { background: linear-gradient(90deg, rgba(3, 19, 14, .92) 0%, rgba(3, 19, 14, .7) 60%, rgba(3, 19, 14, .5) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(3, 19, 14, 0) 40%); }
.home .jv-hero h1 { font-family: var(--display); letter-spacing: -.03em; }
.home .jv-apply { border-radius: 24px; background: #082A20; border: 1px solid rgba(52, 214, 154, .25); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .85); }
.home .jv-apply .btn { border-radius: 999px; }
.home .jv-pay-value { font-family: var(--display); letter-spacing: -.03em; }
.home.oferta-page section h2 { font-size: clamp(26px, 3vw, 40px); }
.home.oferta-page section { padding: 72px 0; }


/* ---------- блог ---------- */
.blog-f { margin-bottom: 28px; padding: 0; }
.posts { gap: 16px; }
.post-card.jc { padding: 0; overflow: hidden; }
.post-card .post-cover { aspect-ratio: 16 / 9; background: #072219; }
.post-card .p-body { padding: 24px 26px 26px; }
.post-card h3 { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; color: var(--ivory); margin: 12px 0 10px; }
.article-body p { font-size: 18px; line-height: 1.75; color: #D5E8DE; margin-bottom: 20px; }
.article-cover { border-radius: 24px; }

/* ---------- политика ---------- */
.pol-hero h1 { font-size: clamp(30px, 4vw, 56px); max-width: 22ch; }
.pol-hero p { font-size: 15px; max-width: 80ch; color: var(--muted); }
.home .legal { max-width: 860px; }
.home .legal h2 { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; margin: 44px 0 16px; }
.home .legal p, .home .legal li { color: #C9DCD2; font-size: 16px; line-height: 1.75; }
.legal-note { padding: 16px 20px; border-radius: 14px; border: 1px solid rgba(52, 214, 154, .35); background: rgba(52, 214, 154, .07); color: var(--ivory) !important; margin-bottom: 28px; }
.legal-note a { color: var(--mint); font-weight: 700; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
    .pain-grid, .udt-grid, .story-grid, .kt-grid { grid-template-columns: 1fr; gap: 44px; }
    .pain-head { position: static; }
    .how-grid { grid-template-columns: 1fr 1fr; }
    .lg-grid { grid-template-columns: 1fr; }
    .udt-ph .par, .story-ph .par { aspect-ratio: 16 / 10; }
    .oddzialy { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    .how-grid, .val-grid, .dual, .oddzialy { grid-template-columns: 1fr; }
    .pain-l p { font-size: 16px; }
    .ind-chips span { padding: 12px 18px; }
    .val, .dual-card { padding: 26px 22px; }
    .sec-h { margin-bottom: 32px; }
    .home.oferta-page section { padding: 56px 0; }
}

/* ---------- карта отделов на странице для фирм ---------- */
.mapb { background: linear-gradient(180deg, #051A13 0%, var(--bg) 100%); }
.mapb-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.mapb h2 { margin-bottom: 22px; max-width: 16ch; }
.mapb .lead-xl { margin-bottom: 30px; }
.mapb-list { list-style: none; border-top: 1px solid var(--line); margin-bottom: 34px; }
.mapb-list li { display: flex; align-items: center; gap: 16px; padding: 16px 14px 16px 0; border-bottom: 1px solid var(--line); transition: background .3s, padding .4s var(--ease); }
.mapb-list li.on { background: rgba(52, 214, 154, .09); padding-left: 14px; }
.mapb-list b { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; color: var(--ivory); }
.mapb-list i { font-style: normal; font-family: 'Montserrat', sans-serif; font-size: 11px; font-weight: 700; color: #03130E; background: var(--mint); padding: 3px 9px; border-radius: 999px; }
.mapb-list span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.mapb-list div { flex: 1; }
.mapb-list a { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.mapb-list a svg { width: 15px; height: 15px; stroke: var(--mint); fill: none; stroke-width: 2; }
.mapb-list li.on a, .mapb-list a:hover { background: var(--mint); border-color: var(--mint); }
.mapb-list li.on a svg, .mapb-list a:hover svg { stroke: #03130E; }

.mapb-wrap { position: relative; }
.pl-map-b .reg { fill: #081C15; stroke: #03130E; stroke-width: 2.5; transition: fill .4s var(--ease); }
.pl-map-b .reg.home { fill: #0E3A2B; }
.pl-map-b .ring { fill: rgba(52, 214, 154, .09); stroke: rgba(52, 214, 154, .35); stroke-width: 1.5; stroke-dasharray: 7 7; transition: fill .4s, stroke .4s; }
.pl-map-b .ring.on { fill: rgba(52, 214, 154, .18); stroke: var(--mint); }
.pl-map-b .pin { cursor: default; }
.pl-map-b .pin-h { fill: transparent; }
.pl-map-b .pin-d { fill: var(--mint); stroke: #03130E; stroke-width: 3; transition: r .4s var(--ease); }
.pl-map-b .pin.on .pin-d { r: 13; }
.pl-map-b .pin text { fill: var(--ivory); font: 700 26px 'Montserrat', sans-serif; text-anchor: middle; paint-order: stroke; stroke: #03130E; stroke-width: 6; transition: fill .3s; }
.pl-map-b .pin.on text { fill: var(--mint); }
.mapb-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 13px; color: var(--muted); }
.ring-key { width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed rgba(52, 214, 154, .5); background: rgba(52, 214, 154, .12); }

@media (max-width: 1100px) {
    .mapb-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 760px) {
    .pl-map-b .pin text { font-size: 34px; }
    .mapb-list b { font-size: 17px; }
}
