/* =========================================================
   Enyx Digital — Design System
   ========================================================= */

:root {
  --bg: #101214;
  --bg-alt: #16191c;
  --surface: #1c2023;
  --surface-2: #23282c;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f7f7;
  --text-muted: #a6b0b0;
  --text-faint: #74807f;

  /* Brand: bright cyan/teal -> blue -> mint, per Enyx Digital brand kit */
  --gold: #22e1cf;
  --gold-soft: #8ff2e6;
  --violet: #4f8cfb;
  --violet-soft: #a9c6ff;
  --mint: #b9f7dd;
  --gradient-primary: linear-gradient(115deg, var(--violet) 0%, #22c9d8 50%, var(--gold) 100%);
  --gradient-text: linear-gradient(115deg, var(--gold-soft), var(--violet-soft));
  --gradient-bar: linear-gradient(180deg, var(--mint) 0%, var(--violet) 55%, var(--gold) 100%);

  /* Bright/light section palette */
  --bg-light: #f3fbfa;
  --surface-light: #ffffff;
  --border-light: rgba(15, 30, 30, 0.09);
  --border-light-strong: rgba(15, 30, 30, 0.16);
  --text-on-light: #10201f;
  --text-muted-on-light: #4c5c5b;
  --text-faint-on-light: #71827f;
  --teal-on-light: #0a9f91;

  --radius-sm: 0.6rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2.25rem;

  --shadow-soft: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(34, 225, 207, 0.15), 0 20px 60px -20px rgba(79, 140, 251, 0.35);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --container-pad: 1.25rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at 15% 10%, rgba(79, 140, 251, 0.14), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(34, 225, 207, 0.10), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(79, 140, 251, 0.08), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

main { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0;
}

p { color: var(--text-muted); margin: 0; }

a { text-decoration: none; color: inherit; transition: all 0.25s ease; }

img { max-width: 100%; display: block; }

.container { max-width: 1280px; }

::selection { background: var(--violet); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 10px; border: 2px solid var(--bg); }

/* ---------------- Utility text ---------------- */
.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold-soft);
  display: inline-block;
}

.section { padding: 7rem 0; position: relative; }
.section-sm { padding: 4.5rem 0; }
@media (max-width: 991px) {
  .section { padding: 4.5rem 0; }
  .section-sm { padding: 3rem 0; }
}

.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.section-head.mx-auto { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(2rem, 3.5vw, 2.85rem); }
.section-head .eyebrow { justify-content: flex-start; }
.section-head.mx-auto .eyebrow { justify-content: center; }
.section-head.mx-auto .eyebrow::before { display: none; }
.section-head p { margin-top: 1rem; font-size: 1.08rem; }

.bg-alt { background: var(--bg-alt); }
.bg-surface { background: var(--surface); }

/* ---------------- Buttons ---------------- */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: 100px; }

.btn-gradient-lg, .btn-gradient-sm, .btn-outline-light-custom, .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease, border-color .35s ease;
}

.btn-gradient-lg, .btn-gradient-sm {
  background: var(--gradient-primary);
  background-size: 180% 180%;
  color: #0a0a10;
  box-shadow: 0 10px 30px -10px rgba(79, 140, 251, 0.55);
}
.btn-gradient-sm { padding: 0.72rem 1.4rem; font-size: 0.88rem; }

.btn-gradient-lg:hover, .btn-gradient-sm:hover {
  transform: translateY(-3px);
  background-position: 100% 0;
  box-shadow: 0 16px 40px -10px rgba(34, 225, 207, 0.5);
  color: #0a0a10;
}

.btn-outline-light-custom {
  border-color: var(--border-strong);
  color: var(--text);
  background: transparent;
}
.btn-outline-light-custom:hover {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
  transform: translateY(-3px);
}

.btn-ghost {
  padding: 0.5rem 0;
  color: var(--text);
  gap: 0.5rem;
  border: none;
}
.btn-ghost i { transition: transform 0.3s ease; }
.btn-ghost:hover { color: var(--gold-soft); }
.btn-ghost:hover i { transform: translateX(4px); }

