/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  /* Brand */
  --red: #e82d24;
  --red-dark: #c4211a;
  --red-glow: rgba(232, 45, 36, 0.18);
  --blue: #1b4fe8;
  --blue-soft: rgba(27, 79, 232, 0.1);

  /* Light Palette */
  --bg: #f8fafc;
  --bg-1: #ffffff;
  --bg-2: #f4f3ef;
  --bg-3: #eeedea;
  --ink: #0d0d0b;
  --ink-2: #3a3a38;
  --ink-3: #787773;
  --ink-4: #b0afa9;
  --line: #e8e7e3;
  --line-2: #d4d3ce;

  /* Utility */
  --lms: #7b3fe4;
  --erp: #1b4fe8;
  --teal: #0c9a93;
  --amber: #d4860a;
  --green: #16a34a;

  /* Shadows */
  --s1: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --s2: 0 4px 12px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.04);
  --s3: 0 8px 24px rgba(0, 0, 0, 0.09), 0 3px 8px rgba(0, 0, 0, 0.05);
  --s4: 0 16px 48px rgba(0, 0, 0, 0.11), 0 6px 16px rgba(0, 0, 0, 0.06);
  --s5: 0 32px 80px rgba(0, 0, 0, 0.14), 0 12px 28px rgba(0, 0, 0, 0.08);

  /* Radii */
  --r1: 8px;
  --r2: 14px;
  --r3: 20px;
  --r4: 28px;
  --r5: 40px;
  --pill: 999px;
}

html.dark {
  --bg: #0f172a;
  /* Match Tailwind slate palette used across other pages */
  --bg-1: #1e293b; /* slate-800 (card surface) */
  --bg-2: #0b1220; /* deep slate (section surface) */
  --bg-3: #334155; /* slate-700 (hover/alt surface) */
  --ink: #e2e8f0; /* slate-200 */
  --ink-2: #cbd5e1; /* slate-300 */
  --ink-3: #94a3b8; /* slate-400 */
  --ink-4: #64748b; /* slate-500 */
  --line: #1e293b; /* slate-800 (borders) */
  --line-2: #334155; /* slate-700 */

  --s1: 0 1px 3px rgba(0, 0, 0, 0.3);
  --s2: 0 4px 12px rgba(0, 0, 0, 0.4);
  --s3: 0 8px 24px rgba(0, 0, 0, 0.5);
  --s4: 0 16px 48px rgba(0, 0, 0, 0.55);
  --s5: 0 32px 80px rgba(0, 0, 0, 0.65);
}

/* ═══════════════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════════════ */
.wrap {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.sect {
  padding-block: clamp(5rem, 9vw, 8rem);
}

/* ═══════════════════════════════════════════════════
   TYPOGRAPHY SCALE
═══════════════════════════════════════════════════ */
.t-overline {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.t-display {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.t-h2 {
  font-size: clamp(1.875rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.1;
  color: var(--ink);
}

.t-h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.t-body {
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ink-3);
}
.t-small {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-3);
}
.t-xs {
  font-size: 0.8125rem;
  color: var(--ink-4);
}

/* Highlight span */
.hi {
  color: var(--red);
}
.hi-blue {
  color: var(--blue);
}

/* ═══════════════════════════════════════════════════
   SHARED COMPONENTS
═══════════════════════════════════════════════════ */

/* Section Header */
.sh {
  margin-bottom: 4rem;
}
.sh.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sh .t-overline {
  margin-bottom: 0.75rem;
}
.sh .t-h2 {
  margin-bottom: 1rem;
}
.sh .t-body {
  max-width: 40rem;
}

/* Pill Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: var(--bg-1);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red-glow);
  animation: blink 2.2s ease-in-out infinite;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--pill);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px var(--red-glow);
}
.btn-red:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 45, 36, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1.5px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--ink-3);
  color: var(--ink);
  background: var(--bg-2);
}

.btn-sm {
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

/* Icon button */
.icon-btn {
  width: 2.625rem;
  height: 2.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill);
  border: 1.5px solid var(--line);
  background: var(--bg-1);
  color: var(--ink-3);
  transition: all 0.2s;
}
.icon-btn:hover {
  border-color: var(--ink-3);
  color: var(--ink);
  background: var(--bg-2);
}

/* Inline arrow link */
.arr-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red);
  transition: gap 0.2s;
}
.arr-link:hover {
  gap: 0.625rem;
}
.arr-link .material-symbols-outlined {
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

/* Background */
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

/* Mesh gradient */
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 55% at 68% 38%,
      rgba(27, 79, 232, 0.07) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 55% 45% at 15% 70%,
      rgba(232, 45, 36, 0.065) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 35% at 85% 80%,
      rgba(123, 63, 228, 0.05) 0%,
      transparent 55%
    );
}
html.dark .hero-mesh {
  background:
    radial-gradient(
      ellipse 70% 55% at 68% 38%,
      rgba(27, 79, 232, 0.14) 0%,
      transparent 65%
    ),
    radial-gradient(
      ellipse 55% 45% at 15% 70%,
      rgba(232, 45, 36, 0.1) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 35% at 85% 80%,
      rgba(123, 63, 228, 0.08) 0%,
      transparent 55%
    );
}

/* Grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0.55;
  mask-image: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    black 30%,
    transparent 100%
  );
}
html.dark .hero-grid-bg {
  opacity: 0.18;
}

/* Noise grain overlay */
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* Hero Layout */
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem 2rem;
  width: 100%;
}

/* Left */
.hero-badge {
  margin-bottom: 2rem;
}
.hero-eyebrow {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.625rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ink);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: normal;
  color: var(--red);
}

.hero-sub {
  font-size: 1.0625rem;
  line-height: 1.74;
  color: var(--ink-3);
  max-width: 30rem;
  margin-bottom: 2.5rem;
}

.hero-btns {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-kpis {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.375rem 2rem;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  box-shadow: var(--s2);
  width: fit-content;
}
.hero-kpi-num {
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}
.hero-kpi-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-top: 0.25rem;
}
.hero-kpi-sep {
  width: 1px;
  height: 2.5rem;
  background: var(--line);
}

/* ─── ORBIT VISUAL ─── */
.orbit-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -4rem;
}
@media screen and (max-width: 768px) {
  .orbit-wrap {
    margin-top: -2rem !important;
    margin-bottom: 1.5rem;
  }
}

.orbit-stage {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Rings */
.o-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(27, 79, 232, 0.18);
}
.o-ring:nth-child(2) {
  inset: 13%;
  border-color: rgba(232, 45, 36, 0.15);
}
.o-ring:nth-child(3) {
  inset: 26%;
  border-color: rgba(123, 63, 228, 0.14);
}

html.dark .o-ring {
  border-color: rgba(255, 255, 255, 0.07);
}
html.dark .o-ring:nth-child(2) {
  border-color: rgba(255, 255, 255, 0.06);
}
html.dark .o-ring:nth-child(3) {
  border-color: rgba(255, 255, 255, 0.05);
}

/* Animated orbit containers */
@keyframes oCW {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes oCCW {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

.ob1 {
  position: absolute;
  inset: 0;
  animation: oCW 30s linear infinite;
}
.ob2 {
  position: absolute;
  inset: 13%;
  animation: oCCW 44s linear infinite;
}
.ob3 {
  position: absolute;
  inset: 26%;
  animation: oCW 20s linear infinite;
}

.cc1 {
  animation: oCCW 30s linear infinite;
}
.cc2 {
  animation: oCW 44s linear infinite;
}
.cc3 {
  animation: oCCW 20s linear infinite;
}

/* Node placement */
.o-node {
  position: absolute;
}
.ob1 .n-t {
  top: -26px;
  left: 50%;
  transform: translateX(-50%);
}
.ob1 .n-b {
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
}
.ob2 .n-l {
  top: 50%;
  left: -26px;
  transform: translateY(-50%);
}
.ob2 .n-r {
  top: 50%;
  right: -26px;
  transform: translateY(-50%);
}
.ob3 .n-t {
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
}
.ob3 .n-b {
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
}

/* Icon chip */
.o-chip {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--bg-1);
  border: 1px solid var(--line);
  box-shadow: var(--s3);
  color: var(--blue);
  font-size: 22px;
  transition: box-shadow 0.3s;
}
.o-chip:hover {
  box-shadow: var(--s5);
}

.ob3 .o-chip {
  width: 44px;
  height: 44px;
  font-size: 18px;
  border-radius: 11px;
}

/* Core */
.o-core {
  position: relative;
  z-index: 5;
  width: clamp(120px, 12vw, 150px);
  height: clamp(120px, 12vw, 150px);
  border-radius: 50%;
  /* Dark circular chip that contrasts in both themes */
  background: #020617; /* slate-950 */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 0 80px rgba(27, 79, 232, 0.22),
    0 0 160px rgba(232, 45, 36, 0.1),
    var(--s5);
}

.o-core-aura {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(27, 79, 232, 0.35),
    rgba(232, 45, 36, 0.3),
    rgba(123, 63, 228, 0.35),
    rgba(27, 79, 232, 0.35)
  );
  filter: blur(10px);
  opacity: 0.5;
  animation: oCW 10s linear infinite;
}

