/* =================================================================
   Hikmatron Systems — Agency Stylesheet
   /public/assets/css/agency.css
   ================================================================= */

/* ------------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------------ */

:root {
  --hk-ink:           #07090f;
  --hk-navy:          #0f172a;
  --hk-navy-mid:      #1e293b;
  --hk-indigo:        #4f46e5;
  --hk-indigo-dark:   #3730a3;
  --hk-indigo-glow:   rgba(79, 70, 229, 0.35);
  --hk-indigo-light:  #a5b4fc;
  --hk-teal:          #0d9488;
  --hk-purple:        #7c3aed;
  --hk-sky:           #0ea5e9;
  --hk-emerald:       #059669;
  --hk-slate:         #94a3b8;
  --hk-border:        rgba(255, 255, 255, 0.08);
  --hk-surface:       rgba(255, 255, 255, 0.04);
}

/* ------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------ */

.ak-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 7px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.ak-btn--primary {
  background: var(--hk-indigo);
  color: #ffffff;
  border-color: var(--hk-indigo);
  box-shadow: 0 0 0 0 var(--hk-indigo-glow);
}

.ak-btn--primary:hover {
  background: var(--hk-indigo-dark);
  border-color: var(--hk-indigo-dark);
  color: #ffffff;
  box-shadow: 0 0 24px var(--hk-indigo-glow);
  transform: translateY(-1px);
}

.ak-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}

.ak-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.ak-btn--outline-dark {
  background: transparent;
  color: #111111;
  border-color: #dddddd;
}

.ak-btn--outline-dark:hover {
  border-color: var(--hk-indigo);
  color: var(--hk-indigo);
}

.ak-btn--ghost-indigo {
  background: rgba(79, 70, 229, 0.1);
  color: var(--hk-indigo);
  border-color: rgba(79, 70, 229, 0.25);
}

.ak-btn--ghost-indigo:hover {
  background: rgba(79, 70, 229, 0.18);
  border-color: var(--hk-indigo);
  color: var(--hk-indigo);
}

/* ------------------------------------------------------------------
   Section structure
   ------------------------------------------------------------------ */

.ak-section {
  padding: 88px 0;
}

.ak-section--sm {
  padding: 64px 0;
}

.ak-section--alt {
  background-color: #f8fafc;
}

.ak-section--dark {
  background-color: var(--hk-navy);
}

.ak-section-header {
  margin-bottom: 56px;
}

.ak-section-header--center {
  text-align: center;
}

.ak-section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hk-indigo);
  margin-bottom: 14px;
}

.ak-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0a0f1e;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.ak-section-title--dark {
  color: #ffffff;
}

.ak-section-desc {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.75;
  max-width: 560px;
}

.ak-section-desc--center {
  margin: 0 auto;
}

/* ------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------ */

.ak-hero {
  background-color: var(--hk-ink);
  /* Dot grid pattern */
  background-image:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(79, 70, 229, 0.18) 0%, transparent 70%),
    radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
  padding: 108px 0 96px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.ak-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -10%;
  width: 60%;
  height: 160%;
  background: radial-gradient(ellipse, rgba(79, 70, 229, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.ak-hero__inner {
  position: relative;
  z-index: 1;
}

.ak-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hk-indigo-light);
  background: rgba(79, 70, 229, 0.12);
  border: 1px solid rgba(165, 180, 252, 0.2);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.ak-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
  flex-shrink: 0;
}

.ak-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.375rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.ak-hero__title span {
  background: linear-gradient(135deg, var(--hk-indigo-light), #c4b5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ak-hero__sub {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #94a3b8;
  max-width: 560px;
  margin-bottom: 40px;
}

.ak-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.ak-hero__tech-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ak-hero__tech-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  margin-right: 4px;
}

