/* ==========================================================================
   AlphaReaction — Home Page Components
   Media: assets/images/home/
   ========================================================================== */

/* ---- Trusted Brands Strip ---- */

.home-trusted-brands {
  --tb-bg: var(--theme-surface, var(--cp-navy, #050510));
  --tb-strip-bg: color-mix(in srgb, var(--theme-surface, #050510) 92%, transparent);
  --tb-label: color-mix(in srgb, var(--theme-on-dark, #ffffff) 62%, transparent);
  --tb-marquee-dur: 38s;
  position: relative;
  z-index: 2;
  padding: 8px 0 52px;
  background: var(--tb-bg);
  overflow: hidden;
}

.home-trusted-brands .container {
  position: relative;
  z-index: 1;
}

.home-trusted-brands__strip {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  min-height: 72px;
  padding: 16px clamp(16px, 2.5vw, 28px);
  border-radius: 12px;
  background: transparent;
  box-shadow:
    0 10px 36px rgba(0, 0, 0, 0.38),
    0 0 48px color-mix(in srgb, var(--theme-violet, #7000ff) 7%, transparent);
  overflow: hidden;
}

.home-trusted-brands__strip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--theme-pink, #ff3d78) 45%, transparent) 0%,
    color-mix(in srgb, var(--theme-violet-light, #a855f7) 55%, transparent) 28%,
    color-mix(in srgb, var(--theme-violet, #7000ff) 40%, transparent) 52%,
    color-mix(in srgb, var(--theme-cool-deep, #1677ff) 50%, transparent) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 0;
}

.home-trusted-brands__strip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 28% 120% at 0% 50%, color-mix(in srgb, var(--theme-violet-light, #a855f7) 10%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 60% 140% at 50% 50%, color-mix(in srgb, var(--theme-cool-deep, #1677ff) 6%, transparent) 0%, transparent 68%),
    linear-gradient(135deg, rgba(10, 14, 36, 0.98) 0%, rgba(5, 8, 22, 0.98) 100%);
  box-shadow:
    inset 0 0 24px color-mix(in srgb, var(--theme-violet-light, #a855f7) 12%, transparent),
    inset 0 0 40px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 8%, transparent);
  pointer-events: none;
  z-index: 0;
}

/* Fixed label */
.home-trusted-brands__label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  align-self: stretch;
  flex: 0 0 auto;
  max-width: 220px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  background: linear-gradient(
    90deg,
    #ff3d78 0%,
    var(--theme-violet-light, #a855f7) 22%,
    var(--theme-violet, #7000ff) 44%,
    var(--theme-cool-deep, #1677ff) 66%,
    var(--theme-cool, #00d2ff) 82%,
    #ff8f00 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-violet-light, #a855f7) 20%, transparent));
  animation: tb-label-gradient 5.5s ease-in-out infinite;
}

/* Marquee viewport */
.home-trusted-brands__marquee-viewport {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 32px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.home-trusted-brands__ambient {
  display: none;
}

.home-trusted-brands__track {
  position: relative;
  z-index: 2;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  width: max-content;
  min-height: 28px;
  will-change: transform;
  animation: tb-marquee-scroll var(--tb-marquee-dur, 38s) linear infinite;
}

.home-trusted-brands__marquee-viewport:hover .home-trusted-brands__track,
.home-trusted-brands__marquee-viewport:focus-within .home-trusted-brands__track {
  animation-play-state: paused;
}

.home-trusted-brands__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(36px, 5vw, 64px);
  padding: 0;
  padding-right: clamp(36px, 5vw, 64px);
  list-style: none;
  margin: 0;
}

.home-trusted-brands__logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  opacity: 1;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.home-trusted-brands__logo:hover {
  opacity: 1;
  filter: brightness(1.08);
}

.home-trusted-brands__logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: 150px;
  max-width: 150px;
  min-width: 150px;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--theme-violet, #7000ff) 8%, transparent));
}

@keyframes tb-label-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes tb-marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .home-trusted-brands__label {
    max-width: 180px;
    font-size: 16px;
    letter-spacing: 0.1em;
    white-space: normal;
  }

  .home-trusted-brands__group {
    gap: clamp(28px, 4vw, 48px);
    padding-right: clamp(28px, 4vw, 48px);
  }
}

@media (max-width: 767px) {
  .home-trusted-brands {
    padding-bottom: 40px;
  }

  .home-trusted-brands__strip {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 14px;
    min-height: auto;
  }

  .home-trusted-brands__label {
    max-width: none;
    font-size: 18px;
    text-align: center;
    white-space: nowrap;
    justify-content: center;
  }

  .home-trusted-brands__logo img {
    width: 120px;
    max-width: 120px;
    min-width: 120px;
  }

  .home-trusted-brands__marquee-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-trusted-brands__label {
    animation: none;
    background-position: 0% 50%;
  }

  .home-trusted-brands__track {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 20px 28px;
  }

  .home-trusted-brands__group:last-child {
    display: none;
  }

  .home-trusted-brands__group {
    padding-right: 0;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ==========================================================================
   What We Do — Service Cards Carousel
   Media: assets/images/home/wwd-*.svg
   ========================================================================== */

.what-we-do {
  --wwd-bg: var(--theme-surface, #050510);
  --wwd-card-w: 210px;
  --wwd-gap: 22px;
  --wwd-dur: 55s;
  position: relative;
  z-index: 2;
  padding: clamp(64px, 8vw, 88px) 0 clamp(72px, 9vw, 96px);
  background: var(--wwd-bg);
  overflow: hidden;
}

.what-we-do__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.what-we-do__ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.what-we-do__ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
  animation: wwd-glow-drift 14s ease-in-out infinite alternate;
}

.what-we-do__ambient-glow--blue {
  width: 55%;
  height: 55%;
  top: 8%;
  right: -5%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.32) 0%, transparent 70%);
}

.what-we-do__ambient-glow--purple {
  width: 42%;
  height: 42%;
  bottom: 8%;
  left: 18%;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-violet, #7000ff) 26%, transparent) 0%, transparent 70%);
  animation-delay: -5s;
}

.what-we-do__ambient-glow--red {
  width: 36%;
  height: 36%;
  top: 38%;
  right: 22%;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-accent, #ff3d00) 16%, transparent) 0%, transparent 70%);
  animation-delay: -9s;
}

@keyframes wwd-glow-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 4%, 0) scale(1.08); }
}

.what-we-do .container {
  position: relative;
  z-index: 2;
}

/* Header */
.what-we-do__header {
  max-width: 680px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}

.what-we-do__label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--theme-a1, #ff4757);
}

.what-we-do__title {
  margin: 0 0 16px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #c4b5fd 14%,
    var(--theme-violet-light, #a855f7) 28%,
    var(--theme-cool-deep, #1677ff) 46%,
    var(--theme-cool, #00d2ff) 62%,
    #ffffff 78%,
    var(--theme-indigo, #818cf8) 90%,
    #ffffff 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 0 18px color-mix(in srgb, var(--theme-violet-light, #a855f7) 28%, transparent))
    drop-shadow(0 0 36px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 14%, transparent));
  animation: none;
}

@keyframes wwd-title-gradient {
  0%, 100% {
    background-position: 0% 50%;
    filter:
      drop-shadow(0 0 18px color-mix(in srgb, var(--theme-violet-light, #a855f7) 28%, transparent))
      drop-shadow(0 0 36px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 14%, transparent));
  }
  50% {
    background-position: 100% 50%;
    filter:
      drop-shadow(0 0 22px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 36%, transparent))
      drop-shadow(0 0 42px color-mix(in srgb, var(--theme-violet-light, #a855f7) 20%, transparent));
  }
}

.what-we-do__desc {
  margin: 0;
  font-size: clamp(0.9rem, 1.4vw, 1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.52);
}

/* Slider */
.what-we-do__slider {
  position: relative;
  z-index: 2;
  width: 100%;
}

.what-we-do__viewport {
  overflow: hidden;
  padding: 8px 0 16px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.what-we-do__track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  will-change: transform;
}

.what-we-do__track.is-css-slider {
  animation: wwd-scroll var(--wwd-dur, 55s) linear infinite;
}

.what-we-do__slider.is-paused .what-we-do__track.is-css-slider {
  animation-play-state: paused;
}

.what-we-do__group {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: var(--wwd-gap);
  padding-right: var(--wwd-gap);
}

/* Cards */
.what-we-do__card {
  --wwd-accent: #ffffff;
  position: relative;
  flex: 0 0 var(--wwd-card-w);
  width: var(--wwd-card-w);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  border-radius: 14px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, color-mix(in srgb, var(--wwd-accent) 12%, transparent) 0%, transparent 70%),
    linear-gradient(165deg, rgba(14, 20, 48, 0.96) 0%, rgba(6, 10, 28, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transition:
    transform 0.45s ease,
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    opacity 0.45s ease;
}

.what-we-do__card--red    { --wwd-accent: var(--theme-a1, #ff4757); }
.what-we-do__card--purple { --wwd-accent: var(--theme-violet-light, #a855f7); }
.what-we-do__card--blue   { --wwd-accent: var(--theme-a3, #3b82f6); }
.what-we-do__card--orange { --wwd-accent: var(--theme-a4, #f59e0b); }
.what-we-do__card--teal   { --wwd-accent: var(--theme-a5, #14b8a6); }
.what-we-do__card--indigo { --wwd-accent: var(--theme-a6, #6366f1); }

.what-we-do__card-glow {
  position: absolute;
  top: -30%;
  left: -15%;
  width: 75%;
  height: 55%;
  border-radius: 50%;
  background: var(--wwd-accent);
  filter: blur(42px);
  opacity: 0.28;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.what-we-do__card-icon {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.what-we-do__card-icon img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--wwd-accent) 35%, transparent));
}

.what-we-do__card-title {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.what-we-do__card-desc {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.5);
}

.what-we-do__card-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--wwd-accent);
  text-decoration: none;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.what-we-do__card-link:hover,
.what-we-do__card-link:focus-visible {
  opacity: 0.85;
  filter: brightness(1.12);
}

.what-we-do__card-link span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.what-we-do__card-link:hover span,
.what-we-do__card-link:focus-visible span {
  transform: translateX(3px);
}

/* Hovered card highlight (slider paused via JS) */
.what-we-do__slider.is-paused .what-we-do__card:hover,
.what-we-do__slider.is-paused .what-we-do__card:focus-within {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--wwd-accent) 42%, transparent);
  box-shadow:
    0 14px 44px color-mix(in srgb, var(--wwd-accent) 16%, transparent),
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.what-we-do__slider.is-paused .what-we-do__card:hover .what-we-do__card-glow,
.what-we-do__slider.is-paused .what-we-do__card:focus-within .what-we-do__card-glow {
  opacity: 0.48;
}

/* Subtle edge fade on cards entering/leaving viewport */
.what-we-do__card.is-edge-fade {
  opacity: 0.72;
}

.what-we-do__card.is-edge-fade .what-we-do__card-glow {
  opacity: 0.16;
}

@keyframes wwd-scroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ---- What We Do — Responsive ---- */
@media (max-width: 1399px) {
  .what-we-do {
    --wwd-card-w: 200px;
  }
}

@media (max-width: 1199px) {
  .what-we-do {
    --wwd-card-w: 190px;
    --wwd-gap: 18px;
  }
}

@media (max-width: 991px) {
  .what-we-do {
    --wwd-card-w: calc((100vw - 72px) / 2.4);
    --wwd-gap: 16px;
  }

  .what-we-do__card {
    min-height: 280px;
    padding: 22px 18px 18px;
  }
}

@media (max-width: 767px) {
  .what-we-do {
    --wwd-card-w: calc((100vw - 48px) / 1.15);
    --wwd-gap: 14px;
    padding-bottom: 64px;
  }

  .what-we-do__viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 88%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 3%, #000 88%, transparent 100%);
  }

  .what-we-do__card {
    min-height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .what-we-do__title {
    animation: none;
    background-position: 0% 50%;
    filter: drop-shadow(0 0 14px color-mix(in srgb, var(--theme-violet-light, #a855f7) 22%, transparent));
  }

  .what-we-do__ambient-glow {
    animation: none;
  }

  .what-we-do__ambient-canvas {
    display: none;
  }

  .what-we-do__track.is-css-slider {
    animation: none;
    transform: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 20px;
  }

  .what-we-do__group:last-child {
    display: none;
  }

  .what-we-do__group {
    flex-wrap: wrap;
    justify-content: center;
    padding-right: 0;
    width: 100%;
  }

  .what-we-do__card {
    flex: 1 1 280px;
    max-width: 340px;
    width: auto;
  }

  .what-we-do__card.is-edge-fade {
    opacity: 1;
  }
}

/* ==========================================================================
   About Us Section
   Media: assets/images/home/about-*
   ========================================================================== */

.about-us {
  --au-bg: var(--theme-surface, #050510);
  position: relative;
  z-index: 2;
  padding: clamp(72px, 9vw, 100px) 0 clamp(80px, 10vw, 110px);
  background: var(--au-bg);
  overflow: hidden;
}

/* Ambient (hero-style bubbles) */
.about-us__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-us__ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.about-us__ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: au-glow-drift 16s ease-in-out infinite alternate;
}

.about-us__ambient-glow--blue {
  width: 50%;
  height: 45%;
  top: 5%;
  right: -8%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
}

.about-us__ambient-glow--purple {
  width: 42%;
  height: 40%;
  bottom: 10%;
  left: 10%;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-violet, #7000ff) 24%, transparent) 0%, transparent 70%);
  animation-delay: -6s;
}

.about-us__ambient-glow--red {
  width: 30%;
  height: 30%;
  top: 45%;
  left: 40%;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-pink, #ff3d78) 12%, transparent) 0%, transparent 70%);
  animation-delay: -10s;
}

.about-us__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background:
    radial-gradient(ellipse 80% 100% at 20% 100%, color-mix(in srgb, var(--theme-cool, #00d2ff) 12%, transparent) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, color-mix(in srgb, var(--theme-violet-light, #a855f7) 10%, transparent) 0%, transparent 55%);
  opacity: 0.7;
}

@keyframes au-glow-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.06); }
}

.about-us .container {
  position: relative;
  z-index: 2;
}

.about-us__grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

/* ---- Left visual ---- */
.about-us__visual {
  position: relative;
  min-height: 640px;
  padding-bottom: 12px;
}

.about-us__deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about-us__signal {
  position: absolute;
  top: 2%;
  left: -4%;
  width: 38%;
  height: auto;
  z-index: 1;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--theme-cool, #00d2ff) 25%, transparent));
}

.about-us__connect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.8s ease 0.45s;
}

.about-us.is-visible .about-us__connect {
  opacity: 1;
}

.about-us__connect-path {
  animation: au-connect-pulse 5s linear infinite;
}

@keyframes au-connect-pulse {
  0% { stroke-dashoffset: 0; stroke: rgba(255, 255, 255, 0.22); }
  50% { stroke: color-mix(in srgb, var(--theme-cool, #00d2ff) 45%, transparent); }
  100% { stroke-dashoffset: -48; stroke: rgba(255, 255, 255, 0.22); }
}

.about-us__network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.about-us__node-pulse {
  animation: au-node-pulse 3.5s ease-in-out infinite;
}

@keyframes au-node-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.about-us__deco-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

/* Frame glow wrapper */
.about-us__frame-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--theme-cool, #00d2ff) 45%, transparent);
  box-shadow:
    0 0 22px color-mix(in srgb, var(--theme-cool, #00d2ff) 22%, transparent),
    0 0 44px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 10%, transparent),
    inset 0 0 20px color-mix(in srgb, var(--theme-cool, #00d2ff) 4%, transparent);
  animation: au-border-breathe 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 2;
}

.about-us__visual-secondary .about-us__frame-glow {
  animation-duration: 6.5s;
  animation-delay: -1.5s;
}

@keyframes au-border-breathe {
  0%, 100% {
    opacity: 0.72;
    box-shadow: 0 0 18px color-mix(in srgb, var(--theme-cool, #00d2ff) 18%, transparent), 0 0 36px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 8%, transparent);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 30px color-mix(in srgb, var(--theme-cool, #00d2ff) 38%, transparent), 0 0 56px color-mix(in srgb, var(--theme-violet-light, #a855f7) 14%, transparent);
  }
}

.about-us__visual-main {
  position: absolute;
  z-index: 2;
  top: 73px;
  right: 88px;
  width: 78%;
  margin: 0;
  border-radius: 26px;
  overflow: hidden;
  background: rgba(6, 10, 28, 0.6);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(0.96);
}

.about-us.is-visible .about-us__visual-main {
  opacity: 1;
  transform: scale(1);
  animation: au-float-1 7s ease-in-out infinite;
}

.about-us__visual-main img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.about-us__visual-secondary {
  position: absolute;
  z-index: 3;
  left: 0;
  bottom: 22%;
  width: 48%;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(6, 10, 28, 0.65);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.75s ease 0.15s, transform 0.75s ease 0.15s;
}

.about-us.is-visible .about-us__visual-secondary {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  animation: au-float-2 8.5s ease-in-out infinite;
  animation-delay: -2s;
}

.about-us__visual-secondary img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about-us__hex {
  position: absolute;
  z-index: 4;
  top: 36%;
  right: 0;
  width: 90px;
  filter: drop-shadow(0 0 20px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 50%, transparent));
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.65s ease 0.3s, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.about-us.is-visible .about-us__hex {
  opacity: 1;
  transform: scale(1);
  animation: au-float-3 5s ease-in-out infinite, au-hex-pulse 3.5s ease-in-out infinite;
}

.about-us__hex img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease-out;
}

.about-us__visual-main img,
.about-us__visual-secondary img {
  transition: transform 0.35s ease-out;
}

.about-us__stats-shell {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 0;
  width: 72%;
  transform: translateX(-50%);
  opacity: 0;
  transform: translateX(-50%) translateY(28px);
  transition: opacity 0.75s ease 0.5s, transform 0.75s ease 0.5s;
}

.about-us__stats {
  display: flex;
  align-items: center;
  padding: 24px 22px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(14, 22, 52, 0.78) 0%, rgba(8, 12, 32, 0.88) 55%, rgba(20, 14, 48, 0.82) 100%);
  border: 1px solid color-mix(in srgb, var(--theme-cool, #00d2ff) 28%, transparent);
  box-shadow:
    0 0 32px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 14%, transparent),
    0 0 48px color-mix(in srgb, var(--theme-violet-light, #a855f7) 8%, transparent),
    0 16px 44px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: au-stats-float 9s ease-in-out infinite;
}

.about-us__stats-shell.is-visible,
.about-us.is-visible .about-us__stats-shell {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.about-us.is-visible [data-about-enter="6"],
.about-us.is-visible [data-about-enter="7"],
.about-us.is-visible [data-about-enter="8"] {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-about-enter="6"],
[data-about-enter="7"],
[data-about-enter="8"] {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-about-enter="6"] { transition-delay: 0.65s; }
[data-about-enter="7"] { transition-delay: 0.78s; }
[data-about-enter="8"] { transition-delay: 0.9s; }

@keyframes au-float-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -7px, 0) scale(1); }
}

@keyframes au-float-2 {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -9px, 0); }
}

@keyframes au-float-3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -6px, 0) scale(1); }
}

@keyframes au-hex-pulse {
  0%, 100% { filter: drop-shadow(0 0 18px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 45%, transparent)); }
  50% { filter: drop-shadow(0 0 28px color-mix(in srgb, var(--theme-cool, #00d2ff) 62%, transparent)); }
}

@keyframes au-stats-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -4px, 0); }
}

/* Stats card */
.about-us__stat {
  flex: 1 1 0;
  text-align: center;
}

.about-us__stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  animation: au-icon-glow 4s ease-in-out infinite;
}

.about-us__stat-icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 40%, transparent));
}

.about-us__stat:nth-child(1) .about-us__stat-icon { animation-delay: 0s; }
.about-us__stat:nth-child(3) .about-us__stat-icon { animation-delay: -1.3s; }
.about-us__stat:nth-child(5) .about-us__stat-icon { animation-delay: -2.6s; }

@keyframes au-icon-glow {
  0%, 100% { filter: drop-shadow(0 0 6px color-mix(in srgb, var(--theme-cool, #00d2ff) 25%, transparent)); }
  50% { filter: drop-shadow(0 0 12px color-mix(in srgb, var(--theme-violet-light, #a855f7) 40%, transparent)); }
}

.about-us__stat-num {
  margin: 0 0 6px;
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff 0%, #b8ecff 45%, var(--theme-violet-light, #a855f7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 20%, transparent));
}

.about-us__stat-label {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.55);
}

.about-us__stat-divider {
  flex: 0 0 1px;
  align-self: stretch;
  width: 1px;
  min-height: 64px;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 32%, transparent) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.8s ease 0.55s;
}

.about-us.is-visible .about-us__stat-divider {
  opacity: 1;
}

/* ---- Right content ---- */
.about-us__content {
  position: relative;
  z-index: 2;
}

.about-us__label {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--theme-cool, #00d2ff);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent));
}

.about-us__title {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.about-us__title-accent {
  display: inline-block;
  background: linear-gradient(90deg, var(--theme-cool, #00d2ff) 0%, var(--theme-cool-deep, #1677ff) 45%, var(--theme-violet-light, #a855f7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.about-us__desc p {
  margin: 0 0 14px;
  font-size: clamp(0.92rem, 1.3vw, 1rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.58);
}

.about-us__desc p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.48);
}

.about-us__divider {
  position: relative;
  height: 1px;
  margin: 28px 0;
}

.about-us__divider-line {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.12) 20%, rgba(255, 255, 255, 0.12) 80%, transparent 100%);
}

.about-us__divider-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 3px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, color-mix(in srgb, var(--theme-cool, #00d2ff) 70%, transparent) 0%, transparent 70%);
  animation: au-divider-travel 6s ease-in-out infinite;
}

@keyframes au-divider-travel {
  0%, 100% { transform: translate(-80%, -50%); opacity: 0.4; }
  50% { transform: translate(-20%, -50%); opacity: 1; }
}

.about-us__features {
  display: flex;
  gap: 0;
  margin-bottom: 32px;
}

.about-us__feature {
  flex: 1 1 0;
  padding-right: 20px;
}

.about-us__feature:last-of-type {
  padding-right: 0;
  padding-left: 20px;
}

.about-us__feature-split {
  flex: 0 0 1px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 20%, transparent) 50%, transparent 100%);
}

.about-us__feature-icon {
  margin-bottom: 12px;
}

.about-us__feature-icon img {
  display: block;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 30%, transparent));
}

.about-us__feature-title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.about-us__feature-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.48);
}

/* CTA buttons */
.about-us__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.about-us__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}

.about-us__btn span {
  display: inline-block;
  transition: transform 0.35s ease;
}

.about-us__btn--primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--theme-cool-deep, #1677ff) 0%, var(--theme-cool, #00d2ff) 100%);
  border: 1px solid color-mix(in srgb, var(--theme-cool, #00d2ff) 50%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 35%, transparent), 0 4px 16px rgba(0, 0, 0, 0.25);
}

.about-us__btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.about-us__btn--primary:hover,
.about-us__btn--primary:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 32px color-mix(in srgb, var(--theme-cool, #00d2ff) 45%, transparent), 0 8px 24px rgba(0, 0, 0, 0.3);
}

.about-us__btn--primary:hover::before,
.about-us__btn--primary:focus-visible::before {
  transform: translateX(120%);
}

.about-us__btn--primary:hover span,
.about-us__btn--primary:focus-visible span {
  transform: translateX(4px);
}

.about-us__btn--secondary {
  color: var(--theme-cool, #00d2ff);
  background: rgba(8, 14, 36, 0.6);
  border: 1px solid color-mix(in srgb, var(--theme-cool, #00d2ff) 40%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--theme-cool-deep, #1677ff) 12%, transparent);
}

.about-us__btn--secondary:hover,
.about-us__btn--secondary:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--theme-cool, #00d2ff) 65%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--theme-cool, #00d2ff) 20%, transparent);
}

.about-us__btn--secondary:hover span,
.about-us__btn--secondary:focus-visible span {
  transform: translateX(4px);
}

/* Scroll reveal */
[data-about-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 0.65s ease var(--ar-delay, 0ms),
    transform 0.65s ease var(--ar-delay, 0ms);
}

.about-us__feature[data-about-reveal]:first-of-type {
  transform: translate3d(-16px, 20px, 0);
}

.about-us__feature[data-about-reveal]:last-of-type {
  transform: translate3d(16px, 20px, 0);
}

[data-about-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ---- About Us Responsive ---- */
@media (max-width: 1199px) {
  .about-us__grid {
    grid-template-columns: 46% 54%;
  }

  .about-us__visual {
    min-height: 500px;
  }
}

@media (max-width: 991px) {
  .about-us__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-us__visual {
    min-height: 480px;
    max-width: 560px;
    margin: 0 auto;
  }

  .about-us__content {
    max-width: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .about-us {
    padding-top: 56px;
  }

  .about-us__visual {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: none;
  }

  .about-us__visual-main {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin: 0;
  }

  .about-us.is-visible .about-us__visual-main {
    animation: none;
  }

  .about-us__visual-secondary {
    position: relative;
    left: auto;
    bottom: auto;
    width: 72%;
    margin: -36px auto 0 0;
  }

  .about-us.is-visible .about-us__visual-secondary {
    animation: none;
  }

  .about-us__hex {
    position: relative;
    top: auto;
    right: auto;
    align-self: flex-end;
    margin: -52px 6% 0 0;
  }

  .about-us.is-visible .about-us__hex {
    animation: au-hex-pulse 3.5s ease-in-out infinite;
  }

  .about-us__stats-shell {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    transform: none;
    margin-top: 12px;
  }

  .about-us.is-visible .about-us__stats-shell {
    transform: none;
  }

  .about-us__stats {
    animation: none;
  }

  .about-us__stat-num {
    font-size: 1.25rem;
  }

  .about-us__stat-label {
    font-size: 11px;
  }

  .about-us__features {
    flex-direction: column;
    gap: 24px;
  }

  .about-us__feature,
  .about-us__feature:last-of-type {
    padding: 0;
  }

  .about-us__feature-split {
    display: none;
  }

  .about-us__actions {
    flex-direction: column;
  }

  .about-us__btn {
    width: 100%;
  }

  .about-us__deco-canvas {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-us__ambient-glow,
  .about-us.is-visible .about-us__visual-main,
  .about-us.is-visible .about-us__visual-secondary,
  .about-us.is-visible .about-us__hex,
  .about-us__stat-icon,
  .about-us__divider-glow,
  .about-us__connect-path,
  .about-us__stats {
    animation: none !important;
  }

  .about-us__ambient-canvas,
  .about-us__deco-canvas {
    display: none;
  }

  [data-about-reveal],
  [data-about-enter],
  .about-us__visual-main,
  .about-us__visual-secondary,
  .about-us__hex,
  .about-us__stats-shell {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Our Core Services
   Media: assets/images/home/cs-*.svg
   ========================================================================== */

.core-services {
  --cs-bg: var(--theme-surface, #050510);
  --cs-accent: var(--theme-cool, #00d2ff);
  position: relative;
  z-index: 2;
  padding: clamp(72px, 9vw, 100px) 0 clamp(80px, 10vw, 110px);
  background: var(--cs-bg);
  overflow: hidden;
}

/* Ambient (hero-style bubbles) */
.core-services__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.core-services__ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.core-services__ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.42;
  animation: cs-glow-drift 15s ease-in-out infinite alternate;
}

.core-services__ambient-glow--blue {
  width: 52%;
  height: 48%;
  top: 18%;
  left: 8%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.28) 0%, transparent 70%);
}

.core-services__ambient-glow--purple {
  width: 44%;
  height: 42%;
  top: 22%;
  right: 4%;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-violet, #7000ff) 24%, transparent) 0%, transparent 70%);
  animation-delay: -5s;
}

.core-services__ambient-glow--orange {
  width: 38%;
  height: 36%;
  top: 38%;
  left: 38%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.18) 0%, transparent 70%);
  animation-delay: -9s;
}

.core-services__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background:
    radial-gradient(ellipse 90% 100% at 15% 100%, color-mix(in srgb, var(--theme-cool, #00d2ff) 10%, transparent) 0%, transparent 58%),
    radial-gradient(ellipse 70% 90% at 85% 100%, color-mix(in srgb, var(--theme-violet-light, #a855f7) 8%, transparent) 0%, transparent 55%),
    repeating-linear-gradient(
      90deg,
      color-mix(in srgb, var(--theme-cool, #00d2ff) 4%, transparent) 0,
      color-mix(in srgb, var(--theme-cool, #00d2ff) 4%, transparent) 1px,
      transparent 1px,
      transparent 48px
    );
  opacity: 0.75;
}

@keyframes cs-glow-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 4%, 0) scale(1.07); }
}

.core-services .container {
  position: relative;
  z-index: 2;
}

/* Header */
.core-services__header {
  max-width: 760px;
  margin: 0 auto clamp(44px, 5.5vw, 60px);
  text-align: center;
}

.core-services__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--theme-cool, #00d2ff);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent));
}

.core-services__eyebrow-line {
  flex: 0 1 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 65%, transparent) 50%, transparent 100%);
  box-shadow: 0 0 8px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent);
}

.core-services__title {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.core-services__title-white {
  color: #ffffff;
}

.core-services__title-cyan {
  background: linear-gradient(90deg, var(--theme-cool, #00d2ff) 0%, var(--theme-a3, #3b82f6) 55%, var(--theme-indigo, #818cf8) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--theme-cool, #00d2ff) 25%, transparent));
}

.core-services__title-violet {
  background: linear-gradient(90deg, var(--theme-indigo, #818cf8) 0%, var(--theme-violet-light, #a855f7) 45%, var(--theme-pink, #ec4899) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--theme-violet-light, #a855f7) 25%, transparent));
}

.core-services__desc {
  margin: 0 auto 28px;
  max-width: 621px;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  color: rgba(180, 200, 230, 0.78);
}

/* Energy divider */
.core-services__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 320px;
  margin: 0 auto;
}

.core-services__divider-line {
  flex: 1;
  height: 1px;
}

.core-services__divider-line--left {
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 55%, transparent) 100%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent);
}

.core-services__divider-line--right {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.55) 0%, transparent 100%);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.core-services__divider-core {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin: 0 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffb347 35%, #ff6b35 70%, transparent 100%);
  box-shadow:
    0 0 12px rgba(255, 180, 71, 0.9),
    0 0 28px rgba(255, 107, 53, 0.55),
    0 0 48px rgba(255, 0, 110, 0.25);
  animation: cs-divider-pulse 3s ease-in-out infinite;
}

@keyframes cs-divider-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
    box-shadow:
      0 0 12px rgba(255, 180, 71, 0.9),
      0 0 28px rgba(255, 107, 53, 0.55),
      0 0 48px rgba(255, 0, 110, 0.25);
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
    box-shadow:
      0 0 18px rgba(255, 220, 120, 1),
      0 0 36px rgba(255, 107, 53, 0.75),
      0 0 64px rgba(255, 0, 110, 0.4);
  }
}

/* Cards grid */
.core-services__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  margin-bottom: clamp(40px, 5vw, 56px);
}

.core-services__card {
  --cs-card-accent: var(--theme-cool, #00d2ff);
  --cs-card-glow: color-mix(in srgb, var(--theme-cool, #00d2ff) 22%, transparent);
  --cs-border-gradient: linear-gradient(
    90deg,
    var(--theme-cool, #00d2ff) 0%,
    var(--theme-a3, #3b82f6) 16%,
    var(--theme-indigo, #818cf8) 32%,
    var(--theme-violet-light, #a855f7) 48%,
    var(--theme-pink, #ec4899) 64%,
    var(--theme-accent-warm, #ff8c42) 80%,
    var(--theme-cool, #00d2ff) 100%
  );
  position: relative;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  border-radius: 20px;
  border: 4px solid color-mix(in srgb, var(--theme-cool, #00d2ff) 22%, transparent);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 40%, transparent 100%),
    rgba(8, 12, 32, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: visible;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}

.core-services__card::before,
.core-services__card::after {
  content: "";
  position: absolute;
  border-radius: 24px;
  pointer-events: none;
}

.core-services__card::before {
  inset: -4px;
  z-index: 1;
  padding: 4px;
  background: var(--cs-border-gradient);
  background-size: 400% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.42;
  animation: cs-border-flow 5s linear infinite;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.core-services__card::after {
  inset: -10px;
  z-index: 0;
  background: var(--cs-border-gradient);
  background-size: 400% 100%;
  filter: blur(18px);
  opacity: 0.22;
  animation: cs-border-flow 5s linear infinite;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

@keyframes cs-border-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}

.core-services__card--cyan {
  --cs-card-accent: var(--theme-cool, #00d2ff);
  --cs-card-glow: color-mix(in srgb, var(--theme-cool, #00d2ff) 28%, transparent);
}

.core-services__card--orange {
  --cs-card-accent: var(--theme-accent-warm, #ff8c42);
  --cs-card-glow: rgba(255, 107, 53, 0.32);
}

.core-services__card--purple {
  --cs-card-accent: var(--theme-violet-light, #a855f7);
  --cs-card-glow: color-mix(in srgb, var(--theme-violet-light, #a855f7) 28%, transparent);
}

.core-services__card--featured {
  z-index: 2;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(255, 107, 53, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.core-services__card--featured::after {
  opacity: 0.32;
}

.core-services__card--featured .core-services__card-glow {
  opacity: 0.55;
  animation: cs-featured-glow 4s ease-in-out infinite;
}

@keyframes cs-featured-glow {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 0.7; }
}

.core-services__card-glow {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--cs-card-glow) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.core-services__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--theme-pink, #ff006e) 0%, var(--theme-a1, #ff4757) 45%, var(--theme-accent-warm, #ff8c42) 100%);
  box-shadow:
    0 4px 18px rgba(255, 71, 87, 0.45),
    0 0 24px rgba(255, 107, 53, 0.35);
}

.core-services__card-media {
  --cs-media-border-w: 5px;
  --cs-media-radius-bl: 15%;
  --cs-media-radius-br: 15%;
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  height: clamp(150px, 18vw, 195px);
  margin: 0;
  border-radius: 18px 18px 0 0;
  border-bottom-left-radius: var(--cs-media-radius-bl);
  border-bottom-right-radius: var(--cs-media-radius-br);
  overflow: hidden;
}

.core-services__card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  padding: var(--cs-media-border-w);
  background: var(--cs-border-gradient);
  background-size: 400% 100%;
  animation: cs-border-flow 5s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  clip-path: inset(calc(100% - var(--cs-media-border-w)) 0 0 0 round 0 0 var(--cs-media-radius-br) var(--cs-media-radius-bl));
  pointer-events: none;
  filter:
    drop-shadow(0 0 8px color-mix(in srgb, var(--theme-cool, #00d2ff) 45%, transparent))
    drop-shadow(0 0 14px color-mix(in srgb, var(--theme-violet-light, #a855f7) 28%, transparent));
}

.core-services__card:hover .core-services__card-media::after,
.core-services__card:focus-within .core-services__card-media::after {
  animation-duration: 3s;
  filter:
    drop-shadow(0 0 12px color-mix(in srgb, var(--theme-cool, #00d2ff) 65%, transparent))
    drop-shadow(0 0 22px color-mix(in srgb, var(--theme-violet-light, #a855f7) 40%, transparent))
    drop-shadow(0 0 16px rgba(255, 107, 53, 0.25));
}

.core-services__card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.core-services__card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 5, 16, 0.75) 100%);
  pointer-events: none;
}

.core-services__card-icon {
  position: absolute;
  top: calc(clamp(150px, 18vw, 195px) - 28px);
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 2px solid var(--cs-card-accent);
  background: rgba(6, 10, 28, 0.88);
  box-shadow:
    0 0 18px var(--cs-card-glow),
    inset 0 0 12px rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.core-services__card-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.core-services__card-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 38px 24px 28px;
  text-align: center;
}

.core-services__card-title {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.core-services__card-tagline {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(180, 200, 230, 0.72);
}

.core-services__card-rule {
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 18px;
  border-radius: 2px;
  background: var(--cs-card-accent);
  box-shadow: 0 0 10px var(--cs-card-glow);
}

.core-services__features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  text-align: left;
}

.core-services__features li {
  position: relative;
  padding: 0 0 0 28px;
  margin-bottom: 11px;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(210, 220, 240, 0.82);
}

.core-services__features li:last-child {
  margin-bottom: 0;
}

.core-services__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--cs-card-accent);
  box-shadow: 0 0 8px var(--cs-card-glow);
}

.core-services__features li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 9px;
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* CTA buttons */
.core-services__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding: 13px 20px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}

.core-services__btn span {
  transition: transform 0.3s ease;
}

.core-services__btn--outline {
  border: 1.5px solid var(--cs-card-accent);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 16px var(--cs-card-glow);
}

.core-services__btn--filled {
  border: none;
  background: linear-gradient(90deg, var(--theme-pink, #ff006e) 0%, var(--theme-a1, #ff4757) 40%, var(--theme-accent-warm, #ff8c42) 100%);
  box-shadow:
    0 6px 24px rgba(255, 71, 87, 0.4),
    0 0 20px rgba(255, 107, 53, 0.3);
}

.core-services__card:hover,
.core-services__card:focus-within {
  transform: translateY(-7px);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.45),
    0 0 36px color-mix(in srgb, var(--theme-cool, #00d2ff) 18%, transparent),
    0 0 56px color-mix(in srgb, var(--theme-violet-light, #a855f7) 14%, transparent);
}

.core-services__card:hover::before,
.core-services__card:focus-within::before {
  opacity: 1;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 55%, transparent)) drop-shadow(0 0 18px color-mix(in srgb, var(--theme-violet-light, #a855f7) 35%, transparent));
  animation-duration: 3s;
}

.core-services__card:hover::after,
.core-services__card:focus-within::after {
  opacity: 0.78;
  filter: blur(22px);
  animation-duration: 3s;
}

.core-services__card--featured:hover::after,
.core-services__card--featured:focus-within::after {
  opacity: 0.92;
  filter: blur(26px);
}

.core-services__card:hover .core-services__card-glow,
.core-services__card:focus-within .core-services__card-glow {
  opacity: 0.65;
}

.core-services__card:hover .core-services__card-media img,
.core-services__card:focus-within .core-services__card-media img {
  transform: scale(1.04);
}

.core-services__card:hover .core-services__card-icon,
.core-services__card:focus-within .core-services__card-icon {
  box-shadow:
    0 0 26px var(--cs-card-glow),
    inset 0 0 16px rgba(255, 255, 255, 0.06);
}

.core-services__btn--outline:hover,
.core-services__btn--outline:focus-visible {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, var(--cs-card-glow) 100%);
  box-shadow: 0 0 28px var(--cs-card-glow);
  transform: translateY(-2px);
}

.core-services__btn--filled:hover,
.core-services__btn--filled:focus-visible {
  box-shadow:
    0 8px 32px rgba(255, 71, 87, 0.55),
    0 0 32px rgba(255, 107, 53, 0.45);
  transform: translateY(-2px);
}

.core-services__btn:hover span,
.core-services__btn:focus-visible span {
  transform: translateX(3px);
}

/* Trust strip */
.core-services__trust {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: clamp(28px, 3.5vw, 30px) clamp(20px, 3vw, 36px);
  border-radius: 22px;
  border: 1px solid rgba(0, 163, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 45%, transparent 100%),
    rgba(6, 14, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 36px rgba(0, 102, 255, 0.1);
}

.core-services__trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(12px, 1.4vw, 18px);
  min-width: 0;
  padding: 4px clamp(8px, 1.2vw, 14px);
  text-align: left;
}

.core-services__trust-divider {
  width: 1px;
  align-self: stretch;
  min-height: 56px;
  margin: 4px 0;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 18%, transparent) 50%, transparent 100%);
}

.core-services__trust-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}

.core-services__trust-item--cyan .core-services__trust-icon img {
  filter: drop-shadow(0 0 10px rgba(0, 163, 255, 0.55));
}

.core-services__trust-item--orange .core-services__trust-icon img {
  filter: drop-shadow(0 0 10px rgba(255, 138, 0, 0.55));
}

.core-services__trust-item--purple .core-services__trust-icon img {
  filter: drop-shadow(0 0 10px rgba(189, 0, 255, 0.5));
}

.core-services__trust-item--teal .core-services__trust-icon img {
  filter: drop-shadow(0 0 10px rgba(0, 209, 255, 0.5));
}

.core-services__trust-icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.core-services__trust-copy {
  flex: 1;
  min-width: 0;
}

.core-services__trust-title {
  margin: 0 0 4px;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.core-services__trust-desc {
  margin: 0;
  font-size: clamp(0.74rem, 0.95vw, 0.82rem);
  line-height: 1.4;
  color: rgba(180, 200, 230, 0.62);
}

/* Responsive */
@media (max-width: 1199px) {
  .core-services__cards {
    gap: 16px;
  }

  .core-services__card-body {
    padding: 36px 18px 24px;
  }
}

@media (max-width: 991px) {
  .core-services__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .core-services__card--featured {
    order: -1;
  }

  .core-services__trust {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 28px 24px;
  }

  .core-services__trust-divider {
    display: none;
  }

  .core-services__trust-item {
    padding: 4px 6px;
  }
}

@media (max-width: 575px) {
  .core-services__eyebrow {
    gap: 10px;
    font-size: 11px;
    letter-spacing: 0.2em;
  }

  .core-services__eyebrow-line {
    flex-basis: 40px;
  }

  .core-services__trust {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .core-services__card-body {
    padding: 34px 20px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .core-services__ambient-canvas {
    display: none;
  }

  .core-services__ambient-glow,
  .core-services__divider-core,
  .core-services__card--featured .core-services__card-glow,
  .core-services__card::before,
  .core-services__card::after,
  .core-services__card-media::after {
    animation: none !important;
  }

  .core-services__card,
  .core-services__card-media img,
  .core-services__btn {
    transition: none;
  }

  .core-services__card:hover,
  .core-services__card:focus-within {
    transform: none;
  }
}

/* ==========================================================================
   Visitor Reviews
   Media: assets/images/home/vr-*.svg
   ========================================================================== */

.visitor-reviews {
  --vr-bg: var(--theme-surface, #050510);
  --vr-border-gradient: linear-gradient(135deg, var(--theme-cool, #00d2ff) 0%, var(--theme-a3, #3b82f6) 35%, var(--theme-violet-light, #a855f7) 70%, var(--theme-pink, #ec4899) 100%);
  position: relative;
  z-index: 2;
  padding: clamp(72px, 9vw, 100px) 0 clamp(80px, 10vw, 110px);
  background: var(--vr-bg);
  overflow: hidden;
}

.visitor-reviews__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.visitor-reviews__ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.visitor-reviews__ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: vr-glow-drift 15s ease-in-out infinite alternate;
}

.visitor-reviews__ambient-glow--blue {
  width: 50%;
  height: 45%;
  top: 10%;
  left: -5%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.28) 0%, transparent 70%);
}

.visitor-reviews__ambient-glow--purple {
  width: 44%;
  height: 42%;
  top: 20%;
  right: -5%;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-violet, #7000ff) 22%, transparent) 0%, transparent 70%);
  animation-delay: -5s;
}

.visitor-reviews__ambient-glow--red {
  width: 36%;
  height: 34%;
  bottom: 15%;
  left: 35%;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-pink, #ff3d78) 10%, transparent) 0%, transparent 70%);
  animation-delay: -9s;
}

.visitor-reviews__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background:
    radial-gradient(ellipse 90% 100% at 15% 100%, color-mix(in srgb, var(--theme-cool, #00d2ff) 10%, transparent) 0%, transparent 58%),
    radial-gradient(ellipse 70% 90% at 85% 100%, color-mix(in srgb, var(--theme-violet-light, #a855f7) 8%, transparent) 0%, transparent 55%);
  opacity: 0.75;
}

@keyframes vr-glow-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3%, 4%, 0) scale(1.07); }
}

.visitor-reviews .container {
  position: relative;
  z-index: 2;
}

.visitor-reviews__main {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.25fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}

/* Left intro */
.visitor-reviews__intro {
  max-width: 420px;
}

.visitor-reviews__label {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--theme-cool, #00d2ff);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent));
}

.visitor-reviews__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--theme-cool, #00d2ff) 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 20%, transparent) 100%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 45%, transparent);
}

.visitor-reviews__title {
  margin: 0 0 20px;
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.visitor-reviews__title-white {
  color: #ffffff;
}

.visitor-reviews__title-gradient {
  background: linear-gradient(90deg, var(--theme-cool, #00d2ff) 0%, var(--theme-a3, #3b82f6) 40%, var(--theme-violet-light, #a855f7) 75%, var(--theme-pink, #ec4899) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--theme-cool, #00d2ff) 20%, transparent));
}

.visitor-reviews__desc {
  margin: 0 0 32px;
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.65;
  color: rgba(180, 200, 230, 0.72);
}

.visitor-reviews__nav {
  display: flex;
  gap: 16px;
}

.visitor-reviews__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: #fff;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.visitor-reviews__nav-btn--prev {
  border: 2px solid color-mix(in srgb, var(--theme-cool, #00d2ff) 55%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--theme-cool, #00d2ff) 25%, transparent);
}

.visitor-reviews__nav-btn--next {
  border: 2px solid color-mix(in srgb, var(--theme-violet-light, #a855f7) 55%, transparent);
  box-shadow: 0 0 16px color-mix(in srgb, var(--theme-violet-light, #a855f7) 25%, transparent);
}

.visitor-reviews__nav-btn:hover,
.visitor-reviews__nav-btn:focus-visible {
  transform: scale(1.08);
}

.visitor-reviews__nav-btn--prev:hover,
.visitor-reviews__nav-btn--prev:focus-visible {
  box-shadow: 0 0 24px color-mix(in srgb, var(--theme-cool, #00d2ff) 45%, transparent);
  border-color: var(--theme-cool, #00d2ff);
}

.visitor-reviews__nav-btn--next:hover,
.visitor-reviews__nav-btn--next:focus-visible {
  box-shadow: 0 0 24px color-mix(in srgb, var(--theme-violet-light, #a855f7) 45%, transparent);
  border-color: var(--theme-violet-light, #a855f7);
}

/* Slider */
.visitor-reviews__slider-wrap {
  min-width: 0;
}

.visitor-reviews__viewport {
  overflow: hidden;
}

.visitor-reviews__track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.visitor-reviews__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

/* Testimonial card */
.visitor-reviews__card {
  position: relative;
  isolation: isolate;
  min-height: clamp(280px, 32vw, 340px);
  padding: clamp(28px, 3vw, 36px) clamp(24px, 3vw, 36px) clamp(32px, 3.5vw, 40px);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
    linear-gradient(180deg, rgba(10, 24, 56, 0.92) 0%, rgba(6, 10, 28, 0.95) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.visitor-reviews__card-border {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--vr-border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.visitor-reviews__card-glow {
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  box-shadow:
    0 0 24px color-mix(in srgb, var(--theme-cool, #00d2ff) 12%, transparent),
    0 0 40px color-mix(in srgb, var(--theme-violet-light, #a855f7) 10%, transparent);
  pointer-events: none;
}

.visitor-reviews__card-deco {
  position: absolute;
  right: -20px;
  bottom: -20px;
  z-index: 0;
  width: min(240px, 45%);
  height: auto;
  opacity: 0.35;
  pointer-events: none;
}

.visitor-reviews__quote {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  right: clamp(20px, 2.5vw, 32px);
  z-index: 2;
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--theme-cool, #00d2ff);
  opacity: 0.85;
  filter: drop-shadow(0 0 16px color-mix(in srgb, var(--theme-cool, #00d2ff) 45%, transparent));
  pointer-events: none;
}

.visitor-reviews__profile {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: clamp(20px, 2.5vw, 28px);
}

.visitor-reviews__avatar {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--theme-cool, #00d2ff) 0%, var(--theme-a3, #3b82f6) 100%);
  box-shadow: 0 0 18px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent);
  animation: vr-avatar-glow 4s ease-in-out infinite;
}

.visitor-reviews__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

@keyframes vr-avatar-glow {
  0%, 100% { box-shadow: 0 0 14px color-mix(in srgb, var(--theme-cool, #00d2ff) 28%, transparent); }
  50% { box-shadow: 0 0 22px color-mix(in srgb, var(--theme-violet-light, #a855f7) 35%, transparent); }
}

.visitor-reviews__name {
  margin: 0 0 4px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  font-weight: 800;
  color: #ffffff;
}

.visitor-reviews__role {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--theme-cool, #00d2ff);
}

.visitor-reviews__text {
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(24px, 3vw, 32px);
  padding: 0;
  border: none;
}

.visitor-reviews__text p {
  margin: 0;
  font-size: clamp(0.92rem, 1.15vw, 1rem);
  line-height: 1.7;
  color: rgba(220, 230, 245, 0.88);
}

.visitor-reviews__rating {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 4px;
}

.visitor-reviews__star {
  font-size: 1.1rem;
  line-height: 1;
  color: #ffb347;
  text-shadow: 0 0 8px rgba(255, 179, 71, 0.45);
  animation: vr-star-glow 3s ease-in-out infinite;
}

.visitor-reviews__star:nth-child(2) { animation-delay: -0.5s; }
.visitor-reviews__star:nth-child(3) { animation-delay: -1s; }
.visitor-reviews__star:nth-child(4) { animation-delay: -1.5s; }
.visitor-reviews__star:nth-child(5) { animation-delay: -2s; }

@keyframes vr-star-glow {
  0%, 100% { text-shadow: 0 0 6px rgba(255, 179, 71, 0.35); }
  50% { text-shadow: 0 0 12px rgba(255, 215, 100, 0.55); }
}

/* Pagination */
.visitor-reviews__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.visitor-reviews__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.visitor-reviews__dot.is-active {
  background: var(--theme-cool, #00d2ff);
  box-shadow: 0 0 12px color-mix(in srgb, var(--theme-cool, #00d2ff) 65%, transparent);
  transform: scale(1.15);
}

.visitor-reviews__dot:hover,
.visitor-reviews__dot:focus-visible {
  background: color-mix(in srgb, var(--theme-cool, #00d2ff) 55%, transparent);
}

/* Trust bar */
.visitor-reviews__trust {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: clamp(28px, 3.5vw, 30px) clamp(20px, 3vw, 36px);
  border-radius: 22px;
  border: 1px solid rgba(0, 163, 255, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 45%, transparent 100%),
    rgba(6, 14, 42, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 36px rgba(0, 102, 255, 0.1);
}

.visitor-reviews__trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(12px, 1.4vw, 18px);
  min-width: 0;
  padding: 4px clamp(8px, 1.2vw, 14px);
  text-align: left;
}

.visitor-reviews__trust-divider {
  width: 1px;
  align-self: stretch;
  min-height: 56px;
  margin: 4px 0;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 18%, transparent) 50%, transparent 100%);
}

.visitor-reviews__trust-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
}

.visitor-reviews__trust-item--cyan .visitor-reviews__trust-icon img {
  filter: drop-shadow(0 0 10px rgba(0, 163, 255, 0.55));
}

.visitor-reviews__trust-item--purple .visitor-reviews__trust-icon img {
  filter: drop-shadow(0 0 10px rgba(189, 0, 255, 0.5));
}

.visitor-reviews__trust-icon img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.visitor-reviews__trust-title {
  margin: 0 0 4px;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.visitor-reviews__trust-desc {
  margin: 0;
  font-size: clamp(0.74rem, 0.95vw, 0.82rem);
  line-height: 1.4;
  color: rgba(180, 200, 230, 0.62);
}

/* Scroll reveal */
[data-vr-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--vr-delay, 0ms);
}

.visitor-reviews.is-visible [data-vr-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .visitor-reviews__main {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .visitor-reviews__intro {
    max-width: none;
    text-align: center;
  }

  .visitor-reviews__label::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .visitor-reviews__nav {
    justify-content: center;
  }

  .visitor-reviews__trust {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding: 28px 24px;
  }

  .visitor-reviews__trust-divider {
    display: none;
  }
}

@media (max-width: 575px) {
  .visitor-reviews__trust {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .visitor-reviews__card {
    padding: 24px 20px 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visitor-reviews__ambient-canvas,
  .visitor-reviews__ambient-glow {
    display: none;
    animation: none !important;
  }

  .visitor-reviews__track {
    transition: none;
  }

  .visitor-reviews__avatar,
  .visitor-reviews__star {
    animation: none !important;
  }

  [data-vr-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .visitor-reviews__nav-btn {
    transition: none;
  }
}

/* ==========================================================================
   News & Articles
   Media: assets/images/home/na-*.svg
   ========================================================================== */

.news-articles {
  --na-bg: var(--theme-surface, #050510);
  --na-visible: 3;
  position: relative;
  z-index: 2;
  padding: clamp(72px, 9vw, 100px) 0 clamp(80px, 10vw, 110px);
  background: var(--na-bg);
  overflow: hidden;
}

.news-articles__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.news-articles__ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.news-articles__ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
  animation: na-glow-drift 16s ease-in-out infinite alternate;
}

.news-articles__ambient-glow--blue {
  width: 48%;
  height: 44%;
  top: 8%;
  left: 10%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.26) 0%, transparent 70%);
}

.news-articles__ambient-glow--purple {
  width: 42%;
  height: 40%;
  top: 18%;
  right: 8%;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-violet, #7000ff) 22%, transparent) 0%, transparent 70%);
  animation-delay: -5s;
}

.news-articles__ambient-glow--orange {
  width: 36%;
  height: 34%;
  bottom: 12%;
  left: 38%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.14) 0%, transparent 70%);
  animation-delay: -9s;
}

.news-articles__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 130px;
  background:
    radial-gradient(ellipse 85% 100% at 20% 100%, color-mix(in srgb, var(--theme-cool, #00d2ff) 9%, transparent) 0%, transparent 58%),
    radial-gradient(ellipse 65% 85% at 80% 100%, color-mix(in srgb, var(--theme-violet-light, #a855f7) 7%, transparent) 0%, transparent 55%);
  opacity: 0.75;
}

@keyframes na-glow-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.06); }
}

.news-articles .container {
  position: relative;
  z-index: 2;
}

/* Header */
.news-articles__header {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 56px);
  text-align: center;
}

.news-articles__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--theme-cool, #00d2ff);
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent));
}

.news-articles__eyebrow-line {
  flex: 0 1 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 65%, transparent) 50%, transparent 100%);
  box-shadow: 0 0 8px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent);
}

.news-articles__title {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.news-articles__title span {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    var(--theme-cool, #00d2ff) 10%,
    var(--theme-a3, #3b82f6) 22%,
    var(--theme-indigo, #818cf8) 34%,
    var(--theme-violet-light, #a855f7) 46%,
    var(--theme-pink, #ec4899) 58%,
    var(--theme-a1, #ff4757) 68%,
    var(--theme-accent-warm, #ff8c42) 78%,
    #ffffff 88%,
    var(--theme-cool, #00d2ff) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter:
    drop-shadow(0 0 16px color-mix(in srgb, var(--theme-cool, #00d2ff) 22%, transparent))
    drop-shadow(0 0 28px color-mix(in srgb, var(--theme-violet-light, #a855f7) 16%, transparent));
  animation: na-title-gradient 6s ease-in-out infinite;
}

@keyframes na-title-gradient {
  0%, 100% {
    background-position: 0% 50%;
    filter:
      drop-shadow(0 0 16px color-mix(in srgb, var(--theme-cool, #00d2ff) 22%, transparent))
      drop-shadow(0 0 28px color-mix(in srgb, var(--theme-violet-light, #a855f7) 16%, transparent));
  }
  50% {
    background-position: 100% 50%;
    filter:
      drop-shadow(0 0 20px color-mix(in srgb, var(--theme-violet-light, #a855f7) 32%, transparent))
      drop-shadow(0 0 32px rgba(255, 107, 53, 0.18));
  }
}

.news-articles__desc {
  margin: 0 auto 28px;
  max-width: 620px;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
  color: rgba(180, 200, 230, 0.78);
}

.news-articles__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 320px;
  margin: 0 auto;
}

.news-articles__divider-line {
  flex: 1;
  height: 1px;
}

.news-articles__divider-line--left {
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 55%, transparent) 100%);
  box-shadow: 0 0 10px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent);
}

.news-articles__divider-line--right {
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.55) 0%, transparent 100%);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.news-articles__divider-core {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin: 0 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #ffb347 35%, #ff6b35 70%, transparent 100%);
  box-shadow: 0 0 12px rgba(255, 180, 71, 0.9), 0 0 28px rgba(255, 107, 53, 0.55);
  animation: na-divider-pulse 3s ease-in-out infinite;
}

@keyframes na-divider-pulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
}

/* Slider */
.news-articles__slider-wrap {
  margin-bottom: clamp(36px, 4.5vw, 48px);
}

.news-articles__viewport {
  overflow: hidden;
  margin: 0;
}

.news-articles__track {
  display: flex;
  gap: 25px;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.news-articles__slide {
  flex: 0 0 calc((100% - (var(--na-visible, 3) - 1) * 25px) / var(--na-visible, 3));
  min-width: calc((100% - (var(--na-visible, 3) - 1) * 25px) / var(--na-visible, 3));
  padding: 0;
  box-sizing: border-box;
}

/* Article card */
.news-articles__card {
  --na-accent: var(--theme-cool, #00d2ff);
  --na-glow: color-mix(in srgb, var(--theme-cool, #00d2ff) 22%, transparent);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--theme-cool, #00d2ff) 22%, transparent);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
    rgba(8, 12, 32, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.news-articles__card--blue {
  --na-accent: var(--theme-cool, #00d2ff);
  --na-glow: color-mix(in srgb, var(--theme-cool, #00d2ff) 28%, transparent);
  border-color: color-mix(in srgb, var(--theme-cool, #00d2ff) 28%, transparent);
}

.news-articles__card--purple {
  --na-accent: var(--theme-violet-light, #a855f7);
  --na-glow: color-mix(in srgb, var(--theme-violet-light, #a855f7) 28%, transparent);
  border-color: color-mix(in srgb, var(--theme-violet-light, #a855f7) 32%, transparent);
}

.news-articles__card--orange {
  --na-accent: var(--theme-accent-warm, #ff8c42);
  --na-glow: rgba(255, 107, 53, 0.32);
  border-color: rgba(255, 107, 53, 0.35);
}

.news-articles__card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--na-glow) 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.news-articles__card:hover,
.news-articles__card:focus-within {
  transform: translateY(-6px);
  border-color: var(--na-accent);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42), 0 0 28px var(--na-glow);
}

.news-articles__card:hover .news-articles__card-glow,
.news-articles__card:focus-within .news-articles__card-glow {
  opacity: 0.6;
}

.news-articles__media {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.news-articles__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-articles__card:hover .news-articles__media img,
.news-articles__card:focus-within .news-articles__media img {
  transform: scale(1.04);
}

.news-articles__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 5, 16, 0.82) 100%);
  pointer-events: none;
}

.news-articles__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--na-accent) 0%, color-mix(in srgb, var(--na-accent) 70%, #fff) 100%);
  box-shadow: 0 0 14px var(--na-glow);
}

.news-articles__card--blue .news-articles__badge {
  background: linear-gradient(90deg, var(--theme-cool, #00d2ff) 0%, var(--theme-a3, #3b82f6) 100%);
}

.news-articles__card--purple .news-articles__badge {
  background: linear-gradient(90deg, var(--theme-indigo, #818cf8) 0%, var(--theme-violet-light, #a855f7) 100%);
}

.news-articles__card--orange .news-articles__badge {
  background: linear-gradient(90deg, var(--theme-a1, #ff4757) 0%, var(--theme-accent-warm, #ff8c42) 100%);
}

.news-articles__date {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(230, 240, 255, 0.9);
}

.news-articles__date img {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.news-articles__body {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.5vw, 26px) clamp(18px, 2.2vw, 24px) clamp(22px, 2.8vw, 28px);
}

.news-articles__card-title {
  margin: 0 0 12px;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  transition: color 0.35s ease;
}

.news-articles__card:hover .news-articles__card-title,
.news-articles__card:focus-within .news-articles__card-title {
  color: #f0f8ff;
}

.news-articles__card-desc {
  flex: 1;
  margin: 0 0 18px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(180, 200, 230, 0.72);
}

.news-articles__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--na-accent);
  text-decoration: none;
  filter: drop-shadow(0 0 8px var(--na-glow));
  transition: gap 0.3s ease, filter 0.3s ease;
}

.news-articles__link span {
  transition: transform 0.3s ease;
}

.news-articles__link:hover,
.news-articles__link:focus-visible {
  filter: drop-shadow(0 0 14px var(--na-glow));
  gap: 10px;
}

.news-articles__link:hover span,
.news-articles__link:focus-visible span {
  transform: translateX(3px);
}

/* Pagination */
.news-articles__pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.news-articles__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.news-articles__dot.is-active {
  background: var(--theme-cool, #00d2ff);
  box-shadow: 0 0 12px color-mix(in srgb, var(--theme-cool, #00d2ff) 65%, transparent);
  transform: scale(1.15);
}

.news-articles__dot:hover,
.news-articles__dot:focus-visible {
  background: color-mix(in srgb, var(--theme-cool, #00d2ff) 55%, transparent);
}

/* CTA */
.news-articles__cta-wrap {
  display: flex;
  justify-content: center;
}

.news-articles__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1.5px solid color-mix(in srgb, var(--theme-cool, #00d2ff) 45%, transparent);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 20px color-mix(in srgb, var(--theme-cool, #00d2ff) 15%, transparent), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.news-articles__cta img {
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.news-articles__cta span {
  transition: transform 0.3s ease;
}

.news-articles__cta:hover,
.news-articles__cta:focus-visible {
  transform: translateY(-2px);
  border-color: var(--theme-cool, #00d2ff);
  box-shadow: 0 0 28px color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent), 0 0 40px color-mix(in srgb, var(--theme-violet-light, #a855f7) 15%, transparent);
}

.news-articles__cta:hover span,
.news-articles__cta:focus-visible span {
  transform: translateX(3px);
}

/* Scroll reveal */
[data-na-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--na-delay, 0ms);
}

.news-articles.is-visible [data-na-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .news-articles {
    --na-visible: 2;
  }
}

@media (max-width: 575px) {
  .news-articles {
    --na-visible: 1;
  }

  .news-articles__viewport {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-articles__ambient-canvas,
  .news-articles__ambient-glow,
  .news-articles__divider-core {
    display: none;
    animation: none !important;
  }

  .news-articles__title span {
    animation: none !important;
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    filter: none;
  }

  .news-articles__track {
    transition: none;
  }

  [data-na-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .news-articles__card,
  .news-articles__media img,
  .news-articles__cta {
    transition: none;
  }

  .news-articles__card:hover,
  .news-articles__card:focus-within {
    transform: none;
  }
}

/* ==========================================================================
   Subscribe Now
   Media: assets/images/home/sn-*.svg
   ========================================================================== */

.subscribe-now {
  --sn-border-gradient: linear-gradient(135deg, var(--theme-cool, #00d2ff) 0%, var(--theme-a3, #3b82f6) 35%, var(--theme-violet-light, #a855f7) 70%, var(--theme-pink, #ec4899) 100%);
  position: relative;
  z-index: 2;
  padding: clamp(64px, 8vw, 88px) 0 clamp(72px, 9vw, 96px);
  background: var(--theme-surface, #050510);
  overflow: hidden;
}

.subscribe-now .container {
  position: relative;
  z-index: 2;
}

.subscribe-now__panel {
  position: relative;
  isolation: isolate;
  border-radius: clamp(24px, 3vw, 36px);
  padding: clamp(36px, 4.5vw, 52px) clamp(24px, 3vw, 48px) clamp(32px, 4vw, 44px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, transparent 42%),
    linear-gradient(180deg, rgba(8, 16, 40, 0.95) 0%, rgba(5, 8, 22, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.subscribe-now__panel-border {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--sn-border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  box-shadow: 0 0 32px color-mix(in srgb, var(--theme-cool, #00d2ff) 12%, transparent), 0 0 48px color-mix(in srgb, var(--theme-violet-light, #a855f7) 10%, transparent);
}

.subscribe-now__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}

.subscribe-now__ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.92;
  mix-blend-mode: screen;
}

.subscribe-now__ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    linear-gradient(color-mix(in srgb, var(--theme-cool, #00d2ff) 2.8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--theme-violet-light, #a855f7) 2.4%, transparent) 1px, transparent 1px);
  background-size: clamp(36px, 4vw, 52px) clamp(36px, 4vw, 52px);
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 15%, transparent 72%);
  animation: sn-mesh-drift 22s ease-in-out infinite alternate;
}

@keyframes sn-mesh-drift {
  0% { transform: translate3d(0, 0, 0); opacity: 0.45; }
  100% { transform: translate3d(-8px, 6px, 0); opacity: 0.62; }
}

.subscribe-now__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.38;
  animation: sn-glow-drift 14s ease-in-out infinite alternate;
}

.subscribe-now__glow--blue {
  width: 45%;
  height: 50%;
  top: 10%;
  left: -8%;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.28) 0%, transparent 70%);
}

.subscribe-now__glow--purple {
  width: 42%;
  height: 48%;
  top: 5%;
  right: -5%;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-violet-light, #a855f7) 24%, transparent) 0%, transparent 70%);
  animation-delay: -6s;
}

.subscribe-now__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 55%;
  height: 120px;
  background:
    radial-gradient(ellipse 90% 100% at 10% 100%, color-mix(in srgb, var(--theme-cool, #00d2ff) 12%, transparent) 0%, transparent 60%);
  opacity: 0.7;
}

@keyframes sn-glow-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.06); }
}

.subscribe-now__illustration {
  position: absolute;
  top: 50%;
  right: clamp(-20px, -2vw, 0);
  z-index: 1;
  width: min(380px, 42%);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
  animation: sn-illustration-pulse 5s ease-in-out infinite;
}

@keyframes sn-illustration-pulse {
  0%, 100% { opacity: 0.5; filter: drop-shadow(0 0 24px color-mix(in srgb, var(--theme-violet-light, #a855f7) 20%, transparent)); }
  50% { opacity: 0.62; filter: drop-shadow(0 0 36px color-mix(in srgb, var(--theme-violet-light, #a855f7) 35%, transparent)); }
}

.subscribe-now__content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-now__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(20px, 2.5vw, 28px);
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--theme-cool, #00d2ff) 35%, transparent);
  background: rgba(255, 255, 255, 0.04);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 0 18px color-mix(in srgb, var(--theme-cool, #00d2ff) 15%, transparent), inset 0 0 12px color-mix(in srgb, var(--theme-violet-light, #a855f7) 6%, transparent);
}

.subscribe-now__badge img {
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--theme-cool, #00d2ff) 50%, transparent));
}

.subscribe-now__title {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.subscribe-now__title-brand {
  background: linear-gradient(90deg, var(--theme-cool, #00d2ff) 0%, var(--theme-a3, #3b82f6) 35%, var(--theme-violet-light, #a855f7) 65%, var(--theme-pink, #ec4899) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--theme-cool, #00d2ff) 25%, transparent));
  animation: sn-brand-gradient 5s ease-in-out infinite;
}

@keyframes sn-brand-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.subscribe-now__desc {
  margin: 0 auto clamp(28px, 3.5vw, 36px);
  max-width: 680px;
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.65;
  color: rgba(190, 205, 230, 0.75);
}

.subscribe-now__desc-br {
  display: none;
}

@media (min-width: 768px) {
  .subscribe-now__desc-br {
    display: inline;
  }
}

/* Form */
.subscribe-now__form {
  margin-bottom: clamp(32px, 4vw, 44px);
}

.subscribe-now__form-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: rgba(4, 8, 24, 0.85);
  animation: sn-form-glow 4s ease-in-out infinite;
}

@keyframes sn-form-glow {
  0%, 100% { box-shadow: 0 0 20px color-mix(in srgb, var(--theme-cool, #00d2ff) 12%, transparent), 0 0 32px color-mix(in srgb, var(--theme-violet-light, #a855f7) 8%, transparent); }
  50% { box-shadow: 0 0 28px color-mix(in srgb, var(--theme-cool, #00d2ff) 22%, transparent), 0 0 44px color-mix(in srgb, var(--theme-violet-light, #a855f7) 14%, transparent); }
}

.subscribe-now__form-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: var(--sn-border-gradient);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.subscribe-now__field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.subscribe-now__field-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--theme-cool, #00d2ff) 6%, transparent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--theme-cool, #00d2ff) 20%, transparent);
}

.subscribe-now__field-icon img {
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--theme-cool, #00d2ff) 40%, transparent));
}

.subscribe-now__input {
  flex: 1;
  min-width: 0;
  padding: 12px 8px;
  border: none;
  background: transparent;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  color: #fff;
  outline: none;
}

.subscribe-now__input::placeholder {
  color: rgba(180, 200, 230, 0.5);
}

.subscribe-now__submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px clamp(20px, 2.5vw, 28px);
  border: none;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, var(--theme-cool, #00d2ff) 0%, var(--theme-a3, #3b82f6) 35%, var(--theme-violet-light, #a855f7) 65%, var(--theme-pink, #ec4899) 100%);
  background-size: 200% 100%;
  box-shadow: 0 0 24px color-mix(in srgb, var(--theme-cool, #00d2ff) 30%, transparent), 0 0 36px color-mix(in srgb, var(--theme-violet-light, #a855f7) 20%, transparent);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background-position 0.35s ease;
}

.subscribe-now__submit span {
  transition: transform 0.3s ease;
}

.subscribe-now__submit:hover,
.subscribe-now__submit:focus-visible {
  background-position: 100% 50%;
  box-shadow: 0 0 32px color-mix(in srgb, var(--theme-cool, #00d2ff) 45%, transparent), 0 0 48px color-mix(in srgb, var(--theme-violet-light, #a855f7) 30%, transparent);
  transform: translateY(-1px);
}

.subscribe-now__submit:hover span,
.subscribe-now__submit:focus-visible span {
  transform: translateX(3px);
}

/* Benefits */
.subscribe-now__benefits {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: clamp(24px, 3vw, 32px);
  text-align: left;
}

.subscribe-now__benefit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px clamp(8px, 1.2vw, 14px);
  transition: transform 0.35s ease;
}

.subscribe-now__benefit:hover {
  transform: translateY(-2px);
}

.subscribe-now__benefit-divider {
  width: 1px;
  align-self: stretch;
  min-height: 56px;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--theme-cool, #00d2ff) 18%, transparent) 50%, transparent 100%);
}

.subscribe-now__benefit-icon {
  flex: 0 0 auto;
  transition: filter 0.35s ease;
}

.subscribe-now__benefit--cyan .subscribe-now__benefit-icon img {
  filter: drop-shadow(0 0 8px rgba(0, 163, 255, 0.5));
}

.subscribe-now__benefit--purple .subscribe-now__benefit-icon img {
  filter: drop-shadow(0 0 8px rgba(189, 0, 255, 0.45));
}

.subscribe-now__benefit:hover .subscribe-now__benefit-icon img {
  filter: drop-shadow(0 0 14px color-mix(in srgb, var(--theme-cool, #00d2ff) 65%, transparent));
}

.subscribe-now__benefit--purple:hover .subscribe-now__benefit-icon img {
  filter: drop-shadow(0 0 14px rgba(189, 0, 255, 0.6));
}

.subscribe-now__benefit-title {
  margin: 0 0 4px;
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.subscribe-now__benefit-desc {
  margin: 0;
  font-size: clamp(0.72rem, 0.9vw, 0.8rem);
  line-height: 1.4;
  color: rgba(180, 200, 230, 0.6);
}

.subscribe-now__privacy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  font-size: 0.8rem;
  color: rgba(180, 200, 230, 0.55);
}

.subscribe-now__privacy img {
  filter: drop-shadow(0 0 6px rgba(129, 140, 248, 0.4));
}

.subscribe-now__feedback {
  margin: 12px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
}

.subscribe-now__feedback--error {
  color: #fca5a5;
}

.subscribe-now__feedback--success {
  color: #86efac;
}

.subscribe-now__submit.is-loading {
  opacity: 0.72;
  cursor: wait;
  pointer-events: none;
}

.subscribe-now__input:invalid:not(:placeholder-shown) {
  box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.45);
}

/* Scroll reveal */
[data-sn-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.subscribe-now.is-visible [data-sn-reveal] {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 991px) {
  .subscribe-now__illustration {
    width: min(280px, 50%);
    opacity: 0.35;
  }

  .subscribe-now__benefits {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }

  .subscribe-now__benefit-divider {
    display: none;
  }
}

@media (max-width: 767px) {
  .subscribe-now__illustration {
    display: none;
  }

  .subscribe-now__form-shell {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-radius: 20px;
  }

  .subscribe-now__field {
    width: 100%;
  }

  .subscribe-now__submit {
    width: 100%;
    justify-content: center;
  }

  .subscribe-now__benefits {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .subscribe-now__ambient-canvas,
  .subscribe-now__ambient::after,
  .subscribe-now__glow,
  .subscribe-now__illustration,
  .subscribe-now__title-brand,
  .subscribe-now__form-shell {
    animation: none !important;
  }

  [data-sn-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .subscribe-now__benefit:hover,
  .subscribe-now__submit:hover {
    transform: none;
  }
}