/* ---------------- Preloader ---------------- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.9s cubic-bezier(.76,0,.24,1);
}
#preloader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background-image: radial-gradient(circle at 20% 20%, rgba(79,140,251,0.16), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(34,225,207,0.14), transparent 45%);
  animation: preloaderDrift 6s ease-in-out infinite;
}
@keyframes preloaderDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, 2%) scale(1.05); }
}
#preloader.loaded { transform: translateY(-100%); pointer-events: none; }

.preloader-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; transition: opacity 0.35s ease, transform 0.35s ease; }
#preloader.exiting .preloader-inner { opacity: 0; transform: translateY(-14px); }

.preloader-logo { display: block; margin-bottom: 1.5rem; filter: drop-shadow(0 0 22px rgba(34,225,207,0.25)); }
.preloader-logo-outline {
  stroke-dasharray: 262;
  stroke-dashoffset: 262;
  animation: preloaderDraw 1.1s cubic-bezier(.65,0,.35,1) forwards;
}
.preloader-logo-fill, .preloader-logo-cut { opacity: 0; animation: preloaderFill 0.5s ease forwards; animation-delay: 1.0s; }
.preloader-logo-cut { animation-delay: 1.05s; }
@keyframes preloaderDraw { to { stroke-dashoffset: 0; } }
@keyframes preloaderFill { to { opacity: 1; } }
.preloader-logo { animation: preloaderPulse 2s ease-in-out infinite; animation-delay: 1.6s; }
@keyframes preloaderPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

.preloader-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--gradient-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  opacity: 0; animation: preloaderFill 0.6s ease forwards; animation-delay: 0.3s;
}

.preloader-word-cycle { height: 22px; margin-top: 0.6rem; overflow: hidden; }
.preloader-word-cycle span {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  animation: preloaderWordIn 0.4s ease;
}
@keyframes preloaderWordIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.preloader-progress-row { display: flex; align-items: center; gap: 0.85rem; margin-top: 1.6rem; }
.preloader-bar { width: 180px; height: 3px; background: var(--surface-2); border-radius: 10px; overflow: hidden; }
.preloader-bar-fill { height: 100%; width: 0%; background: var(--gradient-primary); border-radius: 10px; transition: width 0.2s ease-out; }
.preloader-percent {
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 600;
  color: var(--text-muted); min-width: 34px;
}

@media (prefers-reduced-motion: reduce) {
  #preloader, #preloader::before, .preloader-logo, .preloader-logo-outline, .preloader-logo-fill, .preloader-logo-cut, .preloader-brand {
    animation: none !important;
  }
  .preloader-logo-outline { stroke-dashoffset: 0; }
  .preloader-logo-fill, .preloader-logo-cut, .preloader-brand { opacity: 1; }
}

/* Cursor glow (desktop only) */
.cursor-glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 140, 251,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, width 0.4s cubic-bezier(.2,.8,.2,1), height 0.4s cubic-bezier(.2,.8,.2,1), background 0.4s ease;
  display: none;
}
.cursor-glow.cursor-hover {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(34, 225, 207, 0.16), transparent 70%);
}
@media (min-width: 992px) { .cursor-glow { display: block; } }

/* ---------------- Navbar ---------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding-top: 1.25rem; transition: all 0.4s ease; }
.site-navbar { padding: 0.65rem 1.25rem; border-radius: 100px; max-width: 1280px; margin: 0 auto; transition: all 0.4s ease; border: 1px solid transparent; }
.site-header.scrolled { padding-top: 0.6rem; }
.site-header.scrolled .site-navbar {
  background: rgba(10, 10, 16, 0.72);
  backdrop-filter: blur(16px);
  border-color: var(--border);
  box-shadow: var(--shadow-soft);
}

.navbar-brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); }
.brand-mark { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.brand-text { font-size: 1.2rem; font-weight: 600; color: var(--text); }
.section-light .brand-text { color: var(--text-on-light); }

.main-nav { gap: 0.35rem; }
.main-nav .nav-link {
  color: var(--text-muted); font-weight: 500; font-size: 0.92rem;
  padding: 0.5rem 1rem; border-radius: 100px; transition: all 0.3s ease;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--text); background: rgba(255,255,255,0.06); }

.nav-toggler { background: transparent; border: 1px solid var(--border-strong); border-radius: 100px; width: 46px; height: 46px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggler span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

.nav-offcanvas { background: var(--bg-alt); color: var(--text); border-left: 1px solid var(--border); width: min(360px, 85vw); }
.mobile-nav .nav-link { color: var(--text); font-size: 1.15rem; font-family: var(--font-display); padding: 0.6rem 0; border-bottom: 1px solid var(--border); }
.mobile-nav-meta { margin-top: 2rem; color: var(--text-muted); font-size: 0.9rem; }
.mobile-nav-meta p { margin-bottom: 0.5rem; color: var(--text-muted); }
.mobile-nav-meta i { color: var(--gold-soft); margin-right: 0.4rem; }

/* ---------------- Hero ---------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 8rem;
  padding-bottom: 4rem;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.55;
}
.hero-orb-1 { width: 480px; height: 480px; background: var(--violet); top: -120px; right: -100px; }
.hero-orb-2 { width: 380px; height: 380px; background: var(--gold); bottom: -140px; left: -100px; opacity: 0.35; }

/* Hero motion background: canvas constellation (default) or video (when configured) */
.hero-canvas { position: absolute; inset: 0; z-index: 0; opacity: 0.55; }
.hero-video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,18,20,0.55) 0%, rgba(16,18,20,0.78) 60%, var(--bg) 100%);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.5rem 1rem; border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,0.03);
  font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.75rem;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #58e39a; box-shadow: 0 0 12px #58e39a; }

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero p.lead-text { font-size: 1.2rem; max-width: 560px; margin-bottom: 2.25rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 3rem; }