.ak-hero__tech-tag {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ------------------------------------------------------------------
   Hero visual — dashboard mock cards
   ------------------------------------------------------------------ */

.ak-hero-visual {
  position: relative;
  padding-left: 40px;
  padding-top: 8px;
}

.ak-hcard {
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px 22px;
  backdrop-filter: blur(8px);
  position: relative;
}

.ak-hcard--main {
  width: 100%;
}

.ak-hcard--secondary {
  position: absolute;
  bottom: -24px;
  right: -20px;
  width: 200px;
  background: rgba(13, 17, 28, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 3;
  padding: 16px 18px;
}

.ak-hcard__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.ak-hcard__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
  flex-grow: 1;
}

.ak-live-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
  animation: ak-pulse 2s infinite;
}

@keyframes ak-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(74, 222, 128, 0); }
}

.ak-hcard__badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.25);
  padding: 2px 8px;
  border-radius: 100px;
}

.ak-hcard__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.ak-hcard__metric-val {
  font-family: 'Poppins', sans-serif;
  font-size: 1.375rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1;
  margin-bottom: 4px;
}

.ak-hcard__metric-val--accent {
  color: var(--hk-indigo-light);
}

.ak-hcard__metric-val--green {
  color: #4ade80;
}

.ak-hcard__metric-label {
  font-size: 10px;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ak-hcard__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 16px;
}

.ak-hcard__chart-label {
  font-size: 10px;
  color: #475569;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ak-hcard__bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 44px;
}

.ak-hcard__bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: rgba(79, 70, 229, 0.35);
  transition: background 0.2s;
  min-height: 4px;
}

.ak-hcard__bar--active {
  background: var(--hk-indigo);
}

/* Secondary card contents */
.ak-hcard__sec-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  font-size: 0.75rem;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ak-hcard__sec-row:last-child {
  border-bottom: none;
}

.ak-hcard__sec-row i {
  font-size: 13px;
  width: 14px;
  text-align: center;
}

.ak-hcard__sec-row .ak-ok    { color: #4ade80; }
.ak-hcard__sec-row .ak-warn  { color: #fbbf24; }
.ak-hcard__sec-row .ak-info  { color: var(--hk-indigo-light); }

/* floating glow blob behind the cards */
.ak-hero-visual::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 240px;
  background: radial-gradient(ellipse, rgba(79, 70, 229, 0.22), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.ak-hcard {
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------
   Service category cards (homepage)
   ------------------------------------------------------------------ */

.ak-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ak-service-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 28px 24px;
  background: #ffffff;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.ak-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}

.ak-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
}

.ak-service-card--mobile:hover { border-color: var(--hk-purple); }
.ak-service-card--web:hover    { border-color: var(--hk-sky); }
.ak-service-card--iiot:hover   { border-color: var(--hk-teal); }
.ak-service-card--host:hover   { border-color: var(--hk-emerald); }

.ak-service-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}

.ak-service-card--mobile .ak-service-card__icon-wrap {
  background: rgba(124, 58, 237, 0.1);
  color: var(--hk-purple);
}

.ak-service-card--web .ak-service-card__icon-wrap {
  background: rgba(14, 165, 233, 0.1);
  color: var(--hk-sky);
}

.ak-service-card--iiot .ak-service-card__icon-wrap {
  background: rgba(13, 148, 136, 0.1);
  color: var(--hk-teal);
}

.ak-service-card--host .ak-service-card__icon-wrap {
  background: rgba(5, 150, 105, 0.1);
  color: var(--hk-emerald);
}

.ak-service-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.ak-service-card__desc {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}

.ak-service-card__price-note {
  font-size: 0.8125rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.ak-service-card--mobile .ak-service-card__price-note { color: var(--hk-purple); }
.ak-service-card--web    .ak-service-card__price-note { color: var(--hk-sky); }
.ak-service-card--iiot   .ak-service-card__price-note { color: var(--hk-teal); }
.ak-service-card--host   .ak-service-card__price-note { color: var(--hk-emerald); }

.ak-service-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.2s;
}

.ak-service-card--mobile .ak-service-card__link { color: var(--hk-purple); }
.ak-service-card--web    .ak-service-card__link { color: var(--hk-sky); }
.ak-service-card--iiot   .ak-service-card__link { color: var(--hk-teal); }
.ak-service-card--host   .ak-service-card__link { color: var(--hk-emerald); }

.ak-service-card:hover .ak-service-card__link {
  gap: 10px;
}

/* ------------------------------------------------------------------
   Trust / stats bar
   ------------------------------------------------------------------ */

.ak-trust-bar {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 28px 0;
}

.ak-trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.ak-trust-bar__item {
  text-align: center;
  padding: 8px 40px;
  border-right: 1px solid #e5e7eb;
}

.ak-trust-bar__item:last-child {
  border-right: none;
}

.ak-trust-bar__val {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #0a0f1e;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}

.ak-trust-bar__label {
  font-size: 0.8125rem;
  color: #6b7280;
  font-weight: 500;
}

/* ------------------------------------------------------------------
   Selected work preview (homepage)
   ------------------------------------------------------------------ */

.ak-work-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ------------------------------------------------------------------
   Work / Case study cards
   ------------------------------------------------------------------ */

.ak-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ak-work-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 28px;
  background: #ffffff;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.ak-work-card:hover {
  border-color: var(--hk-indigo);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.1);
  transform: translateY(-2px);
}

.ak-work-card__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ak-work-card__category--mobile { color: var(--hk-purple); }
.ak-work-card__category--iiot   { color: var(--hk-teal); }
.ak-work-card__category--web    { color: var(--hk-sky); }

.ak-work-card__client {
  font-family: 'Poppins', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.ak-work-card__location {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-bottom: 14px;
}

.ak-work-card__summary {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 20px;
}

.ak-work-card__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.ak-work-card__tech-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #e5e7eb;
}

.ak-work-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hk-indigo);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.ak-work-card:hover .ak-work-card__link {
  gap: 8px;
}

