

/* Desktop: hide hamburger and drawer by default */
#kx-hamburger {
  display: none;
}

/* MOBILE: Force hamburger always visible for debugging */
@media screen and (max-width: 900px) {
  #kx-hamburger {
    display: flex !important; 
  }
}
 

#kx-mobile-drawer {
  display: none;
}
/*
 * Konvex Child Theme — DESIGN SYSTEM
 * File: assets/css/konvex-custom.css
 *
 * REPLACE the entire Phase 1 konvex-custom.css with this file.
 * Then append Phase 2 CSS (konvex-phase2.css) at the bottom.
 *
 * Fonts: Space Grotesk (display) + DM Serif Display (italic accent) + DM Sans (body)
 * Palette: White #FFFFFF · Black #0C0C0C · Orange #FACC15 · Gray #6A6460
 * Aesthetic: Editorial / magazine — sharp corners, grain overlay, large type
 */

/* ─── GOOGLE FONTS ─────────────────────────────────────────────────────────── */
/* ─── 1. DESIGN TOKENS ─────────────────────────────────────────────────────── */
:root {
  /* Palette */
  --kx-black: #0C0C0C;
  --kx-white: #FFFFFF;
  --kx-cream: #FFFFFF;
  --kx-cream-dark: #F4F7F7;
  --kx-orange: #FACC15;
  --kx-orange-dark: #A08510;
  --kx-gray: #6A6460;
  --kx-gray-lt: #B8B2AA;
  --kx-border: #DDE6E4;

  /* Fonts */
  --kx-font-display: 'Space Grotesk', sans-serif;
  --kx-font-serif: 'DM Serif Display', serif;
  --kx-font-body: 'DM Sans', sans-serif;

  /* Radii — editorial = sharp */
  --kx-radius: 2px;
  --kx-radius-sm: 1px;
  --kx-radius-full: 40px;

  /* Spacing */
  --kx-section-y: 120px;
  --kx-section-y-sm: 80px;
  --kx-container: 1440px;
  --kx-pad: 56px;

  /* Transitions */
  --kx-ease: cubic-bezier(.16, 1, .3, 1);
  --kx-transition: all 0.28s var(--kx-ease);

  /* Shadows */
  --kx-shadow-orange: 0 8px 32px rgba(250, 204, 21, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--kx-font-body);
  background: var(--kx-cream);
  color: var(--kx-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

::-webkit-scrollbar {
  width: 2px;
}

::-webkit-scrollbar-track {
  background: var(--kx-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--kx-orange);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* ─── 3. TYPOGRAPHY ────────────────────────────────────────────────────────── */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--kx-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--kx-black);
}

/* Italic serif accent used inside headings */
h1 em,
h2 em,
h3 em,
.kx-h em {
  font-family: var(--kx-font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--kx-orange);
  letter-spacing: -0.02em;
}

/* Outlined text */
/* Outlined text */
.kx-outlined {
  -webkit-text-stroke: 2px var(--kx-black);
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.kx-outlined--white {
  -webkit-text-stroke-color: var(--kx-white);
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Section eyebrow */
.kx-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kx-orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.kx-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--kx-orange);
  flex-shrink: 0;
}

/* Section heading */
.kx-section-h {
  font-family: var(--kx-font-display);
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
}

.kx-section-h em {
  font-family: var(--kx-font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--kx-orange);
}

/* On dark backgrounds */
.kx-dark .kx-section-h,
.kx-dark h1,
.kx-dark h2,
.kx-dark h3,
.kx-dark h4 {
  color: var(--kx-white);
}

.kx-dark p {
  color: rgba(255, 255, 255, 0.45);
}

.kx-dark p strong {
  color: rgba(255, 255, 255, 0.8);
}

/* ─── 4. LAYOUT ────────────────────────────────────────────────────────────── */

.kx-container {
  max-width: var(--kx-container);
  margin: 0 auto;
  padding: 0 var(--kx-pad);
}

.kx-section {
  padding: var(--kx-section-y) var(--kx-pad);
}

.kx-section--sm {
  padding: var(--kx-section-y-sm) var(--kx-pad);
}

/* Section colour variants */
.kx-section--cream {
  background: var(--kx-cream);
}

.kx-section--black {
  background: var(--kx-black);
}

.kx-section--white {
  background: var(--kx-white);
}

.kx-section--orange {
  background: var(--kx-orange);
}

.kx-dark {
  background: var(--kx-black);
}

/* ─── 5. BUTTONS ───────────────────────────────────────────────────────────── */

.kx-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: var(--kx-radius);
  font-family: var(--kx-font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s, gap 0.2s, transform 0.15s;
  white-space: nowrap;
}

.kx-btn svg {
  transition: transform 0.2s;
}

.kx-btn:hover svg {
  transform: translateX(4px);
}

.kx-btn-primary {
  background: var(--kx-orange);
  color: var(--kx-white);
}

.kx-btn-primary:hover {
  background: var(--kx-orange-dark);
  gap: 18px;
  transform: translateY(-2px);
  color: var(--kx-white);
}

.kx-btn-black {
  background: var(--kx-black);
  color: var(--kx-white);
}

.kx-btn-black:hover {
  background: var(--kx-orange);
  color: var(--kx-white);
  transform: translateY(-1px);
}

.kx-btn-ghost {
  background: transparent;
  color: var(--kx-black);
  padding: 0;
  border-bottom: 1px solid var(--kx-black);
  padding-bottom: 2px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  gap: 6px;
}

.kx-btn-ghost:hover {
  color: var(--kx-orange);
  border-color: var(--kx-orange);
}

.kx-btn-ghost--white {
  color: var(--kx-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.kx-btn-ghost--white:hover {
  color: var(--kx-orange);
  border-color: var(--kx-orange);
}

/* WA button */
.kx-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--kx-radius);
  background: transparent;
  border: 1px solid var(--kx-border);
  color: var(--kx-black);
  font-family: var(--kx-font-display);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--kx-transition);
}

.kx-btn-wa:hover {
  border-color: #25D366;
  color: #25D366;
}

.kx-btn-wa .wa-dot {
  width: 7px;
  height: 7px;
  background: #25D366;
  border-radius: 50%;
  animation: pulse-g 2s infinite;
  flex-shrink: 0;
}

/* Button sizes */
.kx-btn-sm {
  padding: 10px 22px;
  font-size: 13px;
}

.kx-btn-lg {
  padding: 20px 40px;
  font-size: 15px;
}

/* ─── 6. FORM ELEMENTS ─────────────────────────────────────────────────────── */

/* Dark form (used in hero card, contact, etc.) */
.kx-form-dark input[type="text"],
.kx-form-dark input[type="email"],
.kx-form-dark input[type="tel"],
.kx-form-dark select,
.kx-form-dark textarea,
.wpcf7-dark input[type="text"],
.wpcf7-dark input[type="email"],
.wpcf7-dark input[type="tel"],
.wpcf7-dark select,
.wpcf7-dark textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--kx-white);
  padding: 13px 16px;
  font-family: var(--kx-font-body);
  font-size: 14px;
  outline: none;
  border-radius: var(--kx-radius-sm);
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 12px;
}

.kx-form-dark input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.kx-form-dark input:focus,
.kx-form-dark select:focus,
.kx-form-dark textarea:focus {
  border-color: var(--kx-orange);
  background: rgba(250, 204, 21, 0.06);
}

