/*  ─────────────────────────────────────────────────────────────────────────
    theme.css — modern design system overlay
    Loaded AFTER css/style.css so its rules cascade over the existing styles
    without requiring a rewrite. Design tokens live in :root and can be
    consumed by future components.
    ───────────────────────────────────────────────────────────────────────── */

/* ── Design tokens ───────────────────────────────────────────────────────── */
:root {
  /* Type — Inter is loaded by the per-page <link> in <head> */
  --ff-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --ff-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, sans-serif;

  /* Type scale — fluid, calibrated for modern SaaS sites */
  --fs-hero: clamp(2.5rem, 5.5vw, 4.5rem);   /* 40px → 72px */
  --fs-h2: clamp(2rem, 3.6vw, 3rem);         /* 32px → 48px */
  --fs-h3: clamp(1.375rem, 2vw, 1.625rem);   /* 22px → 26px */
  --fs-lead: clamp(1.0625rem, 1.4vw, 1.25rem); /* 17px → 20px */
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.75rem;

  /* Line heights & tracking */
  --lh-tight: 1.05;
  --lh-snug: 1.2;
  --lh-normal: 1.5;
  --lh-loose: 1.7;
  --ls-tight: -0.022em;
  --ls-snug: -0.012em;

  /* Spacing scale (powers of clamp for fluid sections) */
  --space-section: clamp(4rem, 9vw, 8rem);
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Radius */
  --r-sm-2: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 9999px;

  /* Border (very subtle — Linear/Vercel style hairlines) */
  --bd-subtle: rgba(15, 23, 42, 0.06);
  --bd-default: rgba(15, 23, 42, 0.10);
  --bd-strong: rgba(15, 23, 42, 0.18);

  /* Shadows — restrained */
  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-md: 0 4px 16px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --sh-lg: 0 24px 48px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.05);
  --sh-glow: 0 0 0 1px rgba(26, 107, 204, 0.18), 0 12px 32px rgba(26, 107, 204, 0.15);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-std: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 220ms;
  --dur-slow: 420ms;

  /* Container width */
  --container-max: 1240px;
}

/* ── Base typography refresh ─────────────────────────────────────────────── */
/* IMPORTANT: do NOT force font-family on *::before / *::after. Font Awesome
   renders each icon as a glyph in pseudo-element content using its own icon
   font; forcing Inter there makes every icon a missing-glyph "tofu" box.
   Pseudo-elements inherit Inter from their element automatically, so normal
   decorative ::before/::after content is unaffected. */
* {
  font-family: var(--ff-sans);
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-sans);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11', 'ss01';
  letter-spacing: -0.003em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ff-display);
  letter-spacing: var(--ls-snug);
  line-height: var(--lh-snug);
}

h1 {
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
}

/* ── Reveal-on-scroll (replacement for AOS on modernized sections) ───────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay='1'] { transition-delay: 80ms; }
[data-reveal-delay='2'] { transition-delay: 160ms; }
[data-reveal-delay='3'] { transition-delay: 240ms; }
[data-reveal-delay='4'] { transition-delay: 320ms; }
[data-reveal-delay='5'] { transition-delay: 400ms; }
[data-reveal-delay='6'] { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── Hero refresh ────────────────────────────────────────────────────────── */
/* The existing .hero markup has: <video class="hero-video">, .hero-overlay,
   .hero-content with h1 + p + .hero__btn__area + .hero-trust-bar.
   We re-skin those without touching markup. */

.hero {
  min-height: 92vh;
  padding-top: clamp(7rem, 10vw, 9rem);
  padding-bottom: clamp(4rem, 7vw, 6rem);
}

.hero-overlay {
  /* Deeper gradient for headline contrast — closer to Stripe/Linear darks */
  background:
    radial-gradient(at 20% 20%, rgba(26, 107, 204, 0.35) 0%, transparent 55%),
    radial-gradient(at 80% 0%, rgba(0, 194, 224, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, rgba(5, 10, 22, 0.55) 0%, rgba(5, 10, 22, 0.85) 100%);
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  margin-bottom: 1.25rem;
  max-width: 22ch;
  /* Subtle gradient highlight on a portion of the headline if a <span class="grad"> is used */
  color: #ffffff;
}

.hero h1 .grad {
  background: linear-gradient(135deg, #7cb6ff 0%, #ffffff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 60ch;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero__btn__area {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Buttons — pill-shaped, sharper hover, no all-caps */
.btn-hero,
.btn-hero-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0;
  text-transform: none;
  transition:
    transform var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
  border: 1px solid transparent;
  line-height: 1;
}

.btn-hero {
  background: #ffffff;
  color: #0a0a0a;
  border-color: #ffffff;
}

.btn-hero:hover {
  background: #f1f5f9;
  color: #0a0a0a;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-hero-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.30);
  backdrop-filter: blur(8px);
}

.btn-hero-white:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

/* Trust bar — restrained, monochrome */
.hero-trust-bar {
  margin-top: 1.5rem;
}

.trust-items-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  list-style: none;
  padding: 0;
}

.trust-items-inline li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: -0.005em;
}

.trust-items-inline li i {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
}

/* ── Navbar polish — tinted dark glass that works on every page ──────────── */
/* Many pages don't have a dark hero behind the nav (testimonial, contact,
   request-quote, blog list, policy pages…). A purely transparent navbar
   becomes invisible on white backgrounds. Use a tinted dark glass that
   looks frosted over a hero but reads as a solid dark navbar on light pages. */
.navbar {
  background: rgba(10, 22, 40, 0.78) !important;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition:
    background-color var(--dur-base) var(--ease-std),
    border-color var(--dur-base) var(--ease-std);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.10);
}

/* ── About-section type refresh ──────────────────────────────────────────── */
/* Semantic upgrade: the eyebrow was an <h2> and the headline was an <h1> —
   both wrong (page already has a hero h1). They're now <p class="about-eyebrow">
   and <h2 class="about-headline">. Visual styling preserved 1:1 below. */
.about-section .content h2,
.about-section .content .about-eyebrow {
  font-size: var(--fs-sm) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: var(--blue, #1a6bcc) !important;
  line-height: var(--lh-snug) !important;
  margin-bottom: 0.5rem !important;
}

.about-section .content h1,
.about-section .content .about-headline {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: var(--ls-snug);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

/* The headline h2 must NOT pick up the eyebrow styling above. */
.about-section .content h2.about-headline {
  font-size: var(--fs-h2) !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: var(--ls-snug) !important;
  color: inherit !important;
  line-height: 1.1 !important;
  margin-bottom: 1.25rem !important;
  max-width: 22ch;
}

.about-section .content p {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: #475569;
  max-width: 60ch;
}

.about-section .more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.375rem;
  border-radius: var(--r-pill);
  background: #0a0a0a;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out),
    background-color var(--dur-base) var(--ease-out);
}

.about-section .more-btn:hover {
  background: #1a6bcc;
  color: #ffffff;
  transform: translateY(-1px);
}

/* ── Services section refresh ────────────────────────────────────────────── */
.services-section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.services-section h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
  letter-spacing: var(--ls-snug);
  line-height: 1.1;
  max-width: 22ch;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Modernized cards — hairline border, subtle hover lift, monochrome accent */
.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--bd-subtle);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--sh-sm);
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
}

/* Neutralize the per-card colored backgrounds — they fight the new aesthetic */
.service-card.card-navyblue,
.service-card.card-blue,
.service-card.card-pink,
.service-card.card-purple,
.service-card.card-yellow,
.service-card.card-lightgrey {
  background: #ffffff;
  color: #0a0a0a;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--bd-strong);
  box-shadow: var(--sh-md);
}

.service-card h3,
.service-card h3.black {
  font-size: var(--fs-h3);
  font-weight: 600;
  color: #0a0a0a;
  margin-bottom: 0.75rem;
  letter-spacing: var(--ls-snug);
  line-height: 1.25;
}

.service-card p,
.service-card p.black {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1rem;
}

.service-card .services--icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm-2);
  background: rgba(26, 107, 204, 0.08);
  margin-bottom: 1.25rem;
  padding: 8px;
}

/* Icons have varied aspect ratios (some tall like 68x98, some wide). Use
   max-* dimensions + object-fit so each icon renders at its natural shape
   without overflowing the 72x72 container. */
.service-card .services--icon img,
.service-card .services--icon picture,
.service-card .services--icon picture img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.service-card a.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid var(--bd-default);
  transition: background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out);
}

.service-card:hover a.arrow {
  background: #0a0a0a;
  border-color: #0a0a0a;
}

.service-card:hover a.arrow img {
  filter: invert(1) brightness(2);
}

.service-card a.arrow img {
  width: 14px;
  height: 14px;
  transition: filter var(--dur-base) var(--ease-out);
}

/* ── Section spacing harmonization for other sections ────────────────────── */
.about-section,
.company-logo-section,
.testimonials-container {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

/* ── Quote/CTA strip (footer top) ────────────────────────────────────────── */
.quote__section {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: var(--ls-snug);
}

/* ── Footer type refresh ─────────────────────────────────────────────────── */
.footer-column h5 {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  margin-bottom: 1rem;
}

.footer-column ul li a {
  font-size: 0.9375rem;
}

/* ── Selection color ─────────────────────────────────────────────────────── */
::selection {
  background: rgba(26, 107, 204, 0.22);
  color: #0a0a0a;
}

/* =================================================================
   OVERRIDE LAYER
   The original css/style.css uses several `!important` declarations
   on button colors, services-section h2 positioning, and card text.
   These overrides re-establish the modern theme as authoritative.
   Keep this block at the very end of theme.css.
   ================================================================= */

/* Hero buttons — kill the legacy gradient + forced color rules so the new
   pill styling renders as designed. The original style.css used
   `color: #fff !important` and `color: #000 !important` which were
   making the button labels invisible against the new white pill / dark
   transparent backgrounds. */
.btn-hero {
  background: #ffffff !important;
  color: #0a0a0a !important;
  text-shadow: none !important;
}

.btn-hero:hover {
  background: #f1f5f9 !important;
  color: #0a0a0a !important;
}

.btn-hero-white {
  background: transparent !important;
  color: #ffffff !important;
  text-shadow: none !important;
}

.btn-hero-white:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  color: #ffffff !important;
}

/* ── Services section — Silicon Valley standard ──────────────────────────── */

.services-section {
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem) !important;
  background: #ffffff !important;
}

.services-section .bg-animated {
  display: none !important;
}

/* Section header — eyebrow + h2 + lead */
.services-section__head {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.services-section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue, #1a6bcc);
  margin-bottom: 1rem;
}

.services-section h2 {
  position: static !important;
  top: auto !important;
  padding: 0 !important;
  color: #0a0a0a !important;
  font-weight: 700 !important;
  text-shadow: none !important;
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  line-height: 1.1 !important;
  letter-spacing: var(--ls-tight) !important;
  margin: 0 0 1rem !important;
  text-align: center;
}

.services-section__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: #475569;
  margin: 0 auto;
  max-width: 56ch;
}

/* Card grid — three columns on desktop, two on tablet, one on phone. */
.services-container {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  align-items: stretch !important;
}

@media (max-width: 960px) {
  .services-container { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .services-container { grid-template-columns: 1fr !important; gap: 1rem !important; }
}

/* Icon container — overrides the earlier rule's margin so the column-gap
   on .service-card controls spacing instead of double-stacking. */
.service-card .services--icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border-radius: 14px !important;
  background: rgba(26, 107, 204, 0.10) !important;
  color: var(--blue, #1a6bcc); /* cascades to <svg stroke="currentColor"> */
}

/* Inline SVG icons inherit the container's currentColor so they all render
   in brand blue at the same visual weight — replaces the inconsistent PNGs. */
.service-card .services--icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  flex: none;
}

/* Hover: icon container deepens slightly to add micro-feedback. */
.service-card:hover .services--icon {
  background: rgba(26, 107, 204, 0.16) !important;
}

/* Cards — equal height, hairline border, hover lift, monochrome accent. */
.service-card,
.service-card.visible {
  position: relative;
  display: flex !important;
  flex-direction: column;
  gap: 1rem;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 16px !important;
  padding: 2rem 1.75rem !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  color: #0a0a0a !important;
  overflow: hidden;
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out) !important;
}

.service-card::after {
  /* Subtle accent line that appears on hover — a Vercel/Linear-style affordance. */
  content: "";
  position: absolute;
  top: 0;
  left: 1.75rem;
  right: 1.75rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue, #1a6bcc), transparent);
  opacity: 0;
  transform: scaleX(0.4);
  transition:
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(26, 107, 204, 0.30) !important;
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

.service-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-card h3,
.service-card h3.black {
  color: #0a0a0a !important;
  font-weight: 600 !important;
  font-size: clamp(1.125rem, 1.5vw, 1.375rem) !important;
  line-height: 1.25 !important;
  text-shadow: none !important;
  letter-spacing: var(--ls-snug) !important;
  margin: 0 !important;
}

.service-card p,
.service-card p.black {
  color: #475569 !important;
  font-weight: 400 !important;
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  flex: 1 1 auto; /* push the CTA to the bottom on equal-height cards */
}

/* Card CTA — text + arrow, bottom-aligned, animates on hover. */
.service-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue, #1a6bcc);
  letter-spacing: -0.005em;
}

.service-card .card-cta__arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-out);
}

.service-card:hover .card-cta__arrow {
  transform: translateX(4px);
}

/* Legacy icon-arrow rules — kept harmless in case any inner page still
   uses .arrow with an img child. The homepage now uses .card-cta instead. */
.service-card a.arrow img {
  filter: invert(1) brightness(0);
}
.service-card:hover a.arrow img {
  filter: invert(0) brightness(2);
}

/* Service card click overlay — full-card hit area. */
.service-card .card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

/* ─────────────────────────────────────────────────────────────────────────
   Critical mobile usability fixes (no redesign — purely structural)
   Each rule maps to a specific blocker from the pre-launch audit. Scoped
   tightly with `!important` because the legacy style.css uses !important
   itself, so cascade alone is not enough.
   ───────────────────────────────────────────────────────────────────────── */

/* Global safety net — prevent any rogue element from causing
   horizontal page scroll on phones. Cheap and broadly safe. */
html, body {
  overflow-x: hidden;
}

/* Hamburger button — 44×44 minimum touch target (WCAG AA).
   Applies at every viewport because the button is always visible. */
.navbar-toggler {
  min-width: 44px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
}

/* Calendar day cells (contact.html) — guarantee a tappable size on
   common phones. The grid is 7 cols + 4px gap; on 360px viewport with
   16px card padding we get cells ≈45px, comfortably above the 44px floor. */
#calendarCard .cal-dates-grid {
  /* keep grid-template-columns from base style (repeat(7,1fr)) */
  min-width: 0;
}
#calendarCard .cal-day {
  min-height: 40px;
}
/* When .cal-day is a <button> (selectable days) it inherits browser button
   defaults — reset them so it visually matches the original <div> rendering. */
#calendarCard button.cal-day {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 1px solid transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  margin: 0;
  /* keep aspect ratio so it looks like the div version */
  aspect-ratio: 1;
}

@media (max-width: 480px) {
  /* 1) Navbar — kill the floating rounded design on phones.
     Becomes a clean full-width sticky header pinned to the top edge. */
  .navbar {
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    border-radius: 0 !important;
    padding: 10px 14px !important;
    opacity: 1 !important;
  }

  /* 2) Quote form — service-type grid collapses to single column.
     Default uses minmax(140px,1fr) auto-fill which wraps inconsistently. */
  .project-type-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  /* 3) Calendar widget container — shrink padding so all 7 day cells
     remain comfortably clickable on phone-width viewports. */
  #calendarCard.bk-card {
    padding: 16px !important;
  }
  #calendarCard .cal-dates-grid {
    gap: 3px !important;
  }
  #calendarCard .cal-day {
    font-size: 0.8rem !important;
    border-radius: 8px !important;
  }
  #calendarCard .cal-dow {
    font-size: 0.6rem !important;
  }
}

/* Very small phones — final guarantee on calendar tappability. */
@media (max-width: 360px) {
  #calendarCard.bk-card {
    padding: 12px !important;
  }
  #calendarCard .cal-day {
    font-size: 0.75rem !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Hero trust bar — clean 2×2 grid on mobile so all 4 items fit
   above the fold. Default flex-wrap caused 3 unpredictable rows and
   pushed the 4th item below initial viewport on phones.
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  /* Aggressively compact hero on phones so the full 2×2 trust bar fits
     above the initial-viewport fold (no scroll needed to see all 4 items). */
  .hero {
    min-height: auto !important;
    padding-top: clamp(4.5rem, 14vw, 5.5rem) !important;
    /* Generous bottom padding so the trust bar always sits clearly INSIDE
       the dark hero with breathing room before the next section. */
    padding-bottom: 4rem !important;
    overflow: visible !important; /* don't clip the trust bar even if hero collapses */
  }
  .hero h1 {
    font-size: clamp(1.5rem, 6.4vw, 1.875rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 0.625rem !important;
    max-width: none !important;
  }
  .hero p {
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    margin-bottom: 0.875rem !important;
  }
  .hero__btn__area {
    margin-bottom: 0.875rem !important;
    gap: 0.5rem !important;
  }
  .btn-hero, .btn-hero-white {
    padding: 0.625rem 1.125rem !important;
    font-size: 0.875rem !important;
  }
  .hero-trust-bar {
    margin-top: 0.625rem !important;
    padding-top: 0.625rem !important;
    width: 100%;
  }
  .trust-items-inline {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px 12px !important;
    justify-content: stretch !important;
    align-items: start !important;
  }
  /* Allow the longer labels ("Enterprise & Government", "AI-Forward
     Engineering") to WRAP onto two short lines instead of truncating
     with an ellipsis. Each cell sizes to content; the icon stays inline. */
  .trust-items-inline li {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    gap: 5px !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    min-width: 0;
    align-items: flex-start !important;
  }
  .trust-items-inline li i {
    font-size: 11.5px !important;
    flex-shrink: 0;
    margin-top: 2px; /* nudge icon down to align with first text line */
  }
}

