/* VSUALWEB brand overlay — balanced dual accent (lime CTAs, violet tags).
   Prefer shared tokens from tokens.css when BaseLayout loads them first. */
:root {
  --ab-primary: var(--brand-lime, #ccff00) !important; /* lime — CTAs / primary actions */
  --ab-violet: var(--brand-violet, #c85aff);
  --ab-bg: var(--paper, #090808) !important; /* restored preferred ground */
  --ab-bg-2: var(--paper, #090808) !important;
  --ab-white: var(--ink, #f5f5f7) !important;
  --ab-text: var(--ink-soft, #a8a8b3) !important;
  --ab-border: var(--border, rgb(168 168 179 / 0.16)) !important;
  --ab-border2: rgb(168 168 179 / 0.24) !important;
}

html,
body {
  background-color: var(--ab-bg) !important;
  color: var(--ab-text);
  -webkit-font-smoothing: antialiased;
}

.ab-bg,
.ab-bg-dark,
.ab-header,
.footer-area,
.ab-footer,
.ab-about-area,
.ab-service-area,
.ab-service-are,
.ab-project-area,
.ab-testimonial-area,
.ab-testi-area,
.ab-blog-area,
.ab-workflow-are,
.client_logo,
.funfact-area,
section.ab-bg,
section.ab-bg-dark {
  background-color: var(--ab-bg) !important;
}

/* Let the skills intro sit on the section background image */
.ab-skill-area {
  background: transparent !important;
  background-color: transparent !important;
}

.ag-hero {
  background: var(--ab-bg, #090808) !important;
}

/* Header primary nav stays on one line */
.vw-home .ab-header .header-menu-wrapper,
.vw-home .ab-header .main-menu,
.vw-home .ab-header .main-menu nav {
  min-width: 0;
  flex-wrap: nowrap !important;
}

.vw-home .ab-header .main-menu ul {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0.15rem 0.9rem;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.vw-home .ab-header .main-menu ul li {
  flex: 0 0 auto;
  float: none !important;
  white-space: nowrap;
}

.vw-home .ab-header .main-menu ul li a {
  white-space: nowrap;
  font-size: clamp(0.72rem, 0.95vw, 0.9rem);
  letter-spacing: 0.04em;
}

/* Brand lockup — wordmark only, no mark icon */
.vw-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  text-decoration: none !important;
}
.vw-brand__mark {
  display: none !important;
}
.vw-brand__name {
  font-family: var(--Teko), var(--Kanit), system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.85rem, 2.1vw, 2.35rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--ab-white) !important;
  white-space: nowrap;
}
.mobile-offcanvas-logo.vw-brand .vw-brand__name {
  font-size: 2.1rem;
}
.ab-footer-midle-logo .vw-brand__name,
.ab-footer-midle .vw-brand__name {
  font-size: clamp(2rem, 2.4vw, 2.6rem);
}

.ab-footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 1.1rem;
  font-size: 0.875rem;
  line-height: 1.4;
}
.ab-footer-legal a {
  color: color-mix(in oklab, var(--ab-white) 62%, transparent);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.ab-footer-legal a:hover {
  color: var(--ab-primary);
}

/*
  Tags: violet text + violet line/border (not lime).
  Lime stays on solid primary CTAs.
*/
.fs-20-pri,
h3.fs-20-pri,
.ab-section-subtitle,
.ab-section-subtitle-three,
.ab-section-subtitle span,
.ab-section-subtitle-home3,
.ab-section-subtitle-home3 span,
.ab-about-three-title span {
  color: var(--ab-violet) !important;
}
.ab-section-subtitle::before,
.ab-section-subtitle::after {
  background-color: var(--ab-violet) !important;
}
.ab-section-subtitle-home3 {
  border-color: var(--ab-violet) !important;
  /* Template used margin-top:-15px which clips the pill under overflow:hidden parents */
  margin-top: 0 !important;
  flex-shrink: 0;
  overflow: visible;
}
.ab-testi-area .ab-project-three-wrapper.overflow-hidden {
  /* Bootstrap .overflow-hidden uses !important and was clipping the REVIEW pill */
  overflow: visible !important;
}
.ab-testi-area .ab-section-wrapper {
  overflow: visible;
  align-items: flex-start !important;
  padding-top: 0.25rem;
}

/*
 * Home3 project cards (Swiper effect: cards) — template clipped the stacked peeks
 * below 1400px via overflow:hidden, so the deck looked like a single static image.
 */
/* Project section header: tag above title, centered stack */
.ab-project-area-home3 .ab-project-heading {
  max-width: 42rem;
  margin-inline: auto;
  gap: 1rem !important;
  position: relative;
  z-index: 1;
  padding-top: 0.75rem;
}
.ab-project-area-home3 .ab-project-heading__desc {
  max-width: 34rem;
  margin-inline: auto;
  color: color-mix(in oklab, var(--ab-white) 72%, transparent);
  font-size: 1rem;
  line-height: 1.55;
}

/* Different path from skills L, same lime line language as other Ravox shapes */
.ab-project-area-home3 .ab-project-connector {
  position: absolute;
  top: 0.25rem;
  left: 50%;
  width: min(820px, 88%);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  /* Keep the stepped stroke in the top padding band, clear of the PROJECT tag */
  max-height: 5.5rem;
  overflow: hidden;
}
.ab-project-area-home3 .ab-project-connector__img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -1.25rem;
  opacity: 0.95;
}

.ab-project-area-home3 .ab-project-three-wrapper.overflow-hidden {
  overflow: visible !important;
}
.ab-project-area-home3 .ab-project-three-thumb {
  overflow: visible !important;
  padding-right: clamp(1.5rem, 4vw, 3.5rem);
}
.ab-project-area-home3 .ab-project-home3 {
  cursor: grab;
  overflow: visible !important;
}
.ab-project-area-home3 .ab-project-home3:active {
  cursor: grabbing;
}
.ab-project-area-home3 .ab-project-home3 .swiper-slide {
  border-radius: 16px;
}
.ab-project-area-home3 .ab-project-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0;
  margin-top: 0.75rem;
  vertical-align: middle;
}
.ab-project-area-home3 .ab-project-nav__btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--ab-white) 22%, transparent);
  background: transparent;
  color: var(--ab-white);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.ab-project-area-home3 .ab-project-nav__btn:hover {
  border-color: var(--ab-primary);
  background: var(--ab-primary);
  color: #090808;
}
.ab-project-area-home3 .ab-project-three-slider-Btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.ab-section-subtitle-three svg path,
.ab-section-subtitle-three i {
  color: var(--ab-violet) !important;
  fill: var(--ab-violet) !important;
}

.main-menu ul li a:hover,
.ab-menu-active > ul > li > a:hover,
.ab-footer-midle-menu a:hover {
  color: var(--ab-violet) !important;
}

.primary-btn-one,
.primary-btn-one:visited {
  background-color: var(--ab-primary) !important;
  border-color: var(--ab-primary) !important;
  color: #090808 !important;
}
.primary-btn-one:hover {
  color: var(--ab-white) !important;
}

/* Header CTA: keep label + arrow on one line */
.ab-header .btn-wrapper {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none;
}
.ab-header .btn-wrapper .primary-btn-one {
  white-space: nowrap;
  flex-wrap: nowrap;
  width: max-content;
  max-width: none;
  padding-inline: 28px;
}

.ab-footer-newsletter-title-3 {
  color: transparent !important;
  background-image: linear-gradient(
    105deg,
    #f5f5f7 0%,
    #f5f5f7 42%,
    #c85aff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ab-section-title,
.ab-about-three-title,
h1, h2, h3, h4, h5, h6 {
  color: var(--ab-white);
}
h3.fs-20-pri,
.fs-20-pri {
  color: var(--ab-violet) !important;
}

/* Proof section: outcomes + process (replaces fake testimonials) */
.vw-proof-area .client_logo-shape {
  display: none;
}
.vw-proof-lead {
  max-width: 42rem;
  color: var(--ab-text);
  line-height: 1.65;
}
.vw-proof-stat {
  padding-top: 0.35rem;
  border-top: 1px solid color-mix(in oklab, var(--ab-primary) 45%, transparent);
}
.vw-proof-stat__value {
  margin: 0.85rem 0 0.45rem;
  font-family: var(--Teko), var(--Kanit), system-ui, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--ab-white);
}
.vw-proof-stat__label {
  margin: 0;
  max-width: 16rem;
  color: var(--ab-text);
  font-size: 0.95rem;
  line-height: 1.55;
}
.vw-proof-point {
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in oklab, var(--ab-violet) 40%, transparent);
}
.vw-proof-point__title {
  margin: 0 0 0.45rem;
  font-family: var(--Teko), var(--Kanit), system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ab-white);
}
.vw-proof-point__text {
  margin: 0;
  color: var(--ab-text);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 22rem;
}
@media (max-width: 767px) {
  .vw-proof-outcomes,
  .vw-proof-process {
    row-gap: 1.75rem;
  }
}

/* Hide projects until ready */
.vw-section-hidden,
section.vw-section-hidden[hidden] {
  display: none !important;
}

/*
  Atmosphere only under the hero (from about through footer).
  Sparse drifting orbs — not a stuffed static wallpaper.
*/
.vw-home {
  background-color: #090808 !important;
}

.vw-home-body {
  position: relative;
  isolation: isolate;
  background-color: #090808;
  /* Kill subpixel seam against solid hero */
  margin-top: -1px;
  padding-top: 1px;
}

/* Atmosphere orbs/field: shared module src/styles/atmosphere.css (via global.css).
   Home keeps fuller orb count/opacity; interiors use .vw-page-atmosphere--interior. */

.vw-home-body > *:not(.vw-page-atmosphere) {
  position: relative;
  z-index: 1;
}

/* Content plates stay clear so one continuous field shows through */
.vw-home-body .vw-surface,
.vw-home-body .ab-about-area,
.vw-home-body .ab-service-are,
.vw-home-body .ab-blog-area,
.vw-home-body .ab-workflow-are,
.vw-home-body .ab-footer,
.vw-home-body .ab-faq-are,
.vw-home-body .ab-bg,
.vw-home-body .ab-bg-dark {
  background-image: none !important;
  background-color: transparent !important;
}

.vw-surface--about,
.vw-surface--issues,
.vw-surface--process,
.vw-surface--blog,
.vw-surface--footer {
  background: transparent !important;
}

.vw-home-body .ab-workflow-are {
  overflow: visible !important;
}

/* Header + hero stay solid black - no atmosphere bleed */
.vw-home .ab-header {
  background-color: #090808 !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* No decorative PNGs — color only */
.vw-home-body .ab-workflow-shape,
.vw-home-body .ab-faq-shape,
.vw-home-body .ab-service-shape-three,
.vw-home-body .ab-project-connector,
.vw-home-body img[src*="/img/shape/"],
.vw-home-body img[src*="/Overlay"] {
  display: none !important;
}

.vw-home-body .ab-workflow-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}

.vw-home-body .ab-workflow-thumb img {
  display: block !important;
  width: auto;
  max-width: 140px;
  height: auto;
}

/* Services list — equal rows, always-visible copy (no broken accordion) */
.vw-services-block {
  background: transparent !important;
  border-top: 1px solid color-mix(in oklab, var(--ab-white) 8%, transparent);
  padding-top: 0.5rem;
}

.vw-services-block .ab-faq-shape {
  display: none;
}

.vw-service-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vw-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.1rem 1.25rem;
  background: color-mix(in oklab, var(--ab-white) 3.5%, transparent);
  border: 1px solid color-mix(in oklab, var(--ab-white) 9%, transparent);
  border-radius: 16px;
  min-width: 0;
}