.hero-meta { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-meta strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--text); }
.hero-meta span { font-size: 0.85rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }

.hero-visual { position: relative; perspective: 1200px; }
.hero-visual-tilt { transition: transform 0.25s cubic-bezier(.2,.8,.2,1); transform-style: preserve-3d; will-change: transform; }
.hero-visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); border: 1px solid var(--border); }

/* Magnetic hover buttons */
.magnetic { transition: transform 0.25s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease, background 0.35s ease, color 0.35s ease, border-color .35s ease; }
.hero-float-card {
  position: absolute;
  background: rgba(20,20,31,0.85);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: floatY 5s ease-in-out infinite;
}
.hero-float-card.card-a { top: 12%; left: -8%; }
.hero-float-card.card-b { bottom: 8%; right: -6%; animation-delay: 1.5s; }
.hero-float-card .icon-badge { width: 42px; height: 42px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; color: #0a0a10; font-size: 1.1rem; flex-shrink: 0; }
.hero-float-card strong { display: block; font-size: 0.95rem; color: var(--text); }
.hero-float-card span { font-size: 0.78rem; color: var(--text-faint); }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

@media (max-width: 991px) {
  .hero-float-card { display: none; }
  .hero { text-align: center; padding-top: 7rem; }
  .hero-actions, .hero-meta { justify-content: center; }
  .hero p.lead-text { margin-left: auto; margin-right: auto; }
}

.scroll-cue { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--text-faint); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.scroll-cue .mouse { width: 24px; height: 38px; border: 1px solid var(--border-strong); border-radius: 14px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-cue .mouse span { width: 4px; height: 8px; border-radius: 4px; background: var(--gold-soft); animation: scrollcue 1.6s infinite; }
@keyframes scrollcue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* ---------------- Cards ---------------- */
.card-surface {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.4s ease, box-shadow 0.4s ease;
}
.card-surface:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow-glow); }