@media (max-width: 360px) {
  .trust-items-inline li {
    font-size: 11px !important;
  }
  .trust-items-inline li i {
    font-size: 11px !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Budget tile grid (request_quote.html) — predictable stacking 320–768px
   The base rule uses `repeat(auto-fill, minmax(130px, 1fr))` which produces
   orphan tiles at certain widths (e.g. 5 + 1, 4 + 2). For 6 tiles we want
   a clean grid: 3×2 on tablet, 2×3 on phone. Desktop (≥ 768px) is untouched.
   ───────────────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .budget-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }
  .budget-tile {
    padding: 14px 8px !important;
    min-width: 0; /* allow flex/grid item to shrink below its content width */
  }
  .budget-tile .bt-amount {
    font-size: 0.85rem !important;
    word-break: keep-all;
  }
  .budget-tile .bt-note {
    font-size: 0.6rem !important;
  }
}

@media (max-width: 480px) {
  .budget-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
  .budget-tile {
    padding: 16px 10px !important;
  }
  .budget-tile .bt-amount {
    font-size: 0.9rem !important;
  }
  .budget-tile .bt-note {
    font-size: 0.65rem !important;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   Testimonials section (homepage) — Silicon Valley standard
   ───────────────────────────────────────────────────────────────────────── */

/* Override the old container — kill decorations + reset padding. */
.testimonials-container.testimonials-section {
  background: #f8fafc !important;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem) !important;
  overflow: visible !important;
}

/* Kill the floating shape pseudo-elements that clutter the section. */
.testimonials-container.testimonials-section::before,
.testimonials-container.testimonials-section::after {
  display: none !important;
}

/* Section header — same pattern as services section for visual rhythm. */
.testimonials-section__head {
  max-width: 760px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) !important;
  text-align: center;
}

.testimonials-section__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue, #1a6bcc);
  margin-bottom: 1rem;
}

.testimonials-container.testimonials-section h2 {
  text-align: center !important;
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: var(--ls-tight) !important;
  color: #0a0a0a !important;
  margin: 0 0 1rem !important;
}

.testimonials-section__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: #475569;
  margin: 0 auto !important;
  max-width: 56ch;
}

/* Trust strip — real metrics, 4 columns of stat blocks. */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1rem, 3vw, 2rem);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.trust-stat {
  text-align: center;
  position: relative;
}

.trust-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  right: -0.5rem;
  width: 1px;
  height: 76%;
  background: rgba(15, 23, 42, 0.08);
}

.trust-stat__num {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  color: var(--blue, #1a6bcc);
  line-height: 1;
}

.trust-stat__num span {
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 1px;
  font-weight: 600;
}

.trust-stat__label {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: #475569;
  font-weight: 500;
  letter-spacing: -0.005em;
}

@media (max-width: 700px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .trust-stat:nth-child(2)::after,
  .trust-stat:nth-child(4)::after { display: none; }
}

/* Testimonial card grid — 3 cols / 2 / 1, equal height. */
.testimonials.testimonials-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem !important;
  max-width: 1200px;
  margin: 0 auto !important;
  position: static !important;
  z-index: auto !important;
}

@media (max-width: 960px) {
  .testimonials.testimonials-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 640px) {
  .testimonials.testimonials-grid { grid-template-columns: 1fr !important; }
}

/* Testimonial card — white, hairline border, equal height, glyph + rating
   + quote + attribution. Resets old .testimonial-1/-2/-3 negative margins. */
.testimonial-card,
.testimonial-card.testimonial-1,
.testimonial-card.testimonial-2,
.testimonial-card.testimonial-3 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  box-shadow: none;
  transform: none !important;
  margin: 0 !important;
  align-self: stretch !important;
  transition:
    transform var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(26, 107, 204, 0.30);
  box-shadow:
    0 14px 32px rgba(15, 23, 42, 0.08),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Star rating */
.testimonial-card__rating {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b; /* amber-500 — universally readable star rating */
}

.testimonial-card__rating svg {
  width: 16px;
  height: 16px;
}

/* Decorative double-quote glyph above the testimonial text. */
.testimonial-card__glyph {
  width: 28px;
  height: 28px;
  color: rgba(26, 107, 204, 0.18);
  flex-shrink: 0;
}

/* The quote itself */
.testimonial-card__quote {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #1e293b;
  font-style: normal; /* override old italic */
  font-weight: 400;
  letter-spacing: -0.003em;
  flex: 1 1 auto; /* push attribution to bottom for equal-height alignment */
}

/* Attribution footer: avatar + name + role */
.testimonial-card__attrib {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #4a6cf7 0%, #6cbbf2 100%);
}

.testimonial-card__avatar picture,
.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  box-shadow: none;
  background: transparent;
  margin: 0;
}

.testimonial-card__person {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0a0a0a;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: #64748b;
  letter-spacing: -0.003em;
}

/* Section CTA — replaces the old .view-more line+text affordance. */
.testimonials-section__cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.testimonials-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: #0a0a0a;
  color: #ffffff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none !important;
  transition:
    transform var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
}

.testimonials-cta-link:hover {
  background: var(--blue, #1a6bcc);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.testimonials-cta-link .card-cta__arrow {
  display: inline-block;
  transition: transform var(--dur-base) var(--ease-out);
}

.testimonials-cta-link:hover .card-cta__arrow {
  transform: translateX(4px);
}

/* Hide the old .view-more line on the redesigned section — kept harmless
   in case any inline JS still references it. */
.testimonials-section .view-more { display: none !important; }

/* ── testimonial-all.html — page-specific additions ──────────────────────── */

/* The full testimonials page also uses .testimonials__container__all class.
   Make sure its old bg/margin doesn't fight the new section design. */
.testimonials-container.testimonials__container__all.testimonials-section {
  margin: 0 auto !important;
  background: #f8fafc !important;
}

/* Breadcrumb pill above the page header. */
.ta-breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #64748b;
  margin-bottom: 1.5rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.ta-breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

.ta-breadcrumb a:hover {
  color: var(--blue, #1a6bcc);
}

.ta-breadcrumb span[aria-hidden="true"] {
  color: rgba(15, 23, 42, 0.25);
}

/* Country flag chip in the testimonial card footer (right-aligned). */
.testimonial-card__chip {
  margin-left: auto;
  font-size: 18px;
  line-height: 1;
  flex: 0 0 auto;
  align-self: center;
  opacity: 0.85;
}

/* ── Client logo wall ───────────────────────────────────────────────────── */
.ta-logo-wall {
  background: #ffffff;
  padding: clamp(4rem, 8vw, 6rem) clamp(1rem, 4vw, 3rem);
}

.ta-logo-wall__head {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.ta-logo-wall__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue, #1a6bcc);
  margin-bottom: 0.75rem;
}

.ta-logo-wall__head h3 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: var(--ls-snug);
  line-height: 1.25;
  color: #0a0a0a;
  margin: 0;
}

.ta-logo-wall__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  justify-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.ta-logo-wall__grid li { width: 100%; display: flex; justify-content: center; }

.ta-logo-wall__grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 160px;
  padding: 8px;
  transition: filter var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
  /* Monochrome treatment so mixed-color brand logos read as one cohesive row. */
  filter: grayscale(100%);
  opacity: 0.65;
}

.ta-logo-wall__grid a:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-2px);
}

.ta-logo-wall__grid img,
.ta-logo-wall__grid picture {
  max-width: 100%;
  height: auto;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 880px) {
  .ta-logo-wall__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .ta-logo-wall__grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; }
}

/* ── Bottom CTA band ────────────────────────────────────────────────────── */
.ta-cta-band {
  background: linear-gradient(135deg, #0a0f1f 0%, #0a1628 45%, #0d3f8f 100%);
  padding: clamp(4rem, 9vw, 7rem) clamp(1rem, 4vw, 3rem);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.ta-cta-band::before {
  /* Subtle radial glow for depth — Linear/Vercel pattern. */
  content: "";
  position: absolute;
  top: -25%;
  left: 50%;
  width: 800px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(26, 107, 204, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.ta-cta-band__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.ta-cta-band__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ta-cta-band h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
  margin: 0;
  color: #ffffff;
}

.ta-cta-band p {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-width: 56ch;
}

.ta-cta-band__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.ta-cta-band__actions .btn-hero,
.ta-cta-band__actions .btn-hero-white {
  /* Inherit pill-button styling from theme.css base rules. */
}

.ta-cta-band__actions .btn-hero-white i {
  color: #25D366; /* WhatsApp green icon */
}

/* ── CTA reassurance microcopy — small grey line under primary CTAs
       (hero, CTA bands on legal pages, testimonial CTA). Conveys
       "what to expect" so visitors click with confidence. */
.cta-reassurance {
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.003em;
  color: rgba(255, 255, 255, 0.55);
  margin: 0.75rem 0 0;
  text-align: inherit;
}
.cta-reassurance--on-dark {
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  margin-top: 0.75rem;
}

/* Footer-bottom credentials — Kathmandu / Melbourne / Established 2010.
   Wraps cleanly to second line on small screens without changing layout. */
.footer-credentials {
  display: inline;
  opacity: 0.78;
  font-size: 0.875em;
}
@media (max-width: 600px) {
  .footer-credentials {
    display: block;
    margin-top: 4px;
    font-size: 0.8em;
  }
}

/* Footer trust strip — elite credentials row above the link columns.
   Single horizontal flex row with dot separators on desktop; stacks to a
   tidy column on mobile so each credential sits on its own line. */
.footer-trust {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem 0.85rem !important;
  padding: 1.1rem clamp(1rem, 3vw, 1.75rem) !important;
  margin: 0 0 1.75rem !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  font-size: 0.875rem !important;
  line-height: 1.35 !important;
  color: rgba(15, 23, 42, 0.70) !important;
}
.footer-trust__item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  color: #475569 !important;
  text-decoration: none !important;
  transition: color 220ms ease, transform 220ms ease;
  white-space: nowrap;
}
a.footer-trust__item:hover {
  color: #1a6bcc !important;
  transform: translateY(-1px);
}
.footer-trust__item svg {
  flex: 0 0 auto;
  color: #1a6bcc;
  opacity: 1;
}
.footer-trust__item strong {
  color: #0f172a !important;
  font-weight: 700;
}
.footer-trust__meta {
  color: #64748b !important;
  font-weight: 400;
}
.footer-trust__sep {
  color: rgba(15, 23, 42, 0.25) !important;
  font-weight: 400;
  user-select: none;
}
@media (max-width: 820px) {
  .footer-trust {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.7rem !important;
    padding: 1rem 1.1rem !important;
  }
  .footer-trust__item {
    white-space: normal;
  }
  .footer-trust__sep {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────
   INDUSTRIES PAGE — vertical self-segmentation
   Used on industries.html. Editorial dark hero + light primary grid +
   light secondary list + default fallback section + elite CTA.
   ───────────────────────────────────────────────────────────────────────── */

/* HERO — dark editorial split with status mark, aurora glow, grid overlay */
.industries-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(7rem, 14vh, 9rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 6vh, 4.5rem);
  background: linear-gradient(135deg, #0a0f1f 0%, #0a1628 45%, #0d3f8f 100%);
  color: #ffffff;
  overflow: hidden;
}
.industries-hero__aurora {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(26, 107, 204, 0.32) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.industries-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 70%);
}
.industries-hero__crumb {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.industries-hero__crumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 220ms ease;
}
.industries-hero__crumb a:hover { color: #ffffff; }
.industries-hero__crumb span:not([aria-hidden]) { color: rgba(255, 255, 255, 0.55); }
.industries-hero__crumb [aria-hidden] { margin: 0 0.4rem; color: rgba(255, 255, 255, 0.25); }
/* When the breadcrumb is dropped inside a light-background .pillar-hero
   (as the refreshed auction/banking/healthcare/realestate pages do),
   override the dark-mode whites so it's legible on light backgrounds. */
.pillar-hero .industries-hero__crumb { color: rgba(15, 23, 42, 0.5); }
.pillar-hero .industries-hero__crumb a { color: rgba(15, 23, 42, 0.7); }
.pillar-hero .industries-hero__crumb a:hover { color: #2563eb; }
.pillar-hero .industries-hero__crumb span:not([aria-hidden]) { color: rgba(15, 23, 42, 0.6); }
.pillar-hero .industries-hero__crumb [aria-hidden] { color: rgba(15, 23, 42, 0.3); }
.industries-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.industries-hero__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: indHeroPulse 2.2s ease-out infinite;
}
@keyframes indHeroPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .industries-hero__pulse { animation: none; }
}
.industries-hero__headline {
  font-size: clamp(2.25rem, 5.4vw, 4.5rem) !important;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1.5rem;
  max-width: 22ch;
  color: #ffffff;
}
.industries-hero__headline span { display: block; }
.industries-hero__accent {
  background: linear-gradient(135deg, #7cb6ff 0%, #c8d8ff 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.industries-hero__lede {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 64ch;
  margin: 0 0 1.75rem;
}
.industries-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

/* PRIMARY VERTICALS SECTION */
.industries-primary {
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  background: #ffffff;
}
.industries-primary__header {
  max-width: 760px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.industries-primary__eyebrow,
.industries-secondary__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 0.65rem;
}
.industries-primary__title,
.industries-secondary__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: #0f172a;
  margin: 0 0 0.85rem;
}
.industries-primary__sub,
.industries-secondary__sub {
  font-size: clamp(0.98rem, 1.3vw, 1.05rem);
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.65);
  margin: 0;
}

.industry-grid {
  display: grid;
  /* minmax(min(100%, 340px), 1fr) lets columns shrink below 340px when the
     container is narrower than that — prevents horizontal overflow on
     viewports under ~370px (small phones in portrait, narrow zoom). */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
  max-width: 1240px;
  margin: 0 auto;
}
.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 8px 24px -16px rgba(15, 23, 42, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.industry-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.03),
    0 18px 36px -18px rgba(15, 23, 42, 0.14);
}
.industry-card--specialty {
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
  border-color: rgba(37, 99, 235, 0.16);
}
.industry-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.6rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #2563eb;
}
.industry-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb 0%, #0d3f8f 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px -6px rgba(37, 99, 235, 0.45);
}
.industry-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
  margin: 0 0 0.55rem;
  line-height: 1.25;
}
.industry-card__scope {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.72);
  margin: 0 0 1rem;
}
.industry-card__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.industry-card__bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.68);
}
.industry-card__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2563eb;
  opacity: 0.7;
}
.industry-card__proof {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.10);
  font-size: 0.85rem;
}
.industry-card__proof-label {
  font-weight: 600;
  color: rgba(15, 23, 42, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.72rem;
  margin-right: 0.4rem;
}
.industry-card__proof a {
  color: #1f3a8a;
  text-decoration: none;
  font-weight: 600;
  transition: color 200ms ease;
}
.industry-card__proof a:hover { color: #2563eb; text-decoration: underline; }
.industry-card__links {
  margin-top: 0.6rem;
  font-size: 0.85rem;
}
.industry-card__service {
  color: rgba(15, 23, 42, 0.62);
  text-decoration: none;
  font-weight: 500;
  transition: color 200ms ease;
}
.industry-card__service:hover { color: #2563eb; }

/* SECONDARY VERTICALS — lighter, mini cards */
.industries-secondary {
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4rem);
  background: #f7f9fc;
}
.industries-secondary__header {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 2.5rem);
  text-align: center;
}
.industry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
}
.industry-list__item {
  padding: 1.5rem 1.4rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.industry-list__item:hover {
  border-color: rgba(37, 99, 235, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
}
.industry-list__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10) 0%, rgba(99, 102, 241, 0.10) 100%);
  color: #2563eb;
  margin-bottom: 0.9rem;
}
.industry-list__icon svg { width: 22px; height: 22px; }
.industry-list__item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.4rem;
  letter-spacing: -0.005em;
}
.industry-list__item p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: rgba(15, 23, 42, 0.68);
  margin: 0 0 0.75rem;
}
.industry-list__anchor {
  display: inline-block;
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.55);
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  width: 100%;
}
.industry-list__anchor strong { color: #2563eb; font-weight: 600; }

/* DEFAULT FALLBACK SECTION */
.industries-default {
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  background: #ffffff;
}
.industries-default__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(2rem, 3vw, 2.75rem);
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at top, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
    #ffffff;
}
.industries-default__title {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.018em;
  color: #0f172a;
  margin: 0 0 0.85rem;
}
.industries-default__copy {
  font-size: clamp(0.98rem, 1.3vw, 1.05rem);
  line-height: 1.6;
  color: rgba(15, 23, 42, 0.72);
  max-width: 60ch;
  margin: 0 auto 1.5rem;
}
.industries-default__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: center;
}
/* Primary CTA was white-on-white (invisible) — give it a visible brand bg.
   Secondary outline button gets a visible blue border on the light panel. */
