/* ═══════════════════════════════════════════
   SECTIONS — Section-specific styles
   ═══════════════════════════════════════════ */

/* ─── Zone backgrounds ─── */
.zone-surface {
  background-color: var(--surface-bg);
  color: var(--surface-text);
}

.zone-shallow {
  background-color: var(--shallow-bg);
  color: var(--shallow-text);
}

.zone-deep {
  background-color: var(--deep-bg);
  color: var(--deep-text);
}

.zone-bio {
  background-color: var(--bio-bg);
  color: var(--bio-text);
}

/* ═══════════════ PRELOADER ═══════════════ */
.preloader {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #150C2C;
  z-index: var(--z-preloader);
}

.preloader__icon {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader__fav {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(0,117,190,0.4)) drop-shadow(0 0 50px rgba(0,91,151,0.2));
}

.preloader__text {
  margin-top: var(--space-6);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--neon-cyan);
  letter-spacing: var(--tracking-widest);
  text-transform: none;
  font-weight: var(--weight-bold);
}

.preloader.is-done {
  pointer-events: none;
}

/* ═══════════════ NAVIGATION ═══════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-4) 0;
  transition: all var(--transition-base);
}

.nav__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav.is-on-hero {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid transparent !important;
}

.nav.is-scrolled {
  padding: var(--space-2) 0;
  background: rgba(21, 12, 44, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav.is-hidden {
  transform: translateY(-100%);
}

/* Logo */
.nav__logo {
  position: relative;
  z-index: 2;
  cursor: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity var(--transition-base);
}

.nav__logo:hover .nav__logo-img {
  opacity: 1;
}

/* Nav Links */
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  position: relative;
  cursor: none;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--neon-cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  box-shadow: 0 0 8px rgba(0,229,255,0.3);
}

.nav__link:hover,
.nav__link.is-active {
  color: #fff;
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* CTA Button */
.nav__cta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--surface-bg);
  background: #fff;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--border-radius-pill);
  cursor: none;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.nav__cta:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(0,229,255,0.3);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  cursor: none;
  position: relative;
  z-index: 2;
}

.nav__hamburger-line {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--surface-text);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transform-origin: center;
}

.nav__hamburger.is-open .nav__hamburger-line--1 {
  transform: translateY(8px) rotate(45deg);
}

.nav__hamburger.is-open .nav__hamburger-line--2 {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.is-open .nav__hamburger-line--3 {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--deep-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-mobile-menu);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.nav__mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

.nav__mobile-link {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extra);
  text-transform: none;
  letter-spacing: var(--tracking-wide);
  color: var(--deep-text);
  opacity: 0;
  transform: translateY(30px);
  transition: color var(--transition-fast);
  cursor: none;
}

.nav__mobile-menu.is-open .nav__mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile-link:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0,229,255,0.4);
}

/* ═══════════════ HERO ═══════════════ */
.section-hero {
  position: relative;
  z-index: 2;
  height: 100vh;
  height: 100dvh;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e27 0%, #0f1a3a 35%, #1a0c2e 65%, #150C2C 100%);
}

/* Bottom fade to seamlessly blend into marquee */
.section-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, #150C2C);
  pointer-events: none;
  z-index: 1;
}

/* WebGL Canvas (glass cube) — sits BELOW text overlay so text passes through */
.hero-webgl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Content overlay grid */
.section-hero__overlay {
  position: relative;
  z-index: var(--z-content);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  height: 100dvh;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  pointer-events: none;
}

.section-hero__main {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.section-hero__text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: auto;
}

.section-hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  font-weight: var(--weight-medium);
  line-height: 1.05;
  opacity: 0;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: clamp(0.3rem, 0.8vw, 0.8rem);
  margin-bottom: var(--space-6);
}

.hero-headline-fixed {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wider);
  text-transform: none;
  line-height: 1;
  opacity: 0.9;
}

.hero-morph-text {
  display: inline-block;
  will-change: filter, opacity;
  filter: blur(0px);
}

.hero-morph-stage {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
}

.hero-morph-layer {
  display: inline-block;
  white-space: nowrap;
  transform-origin: center center;
}

.hero-morph-layer.is-next {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
}

.hero-morph-char {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.hero-morph-char__icon {
  display: inline-block;
  height: 0.85em;
  width: auto;
  vertical-align: -0.15em;
  margin: 0 -0.03em;
}

/* Char wrapper for GSAP split animation */
.char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.char-wrap .char {
  display: inline-block;
  will-change: transform, opacity;
}

.section-hero__subheadline {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--surface-text);
  opacity: 0.6;
  margin-bottom: var(--space-6);
}

.section-hero__tags {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  opacity: 0;
}

.section-hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
}

.section-hero__scroll-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
}