/* Service cards */
.service-card { padding: 0; height: 100%; position: relative; overflow: hidden; }
.service-card-media { aspect-ratio: 16/10; overflow: hidden; }
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.service-card:hover .service-card-media img { transform: scale(1.07); }
.service-card-body { padding: 0 1.75rem 2rem; position: relative; }
.service-card .service-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(79, 140, 251,0.12); color: var(--violet-soft); font-size: 1.5rem;
  margin-top: -28px; margin-bottom: 1.25rem; border: 3px solid var(--surface);
  transition: all 0.4s ease; position: relative; z-index: 2;
}
.section-light .service-card .service-icon { border-color: var(--surface-light); }
.service-card:hover .service-icon { background: var(--gradient-primary); color: #0a0a10; transform: rotate(-6deg) scale(1.05); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.service-card p { font-size: 0.96rem; margin-bottom: 1.5rem; }
.service-card .card-link { font-size: 0.88rem; font-weight: 600; color: var(--gold-soft); display: inline-flex; align-items: center; gap: 0.4rem; }
.service-card .card-index { position: absolute; top: 1.5rem; right: 1.75rem; font-family: var(--font-display); font-size: 2.5rem; color: var(--border-strong); }

/* Portfolio cards */
.portfolio-card { overflow: hidden; position: relative; border-radius: var(--radius-lg); }
.portfolio-card .portfolio-media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.portfolio-card .portfolio-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(.2,.8,.2,1); }
.portfolio-card:hover .portfolio-media img { transform: scale(1.08); }
.portfolio-card .portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,8,13,0.92) 0%, rgba(8,8,13,0.3) 55%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem;
}
.portfolio-card .cat-tag { display: inline-block; align-self: flex-start; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.3rem 0.8rem; border-radius: 100px; background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); color: var(--gold-soft); margin-bottom: 0.75rem; }
.portfolio-card h3 { font-size: 1.35rem; margin-bottom: 0.3rem; }
.portfolio-card .portfolio-client { font-size: 0.85rem; color: var(--text-faint); }
.portfolio-card .portfolio-arrow {
  position: absolute; top: 1.5rem; right: 1.5rem; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0; transform: translate(-8px, 8px); transition: all 0.4s ease;
}
.portfolio-card:hover .portfolio-arrow { opacity: 1; transform: translate(0,0); background: var(--gradient-primary); color: #0a0a10; }

.portfolio-filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 3rem; }
.filter-pill { padding: 0.55rem 1.3rem; border-radius: 100px; border: 1px solid var(--border-strong); font-size: 0.88rem; font-weight: 500; color: var(--text-muted); transition: all 0.3s ease; }
.filter-pill:hover, .filter-pill.active { background: var(--gradient-primary); color: #0a0a10; border-color: transparent; }

/* Testimonial */
.testimonial-card { padding: 2.5rem; height: 100%; }
.testimonial-card .stars { color: var(--gold-soft); margin-bottom: 1.25rem; font-size: 0.9rem; letter-spacing: 0.15em; }
.testimonial-card p.quote { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; color: var(--text); margin-bottom: 1.75rem; line-height: 1.55; }
.testimonial-person { display: flex; align-items: center; gap: 0.9rem; }
.testimonial-person img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--border-strong); }
.testimonial-person strong { display: block; font-size: 0.95rem; }
.testimonial-person span { font-size: 0.82rem; color: var(--text-faint); }

/* Clients / logos */
.logo-strip { display: flex; align-items: center; gap: 3.5rem; }
.logo-strip img { height: 34px; width: auto; object-fit: contain; opacity: 0.7; transition: all 0.35s ease; }
.logo-strip img:hover { opacity: 1; transform: scale(1.05); }
.logo-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logo-track { display: flex; align-items: center; gap: 4rem; width: max-content; animation: marquee 28s linear infinite; }
.logo-track img { height: 36px; width: auto; object-fit: contain; opacity: 0.75; transition: all 0.35s ease; flex-shrink: 0; }
.logo-track img:hover { opacity: 1; transform: scale(1.05); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Client name marquee — animated, text-only (no logos) */
.client-marquee {
  overflow: hidden; padding: 1.25rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.client-marquee-track { display: flex; align-items: center; gap: 3rem; width: max-content; animation: marquee 34s linear infinite; }
.client-marquee:hover .client-marquee-track { animation-play-state: paused; }
.client-name {
  display: inline-flex; align-items: center;
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2.15rem); font-weight: 600;
  color: var(--text); white-space: nowrap; opacity: 0.72;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.client-name:hover {
  opacity: 1; transform: translateY(-3px);
  background: var(--gradient-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.client-sep { width: 22px; height: 22px; flex-shrink: 0; opacity: 0.85; animation: spinSlow 9s linear infinite; }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.section-light .client-name { color: var(--text-on-light); }

/* Diagonal services ribbon */
.ribbon-strip { position: relative; overflow: hidden; padding: 3rem 0; background: var(--bg); }
.ribbon-row { position: relative; width: 130%; left: -15%; overflow: hidden; margin: 0.6rem 0; }
.ribbon-row.row-a { transform: rotate(-2.5deg); }
.ribbon-row.row-b { transform: rotate(2.5deg); }
.ribbon-band { padding: 1.15rem 0; overflow: hidden; }
.ribbon-row.row-a .ribbon-band { background: linear-gradient(90deg, var(--violet), var(--gold)); }
.ribbon-row.row-b .ribbon-band { background: linear-gradient(90deg, var(--gold), var(--violet)); }
.ribbon-track { display: flex; align-items: center; width: max-content; }
.ribbon-row.row-a .ribbon-track { animation: ribbonLeft 26s linear infinite; }
.ribbon-row.row-b .ribbon-track { animation: ribbonRight 30s linear infinite; }
.ribbon-item {
  display: flex; align-items: center; gap: 1.75rem;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: #0a0a10; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 0 1.75rem; white-space: nowrap;
}
.ribbon-item i { font-size: 1rem; opacity: 0.7; }
@keyframes ribbonLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ribbonRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 767px) {
  .ribbon-row { width: 220%; left: -60%; }
}

/* Stats */
.stats-band { position: relative; padding: 6rem 0; overflow: hidden; }
.stats-band-bg { position: absolute; inset: 0; z-index: 0; }
.stats-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-band-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,20,0.90), rgba(16,18,20,0.95)); }
.stats-band .container { position: relative; z-index: 1; }
@media (max-width: 991px) { .stats-band { padding: 4.5rem 0; } }
.stat-item { text-align: center; padding: 2rem 1rem; }
.stat-item .stat-icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; background: rgba(34, 225, 207,0.1); color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.stat-number { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--text); font-weight: 600; }
.stat-item span.stat-label { font-size: 0.88rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.06em; }