.o-core-text {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: #e5e7eb; /* light gray by default */
}
html.dark .o-core-text {
  color: var(--ink);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-outer {
  position: relative;
  overflow: hidden;
  padding-block: 2rem;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

/* section spacing */
#clients {
  padding: 80px 0;
  text-align: center;
}

/* title */
.clients-head {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e82d24;
  margin-bottom: 40px;
}

/* marquee container */
.marquee {
  position: relative;
  overflow: hidden;
}

/* fade edges (premium effect) */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 2;
}

.marquee::before {
  left: 0;
  background: linear-gradient(to right, #92a4cd, transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(to right, #92a4cd, transparent);
}

/* scrolling track */
.marquee-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: scroll 35s linear infinite;
}

/* pause on hover */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* logos */
.marquee-track img {
  height: 40px;
  width: auto;
  opacity: 0.9;
  filter: grayscale(0%);
  transition: all 0.35s ease;
}

/* hover effect */
.marquee-track img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.15);
}

/* animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.clients-head {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #e82d24;
  margin-bottom: 3rem;
}

#clients {
  padding-block: 6rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
html.dark .o-chip {
  color: var(--ink);
}

/* connector lines */

.connector-line {
  stroke: rgba(148, 163, 184, 0.35);
  stroke-width: 2;
  stroke-dasharray: 6;
  animation: flow 4s linear infinite;
}

@keyframes flow {
  to {
    stroke-dashoffset: -12;
  }
}

/* ═══════════════════════════════════════════════════
   GLANCE STRIP
═══════════════════════════════════════════════════ */

.glass-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: 0.35s;
}

.dark .glass-card {
  background: rgba(17, 25, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0, 255, 0, 0.15);
  border-color: #00ff00;
}

/* hub glow */

.hub-glow {
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.25);
}

/* ═══════════════════════════════════════════════════
   GLANCE STRIP
═══════════════════════════════════════════════════ */
#glance {
  padding-block: 0 5.5rem;
}

.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  overflow: hidden;
  box-shadow: var(--s2);
}

.glance-item {
  background: var(--bg-1);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: background 0.2s;
  position: relative;
}
.glance-item:hover {
  background: var(--bg-2);
}

.glance-icon-wrap {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
}

.gi-0 .glance-icon-wrap {
  background: rgba(232, 45, 36, 0.08);
  color: var(--red);
}
.gi-1 .glance-icon-wrap {
  background: rgba(12, 154, 147, 0.08);
  color: var(--teal);
}
.gi-2 .glance-icon-wrap {
  background: rgba(123, 63, 228, 0.08);
  color: var(--lms);
}
.gi-3 .glance-icon-wrap {
  background: rgba(27, 79, 232, 0.08);
  color: var(--blue);
}

.glance-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.glance-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ═══════════════════════════════════════════════════
   STATS BAND
═══════════════════════════════════════════════════ */
#stats {
  background: var(--ink);
  padding-block: 4.5rem;
}
html.dark #stats {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 3rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
html.dark .stat-item + .stat-item::before {
  background: var(--line);
}

