/* Existing BotLabs containers only. No styles leak to other cases. */
.ai-sales-department { --fayni-blue:#1458c8; --fayni-blue-dark:#082654; --fayni-blue-light:#edf4ff; --fayni-ink:#252938; --fayni-milk:#fbfcff; --fayni-accent:#315ff4; --fayni-accent-soft:#315ff4; font-family:"Gilroy",Arial,sans-serif; }
.ai-sales-department .seo-page-title { max-width:1100px; }
.ai-sales-department #case-contact { scroll-margin-top:88px; }
.ai-sales-department .case-client-logo { display:block; width:clamp(150px,22vw,310px); height:auto; object-fit:contain; }
.ai-sales-department .astra-sub-header__result-container { left:7%; }
.ai-sales-department .astra-about__body { background-position:right bottom; background-size:100% auto; background-repeat:no-repeat; background-color:#fcfaf7; height:auto; min-height:660px; }
.ai-sales-department .astra-about__content { position:relative; width:49%; height:auto; min-height:660px; background:linear-gradient(90deg,#fcfaf7 82%,rgba(252,250,247,.92)); border-radius:12px 0 0 12px; }
.ai-sales-department .astra-about__content-container { padding:40px 36px; }
.ai-sales-department .astra-about__logo .case-client-logo { width:154px; filter:brightness(0); }
.ai-sales-department .astra-about__text { margin-top:26px; }
.ai-sales-department .astra-about__text p { color:#252938; font-size:19px; line-height:1.45; margin-bottom:18px; }
.ai-sales-department .astra-about__text a { color:#174baa; text-decoration:underline; text-underline-offset:3px; }
.ai-sales-department .astra-about__text .case-image-caption { font-size:12px; line-height:1.4; color:#626571; }
.ai-sales-department .astra-about__content-border { display:none; }
.ai-sales-department .astra-task__footer-text a { text-decoration:underline; text-underline-offset:4px; color:#174baa; }
.ai-sales-department .astra-task-solution__img { width:100%; position:static; }
.ai-sales-department .astra-task-solution__img img { display:block; position:static; width:100%; height:auto; object-fit:contain; }
.ai-sales-department .astra-task-solution__text { background:#eef4fd; color:#252938; padding:36px 40px; }
.ai-sales-department .astra-task-solution__text p { color:#252938; font-size:20px; line-height:1.6; }
.ai-sales-department .astra-task-general-link { max-width:100%; height:auto; min-height:64px; padding:16px 18px; }
.ai-sales-department .astra-task-general__sub-title h3 { font-family:inherit; font-size:20px; line-height:1.3; font-weight:600; }
.ai-sales-department .astra-task-general__link-text { white-space:normal; line-height:1.4; font-size:17px; margin-left:0; }
.ai-sales-department .astra-bot__items { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; padding:0 24px; }
.ai-sales-department .astra-bot__items .astra-bot__item { display:flex; flex-direction:column; width:auto; min-width:0; height:auto; min-height:0; background:#edf4ff; border-radius:16px; padding:32px; }
.ai-sales-department .astra-bot__items .astra-bot__text { position:static; inset:auto; width:auto; max-width:none; padding:0; margin:0; order:1; }
.ai-sales-department .astra-bot__text h3 { margin:0 0 16px; font-size:28px; line-height:1.15; font-weight:700; color:#252938; }
.ai-sales-department .astra-bot__items .astra-bot__text p { margin:0; font-size:18px; line-height:1.55; color:#252938; font-weight:500; }
.ai-sales-department .astra-bot__items .astra-bot__img { position:static; inset:auto; width:100%; height:300px; order:2; margin-top:24px; }
.ai-sales-department .astra-bot__items .astra-bot__img picture { display:block; width:100%; height:100%; }
.ai-sales-department .astra-bot__items .astra-bot__img img { display:block; position:static; width:100%; height:100%; max-width:100%; object-fit:contain; border-radius:12px; }
.ai-sales-department .astra-admin__sub-text h3 { margin:36px 0 16px; font-size:28px; line-height:1.2; font-weight:700; }
.ai-sales-department .astra-admin__sub-text p { margin:0 0 24px; line-height:1.65; }
.ai-sales-department .astra-admin__sub-text { margin-top:0; }
.ai-sales-department .astra-admin__container-text { margin-top:48px; }
.ai-sales-department .astra-admin__sub-text h3:first-child { margin-top:0; }
.ai-sales-department .astra-functionality__number p { color:#315ff4 !important; }
/* Reuse the four-card Astra related-case grid and existing hover overlay.
   Auto rows prevent the fourth card collapsing under the old three-area grid. */
.ai-sales-department .our-works.other-projects .info__items { grid-template-columns:repeat(4,minmax(0,1fr)); grid-template-areas:none; grid-template-rows:none; grid-auto-rows:minmax(360px,auto); }
.ai-sales-department .other-projects .info__item { grid-area:auto; min-width:0; background-size:cover; background-position:center; }
.ai-sales-department .other-projects .info__item > a { display:block; position:relative; height:100%; min-height:360px; }
.ai-sales-department .other-projects .clients-bot__img { display:block; object-fit:contain; max-height:100px; max-width:100%; width:100%; height:auto; }
.ai-sales-department .other-projects .info__item .info__content { left:24px!important; right:24px!important; bottom:26px!important; }
.ai-sales-department .other-projects .info__title { font-size:20px; line-height:1.2; }
.ai-sales-department .other-projects .info__text { font-size:16px; line-height:1.35; }
.ai-sales-department .other-projects .info__item:focus-within .info__clients-bot { display:flex; opacity:.94; top:0; }
.ai-sales-department .other-projects .info__item.fayni-lyody { background-image:url('/img/portfolio-photo-covers/fayni-lyody.webp'); }
.ai-sales-department .other-projects .info__item.w8shipping { background-image:url('/img/portfolio-photo-covers/w8shipping-support.webp'); }
.ai-sales-department .other-projects .info__item.KLEIBERIT { background-image:url('/img/portfolio-photo-covers/kleiberit.webp'); }
.ai-sales-department .other-projects .info__item.nfm-agro { background-image:url('/img/portfolio-photo-covers/nfm-agro-crm.webp'); }
.ai-sales-department .onvalid-input { justify-content:flex-start; min-height:22px; margin-top:8px; color:#a23b3b; font-size:14px; line-height:1.4; }
.ai-sales-department .form__status { min-height:24px; }
.ai-sales-department .file__name { min-width:0; }
.ai-sales-department .file__name-new-span { overflow-wrap:anywhere; }
.ai-sales-department .file__name-closed { display:inline-flex; flex:0 0 44px; width:44px; height:44px; align-items:center; justify-content:center; }
.ai-sales-department .file__name-closed::before,.ai-sales-department .file__name-closed::after { position:absolute; }
.ai-sales-department .button__input { min-height:52px; }
.ai-sales-department .form .input { font-size:16px; line-height:1.5; }
.ai-sales-department .form .input::placeholder { font-size:16px; line-height:1.5; }
.ai-sales-department .form .name__hide,.ai-sales-department .form .email__hide,.ai-sales-department .form .textarea__hide { font-size:14px; }
.ai-sales-department .button__input,.ai-sales-department .form__label { font-size:16px; }
.ai-sales-department .form__preview p { font-size:14px; line-height:1.4; }
.ai-sales-department .block-form__text,.ai-sales-department .block-form__text p { font-size:16px; line-height:1.5; }
.ai-sales-department :focus-visible { outline:3px solid #315ff4; outline-offset:5px; }
.ai-sales-department img { max-width:100%; }
@media (max-width:1199.98px) {
  .ai-sales-department .our-works.other-projects .info__items { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:1000px) and (min-width:768px) {
  .ai-sales-department .astra-about__content-container { padding:28px; }
  .ai-sales-department .astra-about__text p { font-size:17px; }
  .ai-sales-department .astra-bot__items { gap:20px; }
  .ai-sales-department .astra-bot__items .astra-bot__item { padding:24px; }
}
@media (min-width:768px) and (max-width:1023.98px) {
  .ai-sales-department .astra-about__body { min-height:0; background-size:auto 390px; }
  .ai-sales-department .astra-about__content { width:100%; min-height:0; padding-bottom:390px; background:none; }
}
@media (max-width:767.98px) {
  .ai-sales-department .astra-sub-header__result-container { top:23%; left:24px; }
  .ai-sales-department .case-client-logo { width:125px; }
  .ai-sales-department .astra-about__body { --case-about-photo-height:clamp(260px,92vw,350px); height:auto; min-height:0; background-position:right bottom; background-size:auto var(--case-about-photo-height); background-repeat:no-repeat; background-color:#fcfaf7; }
  .ai-sales-department .astra-about__content { position:relative; width:100%; height:auto; min-height:0; padding-bottom:var(--case-about-photo-height); background:none; }
  .ai-sales-department .astra-about__content-container { padding:32px 26px 24px; }
  .ai-sales-department .astra-about__text p { font-size:17px; }
  .ai-sales-department .astra-about__logo .case-client-logo { width:132px; }
  .ai-sales-department .astra-task-solution__text { padding:26px; }
  .ai-sales-department .astra-task-solution__text p { font-size:17px; line-height:1.55; }
  .ai-sales-department .astra-bot__items { grid-template-columns:1fr; padding:0; gap:20px; }
  .ai-sales-department .astra-bot__items .astra-bot__item { padding:26px; }
  .ai-sales-department .astra-bot__text h3 { font-size:26px; }
  .ai-sales-department .astra-bot__items .astra-bot__text p { font-size:17px; }
  .ai-sales-department .astra-bot__items .astra-bot__img { height:260px; }
  .ai-sales-department .astra-admin__sub-text h3 { font-size:25px; }
  .ai-sales-department .astra-task-general__link-text { font-size:16px; }
  .ai-sales-department .block-form__title h2 { font-size:32px; line-height:1.15; }
  .ai-sales-department .block-form__mobile .logotips__item { flex:0 0 150px; width:150px; box-sizing:border-box; }
  .ai-sales-department .block-form__mobile .logotips__item img { width:auto; max-width:110px; max-height:48px; height:auto; flex-shrink:0; }
  .ai-sales-department .our-works.other-projects .info__items { grid-template-columns:minmax(0,1fr); grid-auto-rows:minmax(336px,auto); }
  .ai-sales-department .other-projects .info__item > a { min-height:336px; }
}
/* The existing overlay is hidden by the global shell below 1100px. On touch,
   expose it rather than requiring an impossible hover to discover the logo. */
@media (hover:none), (max-width:1099.98px) {
  .ai-sales-department .other-projects .info__clients-bot { display:flex; top:0; opacity:.8; }
}
@media (prefers-reduced-motion:reduce) {
  .ai-sales-department *, .ai-sales-department *::before, .ai-sales-department *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}