/* ------------------------------------------------------------------
   Case study detail page
   ------------------------------------------------------------------ */

.ak-case-study {
  padding: 80px 0;
}

.ak-case-study__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.ak-case-study__back:hover {
  color: var(--hk-indigo);
}

.ak-case-study__header {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #e5e7eb;
}

.ak-case-study__category {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hk-indigo);
  margin-bottom: 12px;
}

.ak-case-study__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #0a0f1e;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.ak-case-study__meta {
  font-size: 0.9375rem;
  color: #9ca3af;
}

.ak-case-study__body {
  max-width: 720px;
}

.ak-case-study__section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 12px;
}

.ak-case-study__section-text {
  font-size: 1rem;
  color: #1f2937;
  line-height: 1.85;
  margin-bottom: 36px;
}

.ak-case-study__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.ak-case-study__tech-tag {
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}

.ak-case-study__outcome {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.04), rgba(124, 58, 237, 0.04));
  border-left: 4px solid var(--hk-indigo);
  padding: 24px 28px;
  border-radius: 0 10px 10px 0;
}

.ak-case-study__outcome-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hk-indigo);
  margin-bottom: 10px;
}

.ak-case-study__outcome-text {
  font-size: 1rem;
  color: #1f2937;
  line-height: 1.7;
  margin: 0;
}

/* ------------------------------------------------------------------
   Rich case study page
   ------------------------------------------------------------------ */

.ak-case-study--rich {
  padding: 80px 0;
}

.ak-cs-rich__tagline {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.75;
  max-width: 680px;
  margin-top: 12px;
  margin-bottom: 0;
}

.ak-cs-rich__exec-summary {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.04), rgba(124, 58, 237, 0.03));
  border-left: 4px solid var(--hk-indigo);
  border-radius: 0 10px 10px 0;
  padding: 28px 32px;
  margin: 40px 0;
  max-width: 840px;
}

.ak-cs-rich__exec-summary p {
  font-size: 1rem;
  color: #1f2937;
  line-height: 1.85;
  margin: 8px 0 0;
}

.ak-cs-rich__body {
  max-width: 840px;
}

.ak-cs-rich__section {
  padding: 40px 0;
  border-top: 1px solid #e5e7eb;
}

