:root {
  --hk-bg: #151414;
  --hk-bg-elevated: rgba(255, 255, 255, 0.04);
  --hk-bg-chip: rgba(255, 255, 255, 0.08);
  --hk-bg-banner: #1b1427;
  --hk-border: rgba(255, 255, 255, 0.12);
  --hk-border-low: rgba(255, 255, 255, 0.08);
  --hk-text-high: #ecedee;
  --hk-text-med: rgba(255, 255, 255, 0.68);
  --hk-text-low: rgba(255, 255, 255, 0.45);
  --hk-primary: #9b2645;
  --hk-primary-hover: #7d1d36;
  --hk-primary-soft: #dc8998;
  --hk-banner-border: #aa9cd3;
  --hk-accent-line: #ecedee;
  --hk-header-h: 64px;
  --hk-max: 1280px;
  --hk-font: 'Noto Sans Arabic', 'Noto Sans', 'Segoe UI', Tahoma, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html.dark {
  color-scheme: dark;
}

body {
  font-family: var(--hk-font);
  background: var(--hk-bg);
  color: var(--hk-text-high);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: clip;
}

main,
.hk-header,
.hk-breadcrumb,
.hk-footer {
  max-width: 100%;
  overflow-x: clip;
}

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  display: block;
}

.material-icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.hk-container {
  width: min(100% - clamp(16px, 4vw, 32px), var(--hk-max));
  margin-inline: auto;
  min-width: 0;
}

.hk-layout > * {
  min-width: 0;
}

/* Header */
.hk-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--hk-header-h);
  background: rgba(38, 36, 36, 0.8);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--hk-border-low);
}

.hk-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.hk-header-start,
.hk-header-end {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hk-header-start {
  min-width: 0;
  flex-shrink: 1;
}

.hk-header-end {
  flex-shrink: 0;
}

.hk-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--hk-border);
  background: var(--hk-bg-chip);
  color: var(--hk-text-med);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.hk-icon-btn:hover {
  opacity: 0.85;
}

.hk-logo img {
  height: 36px;
  width: auto;
}

.hk-divider {
  width: 1px;
  height: 24px;
  background: var(--hk-border);
  display: none;
}

.hk-btn-primary {
  min-height: 40px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--hk-primary);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.hk-btn-primary:hover {
  background: var(--hk-primary-hover);
}

.hk-btn-primary--lg {
  width: 100%;
  max-width: 100%;
  min-height: 56px;
  padding: 16px 28px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 12px;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 20px rgba(155, 38, 69, 0.4);
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  display: flex;
  box-sizing: border-box;
}

.hk-btn-primary--lg:hover {
  box-shadow: 0 6px 24px rgba(155, 38, 69, 0.5);
}

.hk-btn-primary--lg:active {
  transform: scale(0.98);
}

.hk-btn-primary--lg:focus-visible {
  outline: 2px solid var(--hk-primary-soft);
  outline-offset: 3px;
}

/* Breadcrumb */
.hk-breadcrumb {
  padding-top: calc(var(--hk-header-h) + 12px);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hk-border-low);
}

.hk-breadcrumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.hk-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  color: var(--hk-text-med);
}

.hk-breadcrumb-list a {
  color: var(--hk-primary-soft);
}

.hk-breadcrumb-list a:hover {
  text-decoration: underline;
}

.hk-breadcrumb-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero */
.hk-hero {
  padding: 24px 0 0;
}

.hk-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--hk-bg-chip);
  color: var(--hk-text-high);
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.hk-hero-title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--hk-text-high);
}

.hk-hero-provider {
  margin: 0 0 24px;
  color: var(--hk-text-high);
  font-size: 1rem;
}

.hk-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hk-border-low);
}

.hk-hero-grid > div {
  padding: 12px 0;
  border-inline-start: none;
  border-bottom: 1px solid var(--hk-border-low);
}

.hk-hero-grid > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .hk-hero-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hk-hero-grid > div {
    padding: 0 20px;
    border-inline-start: 1px solid var(--hk-border-low);
    border-bottom: none;
  }

  .hk-hero-grid > div:first-child {
    padding-inline-start: 0;
    border-inline-start: none;
  }

  .hk-hero-grid > div:last-child {
    padding-inline-end: 0;
  }
}

.hk-hero-grid-label {
  font-size: 0.75rem;
  color: var(--hk-text-med);
  margin-bottom: 4px;
}

.hk-hero-grid-value {
  font-size: 0.875rem;
  font-weight: 400;
  color: #fff;
}

.hk-hero-cta {
  padding: 24px 0 28px;
}

