/* ===== Khosen “Wow” Theme (keeps light background) ===== */
:root {
  /* Logo-driven palette */
  --k-deep: #0f1a2b; /* deep navy/graphite from logo text */
  --k-ink: #1b2335; /* header/body dark */
  --k-slate: #3a4561; /* muted headings */
  --k-stone: #6b7280; /* paragraph */
  --k-ice: #eef3ff; /* soft highlight */
  --k-glass: #f6f8ff; /* subtle card bg */
  --k-blue: #2458ff; /* brand blue accent */
  --k-lav: #8a38ff; /* secondary accent from older artwork */

  --primary-soft: var(--k-ice); /* used by chips */

  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(16, 26, 43, 0.1);
  --shadow-press: 0 6px 18px rgba(36, 88, 255, 0.2);
}

/* Body + type refinement */
body {
  color: var(--k-ink);
}
h1,
h2,
h3 {
  color: var(--k-ink);
  letter-spacing: 0.2px;
}
.kicker {
  color: var(--k-stone);
}

/* Header nav polish */
.nav {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(10px);
}
.logo__name {
  color: var(--k-ink);
}
.nav__links a {
  color: var(--k-stone);
  transition: color 0.2s ease;
}
.nav__links a:hover {
  color: var(--k-blue);
}
.nav .cta {
  background: linear-gradient(135deg, var(--k-blue), var(--k-lav));
  color: #fff;
  box-shadow: var(--shadow-press);
}
.nav .cta:hover {
  transform: translateY(-1px);
  color: #fff;
}