/* Process */
.process-step { position: relative; padding: 2rem 1.75rem; height: 100%; }
.process-step .step-number { font-family: var(--font-display); font-size: 3rem; color: transparent; -webkit-text-stroke: 1px var(--border-strong); margin-bottom: 1rem; }
.process-step .step-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--gradient-primary); color: #0a0a10; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1.25rem; }
.process-connector { position: absolute; top: 3rem; right: -1.5rem; color: var(--border-strong); font-size: 1.4rem; z-index: 2; }
@media (max-width: 991px) { .process-connector { display: none; } }

/* Why choose us */
.feature-row { display: flex; gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.feature-row:last-child { border-bottom: none; }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(79, 140, 251,0.12); color: var(--violet-soft); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.feature-row h4 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.feature-row p { font-size: 0.92rem; }

/* FAQ / Accordion */
.accordion-custom .accordion-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md) !important; margin-bottom: 1rem; overflow: hidden; }
.accordion-custom .accordion-button { background: transparent; color: var(--text); font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; padding: 1.4rem 1.6rem; box-shadow: none !important; }
.accordion-custom .accordion-button:not(.collapsed) { color: var(--gold-soft); background: rgba(255,255,255,0.02); }
.accordion-custom .accordion-button::after { filter: invert(1) brightness(1.6); }
.accordion-custom .accordion-body { color: var(--text-muted); padding: 0 1.6rem 1.5rem; }

/* Blog */
.blog-card { overflow: hidden; height: 100%; }
.blog-card .blog-media { aspect-ratio: 16/10; overflow: hidden; }
.blog-card .blog-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-media img { transform: scale(1.06); }
.blog-card .blog-body { padding: 1.75rem; }
.blog-meta { display: flex; gap: 1.2rem; font-size: 0.8rem; color: var(--text-faint); margin-bottom: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; line-height: 1.35; }
.blog-tag { display: inline-block; font-size: 0.72rem; padding: 0.25rem 0.7rem; border-radius: 100px; background: rgba(34, 225, 207,0.12); color: var(--gold-soft); text-transform: uppercase; letter-spacing: 0.06em; margin-right: 0.4rem; margin-bottom: 0.4rem; }

/* Contact CTA banner */
.cta-banner { border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); padding: 4rem; position: relative; overflow: hidden; text-align: center; }
.cta-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,18,20,0.55), var(--surface) 75%), radial-gradient(circle at 50% 0%, rgba(79, 140, 251,0.25), transparent 60%); }
.cta-banner > *:not(.cta-banner-bg) { position: relative; z-index: 1; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 6rem 0 0; position: relative; overflow: hidden; z-index: 1; }
.footer-glow { position: absolute; top: -200px; left: 50%; transform: translateX(-50%); width: 700px; height: 400px; background: radial-gradient(circle, rgba(79, 140, 251,0.12), transparent 70%); pointer-events: none; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-bottom: 4.5rem; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.footer-cta h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); max-width: 560px; margin-top: 0.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; padding: 4rem 0; }
.footer-brand-col p { margin: 1.1rem 0 1.4rem; font-size: 0.92rem; max-width: 320px; }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.footer-social a:hover { background: var(--gradient-primary); color: #0a0a10; border-color: transparent; }
.footer-col h6 { color: var(--text); font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.3rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul a { color: var(--text-muted); font-size: 0.92rem; }
.footer-col ul a:hover { color: var(--gold-soft); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--text-muted); font-size: 0.9rem; }
.footer-contact i { color: var(--gold-soft); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.75rem 0; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-faint); flex-wrap: wrap; gap: 1rem; }
.footer-bottom ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; }
.footer-bottom ul a { color: var(--text-faint); }
.footer-bottom ul a:hover { color: var(--gold-soft); }