/* Banner */
.hk-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 16px;
  border: 1px solid var(--hk-banner-border);
  background: var(--hk-bg-banner);
}

.hk-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.hk-banner-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.hk-banner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hk-banner-text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--hk-text-high);
  line-height: 1.5;
}

.hk-banner-close {
  color: var(--hk-text-med);
  padding: 4px;
  flex-shrink: 0;
}

.hk-banner.is-hidden {
  display: none;
}

/* Layout */
.hk-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  padding: 8px 0 48px;
  min-width: 0;
}

@media (min-width: 961px) {
  .hk-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 32px;
  }
}

.hk-sidebar {
  position: static;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.hk-sidebar::-webkit-scrollbar {
  display: none;
}

@media (min-width: 961px) {
  .hk-sidebar {
    position: sticky;
    top: calc(var(--hk-header-h) + 24px);
    overflow-x: visible;
  }
}

.hk-sidebar-title {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--hk-text-high);
}

.hk-sidebar-nav {
  display: inline-flex;
  flex-direction: row;
  gap: 8px;
  padding-bottom: 8px;
}

@media (min-width: 961px) {
  .hk-sidebar-nav {
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    width: auto;
  }
}

.hk-sidebar-link {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-size: 0.875rem;
  color: var(--hk-text-high);
  text-decoration: none;
  border: 1px solid var(--hk-border-low);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

@media (min-width: 961px) {
  .hk-sidebar-link {
    padding: 6px 20px 6px 0;
    font-size: 1rem;
    text-decoration: underline;
    text-underline-offset: 4px;
    border: none;
    border-radius: 0;
    white-space: normal;
  }
}

.hk-sidebar-link:hover,
.hk-sidebar-link.is-active {
  color: #fff;
}

.hk-sidebar-link.is-active::before {
  display: none;
}

@media (min-width: 961px) {
  .hk-sidebar-link.is-active::before {
    display: block;
    content: '';
    position: absolute;
    inset-block: 4px;
    inset-inline-end: 0;
    width: 3px;
    border-radius: 999px;
    background: var(--hk-accent-line);
  }
}

.hk-sidebar-link.is-active {
  background: var(--hk-bg-chip);
  border-color: var(--hk-border);
}

@media (min-width: 961px) {
  .hk-sidebar-link.is-active {
    background: transparent;
    border-color: transparent;
  }
}

/* Content cards */
.hk-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.hk-card {
  background: var(--hk-bg-elevated);
  border: 1px solid var(--hk-border-low);
  border-radius: 16px;
  padding: clamp(16px, 4vw, 24px);
  min-width: 0;
  overflow-wrap: anywhere;
}

.hk-card h2,
.hk-card h1 {
  margin: 0 0 16px;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.hk-card p,
.hk-card li {
  margin: 0;
  color: var(--hk-text-med);
  font-size: 0.9375rem;
}

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

.hk-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.hk-list-item .material-icon {
  color: var(--hk-text-med);
  font-size: 20px;
}

/* Documents table */
.hk-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.hk-table {
  width: 100%;
  border-collapse: collapse;
}

.hk-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--hk-border-low);
  font-size: 0.875rem;
  color: var(--hk-text-med);
  vertical-align: middle;
}

.hk-table td:first-child {
  width: 40px;
}

.hk-table .material-icon {
  font-size: 20px;
  color: var(--hk-text-med);
}

/* Accordion */
.hk-accordion {
  border-top: 1px solid var(--hk-border-low);
}

.hk-accordion-item + .hk-accordion-item {
  border-top: 1px solid var(--hk-border-low);
}

.hk-accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0;
  text-align: start;
  color: var(--hk-text-high);
  font-size: 0.9375rem;
  font-weight: 600;
}

.hk-accordion-trigger > span:first-child {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hk-accordion-trigger .material-icon {
  color: var(--hk-text-med);
  transition: transform 0.2s;
}

.hk-accordion-item.is-open .hk-accordion-trigger .material-icon {
  transform: rotate(180deg);
}

.hk-accordion-panel {
  display: none;
  padding: 0 0 18px;
  color: var(--hk-text-med);
  font-size: 0.875rem;
}

.hk-accordion-item.is-open .hk-accordion-panel {
  display: block;
}

/* Fees table */
.hk-fee-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hk-border-low);
  font-size: 0.875rem;
  flex-wrap: wrap;
}

.hk-fee-row:last-child {
  border-bottom: none;
}

.hk-fee-name {
  color: var(--hk-text-med);
}

.hk-fee-value {
  color: var(--hk-text-high);
  font-weight: 600;
  white-space: nowrap;
}

/* Page options */
.hk-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  color: var(--hk-text-med);
  font-size: 0.875rem;
  cursor: pointer;
}

