/* ==========================================================================
   site.css — Kayan Legal Marketing Site
   All layout, component, and responsive styles.
   Depends on: tokens.css
   ========================================================================== */

/* ─── Container ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--kl-container);
  margin: 0 auto;
  padding: 0 var(--kl-s-8);
}

/* ─── Scroll-reveal ─────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--kl-dur-slow) var(--kl-ease-out),
    transform var(--kl-dur-slow) var(--kl-ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Accent span ───────────────────────────────────────────────────────── */
.accent {
  color: var(--kl-teal);
  font-style: italic;
  font-weight: inherit;
}
html[lang="ar"] .accent {
  font-style: normal;
  font-weight: 900;
}

/* ─── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--kl-s-2);
  height: 44px;
  padding: 0 var(--kl-s-5);
  border-radius: var(--kl-r-md);
  font-family: inherit;
  font-size: var(--kl-fs-body);
  font-weight: var(--kl-fw-semibold);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--kl-dur-fast) var(--kl-ease),
    transform var(--kl-dur-fast) var(--kl-ease);
}
.btn:active { transform: translateY(1px); }
.btn:hover  { text-decoration: none; }

.btn--primary { background: var(--kl-crimson); color: #fff; }
.btn--primary:hover { background: var(--kl-crimson-700); }

.btn--ghost {
  background: transparent;
  color: var(--kl-teal);
  border: 1.5px solid var(--kl-border);
}
.btn--ghost:hover { background: var(--kl-card); }

/* ─── Pills ─────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--kl-s-2);
  height: 28px;
  padding: 0 var(--kl-s-3);
  border: 1px solid var(--kl-border);
  border-radius: var(--kl-r-pill);
  font-size: var(--kl-fs-small);
  font-weight: var(--kl-fw-medium);
  background: var(--kl-card);
  color: var(--kl-fg-1);
}
.pill--dark {
  background: var(--kl-ink);
  color: #fff;
  border-color: var(--kl-ink);
}

/* ─── Icon sizes ────────────────────────────────────────────────────────── */
.icon     { width: 20px; height: 20px; stroke: currentColor; flex-shrink: 0; }
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }


/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid transparent;
  transition:
    border-color var(--kl-dur-base) var(--kl-ease),
    backdrop-filter var(--kl-dur-base) var(--kl-ease);
}
.nav.scrolled {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--kl-border);
}

.nav__inner {
  height: var(--kl-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand */
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav__brand:hover { text-decoration: none; }
.nav__brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.nav__brand-ar {
  font-family: var(--kl-ar-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--kl-teal);
  line-height: 1;
}
.nav__brand-en {
  font-family: var(--kl-en-text);
  font-weight: 600;
  font-size: 10px;
  color: var(--kl-teal-300);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  direction: ltr;
  text-align: left;
}

/* Desktop links */
.nav__links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}
.nav__link {
  color: var(--kl-fg-1);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--kl-dur-fast) var(--kl-ease);
}
.nav__link:hover { color: var(--kl-crimson); text-decoration: none; }
.nav__divider { color: var(--kl-border-2); user-select: none; }

/* Actions */
.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language toggle */
.nav__lang {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--kl-r-pill);
  border: 1.5px solid var(--kl-border);
  background: transparent;
  cursor: pointer;
  font-family: var(--kl-en-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--kl-fg-2);
  transition:
    border-color var(--kl-dur-fast) var(--kl-ease),
    color var(--kl-dur-fast) var(--kl-ease);
}
.nav__lang:hover {
  border-color: var(--kl-teal);
  color: var(--kl-teal);
}

/* Nav CTA */
.nav__cta {
  height: 40px;
  padding: 0 18px;
  font-size: 15px;
}

/* Hamburger — hidden on desktop */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--kl-teal);
  border-radius: 2px;
  transition:
    transform var(--kl-dur-base) var(--kl-ease),
    opacity var(--kl-dur-fast) var(--kl-ease);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 32px 24px;
  border-top: 1px solid var(--kl-border);
  background: rgba(248, 250, 252, 0.98);
}
.nav__mobile.open { display: flex; }
.nav__mobile-link {
  padding: 11px 0;
  color: var(--kl-fg-1);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--kl-border);
}
.nav__mobile-link:last-of-type { border-bottom: 0; }
.nav__mobile-link:hover { color: var(--kl-crimson); text-decoration: none; }
.nav__mobile .btn {
  margin-top: 12px;
  align-self: flex-start;
}