.stat-n {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-l {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
html.dark .stat-l {
  color: var(--ink-3);
}

/* ═══════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════ */
#services {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.svc-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 2rem 1.875rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--s1);
  transition:
    border-color 0.25s,
    box-shadow 0.3s,
    transform 0.3s;
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.svc-card:hover {
  border-color: var(--red);
  box-shadow:
    var(--s4),
    0 0 0 1px var(--red);
  transform: translateY(-4px);
}
.svc-card:hover::before {
  opacity: 1;
}

.svc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--r2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: rgba(232, 45, 36, 0.08);
  color: var(--red);
  margin-bottom: 1.375rem;
  transition: background 0.25s;
}
.svc-card:hover .svc-icon {
  background: rgba(232, 45, 36, 0.14);
}

.svc-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.625rem;
  letter-spacing: -0.01em;
}
.svc-desc {
  font-size: 0.875rem;
  line-height: 1.68;
  color: var(--ink-3);
  flex: 1;
  margin-bottom: 1.375rem;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.375rem;
}
.svc-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.625rem;
  border-radius: var(--pill);
  background: rgba(232, 45, 36, 0.06);
  color: var(--red);
  border: 1px solid rgba(232, 45, 36, 0.14);
}

/* ═══════════════════════════════════════════════════
   ABOUT / WHO WE ARE
═══════════════════════════════════════════════════ */
#about {
  background: var(--bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.125rem;
  margin-top: 2.5rem;
}

.ab-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 1.75rem;
  box-shadow: var(--s1);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.ab-card:hover {
  box-shadow: var(--s3);
  transform: translateY(-2px);
}

.ab-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.125rem;
}
.ab-icon-red {
  background: rgba(232, 45, 36, 0.08);
  color: var(--red);
}
.ab-icon-lms {
  background: rgba(123, 63, 228, 0.08);
  color: var(--lms);
}

.ab-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.625rem;
}
.ab-card-text {
  font-size: 0.875rem;
  line-height: 1.68;
  color: var(--ink-3);
}

/* Values strip */
.values-strip {
  margin-top: 2.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.value-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--pill);
  background: var(--bg-1);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: var(--s1);
}
.value-chip .material-symbols-outlined {
  font-size: 1rem;
  color: var(--red);
}

/* ═══════════════════════════════════════════════════
   CORE EXPERTISE
═══════════════════════════════════════════════════ */
#expertise {
  background: var(--bg);
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.exp-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 2rem 1.5rem 1.875rem;
  text-align: center;
  box-shadow: var(--s1);
  transition:
    border-color 0.25s,
    box-shadow 0.3s,
    transform 0.3s;
  position: relative;
  overflow: hidden;
}

.exp-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.exp-card:hover::after {
  transform: scaleX(1);
}
.exp-card:hover {
  border-color: rgba(232, 45, 36, 0.3);
  box-shadow: var(--s4);
  transform: translateY(-3px);
}

.exp-icon-bg {
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.875rem;
  color: var(--ink-4);
  transition:
    background 0.25s,
    color 0.25s;
}
.exp-card:hover .exp-icon-bg {
  background: rgba(232, 45, 36, 0.08);
  color: var(--red);
}

.exp-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.exp-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-3);
}

/* ═══════════════════════════════════════════════════
   PRODUCTS
═══════════════════════════════════════════════════ */
#products {
  background: var(--bg-2);
}

.prod-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.prod-card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r4);
  overflow: hidden;
  box-shadow: var(--s2);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}
.prod-card:hover {
  box-shadow: var(--s5);
  transform: translateY(-5px);
}