/* Other services carousel */
.hk-services-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.hk-services-nav {
  display: flex;
  gap: 8px;
}

.hk-service-card {
  min-width: 260px;
  padding: 16px;
  border-radius: 16px;
  background: var(--hk-bg-elevated);
  border: 1px solid var(--hk-border-low);
  scroll-snap-align: start;
}

.hk-service-card h3 {
  margin: 0 0 6px;
  font-size: 0.9375rem;
}

.hk-service-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--hk-text-low);
}

.hk-service-card .hk-popular {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  color: var(--hk-text-low);
}

.hk-services-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Feedback */
.hk-feedback {
  text-align: center;
  padding: 24px 0 0;
  border-top: 1px solid var(--hk-border-low);
  margin-top: 16px;
}

.hk-feedback p {
  margin: 0 0 12px;
  color: var(--hk-text-med);
  font-size: 0.875rem;
}

/* Support cards */
.hk-support-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 561px) {
  .hk-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hk-support-card {
  padding: 16px;
  border-radius: 16px;
  background: var(--hk-bg-elevated);
  border: 1px solid var(--hk-border-low);
  text-align: start;
  cursor: pointer;
  transition: border-color 0.2s;
}

.hk-support-card:hover {
  border-color: var(--hk-border);
}

.hk-support-card .material-icon {
  font-size: 22px;
  color: var(--hk-primary-soft);
  margin-bottom: 8px;
}

.hk-support-card h3 {
  margin: 0 0 6px;
  font-size: 0.9375rem;
}

.hk-support-card p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--hk-text-low);
}

/* Footer */
.hk-footer {
  border-top: 1px solid var(--hk-border-low);
  padding: 40px 0 24px;
  background: #111;
}

.hk-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 561px) {
  .hk-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 961px) {
  .hk-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.hk-footer-col h4 {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  color: var(--hk-text-high);
  font-weight: 600;
}

.hk-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hk-footer-col li {
  margin-bottom: 8px;
}

.hk-footer-col a {
  font-size: 0.75rem;
  color: var(--hk-text-low);
}

.hk-footer-col a:hover {
  color: var(--hk-text-med);
}

.hk-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--hk-border-low);
  font-size: 0.75rem;
  color: var(--hk-text-low);
}

.hk-scroll-top {
  position: fixed;
  inset-inline-start: 24px;
  inset-block-end: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hk-bg-chip);
  border: 1px solid var(--hk-border);
  color: var(--hk-text-high);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.hk-scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.hk-chatbot-wrap {
  position: fixed;
  inset-inline-start: 24px;
  inset-block-end: 80px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hk-chatbot-label {
  padding: 8px 14px;
  border-radius: 999px;
  background: #111;
  border: 1px solid var(--hk-border);
  color: var(--hk-text-high);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.hk-chatbot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #e7c5ca, #7d1d36 55%, #35121b);
  box-shadow: 0 8px 24px rgba(155, 38, 69, 0.35);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .hk-divider {
    display: block;
  }

  .hk-btn-primary--lg {
    min-height: 56px;
    font-size: 1.125rem;
    padding: 16px 32px;
  }
}

@media (max-width: 768px) {
  .hk-header .hk-container {
    width: 100%;
    padding-inline: 12px;
  }

  .hk-header-end {
    gap: 8px;
  }

  .hk-header-end .hk-icon-btn {
    display: none;
  }

  .hk-header-end .hk-btn-primary:not(.hk-btn-primary--lg) {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .hk-logo img {
    height: 30px;
  }

  .hk-breadcrumb-actions {
    display: none;
  }

  .hk-breadcrumb-list {
    font-size: 0.75rem;
  }

  .hk-hero {
    padding-top: 16px;
  }

  .hk-hero-cta {
    padding: 16px 0 24px;
  }

  .hk-btn-primary--lg {
    min-height: 58px;
    padding: 18px 24px;
    font-size: 1.1875rem;
    border-radius: 14px;
  }

  .hk-banner {
    padding: 14px;
    margin-bottom: 20px;
  }

  .hk-card {
    border-radius: 12px;
  }

  .hk-table td {
    padding: 12px 8px;
    font-size: 0.8125rem;
  }

  .hk-service-card {
    min-width: min(260px, 78vw);
  }

  .hk-chatbot-wrap {
    inset-inline-start: 16px;
    inset-block-end: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  .hk-scroll-top {
    inset-inline-start: 16px;
    inset-block-end: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  .hk-chatbot-label {
    display: none;
  }

  main {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

@media (min-width: 769px) {
  .hk-header-end .hk-icon-btn {
    display: inline-flex;
  }
}
