/* ==========================================================================
   SKILL HORIZON TECHNOLOGIES — Core Stylesheet
   Light, premium, CodeDale-inspired UI with brand blue + yellow/orange accents
   ========================================================================== */

:root {
  /* Brand palette (from Skill Horizon logo) */
  --brand-blue: #1E2A8A;        /* primary deep blue from logo wordmark */
  --brand-blue-dark: #0F1A5C;
  --brand-blue-light: #3A4BCB;
  --brand-yellow: #F5A623;       /* logo circle yellow */
  --brand-orange: #FF7A1A;       /* warm orange accent */
  --brand-white: #FFFFFF;

  /* Surfaces — light theme like CodeDale */
  --bg: #FFFFFF;
  --bg-2: #F7F8FC;
  --bg-3: #EEF1F8;
  --bg-dark: #0B1230;            /* footer / dark sections */
  --surface: rgba(30, 42, 138, 0.04);
  --surface-2: rgba(30, 42, 138, 0.07);
  --border: rgba(15, 26, 92, 0.10);
  --border-strong: rgba(15, 26, 92, 0.18);

  /* Text — contrast-compliant on white (WCAG AA) */
  --text: #0B1230;
  --text-muted: #3D455F;     /* 5.4:1 on white (was 4.3:1) */
  --text-dim: #5A6584;        /* 4.6:1 on white (was 2.9:1) */
  --text-on-dark: #F5F7FF;
  --text-on-dark-muted: #C5CCE0;

  /* Accents mapped to brand */
  --accent-1: #1E2A8A;     /* blue (primary) */
  --accent-2: #F5A623;     /* yellow */
  --accent-3: #FF7A1A;     /* orange */
  --accent-4: #3A4BCB;     /* light blue */
  --accent-5: #00B3A6;     /* teal complement */
  --gradient: linear-gradient(135deg, #1E2A8A 0%, #3A4BCB 45%, #F5A623 100%);
  --gradient-warm: linear-gradient(135deg, #F5A623 0%, #FF7A1A 100%);
  --gradient-blue: linear-gradient(135deg, #1E2A8A 0%, #3A4BCB 100%);
  --gradient-soft: linear-gradient(135deg, rgba(30, 42, 138, 0.06), rgba(245, 166, 35, 0.06));

  /* Type — Satoshi for display (CodeDale parity), Inter for body */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Satoshi', 'Space Grotesk', var(--font-sans);
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --maxw: 1340px;

  /* Shadow */
  --shadow-sm: 0 4px 12px -2px rgba(30, 42, 138, 0.08);
  --shadow: 0 12px 32px -8px rgba(30, 42, 138, 0.15);
  --shadow-lg: 0 24px 60px -20px rgba(30, 42, 138, 0.35);
  --shadow-yellow: 0 12px 32px -8px rgba(245, 166, 35, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
ul { list-style: none; }

::selection { background: var(--brand-yellow); color: var(--brand-blue); }

/* Focus-visible: WCAG 2.4.7 / 2.4.11 — clear keyboard indicator across all interactives */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--brand-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible, button:focus-visible {
  outline-offset: 4px;
}
.btn:focus-visible,
.nav-link:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}

/* Skip link — visible on focus, hidden otherwise */
.skip-link {
  /* Hide completely until keyboard-focused — clip-path is bulletproof,
     position+top:-40px wasn't enough because some browsers/extensions
     auto-focus the first focusable element on load. */
  position: fixed;
  top: 0;
  left: 0;
  background: var(--brand-blue);
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  z-index: 10001;
  text-decoration: none;
  border-bottom-right-radius: 8px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus,
.skip-link:focus-visible {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 3px solid var(--brand-yellow);
  outline-offset: -3px;
}

/* Visually hidden but keyboard-reachable */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================================================================
   CURSOR (desktop only)
   ========================================================================== */
.cursor, .cursor-follower {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.12s ease-out, opacity 0.3s;
}
.cursor {
  width: 8px;
  height: 8px;
  background: var(--brand-blue);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-follower {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(30, 42, 138, 0.45);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease-out, width .25s, height .25s, background .2s;
}
.cursor.cursor-hover { transform: translate(-50%, -50%) scale(2); background: var(--brand-yellow); }
.cursor-follower.cursor-hover {
  width: 64px;
  height: 64px;
  background: rgba(245, 166, 35, 0.12);
  border-color: var(--brand-yellow);
}
@media (max-width: 1024px) {
  .cursor, .cursor-follower { display: none; }
  body { cursor: auto; }
}

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity .6s ease, visibility .6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--brand-blue);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.loader-logo-mark {
  width: 56px;
  height: 56px;
  background: var(--brand-yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 28px;
  box-shadow: var(--shadow-yellow);
}
.loader-bar {
  width: 240px;
  height: 3px;
  background: var(--bg-3);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-bar-fill {
  width: 0;
  height: 100%;
  background: var(--gradient);
  animation: loadBar 1.5s ease forwards;
}
@keyframes loadBar {
  to { width: 100%; }
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .3s ease;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 0;
  letter-spacing: -0.2px;
  color: var(--brand-blue);
}
.logo-mark {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('../images/sh-logo.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  font-size: 0;
  color: transparent;
  flex-shrink: 0;
}
/* Even bigger logo in footer brand column */
.footer-brand .logo-mark {
  width: 92px;
  height: 92px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.06);
  padding: 8px;
  background-clip: content-box;
}
@media (max-width: 768px) {
  .logo-mark { width: 56px; height: 56px; }
  .footer-brand .logo-mark { width: 72px; height: 72px; }
}
/* On the brand-kit page, the inline-styled glyph cards override the bg to show palette variants.
   Render a typographic "S" inside those so the variant story stays readable. */
.brand-card-preview .logo-mark[style*="background:"] {
  background-image: none;
  font-size: 38px;
  color: var(--brand-blue);
  font-family: var(--font-display);
  font-weight: 900;
}
.brand-card-preview .logo-mark[style*="background:"]::before {
  content: 'S';
}
/* Loader mark always shows letter (no SVG) */
.loader-logo-mark {
  background-image: none !important;
  font-size: 28px !important;
  color: var(--brand-blue) !important;
}
.logo-text {
  color: var(--brand-blue);
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}
.logo-text strong {
  color: var(--brand-blue);
  white-space: nowrap;
}
.logo-tag {
  display: block;
  font-size: 9px;
  letter-spacing: 2.5px;
  color: var(--brand-orange);
  font-weight: 600;
  margin-top: -2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 10px;
  transition: all .2s;
  position: relative;
}
.nav-link:hover { color: var(--brand-blue); background: var(--surface); }
.nav-link.active { color: var(--brand-blue); }
.nav-link.active::before {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  background: var(--brand-yellow);
  border-radius: 50%;
}
.nav-cta {
  background: var(--brand-blue);
  color: #fff !important;
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  padding: 10px 20px;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  background: var(--brand-blue-dark);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 32px 80px;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 25%, rgba(30, 42, 138, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(245, 166, 35, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 122, 26, 0.08) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 42, 138, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 42, 138, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .45;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--brand-blue);
  top: -120px; left: -120px;
  animation: floatOrb 18s infinite ease-in-out;
}
.hero-orb-2 {
  width: 420px; height: 420px;
  background: var(--brand-yellow);
  bottom: -100px; right: -80px;
  animation: floatOrb 22s infinite ease-in-out reverse;
}
.hero-orb-3 {
  width: 320px; height: 320px;
  background: var(--brand-orange);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: floatOrb 25s infinite ease-in-out;
  opacity: .25;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0,0); }
  25% { transform: translate(40px, -30px); }
  50% { transform: translate(-30px, 40px); }
  75% { transform: translate(20px, 20px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1060px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-5);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 179, 166, .7); }
  50% { box-shadow: 0 0 0 8px rgba(0, 179, 166, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 700;
  margin-bottom: 28px;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  color: var(--brand-blue);
}
.hero-line { display: block; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.italic { font-style: italic; font-family: var(--font-sans); color: var(--brand-orange); }

.hero-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 44px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 100px;
  transition: all .25s cubic-bezier(.2,.8,.2,1);
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
}
.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--brand-blue-dark);
}
.btn-ghost {
  background: var(--bg);
  color: var(--brand-blue);
  border: 1.5px solid var(--border-strong);
}
.btn-ghost:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}
.btn-yellow {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  box-shadow: var(--shadow-yellow);
}
.btn-yellow:hover {
  transform: translateY(-2px);
  background: var(--brand-orange);
  color: #fff;
}
.btn-large { padding: 18px 34px; font-size: 16px; }
.btn-play {
  background: rgba(30, 42, 138, .1);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 12.5px;
  color: var(--text-muted);
  letter-spacing: .3px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 1;
}
.scroll-line {
  width: 1.5px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--brand-blue));
  animation: scrollLine 2s infinite ease-in-out;
}
@keyframes scrollLine {
  0%, 100% { opacity: .3; transform: scaleY(.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee-section {
  background: var(--brand-blue);
  padding: 26px 0;
  border-top: 1px solid var(--brand-blue-dark);
  border-bottom: 1px solid var(--brand-blue-dark);
  overflow: hidden;
}
.marquee {
  display: flex;
  white-space: nowrap;
}
.marquee-track {
  display: flex;
  gap: 36px;
  align-items: center;
  animation: marqueeScroll 35s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.5px;
}
.marquee-track span:not(.dot) {
  display: inline-block;
}
.marquee-track .dot {
  color: var(--brand-yellow);
  font-size: 10px;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--brand-orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--brand-blue);
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  padding: 72px 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  position: relative;
  padding: 36px 32px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  opacity: 0;
  transition: opacity .35s;
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-yellow);
  box-shadow: var(--shadow);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px -6px rgba(245, 166, 35, 0.5);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card[data-color="blue"] .service-icon { background: var(--brand-blue); color: var(--brand-yellow); box-shadow: 0 8px 20px -6px rgba(30, 42, 138, 0.5); }
.service-card[data-color="orange"] .service-icon { background: var(--brand-orange); color: #fff; box-shadow: 0 8px 20px -6px rgba(255, 122, 26, 0.5); }
.service-card[data-color="teal"] .service-icon { background: var(--accent-5); color: #fff; box-shadow: 0 8px 20px -6px rgba(0, 179, 166, 0.5); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.55;
}
.service-list {
  margin-bottom: 24px;
}
.service-list li {
  padding: 8px 0;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text);
  position: relative;
  padding-left: 22px;
}
.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  font-weight: 700;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 14.5px;
  transition: gap .2s;
}
.service-link:hover { gap: 12px; color: var(--brand-orange); }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process {
  padding: 72px 0;
  background: var(--bg-2);
}
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--border-strong) 0 8px, transparent 8px 16px);
}
.process-step {
  position: relative;
  padding: 0 12px;
  text-align: left;
}
.process-num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 700;
  color: var(--brand-yellow);
  line-height: 1;
  -webkit-text-stroke: 1.5px var(--brand-blue);
  margin-bottom: 16px;
  background: var(--bg-2);
  display: inline-block;
  padding-right: 14px;
  position: relative;
  z-index: 1;
}
.process-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--brand-blue);
  margin-bottom: 10px;
  font-weight: 600;
}
.process-content p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ==========================================================================
   TECH STACK
   ========================================================================== */