@media (max-width: 991px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-cta { flex-direction: column; align-items: flex-start; text-align: left; }
}
@media (max-width: 575px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------------- Back to top ---------------- */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
  display: flex; align-items: center; justify-content: center; z-index: 900;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.35s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gradient-primary); color: #0a0a10; border-color: transparent; }

/* ---------------- Toasts ---------------- */
.toast-stack { position: fixed; top: 6.5rem; right: 1.5rem; z-index: 2000; display: flex; flex-direction: column; gap: 0.75rem; max-width: 360px; }
.app-toast { background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 1rem 1.2rem; display: flex; align-items: center; gap: 0.75rem; box-shadow: var(--shadow-soft); font-size: 0.9rem; }
.app-toast-success i { color: #58e39a; }
.app-toast-danger i, .app-toast-warning i { color: #e3a758; }
.toast-close { background: none; border: none; color: var(--text-faint); margin-left: auto; font-size: 1.1rem; line-height: 1; }

/* ---------------- Forms ---------------- */
.form-control-custom, .form-select-custom, textarea.form-control-custom {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  font-family: var(--font-body);
  width: 100%;
}
.form-control-custom:focus, .form-select-custom:focus {
  background: var(--surface);
  border-color: var(--violet-soft);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(79, 140, 251,0.18);
  outline: none;
}
.form-control-custom::placeholder { color: var(--text-faint); }
.form-label-custom { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.5rem; display: block; }
.invalid-feedback-custom { color: #e3697c; font-size: 0.82rem; margin-top: 0.4rem; }

/* Page header (interior pages) */
.page-header { padding: 10rem 0 5rem; position: relative; overflow: hidden; }
.page-header h1 { font-size: clamp(2.2rem, 4.5vw, 3.5rem); }
.breadcrumb-custom { display: flex; gap: 0.5rem; align-items: center; font-size: 0.88rem; color: var(--text-faint); margin-bottom: 1.25rem; }
.breadcrumb-custom a { color: var(--text-faint); }
.breadcrumb-custom a:hover { color: var(--gold-soft); }

/* Team */
.team-card { overflow: hidden; text-align: center; padding-bottom: 1.75rem; }
.team-card .team-media { aspect-ratio: 1/1; overflow: hidden; }
.team-card .team-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, filter 0.6s ease; filter: grayscale(0.4); }
.team-card:hover .team-media img { transform: scale(1.06); filter: grayscale(0); }
.team-card h4 { margin-top: 1.4rem; font-size: 1.1rem; }
.team-card span.role { font-size: 0.85rem; color: var(--gold-soft); }
.team-social { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.9rem; }
.team-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--text-muted); }
.team-social a:hover { background: var(--gradient-primary); color: #0a0a10; border-color: transparent; }

/* Value / why-us icons grid */
.value-card { padding: 2rem; text-align: left; height: 100%; }
.value-card .value-icon { font-size: 1.8rem; color: var(--gold-soft); margin-bottom: 1.2rem; }

/* Job cards */
.job-card { padding: 1.9rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.job-card .job-meta { display: flex; gap: 1.2rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-faint); margin-top: 0.5rem; }
.job-card .job-meta span { display: flex; align-items: center; gap: 0.4rem; }

/* Pagination */
.pagination-custom { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2.5rem; }
.pagination-custom a, .pagination-custom span { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; }
.pagination-custom a:hover, .pagination-custom .active { background: var(--gradient-primary); color: #0a0a10; border-color: transparent; }

/* Misc content pages (privacy/terms) */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--text-muted); margin-bottom: 1rem; }
.prose ul { padding-left: 1.3rem; }

/* 404 */
.error-page { min-height: 90vh; display: flex; align-items: center; text-align: center; }
.error-page .error-code { font-family: var(--font-display); font-size: clamp(6rem, 16vw, 11rem); line-height: 1; background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Reveal helper for non-AOS elements */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: all 0.8s cubic-bezier(.2,.8,.2,1); }
.fade-in-up.in-view { opacity: 1; transform: translateY(0); }