.industries-default__actions .btn-hero {
  background: linear-gradient(135deg, #2e7de0 0%, #1a6bcc 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}
.industries-default__actions .btn-hero:hover {
  background: linear-gradient(135deg, #1a6bcc 0%, #0d3f8f 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.36);
}
.industries-default__actions .btn-hero-white {
  background: #ffffff !important;
  color: #1a6bcc !important;
  border: 1px solid rgba(37, 99, 235, 0.35) !important;
}
.industries-default__actions .btn-hero-white:hover {
  background: rgba(37, 99, 235, 0.06) !important;
  border-color: rgba(37, 99, 235, 0.55) !important;
  color: #1a6bcc !important;
}

/* Multi-step form progress — sticky-pin to top on mobile so the user
   always sees which step they're on while scrolling the long form.
   Desktop unchanged (wizard sits at top of layout already). */
@media (max-width: 768px) {
  .wizard-progress,
  .booking-steps {
    position: sticky !important;
    top: 56px; /* below the fixed navbar */
    z-index: 50;
    background: var(--bg-dark, #0d1b2e) !important;
    padding: 12px 8px !important;
    margin: 0 -8px 16px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.35);
  }
}

/* Sidebar office blocks on request_quote.html — Melbourne + Kathmandu */
.sidebar-offices {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.sidebar-office {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-decoration: none;
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.sidebar-office:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(26, 107, 204, 0.45);
  transform: translateY(-1px);
  color: #ffffff;
  text-decoration: none;
}

.sidebar-office__flag {
  font-size: 24px;
  line-height: 1;
  flex: 0 0 28px;
}

.sidebar-office__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sidebar-office__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}

.sidebar-office__num {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sidebar-office__num i {
  color: #25D366; /* WhatsApp green */
}

/* Instant-chat compound field (WhatsApp / Telegram + handle) on
   request_quote.html — visually one field, two semantic inputs. */
.im-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.im-row .im-select {
  flex: 0 0 130px;
  min-width: 110px;
}

.im-row .im-input {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 480px) {
  .im-row { flex-direction: column; gap: 6px; }
  .im-row .im-select { flex-basis: auto; }
}

.service-card .services--icon,
.service-card h3,
.service-card p,
.service-card a.arrow {
  position: relative;
  z-index: 2; /* sit above the .card-link overlay so hovers still trigger arrow style */
}

/* ═════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY LAYER
   Adds keyboard focus visibility, ARIA-friendly defaults, and touch-target
   minimums WITHOUT changing the visual design. All rules use !important
   to defeat the legacy `outline: none !important` declarations in style.css.
   ═════════════════════════════════════════════════════════════════════════ */

/* Skip-link — visually hidden until keyboard focused */
.a11y-skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 9999;
  background: #0a0a0a;
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.18s ease-out;
}
.a11y-skip-link:focus,
.a11y-skip-link:focus-visible {
  top: 8px;
  outline: 3px solid #ffffff !important;
  outline-offset: 2px !important;
}

/* Screen-reader-only utility (for ARIA helpers we may need) */
.a11y-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ── Focus-visible — global keyboard indicator ───────────────────────────
   Uses :focus-visible so mouse clicks don't produce the ring. Strong brand
   blue with 2px white inner gap for contrast on any background. */
:focus { outline: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
[role="button"]:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
.dropdown-toggle:focus-visible,
.btn-hero:focus-visible,
.btn-hero-white:focus-visible,
.service-card:focus-visible,
.service-card .card-link:focus-visible,
.testimonial-card:focus-visible,
.testimonials-cta-link:focus-visible,
.navbar-toggler:focus-visible,
.menu-close:focus-visible,
.card-cta:focus-visible,
.cal-day:focus-visible,
.cal-nav-btn:focus-visible,
.fi:focus-visible,
.fi-select:focus-visible,
.budget-tile:focus-visible,
.pt-card:focus-visible,
.im-row .im-select:focus-visible,
.im-row .im-input:focus-visible,
.emt-input:focus-visible,
.emt-select:focus-visible {
  outline: 2px solid #1a6bcc !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 4px rgba(26, 107, 204, 0.18) !important;
  border-radius: 4px;
}

/* Form inputs already have a border-radius — keep their own shape on focus. */
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.fi:focus-visible,
.fi-select:focus-visible,
.emt-input:focus-visible,
.emt-select:focus-visible {
  border-radius: inherit;
}

/* Pill buttons keep their pill shape on focus instead of the generic 4px */
.btn-hero:focus-visible,
.btn-hero-white:focus-visible,
.testimonials-cta-link:focus-visible,
.more-btn:focus-visible {
  border-radius: 9999px !important;
}

/* Cards keep their card radius on focus */
.service-card:focus-visible,
.service-card .card-link:focus-visible,
.testimonial-card:focus-visible {
  border-radius: 16px !important;
}

/* ── Make the previously inaccessible Services dropdown link
       look "focusable" so visible focus ring works on keyboard tab.
       (header.js will add role/tabindex/aria — these styles support that.) */
.dropdown-toggle[role="button"] { cursor: pointer; }

/* ── Touch target floor — ensure ≥ 40-44px on the most-tapped controls
       without changing visual size noticeably. Uses min-height only, so
       text/icon centring stays unchanged. */
.nav-link,
.dropdown-item,
.cal-nav-btn,
.menu-close {
  min-height: 44px;
}

.dropdown-item {
  display: flex !important;
  align-items: center;
}

.menu-close {
  min-width: 44px;
}

/* ── Honor prefers-reduced-motion across all our motion ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-video { display: none !important; }

  /* AOS uses inline transforms (translateX/translateY/scale) that the
     wildcard rule above doesn't touch. Neutralise them explicitly so users
     with motion sensitivity don't see slide-in or fade-up effects. */
  [data-aos] {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── ARIA error state visibility on form fields (does not change layout) */
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #dc2626 !important;
}

/* ── Active page indicator for screen readers + visual subtle dot ──── */
[aria-current="page"] {
  font-weight: 600;
}

/* ═════════════════════════════════════════════════════════════════════════
   TYPOGRAPHY NORMALIZATION LAYER
   Maps the legacy fixed-px font-sizes in style.css to the existing fluid
   tokens declared in :root above. Every rule uses !important to defeat the
   inline `font-size: 28px` / `font-size: 18px` declarations in style.css.
   No new tokens introduced. No new scales. Just the canonical six:
     --fs-hero / --fs-h2 / --fs-h3 / --fs-lead / --fs-body / --fs-sm / --fs-xs
   ═════════════════════════════════════════════════════════════════════════ */

/* Mapping rules (px → token):
     40-42 px  →  var(--fs-hero)   clamp(2.5rem, 5.5vw, 4.5rem)
     30-36 px  →  var(--fs-h2)     clamp(2rem,   3.6vw, 3rem)
     26-28 px  →  var(--fs-h3)     clamp(1.375rem, 2vw, 1.625rem)
     22-24 px  →  var(--fs-h3)     same
     18-20 px  →  var(--fs-lead)   clamp(1.0625rem, 1.4vw, 1.25rem)
     16 px     →  var(--fs-body)   1rem
     14-15 px  →  var(--fs-sm)     0.875rem
     11-13 px  →  var(--fs-xs)     0.75rem
*/

/* ── HERO-SCALE legacy headings (40-42 px in style.css) ──────────────── */
.hero h1,
.casestudies--detail .page-title,
.who-we-are h2,
.auction__type__section .heading h2,
.digital-marketing h2 {
  font-size: var(--fs-hero) !important;
  line-height: var(--lh-tight) !important;
  letter-spacing: var(--ls-tight) !important;
}

/* ── H2-SCALE legacy headings (30-36 px) ─────────────────────────────── */
.quote__section,
.we-turn-ai .intro h2,
.strategy-wrapper .text h2,
.flexible-container .card h2,
.web__wrapper .text h2,
.carousel-container-ourwork .card-ourwork h3 {
  font-size: var(--fs-h2) !important;
  line-height: var(--lh-snug) !important;
  letter-spacing: var(--ls-snug) !important;
}

/* ── H3-SCALE legacy headings (22-28 px) ─────────────────────────────── */
.service-card h3,
.casestudies--detail .customer h3,
.core__step__container .card h2,
.business__impact .card h3,
.software__wrapper .content h2,
.info-box .phone,
.company-logo-section h4,
.contact-box h4,
.view-more .line::after,
.carousel-container-ourwork .card-ourwork p.greytext,
.carousel-container-ourwork .arrow,
.ai-solution-section .check-box::before,
.auction__type__section .auction-icon {
  font-size: var(--fs-h3) !important;
  line-height: var(--lh-snug) !important;
  letter-spacing: var(--ls-snug) !important;
}

/* ── LEAD text (18-20 px legacy) ─────────────────────────────────────── */
.hero p,
.contact-info,
.menu-close,
.dropdown-toggle::after,
.dropdown-item,
.service-card p,
.testimonials__container__all p,
.business__impact ul li,
.footer-column h5,
.form-section h3,
.who-we-are p,
.ai-solution-section .feature-text,
.we-turn-ai .intro p,
.we-turn-ai .feature h3,
.we-turn-ai .feature p,
.strategy-wrapper .text p,
.strategy-wrapper .text ul li,
.challenges__container ul li,
.core__step__container .heading p,
.software__container ul li,
.business__impact .card h3,
.web__wrapper .text p,
.web__wrapper .text ul li,
.software__wrapper .content p,
.software__wrapper .content ul,
.banner-develop .banner-content a,
.step p,
.text-section small,
.casestudy-carousel-container .arrow,
.our__works p,
.case-studies .card-content h3 a,
.realestate__container .feature-box i,
.auction__type__section .arrow-icon,
.our__works .tab-btn,
.our__works .project-title,
.trust-items-inline li i {
  font-size: var(--fs-lead) !important;
  line-height: var(--lh-normal) !important;
}

/* ── BODY text (16 px legacy) ────────────────────────────────────────── */
.contact-box p,
.footer-logo p,
.footer-column ul li,
.about-year h4,
.auction-feature ul li,
.core__step__container .card p,
.casestudies--detail .info-text .info-head,
.casestudies--detail .customer p {
  font-size: var(--fs-body) !important;
  line-height: var(--lh-normal) !important;
}

/* ── SMALL UI text (14-15 px legacy) ─────────────────────────────────── */
.footer-bottom,
.checkbox-group label,
.case-studies .tags,
.casestudies--detail .breadcrumb,
.our__works .pill,
.trust-items-inline li {
  font-size: var(--fs-sm) !important;
  line-height: var(--lh-normal) !important;
}

/* ── MICRO text (11-13 px legacy) ────────────────────────────────────── */
.dropdown-subhead,
.casestudies--detail .info-text .info-sub,
.our__works .project-cats {
  font-size: var(--fs-xs) !important;
  line-height: var(--lh-normal) !important;
}

/* ── Generic element baselines for any unstyled heading on inner pages
       that legacy CSS didn't cover. Lower specificity (just element) so
       any explicit theme.css rule still wins. */
main h1:not([class]) { font-size: var(--fs-hero); line-height: var(--lh-tight); letter-spacing: var(--ls-tight); }
main h2:not([class]) { font-size: var(--fs-h2);   line-height: var(--lh-snug);  letter-spacing: var(--ls-snug); }
main h3:not([class]) { font-size: var(--fs-h3);   line-height: var(--lh-snug);  letter-spacing: var(--ls-snug); }
main h4:not([class]) { font-size: var(--fs-lead); line-height: var(--lh-snug); }
main p:not([class])  { font-size: var(--fs-body); line-height: var(--lh-loose); }

/* ── AGGRESSIVE FORCE — element-level overrides for any p/li/h that has
       a legacy hardcoded px value not caught by the targeted rules above.
       !important is used because many legacy class rules in style.css
       (.faq__section .faq-answer p, .penny p, etc.) have higher specificity
       than element-only selectors. */
main p,
main li,
section p,
section li,
article p,
article li {
  font-size: var(--fs-body) !important;
  line-height: var(--lh-loose) !important;
}

main h1,
section h1,
article h1 {
  font-size: var(--fs-hero) !important;
  line-height: var(--lh-tight) !important;
  letter-spacing: var(--ls-tight) !important;
}

main h2,
section h2,
article h2 {
  font-size: var(--fs-h2) !important;
  line-height: var(--lh-snug) !important;
  letter-spacing: var(--ls-snug) !important;
}

main h3,
section h3,
article h3 {
  font-size: var(--fs-h3) !important;
  line-height: var(--lh-snug) !important;
  letter-spacing: var(--ls-snug) !important;
}

main h4,
section h4,
article h4 {
  font-size: var(--fs-lead) !important;
  line-height: var(--lh-snug) !important;
}

main h5,
section h5,
article h5 {
  font-size: var(--fs-sm) !important;
  line-height: var(--lh-snug) !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

main h6,
section h6,
article h6 {
  font-size: var(--fs-xs) !important;
  line-height: var(--lh-snug) !important;
  letter-spacing: 0.06em;
}

/* "Lead" or intro paragraph patterns — promote first p in a section/article
       header to lead size for vertical rhythm consistency. */
main section > .container > p:first-of-type,
main section header p,
main .lead,
.lead,
.intro p,
.section__intro p {
  font-size: var(--fs-lead);
  line-height: var(--lh-normal);
}

/* Buttons / form controls — keep their tap target but unify type with --fs-body */
button:not(.navbar-toggler):not(.menu-close):not(.cal-day):not(.cal-nav-btn):not(.btn-hero):not(.btn-hero-white),
input[type="submit"],
input[type="button"],
.btn:not(.btn-hero):not(.btn-hero-white) {
  font-size: var(--fs-body);
  line-height: 1.4;
}

/* Form text controls — unify to body size for legibility */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="password"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
textarea,
select {
  font-size: var(--fs-body);
  line-height: 1.4;
}

/* Labels — small but readable */
label:not(.budget-tile):not(.pt-card):not(.checkbox-group label) {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

/* Common micro-text patterns across pages */
small,
.small,
.meta,
.caption,
.label-small,
.field-err,
.field-hint {
  font-size: var(--fs-xs);
  line-height: var(--lh-normal);
}

/* ── Body/paragraph rhythm baseline (line-height harmony) ───────────── */
body {
  line-height: var(--lh-loose);
}

/* ── Mobile-specific px overrides that we already inserted intentionally
       (hero h1 / hero p / trust-items-inline / cal-day) — these stay px
       because they're media-query-scoped fine-tuning, not site-wide tokens.
       Documented here so they're not flagged in a future audit. */

/* ═════════════════════════════════════════════════════════════════════════
   CRITICAL MOBILE FIXES (high-severity QA findings)
   ═════════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  /* ── 1A. Two-column .web__wrapper sections (auction, case-studies,
         healthcare, dinepa, penny live-bid pages). The original grid uses
         `grid-template-columns: 1fr 1fr` and an image background. On mobile
         the right column was rendered off-screen because it never collapsed. */
  .web__wrapper {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .web__wrapper .col {
    padding: 30px 20px !important;
  }
  .web__wrapper .col.img_2,
  .web__wrapper .col.img1,
  .web__wrapper .col.img3,
  .web__wrapper .col.img7 {
    min-height: 200px;
  }

  /* ── 1B. AOS horizontal slide animations (fade-left / fade-right) cause
         the element to start at translateX(±100px), which on phones lands
         it off the viewport edge. Neutralise the X transform on mobile so
         only the fade remains; vertical fade-up/down still works. */
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translate(0, 0) !important;
  }
  /* Same for AOS slide variants that ride horizontally. */
  [data-aos="slide-left"],
  [data-aos="slide-right"],
  [data-aos="zoom-in-left"],
  [data-aos="zoom-in-right"],
  [data-aos="zoom-out-left"],
  [data-aos="zoom-out-right"] {
    transform: none !important;
  }

  /* ── 2. About-page philosophy cards — ensure the card respects the
         container width and never overflows. The earlier 50px×40px padding
         is fine, but we add a hard width clamp on phones. */
  .philosophy-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .philosophy-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 32px 24px !important;
    box-sizing: border-box;
  }

  /* ── 2B. Decorative .circle-illustration imagery on case-study pages
         (auction-software, healthcare, dinepa). The img has hardcoded
         width/height of 400 which exceeds the 375px viewport. Cap to
         container width without changing aspect ratio. */
  .circle-illustration,
  .circle-illustration picture,
  .circle-illustration img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
  }
  .circle-illustration {
    margin: 0 auto !important;
    max-width: 280px !important;
  }
}

/* ═════════════════════════════════════════════════════════════════════════
   Homepage logo strip (.company-logo-section.logo-strip)
   Mixed photographic banners + vector marks at varied widths were rendering
   inconsistently. Normalising height, applying grayscale by default with
   color-on-hover (Stripe / Vercel pattern) so all 6 brands read as one
   cohesive trust row. Eyebrow heading establishes context.
   ═════════════════════════════════════════════════════════════════════════ */
.company-logo-section.logo-strip {
  background: #ffffff !important;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem) !important;
}

.logo-strip__eyebrow {
  text-align: center;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase;
  color: #64748b !important;
  margin: 0 auto 0.5rem !important;
  max-width: 720px;
  line-height: 1.5 !important;
}

/* "Including Nepal Rastra Bank" marquee-client line beneath the eyebrow */
.logo-strip__marquee {
  text-align: center;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  color: #475569 !important;
  margin: 0 auto clamp(1.5rem, 3vw, 2.5rem) !important;
  max-width: 640px;
  line-height: 1.5 !important;
}
.logo-strip__marquee strong {
  color: #0a0a0a;
  font-weight: 600;
}

.logo-strip__grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  justify-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}

.logo-strip__grid li {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
}

.logo-strip__grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 170px;
  width: 100%;
  height: 100%;
  padding: 4px;
  transition: transform var(--dur-base, 220ms) var(--ease-out, ease);
  /* Show each brand in its natural colors and preserved aspect ratio. */
}

.logo-strip__grid a:hover,
.logo-strip__grid a:focus-visible {
  transform: translateY(-2px);
}

.logo-strip__grid picture,
.logo-strip__grid img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 40px; /* normalize all 6 brands to the same visual weight */
  object-fit: contain;
}

