/* Static HTML additions: hero slides (no Swiper), testimonial (no Owl), reveal (no GSAP). */

.offer-hero__slides {
  height: 100%;
  position: relative;
  width: 100%;
}

/* Stack slides like a slider (Swiper not loaded). Override Swiper's relative positioning. */
.offer-hero .hero-slide.swiper-slide {
  height: 100%;
  left: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: 0;
  transition: opacity 0.75s ease;
  visibility: hidden;
  width: 100%;
  z-index: 0;
}

.offer-hero .hero-slide.swiper-slide.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 1;
}

.offer-hero__pagination button {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 0.78rem;
  height: 36px;
  justify-content: center;
  margin: 0 6px;
  padding: 0;
  width: 36px;
}

.offer-hero__pagination button.active {
  background: #ffffff;
  color: #111111;
}

#innovative-testimonial-quote .item {
  display: none;
}

#innovative-testimonial-quote .item.active {
  display: block;
}

#innovative-testimonial-quote .item.active .testimonial-line {
  opacity: 1;
  width: 140px;
}

#innovative-testimonial-quote .item.active .team-img {
  transform: scale(1);
}

.reveal-up,
.reveal-right,
.reveal-left {
  opacity: 0;
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.reveal-up {
  transform: translateY(48px);
}

.reveal-right {
  transform: translateX(48px);
}

.reveal-left {
  transform: translateX(-48px);
}

.reveal-up.is-visible,
.reveal-right.is-visible,
.reveal-left.is-visible {
  opacity: 1;
  transform: none;
}

/* Footer copyright / legal / social must not stay hidden if intersection never fires at page bottom. */
.innovative-footer .innovative-footer__meta.reveal-up {
  opacity: 1;
  transform: none;
}

.nav-link-uxm {
  font-family: var(--uxm-font-ui, 'Montserrat', sans-serif);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Closer to live site + reference: glass pill for section dots */
.section-dots {
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  background: rgba(28, 28, 32, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

/* Match React SectionDots: wide viewports only (component is not mounted below 992px). */
@media (max-width: 991px) {
  .section-dots {
    display: none !important;
  }
}

/* ========== Home page: tokens & imagery (keep markup free of inline styles) ========== */

#root > header.header-appear {
  --nav-accent: var(--uxm-brand, #e8195a);
}

body.nav-menu-is-open {
  overflow: hidden;
}

#close_side_menu.is-active {
  display: block;
}

.scroll-top-arrow.is-visible {
  display: block !important;
}

/* Selected projects - card art (gradient + image stack, paths vs css/) */
.works-card__image--nistravel,
.works-card__image--videonabliudenie,
.works-card__image--eco-herbalist {
  background-position: center;
  background-size: cover;
}

.works-card__image--nistravel {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.35) 100%), url('../img/works/nistravel/card.webp');
}

.works-card__image--videonabliudenie {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.35) 100%), url('../img/works/videonabliudenie-bg/hero-1.webp');
}

.works-card__image--eco-herbalist {
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 48%, rgba(0, 0, 0, 0.35) 100%), url('../img/works/eco-herbalist-ux/card.webp');
}

#about.about-studio-section.model-agency-parallax-bg {
  background-image: url('../img/about-studio-bg.webp');
  background-position: center top;
}

#feedback.feedback-section {
  background-image: url('../img/feedback/team-bg.webp');
}

#process.our-process-section.our-process-timeline-section {
  background-attachment: scroll;
  background-image: url('../img/single-portfolio2.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

#contact.innovative-contact-section.model-agency-parallax-bg {
  background-image: url('../img/contact-section-bg.webp');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Home only: same “Trusted by” strip as About (#root on index has no .about-page, so tokens from about-us are not in scope). */
#root:not(.about-page) .about-trusted {
  --ab-gold: #e8a832;
  background: linear-gradient(180deg, #0a0a0a 0%, #080808 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(32px, 5vh, 52px) clamp(20px, 4vw, 40px) clamp(18px, 3vh, 28px);
  position: relative;
  text-align: center;
  z-index: 1;
}

#root:not(.about-page) .about-trusted__sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#root:not(.about-page) .about-trusted__heading {
  color: var(--ab-gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.3;
  margin: 0 auto clamp(14px, 2.2vh, 22px);
  text-transform: uppercase;
}

#root:not(.about-page) .about-trusted__marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  margin: 0 auto;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  max-width: 100%;
  overflow: hidden;
}

#root:not(.about-page) .about-trusted__marquee-track {
  animation: about-trusted-marquee-home 65s linear infinite;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.8rem, 1.9vw, 0.95rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  width: max-content;
  will-change: transform;
}

#root:not(.about-page) .about-trusted__group {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  padding-right: clamp(1.5rem, 4vw, 2.75rem);
}

#root:not(.about-page) .about-trusted__client {
  flex-shrink: 0;
  white-space: nowrap;
}

#root:not(.about-page) .about-trusted__client + .about-trusted__client::before {
  color: rgba(255, 255, 255, 0.28);
  content: '·';
  display: inline-block;
  font-weight: 300;
  margin: 0 clamp(0.85rem, 2.4vw, 1.5rem);
}

@keyframes about-trusted-marquee-home {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  #root:not(.about-page) .about-trusted__marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.5rem;
    width: 100%;
  }

  #root:not(.about-page) .about-trusted__group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
  }

  #root:not(.about-page) .about-trusted__group--duplicate {
    display: none;
  }
}

.uxm-cookie-banner {
  align-items: flex-start;
  backdrop-filter: blur(10px);
  background: rgba(15, 16, 20, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  bottom: 20px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42);
  color: #f5f6fb;
  display: flex;
  gap: 14px;
  left: 50%;
  max-width: min(760px, calc(100vw - 28px));
  padding: 16px 18px;
  position: fixed;
  transform: translateX(-50%);
  width: 100%;
  z-index: 3000;
}

.uxm-cookie-banner__text {
  font-size: 0.93rem;
  line-height: 1.45;
  margin: 0;
}

.uxm-cookie-banner__text a {
  color: #f2b648;
  text-decoration: underline;
}

.uxm-cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.uxm-cookie-banner__btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  min-width: 92px;
  padding: 10px 14px;
  text-transform: uppercase;
}

.uxm-cookie-banner__btn--accept {
  background: #e8195a;
}

.uxm-cookie-banner__btn--reject {
  background: transparent;
}

@media (max-width: 760px) {
  .uxm-cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
  }

  .uxm-cookie-banner__actions {
    justify-content: stretch;
  }

  .uxm-cookie-banner__btn {
    width: 50%;
  }
}
