/* Revision 3: exact donor header identity. Earlier revisions remain unchanged. */
.header .ask-ai {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  height: 40px !important;
  margin: 0 !important;
  gap: 10px !important;
  overflow: visible !important;
  background: none !important;
  color: #fff !important;
  font-size: inherit !important;
  text-decoration: none !important;
}

.header .ask-ai::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  background: url("/neiroset/assets/images/donor-header-mark.svg") center / contain no-repeat;
}

/* responsive-header.css used to append a second mobile wordmark ("Нейро").
   The real donor wordmark is now present, so the legacy duplicate must stay off. */
.header .ask-ai::after {
  content: none !important;
  display: none !important;
}

.header .ask-ai > .text::after {
  content: none !important;
  display: none !important;
}

.header .ask-ai > .logo {
  display: none !important;
}

.header .ask-ai > .text {
  display: block !important;
  color: #fff !important;
  font-family: "Myriad Pro", Montserrat, Arial, sans-serif;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap;
}

/* Keep the fixed header visually separate from every dark or illustrated
   section while preserving the donor's compact glass panel. */
.header-body {
  position: relative;
  isolation: isolate;
  background: rgba(11, 11, 14, .96) !important;
  border-color: rgba(255, 255, 255, .18) !important;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, .58),
    0 0 0 1px rgba(121, 92, 255, .08) !important;
  backdrop-filter: blur(24px) saturate(125%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(125%) !important;
}

.header.moved .header-body {
  background: rgba(9, 9, 12, .98) !important;
}

/* Keep the visible hero position while moving the section box below the fixed header. */
.presentation-hero-section {
  margin-top: 88px !important;
  padding-top: 0 !important;
}

.faq-item-titles {
  justify-content: flex-start !important;
}

.faq-item-number {
  flex: 0 0 28px;
}

.faq-item-title {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left !important;
}

.faq-icon-mobile {
  flex: 0 0 40px;
  margin-left: auto;
}

.effective-solution-titles {
  width: 100%;
  align-items: flex-start !important;
  text-align: left !important;
}

.effective-solution-titles .effective-bottom-title {
  width: 100%;
  max-width: none !important;
  text-align: left !important;
}

.presentation-big-item,
.presentation-another-item,
.presentation-small-item {
  padding-right: 76px !important;
}

.presentation-solution-item .presentation-item-icon {
  position: absolute !important;
  inset: 16px 16px auto auto !important;
  margin: 0 !important;
  transform: none !important;
}

.advantages-titles {
  width: min(100%, 560px);
  padding: 16px 18px !important;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: rgba(10, 10, 14, .78);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.advantages-titles .top-title,
.advantages-titles .bottom-title {
  text-align: left !important;
}

.reviews-body {
  display: flex;
  flex-direction: column;
}

.reviews-block-titles {
  order: 1;
}

.reviews-swiper {
  order: 2;
}

.reviews-slider-arrows {
  order: 3;
  margin: 16px auto 0 !important;
  min-height: 53px;
  align-items: center;
}

#reviews,
.reviews-body {
  scroll-margin-top: 96px;
}

.reviews-slider-prev,
.reviews-slider-next {
  top: auto !important;
  margin: 0 !important;
}

/* Increase the real clickable area without increasing the visible 36–40px buttons. */
.header .btn-login,
.header .btn-register,
.hero-ai-btn,
.btn-gradient,
.footer-brand .btn-white {
  position: relative;
  isolation: isolate;
  height: 44px !important;
  min-height: 44px !important;
  padding-block: 2px !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

.header .btn-login::before,
.header .btn-register::before,
.hero-ai-btn::before,
.btn-gradient::before,
.footer-brand .btn-white::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px 0;
  width: auto;
  height: auto;
  border-radius: 11px;
  opacity: 1;
}

.header .btn-login::before,
.hero-ai-btn--secondary::before {
  border: 1px solid var(--rb-line);
  background: rgba(255, 255, 255, .055);
}

.header .btn-register::before,
.hero-ai-btn--primary::before,
.btn-gradient::before {
  background: var(--rb-gradient);
}

.footer-brand .btn-white::before {
  background: #fff;
}

.btn-gradient:hover::before,
.footer-brand .btn-white:hover::before {
  background: #fff;
}

.header .btn-login::after,
.header .btn-register::after,
.hero-ai-btn::after,
.btn-gradient::after,
.footer-brand .btn-white::after {
  display: none;
}

.footer-menu-list a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

/* The mobile screenshot showed footer copy competing with the decorative
   artwork. Keep the artwork, but place all content on a controlled scrim. */
.footer {
  isolation: isolate;
  background: #050506 !important;
  border-top: 1px solid rgba(255, 255, 255, .14) !important;
  box-shadow: inset 0 1px 0 rgba(121, 92, 255, .08);
}

.footer::after {
  content: none !important;
  display: none !important;
  background-image: none !important;
}

.footer::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 46% 22px at 50% 0, rgba(121, 92, 255, .2), transparent 78%);
}

.footer .container {
  z-index: 1;
}

.footer-brand p,
.footer-menu-list a {
  color: rgba(255, 255, 255, .74) !important;
}

.footer-clue,
.footer-clue span {
  color: rgba(255, 255, 255, .62) !important;
  opacity: 1 !important;
}

.footer-brand .btn-white {
  color: #17131d !important;
  font-weight: 700 !important;
}