@media (max-width: 900px) {
  .logo-strip__grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem 1rem; }
}
@media (max-width: 480px) {
  .logo-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0.75rem; }
  .logo-strip__grid li { height: 48px; }
  .logo-strip__grid picture,
  .logo-strip__grid img { max-height: 32px; }
}

/* ── 3. Form column rows (.col-6 First Name / Last Name pattern) must
       stack to full width below 600px. Scoped to form contexts only so
       non-form .col-6 layouts (logo grid etc.) stay unchanged. */
@media (max-width: 600px) {
  form .row > .col-6,
  form .row > [class*="col-6"]:not([class*="col-md"]):not([class*="col-lg"]) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* ── 4. "Why founders pick us" section — supporting lead paragraph
       under the H2. Keeps existing why-us-container layout intact
       and adds a tightly-styled lead line for the new differentiation copy. */
.why-us-container .why-us-lead {
  max-width: 760px;
  margin: -0.5rem auto 2.25rem !important;
  text-align: center;
  font-size: var(--fs-lead, clamp(1.05rem, 0.95rem + 0.4vw, 1.2rem)) !important;
  line-height: 1.55 !important;
  color: rgba(15, 23, 42, 0.72) !important;
  font-weight: 500 !important;
  padding: 0 1rem;
}
@media (max-width: 600px) {
  .why-us-container .why-us-lead {
    margin-bottom: 1.5rem !important;
    font-size: 1rem !important;
  }
}

/* ══════════════════════════════════════════════════════════════════
   PILLAR PAGE LAYOUT — used by auction-software.html and the 7
   service pillar pages that follow. Self-contained design system
   so service pages don't depend on legacy style.css patterns.
   ══════════════════════════════════════════════════════════════════ */

/* shared container offset for the fixed-top navbar */
.pillar-hero,
.pillar-trust,
.pillar-section,
.pillar-cta {
  position: relative;
}

/* Hero ────────────────────────────────────────────────────────────── */
.pillar-hero {
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(46, 125, 224, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(99, 102, 241, 0.30) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 120%, rgba(124, 182, 255, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #0d1b2e 0%, #040B13 55%, #0d1b2e 100%);
  border-bottom: 1px solid rgba(124, 182, 255, 0.18);
  overflow: hidden;
}
/* Soft luminous orb in the upper-right for depth */
.pillar-hero::after {
  content: '';
  position: absolute;
  top: -22%; right: -8%;
  width: 38rem; height: 38rem;
  background: radial-gradient(circle, rgba(124, 182, 255, 0.22) 0%, transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.pillar-hero .container { position: relative; z-index: 1; }
.pillar-hero .container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
/* BEM-style inner container — mirrors .container above so newer pages don't
   overflow horizontally on mobile. Without this rule, content inside
   .pillar-hero__inner has zero padding and butts against the viewport edge. */
.pillar-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.75rem);
  position: relative;
  z-index: 1;
}
.pillar-hero .breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem; padding: 0; background: transparent;
}
.pillar-hero .breadcrumb a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.pillar-hero .breadcrumb a:hover { color: #ffffff; text-decoration: underline; }
.pillar-hero .breadcrumb span[aria-current] { color: rgba(255, 255, 255, 0.9); font-weight: 500; }
.pillar-hero .breadcrumb span[aria-hidden] { color: rgba(255, 255, 255, 0.35); }
.pillar-hero__eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  color: #7cb6ff; text-transform: uppercase; margin: 0 0 1rem;
}
.pillar-hero__h1 {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem) !important;
  font-weight: 700 !important; line-height: 1.1 !important;
  color: #ffffff; margin: 0 0 1.25rem; letter-spacing: -0.02em;
  max-width: 22ch;
}
.pillar-hero__h1 a { color: #7cb6ff; }
.pillar-hero__sub {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.6; color: rgba(255, 255, 255, 0.82); max-width: 60ch;
  margin: 0 0 2rem;
}
.pillar-hero__sub strong { color: #ffffff; font-weight: 600; }
.pillar-hero__sub a { color: #7cb6ff; }
.pillar-hero__cta {
  display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem;
}
.pillar-hero .cta-reassurance {
  font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); margin: 0;
}
/* Secondary CTA — frosted-glass button, clearly visible on the dark hero.
   !important is required to beat the global .btn-hero-white !important rule. */
.pillar-hero .btn-hero-white {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  backdrop-filter: blur(8px);
}
.pillar-hero .btn-hero-white:hover {
  background: rgba(255, 255, 255, 0.22) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  color: #ffffff !important;
}

/* Trust strip ─────────────────────────────────────────────────────── */
.pillar-trust { padding: 3rem 0; background: #f7f9fc; border-bottom: 1px solid rgba(15, 23, 42, 0.06); }
.pillar-trust .container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.pillar-trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; list-style: none; padding: 0; margin: 0;
}
.pillar-trust__grid li {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem;
  padding: 1.5rem 1.35rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pillar-trust__grid li:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.12);
  border-color: rgba(37, 99, 235, 0.22);
}
.pillar-trust__grid .pillar-trust__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.10) 0%, rgba(99, 102, 241, 0.10) 100%);
  color: #2563eb; margin-bottom: 0.5rem; flex-shrink: 0;
}
.pillar-trust__grid .pillar-trust__icon svg { width: 23px; height: 23px; }
.pillar-trust__grid strong,
.pillar-trust__grid .pillar-trust__big {
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.6rem); font-weight: 700;
  color: #0f172a; letter-spacing: -0.01em; line-height: 1.1;
}
.pillar-trust__grid span { font-size: 0.85rem; color: rgba(15, 23, 42, 0.6); line-height: 1.45; }
.pillar-trust__grid .pillar-trust__big { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
@media (max-width: 768px) { .pillar-trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .pillar-trust__grid { grid-template-columns: 1fr; } }

/* Generic pillar section ──────────────────────────────────────────── */
.pillar-section { padding: clamp(3rem, 6vw, 5rem) 0; background: #ffffff; }
.pillar-section--alt { background: #f7f9fc; }
.pillar-section .container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
/* BEM-style inner container — mirrors .container above. */
.pillar-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.75rem);
}
/* Safety net: any content directly inside the pillar inner containers must
   not exceed the container width. Prevents long unbroken strings (URLs,
   client names like "MySaving-Grace") from pushing the page wider on mobile. */
.pillar-hero__inner,
.pillar-section__inner {
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.pillar-hero__inner a,
.pillar-section__inner a {
  overflow-wrap: anywhere;
}
/* Tighten inline grids used in refreshed auction pages so they don't pinch
   on mobile (was: minmax(240px, 1fr) → forced overflow under 280px viewport).
   .pillar-section__inner > ul[style*="grid"] picks up any ul that has an
   inline grid declaration set by the generator. */
.pillar-section__inner > ul[style*="grid-template-columns"] {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)) !important;
}
@media (max-width: 480px) {
  .pillar-section__inner > ul[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}
.pillar-section__head {
  max-width: 740px !important; margin: 0 auto 2.5rem !important;
  text-align: center !important; padding: 0 1rem;
}
.pillar-section__head > * { text-align: center !important; }
.pillar-section__eyebrow {
  display: block !important;
  font-size: 0.78rem !important; font-weight: 600 !important; letter-spacing: 0.08em !important;
  color: #2563eb !important; text-transform: uppercase !important; margin: 0 0 0.75rem !important;
  text-align: center !important;
}
.pillar-section h2 {
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem) !important;
  font-weight: 700 !important; line-height: 1.2 !important;
  color: #0f172a !important; margin: 0 0 0.75rem !important;
  letter-spacing: -0.02em;
}
.pillar-section__lead {
  font-size: 1.05rem; color: rgba(15, 23, 42, 0.65);
  line-height: 1.55; margin: 0;
}
.pillar-section__body { max-width: 760px; margin: 0 auto; }
.pillar-section__body p {
  font-size: 1.05rem; line-height: 1.7;
  color: rgba(15, 23, 42, 0.78); margin: 0 0 1.25rem;
}
.pillar-section__body strong { color: #0f172a; font-weight: 600; }

/* 4-phase ordered list ────────────────────────────────────────────── */
.pillar-phases {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 1.25rem; max-width: 880px; margin-inline: auto;
}
.pillar-phases li {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
  padding: 1.5rem; background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.pillar-phases__num {
  grid-column: 1; grid-row: 1 / span 2;
  font-size: 1.4rem; font-weight: 700; color: #2563eb;
  background: rgba(37, 99, 235, 0.08); border-radius: 10px;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
}
.pillar-phases li > h3 {
  grid-column: 2; grid-row: 1;
  font-size: 1.15rem !important; font-weight: 600 !important;
  color: #0f172a !important; margin: 0 0 0.25rem !important;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.75rem;
  text-align: left !important;
}
.pillar-phases li > p {
  grid-column: 2; grid-row: 2;
}
.pillar-phases__when {
  font-size: 0.8rem; font-weight: 500; color: rgba(15, 23, 42, 0.55);
  background: rgba(15, 23, 42, 0.05); padding: 0.15rem 0.55rem; border-radius: 999px;
}
.pillar-phases p {
  font-size: 0.95rem; line-height: 1.6;
  color: rgba(15, 23, 42, 0.7); margin: 0;
}
@media (max-width: 600px) {
  .pillar-phases li {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    row-gap: 0.5rem; padding: 1.25rem;
  }
  .pillar-phases__num {
    grid-column: 1; grid-row: 1;
    width: 44px; height: 44px; font-size: 1.1rem;
  }
  .pillar-phases li > h3 { grid-column: 1; grid-row: 2; }
  .pillar-phases li > p { grid-column: 1; grid-row: 3; }
}

/* Case study deep-dive ───────────────────────────────────────────── */
.pillar-deepdive { max-width: 760px; margin: 0 auto; }
.pillar-deepdive h3 {
  font-size: 1.15rem !important; font-weight: 600 !important;
  color: #2563eb !important; margin: 1.75rem 0 0.5rem !important;
  letter-spacing: 0;
}
.pillar-deepdive h3:first-child { margin-top: 0 !important; }
.pillar-deepdive p {
  font-size: 1.02rem; line-height: 1.7;
  color: rgba(15, 23, 42, 0.78); margin: 0 0 1rem;
}
.pillar-deepdive__cta { margin-top: 2rem !important; text-align: center; }
.pillar-deepdive .more-btn {
  display: inline-block; padding: 0.7rem 1.4rem;
  background: #0f172a; color: #ffffff !important; border-radius: 8px;
  text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: background 0.15s ease;
}
.pillar-deepdive .more-btn:hover { background: #2563eb; }

/* Tech stack list ─────────────────────────────────────────────────── */
.pillar-stack {
  list-style: none; padding: 0; margin: 0; max-width: 820px; margin-inline: auto;
  display: grid; gap: 0.85rem;
}
.pillar-stack li {
  padding: 1rem 1.25rem; background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 10px;
  font-size: 0.98rem; line-height: 1.6; color: rgba(15, 23, 42, 0.78);
  border-left: 3px solid #2563eb;
}
.pillar-stack strong { color: #0f172a; font-weight: 600; }

/* Engagement model grid ──────────────────────────────────────────── */
.pillar-engagement {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
  max-width: 1000px; margin: 0 auto;
}
.pillar-engagement article {
  padding: 1.75rem; background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08); border-radius: 14px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.pillar-engagement h3 {
  font-size: 1.2rem !important; font-weight: 600 !important;
  color: #0f172a !important; margin: 0 0 0.35rem !important;
}
.pillar-engagement__when {
  font-size: 0.82rem !important; color: #2563eb !important;
  font-weight: 600; margin: 0 0 0.85rem !important;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pillar-engagement article p:not(.pillar-engagement__when) {
  font-size: 0.95rem; line-height: 1.6;
  color: rgba(15, 23, 42, 0.72); margin: 0;
}
.pillar-engagement__terms {
  max-width: 1000px; margin: 1.75rem auto 0 !important; padding: 1.25rem;
  background: rgba(37, 99, 235, 0.04); border-radius: 10px;
  font-size: 0.93rem; line-height: 1.6; color: rgba(15, 23, 42, 0.72);
  text-align: center;
}
.pillar-engagement__terms strong { color: #0f172a; }
@media (max-width: 768px) { .pillar-engagement { grid-template-columns: 1fr; } }

/* FAQ details/summary ────────────────────────────────────────────── */
.pillar-faq { max-width: 820px; margin: 0 auto; }
.pillar-faq details {
  background: #ffffff; border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px; margin-bottom: 0.75rem; overflow: hidden;
  transition: border-color 0.15s ease;
}
.pillar-faq details[open] { border-color: rgba(37, 99, 235, 0.35); }
.pillar-faq summary {
  padding: 1.1rem 1.4rem; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1rem; color: #0f172a;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  user-select: none;
}
.pillar-faq summary::-webkit-details-marker { display: none; }
.pillar-faq summary::after {
  content: '+'; font-size: 1.4rem; font-weight: 400;
  color: #2563eb; transition: transform 0.2s ease;
  line-height: 1; flex-shrink: 0;
}
.pillar-faq details[open] summary::after { content: '\2212'; }
.pillar-faq details p {
  padding: 0 1.4rem 1.2rem; margin: 0;
  font-size: 0.97rem; line-height: 1.65; color: rgba(15, 23, 42, 0.75);
}
.pillar-faq details p a { color: #2563eb; }

/* Final CTA section ──────────────────────────────────────────────── */
.pillar-cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  color: #ffffff;
}
.pillar-cta .container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.pillar-cta h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem) !important;
  font-weight: 700 !important; color: #ffffff !important;
  text-align: center; margin: 0 0 2.5rem !important;
}
.pillar-cta__grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem; max-width: 900px; margin: 0 auto;
}
.pillar-cta__grid article {
  padding: 2rem; background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px;
  backdrop-filter: blur(8px);
}
.pillar-cta__grid h3 {
  font-size: 1.15rem !important; font-weight: 600 !important;
  color: #ffffff !important; margin: 0 0 0.75rem !important;
}
.pillar-cta__grid p {
  font-size: 0.95rem; line-height: 1.6;
  color: rgba(255, 255, 255, 0.78); margin: 0 0 1.25rem;
}
.pillar-cta__grid .btn-hero,
.pillar-cta__grid .btn-hero-white { font-size: 0.95rem; padding: 0.7rem 1.4rem; }
.pillar-cta__direct {
  max-width: 900px; margin: 2rem auto 0 !important; text-align: center;
  font-size: 0.95rem; color: rgba(255, 255, 255, 0.8);
}
.pillar-cta__direct strong { color: #ffffff; }
.pillar-cta__direct a { color: #93c5fd; text-decoration: underline; }
@media (max-width: 600px) {
  .pillar-cta__grid { grid-template-columns: 1fr; }
  .pillar-cta__grid article { padding: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════════
   AUCTION FLAGSHIP HERO — used ONLY on auction-software.html.
   This is the company's deepest practice (16 years of real-time
   bidding software since 2010) — the page deserves a hero that
   communicates that depth at first glance. Dark gradient backdrop +
   dual aurora glows + grid overlay + massive 16+ numeral visual +
   timeline tick marks + 5-column stat band.
   ══════════════════════════════════════════════════════════════════ */
.auction-flagship {
  position: relative;
  isolation: isolate;
  padding: clamp(6.5rem, 12vh, 9rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 5vh, 4.5rem);
  background:
    radial-gradient(ellipse at 80% 0%, rgba(37, 99, 235, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(124, 182, 255, 0.10) 0%, transparent 55%),
    linear-gradient(135deg, #050912 0%, #0a1628 40%, #0b1f4f 100%);
  color: #ffffff;
  overflow: hidden;
}
.auction-flagship__aurora {
  position: absolute;
  top: -25%;
  right: -10%;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.38) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  filter: blur(4px);
}
.auction-flagship__aurora--two {
  top: auto;
  bottom: -30%;
  left: -15%;
  right: auto;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(124, 182, 255, 0.18) 0%, transparent 60%);
}
.auction-flagship__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at top, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 25%, transparent 75%);
}
.auction-flagship__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 15px auto;
  padding: 0 clamp(1rem, 4vw, 1.75rem);
}
.auction-flagship__crumb {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.auction-flagship__crumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 220ms ease;
}
.auction-flagship__crumb a:hover { color: #ffffff; }
.auction-flagship__crumb span:not([aria-hidden]) { color: rgba(255, 255, 255, 0.6); }
.auction-flagship__crumb [aria-hidden] { margin: 0 0.4rem; color: rgba(255, 255, 255, 0.25); }
.auction-flagship__main {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 960px) {
  .auction-flagship__main { grid-template-columns: 1fr; gap: 2.5rem; }
}
.auction-flagship__status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(220, 252, 231, 0.95);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.auction-flagship__status a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 3px;
  font-weight: 700;
}
.auction-flagship__status a:hover { text-decoration-color: #ffffff; }
.auction-flagship__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.65);
  animation: flagshipPulse 2s ease-out infinite;
}
@keyframes flagshipPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .auction-flagship__pulse { animation: none; }
}
.auction-flagship__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.95rem;
}
.auction-flagship__h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.75rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.028em;
  margin: 0 0 1.4rem;
  color: #ffffff;
}
.auction-flagship__h1 span { display: block; }
.auction-flagship__h-l1,
.auction-flagship__h-l2,
.auction-flagship__h-l3 { color: #ffffff; }
.auction-flagship__h-accent {
  background: linear-gradient(135deg, #7cb6ff 0%, #c8d8ff 55%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 700;
  font-size: 0.58em;
  letter-spacing: -0.02em;
  margin-top: 0.45em;
  line-height: 1.15;
}
.auction-flagship__lede {
  font-size: clamp(1rem, 1.45vw, 1.175rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.74);
  max-width: 60ch;
  margin: 0 0 2rem;
}
.auction-flagship__lede strong { color: #ffffff; font-weight: 700; }
.auction-flagship__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.auction-flagship__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  background: #ffffff;
  color: #0a1628 !important;
  border: 1px solid #ffffff;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.55);
}
.auction-flagship__btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, 0.65);
  color: #0a1628 !important;
}
.auction-flagship__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.95rem 1.45rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 220ms ease, border-color 220ms ease;
}
.auction-flagship__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}
.auction-flagship__btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: none;
  font-weight: 500;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 200ms ease;
}
.auction-flagship__btn-ghost:hover { color: #ffffff; }
.auction-flagship__btn-ghost svg { opacity: 0.7; }
.auction-flagship__reassurance {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.auction-flagship__visual {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding: clamp(1.5rem, 2vw, 2rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  position: relative;
}
.auction-flagship__visual::before {
  content: "";
  position: absolute;
  top: -1px; left: 18%; right: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(124, 182, 255, 0.6) 50%, transparent 100%);
}
.auction-flagship__numeral {
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
  line-height: 0.85;
}
.auction-flagship__num-big {
  font-size: clamp(5.5rem, 13vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.auction-flagship__num-plus {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #7cb6ff;
  line-height: 0.85;
}
.auction-flagship__num-label {
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.auction-flagship__num-label strong { color: #ffffff; font-weight: 700; }
.auction-flagship__formats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.4;
}
.auction-flagship__formats li {
  position: relative;
  padding-left: 1.35rem;
}
.auction-flagship__formats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7cb6ff;
}
.auction-flagship__formats-label {
  padding-left: 0 !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.15rem;
}
.auction-flagship__formats-label::before { display: none; }
.auction-flagship__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  margin: clamp(2.5rem, 4vw, 3.5rem) 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 880px) {
  .auction-flagship__stats { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
@media (max-width: 540px) {
  .auction-flagship__stats { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.25rem; }
}
.auction-flagship__stats > div { display: flex; flex-direction: column; }
.auction-flagship__stats dt {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.65rem, 1rem + 2vw, 2.4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.4rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
}
.auction-flagship__stats dt span {
  font-size: 0.62em;
  color: #93c5fd;
  font-weight: 600;
}
.auction-flagship__stats dd {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.005em;
}

/* ══════════════════════════════════════════════════════════════════
   FORMAT-HERO — elite editorial dark-gradient hero block prepended to
   each auction format sub-page (penny, lowest-unique, highest-unique,
   price-reveal, ebay) by tools/add-elite-hero-to-auction-pages.mjs.
   Sits above the legacy .casestudies--detail / .customer content;
   gives the format pages a premium landing without rewriting the body.
   ══════════════════════════════════════════════════════════════════ */
.format-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(6.5rem, 13vh, 9rem) clamp(1.25rem, 5vw, 4rem) clamp(2.75rem, 5vh, 4rem);
  background: linear-gradient(135deg, #0a0f1f 0%, #0a1628 45%, #0d3f8f 100%);
  color: #ffffff;
  overflow: hidden;
  margin-bottom: 0;
}
.format-hero__aurora {
  position: absolute;
  top: -20%;
  right: -12%;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(26, 107, 204, 0.32) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
}
.format-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: -1;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
}
.format-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.75rem);
}
.format-hero__crumb {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.format-hero__crumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 220ms ease;
}
.format-hero__crumb a:hover { color: #ffffff; }
.format-hero__crumb span:not([aria-hidden]) { color: rgba(255, 255, 255, 0.55); }
.format-hero__crumb [aria-hidden] { margin: 0 0.4rem; color: rgba(255, 255, 255, 0.25); }

.format-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.format-hero__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: fhPulse 2.2s ease-out infinite;
}
@keyframes fhPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .format-hero__pulse { animation: none; }
}

.format-hero__h1 {
  font-size: clamp(2.25rem, 5.4vw, 4.25rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  color: #ffffff;
  max-width: 22ch;
}
.format-hero__accent {
  display: block;
  background: linear-gradient(135deg, #7cb6ff 0%, #c8d8ff 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  font-size: 0.62em;
  margin-top: 0.3em;
  letter-spacing: -0.018em;
}
.format-hero__lede {
  font-size: clamp(1.0rem, 1.5vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 62ch;
  margin: 0 0 1.75rem;
}

/* Stats band — 4-up on desktop, 2x2 on tablet, single column on mobile */
.format-hero__facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  margin: 0 0 1.85rem;
  padding: 1.1rem 0 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  max-width: 880px;
}
@media (max-width: 720px) {
  .format-hero__facts { grid-template-columns: repeat(2, 1fr); gap: 1rem 1.5rem; }
}
@media (max-width: 380px) {
  .format-hero__facts { grid-template-columns: 1fr; }
}
.format-hero__stat dt {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.35rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.05em;
}
.format-hero__stat dt span {
  font-size: 0.6em;
  color: #93c5fd;
  font-weight: 600;
}
.format-hero__stat dd {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.01em;
}

.format-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.format-hero__btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  background: #ffffff;
  color: #0a1628 !important;
  border: 1px solid #ffffff;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.4);
}
.format-hero__btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.5);
  color: #0a1628 !important;
}
.format-hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: background 220ms ease, border-color 220ms ease;
}
.format-hero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

