/* ═══════════════════════════════════════════════════════════════
   iScaleweb Solutions — main.css
   Premium Custom WordPress Theme
   Dark-first design system
═══════════════════════════════════════════════════════════════ */

/* ── 1. DESIGN TOKENS ───────────────────────────────────────── */
:root {
  /* Colors */
  --color-bg: #030712;
  /* Premium midnight dark blue-black */
  --color-surface: #0B132B;
  /* Rich Slate Navy - matches logo profile */
  --color-surface-2: #1C2541;
  /* Secondary slate navy */
  --color-border: rgba(255, 255, 255, 0.05);
  --color-border-hover: rgba(255, 255, 255, 0.12);

  --color-primary: #0066FF;
  /* Electric Blue (from logo gradient) */
  --color-primary-hover: #0052CC;
  --color-primary-glow: rgba(0, 102, 255, 0.15);
  --color-secondary: #00C3FF;
  /* Electric Cyan (from logo accent) */
  --color-accent: #00D3FF;
  /* Vivid Cyan */

  --color-text: #F8FAFC;
  /* Warm White */
  --color-text-muted: #94A3B8;
  /* Slate gray */
  --color-text-subtle: #475569;

  --color-success: #00E676;
  /* Vibrant Neon Green */
  --color-white: #FFFFFF;

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-alt: 'Space Grotesk', sans-serif;
  --font-jakarta: 'Plus Jakarta Sans', sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;

  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(1.25rem, 5vw, 2.5rem);

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px var(--color-primary-glow);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 600ms;

  /* Sections */
  --section-py: clamp(5rem, 10vw, 8rem);
}

/* ── 2. RESET & BASE ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  /* Lenis handles this */
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-normal);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-surface-2);
  border-radius: 2px;
}

/* Selection */
::selection {
  background: rgba(79, 70, 229, 0.3);
  color: var(--color-white);
}

/* ── 3. SCROLL PROGRESS BAR ─────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ── 4. CURSOR ──────────────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
}

.cursor__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--duration-fast) var(--ease-out),
    background var(--duration-fast);
}

.cursor__ring {
  position: absolute;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(79, 70, 229, 0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    border-color 0.3s,
    transform 0.12s var(--ease-out);
}

body.cursor-hover .cursor__ring {
  width: 56px;
  height: 56px;
  border-color: rgba(79, 70, 229, 0.6);
}

body.cursor-hover .cursor__dot {
  transform: translate(-50%, -50%) scale(0.5);
}

@media (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ── 5. LAYOUT UTILITIES ─────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-5);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
}

.section-body {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: var(--space-5);
}

.section-intro {
  max-width: 680px;
  margin-bottom: var(--space-16);
}

/* ── 6. BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: 0.01em;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: var(--text-base);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 0 0 0 var(--color-primary-glow);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.btn--ghost:hover {
  border-color: var(--color-border-hover);
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.03);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-hover);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.05);
}

/* Magnetic button base */
.magnetic-btn {
  will-change: transform;
}

/* ── 7. HEADER ──────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-5) 0;
  transition: background var(--duration-slow) var(--ease-out),
    padding var(--duration-normal) var(--ease-out),
    box-shadow var(--duration-normal);
}

.site-header.scrolled {
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: var(--space-4) 0;
  box-shadow: 0 1px 0 var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

/* Logo */
/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.site-logo:hover .logo-mark {
  transform: scale(1.02);
}

.logo-image-svg {
  display: block;
  width: auto;
  height: 36px;
  max-width: 100%;
}

/* Nav */
.site-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
  text-decoration: none;
}

.nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link--cta {
  background: rgba(79, 70, 229, 0.12);
  color: var(--color-primary);
  border: 1px solid rgba(79, 70, 229, 0.25);
  padding: var(--space-2) var(--space-5);
}

.nav-link--cta:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: transparent;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform var(--duration-normal) var(--ease-out),
    opacity var(--duration-normal);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── 8. HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 82vh; /* Balanced, tighter height */
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: var(--space-12);
  overflow: hidden;
}

/* Background elements */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-image: 
    linear-gradient(to right, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.45) 55%, rgba(3, 7, 18, 0.85) 100%),
    url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.65; /* Slightly muted for perfect copy contrast */
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 40%, transparent 100%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.18) 0%, transparent 70%);
  top: -200px;
  left: -100px;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  top: 100px;
  right: 10%;
  animation: orbFloat 15s ease-in-out infinite alternate-reverse;
}