.ak-cs-rich__section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #0a0f1e;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

/* Challenge bullets */
.ak-cs-rich__bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ak-cs-rich__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: #374151;
  line-height: 1.7;
}

.ak-cs-rich__bullets li i {
  font-size: 14px;
  color: var(--hk-indigo);
  flex-shrink: 0;
  margin-top: 5px;
}

/* Solution cards */
.ak-cs-rich__solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ak-cs-rich__solution-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px;
  background: #ffffff;
}

.ak-cs-rich__solution-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.ak-cs-rich__solution-card p {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* Outcome items */
.ak-cs-rich__outcomes {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ak-cs-rich__outcome-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #f3f4f6;
  align-items: start;
}

.ak-cs-rich__outcome-item:last-child {
  border-bottom: none;
}

.ak-cs-rich__outcome-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--hk-indigo);
  padding-top: 2px;
}

.ak-cs-rich__outcome-item p {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.7;
  margin: 0;
}

/* Quote */
.ak-cs-rich__quote {
  border: none;
  background: var(--hk-navy);
  border-radius: 12px;
  padding: 36px 40px;
  margin: 40px 0 0;
}

.ak-cs-rich__quote p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.7;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.ak-cs-rich__quote cite {
  font-size: 0.875rem;
  color: #64748b;
  font-style: normal;
  font-weight: 500;
}

@media (max-width: 767px) {
  .ak-cs-rich__solution-grid {
    grid-template-columns: 1fr;
  }
  .ak-cs-rich__outcome-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ak-cs-rich__quote {
    padding: 24px;
  }
}

/* ------------------------------------------------------------------
   Pricing cards
   ------------------------------------------------------------------ */

.ak-pricing-service-section {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid #e5e7eb;
}

.ak-pricing-service-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.ak-pricing-service-header {
  margin-bottom: 40px;
}

.ak-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
  gap: 20px;
  align-items: start;
}

.ak-pricing-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 28px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.ak-pricing-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07);
}

.ak-pricing-card--featured {
  background: linear-gradient(145deg, #4f46e5 0%, #7c3aed 100%);
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(79, 70, 229, 0.35);
}

.ak-pricing-card--featured:hover {
  box-shadow: 0 16px 48px rgba(79, 70, 229, 0.45);
  transform: translateY(-2px);
}

.ak-pricing-card__name {
  font-family: 'Poppins', sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.ak-pricing-card--featured .ak-pricing-card__name {
  color: #ffffff;
}

.ak-pricing-card__price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: #0a0f1e;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}

.ak-pricing-card--featured .ak-pricing-card__price {
  color: #ffffff;
}

.ak-pricing-card__price-note {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 6px;
}

.ak-pricing-card--featured .ak-pricing-card__price-note {
  color: rgba(255, 255, 255, 0.65);
}

.ak-pricing-card__timeline {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 16px;
}

.ak-pricing-card--featured .ak-pricing-card__timeline {
  color: rgba(255, 255, 255, 0.8);
}

.ak-pricing-card__annual {
  font-size: 0.8125rem;
  color: #059669;
  font-weight: 600;
  margin-bottom: 16px;
}

.ak-pricing-card--featured .ak-pricing-card__annual {
  color: #86efac;
}

.ak-pricing-card__divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 16px 0;
}

.ak-pricing-card--featured .ak-pricing-card__divider {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.ak-pricing-card__ideal-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 6px;
}

.ak-pricing-card--featured .ak-pricing-card__ideal-label {
  color: rgba(255, 255, 255, 0.55);
}

.ak-pricing-card__ideal {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ak-pricing-card--featured .ak-pricing-card__ideal {
  color: rgba(255, 255, 255, 0.82);
}

.ak-pricing-card__includes-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 12px;
}

.ak-pricing-card--featured .ak-pricing-card__includes-label {
  color: rgba(255, 255, 255, 0.55);
}

.ak-pricing-card__includes {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  flex-grow: 1;
}

.ak-pricing-card__includes li {
  font-size: 0.875rem;
  color: #1f2937;
  padding: 5px 0 5px 20px;
  position: relative;
  line-height: 1.5;
}

.ak-pricing-card__includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--hk-indigo);
}