.vw-service-row__title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  line-height: 1.2;
  color: var(--ab-white);
  font-weight: 600;
  text-transform: none;
}

.vw-service-row__num {
  color: var(--ab-violet);
  margin-right: 0.45rem;
  font-variant-numeric: tabular-nums;
}

.vw-service-row__copy {
  margin: 0;
  color: var(--ab-text);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 36ch;
}

.vw-service-row__link {
  flex-shrink: 0;
  align-self: center;
  color: var(--ab-primary) !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-size: 0.8rem;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in oklab, var(--ab-primary) 45%, transparent);
  padding-bottom: 0.1rem;
}

.vw-service-row__link:hover,
.vw-service-row__link:focus-visible {
  color: var(--ab-white) !important;
  border-bottom-color: var(--ab-white);
}

@media (max-width: 575.98px) {
  .vw-service-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .vw-service-row__link {
    align-self: start;
  }
}

/* Issue cards: title → copy → CTA; icon as small mark, not center hero */
.vw-surface--issues .ab-service .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
}

.vw-surface--issues .ab-service__item__three {
  background: color-mix(in oklab, var(--ab-white) 3.5%, transparent) !important;
  border: 1px solid color-mix(in oklab, var(--ab-white) 9%, transparent);
  border-radius: 18px;
  height: 100%;
  padding: 1.35rem 1.25rem 1.4rem !important;
  text-align: left !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.vw-surface--issues .ab-service__content__three {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  height: 100%;
  text-align: left !important;
}

.vw-surface--issues .ab-service__content__three h4,
.vw-surface--issues .ab-service__content__three h4 a {
  margin: 0;
  color: var(--ab-white) !important;
  font-size: 1.05rem !important;
  line-height: 1.25;
  text-align: left;
}

.vw-surface--issues .ab-service-icon-three {
  order: -1;
  width: 2.5rem !important;
  height: 2.5rem !important;
  margin: 0 0 0.15rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: color-mix(in oklab, var(--ab-primary) 14%, transparent);
  overflow: hidden;
}

.vw-surface--issues .ab-service-icon-three img {
  width: 1.35rem !important;
  height: 1.35rem !important;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(88%) sepia(61%) saturate(1028%) hue-rotate(16deg) brightness(104%) contrast(104%);
}

.vw-surface--issues .ab-service__content__three p {
  margin: 0;
  flex: 1 1 auto;
  color: var(--ab-text);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: left;
}

.vw-surface--issues .ab-service-btn-three {
  margin-top: auto !important;
  display: block;
  width: 100%;
}

.vw-surface--issues .ab-service-btn-three .primary-btn-one {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  padding-inline: 1.15rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* Skills fall onto a floor line (Ravox home-3 feel, no frame) */
.vw-skill-stage {
  position: relative;
  width: 100%;
  max-width: 36rem;
  margin-top: 1.5rem;
  min-height: 11.5rem;
  overflow: visible;
}

.vw-skill-scatter {
  position: relative;
  height: 10.5rem;
  width: 100%;
}

.vw-skill-line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in oklab, var(--ab-primary) 75%, transparent) 18%,
    var(--ab-primary) 50%,
    color-mix(in oklab, var(--ab-violet) 80%, transparent) 82%,
    transparent 100%
  );
  box-shadow:
    0 0 16px color-mix(in oklab, var(--ab-primary) 45%, transparent),
    0 6px 18px color-mix(in oklab, var(--ab-violet) 22%, transparent);
}