.hero__noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

@keyframes orbFloat {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, 20px) scale(1.06);
  }
}

/* Hero layout */
.hero .container {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr; /* Added width to copy side to reduce wrapping */
  gap: var(--space-12);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Badge */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--color-success);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.05em;
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-8);
}

.badge__dot {
  width: 7px;
  height: 7px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
  }
}

/* Heading */
.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.5rem); /* Tighter, more balanced size */
  font-weight: var(--weight-extrabold);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.hero__heading-line {
  display: block;
}

.hero__heading-line--accent {
  background: linear-gradient(135deg, #818CF8 0%, #A78BFA 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subline */
.hero__subline {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 50ch;
  margin-bottom: var(--space-8);
}

/* Actions */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-12);
}

/* Stats */
.hero__stats {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.hero__stat {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-normal);
  white-space: nowrap;
}

.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: var(--color-border);
}

/* Visual / Hero Tech Card */
.hero__visual {
  position: relative;
}

/* ── HERO TECH CARD ─────────────────────────────────────────── */
.hero__tech-card {
  position: relative;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(79, 70, 229, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}

.tech-card__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  border-radius: var(--radius-xl);
  pointer-events: none;
}

.tech-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-8);
  position: relative;
  z-index: 1;
}

.tech-card__title {
  font-family: var(--font-alt);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.tech-card__subtitle {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-subtle);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tech-card__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
  z-index: 1;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.tech-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--duration-normal) var(--ease-spring);
}