.ak-pricing-card--featured .ak-pricing-card__includes li {
  color: rgba(255, 255, 255, 0.9);
}

.ak-pricing-card--featured .ak-pricing-card__includes li::before {
  background: rgba(255, 255, 255, 0.55);
}

.ak-pricing-card__excludes {
  font-size: 0.8125rem;
  color: #9ca3af;
  line-height: 1.55;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  margin-bottom: 24px;
}

.ak-pricing-card--featured .ak-pricing-card__excludes {
  color: rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 0.15);
}

.ak-pricing-card__excludes-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 10px;
}

.ak-pricing-card__cta {
  display: block;
  text-align: center;
  padding: 11px 20px;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
  border: 2px solid var(--hk-indigo);
  color: var(--hk-indigo);
  background: transparent;
  margin-top: auto;
}

.ak-pricing-card__cta:hover {
  background: var(--hk-indigo);
  color: #ffffff;
}

.ak-pricing-card--featured .ak-pricing-card__cta {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.ak-pricing-card--featured .ak-pricing-card__cta:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

/* ------------------------------------------------------------------
   IIoT callout block
   ------------------------------------------------------------------ */

.ak-callout {
  border-left: 4px solid var(--hk-indigo);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.04), rgba(124, 58, 237, 0.03));
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 32px;
}

.ak-callout__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 6px;
}

.ak-callout__text {
  font-size: 0.9375rem;
  color: #374151;
  line-height: 1.65;
  margin: 0;
}

/* ------------------------------------------------------------------
   Retainer compare table
   ------------------------------------------------------------------ */

.ak-compare-wrap {
  overflow-x: auto;
  margin-top: 56px;
  -webkit-overflow-scrolling: touch;
}

.ak-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 680px;
}

.ak-compare th,
.ak-compare td {
  padding: 13px 16px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
  white-space: nowrap;
}

.ak-compare th:first-child,
.ak-compare td:first-child {
  text-align: left;
  font-weight: 600;
  color: #1f2937;
  min-width: 210px;
  white-space: normal;
}

.ak-compare thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #1f2937;
  border-bottom: 2px solid #e5e7eb;
  vertical-align: bottom;
}

.ak-compare thead th .ak-compare__tier-price {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0a0f1e;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.ak-compare thead th .ak-compare__tier-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
}

.ak-compare thead .ak-compare__featured {
  background: linear-gradient(145deg, #4f46e5, #7c3aed);
}

.ak-compare thead .ak-compare__featured .ak-compare__tier-price,
.ak-compare thead .ak-compare__featured .ak-compare__tier-name {
  color: #ffffff;
}

.ak-compare tbody tr:hover {
  background: #f8fafc;
}

.ak-compare__check {
  color: var(--hk-indigo);
  font-size: 1rem;
}

.ak-compare__dash {
  color: #d1d5db;
}

.ak-compare__val {
  color: #1f2937;
  font-weight: 600;
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------------
   Engagement flow
   ------------------------------------------------------------------ */

.ak-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.ak-step {
  position: relative;
  padding-left: 4px;
}

.ak-step::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(100% - 16px);
  width: calc(100% - 8px);
  height: 1px;
  background: linear-gradient(90deg, #e5e7eb, transparent);
}

.ak-step:last-child::before {
  display: none;
}

.ak-step__number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #e5e7eb;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.ak-step__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.ak-step__desc {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.65;
}

.ak-step__note {
  font-size: 0.8125rem;
  color: var(--hk-indigo);
  font-weight: 600;
  margin-top: 8px;
}

/* ------------------------------------------------------------------
   About section (homepage)
   ------------------------------------------------------------------ */

.ak-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.ak-about-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ak-about-stat {
  padding: 22px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
}

.ak-about-stat__value {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--hk-indigo);
  margin-bottom: 4px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.ak-about-stat__label {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.4;
}

/* ------------------------------------------------------------------
   About page
   ------------------------------------------------------------------ */

.ak-about-content p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.85;
  margin-bottom: 20px;
}