/* FEATURED PILLAR SECTION — used on auction-software.html to visually
   spotlight the 6 formats showcase as the primary above-the-fold value
   prop. Adds a subtle gradient top-accent and a 'Featured showcase'
   star-badge above the eyebrow. */
.pillar-section--featured {
  position: relative;
}
.pillar-section--featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(37, 99, 235, 0.3) 25%,
    rgba(37, 99, 235, 0.85) 50%,
    rgba(37, 99, 235, 0.3) 75%,
    transparent 100%);
  pointer-events: none;
}
.pillar-section__feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
  margin: 0 0 0.85rem;
}
.pillar-section__feature-badge svg {
  color: #f59e0b;
  flex-shrink: 0;
}

/* PILLAR CARDS — modern styling for the .auction-grid / .auction-card
   pattern used on auction-software, custom-software-development,
   saas-development, and mobile-development pillar pages.

   Legacy style.css scopes .auction-card / .auction-icon to
   .auction__type__section parent; without that wrapper the cards
   render unstyled. These rules apply only inside .pillar-section
   (the modern pillar pattern) so they don't affect legacy auction
   pages that still use the old parent wrapper.
   ══════════════════════════════════════════════════════════════════ */
.pillar-section .auction-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem !important;
  max-width: 1140px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .pillar-section .auction-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .pillar-section .auction-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
}

/* Auto-numbered index (01–06) — counter lives on the grid */
.pillar-section .auction-grid { counter-reset: auctioncard; }

.pillar-section .auction-card {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #f9fbff 100%) !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 18px !important;
  padding: 2rem 1.6rem 1.5rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 30px -18px rgba(15, 23, 42, 0.12) !important;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease !important;
  min-height: 100%;
  overflow: hidden;
}
/* Gradient accent bar across the top — animates from 0 to full width on hover */
.pillar-section .auction-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #2563eb 0%, #7cb6ff 100%);
  border-radius: 18px 18px 0 0;
  transition: width 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Big faint counter index in the top-right corner */