.tech-item__icon--blue {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.tech-item__icon--pink {
  background: linear-gradient(135deg, #EC4899, #BE185D);
}

.tech-item__icon--green {
  background: linear-gradient(135deg, #10B981, #047857);
}

.tech-item__icon--purple {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
}

.tech-item__icon--cyan {
  background: linear-gradient(135deg, #06B6D4, #0E7490);
}

.tech-item__icon--orange {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.tech-item:hover .tech-item__icon {
  transform: scale(1.1) rotate(-4deg);
}

.tech-item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.tech-item__label {
  font-family: var(--font-alt);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.tech-item__bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.tech-item__bar-fill {
  height: 100%;
  border-radius: var(--radius-full);
  width: 0;
  animation: barGrow 1.4s var(--ease-out) forwards;
  animation-delay: 0.6s;
}

.tech-item__bar-fill--blue {
  background: linear-gradient(90deg, #3B82F6, #06B6D4);
  --target-w: var(--w, 88%);
}

.tech-item__bar-fill--pink {
  background: linear-gradient(90deg, #EC4899, #F472B6);
  --target-w: var(--w, 75%);
}

.tech-item__bar-fill--green {
  background: linear-gradient(90deg, #10B981, #34D399);
  --target-w: var(--w, 92%);
}

.tech-item__bar-fill--purple {
  background: linear-gradient(90deg, #8B5CF6, #A78BFA);
  --target-w: var(--w, 80%);
}

@keyframes barGrow {
  from {
    width: 0;
  }

  to {
    width: var(--w);
  }
}

.tech-card__badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-family: var(--font-alt);
  position: relative;
  z-index: 1;
}

.tech-card__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes floatCard {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Scroll cue */
.hero__scroll-cue {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-subtle);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
  cursor: pointer;
  transition: color var(--duration-normal) var(--ease-out);
}

.hero__scroll-cue:hover {
  color: var(--color-accent);
}

.scroll-cue__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }

  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
}

/* pos-card duplicate removed — authoritative definition below */
.positioning {
  padding: var(--section-py) 0;
  position: relative;
}

.positioning__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: start;
}

.positioning__content {
  position: sticky;
  top: 120px;
}

.positioning__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.pos-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color var(--duration-normal), transform var(--duration-normal) var(--ease-out), box-shadow var(--duration-normal);
  position: relative;
  overflow: hidden;
}

.pos-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(0, 102, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.pos-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  z-index: 2; /* Pop on top of adjacent grid cells */
}

.pos-card:hover::before {
  opacity: 1;
}

.pos-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.pos-card__title {
  font-family: var(--font-jakarta);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.01em;
}

.pos-card__body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

/* ── 11. SERVICES ───────────────────────────────────────────── */
.services {
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(0, 195, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* Services section gets a unique heading font */
.section-heading--services {
  font-family: var(--font-jakarta) !important;
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: var(--weight-extrabold);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* ── NEW SERVICE CARD DESIGN ───── */
.service-card {
  background: rgba(15, 23, 42, 0.50);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease,
    background 0.35s ease;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(0, 195, 255, 0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  background: rgba(15, 23, 42, 0.80);
  border-color: rgba(0, 102, 255, 0.35);
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px var(--color-primary-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  z-index: 2; /* Pop on top of adjacent grid cells */
}

.service-card:hover::before {
  opacity: 1;
}

/* Large gradient icon wrap */
.service-card__icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.service-card:hover .service-card__icon-wrap {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.service-card__icon-wrap--blue {
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
}

.service-card__icon-wrap--purple {
  background: linear-gradient(135deg, #8B5CF6, #6D28D9);
}

.service-card__icon-wrap--cyan {
  background: linear-gradient(135deg, #06B6D4, #0E7490);
}

.service-card__icon-wrap--orange {
  background: linear-gradient(135deg, #F59E0B, #D97706);
}

.service-card__icon-wrap--green {
  background: linear-gradient(135deg, #10B981, #047857);
}

.service-card__icon-wrap--pink {
  background: linear-gradient(135deg, #EC4899, #BE185D);
}

.service-card__title {
  font-family: var(--font-alt);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
  line-height: var(--leading-snug);
  transition: color 0.3s ease;
}

.service-card:hover .service-card__title {
  color: var(--color-white);
}

.service-card__body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  flex: 1;
}

/* Feature checklist */
.service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: auto;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
  transition: color 0.3s ease;
}

.service-card:hover .service-card__features li {
  color: var(--color-text-muted);
}

.service-card__features li svg {
  flex-shrink: 0;
  color: var(--color-success);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-card__features li svg {
  opacity: 1;
}

/* ── 12. WORK ───────────────────────────────────────────────── */
.work {
  padding: var(--section-py) 0;
  overflow: hidden;
}

.work__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-10);
}

.work__header .section-intro {
  margin-bottom: 0;
}

.work-slider__controls {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(15, 23, 42, 0.4);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.slider-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-text);
  background: var(--color-primary-glow);
  box-shadow: 0 0 20px var(--color-primary-glow);
}

.work-slider {
  width: 100%;
  padding-bottom: var(--space-12) !important;
  overflow: visible !important;
  /* Premium slide spillover effect */
}

.work-slider .swiper-slide {
  height: auto;
  opacity: 0.45;
  transition: opacity var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.work-slider .swiper-slide-active,
.work-slider .swiper-slide-next,
.work-slider .swiper-slide-next+.swiper-slide {
  opacity: 1;
}

.work-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
}

.work-card:hover {
  border-color: rgba(79, 70, 229, 0.3);
  box-shadow: var(--shadow-md);
}

.work-card__link {
  display: block;
  text-decoration: none;
}

.work-card__visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.work-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg, var(--color-surface-2));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--duration-slow) var(--ease-out);
}

.work-card:hover .work-card__img-placeholder {
  transform: scale(1.05);
}

/* Placeholder animations for work cards */
.work-placeholder__inner {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 80px;
}

.wp-bar {
  border-radius: 4px 4px 0 0;
  width: 28px;
  background: linear-gradient(to top, var(--color-primary), var(--color-secondary));
  opacity: 0.5;
}

.wp-bar--1 {
  height: 60%;
}

.wp-bar--2 {
  height: 100%;
}

.wp-bar--3 {
  height: 75%;
}

.work-placeholder__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
  height: 100%;
}

.wg-item {
  background: var(--color-surface-2);
  opacity: 0.5;
}

.work-placeholder__nodes {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.wn-node {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wn-node--a {
  background: var(--color-primary);
  opacity: 0.7;
}

.wn-node--b {
  background: var(--color-secondary);
  opacity: 0.7;
}

.wn-node--c {
  background: var(--color-accent);
  opacity: 0.7;
}

.wn-line {
  flex: 1;
  height: 1px;
  background: var(--color-border-hover);
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 22, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.work-card:hover .work-card__overlay {
  opacity: 1;
}

.work-card__cta {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-white);
  background: var(--color-primary);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  letter-spacing: -0.01em;
}

.work-card__info {
  padding: var(--space-6);
}

.work-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.work-card__type {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-card__year {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.work-card__title {
  font-family: var(--font-jakarta);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.work-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.work-card__result {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.result__num {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--color-success);
  line-height: 1;
}

.result__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.work-slider__pagination {
  bottom: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
}

.work-slider__pagination .swiper-pagination-bullet {
  background: var(--color-text-subtle) !important;
  opacity: 0.4;
  width: 8px;
  height: 8px;
  margin: 0 !important;
  transition: all var(--duration-normal) var(--ease-out);
}

.work-slider__pagination .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent)) !important;
  opacity: 1;
  width: 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

/* ── 13. PROCESS ────────────────────────────────────────────── */
.process {
  padding: var(--section-py) 0;
  position: relative;
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.process__steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.process__step {
  position: relative;
}

.step__number {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: var(--text-xs);
  color: var(--color-accent);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: var(--weight-bold);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
}

.step__title {
  font-family: var(--font-alt);
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
  line-height: var(--leading-snug);
}

.step__body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.process__connector {
  width: 2px;
  height: 120px;
  background: linear-gradient(to bottom, var(--color-accent), var(--color-primary), rgba(79, 70, 229, 0.05));
  margin: var(--space-6) var(--space-8) 0;
  border-radius: 1px;
  flex-shrink: 0;
  align-self: start;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

/* ── 14. TESTIMONIALS ───────────────────────────────────────── */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-5);
}

.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color var(--duration-normal), transform var(--duration-normal) var(--ease-out);
}

.testimonial-card:hover {
  border-color: rgba(79, 70, 229, 0.25);
  transform: translateY(-3px);
}

.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(5, 8, 22, 1) 60%);
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.15;
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-weight: var(--weight-extrabold);
  user-select: none;
}

.testimonial-card__text {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  flex: 1;
  margin-bottom: var(--space-6);
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-card--featured .testimonial-card__text {
  font-size: var(--text-lg);
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: auto;
}

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: var(--color-white);
  flex-shrink: 0;
}

.testimonial-card__name {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  font-style: normal;
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── 15. CONTACT ─────────────────────────────────────────────── */
.contact {
  padding: var(--section-py) 0;
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(6, 182, 212, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(124, 58, 237, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-20);
  align-items: center;
}

.contact__content {
  /* No longer sticky — Calendly widget has fixed height, content aligns alongside it */
}

.contact__details {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.contact__detail-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
  text-decoration: none;
}

.contact__detail-link:hover {
  color: var(--color-primary);
}

.contact__response-time {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-subtle);
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--color-success);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-muted);
}

.form-label span {
  color: var(--color-primary);
}

.form-input {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast), background var(--duration-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: var(--color-text-subtle);
}

.form-input:focus {
  outline: none;
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  background: rgba(79, 70, 229, 0.03);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394A3B8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: var(--color-surface-2);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  font-family: var(--font-body);
}

.form-privacy {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  text-align: center;
}

/* ── 16. FOOTER CTA BAND ────────────────────────────────────── */
.footer-cta {
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 100%, rgba(79, 70, 229, 0.12), var(--color-bg) 70%);
  border-top: 1px solid var(--color-border);
}

.footer-cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.footer-cta__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.footer-cta__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-cta__heading {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
  font-weight: var(--weight-bold);
  color: var(--color-text);
  line-height: var(--leading-tight);
  letter-spacing: -0.03em;
  max-width: 14ch;
  position: relative;
  z-index: 1;
}

/* ── 17. FOOTER ─────────────────────────────────────────────── */
.footer__main {
  padding: var(--space-20) 0 var(--space-12);
  background: var(--color-bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: var(--space-12);
}

.footer__brand {}

.footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: var(--space-5);
}

.footer__logo-image {
  display: block;
  width: auto;
  height: 32px;
  max-width: 100%;
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
  max-width: 36ch;
  margin-bottom: var(--space-6);
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: color var(--duration-fast), border-color var(--duration-fast), background var(--duration-fast);
  text-decoration: none;
}

.footer__social-link:hover {
  color: var(--color-text);
  border-color: var(--color-border-hover);
  background: var(--color-surface-2);
}

.footer__col {}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--color-text);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.footer__contact li {}

.footer__contact-label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-1);
}

.footer__contact a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  transition: color var(--duration-fast);
  text-decoration: none;
}

.footer__contact a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.footer__bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: var(--color-text-subtle);
  transition: color var(--duration-fast);
  text-decoration: none;
}

.footer__legal a:hover {
  color: var(--color-text-muted);
}

/* ── 18. REVEAL ANIMATIONS ──────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: none;
  /* GSAP handles this */
}