.vw-skill-line::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 10px;
  transform: translateY(-40%);
  border-radius: 999px;
  background: color-mix(in oklab, var(--ab-primary) 28%, transparent);
  filter: blur(8px);
  opacity: 0.8;
  pointer-events: none;
}

.vw-skill-slot {
  position: absolute;
  left: var(--tx, 8%);
  bottom: calc(0.35rem + var(--lift, 0.2rem));
  z-index: 2;
  opacity: 0;
  transform: translate3d(0, var(--from, -8rem), 0) rotate(calc(var(--rot, 0deg) - 12deg)) scale(0.94);
  transition:
    transform 0.95s cubic-bezier(0.16, 1.05, 0.3, 1),
    opacity 0.45s ease;
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity;
}

.vw-skill-stage.is-dropped .vw-skill-slot {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)) scale(1);
}

.vw-skill-btn.ab-skill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid color-mix(in oklab, var(--ab-white) 12%, transparent);
  background: color-mix(in oklab, #0c0c0b 92%, var(--ab-white));
  color: var(--ab-white);
  font-size: clamp(0.85rem, 1.35vw, 1.05rem);
  line-height: 1;
  padding: 0.55rem 1.05rem;
  pointer-events: none;
  cursor: default;
  box-shadow: 0 10px 24px color-mix(in oklab, #000 40%, transparent);
}

.vw-skill-btn.ab-skill-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
}

.vw-skill-btn--accent.ab-skill-btn {
  background: var(--ab-primary);
  color: #090808;
  border-color: var(--ab-primary);
}

@media (max-width: 991.98px) {
  .vw-skill-stage {
    max-width: 100%;
    min-height: 10rem;
  }

  .vw-skill-scatter {
    height: 9.25rem;
  }

  .vw-skill-btn.ab-skill-btn {
    font-size: 0.82rem;
    padding: 0.45rem 0.8rem;
  }
}

@media (max-width: 575.98px) {
  .vw-skill-scatter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    height: auto;
    padding-bottom: 1rem;
  }

  .vw-skill-slot {
    position: static;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .vw-skill-line {
    position: relative;
    margin-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vw-skill-slot {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(var(--rot, 0deg)) scale(1);
    transition: none;
  }
}