.section-hero__scroll-arrow {
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ═══════════════ HERO INTERACTIVE BOTTOM ═══════════════ */

.hero-interact {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  pointer-events: auto;
  opacity: 0;
  width: max(320px, 50vw);
  max-width: 500px;
  isolation: isolate;
  z-index: 20;
}

.hero-interact__dive {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: none;
}

.hero-interact__dive:hover {
  color: rgba(255,255,255,1);
}

.hero-interact__dive-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: none;
}

.hero-interact__dive-arrow {
  animation: heroBounce 1.2s ease-in-out infinite;
}

@keyframes heroBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.hero-interact__or {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.3);
  font-style: italic;
}

/* ─── HelmiesBot Chat ─── */

.hero-chat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
}

.hero-chat__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  color: rgba(255,255,255,0.45);
  text-transform: lowercase;
}

.hero-chat__label strong {
  color: rgba(255,255,255,0.7);
  font-weight: var(--weight-semibold);
}

/* Glowing Input Wrapper */
.hero-chat__input-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 340px;
}

.hero-chat__white,
.hero-chat__border,
.hero-chat__darkBorder,
.hero-chat__glow {
  max-height: 60px;
  max-width: 340px;
  height: 100%;
  width: 100%;
  position: absolute;
  overflow: hidden;
  z-index: -1;
  border-radius: 12px;
  filter: blur(3px);
}

.hero-chat__input {
  background-color: rgba(21, 12, 44, 0.85);
  border: none;
  width: 100%;
  max-width: 327px;
  height: 48px;
  border-radius: 10px;
  color: white;
  padding-inline: 48px 44px;
  font-size: 14px;
  font-family: var(--font-body);
}

.hero-chat__input::placeholder {
  color: #6b6575;
}

.hero-chat__input:focus {
  outline: none;
}

.hero-chat__main {
  position: relative;
  width: 100%;
  max-width: 327px;
}

.hero-chat__main:focus-within > .hero-chat__input-mask {
  display: none;
}

.hero-chat__input-mask {
  pointer-events: none;
  width: 60px;
  height: 18px;
  position: absolute;
  background: linear-gradient(90deg, transparent, #150C2C);
  top: 15px;
  right: 50px;
  left: auto;
}

.hero-chat__pink-mask {
  pointer-events: none;
  width: 25px;
  height: 18px;
  position: absolute;
  background: #cf30aa;
  top: 8px;
  left: 5px;
  filter: blur(18px);
  opacity: 0.8;
  transition: all 2s;
}

.hero-chat__main:hover > .hero-chat__pink-mask {
  opacity: 0;
}

.hero-chat__white {
  max-height: 54px;
  max-width: 333px;
  border-radius: 10px;
  filter: blur(2px);
}

.hero-chat__white::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(83deg);
  position: absolute;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: 0 0;
  filter: brightness(1.4);
  background-image: conic-gradient(
    rgba(0, 0, 0, 0) 0%,
    #a099d8,
    rgba(0, 0, 0, 0) 8%,
    rgba(0, 0, 0, 0) 50%,
    #dfa2da,
    rgba(0, 0, 0, 0) 58%
  );
  transition: all 2s;
}

.hero-chat__border {
  max-height: 51px;
  max-width: 330px;
  border-radius: 11px;
  filter: blur(0.5px);
}

.hero-chat__border::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(70deg);
  position: absolute;
  width: 600px;
  height: 600px;
  filter: brightness(1.3);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    #1c191c,
    #402fb5 5%,
    #1c191c 14%,
    #1c191c 50%,
    #cf30aa 60%,
    #1c191c 64%
  );
  transition: all 2s;
}

.hero-chat__darkBorder {
  max-height: 56px;
  max-width: 338px;
}

.hero-chat__darkBorder::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(82deg);
  position: absolute;
  width: 600px;
  height: 600px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    rgba(0, 0, 0, 0),
    #18116a,
    rgba(0, 0, 0, 0) 10%,
    rgba(0, 0, 0, 0) 50%,
    #6e1b60,
    rgba(0, 0, 0, 0) 60%
  );
  transition: all 2s;
}

/* Hover Rotations */
.hero-chat__input-wrap:hover > .hero-chat__darkBorder::before {
  transform: translate(-50%, -50%) rotate(-98deg);
}
.hero-chat__input-wrap:hover > .hero-chat__glow::before {
  transform: translate(-50%, -50%) rotate(-120deg);
}
.hero-chat__input-wrap:hover > .hero-chat__white::before {
  transform: translate(-50%, -50%) rotate(-97deg);
}
.hero-chat__input-wrap:hover > .hero-chat__border::before {
  transform: translate(-50%, -50%) rotate(-110deg);
}