.kx-form-dark select {
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.kx-form-dark select option {
  background: #1a1a1a;
  color: var(--kx-white);
}

.kx-form-dark input[type="submit"],
.kx-btn-form {
  all: unset;
  display: block;
  width: 100%;
  background: var(--kx-orange);
  color: var(--kx-white);
  padding: 15px;
  font-family: var(--kx-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
  border-radius: var(--kx-radius-sm);
  text-align: center;
}

.kx-form-dark input[type="submit"]:hover,
.kx-btn-form:hover {
  background: var(--kx-orange-dark);
}

/* Light form */
.kx-form-light input[type="text"],
.kx-form-light input[type="email"],
.kx-form-light input[type="tel"],
.kx-form-light select,
.kx-form-light textarea {
  width: 100%;
  background: var(--kx-white);
  border: 1px solid var(--kx-border);
  color: var(--kx-black);
  padding: 13px 16px;
  font-family: var(--kx-font-body);
  font-size: 14px;
  outline: none;
  border-radius: var(--kx-radius-sm);
  transition: border-color 0.2s;
  margin-bottom: 12px;
}

.kx-form-light input:focus,
.kx-form-light select:focus,
.kx-form-light textarea:focus {
  border-color: var(--kx-orange);
}

/* ─── 7. CARDS & TILES ─────────────────────────────────────────────────────── */

/* Service list item (dark bg) */
.kx-svc-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: padding-left 0.35s var(--kx-ease);
}

.kx-svc-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--kx-orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.35s var(--kx-ease);
}

.kx-svc-item:hover {
  padding-left: 24px;
}

.kx-svc-item:hover::before {
  transform: scaleY(1);
}

.kx-svc-num {
  font-family: var(--kx-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.15);
  transition: color 0.3s;
}

.kx-svc-item:hover .kx-svc-num {
  color: var(--kx-orange);
}

.kx-svc-name {
  font-family: var(--kx-font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
  transition: color 0.3s;
}

.kx-svc-item:hover .kx-svc-name {
  color: var(--kx-white);
}

.kx-svc-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
  transition: color 0.3s;
  font-weight: 300;
}

.kx-svc-item:hover .kx-svc-desc {
  color: rgba(255, 255, 255, 0.5);
}

.kx-svc-tags {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.kx-svc-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.25);
  transition: border-color 0.2s, color 0.2s;
}

.kx-svc-item:hover .kx-svc-tag {
  border-color: rgba(250, 204, 21, 0.4);
  color: var(--kx-orange);
}

/* Case study card — large (info panel) */
.kx-case-info {
  background: var(--kx-black);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kx-case-num {
  font-family: var(--kx-font-display);
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
}

.kx-case-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kx-orange);
  border: 1px solid rgba(250, 204, 21, 0.3);
  padding: 4px 12px;
  margin-bottom: 20px;
}

.kx-case-title {
  font-family: var(--kx-font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--kx-white);
  margin-bottom: 16px;
}

.kx-case-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  margin-bottom: 32px;
}

.kx-case-metrics {
  display: flex;
  gap: 32px;
}

.kx-cm-n {
  font-family: var(--kx-font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kx-orange);
  line-height: 1;
}

.kx-cm-l {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

.kx-case-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--kx-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s, border-color 0.2s, gap 0.2s;
}

.kx-case-link:hover {
  color: var(--kx-orange);
  border-color: var(--kx-orange);
  gap: 16px;
}

/* Case image wrap */
.kx-case-img-wrap {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.kx-case-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.5) brightness(0.75);
  transition: transform 0.7s var(--kx-ease), filter 0.5s;
}

.kx-case-img-wrap:hover img {
  transform: scale(1.06);
  filter: saturate(0.7) brightness(0.85);
}

/* Small case grid tile */
.kx-case-sm {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #111;
  cursor: pointer;
}

.kx-case-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.4) brightness(0.65);
  transition: transform 0.6s var(--kx-ease), filter 0.4s;
}

.kx-case-sm:hover img {
  transform: scale(1.06);
  filter: saturate(0.7) brightness(0.8);
}

.kx-case-sm-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 55%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.kx-case-sm-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kx-orange);
  margin-bottom: 8px;
}

.kx-case-sm-title {
  font-family: var(--kx-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--kx-white);
  line-height: 1.2;
  margin-bottom: 4px;
}

.kx-case-sm-result {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.kx-case-sm-result strong {
  color: var(--kx-orange);
}

.kx-case-sm-arr {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kx-white);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
}

.kx-case-sm:hover .kx-case-sm-arr {
  opacity: 1;
  transform: rotate(45deg);
  background: var(--kx-orange);
  border-color: var(--kx-orange);
}

/* Process card */
.kx-proc {
  background: var(--kx-white);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.35s;
  cursor: default;
}

.kx-proc:hover {
  background: var(--kx-black);
}

.kx-proc-n {
  font-family: var(--kx-font-display);
  font-size: 80px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--kx-cream-dark);
  line-height: 1;
  margin-bottom: 36px;
  transition: color 0.35s;
}

.kx-proc:hover .kx-proc-n {
  color: rgba(250, 204, 21, 0.2);
}

.kx-proc-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  border: 1px solid var(--kx-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: border-color 0.35s;
}

.kx-proc:hover .kx-proc-icon {
  border-color: rgba(255, 255, 255, 0.15);
}

.kx-proc-title {
  font-family: var(--kx-font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  transition: color 0.35s;
}

.kx-proc:hover .kx-proc-title {
  color: var(--kx-white);
}

.kx-proc-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--kx-gray);
  transition: color 0.35s;
}

.kx-proc:hover .kx-proc-desc {
  color: rgba(255, 255, 255, 0.4);
}

.kx-proc-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--kx-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--kx-ease);
}

.kx-proc:hover .kx-proc-line {
  transform: scaleX(1);
}

/* Insight / blog card */
.kx-insight-card {
  background: #0f0f0f;
  padding: 40px 36px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.kx-insight-card:hover {
  border-bottom-color: var(--kx-orange);
  background: #161616;
}

.kx-insight-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kx-orange);
  margin-bottom: 20px;
}

.kx-insight-title {
  font-family: var(--kx-font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--kx-white);
  margin-bottom: 16px;
  transition: color 0.3s;
}

.kx-insight-card:hover .kx-insight-title {
  color: var(--kx-orange);
}

.kx-insight-p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.65;
  margin-bottom: 28px;
}

.kx-insight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

.kx-insight-arr {
  color: var(--kx-orange);
  font-size: 16px;
  transition: transform 0.2s;
}

.kx-insight-card:hover .kx-insight-arr {
  transform: translateX(4px);
}

/* Testimonial main */
.kx-testi-main {
  background: var(--kx-orange);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}

.kx-testi-main::before {
  content: '"';
  position: absolute;
  top: -20px;
  right: 32px;
  font-family: var(--kx-font-serif);
  font-size: 220px;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  pointer-events: none;
}

.kx-testi-q {
  font-family: var(--kx-font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--kx-white);
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.kx-testi-sm {
  background: #161616;
  padding: 36px 40px;
  border-left: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
  cursor: pointer;
}

.kx-testi-sm:hover,
.kx-testi-sm.is-active {
  border-left-color: var(--kx-orange);
  background: #1e1e1e;
}

.kx-testi-sm-q {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  font-style: italic;
  font-family: var(--kx-font-serif);
  transition: color 0.3s;
}

.kx-testi-sm:hover .kx-testi-sm-q,
.kx-testi-sm.is-active .kx-testi-sm-q {
  color: rgba(255, 255, 255, 0.75);
}

/* Numbers/Stats section (orange bg) */
.kx-num-item {
  padding: 0 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.kx-num-item:first-child {
  padding-left: 0;
}

.kx-num-item:last-child {
  border-right: none;
}

.kx-num-v {
  font-family: var(--kx-font-display);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--kx-white);
  line-height: 1;
  margin-bottom: 10px;
}

.kx-num-v em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.9);
}