/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--kl-page);
  padding: 120px 0 110px;
}

/* Organic background loop */
.hero__loop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--kl-s-16);
  align-items: center;
}

/* Text column */
.hero__text {
  display: flex;
  flex-direction: column;
  gap: var(--kl-s-6);
}
.hero__pill { align-self: flex-start; }

.hero__h1 {
  font-family: var(--kl-ar-display);
  font-weight: 800;
  font-size: 60px;
  line-height: 1.18;
  color: var(--kl-fg-1);
  letter-spacing: 0;
  margin: 0;
}
html[lang="en"] .hero__h1 {
  font-family: var(--kl-en-display);
  font-size: 58px;
  letter-spacing: -0.025em;
  line-height: 1.06;
}
html[lang="en"] .hero__h1 em { font-style: italic; }

.hero__body {
  font-size: 18px;
  line-height: 1.85;
  color: var(--kl-fg-2);
  max-width: 540px;
  margin: 0;
}
html[lang="en"] .hero__body {
  font-size: 17px;
  line-height: 1.7;
}

.hero__ctas {
  display: flex;
  gap: var(--kl-s-3);
  align-items: center;
  flex-wrap: wrap;
  margin-top: var(--kl-s-2);
}

/* Visual column */
.hero__visual {
  position: relative;
  height: 480px;
}

/* Dashed SVG connector */
.hero__connector {
  position: absolute;
  top: 80px;
  inset-inline-end: 40px;
  width: 200px;
  height: 160px;
  pointer-events: none;
}

/* ─ Floating cards ─ */
.hero-card {
  position: absolute;
  background: var(--kl-card);
  border: 1px solid var(--kl-border);
  border-radius: var(--kl-r-xl);
  padding: 16px 18px;
  box-shadow: var(--kl-shadow-1);
  font-size: 14px;
}

/* Card 1: Active contracts */
.hero-card--contracts {
  inset-inline-start: 0;
  top: 20px;
  width: 268px;
}
.hero-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-card__icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--kl-teal-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--kl-teal);
  flex-shrink: 0;
}
.hero-card__title {
  font-weight: 600;
  font-size: 14px;
  color: var(--kl-fg-1);
}
.hero-card__count {
  margin-inline-start: auto;
  font-family: var(--kl-en-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--kl-teal);
}
.hero-card__rows { display: flex; flex-direction: column; }
.hero-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  border-top: 1px solid var(--kl-border);
  font-size: 12px;
  color: var(--kl-fg-1);
}
.hero-card__row:first-child { border-top: 0; }
.hero-card__status { color: var(--kl-fg-2); }

/* Deadline pill */
.hero__deadline {
  position: absolute;
  inset-inline-end: 10px;
  top: 165px;
}

/* Card 2: Compliance */
.hero-card--compliance {
  inset-inline-end: 0;
  top: 208px;
  width: 268px;
}
.hero-card__compliance-inner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.hero-card__warn-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--kl-warning-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--kl-warning);
  flex-shrink: 0;
}
.hero-card__sub {
  font-size: 12px;
  color: var(--kl-fg-2);
  margin-top: 3px;
}

/* Card 3: Retainer */
.hero-card--retainer {
  inset-inline-start: 24px;
  bottom: 16px;
  width: 268px;
}
.hero-card__retainer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.hero-card__hours {
  font-family: var(--kl-en-text);
  font-size: 12px;
  color: var(--kl-fg-2);
  direction: ltr;
  unicode-bidi: isolate;
}
.hero-card__progress {
  height: 6px;
  border-radius: 999px;
  background: var(--kl-page-2);
  overflow: hidden;
  margin-bottom: 8px;
}
.hero-card__progress-fill {
  height: 100%;
  background: var(--kl-teal);
  border-radius: 999px;
}


/* ==========================================================================
   LOGO STRIP
   ========================================================================== */
