/* =====================================================================
   Pharma Franchise Kart — site theme (public/css/kart.css)
   Loaded after the Vite build, so it re-colours the whole site without a rebuild.
   1) Site-wide colour tokens (Tailwind v4 reads these variables everywhere)
   2) Homepage / header / footer design, all classes prefixed "k-"
   ===================================================================== */

/* Metric-matched fallback: text does not jump when Inter loads (lower CLS) */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 107.4%; ascent-override: 90.2%; descent-override: 22.5%; line-gap-override: 0%; }

/* ---------- 1. Site-wide tokens: teal → navy/blue, saffron → orange ---------- */
:root {
  --font-sans: Inter, "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: Inter, "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --color-ink: #0b2140;
  --color-ink-800: #0f3466;
  --color-ink-700: #1e3a5f;
  --color-ink-600: #3b5170;
  --color-ink-500: #6b7f99;
  --color-ink-400: #8ea4bf;
  --color-ink-300: #c4d9ec;

  --color-teal-50: #eaf5fd;
  --color-teal-100: #d3e8fb;
  --color-teal-200: #a9d3f5;
  --color-teal-400: #4cc0f5;
  --color-teal-500: #2b8fe6;
  --color-teal-600: #1d6fd0;
  --color-teal-700: #185fb4;
  --color-teal-800: #0f3466;
  --color-teal-900: #082246;

  --color-saffron-50: #fff4ea;
  --color-saffron-100: #ffe1c7;
  --color-saffron-400: #ff9a4c;
  --color-saffron-500: #f2781b;
  --color-saffron-600: #dc6410;
  --color-saffron-700: #b4500c;

  --color-mist: #f5f9fd;
  --color-line: #d8e6f3;

  --shadow-card: 0 1px 2px rgb(15 52 102 / .05), 0 2px 8px -4px rgb(15 52 102 / .12);
  --shadow-lift: 0 2px 4px rgb(15 52 102 / .06), 0 8px 18px -10px rgb(15 52 102 / .26);
}
body { font-family: var(--font-sans); }