[data-reveal="fade-left"] {
  transform: translateX(-32px) translateY(0);
}

[data-reveal="fade-right"] {
  transform: translateX(32px) translateY(0);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── SECTION HEADING UNIQUE FONTS ───────────────────────────── */
/* About / Positioning section */
.positioning .section-heading {
  font-family: var(--font-jakarta);
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.03em;
}

/* Work / Projects section */
.work .section-heading {
  font-family: var(--font-alt);
  font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #F8FAFC 0%, #A78BFA 60%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Process section */
.process .section-heading {
  font-family: var(--font-body);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
  font-size: clamp(var(--text-3xl), 4.5vw, 3.25rem);
}

/* Testimonials section */
.testimonials .section-heading {
  font-family: var(--font-alt);
  font-weight: var(--weight-semibold);
}

/* Footer CTA heading */
.footer-cta__heading {
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--color-text) 0%, #A78BFA 60%, #38BDF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 19. RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .process__steps {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .process__connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), rgba(79, 70, 229, 0.2));
    margin: 0 0 0 var(--space-6);
    display: none;
  }

  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-card--featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }

  .hero__inner {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .hero__subline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: var(--space-8) auto 0;
  }

  .positioning__inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .positioning__content {
    position: static;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .work-slider {
    overflow: visible !important;
  }

  .work__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }

  .work-slider__controls {
    margin-bottom: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .contact__calendly-wrap {
    height: 600px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-py: clamp(3rem, 8vw, 5rem);
  }

  .site-nav {
    display: none;
  }

  .site-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    top: 70px;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99;
  }

  .site-nav.open .nav-list {
    flex-direction: column;
    gap: var(--space-3);
  }

  .site-nav.open .nav-link {
    font-size: var(--text-2xl);
    font-family: var(--font-display);
    font-weight: var(--weight-bold);
    padding: var(--space-3) var(--space-8);
  }

  .menu-toggle {
    display: flex;
  }

  .hero__heading {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-5);
  }

  .hero__stat-divider {
    display: none;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .positioning__cards {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card--featured {
    grid-column: auto;
  }

  .form-row--split {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ── 20. REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .logos__scroll {
    animation: none;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── 21. CALENDLY EMBED ─────────────────────────────────────── */
.contact__calendly-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  /* Fixed height is required — Calendly sizes its iframe to the container height */
  height: 700px;
  width: 100%;
  position: relative;
}

.calendly-inline-widget {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: none;
}

/* ── 22. WHATSAPP FLOATING WIDGET ───────────────────────────── */
.whatsapp-widget {
  position: fixed;
  right: 28px;
 bottom: 90px;
/*   top: 50%; */
/*   transform: translateY(-50%); */
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease;
}

.whatsapp-widget:hover {
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* Pulse ring animation */
.whatsapp-widget__ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: waRing 2.5s ease-out infinite;
  pointer-events: none;
}

@keyframes waRing {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip label */
.whatsapp-widget__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(3, 7, 18, 0.92);
  backdrop-filter: blur(8px);
  color: #F8FAFC;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(-50%) translateX(6px);
}

.whatsapp-widget:hover .whatsapp-widget__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── 23. SCROLL TO TOP BUTTON ───────────────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 9998;
  width: 48px;
  height: 48px;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border-hover);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease,
              visibility 0.35s ease,
              transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.25s ease;
  transform: translateY(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.45);
}

/* Circular SVG progress ring */
.scroll-top__progress {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  pointer-events: none;
}

.scroll-top__circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  color: var(--color-primary);
}

.scroll-top__circle circle {
  transition: stroke-dashoffset 0.1s linear;
}