.prod-head {
  position: relative;
  height: 15rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.prod-head-lms {
  background: linear-gradient(
    145deg,
    rgba(123, 63, 228, 0.1) 0%,
    rgba(123, 63, 228, 0.03) 100%
  );
}
.prod-head-erp {
  background: linear-gradient(
    145deg,
    rgba(27, 79, 232, 0.1) 0%,
    rgba(27, 79, 232, 0.03) 100%
  );
}

.prod-head-glow {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  filter: blur(50px);
}
.prod-head-lms .prod-head-glow {
  background: rgba(123, 63, 228, 0.18);
}
.prod-head-erp .prod-head-glow {
  background: rgba(27, 79, 232, 0.18);
}

.prod-bg-icon {
  position: absolute;
  right: 1.75rem;
  top: 1.5rem;
  font-size: 6rem !important;
  opacity: 0.06;
}
.prod-head-lms .prod-bg-icon {
  color: var(--lms);
}
.prod-head-erp .prod-bg-icon {
  color: var(--erp);
}

.prod-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--pill);
  margin-bottom: 0.875rem;
}
.prod-pill-lms {
  background: rgba(123, 63, 228, 0.1);
  color: var(--lms);
  border: 1px solid rgba(123, 63, 228, 0.2);
}
.prod-pill-erp {
  background: rgba(27, 79, 232, 0.1);
  color: var(--erp);
  border: 1px solid rgba(27, 79, 232, 0.2);
}

.prod-name {
  font-size: 2.375rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.prod-tagline {
  font-size: 0.9375rem;
  font-style: italic;
  font-weight: 500;
  margin-top: 0.4rem;
}
.prod-head-lms .prod-tagline {
  color: rgba(123, 63, 228, 0.7);
}
.prod-head-erp .prod-tagline {
  color: rgba(27, 79, 232, 0.7);
}

html.dark .prod-head-lms .prod-tagline {
  color: rgba(196, 168, 255, 0.7);
}
html.dark .prod-head-erp .prod-tagline {
  color: rgba(147, 174, 255, 0.7);
}

.prod-body {
  padding: 2.25rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.prod-desc {
  font-size: 0.9375rem;
  line-height: 1.72;
  color: var(--ink-3);
}

.prod-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.prod-feats li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-2);
}
.prod-feats li .material-symbols-outlined {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.prod-feats-lms li .material-symbols-outlined {
  color: var(--lms);
}
.prod-feats-erp li .material-symbols-outlined {
  color: var(--erp);
}

.prod-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.9375rem;
  border-radius: var(--r2);
  font-weight: 700;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.prod-cta:hover {
  transform: translateY(-1px);
}
.prod-cta-lms {
  background: var(--lms);
  color: #fff;
  box-shadow: 0 4px 16px rgba(123, 63, 228, 0.25);
}
.prod-cta-lms:hover {
  background: #6d28d9;
  box-shadow: 0 8px 24px rgba(123, 63, 228, 0.35);
}
.prod-cta-erp {
  background: var(--erp);
  color: #fff;
  box-shadow: 0 4px 16px rgba(27, 79, 232, 0.25);
}
.prod-cta-erp:hover {
  background: #1340c4;
  box-shadow: 0 8px 24px rgba(27, 79, 232, 0.35);
}

/* ═══════════════════════════════════════════════════
   TRUSTED BY (MARQUEE)
═══════════════════════════════════════════════════ */
#clients {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 3.5rem;
  overflow: hidden;
}

.clients-head {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e82d24;
  margin-bottom: 2.5rem;
}

.marquee-outer {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 12%,
    black 88%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 12%,
    black 88%,
    transparent
  );
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════ */
#testimonials {
  background: var(--bg-2);
}

.swiper {
  padding-bottom: 3.5rem !important;
}
.swiper-slide {
  height: auto !important;
}

.t-card {
  height: 100%;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--s1);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.t-card:hover {
  box-shadow: var(--s3);
  transform: translateY(-2px);
}

.t-stars {
  display: flex;
  gap: 0.2rem;
  color: #f59e0b;
  margin-bottom: 1.25rem;
}
.t-stars .material-symbols-outlined {
  font-size: 1.05rem;
  font-variation-settings: "FILL" 1;
}

.t-quote {
  font-size: 0.9375rem;
  line-height: 1.75;
  font-style: italic;
  color: var(--ink-3);
  flex: 1;
  margin-bottom: 1.5rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}
.t-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: cover;
}
.t-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}
.t-role {
  font-size: 0.8rem;
  color: var(--ink-4);
  margin-top: 0.1rem;
}