.logos {
  border-top: 1px solid var(--kl-border);
  border-bottom: 1px solid var(--kl-border);
  background: var(--kl-page);
}
.logos__inner {
  padding: 26px var(--kl-s-8);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.logos__label {
  font-size: 11px;
  color: var(--kl-fg-3);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}
.logos__items {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.logos__item {
  font-family: var(--kl-ar-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--kl-teal-300);
  white-space: nowrap;
  text-decoration: none;
  transition: color var(--kl-dur-fast) var(--kl-ease);
}
.logos__item:hover {
  color: var(--kl-crimson);
  text-decoration: none;
}
html[lang="en"] .logos__item {
  font-family: var(--kl-en-display);
  font-size: 14px;
}
/* Some items are always English (DIFC, ICC) */
.logos__item--en {
  font-family: var(--kl-en-display);
  font-size: 14px;
}


/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  padding: var(--kl-s-32) 0 var(--kl-s-20);
  background: var(--kl-page);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--kl-s-8);
  margin-bottom: 52px;
  flex-wrap: wrap;
}
.section-header__h2 {
  font-family: var(--kl-ar-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.2;
  max-width: 560px;
  margin: 0;
  color: var(--kl-fg-1);
  letter-spacing: 0;
}
html[lang="en"] .section-header__h2 {
  font-family: var(--kl-en-display);
  font-size: 38px;
  letter-spacing: -0.015em;
  line-height: 1.18;
}
.section-header__body {
  font-size: 16px;
  color: var(--kl-fg-2);
  line-height: 1.85;
  max-width: 380px;
  margin: 0;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--kl-card);
  border: 1px solid var(--kl-border);
  border-radius: var(--kl-r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
  transition:
    border-color var(--kl-dur-base) var(--kl-ease),
    box-shadow var(--kl-dur-base) var(--kl-ease);
}
.service-card:hover {
  border-color: var(--kl-teal-300);
  box-shadow: var(--kl-shadow-2);
}
.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--kl-teal-100);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--kl-teal);
}
.service-card__number {
  font-family: var(--kl-en-text);
  font-size: 13px;
  color: var(--kl-fg-3);
  letter-spacing: 0.08em;
}
.service-card__title {
  font-family: var(--kl-ar-display);
  font-weight: 800;
  font-size: 22px;
  color: var(--kl-fg-1);
  line-height: 1.3;
  margin: 0;
}
html[lang="en"] .service-card__title {
  font-family: var(--kl-en-display);
  font-size: 19px;
  letter-spacing: -0.01em;
}
.service-card__desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--kl-fg-2);
  margin: 0;
  flex: 1;
}
.service-card__link {
  color: var(--kl-teal);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--kl-dur-fast) var(--kl-ease);
}
.service-card__link:hover {
  text-decoration: none;
  gap: 10px;
}


/* ==========================================================================
   SECTORS
   ========================================================================== */
.sectors {
  padding: 88px 0;
  background: var(--kl-page);
  border-top: 1px solid var(--kl-border);
}
.sectors__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 24px;
  flex-wrap: wrap;
}
.sectors__h2 {
  font-family: var(--kl-ar-display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  color: var(--kl-fg-1);
}
html[lang="en"] .sectors__h2 {
  font-family: var(--kl-en-display);
  letter-spacing: -0.015em;
}
.sectors__sub {
  font-family: var(--kl-en-text) !important;
  direction: ltr;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.sectors__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--kl-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--kl-card);
}
.sector-item {
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-inline-start: 1px solid var(--kl-border);
  text-align: center;
  transition: background var(--kl-dur-fast) var(--kl-ease);
}
.sector-item:first-child { border-inline-start: 0; }
.sector-item:hover { background: var(--kl-page); }
.sector-item__icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--kl-page-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--kl-teal-300);
}
.sector-item__name-primary {
  font-family: var(--kl-ar-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--kl-fg-1);
  line-height: 1.3;
}
html[lang="en"] .sector-item__name-primary {
  font-family: var(--kl-en-display);
  font-size: 14px;
}
.sector-item__name-secondary {
  font-family: var(--kl-en-text);
  font-size: 11px;
  color: var(--kl-fg-3);
  direction: ltr;
  letter-spacing: 0.04em;
}
html[lang="en"] .sector-item__name-secondary {
  font-family: var(--kl-ar-text);
  font-size: 12px;
}