/* Focus-within Rotations */
.hero-chat__input-wrap:focus-within > .hero-chat__darkBorder::before {
  transform: translate(-50%, -50%) rotate(442deg);
  transition: all 4s;
}
.hero-chat__input-wrap:focus-within > .hero-chat__glow::before {
  transform: translate(-50%, -50%) rotate(420deg);
  transition: all 4s;
}
.hero-chat__input-wrap:focus-within > .hero-chat__white::before {
  transform: translate(-50%, -50%) rotate(443deg);
  transition: all 4s;
}
.hero-chat__input-wrap:focus-within > .hero-chat__border::before {
  transform: translate(-50%, -50%) rotate(430deg);
  transition: all 4s;
}

.hero-chat__glow {
  overflow: hidden;
  filter: blur(30px);
  opacity: 0.4;
  max-height: 110px;
  max-width: 380px;
}

.hero-chat__glow::before {
  content: "";
  z-index: -2;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(60deg);
  position: absolute;
  width: 999px;
  height: 999px;
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    #000,
    #402fb5 5%,
    #000 38%,
    #000 50%,
    #cf30aa 60%,
    #000 87%
  );
  transition: all 2s;
}

.hero-chat__filter-border {
  height: 36px;
  width: 34px;
  position: absolute;
  overflow: hidden;
  top: 6px;
  right: 6px;
  border-radius: 8px;
}

.hero-chat__filter-border::before {
  content: "";
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  position: absolute;
  width: 600px;
  height: 600px;
  filter: brightness(1.35);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-image: conic-gradient(
    rgba(0, 0, 0, 0),
    #3d3a4f,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0) 50%,
    #3d3a4f,
    rgba(0, 0, 0, 0) 100%
  );
  animation: heroInputRotate 4s linear infinite;
}

@keyframes heroInputRotate {
  100% { transform: translate(-50%, -50%) rotate(450deg); }
}

.hero-chat__send-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  height: 38px;
  width: 36px;
  isolation: isolate;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(180deg, #1a1035, #150C2C, #1d1b4b);
  border: 1px solid transparent;
  color: #d6d6e6;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}

.hero-chat__send-btn:hover {
  color: #cf30aa;
  transform: scale(1.05);
}

.hero-chat__search-icon {
  position: absolute;
  left: 16px;
  top: 13px;
  pointer-events: none;
}

/* Chat Response Bubble */
.hero-chat__response {
  width: 100%;
  max-width: 340px;
  margin-top: var(--space-2);
}

.hero-chat__response-inner {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  background: rgba(21, 12, 44, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(160, 153, 216, 0.15);
  border-radius: 12px;
  padding: var(--space-3) var(--space-4);
}

.hero-chat__response-avatar {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1.4;
}

.hero-chat__response-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.hero-chat__response-text .typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: #cf30aa;
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: typingBlink 0.6s step-end infinite;
}

@keyframes typingBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.section-hero__scroll-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: none;
  opacity: 0.6;
  color: var(--neon-cyan);
}

.section-hero__scroll-arrow {
  opacity: 0.6;
  color: var(--neon-cyan);
}

/* ═══════════════ MARQUEE ═══════════════ */
.section-marquee {
  overflow: hidden;
  height: 100vh;
  display: flex;
  align-items: center;
  background: #150C2C;
  border: none;
  padding: 0;
  margin: 0;
  margin-top: -1px;
}

/* Flash transition between marquee and services */
.section-flash {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #76E299;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.section-flash--team {
  background: #e879f9;
}

.section-marquee__text {
  display: flex;
  width: max-content;
  white-space: nowrap;
  gap: 4vw;
  padding-left: 100vw;
  margin: 0;
}

.section-marquee__item {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 10vw, 12rem);
  font-weight: 600;
  line-height: 1.1;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
}

.section-marquee__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2rem, 7vw, 8rem);
  height: clamp(2rem, 7vw, 8rem);
  flex-shrink: 0;
  vertical-align: -110%;
  position: relative;
  top: 0.7em;
}

.section-marquee__icon svg {
  width: 100%;
  height: 100%;
}


/* ═══════════════════════════════════════════════════════════════════
   SERVICES → FOOTER — Rebuilt from scratch
   Premium dark theme with neon accents, gradient borders, ambient glows
   ═══════════════════════════════════════════════════════════════════ */


/* ═══════════════ SERVICES ═══════════════ */

.section-services {
  padding-top: 0;
  padding-bottom: var(--space-24);
  margin-top: 0;
  position: relative;
  overflow: hidden;
  background-color: #0A0618;
}

.section-services__container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