/* Base for every block that uses the new design */
.k-scope { font-family: Inter, "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text, #3b5170); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.k-scope ul { list-style: none; margin: 0; padding: 0; }
.k-scope a { text-decoration: none; }

/* ---------- 2. Design ---------- */
.k-scope, .k-root {--navy: #0f3466;
  --navy-2: #082246;
  --blue: #1d6fd0;
  --blue-2: #2b8fe6;
  --sky: #4cc0f5;
  --ice: #eaf5fd;

  --ink: #0b2140;
  --text: #3b5170;
  --muted: #6b7f99;
  --line: #d8e6f3;
  --surface: #f5f9fd;
  --white: #ffffff;

  --k-radius: 16px;
  --k-radius-lg: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --k-shadow-md: 0 8px 16px -12px rgba(15, 52, 102, .26);
  --k-shadow-lg: 0 12px 22px -14px rgba(15, 52, 102, .32);
  --wa: #25d366;}
.k-t-blue {--tone: #1d6fd0; --tint: #e4efff;}
.k-t-sky {--tone: #0ea5e9; --tint: #e0f4fe;}
.k-t-teal {--tone: #0d9488; --tint: #ccfbf1;}
.k-t-green {--tone: #16a34a; --tint: #dcfce7;}
.k-t-amber {--tone: #d97706; --tint: #fef3c7;}
.k-t-orange {--tone: #ea580c; --tint: #ffedd5;}
.k-t-rose {--tone: #e11d48; --tint: #ffe4e6;}
.k-t-violet {--tone: #7c3aed; --tint: #ede9fe;}
.k-t-indigo {--tone: #4338ca; --tint: #e0e7ff;}
.k-g-blue {background: linear-gradient(135deg, #1d6fd0, #4cc0f5);}
.k-g-sky {background: linear-gradient(135deg, #0369a1, #38bdf8);}
.k-g-teal {background: linear-gradient(135deg, #0f766e, #2dd4bf);}
.k-g-green {background: linear-gradient(135deg, #15803d, #4ade80);}
.k-g-amber {background: linear-gradient(135deg, #b45309, #fbbf24);}
.k-g-orange {background: linear-gradient(135deg, #c2410c, #fb923c);}
.k-g-rose {background: linear-gradient(135deg, #be123c, #fb7185);}
.k-g-violet {background: linear-gradient(135deg, #6d28d9, #c084fc);}
.k-g-indigo {background: linear-gradient(135deg, #4338ca, #818cf8);}
svg.k-i {width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0;}
.k-scope :focus-visible {outline: 3px solid rgba(76, 192, 245, .6); outline-offset: 2px;}
:where(.k-scope) :where(h1), :where(.k-scope) :where(h2), :where(.k-scope) :where(h3), :where(.k-scope) :where(h4) {color: var(--ink); line-height: 1.2; letter-spacing: -0.02em;}
:where(.k-scope) :where(h1) {font-size: clamp(2.2rem, 4.2vw, 3.4rem); font-weight: 800;}
:where(.k-scope) :where(h2) {font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-weight: 800;}
:where(.k-scope) :where(h3) {font-size: 1.02rem; font-weight: 700;}
:where(.k-scope) :where(h4) {font-size: .95rem; font-weight: 700;}
.k-container {width: min(1200px, 94%); margin-inline: auto;}
.k-section {padding: 72px 0; position: relative;}
.k-eyebrow {display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;}
.k-eyebrow::before {content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--sky);}
.k-section-head {display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px;}
.k-section-head p {color: var(--muted); font-size: .95rem; margin-top: 6px; max-width: 620px;}
@keyframes k-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes k-ticker { to { transform: translateX(-50%); } }
@keyframes k-ping { 0% { box-shadow: 0 0 0 0 rgba(22,163,74,.55); } 70% { box-shadow: 0 0 0 9px rgba(22,163,74,0); } 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); } }
@keyframes k-waPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes k-shine { 0% { left: -60%; } 100% { left: 130%; } }
@keyframes k-orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-24px) scale(1.08); } }
@keyframes k-ecgRun { from { stroke-dashoffset: 1; } to { stroke-dashoffset: -1; } }
@keyframes k-beat { 0%,100% { transform: scale(1); } 15% { transform: scale(1.06); } 30% { transform: scale(1); } }
@keyframes k-spin { to { transform: rotate(360deg); } }
@keyframes k-drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-14px,12px); } }
@keyframes k-gradShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.k-btn {position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: .92rem;
  white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s;}
.k-btn::after {content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent);
  pointer-events: none;}
.k-btn svg.k-i {width: 17px; height: 17px;}
.k-btn-primary {background: var(--blue); color: var(--white); box-shadow: 0px 12px 20px -14px rgba(29,111,208,.85);}
.k-btn-primary:hover {background: #185fb4; box-shadow: 0px 12px 20px -14px rgba(29,111,208,.9);}
.k-btn-accent {background: #f2781b; color: var(--white); box-shadow: 0px 12px 20px -14px rgba(242,120,27,.8);}
.k-btn-accent:hover {background: #dc6410;}
.k-btn-outline {background: var(--white); color: var(--navy); border-color: #c4d9ec;}
.k-btn-outline:hover {border-color: var(--blue); color: var(--blue);}
.k-btn-light {background: var(--white); color: var(--navy);}
.k-btn-light:hover {background: var(--ice);}
.k-btn-ghost-light {background: transparent; color: var(--white); border-color: rgba(255,255,255,.4);}
.k-btn-ghost-light:hover {border-color: var(--white); background: rgba(255,255,255,.08);}
.k-btn-sm {height: 38px; padding: 0 14px; font-size: .84rem; border-radius: 8px;}
.k-btn-sm::after {display: none;}
.k-btn-block {width: 100%;}
.k-link {display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .84rem; color: var(--blue); transition: color .2s;}
.k-link:hover {color: var(--navy); gap: 10px;}
.k-brand-logo {height: 52px; width: auto; display: block;}
.k-lg-a {fill: var(--navy);}
.k-lg-b {fill: var(--blue-2);}
.k-brand-logo .k-pulse {stroke: #ffffff;}
.k-brand-logo .k-cross-wrap {transform-origin: 26px 32px;}
.k-topbar {background: var(--navy-2); color: #bcd4ea; font-size: .8rem;}
.k-topbar-inner {display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 7px 0; flex-wrap: wrap;}
.k-topbar .k-group {display: flex; align-items: center; gap: 18px; flex-wrap: wrap;}
.k-topbar a {display: inline-flex; align-items: center; gap: 6px; color: #e2eefb; transition: color .2s;}
.k-topbar a:hover {color: var(--sky);}
.k-topbar a.k-hl-link {color: #ffb37a; font-weight: 700;}
.k-topbar svg.k-i {width: 14px; height: 14px;}
.k-header {background: var(--white); position: sticky; top: 0; z-index: 60; box-shadow: 0 1px 0 var(--line);}
.k-header.k-is-scrolled {box-shadow: 0px 12px 20px -20px rgba(15,52,102,.45);}
.k-header-inner {display: flex; align-items: center; gap: 22px; height: 80px;}
.k-logo {display: flex; align-items: center; flex-shrink: 0;}
.k-search-bar {flex: 1;
  display: flex;
  align-items: center;
  height: 46px;
  border: 1.5px solid #c4d9ec;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: border-color .25s;}
.k-search-bar:focus-within {border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,143,230,.14);}
.k-search-bar svg.k-i {margin-left: 14px; color: var(--muted); width: 18px; height: 18px;}
.k-search-bar input {flex: 1; height: 100%; border: 0; outline: 0; padding: 0 12px; background: transparent; color: var(--ink); font-size: .9rem; min-width: 0;}
.k-search-bar input::placeholder {color: #8ea4bf;}
.k-search-bar button {height: 100%; padding: 0 22px; border: 0; background: var(--blue); color: var(--white); font-weight: 700; font-size: .9rem; transition: background-color .25s;}
.k-search-bar button:hover {background: #185fb4;}
.k-header-actions {display: flex; align-items: center; gap: 14px; flex-shrink: 0;}
.k-signin {display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--navy);}
.k-signin:hover {color: var(--blue);}
.k-navstrip {background: linear-gradient(90deg, var(--blue), #2b8fe6); color: var(--white);}
.k-navstrip-inner {display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 48px;}
.k-navlinks {display: flex; align-items: center; gap: 2px;}
.k-navlinks a, .k-navlinks button {position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 48px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #e6f3ff;
  font-weight: 600;
  font-size: .88rem;
  transition: background-color .2s, color .2s;}
.k-navlinks a::after {content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--white);
  transform: scaleX(0);}
.k-navlinks a:hover::after, .k-navlinks a.k-on::after {transform: scaleX(1);}
.k-navlinks a:hover, .k-navlinks button:hover {background: rgba(255,255,255,.12); color: var(--white);}
.k-navlinks svg.k-i {width: 14px; height: 14px;}
.k-nav-cta {display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; background: #f2781b; color: var(--white); font-weight: 700; font-size: .8rem; transition: background-color .2s;}
.k-nav-cta:hover {background: #dc6410;}
.k-nav-cta svg.k-i {width: 15px; height: 15px;}
.k-nav-toggle {display: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: rgba(255,255,255,.16); color: var(--white); align-items: center; justify-content: center;}
.k-nav-toggle svg.k-i {width: 22px; height: 22px;}
.k-hero {position: relative;
  overflow: hidden;
  padding: 58px 0 74px;
  color: #cfe3f5;
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(76,192,245,.22), transparent 60%),
    radial-gradient(700px 420px at 0% 100%, rgba(29,111,208,.35), transparent 60%),
    linear-gradient(160deg, #123d78 0%, var(--navy) 45%, var(--navy-2) 100%);
  isolation: isolate;}
.k-hero-canvas {position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none;}
.k-hero::before {content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  pointer-events: none;}
.k-orb {position: absolute; border-radius: 50%; opacity: .45; pointer-events: none; z-index: -1; animation: k-orbFloat 14s ease-in-out infinite;}
.k-orb.k-o1 {width: 380px; height: 380px; background: radial-gradient(closest-side, rgba(43,143,230,.8), rgba(43,143,230,0)); top: -120px; left: -120px;}
.k-orb.k-o2 {width: 300px; height: 300px; background: radial-gradient(closest-side, rgba(76,192,245,.8), rgba(76,192,245,0)); top: 30%; right: -100px; animation-delay: -5s;}
.k-orb.k-o3 {width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(29,111,208,.8), rgba(29,111,208,0)); bottom: -100px; left: 35%; animation-delay: -9s; opacity: .35;}
.k-ecg {position: absolute; left: 0; bottom: 0; width: 100%; height: 130px; z-index: -1; pointer-events: none; opacity: .9;}
.k-ecg .k-base {fill: none; stroke: rgba(255,255,255,.1); stroke-width: 2;}
.k-ecg .k-run {fill: none; stroke: var(--sky); stroke-width: 3; stroke-linecap: round; stroke-dasharray: .14 1; stroke-dashoffset: 1; animation: k-ecgRun 4.5s linear infinite;}
.k-hero-grid {position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start;}
.k-hero-badge {display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  font-size: .8rem;
  font-weight: 600;
  color: #e2f1fc;
  margin-bottom: 22px;}
.k-hero-badge svg.k-i {width: 14px; height: 14px; color: var(--sky);}
.k-hero h1 {color: var(--white);}
.k-hero h1 .k-accent {display: block;
  background: linear-gradient(90deg, #7fd8ff, #4cc0f5, #a5e6ff, #4cc0f5);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;}
.k-hero-lead {margin: 18px 0 26px; font-size: 1.02rem; color: #b9d4ec; max-width: 540px;}
.k-hero-search {display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0px 12px 20px -28px rgba(0,0,0,.5);
  max-width: 640px;}
.k-hero-search svg.k-i {margin-left: 10px; color: var(--muted); width: 19px; height: 19px;}
.k-hero-search input {flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .95rem;}
.k-hero-search input::placeholder {color: #8ea4bf;}
.k-hero-search .k-btn {height: 44px;}
.k-quick {display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: .84rem; color: #9cc1e2;}
.k-quick a {padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #e2f1fc;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,.1);
  transition: background-color .25s, border-color .25s;}
.k-quick a:hover {background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.3);}
.k-trust-points {display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; max-width: 640px;}
.k-trust-point {display: flex; gap: 12px; align-items: flex-start;}
.k-trust-point strong {display: block; color: var(--white); font-size: .9rem; margin-bottom: 2px;}
.k-trust-point span {font-size: .8rem; color: #9cc1e2; line-height: 1.45; display: block;}
.k-ico-glass {background: rgba(255,255,255,.12); color: var(--sky);}
.k-req-card {position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0px 12px 20px -30px rgba(0,0,0,.55);
  overflow: hidden;
  color: var(--text);}
.k-req-head {padding: 20px 24px 18px; background: linear-gradient(120deg, var(--blue), var(--sky)); color: var(--white); position: relative; overflow: hidden;}
.k-req-head::after {content: "";
  position: absolute;
  right: -40px;
  top: -50px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.25);}
.k-req-head h2 {color: var(--white); font-size: 1.2rem; position: relative; z-index: 1;}
.k-req-head p {font-size: .82rem; color: #e2f3ff; margin-top: 2px; position: relative; z-index: 1;}
.k-req-form {padding: 20px 24px 22px; display: grid; gap: 12px;}
.k-lbl {font-size: .78rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: 5px;}
.k-req {color: #f2781b;}
.k-seg {display: grid; grid-template-columns: 1fr 1fr; gap: 8px;}
.k-seg button {height: 40px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  transition: background-color .25s var(--ease), border-color .2s, color .2s;}
.k-seg button:hover {border-color: var(--sky); color: var(--blue);}
.k-seg button[aria-pressed="true"] {border-color: var(--blue); background: var(--ice); color: var(--navy); box-shadow: inset 0 0 0 1px var(--blue);}
.k-row2 {display: grid; grid-template-columns: 1fr 1fr; gap: 12px;}
.k-inp {width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-size: .88rem;
  transition: border-color .2s;}
.k-inp:focus {outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,143,230,.16);}
textarea.k-inp {height: auto; min-height: 66px; padding: 10px 12px; resize: vertical;}
.k-phone-wrap {display: flex; border: 1.5px solid var(--line); border-radius: 9px; overflow: hidden; transition: border-color .2s;}
.k-phone-wrap:focus-within {border-color: var(--blue); box-shadow: 0 0 0 3px rgba(43,143,230,.16);}
.k-phone-wrap span {display: grid; place-items: center; padding: 0 10px; background: var(--surface); font-size: .85rem; font-weight: 600; color: var(--muted); border-right: 1px solid var(--line);}
.k-phone-wrap input {flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 0; outline: 0; font-size: .88rem;}
.k-yn {display: flex; gap: 6px;}
.k-yn button {flex: 1;
  height: 34px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  transition: background-color .2s, border-color .2s, color .2s;}
.k-yn button:hover {border-color: var(--sky);}
.k-yn button[aria-pressed="true"] {border-color: var(--blue); background: var(--ice); color: var(--navy);}
.k-captcha {display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .84rem; color: var(--muted);}
.k-captcha strong {color: var(--navy); background: var(--ice); border: 1px solid var(--line); padding: 6px 12px; border-radius: 8px; font-weight: 800;}
.k-captcha .k-inp {width: 90px; height: 36px;}
.k-req-status {font-size: .84rem; font-weight: 600; min-height: 1.2em;}
.k-req-status.k-ok {color: #15803d;}
.k-req-status.k-err {color: #be123c;}
.k-req-foot {display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 12px 24px; background: var(--surface); font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line);}
.k-req-foot span {display: inline-flex; align-items: center; gap: 6px;}
.k-req-foot svg.k-i {width: 14px; height: 14px; color: var(--blue);}
.k-stats-bar {background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 2;}
.k-stats-grid {display: grid; grid-template-columns: repeat(4, 1fr);}
.k-stat {display: flex; align-items: center; gap: 14px; padding: 22px 20px; transition: background-color .3s;}
.k-stat:hover {background: var(--surface);}
.k-stat + .k-stat {border-left: 1px solid var(--line);}
.k-stat strong {display: block; font-size: 1.5rem; font-weight: 800; color: var(--navy); line-height: 1.1; font-variant-numeric: tabular-nums;}
.k-stat span {font-size: .82rem; color: var(--muted);}
.k-ico {width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--tint, var(--ice));
  color: var(--tone, var(--blue));
  transition: background-color .35s, color .35s;}
.k-ico svg.k-i {width: 21px; height: 21px;}
.k-ico--sm {width: 36px; height: 36px; border-radius: 10px;}
.k-ico--sm svg.k-i {width: 18px; height: 18px;}
.k-ico--solid {background: var(--tone); color: var(--white);}
.k-logos-strip {background: var(--surface); padding: 16px 0; border-bottom: 1px solid var(--line); overflow: hidden;}
.k-logos-row {display: flex; align-items: center; gap: 18px;}
.k-logos-label {flex-shrink: 0; font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; line-height: 1.3; padding-right: 14px; border-right: 1px solid var(--line);}
.k-logos-mask {overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);}
.k-logos-track {display: flex; gap: 14px; width: max-content; animation: k-ticker 40s linear infinite;}
.k-logos-track:hover {animation-play-state: paused;}
.k-logo-pill {display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  transition: border-color .3s;}
.k-logo-pill:hover { box-shadow: var(--k-shadow-md); border-color: #b9d4ec;}
.k-logo-pill i {width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; color: var(--white); font-style: normal; font-size: .68rem; font-weight: 800;}
.k-cat-block {display: grid;
  grid-template-columns: 290px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  margin-bottom: 18px;}
.k-cat-panel {position: relative;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: 16px;
  color: #d5e8f7;
  background: linear-gradient(160deg, #1d5aa6, var(--navy-2));
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  isolation: isolate;}
.k-cat-panel.k-alt {background: linear-gradient(160deg, #2b8fe6, #123d78);}
.k-cat-panel.k-alt2 {background: linear-gradient(160deg, #0e7490, #0b3550);}
.k-cat-panel::before {content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(260px 200px at 90% 0%, rgba(76,192,245,.35), transparent 70%);
  z-index: -1;}
.k-cat-panel .k-watermark {position: absolute; right: -22px; bottom: -22px; width: 150px; height: 150px; color: rgba(255,255,255,.08);}
.k-cat-panel .k-watermark svg.k-i {width: 100%; height: 100%; stroke-width: 1.2;}
.k-cat-count {align-self: flex-start; font-size: .72rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.16); color: var(--white);}
.k-cat-panel h3 {color: var(--white); font-size: 1.32rem; line-height: 1.22;}
.k-cat-panel p {font-size: .88rem; color: #bcd9ee;}
.k-cat-panel .k-btn {margin-top: auto; align-self: flex-start;}
.k-tiles {display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; align-content: start;}
.k-tile {position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  overflow: hidden;
  transition: border-color .35s;}
.k-tile::after {content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), var(--tint), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;}
.k-tile:hover::after {opacity: .7;}
.k-tile:hover { box-shadow: var(--k-shadow-md); border-color: var(--tint);}
.k-tile:hover .k-ico {background: var(--tone); color: var(--white); box-shadow: 0 10px 18px -10px var(--tone);}
.k-tile h4 {font-size: .88rem; line-height: 1.3;}
.k-tile .k-more-link {margin-top: auto; font-size: .74rem; font-weight: 700; color: var(--tone); display: inline-flex; align-items: center; gap: 4px;}
.k-tile .k-more-link svg.k-i {width: 13px; height: 13px;}
.k-tile--more {background: var(--ice); border-style: dashed; border-color: #b9d4ec; justify-content: center; text-align: center;}
.k-tile--more strong {font-size: 1.4rem; font-weight: 800; color: var(--navy);}
.k-tile--more small {font-size: .76rem; color: var(--muted);}
.k-tile--more .k-see {margin-top: 6px; font-size: .78rem; font-weight: 700; color: var(--blue);}
.k-companies-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;}
.k-company {position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .35s;}
.k-company::before {content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0);
  transform-origin: left;}
.k-company:hover { box-shadow: var(--k-shadow-lg); border-color: #b9d4ec;}
.k-company:hover::before {transform: scaleX(1);}
.k-company-top {display: flex; gap: 12px; align-items: center;}
.k-avatar {width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: .9rem;
  box-shadow: 0 10px 18px -12px rgba(15,52,102,.6);}
.k-company h3 {font-size: .95rem; line-height: 1.3;}
.k-company-loc {display: flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--muted);}
.k-company-loc svg.k-i {width: 13px; height: 13px; color: var(--blue);}
.k-company-cat {font-size: .78rem; color: var(--muted);}
.k-badge {align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; font-size: .66rem; font-weight: 800; letter-spacing: .08em; padding: 4px 10px; border-radius: 6px;}
.k-badge svg.k-i {width: 12px; height: 12px; stroke-width: 2.4;}
.k-badge-diamond {color: #0c4a6e; background: #e0f2fe;}
.k-badge-platinum {color: #334155; background: #e2e8f0;}
.k-company-desc {font-size: .84rem; color: var(--text); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.k-company-stat {display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--ice); font-size: .8rem; color: var(--muted);}
.k-company-stat strong {color: var(--navy); font-size: .95rem;}
.k-company-btns {display: grid; grid-template-columns: 1fr 1fr; gap: 8px;}
.k-products-grid {display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;}
.k-prod {display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .35s;}
.k-prod:hover { box-shadow: var(--k-shadow-md); border-color: var(--tint);}
.k-prod-top {display: flex; justify-content: space-between; align-items: center; gap: 8px;}
.k-prod-form {font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tone); text-align: right; line-height: 1.3;}
.k-prod h4 {font-size: .92rem; margin-top: 4px;}
.k-prod-desc {font-size: .78rem; color: var(--muted); line-height: 1.45;}
.k-prod-size {display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--text); font-weight: 600; margin-top: auto;}
.k-prod-size svg.k-i {width: 14px; height: 14px; color: var(--tone);}
.k-prod-comp {display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted);}
.k-prod-comp i {width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: var(--white); font-style: normal; font-size: .6rem; font-weight: 800;}
.k-two-col {display: grid; grid-template-columns: 1fr 1.6fr; gap: 16px;}
.k-box {position: relative; overflow: hidden; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: 18px;}
.k-box--map {background: linear-gradient(160deg, var(--ice), var(--white));}
.k-box--map::after {content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1.5px dashed rgba(29,111,208,.25);}
.k-box h3 {font-size: 1.15rem; margin-bottom: 6px;}
.k-box > p {font-size: .88rem; color: var(--muted); margin-bottom: 14px;}
.k-hiw {display: grid; grid-template-columns: 1fr 1fr; gap: 14px;}
.k-hiw-step {position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); transition: border-color .3s;}
.k-hiw-step:hover { border-color: var(--tint); box-shadow: var(--k-shadow-md);}
.k-hiw-step h4 {font-size: .92rem; margin-bottom: 3px;}
.k-hiw-step p {font-size: .8rem; color: var(--muted); line-height: 1.5;}
.k-hiw-step .k-n {position: absolute; top: 12px; right: 14px; font-size: .68rem; font-weight: 800; color: var(--tone); opacity: .85;}
.k-cta-split {display: grid; grid-template-columns: 1fr 1fr; gap: 16px;}
.k-cta-box {position: relative; overflow: hidden; padding: 32px 30px; border-radius: 20px; isolation: isolate;}
.k-cta-box--light {background: var(--ice); border: 1px solid #c4dcf0; color: var(--text);}
.k-cta-box--light .k-eyebrow {color: var(--blue);}
.k-cta-box--dark {background: linear-gradient(120deg, #1d5aa6, var(--blue), #2b8fe6); background-size: 200% 200%; color: #e2f1fc;}
.k-cta-box--dark .k-eyebrow {color: #bfe6ff;}
.k-cta-box--dark .k-eyebrow::before {background: #bfe6ff;}
.k-cta-box h2 {font-size: 1.5rem; margin-bottom: 16px;}
.k-cta-box--dark h2 {color: var(--white);}
.k-cta-box ul {display: grid; gap: 10px; margin-bottom: 22px;}
.k-cta-box li {display: flex; gap: 10px; align-items: flex-start; font-size: .9rem;}
.k-cta-box li svg.k-i {width: 18px; height: 18px; margin-top: 2px;}
.k-cta-box--light li svg.k-i {color: var(--blue);}
.k-cta-box--dark li svg.k-i {color: #ffd38a;}
.k-cta-box .k-deco {position: absolute; right: -40px; bottom: -50px; width: 200px; height: 200px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); pointer-events: none;}
.k-cta-actions {display: flex; gap: 10px; flex-wrap: wrap;}
.k-blog-grid {display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;}
.k-post {display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;}
.k-post:hover { box-shadow: var(--k-shadow-lg);}
.k-post-cover {position: relative; height: 165px; overflow: hidden; display: grid; place-items: center;}
.k-post-cover .k-pattern {position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px); background-size: 16px 16px;}
.k-post-cover .k-ico {position: relative; width: 62px; height: 62px; border-radius: 18px; background: rgba(255,255,255,.22); color: var(--white);}
.k-post-cover .k-ico svg.k-i {width: 30px; height: 30px;}
.k-post-body {padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1;}
.k-post-meta {font-size: .74rem; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap;}
.k-post-meta b {color: var(--blue); font-weight: 700;}
.k-post h3 {font-size: 1.02rem; line-height: 1.35;}
.k-post p {font-size: .86rem; color: var(--muted); flex: 1;}
.k-post .k-link {margin-top: 6px;}
.k-faq-grid {display: grid; grid-template-columns: 1fr 1fr; gap: 12px;}
.k-faq {background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s;}
.k-faq:hover {border-color: #b9d4ec;}
.k-faq[open] {border-color: #b9d4ec; box-shadow: var(--k-shadow-md);}
.k-faq summary {list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 700; color: var(--ink); font-size: .93rem;}
.k-faq summary::-webkit-details-marker {display: none;}
.k-faq summary:hover {color: var(--blue);}
.k-faq .k-chev {width: 30px; height: 30px; flex-shrink: 0; border-radius: 9px; display: grid; place-items: center; background: var(--ice); color: var(--blue); transition: background-color .3s, color .3s;}
.k-faq .k-chev svg.k-i {width: 16px; height: 16px;}
.k-faq[open] .k-chev {transform: rotate(45deg); background: var(--blue); color: var(--white);}
.k-faq-body {padding: 0 20px 18px; font-size: .88rem; color: var(--muted);}
.k-footer {position: relative; overflow: hidden; background: var(--navy-2); color: #a9c4dd; padding: 56px 0 24px; font-size: .86rem;}
.k-footer::before {content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(76,192,245,.18), transparent);
  top: -160px;
  right: -120px;
  animation: k-orbFloat 16s ease-in-out infinite;}
.k-footer > .k-container {position: relative;}
.k-footer-grid {display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px;}
.k-footer .k-lg-a {fill: var(--white);}
.k-footer .k-lg-b {fill: var(--sky);}
.k-footer-about p {margin: 16px 0 14px; line-height: 1.6;}
.k-footer-addr {display: grid; gap: 9px; margin-top: 14px;}
.k-footer-addr li {display: flex; gap: 9px; align-items: flex-start;}
.k-footer-addr svg.k-i {width: 16px; height: 16px; color: var(--sky); margin-top: 2px;}
.k-footer-addr a:hover {color: var(--sky);}
.k-footer h4 {color: var(--white); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px;}
.k-footer ul.k-links {display: grid; gap: 9px;}
.k-footer ul.k-links a {transition: color .2s;}
.k-footer ul.k-links a:hover {color: var(--sky);}
.k-footer-cta {display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px;}
.k-footer-cta .k-btn {height: 38px; font-size: .8rem;}
.k-footer-bottom {margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(169,196,221,.16); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem;}
.k-footer-bottom .k-note {color: #7f9fbb;}
.k-fab-wrap {position: fixed; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 70; align-items: flex-end;}
.k-fab {position: relative; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--white); box-shadow: 0px 12px 20px -10px rgba(0,0,0,.45); isolation: isolate;}
.k-fab svg.k-i {width: 22px; height: 22px;}
.k-fab-call {background: var(--blue);}
.k-fab-wa {background: var(--wa);}
.k-fab-wa::before {content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1;}
.k-to-top {width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); color: var(--navy); box-shadow: var(--k-shadow-md); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, visibility .3s, background-color .25s, color .25s;}
.k-to-top.k-show {opacity: 1; visibility: visible; transform: none;}
.k-to-top:hover {background: var(--blue); color: var(--white); border-color: var(--blue);}
.k-to-top svg.k-i {width: 18px; height: 18px;}
@media (max-width: 1180px) {
  .k-navlinks a, .k-navlinks button {padding: 0 10px; font-size: .84rem;}
  .k-tiles {grid-template-columns: repeat(3, 1fr);}
  .k-products-grid {grid-template-columns: repeat(3, 1fr);}
  .k-companies-grid {grid-template-columns: repeat(2, 1fr);}
  .k-cat-block {grid-template-columns: 1fr;}
  .k-cat-panel {min-height: 0;}
}
@media (max-width: 1024px) {
  .k-hero-grid {grid-template-columns: 1fr; gap: 36px;}
  .k-header-inner {flex-wrap: wrap; height: auto; padding: 12px 0;}
  .k-search-bar {order: 3; flex-basis: 100%;}
  .k-signin {display: none;}
  .k-footer-grid {grid-template-columns: repeat(2, 1fr);}
  .k-blog-grid {grid-template-columns: repeat(2, 1fr);}
}
@media (max-width: 860px) {
  .k-nav-toggle {display: inline-flex;}
  .k-navstrip {position: relative;}
  .k-navstrip-inner {height: 48px;}
  .k-navlinks {display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--blue); padding: 6px 0 14px; box-shadow: 0px 12px 20px -20px rgba(0,0,0,.4); z-index: 80;}
  .k-navlinks.k-open {display: flex;}
  .k-navlinks a, .k-navlinks button {height: 44px; padding: 0 20px;}
  .k-navlinks a::after {display: none;}
  .k-stats-grid {grid-template-columns: repeat(2, 1fr);}
  .k-stat:nth-child(3) {border-left: 0;}
  .k-stat:nth-child(n+3) {border-top: 1px solid var(--line);}
  .k-two-col, .k-cta-split, .k-faq-grid {grid-template-columns: 1fr;}
  .k-trust-points {grid-template-columns: 1fr;}
  .k-logos-label {display: none;}
  .k-ecg {height: 90px;}
}
@media (max-width: 640px) {
  .k-section {padding: 52px 0;}
  .k-hero {padding: 36px 0 60px;}
  .k-hero-search {flex-wrap: wrap;}
  .k-hero-search .k-btn {width: 100%;}
  .k-tiles {grid-template-columns: repeat(2, 1fr);}
  .k-products-grid {grid-template-columns: 1fr 1fr;}
  .k-companies-grid {grid-template-columns: 1fr;}
  .k-blog-grid {grid-template-columns: 1fr;}
  .k-footer-grid {grid-template-columns: 1fr;}
  .k-hiw {grid-template-columns: 1fr;}
  .k-row2 {grid-template-columns: 1fr;}
  .k-topbar .k-group .k-hide-sm {display: none;}
  .k-req-form {padding: 18px;}
  .k-navstrip .k-nav-cta {display: none;}
  .k-brand-logo {height: 44px;}
  .k-stat strong {font-size: 1.25rem;}
  .k-cta-box {padding: 26px 22px;}
}
@media (prefers-reduced-motion: reduce) {
  .k-logos-track {animation: none;}
  .k-hero-canvas {display: none;}
}

/* ---------- 3. Additions for real data ---------- */
html { scroll-padding-top: 150px; }
.k-container { width: min(1200px, 94%); margin-inline: auto; }

/* Header: mega menu for all categories */
.k-navstrip { position: relative; }
.k-mega { position: relative; }
.k-mega > button { font-weight: 700 !important; background: rgba(0,0,0,.12) !important; }
.k-mega-panel {
  position: absolute; left: 0; top: 100%; z-index: 90; width: min(1080px, 92vw);
  background: #fff; color: var(--ink); border-radius: 0 0 18px 18px; padding: 22px 24px;
  box-shadow: 0px 12px 20px -30px rgba(15,52,102,.45); border: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.k-mega-panel h5 { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
.k-mega-panel a { display: block !important; height: auto !important; padding: 6px 8px !important; margin: 0 -8px; border-radius: 8px; color: var(--text) !important; font-weight: 500 !important; font-size: .84rem !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-mega-panel a::after { display: none !important; }
.k-mega-panel a:hover { background: var(--ice) !important; color: var(--navy) !important; }
.k-mega-panel .k-all { margin-top: 6px; color: var(--blue) !important; font-weight: 700 !important; }
.k-account { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .88rem; color: var(--navy); }
.k-account i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; font-style: normal; font-size: .78rem; }
.k-mobile-search { display: none; }

/* Logo (SVG) sizing inside header/footer */
.k-logo svg { height: 52px; width: auto; display: block; }

/* Logos ticker with real company logos */
.k-logo-pill img { width: 26px; height: 26px; object-fit: contain; border-radius: 6px; background: #fff; }

/* Company card: real logo */
.k-avatar { overflow: hidden; }
.k-avatar.has-logo { background: #fff !important; border: 1px solid var(--line); box-shadow: none; }
.k-avatar img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.k-company h3 a { color: inherit; }
.k-company h3 a::before { content: ""; position: absolute; inset: 0; }
.k-company .k-company-btns { position: relative; z-index: 2; }
.k-badge-gold { color: #78350f; background: #fef3c7; }
.k-badge-silver { color: #3f3f46; background: #f4f4f5; }
.k-badge-verified { color: #14532d; background: #dcfce7; }
.k-badges { display: flex; flex-wrap: wrap; gap: 6px; }

/* Product card: link + optional photo */
.k-prod { position: relative; }
.k-prod h4 a::before { content: ""; position: absolute; inset: 0; }
.k-prod h4 a:hover { color: var(--blue); }
.k-prod-img { margin: -14px -14px 4px; height: 120px; border-radius: 14px 14px 0 0; overflow: hidden; background: var(--surface); }
.k-prod-img img { width: 100%; height: 100%; object-fit: cover; }
.k-prod-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Blog card: real featured image */
.k-post { position: relative; }
.k-post h3 a::before { content: ""; position: absolute; inset: 0; }
.k-post-cover img.bg {
  display: none; }
.k-post-cover img.fg { position: relative; height: 100%; width: 100%; object-fit: contain; }
.k-post p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* State list */
.k-states { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; position: relative; z-index: 1; }
.k-states a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .86rem; font-weight: 600; color: var(--ink); transition: border-color .2s, color .2s; }
.k-states a:hover { border-color: var(--blue); color: var(--blue); }
.k-states b { font-size: .74rem; color: var(--muted); }

/* FAQ answer can hold HTML */
.k-faq-body p { margin: 0 0 8px; }
.k-faq-body a { color: var(--blue); text-decoration: underline; }

/* Long homepage text (from admin) */
.k-about { background: var(--surface, #f5f9fd); border: 1px solid var(--line, #d8e6f3); border-radius: 22px; padding: 28px; }
.k-about-more { margin-top: 14px; text-align: center; }

/* Footer extras */
.k-footer-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(169,196,221,.16); }
.k-footer-cities span { color: #fff; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-right: 6px; align-self: center; }
.k-footer-cities a { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: .78rem; color: #cfe3f5; transition: background-color .2s, color .2s; }
.k-footer-cities a:hover { background: rgba(255,255,255,.14); color: #fff; }
.k-footer .k-network a { opacity: .85; }

/* ---------- Requirement form (Livewire) ---------- */
.k-req-card .k-req-form { gap: 11px; }
.k-req-card .k-seg label, .k-req-card .k-yn label {
  display: grid; place-items: center; cursor: pointer; text-align: center;
  border: 1.5px solid var(--line); border-radius: 9px; background: #fff;
  font-size: .82rem; font-weight: 600; color: var(--text); transition: background-color .25s var(--ease), border-color .2s, color .2s;
}
.k-req-card .k-seg label { height: 40px; padding: 0 6px; line-height: 1.15; }
.k-req-card .k-yn label { flex: 1; height: 34px; font-size: .78rem; }
.k-req-card .k-seg label:hover, .k-req-card .k-yn label:hover { border-color: var(--sky); color: var(--blue); }
.k-req-card label.is-on { border-color: var(--blue); background: var(--ice); color: var(--navy); box-shadow: inset 0 0 0 1px var(--blue); }
.k-req-card input[type=radio] { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
.k-req-card .k-inp, .k-req-card .k-phone-wrap input { color: var(--ink); }
.k-req-card .k-inp.has-error, .k-req-card .k-phone-wrap.has-error { border-color: #e11d48; }
.k-req-card .k-err { margin-top: 4px; font-size: .74rem; font-weight: 600; color: #be123c; }
.k-req-card .k-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.k-req-card .k-note { font-size: .74rem; color: var(--muted); text-align: center; margin-top: -2px; }
.k-req-card .k-btn[disabled] { opacity: .7; cursor: wait; }
.k-req-done { padding: 34px 24px; text-align: center; }
.k-req-done .k-ok { width: 60px; height: 60px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: #15803d; }
.k-req-done .k-ok svg { width: 30px; height: 30px; }
.k-req-done h3 { font-size: 1.3rem; margin-bottom: 6px; }
.k-req-done p { font-size: .9rem; color: var(--muted); }
.k-req-card--flat { box-shadow: none; border: 1px solid var(--line); }

/* Floating actions (call / WhatsApp / back to top) */
.k-fab-quote { background: #f2781b; }

/* ---------- Responsive additions ---------- */
@media (max-width: 1024px) {
  .k-header-actions .k-btn-sm { display: none; }
  .k-mega-panel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .k-mega-panel { position: static; width: auto; box-shadow: none; border-radius: 0; grid-template-columns: 1fr; padding: 10px 20px; background: rgba(255,255,255,.98); }
  .k-navlinks .k-mega { display: block; }
  .k-navlinks .k-mega > button { width: 100%; justify-content: space-between; }
}
@media (max-width: 640px) {
  .k-states { grid-template-columns: 1fr; }
  .k-fab-wrap { bottom: 72px; right: 14px; }
  .k-fab { width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .k-logos-track { animation: none; }
}

/* ---------- 4. Site-wide touches for the older pages ---------- */
.panel-bright { background-image: linear-gradient(120deg, #1d5aa6, #1d6fd0 55%, #2b8fe6) !important; }
.btn-primary, .btn-cta { border-radius: 10px; }
.k-footer { margin-top: 64px; }
@media (max-width: 640px) {
  .k-fab-wrap .k-fab { display: none; }
  .k-fab-wrap { bottom: 74px; }
}
/* Stats: number of columns follows how many stats exist; 2 per row on small screens */
.k-stats-grid { grid-template-columns: repeat(var(--cols, 4), 1fr); }
@media (max-width: 860px) { .k-stats-grid { grid-template-columns: repeat(2, 1fr); } }
html, body { overflow-x: clip; }
main:has(> .k-hero) ~ .k-footer { margin-top: 0; }
/* Requirement form adapts to the space it gets (hero, sidebar or popup) */
.k-req-card { container-type: inline-size; }
@container (max-width: 400px) {
  .k-req-card .k-row2 { grid-template-columns: 1fr; }
  .k-req-card .k-req-form { padding: 16px; }
  .k-req-card .k-req-head { padding: 16px; }
}
@media (max-width: 640px) {
  .k-topbar .k-group:first-child { display: none; }
  .k-topbar-inner { justify-content: center; }
}

/* ---------- 5. Logo + extra hover / motion polish ---------- */
.k-brand-logo { display: block; }
@media (max-width: 640px) { .k-logo .k-brand-logo { height: 44px !important; } }

/* Topbar links underline slide */
.k-topbar a { position: relative; }
.k-topbar a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; }
.k-topbar a:hover::after { transform: scaleX(1); }

/* Sign-in link + account chip */
.k-signin, .k-account { transition: color .2s; }
.k-signin:hover, .k-account:hover { color: var(--blue); }

/* Stats lift */
.k-stat .k-ico { transition: background-color .3s, color .3s; }
.k-stat:hover .k-ico { background: var(--tone); color: #fff; }

/* Company logo zoom, product + post hover */
.k-prod .k-ico { transition: background-color .3s, color .3s; }
.k-prod:hover .k-ico { background: var(--tone); color: #fff; }
.k-states a b { transition: color .2s; }
.k-states a:hover b { color: var(--blue); }

/* Footer link arrows */
.k-footer ul.k-links a { display: inline-block; }

/* Older (Tailwind) pages: smoother buttons, cards and images */
.btn { transition: background-color .25s, color .25s !important; }
.btn-primary { box-shadow: 0 10px 20px -14px rgba(29,111,208,.9); }
.btn-cta { box-shadow: 0 10px 20px -14px rgba(242,120,27,.9); }
.prose-pfm a { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat; transition: color .2s; }
.prose-pfm a:hover { background-size: 100% 1px; }
.input:focus, input:focus, select:focus, textarea:focus { border-color: #1d6fd0; box-shadow: 0 0 0 3px rgba(43,143,230,.16); }

/* =====================================================================
   6. INNER PAGES — same look as the homepage
   ===================================================================== */

/* ---- Page hero: the light header strip on every inner page becomes the navy hero ---- */
main#main > section.bg-mist:first-of-type {
  position: relative; overflow: hidden; isolation: isolate; border-bottom: 0 !important; color: #cfe3f5;
  background:
    radial-gradient(700px 380px at 100% 0%, rgba(76,192,245,.22), transparent 60%),
    radial-gradient(600px 360px at 0% 100%, rgba(29,111,208,.35), transparent 60%),
    linear-gradient(160deg, #123d78 0%, #0f3466 45%, #082246 100%) !important;
}
main#main > section.bg-mist:first-of-type::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
main#main > section.bg-mist:first-of-type::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 360px; height: 360px; border-radius: 50%;
  right: -90px; top: -140px; background: radial-gradient(closest-side, rgba(43,143,230,.75), rgba(43,143,230,0)); opacity: .55; animation: k-orbFloat 14s ease-in-out infinite;
}
/* old soft overlay inside the strip is replaced by the hero background */
main#main > section.bg-mist:first-of-type > div[aria-hidden="true"].absolute.inset-0 { display: none; }
main#main > section.bg-mist:first-of-type > .container-x { position: relative; z-index: 1; }

/* text colours in the hero (white boxes, forms and the requirement card keep their own colours) */
main#main > section.bg-mist:first-of-type h1 { color: #fff !important; letter-spacing: -.02em; font-weight: 800 !important; }
main#main > section.bg-mist:first-of-type :is(.text-ink, .text-ink-800, .text-ink-700):not(:is(aside, form, .k-scope, .badge, main .bg-white) *):not(.bg-white) { color: #fff !important; }
main#main > section.bg-mist:first-of-type :is(.text-ink-600, .text-ink-500, .text-ink-400):not(:is(aside, form, .k-scope, .badge, main .bg-white) *):not(.bg-white) { color: #b9d4ec !important; }
main#main > section.bg-mist:first-of-type nav[aria-label="Breadcrumb"] a:hover { color: #4cc0f5 !important; }
main#main > section.bg-mist:first-of-type nav[aria-label="Breadcrumb"] [aria-current="page"] { color: #fff !important; }
main#main > section.bg-mist:first-of-type .eyebrow { color: #7fd8ff !important; display: inline-flex; align-items: center; gap: 8px; }
main#main > section.bg-mist:first-of-type .eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: #4cc0f5; }
main#main > section.bg-mist:first-of-type .badge { background: rgba(255,255,255,.1) !important; color: #e2f1fc !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18) !important; }
main#main > section.bg-mist:first-of-type aside.bg-white, main#main > section.bg-mist:first-of-type .k-req-card { box-shadow: 0px 12px 20px -30px rgba(0,0,0,.55) !important; }
main#main > section.bg-mist:first-of-type a.rounded-full.bg-white:hover { box-shadow: 0 10px 20px -12px rgba(0,0,0,.5); }

/* company profile: banner sits on top of the hero */
main#main > section.bg-mist:first-of-type > .h-28 { box-shadow: inset 0px -40px 20px -30px rgba(8,34,70,.6); }

/* ---- Section titles + eyebrows everywhere ---- */
.h-section { color: var(--color-ink) !important; font-weight: 800 !important; letter-spacing: -.02em; }
main#main .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #1d6fd0; letter-spacing: .14em; }
main#main .eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: #4cc0f5; }

/* ---- Cards: lift, blue top bar, logo zoom ---- */
main#main article.group.relative { overflow: hidden; }
main#main article.group.relative::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, #1d6fd0, #4cc0f5); transform: scaleX(0); transform-origin: left;
}
main#main article.group.relative:hover { box-shadow: 0px 12px 20px -30px rgba(15,52,102,.42) !important; --tw-ring-color: #b9d4ec; }
main#main article.group.relative:hover::before { transform: scaleX(1); }

/* ---- Sidebars, tabs, chips ---- */
main#main nav a.rounded-lg, main#main nav a.rounded-md, main#main aside a.rounded-lg { transition: background-color .2s, color .2s !important; }
main#main a.rounded-full.ring-1, main#main button.rounded-full.ring-1 { transition: background-color .2s, color .2s !important; }
main#main a.rounded-full.ring-1:hover { box-shadow: 0 10px 18px -12px rgba(15,52,102,.45); }

/* ---- Article / long text ---- */
.prose-pfm { color: #3b5170; }
.prose-pfm h2 { color: #0b2140 !important; font-weight: 800 !important; letter-spacing: -.015em; position: relative; padding-left: 14px; }
.prose-pfm h2::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #1d6fd0, #4cc0f5); }
.prose-pfm h3 { color: #0f3466 !important; }
.prose-pfm img { border-radius: 14px; }
.prose-pfm blockquote { border-left: 4px solid #4cc0f5; background: #f5f9fd; border-radius: 0 12px 12px 0; padding: 12px 16px; margin: 18px 0; }
.prose-pfm table { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #d8e6f3; }
.prose-pfm th { background: #eaf5fd !important; color: #0f3466 !important; }
.prose-pfm tr { transition: background-color .15s; }
.prose-pfm tbody tr:hover { background: #f5f9fd; }

/* ---- Pagination / load more ---- */
main#main nav[aria-label*="agination"] a, main#main nav[role="navigation"] a { transition: background-color .2s, color .2s; }

/* ---- Content fades in on every page ---- */

/* ---- FAQ blocks on inner pages ---- */
main#main details.rounded-2xl[open] { box-shadow: 0px 12px 20px -20px rgba(15,52,102,.28); }
main#main details summary { transition: color .2s; }
main#main details summary:hover { color: #1d6fd0; }

/* ---- Product page: placeholder when there is no photo ---- */
main#main div.place-items-center[style*="radial-gradient(70% 70%"] {
  position: relative; overflow: hidden;
  background: radial-gradient(60% 60% at 30% 20%, rgba(76,192,245,.25), transparent 70%), linear-gradient(160deg, #eaf5fd, #f5f9fd) !important;
}
main#main div.place-items-center[style*="radial-gradient(70% 70%"]::before {
  content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(29,111,208,.14) 1px, transparent 1px); background-size: 18px 18px;
}
main#main div.place-items-center[style*="radial-gradient(70% 70%"] > span { position: relative; }
main#main div.place-items-center[style*="radial-gradient(70% 70%"] svg { width: 64px; height: 64px; color: #1d6fd0; }
main#main dl.divide-y > div, main#main table tr { transition: background-color .18s; }
main#main dl.divide-y > div:hover { background: #f5f9fd; }

/* ---- Blog / author / article heroes (already navy): same grid + glow + bold title ---- */
main#main :is(section, header)[style*="#123d78 0%, #0f3466 45%"] { isolation: isolate; }
main#main :is(section, header)[style*="#123d78 0%, #0f3466 45%"]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
main#main :is(section, header)[style*="#123d78 0%, #0f3466 45%"] h1 { font-weight: 800 !important; letter-spacing: -.02em; }
main#main :is(section, header)[style*="#123d78 0%, #0f3466 45%"] nav[aria-label="Breadcrumb"] a:hover { color: #4cc0f5 !important; }

/* =====================================================================
   7. FIXES — crisp text on hover, hero icons, speed
   ===================================================================== */

/* Tile glow sits BEHIND the text (it was painting over the label and made it look blurred) */
.k-tile { isolation: isolate; }
.k-tile::after { z-index: -1; opacity: 0; }
.k-tile:hover::after { opacity: .55; }
.k-tile > * { position: relative; z-index: 1; }
.k-tile h4 { color: var(--ink); }
.k-tile:hover h4 { color: var(--navy); }

/* No sub-pixel blur while cards move: whole-pixel lifts, text kept on its own layer-free path */        /* rotate only — scaling the icon box blurred it */

/* Hero trust icons: glass tile with a bright icon (another rule was turning them into pale white squares) */
.k-hero .k-ico.k-ico-glass {
  background: rgba(255,255,255,.12) !important;
  color: #7fd8ff !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.k-hero .k-ico.k-ico-glass svg { width: 18px; height: 18px; stroke-width: 2; }
.k-hero .k-trust-point:hover .k-ico.k-ico-glass { background: #1d6fd0 !important; color: #fff !important; }
.k-trust-point strong { line-height: 1.3; }
.k-trust-point span { color: #a9c8e6; }

/* Category panel icon watermark + count chip crisp */
.k-cat-panel h3, .k-cat-panel p { position: relative; z-index: 1; }

/* ---- Speed: lighter effects ---- */
.k-hero-badge { -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (max-width: 860px) {
  .k-orb { display: none; }
  .k-footer::before { animation: none; }
}
.k-hero .k-ico.k-ico-glass {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(135deg, #2b8fe6, #1d6fd0) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 20px -10px rgba(43,143,230,.9), inset 0 1px 0 rgba(255,255,255,.25);
}
.k-hero .k-ico.k-ico-glass svg { width: 20px; height: 20px; stroke-width: 2.2; }
.k-hero .k-trust-point:hover .k-ico.k-ico-glass { background: linear-gradient(135deg, #4cc0f5, #2b8fe6) !important; }

/* =====================================================================
   8. Sticky sidebars (requirement form, category list): never taller than the screen.
      If the content is longer, it scrolls INSIDE the box, so the whole form (and the
      submit button) can always be reached.
      Matches both the data-sticky attribute and the Tailwind classes "lg:sticky lg:top-36",
      so it works on the category, molecule, company and product pages.
   ===================================================================== */
@media (min-width: 1024px) {
  [data-sticky],
  .lg\:sticky.lg\:top-36 {
    top: 6.5rem !important;              /* just below the sticky header (a script was moving the box up behind it) */
    max-height: calc(100vh - 8rem);      /* header gap + a small gap at the bottom */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 3px;                        /* keeps card rings / shadows from being clipped */
    margin: -3px;
    scrollbar-width: thin;
    scrollbar-color: #c4d9ec transparent;
  }
  [data-sticky]::-webkit-scrollbar,
  .lg\:sticky.lg\:top-36::-webkit-scrollbar { width: 6px; }
  [data-sticky]::-webkit-scrollbar-thumb,
  .lg\:sticky.lg\:top-36::-webkit-scrollbar-thumb { background: #c4d9ec; border-radius: 6px; }
}
/* Short laptop screens: slightly tighter form so most of it fits without scrolling */
@media (min-width: 1024px) and (max-height: 820px) {
  .lg\:sticky.lg\:top-36 .k-req-card .k-req-form,
  [data-sticky] .k-req-card .k-req-form { gap: 8px; padding: 14px 18px 16px; }
  .lg\:sticky.lg\:top-36 .k-req-card .k-req-head,
  [data-sticky] .k-req-card .k-req-head { padding: 14px 18px; }
  .lg\:sticky.lg\:top-36 .k-req-card .k-inp,
  .lg\:sticky.lg\:top-36 .k-req-card .k-phone-wrap input,
  [data-sticky] .k-req-card .k-inp,
  [data-sticky] .k-req-card .k-phone-wrap input { height: 36px; }
  .lg\:sticky.lg\:top-36 .k-req-card textarea.k-inp,
  [data-sticky] .k-req-card textarea.k-inp { min-height: 56px; }
}

/* =====================================================================
   9. SPEED LAYER (kept last on purpose) — design unchanged, paint cost cut
   ===================================================================== */

/* Below-the-fold homepage-v1 sections are not rendered until near the viewport */
.k-section:not(:first-child),
.k-cat-block, .k-faq-grid, .k-blog-grid, .k-cta-split, .k-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
.k-footer { contain-intrinsic-size: auto 480px; }

/* Repaint of animated blocks stays inside the block */
.k-logos-mask   { contain: paint; }
.k-logos-track  { will-change: transform; backface-visibility: hidden; }
.k-hero, .k-footer { contain: paint; }
.k-mega-panel   { contain: layout paint; }

/* Infinite background animations: static glows (they repainted large areas every frame) */
.k-orb, .k-footer::before,
main#main > section.bg-mist:first-of-type::after { animation: none !important; }
.k-btn::after { will-change: auto; }

/* Header backdrop effects off (re-blurred on every scroll frame) */
.k-header, .k-hero-badge { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

/* Phones: drop decorative canvas / glow / heartbeat / grid overlays */
@media (max-width: 860px) {
  .k-hero-canvas, .k-orb, .k-ecg, .k-hero::before,
  main#main > section.bg-mist:first-of-type::before,
  main#main > section.bg-mist:first-of-type::after,
  main#main :is(section, header)[style*="#123d78 0%, #0f3466 45%"]::before { display: none !important; }
  .k-footer::before { display: none; }
  .k-logos-track { animation-duration: 70s; }
}

/* Touch devices: no hover shadows (big blur radii are expensive, and hover sticks on phones) */
@media (hover: none) {
  .k-tile:hover, .k-company:hover, .k-prod:hover, .k-post:hover, .k-hiw-step:hover,
  .k-faq[open], main#main article.group.relative:hover { box-shadow: none !important; }
  .k-tile:hover::after { opacity: 0; }
}

/* Reduced motion: stop everything that loops */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .k-logos-track, .k-ecg .k-run { animation: none !important; }
}

/* Off-screen sections stay paused (kart.js adds .k-paused) */
.k-paused *, .k-paused *::before, .k-paused *::after { animation-play-state: paused !important; }

/* Long lists on inner pages: rows far off-screen are not painted */
main#main article.group.relative { content-visibility: auto; contain-intrinsic-size: auto 280px; }

/* Layout stability + scroll feel */
img, video { max-width: 100%; height: auto; }
html { scroll-behavior: auto; }
.k-mega-panel, [data-sticky], .lg\:sticky.lg\:top-36 { overscroll-behavior: contain; }

/* ---- 9b. Phones: cheaper painting for faster LCP / Speed Index ---- */
@media (max-width: 860px) {
  .k-logos-mask { -webkit-mask-image: none; mask-image: none; }
  .k-hero { background: linear-gradient(160deg, #123d78 0%, #0f3466 45%, #082246 100%); }
  .k-header.k-is-scrolled { box-shadow: 0 1px 0 var(--line); }
  .k-req-card, .k-hero-search { box-shadow: none; }
}