/* ---------------- Bright / Light Sections ----------------
   The site is primarily dark, but selected sections flip to a bright,
   light background for contrast and rhythm (per brand direction). */
.section-light { background: var(--bg-light); color: var(--text-on-light); }
.section-light h1, .section-light h2, .section-light h3,
.section-light h4, .section-light h5, .section-light h6 { color: var(--text-on-light); }
.section-light p { color: var(--text-muted-on-light); }
.section-light .eyebrow { color: var(--teal-on-light); }
.section-light .eyebrow::before { background: var(--teal-on-light); }
.section-light .text-gradient {
  background: linear-gradient(115deg, var(--teal-on-light), var(--violet));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.section-light .card-surface {
  background: var(--surface-light);
  border-color: var(--border-light);
  box-shadow: 0 10px 30px -16px rgba(16, 32, 31, 0.16);
}
.section-light .card-surface:hover {
  border-color: var(--border-light-strong);
  box-shadow: 0 22px 46px -18px rgba(16, 32, 31, 0.24);
}

.section-light .service-card .service-icon { background: rgba(10, 159, 145, 0.10); color: var(--teal-on-light); }
.section-light .service-card:hover .service-icon { background: var(--gradient-primary); color: #0a0a10; }
.section-light .service-card .card-link { color: var(--teal-on-light); }
.section-light .service-card .card-index { color: var(--border-light-strong); }
.section-light .service-card p { color: var(--text-muted-on-light); }

.section-light .feature-row { border-bottom-color: var(--border-light); }
.section-light .feature-row .feature-icon { background: rgba(79, 140, 251, 0.10); color: var(--violet); }
.section-light .feature-row h4 { color: var(--text-on-light); }

.section-light .stat-item .stat-icon { background: rgba(10, 159, 145, 0.10); color: var(--teal-on-light); }
.section-light .stat-number { color: var(--text-on-light); }
.section-light .stat-item span.stat-label { color: var(--text-faint-on-light); }

.section-light .process-step .step-number { -webkit-text-stroke-color: var(--border-light-strong); }
.section-light .process-connector { color: var(--border-light-strong); }

.section-light .accordion-custom .accordion-item { background: var(--surface-light); border-color: var(--border-light); }
.section-light .accordion-custom .accordion-button { color: var(--text-on-light); }
.section-light .accordion-custom .accordion-button:not(.collapsed) { color: var(--teal-on-light); background: rgba(10, 159, 145, 0.06); }
.section-light .accordion-custom .accordion-button::after { filter: none; }
.section-light .accordion-custom .accordion-body { color: var(--text-muted-on-light); }

.section-light .blog-meta { color: var(--text-faint-on-light); }
.section-light .blog-tag { background: rgba(10, 159, 145, 0.10); color: var(--teal-on-light); }

.section-light .btn-outline-light-custom { border-color: var(--border-light-strong); color: var(--text-on-light); }
.section-light .btn-outline-light-custom:hover { border-color: var(--teal-on-light); color: var(--teal-on-light); }
.section-light .btn-ghost { color: var(--text-on-light); }
.section-light .btn-ghost:hover { color: var(--teal-on-light); }

.section-light .filter-pill { border-color: var(--border-light-strong); color: var(--text-muted-on-light); }

.section-light .logo-strip img, .section-light .logo-track img { filter: none; opacity: 0.6; }
.section-light .logo-strip img:hover, .section-light .logo-track img:hover { opacity: 1; }
.section-light .logo-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }

.section-light .testimonial-card .stars { color: var(--teal-on-light); }
.section-light .testimonial-card p.quote { color: var(--text-on-light); }
.section-light .testimonial-person span { color: var(--text-faint-on-light); }

.section-light .team-card span.role { color: var(--teal-on-light); }
.section-light .value-card .value-icon { color: var(--teal-on-light); }

.section-light .job-card .job-meta { color: var(--text-faint-on-light); }

.section-light .breadcrumb-custom, .section-light .breadcrumb-custom a { color: var(--text-faint-on-light); }
.section-light .breadcrumb-custom a:hover { color: var(--teal-on-light); }

.section-light .pagination-custom a, .section-light .pagination-custom span { border-color: var(--border-light-strong); color: var(--text-muted-on-light); }

.section-light .portfolio-card .portfolio-client { color: var(--text-faint-on-light); }