.section-services__intro {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  text-align: center;
  padding-top: clamp(3rem, 15vh, 8rem);
  margin-bottom: var(--space-16);
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─── Accordion ─── */

.svc-accordion {
  display: flex;
  flex-direction: column;
}

/* ─── Row ─── */

.svc-row {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Accent line — sits at top of each row, scales on open */
.svc-row__accent-line {
  position: absolute;
  top: -1px;
  left: 0;
  height: 1px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 2;
}

.svc-row.is-open .svc-row__accent-line {
  transform: scaleX(1);
}

/* Per-service accent colors */
[data-service="web"] .svc-row__accent-line { background: #00b4d8; box-shadow: 0 0 12px rgba(0,180,216,0.3); }
[data-service="form"] .svc-row__accent-line { background: #8B5CF6; box-shadow: 0 0 12px rgba(139,92,246,0.3); }
[data-service="depth"] .svc-row__accent-line { background: #F97316; box-shadow: 0 0 12px rgba(249,115,22,0.3); }
[data-service="mind"] .svc-row__accent-line { background: #EC4899; box-shadow: 0 0 12px rgba(236,72,153,0.3); }
[data-service="growth"] .svc-row__accent-line { background: #0D9488; box-shadow: 0 0 12px rgba(13,148,136,0.3); }
[data-service="bites"] .svc-row__accent-line { background: #F43F5E; box-shadow: 0 0 12px rgba(244,63,94,0.3); }

/* ─── Trigger (clickable header) ─── */

.svc-row__trigger {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  width: 100%;
  padding: var(--space-8) 0;
  background: none;
  border: none;
  color: var(--surface-text);
  cursor: none;
  text-align: left;
  position: relative;
  transition: opacity 0.3s ease;
}

.svc-row__trigger:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Dim other rows when one is open */
.svc-accordion:has(.is-open) .svc-row:not(.is-open) .svc-row__trigger {
  opacity: 0.35;
}

.svc-accordion:has(.is-open) .svc-row:not(.is-open):hover .svc-row__trigger {
  opacity: 0.7;
}

.svc-row__num {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  opacity: 0.35;
  min-width: 32px;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.svc-row.is-open .svc-row__num {
  opacity: 1;
}

[data-service="web"].is-open .svc-row__num { color: #00b4d8; }
[data-service="form"].is-open .svc-row__num { color: #8B5CF6; }
[data-service="depth"].is-open .svc-row__num { color: #F97316; }
[data-service="mind"].is-open .svc-row__num { color: #EC4899; }
[data-service="growth"].is-open .svc-row__num { color: #0D9488; }
[data-service="bites"].is-open .svc-row__num { color: #F43F5E; }

.svc-row__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 3.5rem);
  font-weight: var(--weight-extra);
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.svc-row.is-open .svc-row__title {
  color: #fff;
}

.svc-row__tagline-peek {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: italic;
  opacity: 0.3;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.3s ease;
}

.svc-row.is-open .svc-row__tagline-peek {
  opacity: 0;
}

/* Plus / Minus icon */
.svc-row__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.svc-row__icon-line {
  position: absolute;
  background: rgba(255,255,255,0.4);
  border-radius: 1px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.svc-row__icon-line--h {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}

.svc-row__icon-line--v {
  top: 0;
  left: 50%;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

.svc-row.is-open .svc-row__icon-line--v {
  transform: translateX(-50%) rotate(90deg);
}

.svc-row.is-open .svc-row__icon-line {
  background: rgba(255,255,255,0.7);
}

/* ─── Body (expandable content) ─── */

.svc-row__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-row.is-open .svc-row__body {
  max-height: 600px;
}

.svc-row__content {
  padding: 0 0 var(--space-10) calc(32px + var(--space-6));
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.svc-row.is-open .svc-row__content {
  opacity: 1;
  transform: translateY(0);
}

.svc-row__tagline {
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-style: italic;
  line-height: var(--leading-snug);
  opacity: 0.7;
  margin-bottom: var(--space-4);
  max-width: 560px;
}

.svc-row__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  opacity: 0.45;
  margin-bottom: var(--space-6);
  max-width: 560px;
}

.svc-row__pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

/* ─── Bites specific ─── */

.svc-row__bites-stats {
  display: flex;
  gap: var(--space-6);
  margin-bottom: var(--space-4);
}

.svc-row__bites-stat {
  text-align: center;
}

.svc-row__bites-val {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-extra);
  color: #F43F5E;
  display: block;
  line-height: 1.1;
}

.svc-row__bites-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  opacity: 0.45;
  display: block;
  margin-top: var(--space-1);
}

.svc-row__bites-clients {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.svc-row__bites-clients a {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: #F43F5E;
  opacity: 0.65;
  cursor: none;
  transition: opacity var(--transition-fast);
}

.svc-row__bites-clients a:hover { opacity: 1; }

.svc-row__bites-clients span {
  opacity: 0.2;
  font-size: var(--text-xs);
}


/* ═══════════════ NUMBERS ═══════════════ */

.section-numbers {
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background radial glow */
.section-numbers::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80%;
  background: radial-gradient(
    ellipse at center,
    rgba(168,85,247,0.07) 0%,
    rgba(0,229,255,0.03) 30%,
    transparent 60%
  );
  pointer-events: none;
}

.section-numbers__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: var(--gradient-glow);
  pointer-events: none;
  opacity: 0.25;
}

.section-numbers__headline {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-medium);
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-20);
  position: relative;
  z-index: var(--z-content);
  background: linear-gradient(135deg, var(--deep-text) 30%, var(--neon-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-numbers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: var(--z-content);
}

.section-numbers__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: var(--space-8) 0;
}

/* Decorative top line per item */
.section-numbers__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.section-numbers__value {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: var(--weight-extra);
  line-height: 1;
}

/* Each number gets its own neon color */
.section-numbers__item:nth-child(1) .section-numbers__value,
.section-numbers__item:nth-child(1) .section-numbers__plus {
  color: var(--neon-cyan);
  text-shadow:
    0 0 60px rgba(0,229,255,0.4),
    0 0 120px rgba(0,229,255,0.1);
}

.section-numbers__item:nth-child(2) .section-numbers__value,
.section-numbers__item:nth-child(2) .section-numbers__plus {
  color: var(--neon-green);
  text-shadow:
    0 0 60px rgba(0,255,136,0.4),
    0 0 120px rgba(0,255,136,0.1);
}

.section-numbers__item:nth-child(3) .section-numbers__value,
.section-numbers__item:nth-child(3) .section-numbers__plus {
  color: var(--neon-violet);
  text-shadow:
    0 0 60px rgba(179,102,255,0.4),
    0 0 120px rgba(179,102,255,0.1);
}

.section-numbers__item:nth-child(4) .section-numbers__value,
.section-numbers__item:nth-child(4) .section-numbers__plus {
  color: var(--neon-orange);
  text-shadow:
    0 0 60px rgba(255,107,53,0.4),
    0 0 120px rgba(255,107,53,0.1);
}

.section-numbers__plus {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extra);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.section-numbers__plus.is-visible {
  opacity: 1;
}

.section-numbers__label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: none;
  margin-top: var(--space-4);
  opacity: 0.65;
}

.section-numbers__sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  opacity: 0.3;
  margin-top: var(--space-2);
  max-width: 160px;
  line-height: var(--leading-normal);
}


/* ═══════════════ SELECTED WORK ═══════════════ */

.section-work {
  position: relative;
  overflow: hidden;
}

/* Background ambient orb */
.section-work::before {
  content: '';
  position: absolute;
  top: 25%;
  right: -20%;
  width: 50%;
  height: 40%;
  background: radial-gradient(circle, rgba(0,229,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.section-work__header {
  text-align: center;
  margin-bottom: var(--space-24);
  position: relative;
  z-index: 2;
}

.section-work__headline {
  margin-bottom: var(--space-4);
  background: linear-gradient(135deg, var(--deep-text) 30%, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-work__subheadline {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: var(--weight-regular);
  font-style: italic;
  text-transform: none;
  letter-spacing: var(--tracking-normal);
  opacity: 0.55;
}

/* ─── Work Card ─── */

.card-work {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  margin-bottom: var(--space-24);
  position: relative;
  z-index: 2;
}

.card-work--reversed {
  direction: rtl;
}

.card-work--reversed > * {
  direction: ltr;
}

.card-work__image {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.6s ease, box-shadow 0.6s ease;
}

/* Gradient border on image hover */
.card-work__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius-xl);
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0,229,255,0.25) 0%,
    transparent 35%,
    transparent 65%,
    rgba(168,85,247,0.25) 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;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 3;
}

.card-work:hover .card-work__image {
  border-color: rgba(0,229,255,0.1);
  box-shadow: 0 0 60px rgba(0,229,255,0.05);
}

.card-work:hover .card-work__image::after {
  opacity: 1;
}

.card-work__image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-work:hover .card-work__image-inner {
  transform: scale(1.06);
}

.card-work__image-placeholder {
  opacity: 0.2;
}

.card-work__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(168,85,247,0.2) 0%,
    rgba(0,229,255,0.1) 100%
  );
  transition: opacity 0.7s ease;
  z-index: 2;
}

.card-work:hover .card-work__image-overlay {
  opacity: 0;
}

.card-work__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.card-work__tags {
  display: flex;
  gap: var(--space-2);
}

.card-work__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extra);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.card-work__description {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  opacity: 0.5;
  max-width: 480px;
}

.card-work__stat {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.card-work__stat-value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--weight-extra);
  color: var(--neon-cyan);
  text-shadow: 0 0 30px rgba(0,229,255,0.3);
}

.card-work__stat-label {
  font-size: var(--text-sm);
  opacity: 0.45;
  margin-left: var(--space-3);
}

.card-work__cta {
  color: var(--neon-cyan);
  cursor: none;
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  font-size: var(--text-sm);
  text-transform: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.card-work__cta:hover {
  color: #fff;
  text-shadow: 0 0 15px rgba(0,229,255,0.4);
  gap: var(--space-3);
}


/* ═══════════════ TEAM ═══════════════ */

.section-team {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 100vh;   /* pinned viewport */
  background-color: #0A0618;
}

/* ─── Person Block ─── */

.team-person {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  visibility: hidden;
  will-change: opacity, transform;
}

.team-person.is-active {
  opacity: 1;
  visibility: visible;
}

/* ─── Left Image — full height, flush left ─── */

.team-person__image {
  position: relative;
  flex: 0 0 38%;
  min-height: 100vh;
  overflow: hidden;
}

.team-person__image-inner {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
}

.team-person:hover .team-person__image-inner {
  /* no filter changes */
}

.team-person__image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* No overlay on image edge */
.team-person__image::after {
  display: none;
}

/* ─── Right: Info + Projects ─── */

.team-person__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-16) var(--space-12);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.team-person__name {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-3);
  color: #fff;
}

.team-person__role {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--neon-cyan);
  opacity: 0.7;
  margin-bottom: var(--space-6);
}

/* Pink accents for Nagham */
[data-person="nagham"] .team-person__role {
  color: #EC4899;
}

[data-person="nagham"] .team-person__links a:hover {
  color: #EC4899;
}

[data-person="nagham"] .team-person__project-cta {
  color: #EC4899;
}

[data-person="nagham"] .team-person__project:hover {
  border-color: rgba(236, 72, 153, 0.2);
}

.team-person__desc {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  opacity: 0.45;
  max-width: 480px;
  margin-bottom: var(--space-8);
}

/* ─── Social Links ─── */

.team-person__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.team-person__links a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--surface-text);
  opacity: 0.35;
  cursor: none;
  transition: opacity 0.3s ease, color 0.3s ease;
  text-decoration: none;
}

.team-person__links a:hover {
  opacity: 1;
  color: var(--neon-cyan);
}

.team-person__links a svg {
  flex-shrink: 0;
}

/* ─── Project Cards — Horizontal Scroll Track ─── */

.team-person__projects {
  overflow: hidden;
  width: 100%;
}

.team-person__projects-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-6);
  width: max-content;
  will-change: transform;
}

.team-person__project {
  flex: 0 0 clamp(280px, 22vw, 400px);
  min-width: clamp(280px, 22vw, 400px);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: none;
  text-decoration: none;
  color: var(--surface-text);
  transition: border-color 0.3s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

.team-person__project:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.5);
}

.team-person__project-thumb {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.team-person__project:hover .team-person__project-thumb {
  transform: scale(1.05);
}

.team-person__project-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  padding: var(--space-4) var(--space-4) var(--space-1);
}

.team-person__project-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  opacity: 0.35;
  padding: 0 var(--space-4);
}

.team-person__project-cta {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--neon-cyan);
  opacity: 0;
  padding: var(--space-3) var(--space-4) var(--space-4);
  transition: opacity 0.3s ease;
}