.tech-stack {
  padding: 64px 0;
  background: var(--bg);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-blue);
  transition: all .25s;
}
.tech-item span { font-size: 28px; }
.tech-item:hover {
  border-color: var(--brand-yellow);
  background: var(--bg-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   PORTFOLIO PREVIEW
   ========================================================================== */
.portfolio-preview {
  padding: 72px 0;
  background: var(--bg-2);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.portfolio-card {
  position: relative;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .35s cubic-bezier(.2,.8,.2,1);
  display: block;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-yellow);
}
.portfolio-large { grid-column: span 2; }
.portfolio-img {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.06); }
.portfolio-info {
  padding: 24px 28px 28px;
}
.portfolio-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--brand-orange);
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brand-blue);
  margin-bottom: 8px;
  font-weight: 600;
}
.portfolio-info p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
}
.portfolio-cta { text-align: center; }

/* ==========================================================================
   ACHIEVEMENTS (CodeDale-style stat strip)
   ========================================================================== */
.achievements {
  padding: 64px 0;
  background: var(--brand-blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.achievements::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 40%, rgba(245, 166, 35, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(255, 122, 26, 0.10) 0%, transparent 50%);
}
.achievements .container { position: relative; z-index: 1; }
.achievements .section-title { color: #fff; }
.achievements .section-tag { color: var(--brand-yellow); }
.achievements .section-subtitle { color: var(--text-on-dark-muted); }
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 28px;
}
.ach-card {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  transition: all .3s;
}
.ach-card:hover {
  border-color: var(--brand-yellow);
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-4px);
}
.ach-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  color: var(--brand-yellow);
  line-height: 1;
  margin-bottom: 10px;
}
.ach-label {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  letter-spacing: .3px;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  padding: 72px 0;
  background: var(--bg);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  padding: 32px 28px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all .3s;
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(245, 166, 35, 0.18);
  line-height: 1;
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--brand-yellow);
  box-shadow: var(--shadow);
}
.testimonial-stars {
  color: var(--brand-yellow);
  font-size: 17px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial p {
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 22px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--brand-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  font-family: var(--font-display);
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.author-name {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--brand-blue);
}
.author-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq {
  padding: 72px 0;
  background: var(--bg-2);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--brand-blue);
  transition: color .2s;
}
.faq-question:hover { color: var(--brand-orange); }
.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: transform .25s;
  flex-shrink: 0;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); background: var(--brand-orange); color: #fff; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 22px;
}