.ak-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.ak-value-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 22px;
  background: #ffffff;
}

.ak-value-card__title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.ak-value-card__desc {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* ------------------------------------------------------------------
   Contact CTA strip
   ------------------------------------------------------------------ */

.ak-cta-strip {
  background: linear-gradient(135deg, #0f172a 0%, #1a1040 50%, #0f172a 100%);
  background-size: 200% 200%;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ak-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
}

.ak-cta-strip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(79, 70, 229, 0.25), transparent 65%);
  pointer-events: none;
}

.ak-cta-strip__inner {
  position: relative;
  z-index: 1;
}

.ak-cta-strip__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.ak-cta-strip__sub {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.ak-cta-strip__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------
   Contact page
   ------------------------------------------------------------------ */

.ak-contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}

.ak-contact-info__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.875rem;
  font-weight: 800;
  color: #0a0f1e;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ak-contact-info__sub {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 36px;
}

.ak-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  transition: padding-left 0.2s;
}

.ak-contact-link:first-of-type {
  border-top: 1px solid #e5e7eb;
}

.ak-contact-link:hover {
  padding-left: 4px;
}

.ak-contact-link__icon {
  font-size: 20px;
  color: var(--hk-indigo);
  flex-shrink: 0;
  margin-top: 2px;
}

.ak-contact-link__label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 2px;
}

.ak-contact-link__value {
  font-size: 0.9375rem;
  color: #0a0f1e;
  font-weight: 600;
}

.ak-contact-form {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 40px;
}

.ak-contact-form__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.ak-field {
  margin-bottom: 18px;
}

.ak-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 7px;
}

.ak-field input,
.ak-field select,
.ak-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d1d5db;
  border-radius: 7px;
  font-size: 0.9375rem;
  font-family: 'Poppins', sans-serif;
  color: #0a0f1e;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.ak-field input:focus,
.ak-field select:focus,
.ak-field textarea:focus {
  outline: none;
  border-color: var(--hk-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.ak-field textarea {
  resize: vertical;
  min-height: 130px;
}

.ak-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.ak-field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ak-form-submit {
  width: 100%;
  padding: 13px 24px;
  background: linear-gradient(135deg, var(--hk-indigo), var(--hk-purple));
  color: #ffffff;
  border: none;
  border-radius: 7px;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
  letter-spacing: -0.01em;
}

.ak-form-submit:hover {
  box-shadow: 0 4px 20px rgba(79, 70, 229, 0.4);
  transform: translateY(-1px);
}

.ak-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.ak-form-note {
  font-size: 0.8125rem;
  color: #9ca3af;
  margin-top: 12px;
  line-height: 1.55;
}

.ak-form-success {
  text-align: center;
  padding: 40px 20px;
}

.ak-form-success__icon {
  font-size: 3rem;
  color: var(--hk-emerald);
  margin-bottom: 16px;
}

.ak-form-success__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 10px;
}

.ak-form-success__sub {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.65;
}

.ak-form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #dc2626;
  margin-bottom: 16px;
}

/* ------------------------------------------------------------------
   Page hero
   ------------------------------------------------------------------ */

.ak-page-hero {
  background: linear-gradient(135deg, var(--hk-ink) 0%, #0d1a35 100%);
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(135deg, var(--hk-ink) 0%, #0d1a35 100%);
  background-size: 28px 28px, 100% 100%;
  padding: 72px 0 64px;
}

.ak-page-hero__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hk-indigo-light);
  margin-bottom: 14px;
}

.ak-page-hero__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.875rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.ak-page-hero__sub {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 560px;
  line-height: 1.75;
}

/* ------------------------------------------------------------------
   Floating callback CTA
   ------------------------------------------------------------------ */

.ak-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.ak-float__wa {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.2s;
  white-space: nowrap;
}