.swiper-pagination-bullet {
  background: var(--ink-4) !important;
  opacity: 0.4 !important;
}
.swiper-pagination-bullet-active {
  background: var(--red) !important;
  opacity: 1 !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--ink) !important;
  width: 2.625rem !important;
  height: 2.625rem !important;
  background: var(--bg-1);
  border: 1.5px solid var(--line);
  border-radius: var(--pill);
  box-shadow: var(--s2);
  transition: box-shadow 0.2s;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  box-shadow: var(--s3);
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 0.75rem !important;
  font-weight: 200 !important;
}

/* ═══════════════════════════════════════════════════
   TRUST / WHO IT'S FOR
═══════════════════════════════════════════════════ */
#trust {
  background: var(--ink);
  padding-block: clamp(5rem, 9vw, 8rem);
}
html.dark #trust {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.trust-left-title {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 2.25rem;
}
html.dark .trust-left-title {
  color: var(--ink);
}

.aud-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aud-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.125rem;
  border-radius: var(--r2);
  transition: background 0.2s;
  cursor: default;
}
.aud-item:hover {
  background: rgba(255, 255, 255, 0.04);
}
html.dark .aud-item:hover {
  background: var(--bg-3);
}

.aud-icon {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}
.aud-icon-b {
  background: rgba(27, 79, 232, 0.18);
  color: #7ba3ff;
}
.aud-icon-v {
  background: rgba(123, 63, 228, 0.18);
  color: #c4a8ff;
}
.aud-icon-t {
  background: rgba(12, 154, 147, 0.18);
  color: #5ee8e2;
}

.aud-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}
.aud-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}
html.dark .aud-name {
  color: var(--ink);
}
html.dark .aud-desc {
  color: var(--ink-3);
}

/* Metrics card */
.metrics-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r4);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
}
html.dark .metrics-card {
  background: var(--bg-3);
  border-color: var(--line);
}

.metrics-card-glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(232, 45, 36, 0.14);
  border-radius: 50%;
  filter: blur(60px);
}

.metrics-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 1;
}
html.dark .metrics-title {
  color: var(--ink);
}

.metric-row {
  position: relative;
  z-index: 1;
  padding-block: 1.625rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
html.dark .metric-row {
  border-color: var(--line);
}
.metric-row:first-of-type {
  padding-top: 0;
}
.metric-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-num {
  font-size: 2.625rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.metric-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.55;
}
html.dark .metric-desc {
  color: var(--ink-3);
}

/* ═══════════════════════════════════════════════════
   HOW IT WORKS / PROCESS
═══════════════════════════════════════════════════ */
#process {
  background: var(--bg);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line) 20%,
    var(--line) 80%,
    transparent
  );
  z-index: 0;
}

.proc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.proc-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--bg-1);
  border: 1.5px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.01em;
  margin-bottom: 1.375rem;
  box-shadow: var(--s2);
  transition:
    background 0.25s,
    border-color 0.25s;
}
.proc-step:hover .proc-num {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.proc-icon {
  width: 3.75rem;
  height: 3.75rem;
  border-radius: var(--r2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  color: var(--ink-3);
  margin-bottom: 1.25rem;
  transition:
    background 0.25s,
    color 0.25s;
}
.proc-step:hover .proc-icon {
  background: rgba(232, 45, 36, 0.08);
  color: var(--red);
}

.proc-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.proc-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-3);
}

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
#contact {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.ct-eyebrow {
  margin-bottom: 0.75rem;
}
.ct-title {
  font-size: clamp(1.875rem, 3vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.ct-desc {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-3);
  margin-bottom: 2.5rem;
}

.ct-info {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.ct-info-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.ct-info-icon {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: var(--r2);
  background: rgba(232, 45, 36, 0.08);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.ct-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 0.2rem;
}
.ct-info-val {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink-2);
}

/* Form */
.form-wrap {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--r4);
  padding: 2.75rem;
  box-shadow: var(--s2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-row.single {
  grid-template-columns: 1fr;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.f-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

.f-input,
.f-select,
.f-textarea {
  width: 100%;
  padding: 0.8125rem 1.125rem;
  border-radius: var(--r2);
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9375rem;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.f-input::placeholder,
.f-textarea::placeholder {
  color: var(--ink-4);
}
.f-input:focus,
.f-select:focus,
.f-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(232, 45, 36, 0.08);
}

.f-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0a098' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.f-textarea {
  resize: vertical;
  min-height: 130px;
}

.f-submit {
  width: 100%;
  padding: 1.0625rem;
  background: var(--red);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: var(--r2);
  cursor: pointer;
  box-shadow: 0 4px 16px var(--red-glow);
  transition: all 0.2s;
  margin-top: 0.5rem;
}
.f-submit:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(232, 45, 36, 0.3);
}
.f-submit:active {
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
#footer {
  background: var(--bg-1);
  padding-block: 4rem 2rem;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

html.dark #footer {
  background: #020617; /* Deeper black for premium feel */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 85rem;
  margin-inline: auto;
  padding-inline: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; /* Five columns, logo col slightly wider */
    gap: 2rem;
  }
}