/* ==========================================================================
   CTA
   ========================================================================== */
.cta-section {
  padding: 40px 0 70px;
  background: var(--bg);
}
.cta-section .container { max-width: 1280px; }

/* ==========================================================================
   CTA SIMPLE — guaranteed no-empty-space stacked layout
   ========================================================================== */
.cta-box-simple {
  background: var(--brand-blue);
  border-radius: var(--radius-xl);
  color: #fff;
  padding: 48px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-eyebrow-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-yellow);
  font-weight: 700;
  margin: 0 0 18px 0;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -1px;
  font-weight: 700;
  margin: 0 0 14px 0;
  color: #fff;
}
.cta-gradient {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta-lede {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin: 0 auto 26px;
  line-height: 1.55;
}
.cta-buttons-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cta-pills-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.cta-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}
.cta-pill strong {
  color: var(--brand-yellow);
  font-weight: 700;
  margin-right: 4px;
}
.cta-pill-yellow {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-blue);
}
.cta-pill-yellow strong { color: var(--brand-blue); }
.cta-pill-stars {
  color: var(--brand-yellow);
  letter-spacing: 1.5px;
  margin-right: 6px;
  font-size: 12px;
}
.cta-box-simple .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-box-simple .btn-ghost:hover {
  background: #fff;
  color: var(--brand-blue);
}
@media (max-width: 768px) {
  .cta-box-simple { padding: 32px 22px; }
  .cta-buttons-row { flex-direction: column; align-items: stretch; }
  .cta-buttons-row .btn { justify-content: center; }
  .cta-pill { font-size: 12.5px; padding: 7px 14px; }
}
.cta-box {
  position: relative;
  padding: 44px 36px;
  background: var(--brand-blue);
  border-radius: var(--radius-xl);
  text-align: center;
  overflow: hidden;
  color: #fff;
  /* No min-height, no flex centering — content flows tight from top */
  display: block;
}
.cta-box > .cta-bg-orb { opacity: 0.18; filter: blur(40px); }
.cta-box > .cta-orb-1 { width: 140px; height: 140px; top: -90px; left: -90px; }
.cta-box > .cta-orb-2 { width: 120px; height: 120px; bottom: -70px; right: -70px; }
.cta-box > h2 { margin-top: 0; }
.cta-box > p { margin-top: 12px; }
.cta-box > .cta-actions { margin-top: 22px; }
@media (max-width: 768px) {
  .cta-box { padding: 32px 22px; }
}