.ak-float__wa:hover {
  background: #1ebc5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.ak-float__wa i {
  font-size: 20px;
}

.ak-float__call {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--hk-indigo);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 16px rgba(79, 70, 229, 0.4);
  transition: all 0.2s;
}

.ak-float__call:hover {
  background: var(--hk-indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.5);
  color: #ffffff;
}

/* ------------------------------------------------------------------
   Utility
   ------------------------------------------------------------------ */

.ak-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

.ak-link {
  color: var(--hk-indigo);
  font-weight: 600;
  text-decoration: none;
}

.ak-link:hover {
  color: var(--hk-indigo-dark);
}

/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */

@media (max-width: 1199px) {
  .ak-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ak-about-grid {
    gap: 48px;
  }
  .ak-hero-visual {
    padding-left: 20px;
  }
}

@media (max-width: 991px) {
  .ak-section {
    padding: 64px 0;
  }
  .ak-hero {
    padding: 80px 0 64px;
  }
  .ak-hero-visual {
    display: none;
  }
  .ak-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ak-step::before {
    display: none;
  }
  .ak-work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ak-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ak-contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ak-contact-form {
    padding: 28px;
  }
  .ak-pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ak-trust-bar__item {
    padding: 8px 24px;
  }
}

/* ------------------------------------------------------------------
   Client logo slider
   ------------------------------------------------------------------ */

.ak-logo-slider {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 32px 0;
  overflow: hidden;
}

.ak-logo-slider__label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 24px;
}

.ak-logo-slider__track-wrap {
  overflow: hidden;
  position: relative;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.ak-logo-slider__track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: ak-marquee 36s linear infinite;
}

.ak-logo-slider__track:hover {
  animation-play-state: paused;
}

@keyframes ak-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ak-logo-slider__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  filter: grayscale(100%);
  transition: filter 0.2s, opacity 0.2s;
}

.ak-logo-slider__item:hover {
  filter: grayscale(0%);
  opacity: 1 !important;
}

/* ------------------------------------------------------------------
   Service card — new variants (ai, agri, cloud)
   ------------------------------------------------------------------ */

.ak-service-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

.ak-service-card--ai:hover    { border-color: var(--hk-indigo); }
.ak-service-card--agri:hover  { border-color: var(--hk-emerald); }
.ak-service-card--cloud:hover { border-color: var(--hk-sky); }

.ak-service-card--ai .ak-service-card__icon-wrap {
  background: rgba(79, 70, 229, 0.1);
  color: var(--hk-indigo);
}

.ak-service-card--agri .ak-service-card__icon-wrap {
  background: rgba(5, 150, 105, 0.1);
  color: var(--hk-emerald);
}

.ak-service-card--cloud .ak-service-card__icon-wrap {
  background: rgba(14, 165, 233, 0.1);
  color: var(--hk-sky);
}

.ak-service-card--ai .ak-service-card__link    { color: var(--hk-indigo); }
.ak-service-card--agri .ak-service-card__link  { color: var(--hk-emerald); }
.ak-service-card--cloud .ak-service-card__link { color: var(--hk-sky); }

/* ------------------------------------------------------------------
   Work card — new category colour variants
   ------------------------------------------------------------------ */

.ak-work-card__category--ai    { color: var(--hk-indigo); }
.ak-work-card__category--agri  { color: var(--hk-emerald); }
.ak-work-card__category--cloud { color: var(--hk-sky); }

/* Portfolio-only card (no hover link animation) */
.ak-work-card--portfolio {
  cursor: default;
}

.ak-work-card--portfolio:hover {
  transform: none;
  box-shadow: none;
  border-color: #e5e7eb;
}

.ak-work-card__link--dim {
  color: #9ca3af;
  font-weight: 500;
  font-size: 0.8125rem;
}

/* ------------------------------------------------------------------
   Services page — service groups
   ------------------------------------------------------------------ */

.ak-services-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ak-service-group {
  padding: 56px 0;
  border-top: 1px solid #e5e7eb;
}