.team-person__project:hover .team-person__project-cta {
  opacity: 0.8;
}


/* ═══════════════ TECH + TESTIMONIALS (combined) ═══════════════ */

.section-tech {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e27 0%, #0f1a3a 35%, #1a0c2e 65%, #150C2C 100%);
}

/* Hero-style animated stripe background */
.tech-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.tech-bg-animated {
  width: 100%;
  height: 100%;
  min-height: 100%;
  position: relative;
  --stripe-color: #000;
  background-image:
    repeating-linear-gradient(
      100deg,
      #000 0%,
      #000 7%,
      transparent 10%,
      transparent 12%,
      #000 16%
    ),
    repeating-linear-gradient(
      100deg,
      #60a5fa 10%,
      #e879f9 15%,
      #60a5fa 20%,
      #5eead4 25%,
      #60a5fa 30%
    );
  background-size: 300%, 200%;
  background-position: 0% 50%, 0% 50%;
  filter: blur(10px) opacity(50%) saturate(200%);
  mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);
  animation: smoothBgMain 60s linear infinite;
}

.tech-bg-animated::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      100deg,
      #000 0%,
      #000 7%,
      transparent 10%,
      transparent 12%,
      #000 16%
    ),
    repeating-linear-gradient(
      100deg,
      #60a5fa 10%,
      #e879f9 15%,
      #60a5fa 20%,
      #5eead4 25%,
      #60a5fa 30%
    );
  background-size: 200%, 100%;
  background-position: 0% 50%, 0% 50%;
  animation: smoothBg 60s linear infinite;
  mix-blend-mode: difference;
}