.pillar-section .auction-card::after {
  counter-increment: auctioncard;
  content: "0" counter(auctioncard);
  position: absolute;
  top: 1.15rem; right: 1.3rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: rgba(37, 99, 235, 0.22);
  font-variant-numeric: tabular-nums;
  transition: color 0.28s ease;
}
.pillar-section .auction-card:hover {
  transform: translateY(-5px) !important;
  border-color: rgba(37, 99, 235, 0.35) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 48px -20px rgba(37, 99, 235, 0.28) !important;
}
.pillar-section .auction-card:hover::before { width: 100%; }
.pillar-section .auction-card:hover::after { color: rgba(37, 99, 235, 0.5); }
.pillar-section--alt .auction-card {
  background: linear-gradient(160deg, #ffffff 0%, #f9fbff 100%) !important;
}

.pillar-section .auction-icon {
  width: 60px !important;
  height: 60px !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #2563eb 0%, #0d3f8f 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  margin: 0 0 1.25rem 0 !important;
  flex-shrink: 0;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  font-size: inherit !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  box-shadow:
    0 8px 18px -8px rgba(37, 99, 235, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.pillar-section .auction-card:hover .auction-icon {
  transform: scale(1.06) rotate(-3deg) !important;
}
.pillar-section .auction-icon i {
  color: #ffffff !important;
  font-size: 1.6rem !important;
  line-height: 1 !important;
}
.pillar-section .auction-icon svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  width: 28px !important;
  height: 28px !important;
  display: block !important;
}
/* Brand-coloured auction PNG icons render as near-white via filter so they
   sit cleanly on the new dark-blue gradient icon tile. */
.pillar-section .auction-icon img {
  width: 32px !important;
  height: auto !important;
  max-height: 32px !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  filter: brightness(0) invert(1) !important;
}
.pillar-section .auction-icon picture {
  display: flex; align-items: center; justify-content: center;
}

.pillar-section .auction-card h3 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 0.85rem !important;
  line-height: 1.28 !important;
  letter-spacing: -0.018em;
  padding-right: 1.5rem; /* clear the number index */
}
.pillar-section .auction-card h3 a {
  color: #0f172a !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: inherit !important;
  background-image: linear-gradient(#2563eb, #2563eb);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s ease, color 0.2s ease;
  padding-bottom: 2px;
}
.pillar-section .auction-card h3 a:hover {
  color: #2563eb !important;
  background-size: 100% 2px;
}
.pillar-section .auction-card p {
  font-size: 0.92rem !important;
  line-height: 1.62 !important;
  color: rgba(15, 23, 42, 0.66) !important;
  margin: 0 0 1.1rem !important;
}
.pillar-section .auction-card p:last-of-type {
  margin-bottom: 1.1rem !important;
}
.pillar-section .auction-card p strong {
  color: #0f172a !important;
  font-weight: 600 !important;
}
/* The "For:" / "Reference deployments:" inline labels become small,
   uppercase, tracked micro-labels for a more editorial, scannable feel. */
.pillar-section .auction-card p br + strong,
.pillar-section .auction-card p strong:first-child {
  display: inline-block;
  color: #2563eb !important;
  font-weight: 700 !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

/* Arrow becomes a circular pill button that fills with brand blue on hover */
.pillar-section .auction-card > a:last-child {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-top: auto;
  align-self: flex-end;
  text-decoration: none !important;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  transition: background 0.24s ease, border-color 0.24s ease, transform 0.24s ease;
}
.pillar-section .auction-card:hover > a:last-child {
  background: #2563eb;
  border-color: #2563eb;
}
.pillar-section .auction-card .arrow-icon {
  color: #2563eb !important;
  font-size: 0.95rem !important;
  transition: transform 0.24s ease, color 0.24s ease !important;
}
.pillar-section .auction-card:hover .arrow-icon {
  transform: translateX(3px) !important;
  color: #ffffff !important;
}

/* ──────────────────────────────────────────────────────────────────
   ELITE ANIMATED PRESENTATION — scoped to the featured 6-format
   showcase on auction-software.html. Two layers:
   (1) a premium rise-and-scale staggered entrance (expo-out easing),
   (2) a diagonal light sheen that sweeps across the card on hover.
   ────────────────────────────────────────────────────────────────── */

/* (1) Premium entrance — overrides the default fade-up for these cards only.
   Cards rise from further down, scale up from 96%, and settle with an
   expressive expo-out curve. The per-card stagger uses the existing
   [data-reveal-delay] values, widened here for a more deliberate cascade. */
.pillar-section--featured .auction-card[data-reveal] {
  opacity: 0;
  transform: translateY(42px) scale(0.955);
  transition:
    opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  will-change: opacity, transform;
}
.pillar-section--featured .auction-card[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* Widen the cascade so the six cards arrive in a clearly-readable sequence. */
.pillar-section--featured .auction-card[data-reveal-delay='1'] { transition-delay: 60ms; }
.pillar-section--featured .auction-card[data-reveal-delay='2'] { transition-delay: 160ms; }
.pillar-section--featured .auction-card[data-reveal-delay='3'] { transition-delay: 260ms; }
.pillar-section--featured .auction-card[data-reveal-delay='4'] { transition-delay: 360ms; }
.pillar-section--featured .auction-card[data-reveal-delay='5'] { transition-delay: 460ms; }
.pillar-section--featured .auction-card[data-reveal-delay='6'] { transition-delay: 560ms; }

/* (2) Diagonal sheen sweep on hover. The inner wrapper's ::before is an
   off-card gleam that travels left→right across the whole card. The card
   is position:relative + overflow:hidden, so the gleam is clipped cleanly. */
.pillar-section--featured .auction-card > div { position: static; }
.pillar-section--featured .auction-card > div::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(124, 182, 255, 0.16) 45%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(124, 182, 255, 0.16) 55%,
    transparent 100%
  );
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: none;
}
.pillar-section--featured .auction-card:hover > div::before {
  opacity: 1;
  left: 130%;
  transition: left 0.85s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
}

/* Respect reduced-motion: no entrance transform, no sheen. */
@media (prefers-reduced-motion: reduce) {
  .pillar-section--featured .auction-card[data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .pillar-section--featured .auction-card > div::before { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════════
   HOMEPAGE HERO — eyebrow + elite trust bar with 16+ Years feature
   The trust bar now has a hero element (big "16+" numeral) plus
   4 supporting trust items, all inside a glass-morphism container.
   ══════════════════════════════════════════════════════════════════ */

/* Fix .hero to accommodate new content (was fixed 100vh, content
   was overflowing). Switch to min-height + proper navbar clearance. */
.hero {
  height: auto !important;
  min-height: 100vh !important;
  padding-top: clamp(110px, 14vh, 150px) !important;
  padding-bottom: clamp(2rem, 5vh, 4rem) !important;
  align-items: flex-start !important;
}
.hero .container {
  width: 100%;
}
.hero h1 {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
.hero p { margin-top: 1.25rem !important; }

.hero-eyebrow {
  display: inline-block !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  color: #93c5fd !important;
  text-transform: uppercase !important;
  margin: 0 0 1.25rem !important;
  padding: 0.4rem 0.95rem !important;
  background: rgba(147, 197, 253, 0.08) !important;
  border: 1px solid rgba(147, 197, 253, 0.28) !important;
  border-radius: 999px !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
  line-height: 1;
}
@media (max-width: 480px) {
  .hero-eyebrow {
    white-space: normal;
    font-size: 0.65rem !important;
    letter-spacing: 0.12em !important;
  }
}

/* Secondary hero button — colorful brand-blue gradient that matches the design */
.hero__btn__area .btn-hero-white {
  background: linear-gradient(135deg, #2e7de0 0%, #1a6bcc 50%, #0d3f8f 100%) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  padding: 12px 26px !important;
  border-radius: var(--r-pill, 999px) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: none !important;
  box-shadow: 0 8px 22px rgba(13, 63, 143, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}
.hero__btn__area .btn-hero-white:hover {
  background: linear-gradient(135deg, #3a89ec 0%, #1f73d6 50%, #114aa3 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 32px rgba(13, 63, 143, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

/* Elite trust bar with hero "16+ Years" feature */
.hero-trust-bar--elite {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1.5rem !important;
  padding: 1.1rem 1.5rem !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  max-width: 900px;
}

.hero-trust-bar__feature {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-trust-bar__big-number {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2.6rem, 4vw + 0.5rem, 3.8rem);
  font-weight: 800;
  line-height: 0.85;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 55%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  display: inline-flex;
  align-items: baseline;
}
.hero-trust-bar__big-plus {
  font-size: 0.55em;
  color: #93c5fd;
  -webkit-background-clip: initial;
  background-clip: initial;
  background: none;
  margin-left: 0.05em;
  font-weight: 700;
}
.hero-trust-bar__big-label {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.005em;
  min-width: 130px;
}
.hero-trust-bar__big-label strong {
  display: inline-block;
  margin-top: 0.15rem;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92em;
  letter-spacing: 0.02em;
}

.hero-trust-bar__supporting {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1.5rem;
}
.hero-trust-bar__supporting li {
  font-size: 0.86rem !important;
  line-height: 1.4 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.6rem !important;
  padding: 0 !important;
  margin: 0 !important;
}
.hero-trust-bar__supporting li::before { display: none !important; }
.hero-trust-bar__supporting li i {
  color: #93c5fd !important;
  font-size: 0.9rem !important;
  margin-top: 2px;
  flex-shrink: 0;
}
.hero-trust-bar__supporting li span { display: block; }
.hero-trust-bar__supporting li strong {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-trust-bar__supporting { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-trust-bar--elite {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
    padding: 1.25rem !important;
  }
  .hero-trust-bar__feature {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding-right: 0;
    padding-bottom: 1.25rem;
    justify-content: center;
    text-align: left;
  }
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE — Elite editorial hero + premium leader cards + timeline
   The About page is the credibility-verification page; this design
   gives it the visual gravity to match.
   ══════════════════════════════════════════════════════════════════ */
.about-hero-elite {
  position: relative;
  background: #05070d;
  color: #ffffff;
  padding: clamp(7rem, 12vw, 10rem) 1.5rem clamp(4rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.about-hero-elite__aurora {
  position: absolute; inset: -20% -10%;
  background:
    radial-gradient(60% 50% at 18% 25%, rgba(99, 102, 241, 0.42) 0%, transparent 60%),
    radial-gradient(50% 40% at 82% 65%, rgba(59, 130, 246, 0.42) 0%, transparent 60%),
    radial-gradient(40% 30% at 50% 95%, rgba(168, 85, 247, 0.30) 0%, transparent 60%);
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
  animation: elite-aurora 20s ease-in-out infinite alternate;
}
.about-hero-elite__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 75%);
  z-index: 0;
}
.about-hero-elite__inner {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto;
}
.about-hero-elite__inner--split {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
}
.about-hero-elite__left { min-width: 0; }
@media (max-width: 980px) {
  .about-hero-elite__inner--split { grid-template-columns: 1fr; gap: 3rem; }
  .about-hero-elite__visual { order: 2; }
}

/* Right-column floating visual stack */
.about-hero-elite__visual {
  position: relative;
  min-height: 480px;
  margin-top: 1rem;
}
.about-hero-elite__capterra {
  display: block;
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  text-decoration: none !important;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  margin-bottom: -3rem;
  margin-left: 1.5rem;
  max-width: 280px;
  box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}
.about-hero-elite__capterra:hover {
  transform: translateY(-4px) rotate(-1deg);
  border-color: rgba(251, 191, 36, 0.5);
  background: rgba(255, 255, 255, 0.09);
}
.about-hero-elite__capterra-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.5rem;
}
.about-hero-elite__capterra-brand {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.about-hero-elite__capterra-verified {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: #34d399;
  letter-spacing: 0.02em;
}
.about-hero-elite__capterra-rating {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.4rem;
}
.about-hero-elite__capterra-score {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.about-hero-elite__capterra-stars {
  display: flex; gap: 1px;
}
.about-hero-elite__capterra-meta {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Founder portrait floating card — bigger, portrait-aspect for human photos */
.about-hero-elite__portrait {
  position: relative;
  z-index: 2;
  width: 320px;
  margin-left: auto;
  margin-top: -1.5rem;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transition: transform 0.3s ease;
}
.about-hero-elite__portrait:hover { transform: translateY(-4px); }
.about-hero-elite__portrait picture { display: block; }
.about-hero-elite__portrait img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-hero-elite__portrait-caption {
  padding: 0.85rem 1.1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  position: absolute; bottom: 0; left: 0; right: 0;
}
.about-hero-elite__portrait-name {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.15rem;
  letter-spacing: -0.01em;
}
.about-hero-elite__portrait-role {
  font-size: 0.76rem;
  color: rgba(147, 197, 253, 0.95);
  margin: 0;
  letter-spacing: 0.01em;
}

/* Floating central-bank pill */
.about-hero-elite__pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  position: relative;
  z-index: 3;
  margin-top: -2rem;
  margin-left: -1rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transform: rotate(-3deg);
  box-shadow: 0 15px 35px -8px rgba(99, 102, 241, 0.35);
}
.about-hero-elite__pill span { font-size: 1rem; }

@media (max-width: 980px) {
  .about-hero-elite__visual { min-height: auto; }
  .about-hero-elite__capterra { max-width: 100%; margin: 0 0 1.5rem; }
  .about-hero-elite__portrait { width: 100%; max-width: 320px; margin: 0 auto 1.5rem; transform: none; }
  .about-hero-elite__pill { margin: 0; transform: none; }
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT MILESTONE — 'Sixteen Years' dramatic trust-building moment
   Elite-tier feature section between Leadership and Timeline that
   showcases the company's 16+ year tenure as the central credibility
   asset. Dark gradient background, massive editorial numeral,
   supporting stats and proof points.
   ══════════════════════════════════════════════════════════════════ */
.about-milestone {
  position: relative;
  background: #05070d;
  color: #ffffff;
  padding: clamp(5rem, 9vw, 8rem) 1.5rem;
  overflow: hidden;
  isolation: isolate;
}
.about-milestone__aurora {
  position: absolute; inset: -20% -10%;
  background:
    radial-gradient(60% 50% at 75% 70%, rgba(99, 102, 241, 0.38) 0%, transparent 60%),
    radial-gradient(50% 40% at 25% 30%, rgba(59, 130, 246, 0.32) 0%, transparent 65%),
    radial-gradient(40% 30% at 50% 5%, rgba(147, 197, 253, 0.18) 0%, transparent 60%);
  filter: blur(70px);
  opacity: 0.55;
  z-index: 0;
  animation: elite-aurora 22s ease-in-out infinite alternate;
}
.about-milestone__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
  z-index: 0;
}
.about-milestone__inner {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto;
  text-align: center;
}

/* Eyebrow with pulse */
.about-milestone__eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  letter-spacing: 0.02em !important;
  margin: 0 auto 2.5rem !important;
  text-transform: none !important;
}
.about-milestone__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: elite-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* Hero: massive numeral + caption */
.about-milestone__hero {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.about-milestone__numeral {
  position: relative;
  display: inline-flex; align-items: flex-start;
  line-height: 0.9;
}
.about-milestone__numeral-digit {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(8rem, 14vw + 2rem, 18rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.075em;
  background: linear-gradient(135deg, #ffffff 0%, #c4b5fd 45%, #93c5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 60px rgba(147, 197, 253, 0.18);
}
.about-milestone__numeral-plus {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(3rem, 5vw + 1rem, 6rem);
  font-weight: 700;
  color: #93c5fd;
  margin-left: 0.1em;
  margin-top: 0.3em;
  letter-spacing: -0.05em;
}
.about-milestone__caption {
  text-align: left;
  max-width: 460px;
}
.about-milestone__title {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  color: #ffffff !important;
  margin: 0 0 0.75rem !important;
}
.about-milestone__title span { display: block; }
.about-milestone__title-grad {
  background: linear-gradient(95deg, #ffffff 0%, #93c5fd 50%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 800 !important;
}
.about-milestone__title-sub {
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

/* Divider rules */
.about-milestone__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.18) 20%, rgba(147, 197, 253, 0.4) 50%, rgba(255, 255, 255, 0.18) 80%, transparent 100%);
  margin: 0 auto;
  max-width: 920px;
}

/* Lede paragraph */
.about-milestone__lede {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem) !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 820px;
  margin: 2.5rem auto !important;
}
.about-milestone__lede strong { color: #ffffff; font-weight: 600; }
.about-milestone__lede em {
  color: #93c5fd;
  font-style: italic;
  font-weight: 500;
}

/* Stats grid */
.about-milestone__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2.5rem 0;
  margin: 0 auto;
  max-width: 1000px;
  list-style: none;
}
.about-milestone__stats > div {
  text-align: center;
  padding: 0 0.5rem;
}
.about-milestone__stats dt {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(2.2rem, 1.4rem + 2.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.65rem;
  display: inline-flex; align-items: baseline; gap: 0.05em;
}
.about-milestone__stats dt span {
  font-size: 0.55em;
  color: #93c5fd;
  font-weight: 600;
}
.about-milestone__stats dd {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}
@media (max-width: 720px) {
  .about-milestone__stats { grid-template-columns: repeat(2, 1fr); padding: 2rem 0; }
}

/* Proof check grid */
.about-milestone__proofs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
  max-width: 760px;
  margin: 1.5rem auto 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.about-milestone__proof {
  display: flex; align-items: flex-start; gap: 0.7rem;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
}
.about-milestone__proof svg {
  flex-shrink: 0;
  color: #34d399;
  margin-top: 2px;
}
.about-milestone__proof strong { color: #ffffff; font-weight: 600; }
@media (max-width: 600px) {
  .about-milestone__proofs { grid-template-columns: 1fr; gap: 0.85rem; }
}

/* Mobile adjustments for hero */
@media (max-width: 720px) {
  .about-milestone__hero { flex-direction: column; gap: 1rem; }
  .about-milestone__caption { text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════
   CLIENT LOGO STRIP — marquee animation showing production clients
   ══════════════════════════════════════════════════════════════════ */
.about-logos {
  background: #ffffff;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
}
.about-logos__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.about-logos__eyebrow {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(15, 23, 42, 0.55);
  margin: 0 0 1.5rem;
}
.about-logos__marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.about-logos__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  animation: about-logos-scroll 40s linear infinite;
  width: max-content;
  padding: 0 2rem;
}
.about-logos__track:hover { animation-play-state: paused; }
.about-logos__track a {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.25s ease;
}
.about-logos__track a:hover { filter: grayscale(0%) opacity(1); }
.about-logos__track img {
  height: 40px !important;
  width: auto !important;
  max-width: 180px;
  display: block;
}
@keyframes about-logos-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .about-logos__track { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT PULL-QUOTE — editorial magazine-style quote between sections
   ══════════════════════════════════════════════════════════════════ */
.about-pullquote {
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}
.about-pullquote::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.06);
  filter: blur(90px);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
.about-pullquote__inner {
  position: relative; z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.about-pullquote__mark {
  width: 56px; height: 56px;
  color: rgba(37, 99, 235, 0.3);
  margin: 0 auto 1.25rem;
}
.about-pullquote__quote {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2rem) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  letter-spacing: -0.02em !important;
  color: #0f172a !important;
  margin: 0 0 2rem !important;
  font-style: normal;
}
.about-pullquote__attribution {
  display: inline-flex; align-items: center; gap: 0.85rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.6rem 1.1rem 0.6rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  text-align: left;
}
.about-pullquote__attribution picture { display: inline-flex; }
.about-pullquote__attribution img {
  width: 48px !important; height: 48px !important;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.about-pullquote__attribution-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.01em;
}
.about-pullquote__attribution-role {
  font-size: 0.78rem;
  color: rgba(15, 23, 42, 0.6);
  margin: 0;
}
.about-pullquote__attribution-role a {
  color: #2563eb !important;
  text-decoration: none;
  font-weight: 500;
}
.about-pullquote__attribution-role a:hover { text-decoration: underline; }
.about-hero-elite__breadcrumb {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
}
.about-hero-elite__breadcrumb a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.about-hero-elite__breadcrumb a:hover { color: #ffffff; }
.about-hero-elite__mark {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.about-hero-elite__title {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: clamp(2.1rem, 1.3rem + 4vw, 4rem) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  margin: 0 0 2.5rem !important;
  max-width: 980px;
  color: #ffffff !important;
}
.about-hero-elite__line1 {
  display: block;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.55) !important;
}
.about-hero-elite__line2 {
  display: block;
  background: linear-gradient(95deg, #ffffff 0%, #93c5fd 50%, #c4b5fd 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 800 !important;
  letter-spacing: -0.04em !important;
}
.about-hero-elite__line3 {
  display: block;
  font-size: 0.62em;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-top: 1rem;
  letter-spacing: -0.02em !important;
  max-width: 32em;
}

/* People row (Roshan + Santosh avatars in hero) */
.about-hero-elite__people {
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  margin: 0 0 2rem;
}
.about-hero-elite__person {
  display: inline-flex; align-items: center; gap: 0.85rem;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.about-hero-elite__person:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(147, 197, 253, 0.4);
  transform: translateY(-2px);
}
.about-hero-elite__avatar {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.4) 0%, rgba(59, 130, 246, 0.4) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.about-hero-elite__avatar img,
.about-hero-elite__avatar picture {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.about-hero-elite__avatar--initials::before {
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem; font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.about-hero-elite__person-text { display: flex; flex-direction: column; }
.about-hero-elite__person-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.about-hero-elite__person-role {
  font-size: 0.74rem;
  color: rgba(147, 197, 253, 0.9);
  letter-spacing: 0.01em;
}

.about-hero-elite__sub {
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem) !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 800px;
  margin: 0 0 2.5rem !important;
}
.about-hero-elite__sub strong { color: #ffffff; font-weight: 600; }

.about-hero-elite__cta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center;
}
.about-hero-elite__secondary {
  color: #93c5fd !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.98rem;
  border-bottom: 1px dotted rgba(147, 197, 253, 0.5);
  padding-bottom: 1px;
  transition: color 0.2s ease;
}
.about-hero-elite__secondary:hover {
  color: #ffffff !important;
  border-bottom-color: #ffffff;
}

/* Premium leader cards */
.leader-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.leader-card:hover {
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.08), 0 4px 8px rgba(15, 23, 42, 0.05);
  transform: translateY(-2px);
}
.leader-card--reverse { grid-template-columns: 1fr 320px; }
.leader-card--reverse .leader-card__media { order: 2; }
.leader-card--reverse .leader-card__body { order: 1; }

/* Two partner cards side by side — each switches to a vertical (photo-on-top)
   layout so it fits a half-width column cleanly. */
.leader-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  align-items: stretch;
}
.leader-pair .leader-card,
.leader-pair .leader-card--reverse {
  grid-template-columns: 1fr;
  min-width: 0;
  max-width: none;
  margin: 0;
  text-align: center;
}
.leader-pair .leader-card__body { min-width: 0; }
/* Long links (e.g. the email address) must wrap inside the card,
   not stretch the grid column wider than its sibling. */
.leader-pair .leader-card__link {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.leader-pair .leader-card .leader-card__media,
.leader-pair .leader-card--reverse .leader-card__media { order: 1; }
.leader-pair .leader-card .leader-card__body,
.leader-pair .leader-card--reverse .leader-card__body { order: 2; }
.leader-pair .leader-card__location,
.leader-pair .leader-card__links { justify-content: center; }
.leader-pair .leader-card__quote { text-align: left; }
/* Stay two-up on every width — compact the cards on small screens so the
   APAC Marketing Partner and Support Partner remain on the same line. */
@media (max-width: 820px) {
  .leader-pair .leader-card,
  .leader-pair .leader-card--reverse {
    grid-template-columns: 1fr;
    padding: 1.1rem;
    text-align: center;
  }
  .leader-pair .leader-card__photo { max-width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .leader-pair { gap: 0.75rem; }
  .leader-pair .leader-card,
  .leader-pair .leader-card--reverse { padding: 0.85rem; border-radius: 14px; }
  .leader-pair .leader-card__media { gap: 0.55rem; }
  .leader-pair .leader-card__name { font-size: 1rem !important; }
  .leader-pair .leader-card__role { font-size: 0.62rem !important; letter-spacing: 0.05em; }
  .leader-pair .leader-card__location { font-size: 0.72rem !important; }
  .leader-pair .leader-card__quote { font-size: 0.8rem; padding: 0.55rem 0.65rem; }
  .leader-pair .leader-card__bio { font-size: 0.8rem !important; line-height: 1.55 !important; }
  .leader-pair .leader-card__links { flex-direction: column; gap: 0.4rem; }
  .leader-pair .leader-card__link { padding: 0.45rem 0.6rem; font-size: 0.72rem; }
  .leader-pair .leader-card__verified { font-size: 0.62rem !important; padding: 0.28rem 0.6rem; gap: 0.3rem; }
}

.leader-card__media {
  display: flex; flex-direction: column; gap: 0.85rem;
  align-items: center;
}
.leader-card__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
.leader-card__photo picture,
.leader-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.leader-card__photo--initials::before {
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(37, 99, 235, 0.15);
}
.leader-card__verified {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.7rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
}

.leader-card__role {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #2563eb !important;
  margin: 0 0 0.35rem !important;
}
.leader-card__name {
  font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2rem) !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 0.6rem !important;
  letter-spacing: -0.025em;
}
.leader-card__location {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.88rem !important;
  color: rgba(15, 23, 42, 0.62) !important;
  margin: 0 0 1.25rem !important;
  font-weight: 500;
}
.leader-card__quote {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.45;
  color: #0f172a;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  border-left: 3px solid #2563eb;
  border-radius: 6px;
  letter-spacing: -0.01em;
}
.leader-card__bio {
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
  color: rgba(15, 23, 42, 0.78) !important;
  margin: 0 0 1.5rem !important;
}
.leader-card__links {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.leader-card__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  color: #0f172a !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.leader-card__link:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb !important;
  transform: translateY(-1px);
}
.leader-card__link--primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  border-color: transparent;
}
.leader-card__link--primary:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff !important;
  border-color: transparent;
}
.leader-card__footnote {
  max-width: 880px;
  margin: 2rem auto 0 !important;
  text-align: center;
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: rgba(15, 23, 42, 0.72) !important;
  padding: 1.25rem 1.5rem;
  background: rgba(37, 99, 235, 0.03);
  border-radius: 12px;
}
.leader-card__footnote strong { color: #0f172a; }

@media (max-width: 820px) {
  .leader-card,
  .leader-card--reverse {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }
  .leader-card--reverse .leader-card__media { order: 1; }
  .leader-card--reverse .leader-card__body { order: 2; }
  .leader-card__photo { max-width: 240px; margin: 0 auto; }
  .leader-card__location { justify-content: center; }
  .leader-card__quote { text-align: left; }
  .leader-card__links { justify-content: center; }
}

/* Engineering team — compact member cards, matching the leader-card palette */
.team-members__head {
  margin-top: 3.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.14);
  border-color: rgba(37, 99, 235, 0.25);
}
.team-card__photo {
  position: relative;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 4px rgba(37, 99, 235, 0.22),
    0 6px 18px rgba(37, 99, 235, 0.14);
  margin-bottom: 1.2rem;
  transition: box-shadow 0.2s ease;
}
.team-card:hover .team-card__photo {
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 4px rgba(37, 99, 235, 0.55),
    0 10px 24px rgba(37, 99, 235, 0.2);
}
.team-card__photo::before {
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: -0.02em;
  z-index: 0;
}
.team-card__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.team-card__verified {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: 0.02em;
  padding: 0.25rem 0.65rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.team-card__name {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 0.3rem !important;
  letter-spacing: -0.02em;
}
.team-card__role {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: #2563eb !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem !important;
  line-height: 1.45;
}
.team-card__desc {
  font-size: 0.875rem !important;
  font-weight: 400 !important;
  color: rgba(15, 23, 42, 0.6) !important;
  line-height: 1.6;
  margin: 0 0 1.25rem !important;
  max-width: 30ch;
}
.team-card__exp {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.team-card__exp svg { color: #2563eb; flex-shrink: 0; }
.team-card__exp strong { font-weight: 800; font-size: 0.95rem; }

/* About Timeline */
.about-timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 880px;
  position: relative;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 95px;
  top: 1.5rem;
  bottom: 1.5rem;
  width: 2px;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.3) 50%, rgba(37, 99, 235, 0.1) 100%);
}
.about-timeline__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}
.about-timeline__item::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 1.2rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  z-index: 1;
}
.about-timeline__year {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: -0.01em;
  padding-top: 1rem;
  text-align: right;
  padding-right: 1.5rem;
  font-variant-numeric: tabular-nums;
}
.about-timeline__body {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.about-timeline__body:hover {
  border-color: rgba(37, 99, 235, 0.35);
  transform: translateX(2px);
}
.about-timeline__body h3 {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: #0f172a !important;
  margin: 0 0 0.5rem !important;
  letter-spacing: -0.01em;
}
.about-timeline__body p {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
  color: rgba(15, 23, 42, 0.72) !important;
  margin: 0 !important;
}
.about-timeline__body strong { color: #0f172a; }

@media (max-width: 600px) {
  .about-timeline::before { left: 19px; }
  .about-timeline__item { grid-template-columns: 56px 1fr; gap: 1.25rem; }
  .about-timeline__item::before { left: 12px; }
  .about-timeline__year {
    padding: 0.5rem 0.5rem 0 0;
    font-size: 0.78rem;
    text-align: left;
    padding-left: 36px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   FOUNDER / LEADERSHIP CARD — used on About page leadership section
   to give Roshan + Santosh real human presence. Photo + name + role +
   bio + LinkedIn/WhatsApp links. Falls back to initials circle if the
   photo file is missing.
   ══════════════════════════════════════════════════════════════════ */
.founder-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto 2rem;
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.founder-card--reverse { grid-template-columns: 1fr 220px; }
.founder-card--reverse .founder-card__photo { order: 2; }
.founder-card--reverse .founder-card__body { order: 1; }

.founder-card__photo {
  position: relative;
  width: 220px; height: 220px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe 0%, #ede9fe 100%);
  flex-shrink: 0;
}
.founder-card__photo picture,
.founder-card__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Initials fallback when image is missing */
.founder-card__photo--initials::before {
  content: attr(data-initials);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: -0.02em;
}

.founder-card__role {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2563eb !important;
  margin: 0 0 0.4rem !important;
}
.founder-card__name {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin: 0 0 0.85rem !important;
  letter-spacing: -0.02em;
}
.founder-card__bio {
  font-size: 1rem !important;
  line-height: 1.65 !important;
  color: rgba(15, 23, 42, 0.75) !important;
  margin: 0 0 1.2rem !important;
}
.founder-card__links {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
}
.founder-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  color: #0f172a !important;
  text-decoration: none !important;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.founder-card__link:hover {
  background: rgba(37, 99, 235, 0.08);
  border-color: rgba(37, 99, 235, 0.35);
  color: #2563eb !important;
}
.founder-card__link svg { flex-shrink: 0; }

@media (max-width: 720px) {
  .founder-card,
  .founder-card--reverse {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }
  .founder-card__photo {
    width: 160px; height: 160px;
    margin: 0 auto;
  }
  .founder-card--reverse .founder-card__photo { order: 1; }
  .founder-card--reverse .founder-card__body { order: 2; }
  .founder-card__links { justify-content: center; }
}

/* Founder signature LinkedIn link (used in elite-cta + Why-Us card) */
.founder-linkedin-inline {
  color: #93c5fd !important;
  text-decoration: none !important;
  font-weight: 600;
  border-bottom: 1px dotted rgba(147, 197, 253, 0.5);
}
.founder-linkedin-inline:hover { color: #ffffff !important; border-bottom-color: #ffffff; }

/* Light variant for use on white cards (Why-Us section) */
.founder-linkedin-inline--light {
  color: #2563eb !important;
  border-bottom-color: rgba(37, 99, 235, 0.3);
}
.founder-linkedin-inline--light:hover { color: #1e40af !important; border-bottom-color: #1e40af; }

/* ══════════════════════════════════════════════════════════════════
   ELITE CTA — editorial / stat-as-hero design used on case study
   pages. Inspired by Linear / Vercel / Stripe end-of-page CTAs:
   massive headline, stats as design hero, single confident button,
   founder signature. Aurora gradient + grid texture for depth.
   ══════════════════════════════════════════════════════════════════ */
.elite-cta {
  position: relative;
  background: #05070d;
  color: #ffffff;
  padding: clamp(4.5rem, 9vw, 7.5rem) 1.5rem;
  overflow: hidden;
  isolation: isolate;
}
.elite-cta__aurora {
  position: absolute; inset: -20% -10%;
  background:
    radial-gradient(60% 50% at 20% 30%, rgba(99, 102, 241, 0.45) 0%, transparent 60%),
    radial-gradient(50% 40% at 80% 70%, rgba(59, 130, 246, 0.45) 0%, transparent 60%),
    radial-gradient(40% 30% at 50% 90%, rgba(168, 85, 247, 0.30) 0%, transparent 60%);
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  animation: elite-aurora 18s ease-in-out infinite alternate;
}
@keyframes elite-aurora {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(2%, -2%) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .elite-cta__aurora { animation: none; }
}
.elite-cta__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  z-index: 0;
}
.elite-cta__inner {
  position: relative; z-index: 1;
  max-width: 1080px; margin: 0 auto;
  /* Horizontal padding so content doesn't butt against viewport edge on mobile
     (the parent .elite-cta has full-bleed background but inner content needs
     a safe gutter). */
  padding: 0 clamp(1rem, 4vw, 1.75rem);
  text-align: center;
  overflow-wrap: break-word;
}

/* Brand mark row */
.elite-cta__mark {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2.5rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.elite-cta__mark picture { display: inline-flex; align-items: center; }
.elite-cta__mark img {
  height: 22px !important; width: auto !important;
  max-width: 120px;
  filter: brightness(0) invert(1) opacity(0.95);
  display: block;
}
.elite-cta__pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  display: inline-block;
  animation: elite-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes elite-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}
.elite-cta__sep { opacity: 0.4; }
.elite-cta__status {
  font-weight: 500; letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}

/* Editorial headline */
.elite-cta__headline {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: clamp(2.4rem, 1.4rem + 5vw, 5rem) !important;
  font-weight: 700 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  margin: 0 auto 2.75rem !important;
  max-width: 900px;
  color: #ffffff !important;
  text-align: center !important;
}
.elite-cta__h-line1,
.elite-cta__h-line2,
.elite-cta__h-line3 { display: block; }
.elite-cta__h-line1 {
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  letter-spacing: -0.03em !important;
}
.elite-cta__h-line2 {
  background: linear-gradient(95deg, #ffffff 0%, #93c5fd 45%, #c4b5fd 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  font-weight: 800 !important;
  letter-spacing: -0.05em !important;
}
.elite-cta__h-line3 {
  color: #ffffff !important;
  font-weight: 700 !important;
}

/* Hairline rules above/below stat band */
.elite-cta__rule {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 20%, rgba(255, 255, 255, 0.16) 80%, transparent 100%);
  margin: 0 auto;
  max-width: 900px;
}

/* Stat band (the visual hero) */
.elite-cta__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.25rem 0;
  margin: 0 auto;
  max-width: 900px;
  list-style: none;
}
.elite-cta__stats > div {
  text-align: center;
  padding: 0 0.5rem;
}
.elite-cta__stats dt {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(1.85rem, 1rem + 3vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.6rem;
  display: inline-flex; align-items: baseline; gap: 0.05em;
}
.elite-cta__stats dt span {
  font-size: 0.6em;
  color: #93c5fd;
  font-weight: 600;
}
.elite-cta__stats dd {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.005em;
}
@media (max-width: 720px) {
  .elite-cta__stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 2rem 0; }
}

/* Lede + button */
.elite-cta__lede {
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem) !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  max-width: 580px;
  margin: 2rem auto 2rem !important;
  text-align: center;
}
.elite-cta__action { text-align: center; margin-bottom: 2.5rem; }
.elite-cta__btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 1.05rem 1.85rem;
  background: #ffffff;
  color: #05070d !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  letter-spacing: -0.005em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 12px 32px -8px rgba(99, 102, 241, 0.5);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.elite-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 20px 40px -8px rgba(99, 102, 241, 0.65);
  color: #05070d !important;
}
.elite-cta__btn svg {
  transition: transform 0.18s ease;
  color: #2563eb;
}
.elite-cta__btn:hover svg { transform: translateX(3px); }

/* Founder signature line */
.elite-cta__signature {
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.55) !important;
  text-align: center;
  margin: 0 auto !important;
  max-width: 640px;
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 0.55rem;
}
.elite-cta__signature-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  padding: 0.25rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.elite-cta__signature a {
  color: #93c5fd !important;
  text-decoration: none !important;
  font-weight: 600;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.93rem;
}
.elite-cta__signature a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
.elite-cta__signature-name {
  display: block; width: 100%;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

/* ══════════════════════════════════════════════════════════════════
   CASE STUDY MODERN CTA — replaces the legacy cartoon
   .web__wrapper > .img_2 section on case study pages with an
   elite dark-navy CTA band that uses the actual client brand
   logo as the visual element (real, not cartoon art).
   ══════════════════════════════════════════════════════════════════ */
.case-study-cta {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #312e81 100%);
  padding: clamp(3.5rem, 6vw, 5.5rem) 1.5rem;
  color: #ffffff;
  overflow: hidden;
}
.case-study-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(99, 102, 241, 0.28) 0%, transparent 42%),
    radial-gradient(circle at 82% 75%, rgba(59, 130, 246, 0.28) 0%, transparent 42%);
  pointer-events: none;
}
.case-study-cta__inner {
  position: relative; z-index: 1;
  max-width: 820px; margin: 0 auto;
  text-align: center;
}
.case-study-cta__brand {
  display: inline-flex; align-items: center; gap: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.case-study-cta__brand picture { display: inline-flex; align-items: center; }
.case-study-cta__brand img {
  height: 28px !important; width: auto !important;
  max-width: 168px;
  filter: brightness(0) invert(1) opacity(0.95);
  display: block;
}
.case-study-cta__badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; color: #93c5fd;
  text-transform: uppercase;
}
.case-study-cta__badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.2);
  display: inline-block;
}
.case-study-cta h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 0 1.1rem !important;
  letter-spacing: -0.02em !important;
  line-height: 1.15 !important;
}
.case-study-cta p {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  max-width: 640px;
  margin: 0 auto 2rem !important;
}
.case-study-cta__buttons {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  justify-content: center; margin-bottom: 1.75rem;
}
.case-study-cta__buttons .btn-hero,
.case-study-cta__buttons .btn-hero-white {
  font-size: 0.95rem !important;
  padding: 0.8rem 1.5rem !important;
}
.case-study-cta__direct {
  font-size: 0.92rem !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.78) !important;
  margin: 0 auto !important;
  max-width: 600px;
}
.case-study-cta__direct strong { color: #ffffff !important; }
.case-study-cta__direct a {
  color: #93c5fd !important;
  text-decoration: underline !important;
}
.case-study-cta__direct a:hover { color: #ffffff !important; }

/* ══════════════════════════════════════════════════════════════════
   HOMEPAGE CASE STUDY CAROUSEL — convert to grid so all 4 cards
   are visible at once (was a 2-card flex carousel with scroll
   arrows hiding cards 3+4). Hides the prev/next buttons; cards
   wrap to grid responsively.
   ══════════════════════════════════════════════════════════════════ */
.casestudy-carousel-container .card-section {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1.25rem !important;
  overflow: visible !important;
  padding: 2rem 0 1rem !important;
  scroll-snap-type: none !important;
}
.casestudy-carousel-container .card {
  flex: none !important;
  width: 100% !important;
  height: 300px !important;
}
.casestudy-carousel-container .arrow {
  display: none !important;
}
@media (max-width: 1199px) {
  .casestudy-carousel-container .card-section {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .casestudy-carousel-container .card { height: 280px !important; }
}
@media (max-width: 600px) {
  .casestudy-carousel-container .card-section {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .casestudy-carousel-container .card { height: 240px !important; }
}

/* ══════════════════════════════════════════════════════════════════
   AI CAPABILITIES SECTION — used on adult-home-care-saas-case-study
   and reusable for any future AI-differentiation showcase. Fully
   self-contained so legacy style.css cannot break the colors or
   layout.
   ══════════════════════════════════════════════════════════════════ */
.ai-capabilities-section {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 1.25rem !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #312e81 100%) !important;
  color: #ffffff !important;
  overflow: hidden;
}
.ai-capabilities-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.25) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(59, 130, 246, 0.25) 0%, transparent 35%);
  pointer-events: none;
}
.ai-capabilities-section__inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto;
}
.ai-capabilities-section__eyebrow {
  display: block !important;
  text-align: center !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  color: #93c5fd !important;
  text-transform: uppercase !important;
  margin: 0 0 0.85rem !important;
}
.ai-capabilities-section__title {
  text-align: center !important;
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.55rem) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  margin: 0 auto 1.25rem !important;
  max-width: 900px;
  letter-spacing: -0.02em;
}
.ai-capabilities-section__lead {
  text-align: center !important;
  max-width: 820px;
  margin: 0 auto 2.75rem !important;
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: rgba(255, 255, 255, 0.82) !important;
}
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 960px) { .ai-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ai-grid { grid-template-columns: 1fr; gap: 1rem; } }

.ai-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px;
  padding: 1.75rem 1.5rem !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.ai-card:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.45) !important;
  background: rgba(255, 255, 255, 0.09) !important;
}
.ai-card__num {
  display: inline-block !important;
  font-family: 'Inter', system-ui, sans-serif !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: #93c5fd !important;
  margin-bottom: 0.6rem !important;
  letter-spacing: 0.02em;
}
.ai-card__title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #ffffff !important;
  margin: 0 0 0.6rem !important;
  letter-spacing: -0.005em;
}
.ai-card__body {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: rgba(255, 255, 255, 0.82) !important;
  margin: 0 !important;
}

/* ═════════════════════════════════════════════════════════════════════════
   ELITE HOMEPAGE BAND — animated client marquee + premium about + services
   The HTML hooks (.logo-marquee, .about-section--elite, .about-stats,
   .about-section__visual/__glow/__badge) were authored earlier with no CSS.
   This block makes them world-class: a moving grayscale→color logo marquee,
   a premium about block with glow + floating badge, and gradient-accented
   service cards. Appended last so it is cascade-authoritative.
   ═════════════════════════════════════════════════════════════════════════ */

/* ── 1. Animated client logo marquee ─────────────────────────────────────── */
.company-logo-section.logo-strip--marquee {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border-top: 1px solid var(--bd-subtle);
  border-bottom: 1px solid var(--bd-subtle);
  overflow: hidden;
}

.logo-marquee {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  /* Edge fade so logos dissolve into the section instead of hard-cutting. */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.logo-marquee__track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  animation: logoMarquee 42s linear infinite;
  will-change: transform;
}

/* Pause on hover so visitors can read a specific brand. */
.logo-marquee:hover .logo-marquee__track,
.logo-marquee:focus-within .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  text-decoration: none;
}

.logo-marquee__item picture,
.logo-marquee__item img {
  display: block;
  width: auto;
  height: auto;
  max-height: 40px;
  max-width: 168px;
  object-fit: contain;
  /* Default: muted monochrome — colour blooms in on hover (Stripe/Vercel). */
  filter: grayscale(100%);
  opacity: 0.55;
  transition:
    filter var(--dur-base) var(--ease-out),
    opacity var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.logo-marquee__item:hover img,
.logo-marquee__item:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}

@keyframes logoMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.3333%); } /* 3 identical sets → seamless */
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee {
    -webkit-mask-image: none;
            mask-image: none;
  }
  .logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    row-gap: 1.75rem;
  }
  .logo-marquee__item img { filter: grayscale(0); opacity: 1; }
}