.ak-service-group:first-child {
  border-top: none;
  padding-top: 0;
}

.ak-service-group__header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.ak-service-group__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(79, 70, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--hk-indigo);
  flex-shrink: 0;
  margin-top: 4px;
}

.ak-service-group__title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #0a0f1e;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.02em;
}

.ak-service-group__desc {
  font-size: 1rem;
  color: #374151;
  line-height: 1.85;
  margin: 0;
}

/* Capability checklist */
.ak-capability-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ak-capability-list__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: #1f2937;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  line-height: 1.55;
}

.ak-capability-list__item:last-child {
  border-bottom: none;
}

.ak-capability-list__item i {
  font-size: 15px;
  color: var(--hk-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ------------------------------------------------------------------
   Engagement grid (services page — 4-step flow)
   ------------------------------------------------------------------ */

.ak-engagement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 8px;
}

.ak-engagement-step {
  position: relative;
}

.ak-engagement-step__num {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #e5e7eb;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.ak-engagement-step__title {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0a0f1e;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.ak-engagement-step__desc {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}

/* ------------------------------------------------------------------
   Responsive — additions
   ------------------------------------------------------------------ */

@media (max-width: 1199px) {
  .ak-service-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .ak-engagement-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 991px) {
  .ak-service-group__header {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .ak-hero__title {
    font-size: 2.25rem;
  }
  .ak-hero__sub {
    font-size: 1rem;
  }
  .ak-hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .ak-service-grid {
    grid-template-columns: 1fr;
  }
  .ak-work-preview-grid,
  .ak-work-grid {
    grid-template-columns: 1fr;
  }
  .ak-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ak-pricing-grid {
    grid-template-columns: 1fr;
  }
  .ak-values-grid {
    grid-template-columns: 1fr;
  }
  .ak-about-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ak-field--row {
    grid-template-columns: 1fr;
  }
  .ak-cta-strip {
    padding: 72px 0;
  }
  .ak-cta-strip__actions {
    flex-direction: column;
    align-items: center;
  }
  .ak-contact-form {
    padding: 22px;
  }
  .ak-service-grid--6 {
    grid-template-columns: 1fr;
  }
  .ak-engagement-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ak-page-hero {
    padding: 56px 0 48px;
  }
  .ak-case-study {
    padding: 56px 0;
  }
  .ak-trust-bar__inner {
    justify-content: flex-start;
  }
  .ak-trust-bar__item {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    width: 50%;
    padding: 16px;
  }
  .ak-float__wa span { display: none; }
  .ak-float__wa {
    padding: 14px;
    border-radius: 50%;
  }
  .ak-float__call span { display: none; }
  .ak-float__call {
    padding: 12px;
    border-radius: 50%;
  }
}

/* ------------------------------------------------------------------
   Mobile navigation (replaces CanvasMenu)
   ------------------------------------------------------------------ */

/* Hide the old canvas-menu element if it ever surfaces */
.canvas-menu { display: none !important; }

.hk-mobile-nav {
  display: none;
  position: relative;
}

.hk-mobile-nav__toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  font-size: 22px;
  color: #111111;
  line-height: 1;
  display: flex;
  align-items: center;
}

.hk-mobile-nav__drawer {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  padding: 12px 0;
  z-index: 9999;
}

.hk-mobile-nav__drawer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hk-mobile-nav__drawer ul li a {
  display: block;
  padding: 11px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #1f2937;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.hk-mobile-nav__drawer ul li a:hover {
  background: #f8fafc;
  color: var(--hk-indigo);
}

.hk-mobile-nav__cta {
  display: block;
  margin: 10px 12px 4px;
  padding: 10px 16px;
  background: var(--hk-indigo);
  color: #ffffff;
  border-radius: 7px;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}

.hk-mobile-nav__cta:hover {
  background: var(--hk-indigo-dark);
  color: #ffffff;
}

@media (max-width: 991px) {
  .hk-mobile-nav {
    display: block;
  }
}