/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.how {
  padding: 100px 0;
  background: var(--kl-page-2);
  border-top: 1px solid var(--kl-border);
  border-bottom: 1px solid var(--kl-border);
}
.how__h2 {
  font-family: var(--kl-ar-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  margin: 0 0 56px;
  max-width: 720px;
  color: var(--kl-fg-1);
}
html[lang="en"] .how__h2 {
  font-family: var(--kl-en-display);
  font-size: 36px;
  letter-spacing: -0.015em;
}

.how__steps-wrap {
  position: relative;
}
.how__connector {
  position: absolute;
  top: 28px;
  inset-inline-start: 9%;
  width: 82%;
  height: 8px;
  pointer-events: none;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}
.how-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.how-step__number {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--kl-page);
  border: 1px solid var(--kl-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--kl-en-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--kl-teal);
  flex-shrink: 0;
}
.how-step__title {
  font-family: var(--kl-ar-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--kl-fg-1);
  margin: 0;
  line-height: 1.3;
}
html[lang="en"] .how-step__title {
  font-family: var(--kl-en-display);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.how-step__desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--kl-fg-2);
  margin: 0;
  max-width: 320px;
}


/* ==========================================================================
   QUOTE
   ========================================================================== */
.quote {
  padding: 120px 0;
  background: var(--kl-page);
}
.quote__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.quote__mark {
  font-family: var(--kl-ar-display);
  font-size: 88px;
  color: var(--kl-teal-300);
  line-height: 0.6;
  display: block;
  height: 44px;
  margin-bottom: 8px;
}
.quote__text {
  margin: 20px 0 36px;
  font-family: var(--kl-ar-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.5;
  color: var(--kl-fg-1);
}
html[lang="en"] .quote__text {
  font-family: var(--kl-en-display);
  font-size: 25px;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.quote__author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--kl-teal-100);
  color: var(--kl-teal);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--kl-en-display);
}
.quote__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--kl-fg-1);
  text-align: start;
}
.quote__role {
  font-size: 13px;
  color: var(--kl-fg-2);
  text-align: start;
}


/* ==========================================================================
   FOOTER CTA
   ========================================================================== */
.footer-cta {
  background: var(--kl-page-2);
  border-top: 1px solid var(--kl-border);
}
.footer-cta__inner {
  padding: 96px var(--kl-s-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-cta__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 640px;
}
.footer-cta__h2 {
  font-family: var(--kl-ar-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
  color: var(--kl-fg-1);
}
html[lang="en"] .footer-cta__h2 {
  font-family: var(--kl-en-display);
  font-size: 36px;
  letter-spacing: -0.015em;
}
.footer-cta__sub {
  font-size: 15px;
  color: var(--kl-fg-2);
  margin: 0;
  direction: ltr;
  text-align: start;
}
html[lang="ar"] .footer-cta__sub {
  font-family: var(--kl-ar-text);
  direction: rtl;
  text-align: start;
}
.footer-cta__btn {
  height: 52px;
  font-size: 17px;
  padding: 0 28px;
  flex-shrink: 0;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--kl-page);
  border-top: 1px solid var(--kl-border);
}
.footer__grid {
  padding: 64px var(--kl-s-8) 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 300px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--kl-ar-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--kl-teal);
}
.footer__logo:hover { text-decoration: none; }
.footer__tagline {
  font-size: 14px;
  color: var(--kl-fg-2);
  line-height: 1.85;
  margin: 0;
}
.footer__contact-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--kl-fg-2);
  font-size: 14px;
}
.footer__contact-icon { color: var(--kl-teal); flex-shrink: 0; }
.footer__contact-link {
  color: var(--kl-fg-2);
  text-decoration: none;
  font-family: var(--kl-en-text);
  direction: ltr;
  unicode-bidi: isolate;
  transition: color var(--kl-dur-fast) var(--kl-ease);
}
.footer__contact-link:hover { color: var(--kl-teal); text-decoration: none; }

