
:root {
  --khit-navy: #061a36;
  --khit-navy-deep: #04122a;
  --khit-navy-mid: #0c2244;
  --khit-navy-soft: #102a50;
  --khit-card: #122b50;
  --khit-card-hover: #193462;
  --khit-orange: #e8561a;
  --khit-orange-glow: rgba(232,86,26,0.22);
  --khit-border: rgba(255,255,255,0.08);
  --khit-text: #e8edf2;
  --khit-text-soft: #b7c3d2;
  --khit-text-muted: #8a9bb0;
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.36);
  --shadow-sm: 0 8px 20px rgba(0,0,0,0.22);
  --radius: 18px;
  --radius-sm: 11px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, var(--khit-navy-deep) 0%, var(--khit-navy) 100%);
  color: var(--khit-text);
  line-height: 1.62;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--khit-text-soft); margin: 0 0 1rem; }
h1, h2, h3, h4, h5 { margin: 0 0 0.75rem; line-height: 1.14; font-weight: 700; }

.container { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(4,18,42,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--khit-border);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img {
  width: clamp(230px, 23vw, 340px);
  height: auto;
}
.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0; margin: 0;
  flex-wrap: nowrap;
}
.site-nav li,
.site-nav a {
  white-space: nowrap;
}
.site-nav a {
  padding: 9px 10px;
  color: var(--khit-text-soft);
  border-radius: 999px;
  font-size: 0.88rem;
  transition: 0.2s ease;
}
.site-nav a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.site-nav .cta {
  background: var(--khit-orange);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 20px var(--khit-orange-glow);
}
.site-nav .cta:hover { background: #f16227; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--khit-border);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 10px;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 720px;
  background:
    linear-gradient(90deg, rgba(4,18,42,0.98) 0%, rgba(4,18,42,0.95) 28%, rgba(4,18,42,0.72) 58%, rgba(4,18,42,0.30) 100%),
    url("../img/khitservices-swirl-bg.png") right center / cover no-repeat,
    var(--khit-navy);
}
.hero.page-hero {
  min-height: auto;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 45%, rgba(232,86,26,0.16) 0, rgba(232,86,26,0.06) 22%, transparent 48%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  right: -170px;
  top: 68px;
  width: min(52vw, 700px);
  aspect-ratio: 1 / 1;
  background: url("../img/khitservices-mark.png") center / contain no-repeat;
  opacity: 0.075;
  z-index: -1;
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 610px) 1fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(232,86,26,0.25);
  background: rgba(232,86,26,0.08);
  border-radius: 999px;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  letter-spacing: -0.035em;
  max-width: 12ch;
}
.hero .subhead {
  font-size: 1.14rem;
  color: var(--khit-text-soft);
  max-width: 60ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}