/* ── 2. Elite about section ──────────────────────────────────────────────── */
.about-section--elite {
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 4rem) !important;
  background:
    radial-gradient(120% 120% at 85% 8%, rgba(26, 107, 204, 0.07), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.about-section--elite .left {
  flex: 1 1 50%;
  background: transparent !important;
  padding: 0 !important;
}

.about-section--elite .right {
  flex: 1 1 50%;
  clip-path: none !important;
  padding: 0 !important;
  justify-content: flex-end;
  align-items: center;
}

.about-section--elite .about-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
}

.about-eyebrow__line {
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue, #1a6bcc);
}

/* Stat trio under the body copy */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  margin: 1.75rem 0 0.25rem;
  padding: 0;
}

.about-stats dt {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #0a0a0a;
}

.about-stats dt span { color: var(--blue, #1a6bcc); }

.about-stats dd {
  margin: 0.45rem 0 0;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: #64748b;
}

/* Image treatment: glow halo behind + rounded card + floating year badge */
.about-section__visual {
  position: relative;
  display: inline-block;
  max-width: 540px;
  width: 100%;
}

.about-section--elite .about-section__visual picture,
.about-section--elite .about-section__visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--sh-lg);
  clip-path: none !important;
  animation: none !important; /* kill the legacy float on .about-section img */
}