.kx-num-l {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Ticker */
.kx-ticker {
  background: var(--kx-black);
  padding: 16px 0;
  overflow: hidden;
}

.kx-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tick 32s linear infinite;
}

.kx-ticker-track:hover {
  animation-play-state: paused;
}

.kx-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  font-family: var(--kx-font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.kx-ticker-mark {
  color: var(--kx-orange);
  font-size: 16px;
  line-height: 1;
}

/* FAQ */
.kx-faq-item {
  border-bottom: 1px solid var(--kx-border);
  overflow: hidden;
}

.kx-faq-item:first-child {
  border-top: 1px solid var(--kx-border);
}

.kx-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--kx-font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--kx-black);
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.kx-faq-question:hover {
  color: var(--kx-orange);
}

.kx-faq-question__icon {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 300;
  color: var(--kx-orange);
  line-height: 1;
  transition: transform 0.3s;
}

.kx-faq-item.is-open .kx-faq-question__icon {
  transform: rotate(45deg);
}

.kx-faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: 14px;
  color: var(--kx-gray);
  line-height: 1.75;
  font-weight: 300;
}

.kx-faq-answer p:last-child {
  margin-bottom: 0;
}

/* FAQ dark variant */
.kx-dark .kx-faq-item {
  border-color: rgba(255, 255, 255, 0.1);
}

.kx-dark .kx-faq-question {
  color: var(--kx-white);
}

.kx-dark .kx-faq-answer {
  color: rgba(255, 255, 255, 0.45);
}

/* ─── 8. HERO ──────────────────────────────────────────────────────────────── */

.kx-hero {
  min-height: 100vh;
  padding: 160px max(var(--kx-pad), calc((100vw - var(--kx-container)) / 2 + var(--kx-pad))) 80px;
  background: var(--kx-cream);
  position: relative;
  overflow: hidden;
}

/* Concentric ring decorations */
.kx-hero::before {
  content: '';
  position: absolute;
  right: -200px;
  top: -100px;
  width: 700px;
  height: 700px;
  border: 1px solid rgba(250, 204, 21, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.kx-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -20px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(250, 204, 21, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.kx-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid var(--kx-border);
  border-radius: 40px;
  font-size: 12px;
  font-weight: 500;
  color: var(--kx-gray);
  margin-bottom: 36px;
  letter-spacing: 0.04em;
}

.kx-hero__badge-dot {
  width: 6px;
  height: 6px;
  background: var(--kx-orange);
  border-radius: 50%;
  animation: pulse-o 2s infinite;
}

.kx-hero__h1 {
  font-family: var(--kx-font-display);
  font-size: clamp(64px, 8.5vw, 118px);
  font-weight: 700;
  line-height: 0.93;
  letter-spacing: -0.035em;
  color: var(--kx-black);
  margin-bottom: 12px;
}

.kx-hero__h1 .serif-it {
  font-family: var(--kx-font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--kx-orange);
  letter-spacing: -0.02em;
}

/* Inline hero form card */
.kx-form-card {
  background: var(--kx-black);
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}

.kx-form-card::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(250, 204, 21, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.kx-form-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kx-orange);
  margin-bottom: 12px;
}

.kx-form-title {
  font-family: var(--kx-font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kx-white);
  line-height: 1.15;
  margin-bottom: 8px;
}

.kx-form-title em {
  font-family: var(--kx-font-serif);
  font-style: italic;
  font-weight: 400;
}

.kx-form-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 28px;
}

/* ─── 9. FOOTER ────────────────────────────────────────────────────────────── */

.kx-footer {
  background: var(--kx-black);
  padding: 80px var(--kx-pad) 0;
}

.kx-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.kx-footer__logo {
  display: block;
  margin-bottom: 16px;
}

/* Logo image control */
.kx-footer__logo img {
  height: 38px;
  /* 🔥 adjust this to control size */
  width: auto;
  object-fit: contain;
  display: block;
}

.kx-footer__social {
  display: flex;
  gap: 8px;
}

.kx-footer__soc {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--kx-font-display);
}

.kx-footer__soc:hover {
  border-color: var(--kx-orange);
  color: var(--kx-orange);
}

.kx-footer__col-h {
  font-family: var(--kx-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 20px;
}

.kx-footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kx-footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}

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

.kx-footer__bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.kx-footer__bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.kx-footer__bottom a:hover {
  color: var(--kx-white);
}

/* Sticky WA FAB */
.kx-sticky-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9998;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  color: var(--kx-white);
  text-decoration: none;
}

.kx-sticky-wa:hover {
  transform: scale(1.1);
  color: var(--kx-white);
}

/* ─── 10. ANIMATIONS ───────────────────────────────────────────────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes pulse-o {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

@keyframes pulse-g {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .4)
  }

  50% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0)
  }
}

@keyframes tick {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

@keyframes scrollDown {
  from {
    top: -100%
  }

  to {
    top: 200%
  }
}

/* Scroll reveal */
.reveal,
.reveal-l {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--kx-ease), transform 0.7s var(--kx-ease);
}

.reveal-l {
  transform: translateX(-24px);
}

.reveal.in,
.reveal-l.in {
  opacity: 1;
  transform: none;
}

.custom-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
}

.site-logo {
  display: flex;
  align-items: center;
}

/* ─── 11. BREADCRUMBS ──────────────────────────────────────────────────────── */

.kx-breadcrumbs,
.kx-breadcrumbs a,
.kx-breadcrumbs span {
  font-size: 12px;
  color: var(--kx-gray-lt);
  text-decoration: none;
  font-weight: 400;
}

/* ─── 12. RESPONSIVE ───────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
  :root {
    --kx-pad: 40px;
  }

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

@media (max-width: 900px) {
  :root {
    --kx-section-y: 80px;
    --kx-pad: 24px;
  }

  .kx-hero {
    padding: 120px var(--kx-pad) 60px;
  }

  .kx-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  :root {
    --kx-section-y: 60px;
    --kx-pad: 20px;
  }

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

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

@media (max-width: 768px) {
  .kx-hero {
    grid-template-columns: 1fr !important;
  }

  .kx-hero>div:last-child {
    display: none;
  }
}

#kx-nav {
  padding-left: var(--kx-pad) !important;
  padding-right: var(--kx-pad) !important;
}

/* ─── INDIA DECODED — SECTION RHYTHM FIX ─────────────────────────────────── */

/* Hero stays black — but lightens slightly so it's not pure #000 */
.id-hero-section {
  background: #0C0C0C;
}

/* Filter bar — slightly lighter so it reads as separate from hero */
#filter-bar {
  background: #111111 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
}

/* Results count row — cream background, gives eyes a break */
.id-results-header {
  background: var(--kx-cream) !important;
  padding: 20px var(--kx-pad) !important;
}

.id-results-header div {
  color: var(--kx-gray) !important;
}

/* Cards grid — cream background so cards pop */
.id-grid-section {
  background: var(--kx-cream) !important;
}

/* Individual cards — white on cream, matching homepage process cards */
#insights-grid>div {
  background: var(--kx-white) !important;
  border-bottom: 2px solid transparent;
}

#insights-grid>div:hover {
  background: var(--kx-black) !important;
  border-bottom-color: var(--kx-orange) !important;
}

/* Card text — black on white, white on black when hovered */
#insights-grid>div .id-card-stat {
  color: var(--kx-orange);
}