/* Split layout — copy on left, stat cards on right (horizontal width kept) */
.cta-box.cta-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
  text-align: left;
  padding: 40px 64px;
}
.cta-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  z-index: 2;
  position: relative;
}
.cta-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand-yellow);
  margin-bottom: 16px;
  font-weight: 600;
}
.cta-box.cta-split h2 {
  text-align: left;
  font-size: clamp(28px, 3.4vw, 44px);
  margin-bottom: 16px;
}
.cta-box.cta-split p {
  text-align: left;
  margin: 0 0 28px 0;
  font-size: 16px;
  max-width: 460px;
}
.cta-box.cta-split .cta-actions {
  justify-content: flex-start;
}
.cta-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  z-index: 2;
  position: relative;
}
.cta-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 22px 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform .2s, border-color .2s, background .2s;
}
.cta-stat-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-yellow);
}
.cta-stat-card-alt {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-color: var(--brand-yellow);
}
.cta-stat-card-alt:hover { background: #ffb340; border-color: #ffb340; }
.cta-stat-num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  margin-bottom: 6px;
}
.cta-stat-num span {
  font-size: 18px;
  margin-left: 3px;
  opacity: 0.85;
}
.cta-stat-label {
  font-size: 13px;
  opacity: 0.85;
  letter-spacing: 0.2px;
}
.cta-side-quote {
  grid-column: span 2;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.cta-stars {
  color: var(--brand-yellow);
  letter-spacing: 2px;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 8px;
}
.cta-side-quote p {
  font-style: italic;
  font-size: 15px;
  line-height: 1.45;
  margin: 0 0 4px !important;
  color: #fff;
  text-align: left !important;
}
.cta-quote-author {
  font-size: 12.5px;
  opacity: 0.7;
}
@media (max-width: 900px) {
  .cta-box.cta-split {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 32px;
  }
  .cta-side { grid-template-columns: 1fr 1fr; }
}
.cta-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: .28;
  pointer-events: none;
}
.cta-orb-1 {
  width: 160px; height: 160px;
  background: var(--brand-yellow);
  top: -100px; left: -100px;
}
.cta-orb-2 {
  width: 140px; height: 140px;
  background: var(--brand-orange);
  bottom: -80px; right: -80px;
}
@media (max-width: 768px) {
  .cta-section { padding: 30px 0 50px; }
  .cta-box { padding: 28px 20px; }
  .cta-orb-1 { width: 120px; height: 120px; top: -70px; left: -70px; }
  .cta-orb-2 { width: 100px; height: 100px; bottom: -50px; right: -50px; }
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 18px;
  font-weight: 700;
}
.cta-box h2 .gradient-text {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.cta-box p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-box .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}
.cta-box .btn-ghost:hover {
  background: #fff;
  color: var(--brand-blue);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: 32px 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 24px;
  margin-bottom: 20px;
  align-items: start;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 12px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand .nav-logo strong { color: #fff; }
.footer-brand p {
  color: var(--text-on-dark-muted);
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 14px;
  max-width: 320px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .25s;
}
.footer-socials a svg { width: 14px; height: 14px; }
.footer-socials a:hover {
  background: var(--brand-yellow);
  color: var(--brand-blue);
  border-color: var(--brand-yellow);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.footer-col ul li {
  margin-bottom: 7px;
}
.footer-col ul li a {
  color: var(--text-on-dark-muted);
  font-size: 13.5px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--brand-yellow); }
.footer-newsletter { margin-top: 14px; }
.footer-newsletter label {
  display: block;
  font-size: 13px;
  color: var(--text-on-dark-muted);
  margin-bottom: 8px;
}
.newsletter-row {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 4px;
  align-items: center;
}
.newsletter-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
  padding: 8px 14px;
  font-family: inherit;
}
.newsletter-row input::placeholder { color: var(--text-on-dark-muted); }
.newsletter-row button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  font-size: 16px;
  font-weight: 700;
  transition: transform .2s, background .2s;
}
.newsletter-row button:hover { background: var(--brand-orange); color: #fff; transform: scale(1.05); }
.newsletter-msg {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--brand-yellow);
}

.footer-bottom {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  color: var(--text-on-dark-muted);
  font-size: 12.5px;
}
.footer-bottom-links {
  display: flex;
  gap: 22px;
}
.footer-bottom-links a {
  color: var(--text-on-dark-muted);
  font-size: 13.5px;
  transition: color .2s;
}
.footer-bottom-links a:hover { color: var(--brand-yellow); }

/* ==========================================================================
   SECTION A: CLIENT LOGO STRIP — grayscale row below hero
   ========================================================================== */
.clients-strip {
  background: var(--bg-2);
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.clients-strip-eyebrow {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.clients-strip-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.client-logo-pill {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  color: var(--text-muted);
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter .25s, opacity .25s, transform .25s;
  padding: 12px 6px;
}
.client-logo-pill:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px);
  color: var(--brand-blue);
}
.client-logo-pill small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  margin-top: 2px;
}
@media (max-width: 768px) {
  .clients-strip-row { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .client-logo-pill { font-size: 16px; }
}

/* ==========================================================================
   SECTION B: SOLUTIONS BEYOND SYNTAX — 3 problem cards on dotted grid
   ========================================================================== */
.problems-section {
  padding: 72px 0;
  background:
    radial-gradient(circle, var(--border) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--bg);
  position: relative;
}
.problems-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 12%, transparent 88%, var(--bg) 100%);
  pointer-events: none;
}
.problems-section .container { position: relative; }
.problems-pill {
  display: inline-block;
  background: var(--brand-blue);
  color: var(--brand-yellow);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  padding: 7px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.problems-section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 48px);
  color: var(--brand-blue);
  letter-spacing: -1px;
  line-height: 1.1;
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1280px;
  margin: 0 auto;
}
.problem-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  padding: 28px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s, border-color .25s, box-shadow .3s;
}
.problem-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-yellow);
  box-shadow: 0 18px 40px -16px rgba(30, 42, 138, 0.25);
}
.problem-card-illustration {
  width: 100%;
  height: 180px;
  background: var(--bg-2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.problem-card-illustration .pi-phone {
  width: 92px;
  height: 158px;
  background: var(--brand-blue);
  border-radius: 14px;
  border: 4px solid #1a2470;
  position: relative;
  box-shadow: 0 12px 30px -8px rgba(30, 42, 138, 0.4);
}
.problem-card-illustration .pi-phone::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 32px; height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
}
.problem-card-illustration .pi-phone::after {
  content: 'Loan';
  position: absolute;
  inset: 22px 10px 10px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  color: var(--brand-yellow);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.5px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
}
.problem-card-illustration .pi-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  filter: blur(1px);
}
.problem-card-illustration .pi-tag {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dim);
  padding: 4px 12px;
  background: var(--bg);
  border-radius: 6px;
}
.problem-card-illustration .pi-tag.highlight {
  background: var(--brand-blue);
  color: #fff;
  filter: blur(0);
  position: relative;
  z-index: 1;
}
.problem-card-illustration .pi-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  filter: blur(2px);
  position: relative;
}
.problem-card-illustration .pi-stack span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-muted);
}
.problem-card-illustration .pi-stack .pi-arrow {
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--brand-blue);
  filter: blur(0);
}
.problem-card-illustration .pi-stack .pi-pick {
  filter: blur(0);
  color: var(--brand-blue);
  position: relative;
  z-index: 1;
}
.problem-card-tag {
  display: inline-block;
  background: rgba(255, 122, 26, 0.12);
  color: var(--brand-orange);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  width: max-content;
}
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--brand-blue);
  letter-spacing: -0.3px;
  line-height: 1.25;
  margin: 0;
}
.problem-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 900px) {
  .problems-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION C: WHY CHOOSE US — 2x3 icon grid
   ========================================================================== */
.why-section {
  padding: 72px 0;
  background: var(--bg);
}
.why-section-head {
  text-align: center;
  margin-bottom: 56px;
}
.why-section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  color: var(--brand-blue);
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.why-section-head p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 30px;
  max-width: 1280px;
  margin: 0 auto;
}
.why-card {
  text-align: center;
  padding: 24px 16px;
}
.why-card-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(30, 42, 138, 0.08) 0%, rgba(245, 166, 35, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.why-card-icon svg {
  width: 44px;
  height: 44px;
  color: var(--brand-blue);
  stroke-width: 1.5;
}
.why-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--brand-blue);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.why-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; }
}
@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION D: HOW TO GET STARTED — alternating-side step layout
   ========================================================================== */