.about-section__glow {
  position: absolute;
  z-index: 1;
  inset: -10%;
  border-radius: 32px;
  background: var(--grad, linear-gradient(135deg, #2e7de0, #1a6bcc, #0d3f8f));
  filter: blur(60px);
  opacity: 0.28;
}

.about-section__badge {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: -16px;
  padding: 0.85rem 1.2rem;
  border-radius: 16px;
  background: #0a1628;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--sh-lg);
  text-align: center;
}

.about-section__badge-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan, #00c2e0);
}

.about-section__badge-year {
  display: block;
  margin-top: 2px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 768px) {
  .about-section--elite { gap: 2rem; }
  .about-section--elite .right { justify-content: center; }
  .about-section__visual { max-width: 440px; }
  .about-section__badge { right: 8px; }
}

@media (max-width: 420px) {
  .about-stats { gap: 1.1rem; }
  .about-stats dt { font-size: 1.6rem; }
  .about-stats dd { font-size: 0.75rem; }
}

/* ── 3. Elite services band + cards ──────────────────────────────────────── */
.services-section {
  background:
    radial-gradient(100% 60% at 50% 0%, rgba(26, 107, 204, 0.05), transparent 70%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 60%) !important;
  position: relative;
}

.services-section .service-card:hover {
  transform: translateY(-6px) !important;
  border-color: transparent !important;
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(26, 107, 204, 0.22) !important;
}

/* Icon tile fills with the brand gradient on hover; the inline SVG uses
   currentColor, so flipping color to #fff turns the glyph white. */
.services-section .service-card:hover .services--icon {
  background: var(--grad, linear-gradient(135deg, #2e7de0, #1a6bcc, #0d3f8f)) !important;
  color: #ffffff !important;
}

/* Per-card production proof line — converts capability claims into evidence.
   Higher specificity (p.class) than `.service-card p` so it overrides the
   description's flex:1 / size / colour without !important. */
.service-card p.service-card__proof {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  margin: 0 !important;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  color: #475569 !important;
  letter-spacing: -0.003em;
}

.service-card__proof-check {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--blue, #1a6bcc);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═════════════════════════════════════════════════════════════════════════
   DARK ELITE BANDS — logo strip + services, matched to the hero palette
   (#0a1628 navy bg · #93c5fd eyebrows · white headings · light body text).
   Appended last so it overrides the earlier light treatment of these two
   sections. Reads as a premium continuation of the dark hero.
   ═════════════════════════════════════════════════════════════════════════ */

/* ── 1. Logo marquee → dark band ─────────────────────────────────────────── */
.company-logo-section.logo-strip--marquee {
  /* Flat base shared by every dark band → perfectly seamless seams.
     No coloured borders (they read as blue lines slicing the canvas). */
  background: #0a1628 !important;
}

.logo-strip--marquee .logo-strip__eyebrow {
  color: #93c5fd !important;
}

.logo-strip--marquee .logo-strip__marquee {
  color: rgba(255, 255, 255, 0.62) !important;
}

.logo-strip--marquee .logo-strip__marquee strong {
  color: #ffffff;
}

/* Logos: crisp white monochrome on dark; brighten + lift on hover. Kept white
   (not full-colour) on hover so every brand reads cleanly against navy. */
.logo-strip--marquee .logo-marquee__item img {
  filter: brightness(0) invert(1);
  opacity: 0.55;
}

.logo-strip--marquee .logo-marquee__item:hover img,
.logo-strip--marquee .logo-marquee__item:focus-visible img {
  filter: brightness(0) invert(1);
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
}

/* ── 2. Services → dark elite band ───────────────────────────────────────── */
.services-section {
  /* Same flat base + one subtle ambient glow behind the centered header. */
  background:
    radial-gradient(85% 55% at 50% -5%, rgba(26, 107, 204, 0.12), transparent 60%),
    #0a1628 !important;
}

.services-section__eyebrow {
  color: #93c5fd !important;
}

.services-section h2 {
  color: #ffffff !important;
}

.services-section__lead {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Dark glass cards */
.services-section .service-card,
.services-section .service-card.visible {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.services-section .service-card h3,
.services-section .service-card h3.black {
  color: #ffffff !important;
}

.services-section .service-card p,
.services-section .service-card p.black {
  color: rgba(255, 255, 255, 0.66) !important;
}

.services-section .service-card .services--icon {
  background: rgba(26, 107, 204, 0.18) !important;
  color: #93c5fd !important;
}

.services-section .service-card:hover {
  transform: translateY(-6px) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  border-color: rgba(26, 107, 204, 0.5) !important;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(26, 107, 204, 0.35) !important;
}

.services-section .service-card:hover .services--icon {
  background: var(--grad, linear-gradient(135deg, #2e7de0, #1a6bcc, #0d3f8f)) !important;
  color: #ffffff !important;
}

.services-section .service-card .card-cta {
  color: #93c5fd;
}

/* Proof line + check tuned for the dark card */
.services-section .service-card p.service-card__proof {
  color: rgba(255, 255, 255, 0.6) !important;
  border-top-color: rgba(255, 255, 255, 0.1);
}

.services-section .service-card__proof-check {
  stroke: #93c5fd;
}

/* About section intentionally stays LIGHT (per request) — the dark treatment
   was removed. Logo strip + services remain dark. */

/* ═════════════════════════════════════════════════════════════════════════
   ELITE CASE-STUDY CAROUSEL — matched to the service / testimonial card system
   (centred eyebrow+h2+lead header, hairline cards, blue-ring hover lift,
   category pill chips, hover-reveal arrow affordance, premium nav arrows).
   ═════════════════════════════════════════════════════════════════════════ */
.casestudy-carousel-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 4rem) !important;
  overflow: visible !important;
}

/* Section header — same rhythm as services/testimonials */
.casestudy-head {
  max-width: 760px;
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  padding: 0 1rem;
}
.casestudy-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue, #1a6bcc);
  margin-bottom: 1rem;
}
.casestudy-carousel-container h2 {
  position: static !important;
  text-align: center !important;
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: var(--ls-tight) !important;
  color: #0a0a0a !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
  text-shadow: none !important;
}
.casestudy-lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: #475569;
  margin: 0 auto;
  max-width: 58ch;
}

/* Clean centred grid — full-screen section, all cards visible (no carousel) */
.casestudy-carousel-container .card-section {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: clamp(1rem, 1.8vw, 1.5rem) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  overflow: visible !important;
  padding: 0 !important;
}
@media (max-width: 1024px) {
  .casestudy-carousel-container .card-section { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
  .casestudy-carousel-container .card-section { grid-template-columns: 1fr !important; }
}
/* Hide the carousel nav arrows — the grid shows everything */
.casestudy-carousel-container .arrow { display: none !important; }

/* Content-forward white card */
.casestudy-carousel-container .cs-card {
  position: relative !important;
  flex: 0 0 auto !important;
  width: auto !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
  transition:
    transform 0.4s var(--ease-out),
    box-shadow 0.4s var(--ease-out),
    border-color 0.4s var(--ease-out) !important;
}
.casestudy-carousel-container .cs-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(26, 107, 204, 0.30) !important;
  box-shadow:
    0 22px 48px rgba(15, 23, 42, 0.13),
    0 0 0 1px rgba(26, 107, 204, 0.22) !important;
}
/* neutralise the legacy overlay gradient / arrow pseudo on these cards */
.casestudy-carousel-container .cs-card::after,
.casestudy-carousel-container .cs-card::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* Media banner (top) */
.casestudy-carousel-container .cs-card__media {
  position: relative;
  height: 180px;
  overflow: hidden;
  /* background: linear-gradient(135deg, #0d1b2e 0%, #0a1628 100%); */
  background-color: #f0f0f0 !important;
}
.casestudy-carousel-container .cs-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.casestudy-carousel-container .cs-card__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s var(--ease-out) !important;
}
.casestudy-carousel-container .cs-card:hover .cs-card__media img {
  transform: scale(1.05) !important;
}
/* Logo variant — contain + centre on the brand panel (no ugly crop) */
.casestudy-carousel-container .cs-card__media--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem;
}
.casestudy-carousel-container .cs-card__media--logo picture {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.casestudy-carousel-container .cs-card__media--logo img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Category tag pill on the media */
.casestudy-carousel-container .cs-card__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: rgba(10, 22, 40, 0.78);
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
  color: #cfe3ff;
  border: 1px solid rgba(124, 182, 255, 0.30);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Body (below the media) */
.casestudy-carousel-container .cs-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.25rem 1.35rem;
  flex: 1 1 auto;
}
.casestudy-carousel-container .cs-card__body h3 {
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  color: #0a0a0a !important;
  margin: 0 !important;
}
.casestudy-carousel-container .cs-card__result {
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  color: #475569 !important;
  margin: 0 !important;
  flex: 1 1 auto;
}
.casestudy-carousel-container .cs-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue, #1a6bcc);
}
.casestudy-carousel-container .cs-card__cta span {
  transition: transform 0.3s var(--ease-out);
}
.casestudy-carousel-container .cs-card:hover .cs-card__cta span {
  transform: translateX(4px);
}

/* full-card click overlay */
.casestudy-carousel-container .cs-card .card-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
}

/* Premium nav arrows — white pill, hairline, blue on hover */
.casestudy-carousel-container .arrow {
  background: #ffffff !important;
  color: var(--blue, #1a6bcc) !important;
  border: 1px solid rgba(15, 23, 42, 0.10) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12) !important;
}
.casestudy-carousel-container .arrow:hover {
  background: var(--blue, #1a6bcc) !important;
  color: #ffffff !important;
  transform: translateY(-50%) scale(1.06) !important;
}

/* "View all case studies" — premium pill CTA on the dark panel */
.casestudy-carousel-container .view-more {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: clamp(1.75rem, 3vw, 2.5rem) auto 0 !important;
  width: auto !important;
  border: 0 !important;
}
.casestudy-carousel-container .view-more .line {
  display: none !important;
}
.casestudy-carousel-container .view-more .text {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0.8rem 1.7rem;
  border-radius: 9999px;
  background: #0a1628;
  color: #ffffff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(10, 22, 40, 0.18);
  transition:
    transform 0.25s var(--ease-out),
    background 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}
.casestudy-carousel-container .view-more .text::after {
  content: "\2192";
  font-size: 1.05em;
  transition: transform 0.25s var(--ease-out);
}
.casestudy-carousel-container .view-more .text:hover {
  transform: translateY(-2px);
  background: var(--blue, #1a6bcc);
  box-shadow: 0 12px 28px rgba(26, 107, 204, 0.28);
}
.casestudy-carousel-container .view-more .text:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   FOOTER — refined light theme (site-wide)
   Keeps the UI upgrades (contact cards, icon tiles, circular
   social buttons) on the original light background.
   ============================================================ */
.footer-container .container-fluid {
  max-width: 1200px; margin: 0 auto;
}

/* Old CTA strip removed */
.footer-container .quote__section { display: none !important; }

/* Contact cards */
.footer-container .footer-top {
  gap: 1.25rem;
  padding-bottom: 2rem;
  margin-bottom: 0.5rem;
}
.footer-container .contact-box {
  border-right: none !important;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.footer-container .contact-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.10);
  border-color: rgba(37, 99, 235, 0.22);
}
.footer-container .contact-icon {
  width: 46px; height: 46px; border-radius: 12px;
  justify-content: center; flex-shrink: 0;
  background: linear-gradient(135deg, #2e7de0 0%, #1a6bcc 100%);
}
.footer-container .contact-icon img {
  width: 18px !important; height: auto !important;
  filter: brightness(0) invert(1);
}

/* Middle spacing */
.footer-container .footer-middle {
  gap: clamp(2rem, 4vw, 3.5rem);
}
.footer-container .footer-text:hover { transform: translateX(3px); }

/* Social icons → circular buttons (light) */
.footer-container .social-icons a {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  color: #475569;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
.footer-container .social-icons a:hover {
  background: linear-gradient(135deg, #2e7de0 0%, #1a6bcc 100%);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.30);
}

/* ============================================================
   Case-study "Project Scope" & "Why This Case Study Matters"
   — refined, scannable light UI (scoped to .project-scope only)
   ============================================================ */
.project-section.project-scope {
  background: linear-gradient(135deg, #f4f8ff 0%, #eef2fb 100%) !important;
  margin: 16px 0 !important;
}
.project-section.project-scope .project-content {
  padding: clamp(2rem, 4vw, 3.5rem) !important;
}
.project-section.project-scope h2 {
  color: #0f172a !important;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem) !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem !important;
}
.project-section.project-scope p {
  color: #475569 !important;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0 !important;
}
/* Short gradient accent divider */
.project-section.project-scope .divider {
  border: none !important;
  height: 3px; width: 64px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2e7de0 0%, #6366f1 100%);
  margin: 1.1rem 0 1.5rem !important;
}
/* Checklist with circular check badges */
.project-section.project-scope ul {
  display: grid;
  gap: 0.85rem;
  margin: 0 !important;
  padding: 0;
  list-style: none;
}
.project-section.project-scope ul li {
  position: relative;
  padding: 0 0 0 2.25rem !important;
  margin: 0 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: #334155 !important;
}
.project-section.project-scope ul li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0.05rem;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #2e7de0 0%, #1a6bcc 100%);
  color: #ffffff !important;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.30);
}
.project-section.project-scope ul li b { color: #0f172a; font-weight: 700; }
.project-section.project-scope ul li a { color: #1a6bcc; font-weight: 600; }
/* CTA button (Visit Website / Discuss…) — sits inline with a visible
   brand-blue background (it was rendering white-on-light = invisible). */
.project-section.project-scope .btn-hero {
  align-self: flex-start;
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #2e7de0 0%, #1a6bcc 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
}
.project-section.project-scope .btn-hero:hover {
  background: linear-gradient(135deg, #1a6bcc 0%, #0d3f8f 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.36);
}

/* Customer / "The Challenge" illustration — polished framed image */
.customer .circle-illustration img {
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.14);
}
/* Image → clean rounded card (drop the harsh full-bleed diagonal crop) */
.project-section.project-scope .project-image,
.project-section.project-scope .project-image-left {
  clip-path: none !important;
  flex: 1 1 40%;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.project-section.project-scope .project-image img,
.project-section.project-scope .project-image-left img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

/* ── Business Impact: make the (dark-section) client testimonial readable ── */
.business__impact .client-testimonial {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.business__impact .client-testimonial p { color: rgba(255, 255, 255, 0.70) !important; }
.business__impact .client-testimonial p:first-child { color: #7cb6ff !important; }
.business__impact .client-testimonial blockquote { color: #ffffff !important; }

/* ============================================================
   "Ready to Hire" CTA (.web__wrapper) — site-wide
   — replace the cartoon programmer.png with a clean branded
     panel + code icon, and make the white-on-white CTA button
     background visible. Applies to every page using .web__wrapper.
   ============================================================ */
.web__wrapper .img_2 {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E") no-repeat center / 120px,
    radial-gradient(circle at 78% 22%, rgba(124, 182, 255, 0.30) 0%, transparent 45%),
    linear-gradient(135deg, #0d3f8f 0%, #1a6bcc 55%, #2e7de0 100%) !important;
  position: relative;
}
/* subtle decorative ring behind the icon */
.web__wrapper .img_2::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 210px; height: 210px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

/* Make the Schedule a Call / CTA button background clearly visible
   (was rendering white-on-white). */
.web__wrapper .text .btn-hero {
  background: linear-gradient(135deg, #2e7de0 0%, #1a6bcc 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28);
  padding: 0.85rem 1.9rem;
}
.web__wrapper .text .btn-hero:hover {
  background: linear-gradient(135deg, #1a6bcc 0%, #0d3f8f 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.36);
}