/* Link columns */
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col-title {
  font-size: 11px;
  color: var(--kl-fg-2);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer__col-link {
  color: var(--kl-fg-1);
  font-size: 15px;
  text-decoration: none;
  transition: color var(--kl-dur-fast) var(--kl-ease);
}
.footer__col-link:hover { color: var(--kl-teal); text-decoration: none; }

/* Bottom bar */
.footer__bottom { border-top: 1px solid var(--kl-border); }
.footer__bottom-inner {
  padding: 20px var(--kl-s-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--kl-fg-2);
  font-family: var(--kl-en-text);
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a {
  color: var(--kl-fg-2);
  text-decoration: none;
  transition: color var(--kl-dur-fast) var(--kl-ease);
}
.footer__bottom-links a:hover { color: var(--kl-teal); text-decoration: none; }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* ─ Tablet (≤1100px) ─ */
@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__visual {
    height: 340px;
    order: -1;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }
  .hero__text { align-items: flex-start; }
  .hero__h1 { font-size: 48px; }
  html[lang="en"] .hero__h1 { font-size: 44px; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .sectors__grid  { grid-template-columns: repeat(3, 1fr); }
  .sector-item:nth-child(4) { border-inline-start: 0; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { max-width: 100%; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* ─ Mobile (≤768px) ─ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .nav__links { display: none; }
  .nav__cta   { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 72px 0 60px; }
  .hero__h1 { font-size: 38px; }
  html[lang="en"] .hero__h1 { font-size: 36px; }
  .hero__body { font-size: 16px; }
  .hero__visual { height: 300px; }
  .hero-card--contracts { width: 220px; }
  .hero-card--compliance { width: 220px; }
  .hero-card--retainer  { width: 220px; inset-inline-start: 0; }

  .section-header { flex-direction: column; align-items: flex-start; }
  .section-header__h2 { font-size: 32px; }
  .section-header__body { max-width: 100%; }
  .services__grid { grid-template-columns: 1fr; }

  .sectors__grid { grid-template-columns: repeat(2, 1fr); }
  .sector-item {
    border-inline-start: 0;
    border-top: 1px solid var(--kl-border);
  }
  .sector-item:nth-child(1),
  .sector-item:nth-child(2) { border-top: 0; }
  .sector-item:nth-child(odd)  { border-inline-start: 0; }
  .sector-item:nth-child(even) { border-inline-start: 1px solid var(--kl-border); }

  .how { padding: 72px 0; }
  .how__h2 { font-size: 30px; margin-bottom: 40px; }
  .how__steps { grid-template-columns: 1fr; }
  .how__connector { display: none; }

  .quote { padding: 80px 0; }
  .quote__text { font-size: 22px; }

  .footer-cta__inner { flex-direction: column; align-items: flex-start; }
  .footer-cta__h2 { font-size: 30px; }
  .footer-cta__btn { width: 100%; justify-content: center; }

  .footer__cols { grid-template-columns: repeat(2, 1fr); }

  .logos__items { gap: 20px; }
}

/* ─ Small mobile (≤480px) ─ */
@media (max-width: 480px) {
  .hero__h1 { font-size: 32px; }
  html[lang="en"] .hero__h1 { font-size: 30px; }
  .hero__visual { display: none; }
  .footer__cols { grid-template-columns: 1fr; }
  .sectors__grid { grid-template-columns: repeat(2, 1fr); }
}


/* ==========================================================================
   PAGE BANNER (shared across sub-pages)
   ========================================================================== */
.page-banner {
  padding: 140px 0 72px;
  background: var(--kl-page-2);
  border-bottom: 1px solid var(--kl-border);
}
.page-banner__inner {
  max-width: 760px;
}
.page-banner__pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--kl-r-pill);
  border: 1px solid var(--kl-border);
  background: var(--kl-card);
  font-size: var(--kl-fs-micro);
  font-weight: var(--kl-fw-semibold);
  color: var(--kl-fg-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--kl-s-4);
}
.page-banner__h1 {
  font-family: var(--kl-ar-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1.25;
  color: var(--kl-fg-1);
  margin: 0 0 var(--kl-s-5);
}
html[lang="en"] .page-banner__h1 {
  font-family: var(--kl-en-display);
  font-size: 44px;
  letter-spacing: -0.02em;
}
.page-banner__body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--kl-fg-2);
  margin: 0;
  max-width: 640px;
}
html[lang="en"] .page-banner__body { font-family: var(--kl-en-text); }

@media (max-width: 768px) {
  .page-banner { padding: 104px 0 56px; }
  .page-banner__h1 { font-size: 34px; }
  html[lang="en"] .page-banner__h1 { font-size: 30px; }
}


/* ==========================================================================
   SERVICES DETAIL PAGE
   ========================================================================== */
.services-detail {
  padding: 80px 0 100px;
}
.services-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.service-detail-card {
  background: var(--kl-card);
  border: 1px solid var(--kl-border);
  border-radius: var(--kl-r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow var(--kl-dur-base) var(--kl-ease), border-color var(--kl-dur-base) var(--kl-ease);
}
.service-detail-card:hover {
  box-shadow: 0 8px 32px rgba(15,31,61,0.08);
  border-color: var(--kl-border-2);
}
.service-detail-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--kl-r-md);
  background: var(--kl-page-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kl-teal);
  flex-shrink: 0;
}
.service-detail-card__title {
  font-family: var(--kl-ar-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--kl-fg-1);
  margin: 0;
  line-height: 1.35;
}
html[lang="en"] .service-detail-card__title {
  font-family: var(--kl-en-display);
  font-size: 18px;
  letter-spacing: -0.01em;
}
.service-detail-card__desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--kl-fg-2);
  margin: 0;
  flex: 1;
}
.service-detail-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: var(--kl-fw-semibold);
  color: var(--kl-teal);
  text-decoration: none;
  transition: gap var(--kl-dur-fast) var(--kl-ease);
}
.service-detail-card__cta:hover { gap: 10px; text-decoration: none; }