.btn-primary { background: var(--khit-orange); color: #fff; box-shadow: 0 8px 24px var(--khit-orange-glow); }
.btn-primary:hover { background: #f16227; transform: translateY(-1px); }
.btn-secondary { border: 1px solid var(--khit-border); color: #fff; background: rgba(255,255,255,0.03); }
.btn-secondary:hover { background: rgba(255,255,255,0.06); }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.meta-card {
  padding: 18px;
  background: rgba(12,34,68,0.66);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.meta-card strong { display: block; color: #fff; margin-bottom: 6px; font-size: 1rem; }
.meta-card span { display: block; color: var(--khit-text-muted); font-size: 0.92rem; }
.hero-side { min-height: 420px; }
.hero.page-hero .hero-side { display: none; }

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.00) 100%);
}
.section > .container { position: relative; z-index: 1; }
.section-header { max-width: 790px; margin-bottom: 42px; }
.section-header .label {
  color: var(--khit-orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.section-header h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.section-header p { font-size: 1.04rem; }

.cards-3, .cards-2, .journey-grid {
  display: grid;
  gap: 24px;
}
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journey-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(18,43,80,0.88), rgba(12,34,68,0.86));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card:hover { background: linear-gradient(180deg, rgba(25,52,98,0.94), rgba(12,34,68,0.9)); }
.card .kicker {
  display: inline-block;
  color: var(--khit-orange);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  margin-bottom: 12px;
}
.card h3 { font-size: 1.36rem; }
.card p { font-size: 0.99rem; }
.card ul { margin: 1rem 0 0; padding-left: 1.05rem; color: var(--khit-text-soft); }
.card li { margin: 0.5rem 0; }
.journey-step { padding-top: 68px; }
.step-number {
  position: absolute;
  top: 24px;
  left: 28px;
  color: rgba(232,86,26,0.30);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.route-card {
  padding: 34px;
  min-height: 310px;
}
.route-card h3 { font-size: clamp(1.65rem, 2.4vw, 2.15rem); }
.route-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(232,86,26,0.10);
  border: 1px solid rgba(232,86,26,0.22);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4,18,42,0.97) 0%, rgba(4,18,42,0.90) 40%, rgba(4,18,42,0.74) 100%),
    url("../img/khitservices-swirl-bg.png") center right / cover no-repeat;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 30px;
  padding: 46px;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 390px;
  height: 390px;
  background: url("../img/khitservices-mark.png") center / contain no-repeat;
  opacity: 0.085;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { max-width: 18ch; }
.cta-band p { max-width: 62ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }

.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--khit-border);
  padding: 78px 0 38px;
  background: rgba(4,18,42,0.94);
}
.site-footer::after {
  content: "";
  position: absolute;
  right: -210px;
  bottom: -210px;
  width: 620px;
  height: 620px;
  background: url("../img/khitservices-mark.png") center / contain no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(300px, 1.55fr) 1fr 1fr 1.1fr;
  gap: 52px;
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}
.footer-brand-mark { margin-bottom: 20px; }
.footer-brand-mark img { width: 64px; height: 64px; object-fit: contain; }
.footer-brand p { font-size: 0.97rem; color: var(--khit-text-muted); max-width: 44ch; }
.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--khit-text-muted);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.footer-col a, .footer-col span { color: var(--khit-text-soft); font-size: 0.96rem; }
.footer-col a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 13px;
  color: var(--khit-text-soft);
  transition: 0.2s ease;
}
.social-button svg { width: 20px; height: 20px; }
.social-button:hover {
  color: var(--khit-orange);
  border-color: rgba(232,86,26,0.50);
  background: rgba(232,86,26,0.08);
  transform: translateY(-1px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.small { font-size: 0.9rem; color: var(--khit-text-muted); }

@media (max-width: 1080px) {
  .hero-inner, .cards-3, .journey-grid, .split {
    grid-template-columns: 1fr 1fr;
  }
  .hero-side { min-height: 180px; }
}
@media (max-width: 820px) {
  .site-nav { display: none; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--khit-orange);
    border-color: var(--khit-orange);
  }
  .site-header.is-open .site-nav {
    display: block;
    position: absolute;
    top: 82px;
    right: 24px;
    left: 24px;
    background: rgba(4,18,42,0.97);
    border: 1px solid var(--khit-border);
    border-radius: 18px;
    padding: 14px;
  }
  .site-header.is-open .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-header.is-open .site-nav a {
    display: block;
    color: var(--khit-orange);
  }
  .brand img { width: clamp(230px, 50vw, 320px); }
  .hero { min-height: auto; }
  .section { padding: 72px 0; }
  .cta-band { padding: 30px; }
}
@media (max-width: 900px) {
  .hero-meta, .journey-grid, .split {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 641px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 2.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .hero-inner, .hero-meta, .cards-3, .cards-2, .journey-grid, .footer-grid, .split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .container { width: min(var(--max-width), calc(100% - 32px)); }
  .brand img { width: min(78vw, 300px); }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .section-header h2 { font-size: clamp(1.75rem, 8vw, 2.25rem); }
  .cta-band { padding: 24px; border-radius: 22px; }
}


/* Large KHIT hash watermark across the page, starting below the hero/swirl section */
main {
  position: relative;
  z-index: 1;
}

main::before {
  content: "";
  position: absolute;
  right: -16vw;
  top: clamp(760px, 88vh, 980px);
  width: min(70vw, 980px);
  aspect-ratio: 1 / 1;
  background: url("../img/khitservices-mark.png") center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Ensure sections/content sit above the page watermark */
.hero,
.section,
.site-footer .container,
.footer-bottom,
.footer-grid {
  position: relative;
  z-index: 1;
}

/* Local mark accents disabled: the large page watermark is the single hash treatment. */
.card.hash::after,
.card-mark::after {
  display: none !important;
}

@media (max-width: 820px) {
  main::before {
    top: clamp(680px, 92vh, 900px);
    width: min(82vw, 760px);
    right: -24vw;
  }
}


.official-strapline {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  letter-spacing: 0.01em;
  margin: -8px 0 18px;
}

.footer-strapline {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.05rem;
  margin: -6px 0 14px;
}

/* v0.4: stronger KHITServices page branding and commercial-rule content blocks */
.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(4,18,42,0.98) 0%, rgba(4,18,42,0.94) 38%, rgba(4,18,42,0.68) 72%, rgba(4,18,42,0.34) 100%),
    url("../img/khitservices-swirl-bg.png") right center / cover no-repeat,
    var(--khit-navy, #061a36);
}

main {
  position: relative;
  z-index: 1;
}

main::before {
  content: "";
  position: absolute;
  right: -16vw;
  top: clamp(680px, 82vh, 960px);
  width: min(70vw, 980px);
  aspect-ratio: 1 / 1;
  background: url("../img/khitservices-mark.png") center / contain no-repeat;
  opacity: 0.052;
  pointer-events: none;
  z-index: 0;
}

.hero,
.section,
.cta-band,
.service-detail,
.pricing-detail {
  position: relative;
  z-index: 1;
}

.service-context-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.service-context-card,
.pricing-card {
  background: linear-gradient(180deg, rgba(18,43,80,0.90), rgba(12,34,68,0.86));
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

.pricing-card.featured,
.service-context-card.featured {
  border-color: rgba(232,86,26,0.42);
  box-shadow: 0 14px 34px rgba(232,86,26,0.10);
}

.price-line {
  color: #fff;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.05;
  margin: 0.7rem 0 0.35rem;
}

.price-unit {
  color: var(--khit-text-muted, #8a9bb0);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.service-context-card ul,
.pricing-card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--khit-text-soft, #b7c3d2);
}

.service-context-card li,
.pricing-card li {
  margin: 0.45rem 0;
}

.khit-note {
  border-left: 3px solid var(--khit-orange, #e8561a);
  background: rgba(232,86,26,0.08);
  border-radius: 0 14px 14px 0;
  padding: 18px 20px;
  margin-top: 26px;
  color: var(--khit-text-soft, #b7c3d2);
}

.route-warning {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(232,86,26,0.10);
  border: 1px solid rgba(232,86,26,0.24);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.no-page-cta .hero-actions {
  display: none;
}

@media (max-width: 820px) {
  main::before {
    top: clamp(620px, 88vh, 860px);
    width: min(86vw, 760px);
    right: -28vw;
  }
}
@media (max-width: 640px) {
  .service-context-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* v0.5 VSDM value comparison */
.value-comparison {
  margin-top: 34px;
  overflow-x: auto;
}

.value-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(18,43,80,0.72);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

.value-table th,
.value-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  vertical-align: top;
}

.value-table th {
  color: #ffffff;
  background: rgba(232,86,26,0.12);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.value-table td {
  color: var(--khit-text-soft, #b7c3d2);
}

.value-table tr:last-child td {
  border-bottom: none;
}

.value-table strong {
  color: #ffffff;
}

.value-stat {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(232,86,26,0.10);
  border: 1px solid rgba(232,86,26,0.24);
  color: #ffffff;
  font-weight: 800;
  margin-top: 8px;
}

.value-caption {
  margin-top: 16px;
  color: var(--khit-text-muted, #8a9bb0);
  font-size: 0.94rem;
}

/* v0.6 client-led output route cards */
.output-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.output-route-card {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.075);
  border-radius: 16px;
  padding: 22px;
}

.output-route-card h3 {
  margin-bottom: 0.65rem;
}

.output-route-card p {
  font-size: 0.96rem;
}

@media (max-width: 980px) {
  .output-route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .output-route-grid {
    grid-template-columns: 1fr;
  }
}

/* v0.7 VSDM value comparison and route clarity */
.value-comparison {
  margin-top: 34px;
  overflow-x: auto;
}

.value-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(18,43,80,0.72);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

.value-table th,
.value-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  vertical-align: top;
}

.value-table th {
  color: #ffffff;
  background: rgba(232,86,26,0.12);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.value-table td {
  color: var(--khit-text-soft, #b7c3d2);
}

.value-table tr:last-child td {
  border-bottom: none;
}

.value-table strong {
  color: #ffffff;
}

.route-specific-note {
  margin-top: 26px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(232,86,26,0.22);
  background: rgba(232,86,26,0.08);
}

.route-specific-note strong {
  color: #ffffff;
}

/* v0.9 client-facing cleanup support */
.value-comparison {
  margin-top: 34px;
  overflow-x: auto;
}

.value-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(18,43,80,0.72);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}

.value-table th,
.value-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  vertical-align: top;
}

.value-table th {
  color: #ffffff;
  background: rgba(232,86,26,0.12);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.value-table td {
  color: var(--khit-text-soft, #b7c3d2);
}

.value-table tr:last-child td {
  border-bottom: none;
}

.value-table strong {
  color: #ffffff;
}

/* v1.0 document-aligned spacing and content components */
.hero.page-hero,
.hero {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(42px, 6vw, 70px);
}

.section {
  padding-top: clamp(46px, 5.8vw, 72px);
  padding-bottom: clamp(46px, 5.8vw, 72px);
}

.hero + .section,
.page-hero + .section {
  padding-top: clamp(34px, 4.5vw, 54px);
}

.section-header {
  margin-bottom: clamp(22px, 3vw, 34px);
}

.service-context-grid,
.pricing-grid,
.output-route-grid {
  margin-top: clamp(20px, 2.8vw, 30px);
}

.service-context-card,
.pricing-card,
.output-route-card {
  padding: clamp(20px, 2.6vw, 28px);
}

.khit-framework-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.khit-framework-step {
  border: 1px solid rgba(255,255,255,0.075);
  background: rgba(255,255,255,0.035);
  border-radius: 16px;
  padding: 18px;
}

.khit-framework-step span {
  display: block;
  color: var(--khit-orange, #e8561a);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.khit-framework-step strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.client-choice-panel {
  border-left: 3px solid var(--khit-orange, #e8561a);
  background: rgba(232,86,26,0.075);
  border-radius: 0 16px 16px 0;
  padding: 20px 22px;
  margin-top: 24px;
}

.client-choice-panel strong {
  color: #ffffff;
}

.value-comparison {
  margin-top: 28px;
  overflow-x: auto;
}

.value-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(18,43,80,0.72);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
}

.value-table th,
.value-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  vertical-align: top;
}

.value-table th {
  color: #ffffff;
  background: rgba(232,86,26,0.12);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.value-table td {
  color: var(--khit-text-soft, #b7c3d2);
}

.value-table tr:last-child td { border-bottom: none; }
.value-table strong { color: #ffffff; }

@media (max-width: 920px) {
  .khit-framework-strip {
    grid-template-columns: 1fr;
  }
}


/* v1.4 homepage preview: subtle swirl, single controlled hash */

/* Scope everything to the homepage preview only */
body.full-swirl-preview {
  background: #04122a;
  position: relative;
  overflow-x: hidden;
}

/* Disable every inherited/global watermark layer that may already exist */
body.full-swirl-preview::before,
body.full-swirl-preview::after,
body.full-swirl-preview main::before,
body.full-swirl-preview .hero::before,
body.full-swirl-preview .hero::after,
body.full-swirl-preview .page-hero::before,
body.full-swirl-preview .page-hero::after,
body.full-swirl-preview .hero-side::before,
body.full-swirl-preview .hero-side::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

/* One full-page artwork canvas; it scrolls with the document, not the viewport */
body.full-swirl-preview main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(
      180deg,
      rgba(4,18,42,0.82) 0%,
      rgba(4,18,42,0.88) 45%,
      rgba(4,18,42,0.94) 100%
    ),
    url("../img/khitservices-swirl-bg.png") center top / cover no-repeat;
}

/* One subtle hash only, positioned away from the main reading path */
body.full-swirl-preview main::after {
  content: "";
  display: block !important;
  position: absolute;
  right: -5vw;
  top: 180px;
  width: min(44vw, 640px);
  aspect-ratio: 1 / 1;
  background: url("../img/khitservices-mark.png") center / contain no-repeat !important;
  opacity: 0.045;
  pointer-events: none;
  z-index: -1;
}

/* Do not let sections create flat blocks that restart or obscure the background */
body.full-swirl-preview .hero,
body.full-swirl-preview .page-hero,
body.full-swirl-preview .section,
body.full-swirl-preview .service-detail,
body.full-swirl-preview .pricing-detail,
body.full-swirl-preview .cta-band {
  background: transparent !important;
  isolation: auto !important;
}

/* Keep content above the single background canvas */
body.full-swirl-preview .hero,
body.full-swirl-preview .section,
body.full-swirl-preview .site-footer {
  position: relative;
  z-index: 1;
}

/* Header remains readable */
body.full-swirl-preview .site-header {
  background: rgba(4,18,42,0.90) !important;
  backdrop-filter: blur(16px);
}

/* Cards remain readable but are not opaque slabs */
body.full-swirl-preview .service-context-card,
body.full-swirl-preview .pricing-card,
body.full-swirl-preview .output-route-card,
body.full-swirl-preview .khit-framework-step {
  background: linear-gradient(180deg, rgba(18,43,80,0.76), rgba(12,34,68,0.62)) !important;
  border-color: rgba(255,255,255,0.085) !important;
  backdrop-filter: blur(8px);
}

/* Notes still allow a hint of the background through */
body.full-swirl-preview .khit-note,
body.full-swirl-preview .client-choice-panel {
  background: rgba(232,86,26,0.09) !important;
  backdrop-filter: blur(8px);
}

/* Footer softened */
body.full-swirl-preview .site-footer {
  background: linear-gradient(180deg, rgba(4,18,42,0.72), rgba(4,18,42,0.98)) !important;
}

/* Reduce big vertical gaps in this preview */
body.full-swirl-preview .hero.page-hero,
body.full-swirl-preview .hero {
  padding-bottom: clamp(34px, 4.5vw, 58px);
}

body.full-swirl-preview .hero + .section,
body.full-swirl-preview .page-hero + .section {
  padding-top: clamp(28px, 3.8vw, 46px);
}

@media (max-width: 820px) {
  body.full-swirl-preview main::after {
    right: -34vw;
    top: 210px;
    width: 88vw;
    opacity: 0.035;
  }
}


/* v1.5 preview adjustment: lift swirl and single hash visibility */
body.full-swirl-preview main {
  background:
    linear-gradient(
      180deg,
      rgba(4,18,42,0.72) 0%,
      rgba(4,18,42,0.80) 45%,
      rgba(4,18,42,0.90) 100%
    ),
    url("../img/khitservices-swirl-bg.png") center top / cover no-repeat !important;
}

body.full-swirl-preview main::after {
  width: min(48vw, 700px) !important;
  opacity: 0.075 !important;
  right: -4vw !important;
  top: 170px !important;
}

body.full-swirl-preview .service-context-card,
body.full-swirl-preview .pricing-card,
body.full-swirl-preview .output-route-card,
body.full-swirl-preview .khit-framework-step {
  background: linear-gradient(180deg, rgba(18,43,80,0.70), rgba(12,34,68,0.54)) !important;
}

@media (max-width: 820px) {
  body.full-swirl-preview main::after {
    width: 96vw !important;
    opacity: 0.055 !important;
    right: -38vw !important;
    top: 200px !important;
  }
}


/* v1.6 preview adjustment: smaller hash, lighter watermarks, tighter first section */
body.full-swirl-preview main {
  background:
    linear-gradient(
      180deg,
      rgba(4,18,42,0.54) 0%,
      rgba(4,18,42,0.66) 42%,
      rgba(4,18,42,0.84) 100%
    ),
    url("../img/khitservices-swirl-bg.png") center top / cover no-repeat !important;
}

/* Smaller single hash, but more visible */
body.full-swirl-preview main::after {
  width: min(36vw, 520px) !important;
  opacity: 0.14 !important;
  right: 0vw !important;
  top: 112px !important;
}

/* Tighten hero and first content band */
body.full-swirl-preview .hero.page-hero,
body.full-swirl-preview .hero {
  padding-top: clamp(52px, 6vw, 76px) !important;
  padding-bottom: clamp(24px, 3.2vw, 42px) !important;
}

body.full-swirl-preview .hero + .section,
body.full-swirl-preview .page-hero + .section {
  padding-top: clamp(20px, 2.8vw, 34px) !important;
}

body.full-swirl-preview .section:first-of-type {
  padding-top: clamp(20px, 2.8vw, 34px) !important;
}

/* Let more artwork come through the cards without sacrificing readability */
body.full-swirl-preview .service-context-card,
body.full-swirl-preview .pricing-card,
body.full-swirl-preview .output-route-card,
body.full-swirl-preview .khit-framework-step {
  background: linear-gradient(180deg, rgba(18,43,80,0.62), rgba(12,34,68,0.44)) !important;
}

/* Keep notes readable but less slab-like */
body.full-swirl-preview .khit-note,
body.full-swirl-preview .client-choice-panel {
  background: rgba(232,86,26,0.075) !important;
}

/* Trim first grid spacing slightly */
body.full-swirl-preview .service-context-grid,
body.full-swirl-preview .pricing-grid,
body.full-swirl-preview .output-route-grid,
body.full-swirl-preview .khit-framework-strip {
  margin-top: clamp(16px, 2vw, 24px) !important;
}

@media (max-width: 820px) {
  body.full-swirl-preview main::after {
    width: 68vw !important;
    opacity: 0.10 !important;
    right: -20vw !important;
    top: 136px !important;
  }
}


/* KHIT v23: legacy watermark neutralised; template CSS is source of truth. */
body.full-swirl-preview::before, body.full-swirl-preview::after { content: none; display: none; }

/* Tablet: hamburger + dropdown menu text was too small relative to screen size */
@media (min-width: 640px) and (max-width: 820px) {
  .nav-toggle {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
  }
  .site-header.is-open .site-nav a {
    font-size: 1.15rem;
    padding: 14px 16px;
  }
}