.footer-logo-area img {
  height: 3rem;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.footer-logo-area img:hover {
  transform: scale(1.05);
}

.footer-desc {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 22rem;
  margin-top: 0.5rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.f-social-link {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 14px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.f-social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: -1;
}

.f-social-link:hover {
  color: white !important;
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(232, 45, 36, 0.25);
}

.f-social-link:hover::before {
  transform: translateY(0);
}

.f-social-link i {
  transition: transform 0.4s ease;
}

.f-social-link:hover i {
  transform: scale(1.1);
  color: #e82d24;
}

.footer-col-h {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  position: relative;
}

.footer-col-h::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.5rem;
  width: 1.5rem;
  height: 2px;
  background: var(--primary);
  border-radius: var(--pill);
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-link {
  font-size: 0.9375rem;
  color: var(--ink-3);
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  color: var(--ink-3);
  font-size: 0.9375rem;
}

.footer-contact-icon {
  color: var(--primary);
  font-size: 1.25rem !important;
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--ink-4);
}

.footer-legal-links {
  display: flex;
  gap: 2rem;
}

.footer-legal-link {
  font-size: 0.875rem;
  color: var(--ink-4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-link:hover {
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════════ */
.sr {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.sr.visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-d1 {
  transition-delay: 0.08s;
}
.sr-d2 {
  transition-delay: 0.16s;
}
.sr-d3 {
  transition-delay: 0.24s;
}
.sr-d4 {
  transition-delay: 0.32s;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .glance-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .exp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .prod-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin-inline: auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .nav-center {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-cta-desk {
    display: none;
  }
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .process-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-block: 2.75rem 2.25rem;
    row-gap: 2.5rem;
  }
  .orbit-wrap {
    margin-top: 1.5rem;
  }
  .orbit-stage {
    width: min(360px, 85vw);
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stat-item + .stat-item::before {
    display: none;
  }
  .glance-grid {
    grid-template-columns: 1fr;
    background: none;
    border: none;
    gap: 1px;
  }
  .glance-item {
    border: 1px solid var(--line);
    border-radius: var(--r2);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .about-card-grid {
    grid-template-columns: 1fr;
  }
  .exp-grid {
    grid-template-columns: 1fr 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .exp-grid {
    grid-template-columns: 1fr;
  }
  .hero-kpis {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .hero-kpi-sep {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════
   FLOATING ACTION BUTTONS
═══════════════════════════════════════════════════ */
.floating-actions {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  /* Removed gap to allow smooth push-up animation */
}

.fab-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.fab-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.fab-whatsapp {
  background: #25d366;
  order: 1; /* WhatsApp is always on top of the arrow */
}

.fab-whatsapp:hover {
  background: #20ba5a;
}
.fa-whatsapp {
  font-size: 1.5rem !important;
}

.fab-scroll-top {
  background: var(--primary);
  background: #3160ed;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  order: 2; /* Arrow is always at the bottom */
  max-height: 0;
  margin-top: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  overflow: hidden;
}

.fab-scroll-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  max-height: 3.5rem;
  margin-top: 1rem;
  transform: translateY(0);
}

.fab-scroll-top:hover {
  background: #1b4fe8;
  transform: scale(1.1) translateY(-5px);
}

.fab-btn .material-symbols-outlined {
  font-size: 1.5rem !important;
}