.steps-section {
  padding: 72px 0;
  background: var(--bg-2);
  position: relative;
}
.steps-section .section-head {
  text-align: center;
  margin-bottom: 60px;
}
.steps-section .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  color: var(--brand-blue);
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.steps-section .section-head p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto;
}
.steps-list {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}
.steps-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-bottom: 60px;
  align-items: center;
  position: relative;
}
.step-row:last-child { margin-bottom: 0; }
.step-row::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand-yellow);
  border: 4px solid var(--bg-2);
  box-shadow: 0 0 0 2px var(--brand-yellow);
  z-index: 2;
}
.step-row-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 6px 20px -12px rgba(0, 0, 0, 0.12);
}
.step-row-card .step-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--brand-orange);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.step-row-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--brand-blue);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.step-row-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.step-row-art {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.step-art-box {
  width: 220px;
  height: 200px;
  background: var(--bg);
  border-radius: 22px;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: var(--brand-blue);
  position: relative;
  overflow: hidden;
}
.step-art-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(245, 166, 35, 0.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(255, 122, 26, 0.10), transparent 40%);
  pointer-events: none;
}
.step-row:nth-child(even) {
  direction: rtl;
}
.step-row:nth-child(even) > * { direction: ltr; }
@media (max-width: 900px) {
  .steps-list::before { left: 24px; }
  .step-row { grid-template-columns: 1fr; gap: 16px; padding-left: 56px; }
  .step-row::before { left: 24px; }
  .step-row:nth-child(even) { direction: ltr; }
  .step-row-art { min-height: 150px; }
  .step-art-box { width: 100%; height: 150px; }
}

/* ==========================================================================
   SECTION E: SOLUTIONS TAILORED — 3x3 service tiles with mini mockups
   ========================================================================== */
.tailored-section {
  padding: 72px 0;
  background: var(--bg);
}
.tailored-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1280px;
  margin: 0 auto;
}
.tailored-tile {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-decoration: none;
  color: inherit;
}
.tailored-tile:hover {
  transform: translateY(-4px);
  border-color: var(--brand-yellow);
  box-shadow: 0 16px 40px -16px rgba(30, 42, 138, 0.2);
}
/* Real-photo thumbnail for tailored tiles (replaces abstract mock-card art) */
.tailored-tile-photo {
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.tailored-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.tailored-tile:hover .tailored-tile-photo img { transform: scale(1.06); }

.tailored-tile-mockup {
  height: 140px;
  background: var(--bg-2);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tailored-tile-mockup .mock-card {
  position: absolute;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.15);
}
.tailored-tile-mockup .mock-card-1 {
  width: 70%;
  height: 70%;
  top: 12%;
  left: 8%;
  transform: rotate(-6deg);
}
.tailored-tile-mockup .mock-card-2 {
  width: 70%;
  height: 70%;
  bottom: 8%;
  right: 6%;
  transform: rotate(4deg);
}
.tailored-tile-mockup .mock-card::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-orange) 100%);
  opacity: 0.18;
  border-radius: 4px;
}
.tailored-tile-mockup.mock-yellow .mock-card::after { background: var(--brand-yellow); opacity: 0.6; }
.tailored-tile-mockup.mock-orange .mock-card::after { background: var(--brand-orange); opacity: 0.5; }
.tailored-tile-mockup.mock-teal .mock-card::after { background: #06b6d4; opacity: 0.5; }
.tailored-tile-mockup.mock-purple .mock-card::after { background: #8b5cf6; opacity: 0.5; }
.tailored-tile-mockup.mock-pink .mock-card::after { background: #ec4899; opacity: 0.5; }
.tailored-tile h4 {
  font-family: var(--font-display);
  font-size: 16.5px;
  color: var(--brand-blue);
  letter-spacing: -0.3px;
  margin: 0;
}
@media (max-width: 900px) {
  .tailored-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .tailored-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SECTION F: COMPARISON TABLE — Us vs Hiring vs Other agencies
   ========================================================================== */
.compare-section {
  padding: 72px 0;
  background: var(--bg-2);
}
.compare-section .section-head {
  text-align: center;
  margin-bottom: 44px;
}
.compare-section .section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  color: var(--brand-blue);
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.compare-section .section-head p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}
.compare-table-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 36px -16px rgba(30, 42, 138, 0.18);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 14.5px;
}
.compare-table th,
.compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.compare-table thead th {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--text-muted);
  background: var(--bg-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.compare-table thead th.us-col {
  color: var(--brand-blue);
  background: rgba(245, 166, 35, 0.12);
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  background: var(--bg-2);
  width: 22%;
}
.compare-table td.us-col {
  background: rgba(245, 166, 35, 0.05);
  color: var(--brand-blue);
  font-weight: 500;
}
.compare-table .check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.compare-table .check-yes {
  color: #10b981;
  font-weight: 800;
  font-size: 16px;
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.compare-table .check-no {
  color: var(--brand-orange);
  font-weight: 800;
  font-size: 14px;
  display: inline-flex;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 122, 26, 0.12);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .compare-table th,
  .compare-table td { padding: 12px 14px; font-size: 13px; }
  .compare-table tbody td:first-child { width: 35%; }
  .compare-table thead th.us-col { font-size: 14px; }
}

/* ==========================================================================
   BROCHURE PREVIEW MODAL — click floating tab → preview opens → download
   ========================================================================== */
.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 18, 48, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .25s ease;
}
.brochure-modal.open {
  display: flex;
  opacity: 1;
}
.brochure-modal-card {
  background: #fff;
  border-radius: 18px;
  max-width: 920px;
  width: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px -20px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform .35s cubic-bezier(.22, .85, .32, 1);
}
.brochure-modal.open .brochure-modal-card { transform: scale(1); }

.brochure-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.brochure-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--brand-blue);
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brochure-modal-title span.tag {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--brand-yellow);
  color: var(--brand-blue);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 1.5px;
  font-weight: 700;
}
.brochure-modal-close {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
}
.brochure-modal-close:hover {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
}
.brochure-modal-body {
  flex: 1;
  overflow-y: auto;
  background: var(--bg-2);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brochure-modal-body img {
  max-width: 100%;
  max-height: 65vh;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.25);
}
.brochure-modal-foot {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.brochure-modal-foot p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}
.brochure-modal-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-blue);
  color: var(--brand-yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 100px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 18px -4px rgba(30, 42, 138, 0.4);
}
.brochure-modal-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(30, 42, 138, 0.55);
}
@media (max-width: 640px) {
  .brochure-modal { padding: 12px; }
  .brochure-modal-head { padding: 14px 16px; }
  .brochure-modal-title { font-size: 15px; }
  .brochure-modal-foot { padding: 14px 16px; }
  .brochure-modal-foot p { font-size: 12px; flex-basis: 100%; }
}