/* One footer identity across the main page and autonomous landing pages. */
.footer-logo {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.footer-logo img {
  display: none !important;
}

.footer-logo::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  background: url("/neiroset/assets/images/donor-header-mark.svg") center / contain no-repeat;
}

.footer-logo::after {
  content: "PowerPoint Online";
  color: #fff;
  font-family: "Myriad Pro", Montserrat, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 560px) {

  #reviews,
  .reviews-body {
    scroll-margin-top: 80px;
  }

  .presentation-big-item,
  .presentation-another-item,
  .presentation-small-item {
    padding-right: 64px !important;
  }

  .presentation-solution-item .presentation-item-icon {
    inset: 16px 12px auto auto !important;
  }

  .advantages-titles {
    width: 100%;
    padding: 14px 16px !important;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 24px 16px !important;
  }

  .footer-logo {
    gap: 6px;
  }

  .footer-logo::before {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .footer-logo::after {
    font-size: 13px;
  }
}

@media (max-width: 340px) {
  .footer-logo::after {
    font-size: 12px;
  }
}

.reviews-img-item {
  position: relative;
  overflow: hidden;
}

.reviews-card-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Restore the donor review-card geometry. The previous broad child selector
   changed .reviews-sub-info from absolute to relative, so it entered the
   document flow and stretched/overlapped neighbouring slides. */
.reviews-swiper .swiper-slide {
  height: auto;
}

.reviews-texts-item,
.reviews-img-item {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 289px;
  height: 425px !important;
  min-height: 425px !important;
  padding: 33px 29px 29px !important;
  border: 0 !important;
  border-radius: 40px !important;
}

.reviews-texts-item {
  display: flex;
  flex-direction: column;
  background: #121212 !important;
}

.reviews-texts-item .reviews-author-info {
  margin-top: auto;
}

.reviews-img-item {
  background: #121212 !important;
}

.reviews-img-item .reviews-author-descr {
  position: relative;
  z-index: 2;
}

.reviews-img-item .reviews-sub-info {
  position: absolute;
  z-index: 3;
  top: 100%;
  left: 0;
  width: 101%;
  height: 101%;
  padding: 33px 29px 29px;
}

.reviews-img-item:hover .reviews-sub-info,
.reviews-img-item:focus-within .reviews-sub-info {
  top: 0;
}

@media (min-width: 561px) and (max-width: 1024px) {
  .presentation-advantages-section::after {
    width: 100% !important;
  }

  .reviews-body,
  .reviews-swiper,
  .reviews-swiper .swiper-slide {
    min-width: 0;
  }

  .reviews-swiper {
    margin-top: 12px;
  }

  .reviews-texts-item,
  .reviews-img-item {
    max-width: none;
    height: 380px !important;
    min-height: 380px !important;
    padding: 24px !important;
    border-radius: 28px !important;
  }

  .reviews-texts-item::before,
  .reviews-img-item::after,
  .reviews-img-item .reviews-sub-info,
  .reviews-img-item .reviews-sub-info::before {
    border-radius: 28px;
  }

  .reviews-img-item .reviews-sub-info {
    padding: 24px;
  }

  .reviews-info {
    margin-top: 16px;
  }

  .reviews-text {
    margin-top: 18px;
    line-height: 1.45 !important;
  }
}

@media (min-width: 561px) and (max-width: 900px) {
  .hero-ai-block {
    padding: 24px !important;
  }

  .hero-ai-content {
    gap: 10px !important;
  }

  .hero-ai-visual {
    align-self: center;
    width: min(100%, 580px) !important;
    margin-top: 8px !important;
  }
}

@media (max-width: 560px) {
  .reviews-texts-item,
  .reviews-img-item {
    max-width: none;
    height: 400px !important;
    min-height: 400px !important;
    padding: 24px 20px !important;
    border-radius: 28px !important;
  }

  .reviews-img-item .reviews-sub-info {
    padding: 24px 20px;
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .presentation-hero-section {
    margin-top: 68px !important;
  }

  .header-body {
    padding: 0 6px 0 10px !important;
  }

  .header .ask-ai {
    height: 30px !important;
    gap: 6px !important;
  }

  .header .ask-ai::before {
    flex-basis: 24px;
    width: 24px;
    height: 24px;
  }

  .header .ask-ai > .text {
    font-size: 13px !important;
  }

  .header .header-actions {
    gap: 4px !important;
  }

  .header .btn-login,
  .header .btn-register {
    padding-inline: 9px !important;
    font-size: 12px !important;
  }

  .header .btn-login {
    min-width: 44px !important;
  }
}

@media (max-width: 360px) {
  .header-body {
    padding-inline: 7px 5px !important;
  }

  .header .ask-ai {
    gap: 5px !important;
  }

  .header .ask-ai::before {
    flex-basis: 21px;
    width: 21px;
    height: 21px;
  }

  .header .ask-ai > .text {
    font-size: 11.5px !important;
  }

  .header .btn-login,
  .header .btn-register {
    padding-inline: 7px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 340px) {
  .header .ask-ai {
    gap: 4px !important;
  }

  .header .ask-ai::before {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .header .ask-ai > .text,
  .header .btn-login,
  .header .btn-register {
    font-size: 11px !important;
  }

  .header .btn-login,
  .header .btn-register {
    padding-inline: 6px !important;
  }
}