.section-tech__content {
  position: relative;
  z-index: 2;
}

.section-tech__header {
  text-align: center;
  margin-bottom: var(--space-16);
  position: relative;
  z-index: 2;
}

.section-tech__headline {
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-style: italic;
  text-transform: none;
  font-weight: var(--weight-medium);
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--deep-text) 30%, var(--neon-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tech__subheadline {
  font-family: var(--font-body);
  font-size: var(--text-base);
  opacity: 0.45;
  max-width: 520px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
  color: var(--deep-text);
}

/* ─── Tech Logo Slider ─── */

.section-tech__slider {
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding: var(--space-8) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.section-tech__track {
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 4vw, 5rem);
  width: max-content;
  will-change: transform;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: default;
}

.tech-logo:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.tech-logo svg,
.tech-logo img {
  width: clamp(40px, 5vw, 56px);
  height: clamp(40px, 5vw, 56px);
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.05));
  transition: filter 0.4s ease;
  object-fit: contain;
}

.tech-logo:hover svg,
.tech-logo:hover img {
  filter: drop-shadow(0 0 20px rgba(139,92,246,0.35));
}

.tech-logo span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--deep-text);
  opacity: 0.6;
  letter-spacing: var(--tracking-wide);
  transition: opacity 0.4s ease;
}