/* ==========================================================================
   FLOATING BROCHURE BUTTON — unique left-edge tab with hover-out card
   ========================================================================== */
.brochure-float {
  position: fixed;
  left: 0;
  /* Sit in the lower-middle so it never overlaps the top nav/logo area */
  top: auto;
  bottom: 88px;
  transform: none;
  z-index: 90;
  display: flex;
  align-items: center;
  text-decoration: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-display);
  --tab-w: 44px;
}

/* Vertical rotated tab — the always-visible part */
.brochure-float-tab {
  background: linear-gradient(135deg, var(--brand-yellow) 0%, var(--brand-orange) 100%);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  padding: 16px 12px;
  border-radius: 0 14px 14px 0;
  box-shadow: 4px 4px 16px -4px rgba(245, 166, 35, 0.55), 0 2px 8px rgba(30, 42, 138, 0.25);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  transition: padding-left .3s ease, box-shadow .3s ease;
  animation: brochurePulse 3s ease-in-out infinite;
}

.brochure-float-tab::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--brand-blue);
  border-radius: 50%;
  animation: brochureDot 1.6s ease-in-out infinite;
}

.brochure-float-icon {
  font-size: 14px;
  display: inline-block;
  transform: rotate(180deg);
}

@keyframes brochurePulse {
  0%, 100% { box-shadow: 4px 4px 16px -4px rgba(245, 166, 35, 0.55), 0 2px 8px rgba(30, 42, 138, 0.25); }
  50%      { box-shadow: 6px 6px 24px -4px rgba(245, 166, 35, 0.75), 0 4px 14px rgba(30, 42, 138, 0.35); }
}

@keyframes brochureDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.7); }
}

/* The slide-out preview card — now with brochure thumbnail */
.brochure-float-card {
  position: absolute;
  left: var(--tab-w);
  top: 50%;
  transform: translate(-12px, -50%);
  opacity: 0;
  pointer-events: none;
  width: 280px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-left: 4px solid var(--brand-yellow);
  border-radius: 0 16px 16px 0;
  padding: 0;
  box-shadow: 12px 16px 40px -12px rgba(30, 42, 138, 0.35), 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: opacity .25s ease, transform .35s cubic-bezier(.22,.85,.32,1);
  font-family: var(--font-sans);
  overflow: hidden;
}
.brochure-float-card-thumb {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: center top;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.brochure-float-card-body { padding: 14px 16px 16px; }

.brochure-float:hover .brochure-float-card,
.brochure-float:focus-visible .brochure-float-card {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.brochure-float:hover .brochure-float-tab {
  padding-left: 14px;
  box-shadow: 8px 6px 26px -4px rgba(245, 166, 35, 0.7), 0 4px 14px rgba(30, 42, 138, 0.35);
}

.brochure-float-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--brand-blue);
  letter-spacing: -.2px;
  margin-bottom: 4px;
}

.brochure-float-card-desc {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.brochure-float-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brand-blue);
  color: var(--brand-yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .8px;
  padding: 8px 14px;
  border-radius: 100px;
  text-transform: uppercase;
}

.brochure-float-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 10px;
}
.brochure-float-card-meta span { display: inline-block; }
.brochure-float-card-meta .dot {
  width: 3px; height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
}