#insights-grid>div p {
  color: var(--kx-gray);
}

#insights-grid>div:hover p {
  color: rgba(255, 255, 255, .6);
}

#insights-grid>div:hover .id-card-stat {
  color: var(--kx-orange);
}

#insights-grid>div:hover .id-card-source {
  color: rgba(255, 255, 255, .3);
}

#insights-grid>div .id-card-source,
#insights-grid>div .id-card-source a {
  color: var(--kx-gray-lt);
}

#insights-grid>div .id-card-angle {
  background: rgba(250, 204, 21, .05);
  border-left-color: rgba(250, 204, 21, .3);
}

#insights-grid>div .id-card-angle p {
  color: var(--kx-gray);
}

#insights-grid>div:hover .id-card-angle p {
  color: rgba(255, 255, 255, .5);
}

#insights-grid>div .id-card-footer {
  border-top-color: var(--kx-border);
}

#insights-grid>div:hover .id-card-footer {
  border-top-color: rgba(255, 255, 255, .06);
}

/* Type badge and year on card — readable on white */
#insights-grid>div span[style*="rgba(255,255,255,.25)"] {
  color: var(--kx-gray-lt) !important;
}

#insights-grid>div span[style*="rgba(255,255,255,.2)"] {
  color: var(--kx-gray-lt) !important;
}

/* ─── 13. FOOTER TAGLINE (KX-013) ─────────────────────────────────────────── */

.kx-footer__tagline {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  margin-bottom: 24px;
  max-width: 260px;
}

/* ─── SERVICES GRID UPGRADE ───────────────── */

.kx-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.kx-service-card {
  background: #111;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all .35s ease;
  text-decoration: none;
}

.kx-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.kx-service-num {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.kx-service-title {
  color: #fff;
  font-size: 20px;
  margin: 10px 0;
}

.kx-service-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.6;
}

.kx-service-tags {
  margin-top: 16px;
}

.kx-service-tags span {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile */
@media(max-width:900px) {
  .kx-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── TRUST LOGOS ───────────────── */

.kx-logos-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
  opacity: 0.7;
}

.kx-logos-grid img {
  width: 100%;
  max-height: 40px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all .3s ease;
}

.kx-logos-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Mobile */
@media(max-width:900px) {
  .kx-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ─── TESTIMONIALS ───────────────── */

.kx-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.kx-testimonial {
  background: #0b0b0b;
  padding: 26px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.kx-testimonial p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.kx-testimonial-author {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Mobile */
@media(max-width:900px) {
  .kx-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── KONVEX LAB (FINAL) ───────────────── */

/* HERO */
.kl-hero {
  padding: 100px 0;
  text-align: center;
}

.kl-eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.kl-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}

.kl-title em {
  color: #FACC15;
  font-style: normal;
}

.kl-sub {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.kl-cta {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* BUTTONS */
.kl-btn-primary {
  background: #FACC15;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: all .2s ease;
}

.kl-btn-primary:hover {
  transform: translateY(-2px);
  background: #e84300;
}

.kl-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 14px 28px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 8px;
  transition: all .2s ease;
}

.kl-btn-secondary:hover {
  border-color: #fff;
}

/* SECTION */
.kl-section {
  margin-top: 100px;
  text-align: center;
}

.kl-section-title {
  font-size: 32px;
  color: #fff;
}

.kl-section-title em {
  color: #FACC15;
  font-style: normal;
}

/* GRID */
.kl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.kx-service-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.kx-service-icon {
  font-size: 20px;
  opacity: 0.9;
}

.kx-service-card {
  display: block;
  padding: 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.kx-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(250, 204, 21, 0.15), transparent 60%);
  opacity: 0;
  transition: 0.4s;
}

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

.kx-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(250, 204, 21, 0.4);
}

.kx-service-title {
  font-size: 20px;
  color: #fff;
  margin-bottom: 12px;
}

.kx-service-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 18px;
}

.kx-service-tags span {
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}

.kx-service-card:hover .kx-service-title {
  color: #FACC15;
}

/* ─── SERVICE GRID CARDS (KX-006) ─────────────────────────────────────────── */

.kx-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.kx-svc-card {
  background: var(--kx-white);
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-rows: 190px 1fr;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--kx-border);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(12, 12, 12, 0.06);
  transition: border-color 0.3s var(--kx-ease), box-shadow 0.3s var(--kx-ease), transform 0.25s var(--kx-ease);
}

.kx-svc-card:hover {
  border-color: rgba(250, 204, 21, 0.5);
  box-shadow: 0 24px 70px rgba(12, 12, 12, 0.11);
  transform: translateY(-6px);
}

.kx-svc-card__visual {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(151, 178, 176, 0.34), rgba(255, 255, 255, 0.1)),
    #EEF4F3;
  border-bottom: 1px solid var(--kx-border);
}

.kx-svc-card__visual::before,
.kx-svc-card__visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.kx-svc-card__visual::before {
  inset: 28px auto auto 28px;
  width: 62%;
  height: 56%;
  border: 1px solid rgba(91, 124, 123, 0.35);
  background: rgba(255, 255, 255, 0.42);
}

.kx-svc-card__visual::after {
  right: -24px;
  bottom: -28px;
  width: 72%;
  height: 72%;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.12) 0 1px, transparent 1px 100%),
    linear-gradient(0deg, rgba(12, 12, 12, 0.09) 0 1px, transparent 1px 100%),
    #C9D7D6;
  background-size: 22px 22px;
  transform: rotate(-3deg);
  opacity: 0.8;
}

.kx-svc-card__body {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 30px;
}

.kx-svc-card__icon {
  position: absolute;
  left: 34px;
  bottom: 28px;
  z-index: 2;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(12, 12, 12, 0.08);
  border-radius: 8px;
  background: var(--kx-white);
  box-shadow: 0 12px 34px rgba(12, 12, 12, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
  transition: transform 0.3s var(--kx-ease), border-color 0.3s;
}

.kx-svc-card:hover .kx-svc-card__icon {
  border-color: var(--kx-orange);
  transform: translateY(-4px);
}

.kx-svc-card__num {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  font-family: var(--kx-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(12, 12, 12, 0.4);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(12, 12, 12, 0.06);
  padding: 7px 10px;
  border-radius: 999px;
}

.kx-svc-card__name {
  font-family: var(--kx-font-display);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--kx-black);
  margin-bottom: 12px;
  line-height: 1.1;
  transition: color 0.3s;
}

.kx-svc-card:hover .kx-svc-card__name {
  color: var(--kx-orange);
}

.kx-svc-card__desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--kx-gray);
  font-weight: 300;
  font-family: var(--kx-font-body);
  flex: 1;
  margin-bottom: 22px;
}

.kx-svc-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.kx-svc-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--kx-border);
  border-radius: 999px;
  color: var(--kx-gray);
  background: #F7FAF9;
  font-family: var(--kx-font-display);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.kx-svc-card:hover .kx-svc-card__tag {
  border-color: rgba(250, 204, 21, 0.3);
  color: var(--kx-orange);
  background: rgba(250, 204, 21, 0.04);
}