/* Cards: depth + hover */
.card {
  background: linear-gradient(180deg, #fff, var(--k-glass));
  border: 1px solid rgba(15, 26, 43, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(15, 26, 43, 0.12);
  border-color: rgba(36, 88, 255, 0.18);
}

/* Hero: subtle accent underline + pill */
.hero__title strong {
  background: linear-gradient(120deg, var(--k-blue), var(--k-lav));
  -webkit-background-clip: text;
  color: transparent;
}
.hero__pill {
  border: 1px solid rgba(36, 88, 255, 0.22);
  background: linear-gradient(180deg, #fff, var(--k-ice));
  color: var(--k-slate);
}

/* Buttons */
.btn {
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--ghost {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  color: var(--k-ink);
}
.btn--ghost:hover {
  border-color: rgba(36, 88, 255, 0.25);
}

/* Primary CTA – readable in all states */
a.btn.cta,
.nav .cta {
  background: linear-gradient(135deg, #5b6fff 0%, #7b4dff 100%);
  color: #fff;
  border: 0;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(91, 99, 255, 0.25);
}
a.btn.cta:hover,
.nav .cta:hover {
  filter: brightness(1.05) saturate(1.05);
  color: #fff !important;
}
.btn.cta {
  color: #fff !important;
}
.nav .cta,
.k-cta__box .btn.cta {
  color: #fff !important;
}

/* Tags / badges */
.tag,
.badge {
  background: linear-gradient(180deg, var(--k-ice), #fff);
  border: 1px solid rgba(36, 88, 255, 0.18);
  color: var(--k-blue);
  font-weight: 600;
}

/* Lists */
.list li {
  color: var(--k-slate);
}
.list li::marker {
  color: var(--k-blue);
}

/* Strips & separators */
.strip {
  background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
}

/* Micro-animations */
@keyframes soft-pop {
  from {
    transform: scale(0.98);
    opacity: 0.8;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.hero .card {
  animation: soft-pop 0.25s ease-out;
}

/* ===== Hero image slot + shared media ===== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
  gap: 2rem;
}
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-media {
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #fff;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-media {
    aspect-ratio: 16/9;
  }
}
.hero p {
  max-width: 60ch;
}
.hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 16px;
}

/* ===== Quick highlight chips ===== */
.k-highlights {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 0.6rem;
}
.k-chip {
  background: var(--primary-soft);
  color: #2458ff;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
}

/* ===== Value tiles ===== */
.k-value {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.2rem 0;
}
.k-value__item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 0.9rem;
  padding: 1rem;
  box-shadow: 0 8px 18px rgba(15, 35, 90, 0.06);
}
.k-value__item h4 {
  margin-bottom: 0.25rem;
  color: #1b1f2b;
  font-size: 0.98rem;
}

/* ===== Packages / simple table ===== */
.k-packages {
  margin: 1.4rem 0;
}
.k-table {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Scope pricing rows so they don't conflict with other grids */
.k-table .k-row {
  display: grid;
  grid-template-columns: 220px 1fr 140px; /* item / description / price */
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
  align-items: center;
}
.k-table .k-row.k-head {
  background: linear-gradient(180deg, #f7f8fb 0%, #f2f4f8 100%);
  font-weight: 700;
}
@media (max-width: 820px) {
  .k-table .k-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Steps, cards, badges ===== */
.k-steps {
  margin: 1.6rem 0;
}
.k-steps ol {
  padding-left: 1.2rem;
}
.k-steps li {
  margin: 0.35rem 0;
}

.k-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.4rem 0;
}
.k-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 35, 90, 0.07);
}
.k-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: #eef3ff;
  color: #2458ff;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}
.k-link {
  color: #2458ff;
  font-weight: 600;
}

.k-faq details {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
}
.k-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #1b1f2b;
}

/* ===== CTA variants ===== */
.k-cta {
  margin: 2rem 0 1rem;
}

/* Brand/gradient CTA (use on sections with .k-cta--brand) */
.k-cta--brand .k-cta__box {
  background: linear-gradient(135deg, #304ffe, #7c4dff);
  color: #fff;
  padding: 1.4rem 1.3rem;
  border-radius: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Neutral/solid CTA (use on pricing/footer areas) */
.k-cta--solid {
  background: #f6f8ff;
  border: 1px solid #e3e7fb;
  box-shadow: 0 6px 24px rgba(24, 38, 79, 0.08);
  border-radius: 18px;
}
.k-cta__box {
  padding: 18px 20px;
}
.k-cta__lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b1220;
  margin: 0 0 4px;
}
.k-cta__hint {
  color: #30364a;
  opacity: 0.95;
  margin: 0;
}

/* ===== Services grid: align all cards neatly ===== */
.k-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.k-services-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.k-services-grid .card .list {
  margin-top: 0.5rem;
  flex: 1 1 auto;
}
.k-services-grid .card p:last-child {
  margin-top: auto;
}
.k-services-grid .card h3 {
  line-height: 1.15;
  min-height: 3.4rem;
}
@media (max-width: 1100px) {
  .k-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .k-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- WhatsApp helper bar ---- */
.wa-helper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid rgba(13, 18, 33, 0.08);
  box-shadow: 0 6px 24px rgba(16, 24, 40, 0.06);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  margin: 1rem auto 1.25rem;
}
.wa-helper__label {
  font-weight: 600;
  color: #0f172a;
  opacity: 0.9;
  white-space: nowrap;
}
.wa-intents {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tag {
  border: 1px solid #5b6fff;
  background: #eef1ff;
  color: #1e2a78;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  line-height: 1;
  cursor: pointer;
}
.tag:hover,
.tag:focus {
  background: #5b6fff;
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(91, 111, 255, 0.22);
}
/* stronger contrast variant when inside .wa-intents (e.g., pricing footer) */
.wa-intents .tag {
  background: #eef1ff;
  border-color: #5a63ff;
  color: #1a2040;
  box-shadow: 0 1px 0 rgba(23, 42, 79, 0.06);
}
.wa-intents .tag:hover {
  background: #5a63ff;
  color: #fff;
}

/* Stats pills (used under “Who we are”, etc.) */
.k-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.pill {
  background: #f1f5ff;
  color: #143a66;
  border: 1px solid rgba(20, 58, 102, 0.12);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-weight: 600;
}

/* Top quick-start hint bar */
.k-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffffea;
  box-shadow: 0 4px 24px rgba(21, 28, 52, 0.06);
  color: #111827;
}
.k-hint__text {
  font-weight: 600;
  letter-spacing: 0.1px;
}
.k-hint .wa-intents {
  margin: 0;
}

/* Pills under “Who we are” */
.k-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.k-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
  color: #0f172a;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(21, 28, 52, 0.05);
}
.k-pill small {
  font-weight: 500;
  opacity: 0.8;
}

/* Bottom CTA strip – readable */
.k-cta-strip {
  margin-top: 24px;
  padding: 18px 16px;
  border-radius: 14px;
  background: #ffffffea;
  box-shadow: 0 6px 28px rgba(21, 28, 52, 0.06);
}
.k-cta-strip__row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.k-cta-strip__text {
  color: #111827;
  font-weight: 700;
}
.k-cta-strip__sub {
  color: #334155;
  margin-top: 4px;
}
.k-cta-strip .wa-intents {
  margin: 0;
}
@media (max-width: 720px) {
  .k-hint,
  .k-cta-strip__row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Page-scoped helpers */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.k-hero-note {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #334155;
}

.k-note {
  font-size: 0.95rem;
  color: #334155;
}
.muted {
  opacity: 0.8;
}

/* Tighter card padding helper */
.k-card-tight {
  padding: 14px 16px;
}

/* Two-column helper */
.k-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 820px) {
  .k-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Subtle brand accent for known-for box */
.k-known {
  border-top: 3px solid #6e5af7;
}
/* --- Hero panel to match other cards/sections --- */
.k-hero--panel {
  background: linear-gradient(180deg, #ffffff, var(--k-glass));
  border: 1px solid rgba(15, 26, 43, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 24px; /* same inner feel as cards */
  margin-top: 24px; /* same spacing rhythm as sections */
}

/* Title & sub copy harmony with section headings */
.k-hero--panel .hero__title {
  margin: 6px 0 10px;
  line-height: 1.1;
}
.k-hero--panel .hero__sub {
  color: var(--k-stone);
  margin: 0 0 12px;
  max-width: 60ch;
}

/* Buttons/chips spacing to match card CTAs */
.k-hero--panel .k-hero__ctas {
  margin-top: 8px;
}
.k-hero--panel .k-hero__intents {
  margin-top: 10px;
}

/* Media + aside feel like card + card-under */
.k-hero--panel .hero-media {
  border: 1px solid rgba(15, 26, 43, 0.06);
}
.k-hero--panel .hero-card {
  border: 1px solid rgba(15, 26, 43, 0.06);
  box-shadow: var(--shadow-soft);
}

/* Stats look like small pills stacked neatly */
.k-hero--panel .k-hero__stats {
  margin-top: 12px;
}
.k-hero--panel .k-stat {
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
}
.k-hero--panel .k-stat__val {
  font-size: 1.05rem;
}

/* Consistent responsive behavior */
@media (max-width: 900px) {
  .k-hero--panel {
    padding: 18px;
  }
  .k-hero--panel .hero__title {
    font-size: clamp(1.6rem, 4.5vw, 2.1rem);
  }
}

/* A11y helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Desktop baseline */
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__menu {
  display: flex;
  gap: 1rem;
  align-items: center;
  z-index: 50;
}
.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.6rem;
  color: #1b2335;
}

/* --- Mobile drawer (solid) --- */
@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex;
  }

  /* Fullscreen overlay behind drawer */
  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 14, 24, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .nav__overlay.is-on {
    opacity: 1;
    pointer-events: auto;
  }

  /* Drawer itself: solid white panel */
  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(84vw, 360px);
    background: #ffffff; /* SOLID */
    box-shadow: -24px 0 60px rgba(8, 12, 20, 0.22);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 18px 16px 22px;
    transform: translateX(100%);
    transition: transform 0.22s ease;
  }
  .nav__menu.is-open {
    transform: translateX(0);
  }
  body.menu-open {
    overflow: hidden;
  }

  .nav__close {
    align-self: flex-end;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    border-radius: 10px;
    padding: 0.4rem;
    color: #1b2335;
    margin-bottom: 0.25rem;
  }

  .nav__menu a {
    padding: 12px;
    border-radius: 12px;
    font-size: 1.05rem;
    color: #0f172a;
  }
  .nav__menu a:hover {
    background: #f1f4ff;
  }
  .nav__menu .cta {
    margin-top: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, #5b6fff, #7a3cff);
    color: #fff;
    border: none;
    box-shadow: 0 8px 22px rgba(91, 99, 255, 0.25);
  }
}
/* Default: hide mobile-only controls on desktop */
.nav__toggle,
.nav__close {
  display: none;
}

/* Desktop menu stays inline */
.nav__menu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* ===== Compact mobile drawer (sheet) ===== */
@media (max-width: 900px) {
  /* show the controls on mobile */
  .nav__toggle,
  .nav__close {
    display: inline-flex;
  }

  /* overlay (slightly lighter) */
  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 14, 24, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .nav__overlay.is-on {
    opacity: 1;
    pointer-events: auto;
  }

  /* compact sheet instead of full-height drawer */
  .nav__menu {
    position: fixed;
    top: 12px;
    right: 12px;
    width: min(92vw, 360px);
    max-height: 70vh; /* no tall empty column */
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(10, 16, 28, 0.22);
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: auto; /* scroll if content grows */
    transform: translateX(calc(100% + 24px));
    transition: transform 0.22s ease;
    z-index: 50;
  }
  .nav__menu.is-open {
    transform: translateX(0);
  }

  .nav__close {
    align-self: flex-end;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    border-radius: 10px;
    padding: 0.35rem;
    color: #1b2335;
    margin-bottom: 4px;
  }

  .nav__menu a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 1.025rem;
    line-height: 1.25;
    color: #0f172a;
  }
  .nav__menu a:hover {
    background: #f1f4ff;
  }

  .nav__menu .cta {
    margin-top: 6px;
    text-align: center;
    background: linear-gradient(135deg, #5b6fff, #7a3cff);
    color: #fff;
    border: 0;
    box-shadow: 0 8px 22px rgba(91, 99, 255, 0.25);
  }

  /* keep top bar tidy */
  .nav__inner {
    gap: 0.5rem;
  }
  .nav__toggle {
    padding: 0.45rem 0.55rem;
    border-radius: 10px;
  }
}
/* --- Contact hero clean-up (align with site style) --- */
.k-hero--contact .k-hero__ctas {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.k-hero--contact .k-hero__intents {
  margin-top: 0.6rem;
  gap: 0.45rem;
}

.k-hero--contact .tag {
  padding: 0.38rem 0.7rem;
  font-weight: 600;
  border: 1px solid #5a63ff;
  background: #eef1ff;
  color: #1a2040;
}

.k-hero--contact .k-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.k-hero--contact .k-stat {
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}
.k-hero--contact .k-stat__val {
  font-weight: 700;
}
.k-hero--contact .k-stat__key {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Keep hero right consistent */
.k-hero__image.hero-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft, 0 14px 30px rgba(15, 35, 90, 0.12));
}
.k-hero__card {
  margin-top: 0.75rem;
}

/* Trim top whitespace under nav so it matches other pages */
.k-hero.k-hero--dense.k-hero--contact {
  margin-top: 1.4rem;
}

/* Scope all fixes to this page only */
.contact-hero.k-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.25rem;
  align-items: center;
}
@media (max-width: 1100px) {
  .contact-hero.k-hero {
    grid-template-columns: 1fr;
  }
}

/* Ensure the image stays inside the right column and never breaks out */
.contact-hero .k-hero__right {
  position: relative;
}
.contact-hero .k-hero__image {
  position: relative;
  z-index: 1;
}
.contact-hero .k-hero__image.hero-media {
  aspect-ratio: 16/10;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.18);
  width: 100%;
}
.contact-hero .k-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Match Services hero chips / stats rhythm */
.contact-hero .k-hero__ctas {
  display: flex;
  gap: 0.75rem;
  margin: 1rem 0 0;
  flex-wrap: wrap;
}
.contact-hero .k-hero__intents {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.contact-hero .k-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.contact-hero .k-stat {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.contact-hero .k-stat__val {
  font-weight: 700;
  font-size: 1.25rem;
}
.contact-hero .k-stat__key {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Side card under image */
.contact-hero .k-hero__card {
  position: relative;
  z-index: 2;
  margin-top: 0.75rem;
}

/* Mobile toggle button (hamburger) */
.nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
}
.nav__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #1b2335;
  margin: 5px 0;
  border-radius: 2px;
}

/* Small screens: show hamburger, collapse links */
@media (max-width: 860px) {
  .nav__toggle {
    display: inline-block;
  }
  .nav__links {
    display: none;
  }
  .nav__links[data-open="true"] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  }
  .nav__inner {
    position: relative;
  }
}

/* Active link */
.nav__links a.is-active {
  color: var(--k-blue);
  font-weight: 600;
}

/* keep hero visually consistent with index */
.k-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.25rem;
  align-items: center;
}
@media (max-width: 1100px) {
  .k-hero {
    grid-template-columns: 1fr;
  }
}
.k-hero--dense {
  margin-top: 2.25rem;
}
.k-hero__ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.k-hero__intents {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}
.hero-bullets {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}
.hero-bullets li {
  margin: 0.25rem 0;
  color: #3a4561;
}
.k-hero__right {
  position: relative;
}
.k-hero__image {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.18);
}
.k-hero__image img {
  display: block;
  width: 100%;
  height: auto;
}
.k-hero__card {
  margin-top: 0.75rem;
}
/* equal-height service cards (safeguard) */
.k-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
.k-services-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.k-services-grid .card .list {
  flex: 1 1 auto;
  margin-top: 0.5rem;
}
.k-services-grid .card p:last-child {
  margin-top: auto;
}
@media (max-width: 1100px) {
  .k-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .k-services-grid {
    grid-template-columns: 1fr;
  }
}
/* tidy “Need quick tasks” tip */
.k-tip {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
}
/* ===== MOBILE NAV FIX ===== */
@media (max-width: 900px) {
  /* Show toggle button */
  .nav__toggle {
    display: inline-flex;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    border-radius: 10px;
    padding: 0.5rem 0.6rem;
    color: #1b2335;
    cursor: pointer;
  }

  /* Hide overlay by default */
  .nav__overlay {
    position: fixed;
    inset: 0;
    background: rgba(9, 14, 24, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 40;
  }

  /* Show overlay when menu is open */
  .nav__overlay.is-on {
    opacity: 1;
    pointer-events: auto;
  }

  /* Mobile menu drawer */
  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(85vw, 360px);
    background: #ffffff;
    box-shadow: -24px 0 60px rgba(8, 12, 20, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 18px 16px 22px;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 50;
    overflow-y: auto;
  }

  /* Show menu when open */
  .nav__menu.is-open {
    transform: translateX(0);
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  /* Close button */
  .nav__close {
    display: inline-flex;
    align-self: flex-end;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    border-radius: 10px;
    padding: 0.4rem;
    color: #1b2335;
    margin-bottom: 0.5rem;
    cursor: pointer;
  }

  /* Menu links */
  .nav__menu a {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1.05rem;
    color: #0f172a;
    transition: background 0.15s ease;
  }

  .nav__menu a:hover {
    background: #f1f4ff;
  }

  /* CTA button in menu */
  .nav__menu .cta {
    margin-top: 0.75rem;
    text-align: center;
    background: linear-gradient(135deg, #5b6fff, #7a3cff);
    color: #fff !important;
    border: none;
    box-shadow: 0 8px 22px rgba(91, 99, 255, 0.3);
  }

  .nav__menu .cta:hover {
    background: linear-gradient(135deg, #4a5eee, #6935ee);
  }
}

/* Desktop: hide mobile controls */
@media (min-width: 901px) {
  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__overlay {
    display: none;
  }

  .nav__menu {
    position: static;
    transform: none;
    flex-direction: row;
    height: auto;
    width: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    gap: 1rem;
  }
}