.tech-logo:hover span {
  opacity: 1;
}


/* ═══════════════ TESTIMONIALS (inside tech section) ═══════════════ */

.section-tech__testimonials {
  position: relative;
  z-index: 2;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}


  background-clip: text;
}

/* ─── Testimonials Horizontal Slider ─── */

.testimonials-slider {
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding: var(--space-8) 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.testimonials-slider__track {
  display: flex;
  align-items: stretch;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: max-content;
  will-change: transform;
}

/* ─── Liquid Glass Card ─── */

.card-testimonial {
  flex-shrink: 0;
  width: clamp(320px, 38vw, 480px);
  padding: var(--space-8) var(--space-6);
  text-align: left;
  position: relative;
  border-radius: var(--border-radius-xl);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.45s cubic-bezier(0.23, 1, 0.32, 1),
              border-color 0.45s ease;
  overflow: hidden;
}

/* Glass refraction shimmer */
.card-testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.03) 60%,
    transparent 100%
  );
  pointer-events: none;
}

/* Prismatic edge glow */
.card-testimonial::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: inherit;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(96, 165, 250, 0.15),
    rgba(232, 121, 249, 0.12),
    rgba(94, 234, 212, 0.10),
    rgba(251, 146, 60, 0.08),
    rgba(96, 165, 250, 0.15)
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  padding: 1px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.card-testimonial:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 40px rgba(139, 92, 246, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.card-testimonial:hover::after {
  opacity: 1;
}

.card-testimonial__quote-mark {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 3rem + 3vw, 6rem);
  color: var(--neon-violet);
  opacity: 0.2;
  line-height: 0.8;
  margin-bottom: var(--space-3);
  user-select: none;
}

.card-testimonial__text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  line-height: var(--leading-snug);
  margin-bottom: var(--space-8);
  max-width: 100%;
  opacity: 0.85;
}

.card-testimonial__author {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-top: auto;
}

.card-testimonial__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  font-style: normal;
  text-transform: none;
  letter-spacing: var(--tracking-widest);
  color: var(--neon-violet);
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

.card-testimonial__company {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  opacity: 0.35;
}


/* ═══════════════ CONTACT ═══════════════ */

.section-contact {
  position: relative;
  overflow: hidden;
  background: var(--surface-bg);
}

/* Subtle ambient glow */
.section-contact__glow {
  position: absolute;
  top: 50%;
  right: 15%;
  transform: translate(50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(14,165,233,0.06) 0%,
    rgba(14,165,233,0.02) 40%,
    transparent 70%
  );
  pointer-events: none;
}

/* Two-column grid */
.section-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

/* ─── Left Content ─── */
.section-contact__content {
  position: relative;
  z-index: 2;
}

.section-contact__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--surface-accent);
  margin-bottom: var(--space-6);
}

.section-contact__headline {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--weight-light);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--surface-text);
  margin-bottom: var(--space-6);
}

.section-contact__subheadline {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--weight-light);
  font-style: italic;
  color: var(--surface-text);
  opacity: 0.5;
  margin-bottom: var(--space-12);
}

/* Contact details */
.section-contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.section-contact__detail {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--surface-text);
  opacity: 0.6;
  transition: opacity 0.3s ease;
  text-decoration: none;
  cursor: none;
}

a.section-contact__detail:hover {
  opacity: 1;
}

.section-contact__detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: var(--surface-accent);
}

/* ─── Right: Form Card ─── */
.section-contact__card {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--border-radius-xl);
  padding: var(--space-10) var(--space-8);
  box-shadow:
    0 4px 24px rgba(0,0,0,0.04),
    0 1px 3px rgba(0,0,0,0.03);
  transition: box-shadow 0.4s ease;
}