.kx-svc-card__arrow {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  color: var(--kx-black);
  font-family: var(--kx-font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: transform 0.3s, color 0.3s;
}

.kx-svc-card:hover .kx-svc-card__arrow {
  transform: translateX(4px);
  color: var(--kx-orange);
}


/* ─── INSIGHT CARDS — LIGHT VARIANT (cream bg) ────────────────────────────── */

.kx-insight-card--light {
  background: var(--kx-white);
  border-bottom: 2px solid transparent;
}

.kx-insight-card--light:hover {
  border-bottom-color: var(--kx-orange);
  background: #FAFAF7;
}

.kx-insight-card--light .kx-insight-cat {
  color: var(--kx-orange);
}

.kx-insight-card--light .kx-insight-title {
  color: var(--kx-black);
}

.kx-insight-card--light:hover .kx-insight-title {
  color: var(--kx-orange);
}

.kx-insight-card--light .kx-insight-p {
  color: var(--kx-gray);
}

.kx-insight-card--light .kx-insight-meta {
  color: var(--kx-gray-lt);
}

.kx-insight-card--light .kx-insight-arr {
  color: var(--kx-orange);
}


/* ─── TESTIMONIALS — TRANSITION FIX ───────────────────────────────────────── */

#kx-testi-q {
  transition: opacity 0.2s ease;
}

.kx-testi-main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


/* ─── FOOTER TAGLINE (KX-013) ─────────────────────────────────────────────── */

.kx-footer__tagline {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 300;
  font-family: var(--kx-font-body);
  margin-bottom: 24px;
  max-width: 260px;
}


/* ─── RESPONSIVE — ALL 2-COL GRIDS (KX-010) ──────────────────────────────── */