/* Mobile — collapse to a small floating action button */
@media (max-width: 768px) {
  .brochure-float { top: auto; bottom: 78px; }
  .brochure-float-tab {
    writing-mode: horizontal-tb;
    transform: rotate(0);
    border-radius: 0 100px 100px 0;
    padding: 11px 16px 11px 12px;
    font-size: 11.5px;
    letter-spacing: 1.6px;
  }
  .brochure-float-icon { transform: rotate(0); }
  .brochure-float-card { display: none; }
}

/* ==========================================================================
   TESTIMONIAL MARQUEE — auto-scrolling horizontal strip (CodeDale parity)
   ========================================================================== */
.testi-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.testi-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testiScroll 80s linear infinite;
  will-change: transform;
}
.testi-marquee:hover .testi-marquee-track,
.testi-marquee:focus-within .testi-marquee-track {
  animation-play-state: paused;
}
.testi-marquee .testimonial {
  flex: 0 0 380px;
  width: 380px;
  margin: 0;
  /* Re-uses .testimonial styles defined below for card visuals */
}
@keyframes testiScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 768px) {
  .testi-marquee .testimonial { flex: 0 0 300px; width: 300px; }
  .testi-marquee-track { animation-duration: 60s; }
  .testi-marquee {
    mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32px, #000 calc(100% - 32px), transparent 100%);
  }
}

/* ==========================================================================
   HERO EMBEDDED SOCIAL PROOF (CodeDale parity)
   ========================================================================== */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 10px 22px 10px 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-top: 36px;
  backdrop-filter: blur(10px);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  color: inherit;
  text-decoration: none;
}
.hero-social-proof:hover {
  transform: translateY(-2px);
  border-color: var(--brand-yellow);
  box-shadow: 0 10px 28px -8px rgba(30, 42, 138, 0.2);
}
.hero-avatars {
  display: inline-flex;
  align-items: center;
}
.hero-avatars img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
}
.hero-avatars img:first-child { margin-left: 0; }
.hero-avatars-more {
  background: var(--brand-blue);
  color: var(--brand-yellow);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  padding: 0 10px;
  height: 36px;
  border-radius: 100px;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  margin-left: -10px;
}
.hero-social-text { text-align: left; }
.hero-stars {
  color: var(--brand-yellow);
  letter-spacing: 1.5px;
  font-size: 14px;
}
.hero-social-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

/* ==========================================================================
   HERO TESTIMONIAL BLOCK (single quote, between hero & cases)
   ========================================================================== */
.hero-testimonial-block {
  padding: 80px 0 60px;
  background: var(--bg);
}
.hero-testi-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 12px 24px;
}
.hero-testi-mark {
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: var(--brand-yellow);
  opacity: 0.45;
  display: block;
  margin-bottom: -22px;
}
.hero-testi-quote {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.4;
  font-weight: 500;
  color: var(--brand-blue);
  letter-spacing: -0.5px;
  margin-bottom: 32px;
}
.hero-testi-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-testi-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.hero-testi-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-blue);
  text-align: left;
}
.hero-testi-role {
  font-size: 13px;
  color: var(--text-muted);
  text-align: left;
}

/* ==========================================================================
   STICKY URGENCY CTA — CodeDale-style bottom-right pill
   ========================================================================== */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: var(--brand-blue);
  color: #fff !important;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 32px -8px rgba(30, 42, 138, 0.45);
  transition: transform .25s, box-shadow .25s, opacity .35s;
  opacity: 0;
  transform: translateY(12px);
}
.sticky-cta.visible { opacity: 1; transform: translateY(0); }
.sticky-cta:hover {
  background: var(--brand-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -8px rgba(30, 42, 138, 0.55);
}
.sticky-cta strong { color: var(--brand-yellow); font-weight: 700; }
.sticky-cta-dot {
  width: 9px; height: 9px;
  background: var(--brand-yellow);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.7);
}
.sticky-cta-arrow {
  font-size: 16px;
  margin-left: 2px;
  transition: transform .2s;
}
.sticky-cta:hover .sticky-cta-arrow { transform: translateX(3px); }
@media (max-width: 768px) {
  .sticky-cta { right: 14px; bottom: 14px; font-size: 13px; padding: 10px 16px 10px 12px; }
}

/* ==========================================================================
   CAROUSEL (testimonials + case studies)
   ========================================================================== */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.carousel-track {
  display: flex;
  transition: transform .65s cubic-bezier(.22,.85,.32,1);
  will-change: transform;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--brand-blue);
  border: 1.5px solid var(--border-strong);
  font-size: 20px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
  z-index: 4;
}
.carousel-arrow:hover { background: var(--brand-yellow); border-color: var(--brand-yellow); color: var(--brand-blue); transform: translateY(-50%) scale(1.05); }
.carousel-arrow-prev { left: -8px; }
.carousel-arrow-next { right: -8px; }
.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-strong);
  cursor: pointer;
  transition: all .25s;
  border: none;
  padding: 0;
}
.carousel-dot.active {
  background: var(--brand-blue);
  width: 28px;
  border-radius: 100px;
}
@media (max-width: 768px) {
  .carousel-arrow { display: none; }
}

/* ==========================================================================
   TESTIMONIAL CAROUSEL SECTION (right after hero, CodeDale parity)
   ========================================================================== */
.testimonial-carousel-section {
  padding: 64px 0 48px;
  background: var(--bg);
}
.testimonial-carousel-header {
  text-align: center;
  margin-bottom: 44px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.testi-stars-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px;
  background: rgba(245, 166, 35, 0.10);
  border-radius: 100px;
  margin-bottom: 22px;
}
.testi-stars {
  color: var(--brand-yellow);
  letter-spacing: 2px;
  font-size: 16px;
}
.testi-reviews-badge {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-blue);
  font-size: 14px;
}
.testimonial-carousel-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--brand-blue);
}
.testimonial-carousel-section .carousel-track {
  gap: 24px;
}
.testi-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.testi-card:hover { border-color: var(--brand-yellow); transform: translateY(-4px); box-shadow: var(--shadow); }
.testi-quote-mark {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 80px;
  color: rgba(245, 166, 35, 0.2);
  line-height: 1;
}
.testi-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  flex: 1;
  margin-bottom: 22px;
  font-weight: 500;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-author img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testi-name {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--brand-blue);
  font-family: var(--font-display);
}
.testi-role {
  font-size: 12.5px;
  color: var(--text-muted);
}
@media (max-width: 1024px) {
  .testi-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 700px) {
  .testi-card { flex: 0 0 100%; min-height: 240px; }
  .testimonial-carousel-section .carousel-track { gap: 16px; }
}