@media (max-width: 768px) {
  .services-detail__grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   COMPLIANCE GUIDE PAGE
   ========================================================================== */
.compliance-guide {
  padding: 80px 0 100px;
}
.compliance-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.guide-card {
  background: var(--kl-card);
  border: 1px solid var(--kl-border);
  border-radius: var(--kl-r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow var(--kl-dur-base) var(--kl-ease);
}
.guide-card:hover { box-shadow: 0 8px 32px rgba(15,31,61,0.08); }
.guide-card__icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--kl-r-md);
  background: var(--kl-page-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kl-teal);
  flex-shrink: 0;
}
.guide-card__title {
  font-family: var(--kl-ar-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--kl-fg-1);
  margin: 0;
  line-height: 1.3;
}
html[lang="en"] .guide-card__title {
  font-family: var(--kl-en-display);
  font-size: 17px;
  letter-spacing: -0.01em;
}
.guide-card__body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--kl-fg-2);
  margin: 0;
}
.guide-card__check {
  color: var(--kl-success);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .compliance-guide__grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   FAQ PAGE — ACCORDION
   ========================================================================== */
.faq-section {
  padding: 80px 0 100px;
}
.faq-section__list {
  margin-top: 48px;
  max-width: 820px;
}
.accordion-item {
  border-bottom: 1px solid var(--kl-border);
}
.accordion-item:first-child { border-top: 1px solid var(--kl-border); }
.accordion-item__trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: start;
  font-family: inherit;
}
.accordion-item__question {
  font-family: var(--kl-ar-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--kl-fg-1);
  line-height: 1.5;
  flex: 1;
}
html[lang="en"] .accordion-item__question {
  font-family: var(--kl-en-display);
  font-size: 16px;
}
.accordion-item__chevron {
  color: var(--kl-fg-3);
  flex-shrink: 0;
  transition: transform var(--kl-dur-base) var(--kl-ease-out);
}
.accordion-item.open .accordion-item__chevron {
  transform: rotate(180deg);
}
.accordion-item__body {
  display: none;
  padding: 0 0 24px;
}
.accordion-item.open .accordion-item__body {
  display: block;
}
.accordion-item__answer {
  font-size: 15px;
  line-height: 1.9;
  color: var(--kl-fg-2);
  margin: 0;
  max-width: 720px;
}


/* ==========================================================================
   LEGAL PAGES (Privacy / Terms)
   ========================================================================== */
.legal-content {
  padding: 72px 0 100px;
}
.legal-content__inner {
  max-width: 720px;
}
.legal-content p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--kl-fg-2);
  margin: 0 0 20px;
}
html[lang="en"] .legal-content p { font-family: var(--kl-en-text); }
.legal-content h2 {
  font-family: var(--kl-ar-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--kl-fg-1);
  margin: 40px 0 12px;
}
html[lang="en"] .legal-content h2 {
  font-family: var(--kl-en-display);
  font-size: 20px;
  letter-spacing: -0.01em;
}
