/* Гео-Ателье · общий слой правок поверх выпуска (подключается последним на всех страницах). */

/* 1. Попап: класс .tm пересекался с блоком тарифов usluga.css → белая рамка вокруг фиолетовой панели. */
.pwm .pw.tm{padding:0!important;gap:0!important;margin-top:0!important;background:#fff;box-shadow:0 40px 80px -30px rgba(0,0,0,.6)!important}
@media(max-width:1000px){.pwm .pw.tm{border-radius:28px}}
@media(max-width:860px){.pwm .pw.tm{border-radius:24px 24px 0 0}}

/* 2. Оранжевая кнопка-стрелка «Что вы получите»: без белого кольца. */
.sse .rs2__eq i{box-shadow:0 14px 30px -10px rgba(226,65,46,.7)!important}

/* 3. Цвет выбранного канала связи: Telegram — синий, MAX — градиент MAX, звонок — зелёный. */
input[type=radio][value=tg]:checked+span{background:linear-gradient(135deg,#2aabee,#1e96c8)!important;color:#fff!important;box-shadow:none!important;border-color:transparent!important}
input[type=radio][value=max]:checked+span{background:linear-gradient(135deg,#2d8cff,#8a3dff)!important;color:#fff!important;box-shadow:none!important;border-color:transparent!important}
input[type=radio][value=call]:checked+span{background:#1f9d55!important;color:#fff!important;box-shadow:none!important;border-color:transparent!important}
button[data-ch=tg][aria-pressed=true]{background:linear-gradient(135deg,#2aabee,#1e96c8)!important;color:#fff!important;box-shadow:none!important}
button[data-ch=max][aria-pressed=true]{background:linear-gradient(135deg,#2d8cff,#8a3dff)!important;color:#fff!important;box-shadow:none!important}
button[data-ch=call][aria-pressed=true]{background:#1f9d55!important;color:#fff!important;box-shadow:none!important}

/* 4. «AI» на иконке Алисы. */
.pf--al,.ah-alice,.ag-al{position:relative}
.pf--al::after,.ah-alice::after,.ag-al::after{content:"AI";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-weight:700;letter-spacing:-.02em;line-height:1;pointer-events:none}
.pf--al::after{font-size:16px}
.ah-alice::after{font-size:8px}.af-geo .ah-alice::after{font-size:11px}
.ag-al::after{font-size:11px}.alx-a .ag-al::after{font-size:13px}
@media(max-width:640px){.pf--al::after{font-size:13px}}

/* 5. CTA-плашка в стиле окна «Разбор-аудит». */
.ctp{padding:clamp(40px,5vw,88px) 0;background:#fff}
.ctp__b{position:relative;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(28px,4vw,56px);align-items:center;padding:clamp(28px,4vw,52px);border-radius:32px;color:#fff;overflow:hidden;background:linear-gradient(150deg,#14112b,#2a1f6b 55%,#5a3fd6)}
.ctp__b::before{content:"";position:absolute;right:-120px;top:-140px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.2),transparent 68%);pointer-events:none}
.ctp__l,.ctp__r{position:relative;min-width:0}
.ctp__tag{display:inline-flex;align-items:center;height:38px;padding:0 16px;border-radius:99px;background:rgba(255,255,255,.12);font-size:14px;color:#fff}
.ctp__t{display:flex;align-items:center;gap:18px;margin-top:22px}
.ctp__ic{flex:none;width:64px;height:64px;border-radius:22px;background:conic-gradient(from 200deg,#7b5cff,#c15cff,#ff7a59,#7b5cff);animation:ctprot 9s linear infinite;box-shadow:0 18px 36px -14px rgba(123,92,255,.9)}
@keyframes ctprot{to{transform:rotate(360deg)}}
.ctp h2{margin:0;font-size:clamp(28px,3.3vw,48px);line-height:1.05;letter-spacing:-.035em;font-weight:600;color:#fff;text-wrap:balance}
.ctp h2 span{color:#b9aeff}
.ctp__p{margin:18px 0 0;max-width:520px;font-size:17px;line-height:1.5;color:rgba(255,255,255,.78)}
.ctp__ck{margin:0;padding:22px 22px 20px;list-style:none;border-radius:24px;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);backdrop-filter:blur(8px)}
.ctp__ck>small{display:block;margin-bottom:12px;font-size:14px;color:rgba(255,255,255,.7)}
.ctp__ck li{position:relative;padding:0 0 0 34px;margin-top:12px;font-size:16px;line-height:1.4;color:#fff}
.ctp__ck li::before{content:"";position:absolute;left:0;top:0;width:24px;height:24px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%235a3fd6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat}
.ctp__go{margin-top:18px;width:100%;justify-content:space-between;background:linear-gradient(135deg,#7b5cff,#c15cff 60%,#ff7a59)!important;color:#fff!important;box-shadow:0 18px 40px -16px rgba(193,92,255,.8)!important}
.ctp__go .ico{background:rgba(255,255,255,.22)!important;color:#fff}
.ctp__n{display:block;margin-top:12px;font-size:13px;line-height:1.45;color:rgba(255,255,255,.62)}
.ctp--s .ctp__b{padding:clamp(24px,3vw,36px)}
.ctp--s h2{font-size:clamp(24px,2.6vw,36px)}
@media(max-width:900px){.ctp__b{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.ctp__ic{width:52px;height:52px;border-radius:18px}.ctp__go{height:auto;min-height:60px;white-space:normal;text-align:left}}
@media(prefers-reduced-motion:reduce){.ctp__ic{animation:none}}
.ctp__fmt{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;padding:0;list-style:none}
.ctp__fmt li{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:99px;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);font-size:14px;color:#fff}
.ctp__fmt svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* 6. Логотип в шапке крупнее; шапка остаётся в сетке контента. */
.assembled-site #header .logo .logo__img{width:184px;height:33px}
@media(max-width:1360px){.assembled-site #header .logo .logo__img{width:166px;height:30px}}
@media(max-width:1240px){.assembled-site #header .logo .logo__img{width:152px;height:27px}}
@media(max-width:1024px){.assembled-site #header .logo .logo__img{width:164px;height:30px}}
@media(max-width:420px){.assembled-site #header .logo .logo__img{width:154px;height:28px}}
.ctp__alt{display:block;width:100%;margin-top:10px;height:48px;border:0;border-radius:99px;background:rgba(255,255,255,.1);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22);font:inherit;font-size:15px;font-weight:500;color:#fff;cursor:pointer;transition:background .2s}
.ctp__alt:hover{background:rgba(255,255,255,.18)}

/* 7. CTA в футере всех страниц — в стиле окна «Разбор-аудит», с форматом встречи. */
.assembled-site #footer .sf-cta.ctp{display:block;padding:0 0 clamp(40px,5vw,64px);background:none;border-bottom:1px solid rgba(255,255,255,.12)}
.assembled-site #footer .sf-cta.ctp .sf-cta__t{max-width:none;font-size:clamp(28px,3.2vw,46px);font-weight:600;color:#fff}
.assembled-site #footer .sf-cta.ctp .sf-cta__t span{color:#b9aeff}
.assembled-site #footer .sf-cta.ctp p{margin:18px 0 0;color:rgba(255,255,255,.78)}
.assembled-site #footer .sf-cta.ctp .btn{width:100%}
/* страница уже заканчивается такой плашкой — футер её не повторяет */
.has-ctp-end #footer .sf-cta.ctp{display:none}
.has-ctp-end #footer .sf-main{padding-top:0}

/* 8. Хлебные крошки одинаковые на всех страницах (на части страниц стиль не подключался). */
.u-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;font-size:13.5px;line-height:1.4;color:var(--ink-3)}
.u-crumbs a{color:var(--ink-2);text-decoration:none;transition:color .2s}
.u-crumbs a:hover{color:var(--accent)}
.u-crumbs>span:not([aria-current]){color:#c4c4bf}
label[data-ch=tg] input:checked+span{background:linear-gradient(135deg,#2aabee,#1e96c8)!important;color:#fff!important;box-shadow:none!important;border-color:transparent!important}
label[data-ch=max] input:checked+span{background:linear-gradient(135deg,#2d8cff,#8a3dff)!important;color:#fff!important;box-shadow:none!important;border-color:transparent!important}
label[data-ch=call] input:checked+span{background:#1f9d55!important;color:#fff!important;box-shadow:none!important;border-color:transparent!important}

/* 9. Логотипы клиентов везде как на главной: две ленты навстречу, единый масштаб, та же скорость. */
.lgo-m{gap:6px}
.lgo-row--b{display:block}
.lgo-m [data-case-slot="logos"] .lgo.kl-client-logo{zoom:.72}
.lgo-m [data-case-slot="logos"] .lgo.kl-client-logo[data-logo-mobile-hidden]{display:none}
.lgo-tr[data-case-slot="logos"]{animation-duration:52s!important}
.lgo-row--b .lgo-tr[data-case-slot="logos"]{animation-duration:58s!important}
@media(max-width:720px){.lgo-m [data-case-slot="logos"] .lgo.kl-client-logo{zoom:.85}.lgo-tr[data-case-slot="logos"]{animation-duration:34s!important}.lgo-row--b .lgo-tr[data-case-slot="logos"]{animation-duration:38s!important}}

/* 10. «С чего начать»: карточка «Тест-драйв» с теми же отступами и кнопкой, что у соседних; кнопка не выходит за край. */
#start .fn-st__c:not(.fn-st__c--start):not(.fn-st__c--audit){padding:30px}
#start .fn-st__c .btn{margin-top:auto;align-self:stretch;justify-content:space-between;height:58px;font-size:17px;max-width:100%;min-width:0}
@media(max-width:1180px) and (min-width:721px){#start .fn-st__c .btn{font-size:15.5px;padding-left:20px}}
@media(max-width:720px){#start .fn-st__c:not(.fn-st__c--start):not(.fn-st__c--audit){padding:23px}}

/* 11. «Усиливаем подачу»: услуги и сферы — настоящие ссылки на страницы. */
.fn-ex__c a{box-sizing:border-box;display:inline-flex;align-items:center;gap:14px;height:52px;padding:0 20px;border:1px solid rgba(0,0,0,.14);border-radius:99px;font-size:15.5px;color:var(--ink);text-decoration:none;transition:background .2s,border-color .2s}
.fn-ex__c a svg{width:15px;height:15px}
.fn-ex__c a:hover{background:#fff;border-color:var(--ink)}
.fn-ex__c a:focus-visible,.fn-ex__s a:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.fn-ex__s a{color:var(--ink);text-decoration:none;border-bottom:1px solid transparent;transition:border-color .2s,color .2s}
.fn-ex__s a:hover{border-bottom-color:currentColor}
.fn-ex__s a.fn-ex__all{color:var(--accent);font-weight:500}
@media(max-width:720px){.fn-ex__c a{height:46px;padding:0 16px;font-size:14.5px}}

/* 12.11: зелёная точка «на связи» не обрезается у аватарок: контейнер без overflow:hidden, круг делает само фото */
.manager__ph{overflow:visible!important;isolation:isolate}
.manager__ph>img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.manager__ph>svg{clip-path:ellipse(50% 50% at 50% 50%)}
.manager__ph::after{z-index:2}
.ctc__av{overflow:visible!important}
.ctc__av>img{border-radius:50%}
.ctc__on{z-index:2}

/* 12. Карточки кейсов: листаем фото (слой поверх фото, final-polish.js). */
.kl-card[data-ph="1"]{position:relative}
.kl-card .kl-card__photo img{transition:opacity .18s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
.kl-ph{position:absolute;z-index:3;pointer-events:none;border-radius:16px}
.kl-ph__hit{position:absolute;inset:0;pointer-events:auto;cursor:pointer;touch-action:pan-y;border-radius:inherit}
.kl-ph__b{position:absolute;top:50%;z-index:1;display:grid;place-items:center;width:34px;height:34px;margin-top:-17px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:#111;box-shadow:0 6px 16px -6px rgba(0,0,0,.45);cursor:pointer;pointer-events:auto;opacity:0;transform:scale(.9);transition:opacity .2s,transform .2s}
.kl-ph__b svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.kl-ph__b--p{left:10px}.kl-ph__b--n{right:10px}
.kl-card.kl-ph-hover .kl-ph__b,.kl-ph__b:focus-visible{opacity:1;transform:none}
.kl-ph__b:hover{background:#fff}
.kl-ph__b:focus-visible{outline:2px solid #fff;outline-offset:2px}
.kl-ph__dots{position:absolute;left:50%;bottom:10px;display:flex;gap:4px;padding:5px 7px;border-radius:99px;background:rgba(0,0,0,.35);transform:translateX(-50%);backdrop-filter:blur(4px)}
.kl-ph__dots i{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.5);transition:width .2s,background .2s}
.kl-ph__dots i.on{width:14px;border-radius:3px;background:#fff}
.kl-ph__n{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media(hover:none){.kl-ph__b{opacity:.92;transform:none;width:30px;height:30px;margin-top:-15px}}

/* 13. Якоря не прячут заголовок под закреплённой шапкой (шапка 84 px на ПК, 68 px на телефоне). */
html{scroll-padding-top:100px}
@media(max-width:720px){html{scroll-padding-top:84px}}

/* 14. Длинные слова в заголовках не выходят за экран на телефоне (например, «конфиденциальности»). */
@media(max-width:480px){h1,.h2,h2{overflow-wrap:normal;hyphens:none;-webkit-hyphens:none}.pg-h1{font-size:clamp(30px,9.4vw,44px)}}

/* 15. Теги в карточках кейсов видны целиком: перенос до двух строк вместо обрезки многоточием. */
.kl-card .fc-tile__tags,#cs .kl-card .fc-tile__tags{display:flex!important;flex:none;flex-wrap:wrap!important;align-content:flex-start;gap:5px;height:auto!important;min-height:0;max-height:53px!important;margin:10px 0 0;overflow:hidden}
.kl-card .fc-tile__tags i{max-width:100%;overflow:visible;text-overflow:clip;white-space:nowrap;font-size:11px;line-height:1.2;padding:5px 8px}
@media(max-width:420px){.kl-card .fc-tile__tags i{font-size:10.5px;padding:5px 7px}}
/* строка тегов в сетке карточки растёт под две строки; фото сохраняет прежний размер, карточка подрастает */
.kl-card.fc-tile>button{grid-template-rows:82px 64px 30px auto auto!important}
.kl-card[data-result-version]>button{grid-template-rows:82px 64px 52px auto auto!important}
@media(max-width:720px){.kl-card.fc-tile>button{grid-template-rows:80px 60px 30px auto auto!important}.kl-card[data-result-version]>button{grid-template-rows:80px 60px 52px auto auto!important}}
.kl-card.fc-tile,.kl-catalog .kl-card.fc-tile{height:auto!important}
@media(max-width:360px){.kl-card .fc-tile__tags,#cs .kl-card .fc-tile__tags{max-height:none!important}.kl-card .fc-tile__tags i{white-space:normal}}
/* теги никогда не режутся: без потолка по высоте и без обрезки, кнопка-карточка растёт под содержимое (на любом размере шрифта) */
.kl-card .fc-tile__tags,#cs .kl-card .fc-tile__tags{max-height:none!important;overflow:visible!important}
.kl-card.fc-tile>button,.kl-card>button{height:auto!important;min-height:100%;overflow:visible}
.kl-card .fc-tile__tags i{line-height:1.25;padding:5px 8px 6px}
/* плавная смена фото в карточке кейса: новое проявляется поверх старого, без вспышки подложки */
.kl-card .kl-card__photo img.kl-ph__nx{z-index:1;transition:opacity .32s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
.kl-card .kl-card__photo img:not(.kl-ph__nx){transition:transform .65s cubic-bezier(.2,.7,.2,1)!important;opacity:1!important}
.kl-card .kl-card__photo .kl-photo-fallback{z-index:0}
/* Тест-драйв и другие карточки старта: кнопка никогда не выходит за карточку */
.fn-st__c{min-width:0}.fn-st__c .btn{box-sizing:border-box;max-width:100%;min-width:0;white-space:normal;line-height:1.15;text-align:left}
/* Аватар Натальи вместо букв и силуэтов */
.cw__av>img,.b12e__av>img,.b14o__av>img,.b5f__ph>img,.vc-av>img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.cw__av--on,.b12e__av,.b14o__av,.b5f__ph,.vc-av{overflow:visible}
.b14o__av>img,.b5f__ph>img,.vc-av>img{position:relative}
.b14o__av i{z-index:2}
.tk__ava>img,.tk__mava>img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.tk__ava{overflow:visible}

/* Портреты участников демонстрационного созвона; размеры кружков сохранены. */
.c9-ev__av i>img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
.lead-err{margin:12px 0 0;padding:12px 16px;border-radius:14px;background:#fdeceA;color:#a42a1b;font-size:14px;line-height:1.4}

/* Единицы после крупных цифр («1 день», «мин», «₽/мес»): плотный трекинг, как у цифры, а не сброс в 0 */
.hs__i .stat__num sup,.stat__num sup,.fs .stat__num sup,.fh .stat__num sup{letter-spacing:-.04em}
.g1t-pr>b small,.g4v-pr>b small,.k4z-r b small,.xb-mt__n small,.xb-res b small,.xb-doc__n small,.xc-r__n small,.eda-addon-price small{letter-spacing:-.03em}

/* 16. Квиз «Живой разговор»: «Всё сразу» — явная кнопка-рекомендация, а не светлая плашка. */
.talk-home .tk__qr button.is-featured.is-featured{display:flex;align-items:center;gap:16px;flex:1 1 100%;min-height:72px;padding:12px 14px 12px 12px;border:0;border-radius:20px;background:#1d1416;color:#fff;text-align:left;box-shadow:0 14px 30px -16px rgba(20,8,6,.7);transition:transform .2s,box-shadow .2s,background .2s}
.talk-home .tk__qr button.is-featured.is-featured:hover{background:#26191b;transform:translateY(-1px);box-shadow:0 18px 34px -16px rgba(20,8,6,.8)}
.talk-home .tk__qr button.is-featured.is-featured:focus-visible{outline:2px solid #fff;outline-offset:3px}
.tk__all-ic{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(135deg,#e2412e,#ff7a4d)}
.tk__all-ic svg{width:22px;height:22px;fill:#fff}
.tk__all-t{flex:1;min-width:0;display:grid;gap:3px}
.tk__all-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:17px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.tk__all-h em{font-style:normal;display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:99px;background:rgba(255,255,255,.12);font-size:12px;font-weight:500;letter-spacing:0;color:#ffb39f}
.talk-home .tk__qr button.is-featured.is-featured small{display:block;margin:0;font-size:13.5px;line-height:1.35;font-weight:400;color:rgba(255,255,255,.7);opacity:1}
.tk__all-go{flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:#fff;color:#1d1416;transition:transform .2s}
.tk__all-go svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.talk-home .tk__qr button.is-featured.is-featured:hover .tk__all-go{transform:translateX(3px)}
@media(max-width:720px){.talk-home .tk__qr button.is-featured.is-featured{grid-column:1/-1;gap:12px;min-height:64px;padding:10px 10px 10px 10px}.tk__all-ic{width:40px;height:40px;border-radius:12px}.tk__all-h{font-size:16px}.talk-home .tk__qr button.is-featured.is-featured small{font-size:12.5px}.tk__all-go{width:34px;height:34px}}

/* Whole words on every viewport; line wrapping remains between words. */
html body,html body *{-webkit-hyphens:none!important;hyphens:none!important;word-break:normal!important;overflow-wrap:normal!important}


/* The desktop tab rail stays steady as the selected stage changes. */
.service-depth .sd-process .sd-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.service-depth .sd-process .sd-panel {
  grid-area: 1 / 1;
  min-height: 0;
}
.service-depth .sd-process .sd-panel[hidden] {
  display: block !important;
  visibility: hidden;
}
.service-depth .sd-process .sd-panel dl > div:last-child {
  padding-bottom: 0;
}

@media (max-width: 760px) {
  .service-depth .sd-process .sd-panel[hidden] {
    display: none !important;
  }
  .service-depth .sd-process .sd-panel > h3 {
    margin-block: 14px 16px;
  }
  .service-depth .sd-process .sd-panel > p {
    margin-bottom: 18px;
  }
  /* Size the metric and its logo to the actual slide, including at 320 px. */
  :is(.page-2gis, .yandex-refined:not(.coffee-refit)) #cs .kl-card[data-result-wide="true"] {
    container-type: inline-size;
  }
  :is(.page-2gis, .yandex-refined:not(.coffee-refit)) #cs .kl-card[data-result-wide="true"] > button {
    grid-template-columns: minmax(0, 1fr);
  }
  :is(.page-2gis, .yandex-refined:not(.coffee-refit)) #cs .kl-card[data-result-wide="true"] .fc-tile__m {
    font-size: clamp(28px, 12.2cqi, 42px);
  }
  :is(.page-2gis, .yandex-refined:not(.coffee-refit)) #cs .kl-card[data-result-wide="true"] .kl-card__avatar {
    max-width: 22cqi;
  }
}

@media (max-width: 374px) {
  .industry-batch .ab-offer:first-child > .btn,
  .page-2gis :is(#cs .fc-foot, #b6 .s11-r, #prices .pc-f, #start .offer--main, #g49 .gz-go) > button.btn,
  .yandex-refined:not(.coffee-refit) :is(#cs .fc-foot, #b4 .kh2, #system .tc-go) > button.btn {
    gap: 8px;
    height: auto;
    min-height: 52px;
    padding: 8px 14px;
    white-space: normal;
    line-height: 1.25;
  }
  .page-media .tour-directory-card .tour-link-list {
    grid-template-columns: minmax(0, 1fr);
  }
}