.section-contact__card:hover {
  box-shadow:
    0 8px 40px rgba(0,0,0,0.07),
    0 2px 6px rgba(0,0,0,0.04);
}

.section-contact__form {
  text-align: left;
}

/* ─── Light-mode form overrides ─── */
.section-contact .form-group {
  margin-bottom: var(--space-6);
}

.section-contact .form-input {
  background: transparent;
  border-bottom: 1.5px solid rgba(26,26,46,0.12);
  color: var(--surface-text);
  padding: var(--space-4) 0 var(--space-2);
}

.section-contact .form-input:focus {
  border-bottom-color: var(--surface-accent);
  background: transparent;
}

.section-contact .form-label {
  color: rgba(26,26,46,0.35);
  left: 0;
}

.section-contact .form-group.is-active .form-label,
.section-contact .form-input:focus ~ .form-label,
.section-contact .form-input:not(:placeholder-shown) ~ .form-label {
  color: var(--surface-accent);
  text-shadow: none;
}

.section-contact .form-line {
  background: var(--surface-accent);
  box-shadow: none;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  width: 100%;
  height: 2px;
}

.section-contact .form-input:focus ~ .form-line {
  transform: scaleX(1);
  width: 100%;
}

/* Error state — light mode */
.section-contact .form-group.is-error .form-input {
  border-bottom-color: var(--coral);
}

.section-contact .form-group.is-error .form-line {
  background: var(--coral);
  transform: scaleX(1);
  box-shadow: none;
}

.section-contact .form-group.is-error .form-label {
  color: var(--coral);
}

/* ─── Submit Button ─── */
.section-contact__submit-row {
  display: flex;
  align-items: center;
  margin-top: var(--space-8);
}

.section-contact__submit {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-8);
  background: var(--surface-text);
  color: var(--surface-bg);
  border: none;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-contact__submit:hover {
  background: var(--surface-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14,165,233,0.25);
}

.section-contact__submit-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.section-contact__submit:hover .section-contact__submit-arrow {
  transform: translateX(4px);
}

/* Loading state */
.section-contact__submit.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.section-contact__submit.is-loading .section-contact__submit-text::after {
  content: '...';
  animation: dotPulse 1.2s infinite;
}

@keyframes dotPulse {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Success state */
.section-contact__submit.is-success {
  background: var(--seaweed);
}

/* Error state */
.section-contact__submit.is-error {
  background: var(--coral);
}


/* ═══════════════ FOOTER ═══════════════ */

.footer {
  padding: var(--space-20) 0 var(--space-8);
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Ambient violet glow */
.footer__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

/* ─── Brand ─── */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__logo img {
  height: 32px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.footer__logo:hover img {
  opacity: 1;
}

.footer__tagline {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-style: italic;
  opacity: 0.35;
  letter-spacing: var(--tracking-wide);
}

/* ─── 3-Column Grid ─── */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  opacity: 0.3;
  margin-bottom: var(--space-4);
}

/* Nav links */
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__nav a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--shallow-text);
  opacity: 0.55;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
  cursor: none;
}

.footer__nav a:hover {
  opacity: 1;
  color: var(--neon-cyan);
}

/* Contact links */
.footer__contact-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__contact-links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--shallow-text);
  opacity: 0.55;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
  cursor: none;
}

.footer__contact-links a:hover {
  opacity: 1;
  color: var(--neon-cyan);
}

.footer__location {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  opacity: 0.4;
}

.footer__location svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* Social links */
.footer__socials {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--shallow-text);
  opacity: 0.45;
  cursor: none;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__social:hover {
  opacity: 1;
  color: var(--neon-cyan);
  transform: translateX(4px);
}

.footer__social:hover svg {
  filter: drop-shadow(0 0 8px rgba(0,229,255,0.4));
}

/* ─── Bottom bar ─── */
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08) 20%, rgba(255,255,255,0.08) 80%, transparent);
}

.footer__bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: var(--text-xs);
  opacity: 0.25;
  letter-spacing: var(--tracking-wide);
}

.footer__credit {
  font-size: var(--text-xs);
  opacity: 0.2;
  letter-spacing: var(--tracking-wide);
}

/* ─── Footer Responsive ─── */
@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .footer__bottom-row {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
  .footer {
    text-align: center;
  }
  .footer__brand {
    align-items: center;
  }
  .footer__nav,
  .footer__contact-links,
  .footer__socials {
    align-items: center;
  }
  .footer__location {
    justify-content: center;
  }
}


/* ═══════════════ MORPH SVG (persistent) ═══════════════ */

.morph-svg {
  display: none;
}

.morph-svg__element {
  width: 100%;
  height: 100%;
}

.morph-svg__path {
  fill: var(--neon-cyan);
  transition: fill 1s ease;
}