/* ==========================================================================
   CASE STUDIES SECTION + CARD (CodeDale dialogue-quote style)
   ========================================================================== */
.cases-section {
  padding: 64px 0 72px;
  background: var(--bg-2);
}
.cases-section .carousel-track { gap: 28px; }
.case-card {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  align-items: stretch;
}
.case-card-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--bg-3);
}
.case-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.case-card:hover .case-card-media img { transform: scale(1.03); }
.case-card-body {
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 14px;
  font-weight: 600;
}
.case-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--brand-blue);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.case-blurb {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 26px;
  max-width: 540px;
}
.case-dialogue {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.case-dialogue-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.case-dialogue-row-reply { padding-left: 36px; }
.case-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.case-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.case-avatar-brand {
  background: var(--brand-yellow);
  padding: 7px;
}
.case-avatar-brand img { border-radius: 0; object-fit: contain; }
.case-bubble {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px 16px 16px 4px;
  padding: 11px 16px;
  font-size: 14.5px;
  color: var(--text);
  display: inline-block;
  max-width: 380px;
  line-height: 1.5;
}
.case-bubble-brand {
  background: var(--brand-blue);
  color: #fff;
  border-color: var(--brand-blue);
  border-radius: 16px 16px 4px 16px;
}
.case-author {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 6px;
}
.case-author strong { color: var(--brand-blue); }
@media (max-width: 900px) {
  .case-card { grid-template-columns: 1fr; gap: 0; }
  .case-card-media { min-height: 240px; }
  .case-card-body { padding: 32px 28px 36px; }
  .case-dialogue-row-reply { padding-left: 18px; }
  .case-bubble { max-width: 100%; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
/* Laptop tier — grids reflow, nav still inline but compact */
@media (max-width: 1280px) {
  .nav-link { padding: 9px 11px; font-size: 13.5px; }
  .nav-cta { padding: 10px 16px; }
  .nav-logo { font-size: 17px; }
  .logo-tag { font-size: 8px; letter-spacing: 2px; }
}

@media (max-width: 1100px) {
  .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(6, 1fr); }
  .achievements-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-large { grid-column: span 1; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-timeline::before { display: none; }
}

/* Smaller laptops / tablets — switch to mobile hamburger nav (10 items overflow inline) */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .25s;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  .nav-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-link { padding: 14px 18px; font-size: 16px; }
  .nav-cta { margin-left: 0; justify-content: center; }
}

@media (max-width: 768px) {
  .container, .nav-container { padding: 0 22px; }
  .hero { padding: 110px 22px 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 22px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }

  .services, .process, .tech-stack, .portfolio-preview, .achievements, .testimonials, .faq {
    padding: 70px 0;
  }
  .services-grid, .testimonials-grid, .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .tech-grid { grid-template-columns: repeat(3, 1fr); }
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .ach-num { font-size: 42px; }
  .process-timeline { grid-template-columns: 1fr; gap: 28px; }
  .process-num { font-size: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cta-box h2 { font-size: clamp(26px, 6vw, 36px); }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .marquee-track { font-size: 18px; gap: 24px; }

  /* Hero social proof: stack on small screens */
  .hero-social-proof { flex-direction: column; gap: 10px; padding: 14px 18px; }
  .hero-avatars img { width: 36px; height: 36px; margin-left: -8px; }
  .hero-avatars-more { height: 32px; font-size: 11px; padding: 0 8px; }
  .hero-social-text { text-align: center; }

  /* Hero scroll hint hidden on mobile (less useful) */
  .hero-scroll { display: none; }

  /* Sticky CTA: smaller and bottom-centre on mobile */
  .sticky-cta {
    right: 12px; bottom: 12px; left: 12px;
    justify-content: center;
    font-size: 12.5px;
    padding: 10px 14px;
  }

  /* Single-quote hero testimonial smaller text */
  .hero-testi-quote { font-size: clamp(18px, 4.5vw, 22px); }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 30px; }
  .nav-logo { font-size: 17px; }
  .logo-mark { width: 36px; height: 36px; font-size: 18px; }
  .achievements-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .case-card-body { padding: 26px 22px 30px; }
  .case-title { font-size: 22px; }
  .case-bubble { font-size: 13.5px; padding: 9px 13px; }
}

/* ==========================================================================
   CTA-BOX HARD OVERRIDE — placed LAST so it wins specificity battles.
   Force tight content, kill orbs, prevent any height stretching.
   ========================================================================== */
.cta-section { padding: 30px 0 50px !important; }
.cta-section .cta-box {
  padding: 36px 32px !important;
  min-height: 0 !important;
  height: auto !important;
  display: block !important;
}
.cta-section .cta-box .cta-bg-orb {
  display: none !important;
}
.cta-section .cta-box h2 {
  margin: 0 0 12px 0 !important;
  font-size: clamp(24px, 3.2vw, 38px) !important;
  line-height: 1.15 !important;
}
.cta-section .cta-box p {
  margin: 0 auto 20px !important;
  font-size: 15.5px !important;
  max-width: 560px !important;
}
.cta-section .cta-box .cta-actions {
  margin: 0 !important;
  gap: 10px !important;
}
@media (max-width: 768px) {
  .cta-section { padding: 24px 0 40px !important; }
  .cta-section .cta-box { padding: 26px 18px !important; }
}