@media (max-width: 900px) {
  .kx-svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* All inline 2-col grids collapse to 1-col */
  .kx-section>[style*="grid-template-columns: 1fr 1fr"],
  .kx-section>[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Numbers bar: 4-col → 2-col */
  section[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 60px var(--kx-pad) !important;
  }

  /* Process 4-col → 2-col */
  .kx-proc {
    min-height: auto;
  }

  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Testimonial grid: 2-col → stacked */
  .kx-testi-main {
    padding: 40px 28px;
  }
}

@media (max-width: 600px) {
  .kx-svc-grid {
    grid-template-columns: 1fr;
  }

  .kx-svc-card {
    grid-template-rows: 160px 1fr;
  }

  .kx-svc-card__body {
    min-height: auto;
    padding: 26px;
  }

  .kx-svc-card__icon {
    left: 26px;
    bottom: 24px;
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  /* Numbers bar: 2-col → 2-col stays, tighter */
  .kx-num-item {
    padding: 0 20px;
  }

  /* Insight cards: 3-col → 1-col */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Process: 2-col → 1-col */
  div[style*="grid-template-columns:repeat(4,1fr)"],
  div[style*="grid-template-columns:repeat(2,1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

/* Featured testimonial (left — orange card) */
.kx-testi-featured {
  background: var(--kx-orange);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kx-testi-featured::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  right: 24px;
  font-family: var(--kx-font-serif);
  font-size: 240px;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
  pointer-events: none;
}

.kx-testi-featured__quote {
  font-family: var(--kx-font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--kx-white);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.kx-testi-featured__stat {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.18);
  font-family: var(--kx-font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--kx-white);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.kx-testi-featured__meta {
  position: relative;
  z-index: 1;
}

.kx-testi-featured__name {
  font-family: var(--kx-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--kx-white);
}

.kx-testi-featured__role {
  font-family: var(--kx-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* Small testimonial cards (right — 2×2 grid, dark cards) */
.kx-testi-card {
  background: var(--kx-black);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s var(--kx-ease), background 0.3s var(--kx-ease);
}

.kx-testi-card:hover {
  border-bottom-color: var(--kx-orange);
  background: #161616;
}

.kx-testi-card__stat {
  font-family: var(--kx-font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--kx-orange);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.kx-testi-card__quote {
  font-family: var(--kx-font-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
  flex: 1;
}

.kx-testi-card:hover .kx-testi-card__quote {
  color: rgba(255, 255, 255, 0.65);
}

.kx-testi-card__meta {}

.kx-testi-card__name {
  font-family: var(--kx-font-display);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.kx-testi-card__role {
  font-family: var(--kx-font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .kx-testi-featured {
    padding: 40px 28px;
  }

  .kx-testi-featured__quote {
    font-size: 20px;
  }
}

/* ─── LAB PREVIEW CARDS (KX-024) ──────────────────────────────────────────── */

.kx-lab-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  background: #111;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s var(--kx-ease), background 0.3s var(--kx-ease);
  text-decoration: none;
  color: inherit;
}

.kx-lab-card:hover {
  border-bottom-color: var(--kx-orange);
  background: #161616;
}

.kx-lab-card__title {
  font-family: var(--kx-font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--kx-white);
  margin-bottom: 4px;
}

.kx-lab-card__desc {
  font-family: var(--kx-font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.kx-lab-card__arrow {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.kx-lab-card:hover .kx-lab-card__arrow {
  color: var(--kx-orange);
  transform: translateX(4px);
}

.kx-logo-marquee {
  overflow: hidden;
  padding: 0;
  margin-bottom: 2px;
}

.kx-logo-marquee__track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}

.kx-logo-marquee__track:hover {
  animation-play-state: paused !important;
}

/* Scroll LEFT — 40s */
.kx-logo-marquee--left {
  animation: kxMarqueeLeft 40s linear infinite;
}

/* Scroll RIGHT — 40s */
.kx-logo-marquee--right {
  animation: kxMarqueeRight 40s linear infinite;
}

/* Scroll LEFT slower — 55s */
.kx-logo-marquee--left-slow {
  animation: kxMarqueeLeft 55s linear infinite;
}

/* Scroll RIGHT slower — 55s */
.kx-logo-marquee--right-slow {
  animation: kxMarqueeRight 55s linear infinite;
}

@keyframes kxMarqueeLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-33.33%);
  }
}

@keyframes kxMarqueeRight {
  from {
    transform: translateX(-33.33%);
  }

  to {
    transform: translateX(0);
  }
}

.kx-logo-marquee__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--kx-font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.kx-logo-marquee__item:hover {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

/* When you replace text with actual logo images, use this: */
/* .kx-logo-marquee__item img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.25;
  transition: opacity 0.2s;
}
.kx-logo-marquee__item:hover img {
  opacity: 0.7;
} */

/* Responsive */
@media (max-width: 768px) {
  .kx-logo-marquee__item {
    padding: 12px 20px;
    font-size: 11px;
  }
}

/* pSEO reusable components */
.kx-component-head {
  max-width: 880px;

  margin-bottom: 48px;
}

.kx-component-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
}

.kx-component-intro {
  color: var(--kx-gray);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.kx-city-grid__items {
  display: grid;
  grid-template-columns: repeat(var(--kx-city-cols, 4), minmax(0, 1fr));
  gap: 2px;
}

.kx-city-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: center;
  gap: 8px 16px;
  background: var(--kx-white);
  border-bottom: 3px solid transparent;
  padding: 28px;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.kx-city-card:hover {
  background: #fafafa;
  border-bottom-color: var(--kx-orange);
  transform: translateY(-2px);
}

.kx-city-card__name {
  min-width: 0;
  font-family: var(--kx-font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--kx-black);
}

.kx-city-card__meta {
  grid-column: 1;
  color: var(--kx-gray);
  font-size: 13px;
  line-height: 1.4;
}

.kx-city-card__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--kx-orange);
  font-family: var(--kx-font-display);
  font-size: 18px;
  transition: transform 0.2s;
}

.kx-city-card:hover .kx-city-card__arrow {
  transform: translateX(4px);
}

.kx-internal-links__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
}

.kx-link-cluster {
  background: var(--kx-white);
  padding: 32px;
}

.kx-link-cluster__title {
  font-size: 18px;
  margin-bottom: 20px;
}

.kx-link-cluster__items {
  display: grid;
  gap: 8px;
}

.kx-link-pill {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--kx-border);
  background: var(--kx-cream);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.kx-link-pill:hover {
  background: var(--kx-white);
  border-color: var(--kx-orange);
  transform: translateX(2px);
}

.kx-link-pill__title {
  min-width: 0;
  color: var(--kx-black);
  font-family: var(--kx-font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.kx-link-pill__meta {
  color: var(--kx-gray);
  font-size: 12px;
  line-height: 1.4;
}

.kx-hero-component {
  padding-top: 150px;
}

.kx-hero-component__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 72px;
  align-items: center;
}

.kx-hero-component--center .kx-hero-component__inner {
  display: block;
  max-width: 960px;
}

.kx-hero-component__heading {
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.94;
  margin-top: 18px;
}

.kx-hero-component__subheading,
.kx-cta-component__subheading {
  max-width: 680px;
  margin-top: 24px;
  color: var(--kx-gray);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.75;
}

.kx-dark .kx-hero-component__subheading,
.kx-dark .kx-cta-component__subheading {
  color: rgba(255, 255, 255, 0.48);
}

.kx-hero-component__badge {
  display: inline-flex;
  padding: 7px 14px;
  border: 1px solid var(--kx-border);
  color: var(--kx-gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kx-hero-component__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.kx-hero-component__meta span {
  padding: 8px 12px;
  background: var(--kx-white);
  color: var(--kx-gray);
  font-size: 12px;
  font-weight: 600;
}

.kx-hero-component__actions,
.kx-cta-component__action {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.kx-hero-component__visual {
  min-height: 320px;
}

.kx-hero-component__visual img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* India skyline illustration */
.kx-hero-component__visual--skyline {
  min-height: unset;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: flex-end;
}

.kx-hero-component__visual--skyline img {
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  object-position: center bottom;
}

.kx-cta-component__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 56px;
  align-items: center;
}

.kx-cta-component__form {
  width: 100%;
  background: var(--kx-white);
  padding: 28px;
  color: var(--kx-black);
}

.kx-faq-component__list {
  display: grid;
  gap: 2px;
}

.kx-faq-component__item {
  background: var(--kx-white);
}

.kx-dark .kx-faq-component__item {
  background: #111;
}

.kx-faq-component__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border: 0;
  background: transparent;
  color: var(--kx-black);
  font-family: var(--kx-font-display);
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.kx-dark .kx-faq-component__question {
  color: var(--kx-white);
}

.kx-faq-component__answer {
  padding: 0 28px 28px;
  color: var(--kx-gray);
  line-height: 1.75;
}

.kx-dark .kx-faq-component__answer {
  color: rgba(255, 255, 255, 0.48);
}

.kx-text-block__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}

.kx-text-block--single .kx-text-block__inner {
  display: block;
  max-width: 900px;
}

.kx-text-block__content {
  color: var(--kx-gray);
  font-size: 17px;
  line-height: 1.8;
}

.kx-dark .kx-text-block__content {
  color: rgba(255, 255, 255, 0.52);
}

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

.kx-trust-component__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}

.kx-stats-component__item {
  background: var(--kx-white);
  padding: 34px;
}

.kx-trust-component__item {
  background: var(--kx-white);
  padding: 28px;
  text-align: center;
}

.kx-dark .kx-stats-component__item {
  background: #111;
}

.kx-dark .kx-trust-component__item {
  background: #111;
}

.kx-stats-component__item strong {
  display: block;
  color: var(--kx-orange);
  font-family: var(--kx-font-display);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.95;
}

.kx-stats-component__item span {
  display: block;
  margin-top: 12px;
  color: var(--kx-gray);
  font-size: 13px;
  font-weight: 600;
}

.kx-trust-component__item strong {
  display: block;
  color: var(--kx-orange);
  font-family: var(--kx-font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
}

.kx-trust-component__item span {
  display: block;
  margin-top: 8px;
  color: var(--kx-gray);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kx-trust-component__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
}

.kx-trust-component__logos img {
  max-height: 38px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(1);
}

.kx-testimonials-component__grid,
.kx-industry-grid__items {
  display: grid;
  grid-template-columns: repeat(var(--kx-industry-cols, 3), minmax(0, 1fr));
  gap: 2px;
}

.kx-testimonial-card,
.kx-industry-card,
.kx-case-card {
  background: var(--kx-white);
  padding: 34px;
}

.kx-testimonial-card blockquote {
  color: var(--kx-black);
  font-family: var(--kx-font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.kx-testimonial-card figcaption {
  margin-top: 28px;
  display: grid;
  gap: 4px;
}

.kx-testimonial-card figcaption strong {
  font-family: var(--kx-font-display);
}

.kx-testimonial-card figcaption span,
.kx-industry-card__text,
.kx-case-card__excerpt {
  color: var(--kx-gray);
  font-size: 14px;
  line-height: 1.65;
}

.kx-industry-card {
  display: grid;
  gap: 16px;
  min-height: 180px;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.kx-industry-card:hover {
  border-bottom-color: var(--kx-orange);
  transform: translateY(-2px);
}

.kx-industry-card__title,
.kx-case-card__title {
  color: var(--kx-black);
  font-family: var(--kx-font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.kx-comparison__wrap {
  overflow-x: auto;
}

.kx-comparison__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: var(--kx-white);
}

.kx-comparison__table th,
.kx-comparison__table td {
  padding: 22px 24px;
  border: 1px solid var(--kx-border);
  text-align: left;
  vertical-align: top;
}

.kx-comparison__table thead th {
  background: var(--kx-black);
  color: var(--kx-white);
  font-family: var(--kx-font-display);
}

.kx-case-card {
  padding: 0;
  overflow: hidden;
}

.kx-case-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--kx-black);
}

.kx-case-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kx-case-card__body {
  padding: 28px;
}

.kx-case-card__service {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--kx-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kx-case-card__stat {
  margin-top: 18px;
  color: var(--kx-orange);
  font-family: var(--kx-font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.kx-case-card__excerpt {
  margin-top: 14px;
}

@media (max-width: 1024px) {
  .kx-city-grid__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .kx-stats-component__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kx-trust-component__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {

  .kx-component-head--split,
  .kx-internal-links__grid,
  .kx-hero-component__inner,
  .kx-cta-component__inner,
  .kx-text-block__inner {
    grid-template-columns: 1fr;
  }

  .kx-hero-component__visual--skyline {
    order: -1;
    max-height: 260px;
    overflow: hidden;
  }

  .kx-hero-component__visual--skyline img {
    max-height: 260px;
  }

  .kx-city-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kx-testimonials-component__grid,
  .kx-industry-grid__items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .kx-city-grid__items {
    grid-template-columns: 1fr;
  }

  .kx-city-card,
  .kx-link-cluster,
  .kx-testimonial-card,
  .kx-industry-card,
  .kx-stats-component__item {
    padding: 24px;
  }

  .kx-stats-component__grid {
    grid-template-columns: 1fr;
  }

  .kx-trust-component__stats {
    grid-template-columns: 1fr;
  }

  .kx-hero-component__actions,
  .kx-cta-component__action {
    align-items: stretch;
    flex-direction: column;
  }

  .kx-hero-component__visual--skyline {
    max-height: 200px;
  }

  .kx-hero-component__visual--skyline img {
    max-height: 200px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* COMPREHENSIVE RESPONSIVE STYLES — ALL COMPONENTS                          */
/* ═══════════════════════════════════════════════════════════════════════════ */

/* ─── TABLET: ≤1024px ─────────────────────────────────────────────────────── */
@media (max-width: 1024px) {

  /* Hero — tighten gap */
  .kx-hero-component__inner {
    gap: 48px;
  }

  /* CTA — tighten gap */
  .kx-cta-component__inner {
    gap: 40px;
  }

  /* Text block — tighten gap */
  .kx-text-block__inner {
    gap: 48px;
  }

  /* Service cards grid: 3 → 2 */
  .kx-svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* City grid: 4 → 3 */
  .kx-city-grid__items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Internal links: 2-col stays, tighten padding */
  .kx-link-cluster {
    padding: 24px;
  }

  /* Archive case studies: 3-col → 2-col */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Archive featured grid: stacked */
  div[style*="grid-template-columns:1.1fr 1fr"],
  div[style*="grid-template-columns: 1.1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  /* Archive CTA grid: stacked */
  .kx-section>[style*="grid-template-columns: 1fr 1fr"],
  .kx-section>[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Stats: 4 → 2 */
  .kx-stats-component__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Trust bar: 4 → 2 */
  .kx-trust-component__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Industry grid: 3 → 2 */
  .kx-industry-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Testimonials grid: 2 → 2 (ok on tablet) */

  /* Comparison table — already scrollable via overflow-x */

  /* FAQ — no changes needed */

  /* Case card — no changes needed */
}

/* ─── TABLET SMALL: ≤860px ────────────────────────────────────────────────── */
@media (max-width: 860px) {

  /* ── Section padding ── */
  .kx-section {
    padding: 80px 32px;
  }

  .kx-section--sm {
    padding: 60px 32px;
  }

  /* ── Container padding ── */
  .kx-container {
    padding-left: 0;
    padding-right: 0;
  }

  /* ── Component head split → stacked ── */
  .kx-component-head--split {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* ── Hero: stacked layout ── */
  .kx-hero-component__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .kx-hero-component {
    padding-top: 120px;
  }

  .kx-hero-component__visual {
    min-height: 280px;
    order: -1;
  }

  .kx-hero-component__visual--skyline {
    max-height: 280px;
    overflow: hidden;
  }

  .kx-hero-component__visual--skyline img {
    max-height: 280px;
  }

  .kx-hero-component__heading {
    font-size: clamp(36px, 8vw, 56px);
  }

  .kx-hero-component__subheading {
    font-size: 16px;
  }

  /* ── CTA: stacked ── */
  .kx-cta-component__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .kx-cta-component__action {
    flex-direction: column;
    align-items: stretch;
  }

  /* ── Text block: stacked ── */
  .kx-text-block__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* ── Service cards: 2 → 2 (ok) ── */
  .kx-svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .kx-svc-card__visual {
    min-height: 120px;
  }

  .kx-svc-card__body {
    padding: 20px;
  }

  .kx-svc-card__name {
    font-size: 16px;
  }

  .kx-svc-card__desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  /* ── City grid: 3 → 2 ── */
  .kx-city-grid__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kx-city-card {
    padding: 20px;
    min-height: 96px;
  }

  .kx-city-card__name {
    font-size: 16px;
  }

  /* ── Industry grid: 2 → 1 ── */
  .kx-industry-grid__items {
    grid-template-columns: 1fr;
  }

  .kx-industry-card {
    min-height: auto;
    padding: 24px;
  }

  /* ── Internal links: 2 → 1 ── */
  .kx-internal-links__grid {
    grid-template-columns: 1fr;
  }

  .kx-link-cluster {
    padding: 24px;
  }

  /* ── Stats: 2 → 2 (ok) ── */
  .kx-stats-component__grid {
    gap: 8px;
  }

  .kx-stats-component__item {
    padding: 24px;
  }

  .kx-stats-component__item strong {
    font-size: clamp(28px, 6vw, 42px);
  }

  /* ── Trust bar: 2 → 2 (ok) ── */
  .kx-trust-component__stats {
    gap: 8px;
  }

  .kx-trust-component__item {
    padding: 20px;
  }

  /* ── Testimonials: 2 → 1 ── */
  .kx-testimonials-component__grid {
    grid-template-columns: 1fr;
  }

  .kx-testimonial-card {
    padding: 28px;
  }

  /* ── Comparison table — already scrollable ── */

  /* ── FAQ — tighten padding ── */
  .kx-faq-component__question {
    padding: 20px 24px;
    font-size: 15px;
  }

  .kx-faq-component__answer {
    padding: 0 24px 24px;
    font-size: 15px;
  }

  /* ── Case card — no changes needed ── */

  /* ── Archive case studies grid ── */
  .archive .kx-case-info {
    padding: 32px 28px;
  }

  .archive .kx-case-num {
    font-size: 64px;
  }

  .archive .kx-case-metrics {
    gap: 24px;
    flex-wrap: wrap;
  }

  .archive .kx-case-img-wrap {
    aspect-ratio: 4/3;
  }

  .archive .kx-case-sm {
    min-height: 200px;
  }
}

/* ─── MOBILE: ≤560px ──────────────────────────────────────────────────────── */
@media (max-width: 560px) {

  /* ── Section padding ── */
  .kx-section {
    padding: 60px 20px;
  }

  .kx-section--sm {
    padding: 40px 20px;
  }

  /* ── Component head ── */
  .kx-component-head {
    margin-bottom: 32px;
  }

  .kx-section-h {
    font-size: clamp(28px, 7vw, 36px);
  }

  .kx-eyebrow {
    font-size: 11px;
  }

  .kx-component-intro {
    font-size: 14px;
  }

  /* ── Hero ── */
  .kx-hero-component {
    padding-top: 100px;
  }

  .kx-hero-component__inner {
    gap: 32px;
  }

  .kx-hero-component__visual {
    min-height: 220px;
  }

  .kx-hero-component__visual--skyline {
    max-height: 220px;
  }

  .kx-hero-component__visual--skyline img {
    max-height: 220px;
  }

  .kx-hero-component__visual img {
    max-height: 360px;
  }

  .kx-hero-component__heading {
    font-size: clamp(30px, 9vw, 42px);
  }

  .kx-hero-component__subheading {
    font-size: 15px;
    line-height: 1.65;
  }

  .kx-hero-component__badge {
    font-size: 11px;
    padding: 6px 12px;
  }

  .kx-hero-component__meta {
    gap: 6px;
  }

  .kx-hero-component__meta span {
    font-size: 11px;
    padding: 6px 10px;
  }

  /* Hero CTA buttons stack */
  .kx-hero-component__actions,
  .kx-cta-component__action {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .kx-hero-component__actions .kx-btn,
  .kx-cta-component__action .kx-btn {
    width: 100%;
    text-align: center;
  }

  /* ── CTA ── */
  .kx-cta-component__inner {
    gap: 24px;
  }

  .kx-cta-component__subheading {
    font-size: 15px;
  }

  .kx-cta-component__form {
    padding: 20px;
  }

  /* ── Text block ── */
  .kx-text-block__content {
    font-size: 15px;
    line-height: 1.7;
  }

  /* ── Service cards: 2 → 1 ── */
  .kx-svc-grid {
    grid-template-columns: 1fr;
  }

  .kx-svc-card__visual {
    min-height: 100px;
  }

  .kx-svc-card__body {
    padding: 18px;
  }

  .kx-svc-card__name {
    font-size: 17px;
  }

  .kx-svc-card__desc {
    font-size: 14px;
    -webkit-line-clamp: unset;
  }

  .kx-svc-card__arrow {
    font-size: 14px;
  }

  /* ── City grid: 2 → 1 ── */
  .kx-city-grid__items {
    grid-template-columns: 1fr;
  }

  .kx-city-card {
    padding: 18px;
    min-height: 80px;
  }

  .kx-city-card__name {
    font-size: 15px;
  }

  .kx-city-card__meta {
    font-size: 12px;
  }

  /* ── Industry grid ── */
  .kx-industry-card {
    padding: 20px;
    min-height: auto;
  }

  .kx-industry-card__title {
    font-size: 17px;
  }

  .kx-industry-card__text {
    font-size: 13px;
  }

  /* ── Internal links ── */
  .kx-internal-links__grid {
    gap: 16px;
  }

  .kx-link-cluster {
    padding: 20px;
  }

  .kx-link-cluster__title {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .kx-link-pill {
    padding: 12px 14px;
  }

  .kx-link-pill__title {
    font-size: 13px;
  }

  .kx-link-pill__meta {
    font-size: 11px;
  }

  /* ── Stats: 2 → 1 ── */
  .kx-stats-component__grid {
    grid-template-columns: 1fr;
  }

  .kx-stats-component__item {
    padding: 24px;
  }

  .kx-stats-component__item strong {
    font-size: 36px;
  }

  /* ── Trust bar: 2 → 1 ── */
  .kx-trust-component__stats {
    grid-template-columns: 1fr;
  }

  .kx-trust-component__item {
    padding: 18px;
  }

  .kx-trust-component__logos {
    gap: 16px;
  }

  .kx-trust-component__logos img {
    max-height: 28px;
  }

  /* ── Testimonials ── */
  .kx-testimonial-card {
    padding: 24px;
  }

  .kx-testimonial-card blockquote {
    font-size: 15px;
  }

  /* ── Comparison table ── */
  .kx-comparison__table th,
  .kx-comparison__table td {
    padding: 14px 16px;
    font-size: 13px;
  }

  .kx-comparison__table thead th {
    font-size: 12px;
  }

  /* ── FAQ ── */
  .kx-faq-component__question {
    padding: 16px 20px;
    font-size: 14px;
    gap: 16px;
  }

  .kx-faq-component__answer {
    padding: 0 20px 20px;
    font-size: 14px;
  }

  /* ── Case card ── */
  .kx-case-card {
    padding: 0;
  }

  .kx-case-card__body {
    padding: 20px;
  }

  .kx-case-card__title {
    font-size: 17px;
  }

  .kx-case-card__stat {
    font-size: 18px;
  }

  .kx-case-card__excerpt {
    font-size: 13px;
  }

  /* Archive case studies: 2-col → 1-col */
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  /* Archive featured grid: stacked */
  div[style*="grid-template-columns:1.1fr 1fr"],
  div[style*="grid-template-columns: 1.1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2px !important;
  }

  /* Archive CTA grid: stacked */
  .kx-section>[style*="grid-template-columns: 1fr 1fr"],
  .kx-section>[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }

  /* ── Archive case studies ── */
  .archive .kx-case-info {
    padding: 20px;
  }

  .archive .kx-case-title {
    font-size: 18px;
  }

  .archive .kx-case-sm {
    min-height: 200px;
  }

  /* ── Buttons ── */
  .kx-btn-lg {
    padding: 14px 24px;
    font-size: 15px;
  }
}

/* ─── MOBILE SMALL: ≤400px ────────────────────────────────────────────────── */
@media (max-width: 400px) {

  .kx-section {
    padding: 48px 16px;
  }

  .kx-section--sm {
    padding: 32px 16px;
  }

  .kx-container {
    padding-left: 0;
    padding-right: 0;
  }

  .kx-hero-component {
    padding-top: 80px;
  }

  .kx-hero-component__heading {
    font-size: 28px;
  }

  .kx-hero-component__visual {
    min-height: 180px;
  }

  .kx-hero-component__visual--skyline {
    max-height: 180px;
  }

  .kx-hero-component__visual--skyline img {
    max-height: 180px;
  }

  .kx-section-h {
    font-size: 24px;
  }

  .kx-stats-component__item strong {
    font-size: 30px;
  }

  .kx-trust-component__item strong {
    font-size: 28px;
  }

  .kx-faq-component__question {
    padding: 14px 16px;
    font-size: 13px;
  }

  .kx-faq-component__answer {
    padding: 0 16px 16px;
    font-size: 13px;
  }
}



/* Mobile Navigation Drawer - Hidden by default */
#kx-mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}


/* Mobile drawer open state */
#kx-mobile-drawer.open {\n  display: block !important;\n}
}

#kx-mobile-drawer.open 

#kx-mobile-drawer.open 

/* Drawer overlay */
#kx-drawer-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.6);
  backdrop-filter: blur(4px);
}

/* Drawer panel */
#kx-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--kx-cream);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2001;
}

/* Drawer panel close button */
#kx-drawer-close {
  width: 36px;
  height: 36px;
  background: var(--kx-cream-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Mobile nav - show on small screens */
@media (max-width: 900px) {
  #kx-hamburger {
    display: flex !important;
  }

  #kx-nav-center,
  #kx-svc-menu {
    display: none !important;
  }
}

/* Mobile navigation - show hamburger on small screens */
@media (max-width: 900px) {
  #kx-hamburger {
    display: flex !important;
  }
  
  #kx-nav-center,
  #kx-svc-menu {
    display: none !important;
  }
}

/* Hamburger menu button */
#kx-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
}

#kx-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--kx-black);
  transition: all 0.25s;
}

#kx-hamburger span:nth-child(2) {
  width: 16px;
}

#kx-hamburger span:nth-child(3) {
  width: 12px;
}

/* Mobile navigation */
@media (max-width: 900px) {
  #kx-hamburger {
    display: flex !important;
  }

  #kx-nav-center,
  #kx-svc-menu {
    display: none !important;
  }
}

/* Mobile drawer */
#kx-mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

#kx-mobile-drawer.open {
  display: block;
}

#kx-drawer-overlay {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.6);
  backdrop-filter: blur(4px);
}

#kx-mobile-drawer.open #kx-drawer-overlay {
  display: block;
}

#kx-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--kx-cream);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2001;
}

#kx-mobile-drawer.open #kx-drawer-panel {
  transform: translateX(0);
}

/* FORCE hamburger on mobile - very high specificity */
@media screen and (max-width: 900px) {
  #kx-hamburger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  body #kx-hamburger {
    display: flex !important;
  }
  
  nav + div #kx-hamburger,
  nav #kx-hamburger,
  #kx-nav #kx-hamburger {
    display: flex !important;
  }
}

@media screen and (max-width: 900px) {
  #kx-nav-center,
  #kz-svc-menu,
  #kx-svc-menu {
    display: none !important;
    visibility: hidden !important;
  }
}


/* Desktop (>900px): hide hamburger */
@media (min-width: 901px) {
  #kx-hamburger {
    display: none !important;
  }
}


/* ==========================================
   MOBILE NAVIGATION - CLEAN 
   ========================================== */

/* Desktop (>900px): hide hamburger and drawer, show desktop nav */
@media (min-width: 901px) {
  #kx-hamburger {
    display: none !important;
  }
  
  #kx-mobile-drawer {
    display: none !important;
  }
  
  #kx-nav-center {
    display: flex !important;
  }
  
  #kx-svc-menu {
    display: block !important;
  }
}

/* Mobile (≤900px): show hamburger, hide desktop nav */
@media (max-width: 900px) {
  #kx-hamburger {
    display: flex !important;
  }
  
  #kx-mobile-drawer {
    display: block;
  }
  
  #kx-nav-center {
    display: none !important;
  }
  
  #kx-svc-menu {
    display: none !important;
  }
}
