﻿:root {
  --gold: #1c5e8c;
  --gold-deep: #144878;
  --gold-rich: #2a78b0;
  --gold-light: #1c5e8c;
  --gold-pale: #111111;
  --navy: #111111;
  --navy-mid: #191919;
  --navy-soft: #241d16;
  --navy-rgb: 17, 17, 17;
  --blue-rgb: 38, 38, 38;
  --accent-rgb: 28, 94, 140;
  --cream-rgb: 255, 255, 255;
  --white-rgb: 255, 255, 255;
  --ink: #111111;
  --ink-soft: #111111;
  --border: rgba(28, 94, 140, 0.16);
  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.96) 100%);
  --panel-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.94) 100%);
  --shadow: 0 22px 54px rgba(0, 0, 0, 0.1);
  --layout-max: 1320px;
  --layout-gutter: clamp(32px, 6vw, 96px);
  --section-space: clamp(72px, 8vw, 96px);
  --section-gap: clamp(24px, 3vw, 32px);
  --card-padding: clamp(24px, 3vw, 36px);
  --hero-height: clamp(560px, 74vh, 700px);
  --hero-panel-height: clamp(500px, 68vh, 620px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top center, rgba(28, 94, 140, 0.14) 0%, rgba(28, 94, 140, 0.02) 26%, transparent 54%),
    linear-gradient(180deg, #181411 0%, #111111 100%);
}

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  line-height: 1.75;
}

.page-shell {
  width: min(var(--layout-max), calc(100% - var(--layout-gutter)));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  max-width: 100vw;
  overflow-x: clip;
  background: #ffffff;
  border-bottom: 1px solid rgba(28, 94, 140, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.topbar-inner {
  width: 100%;
  margin: 0;
  padding: 0 24px;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.brand {
  position: relative;
  display: block;
  width: clamp(216px, 19vw, 284px);
  aspect-ratio: 1345 / 350;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  background: url("./kaya-logo-web-transparent-new.png") left center / contain no-repeat;
  filter: none;
  mix-blend-mode: normal;
}

.brand-mark,
.brand-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-title {
  color: #111111;
  font-family: "Playfair Display", serif;
  font-size: 29px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.brand-sub {
  color: #111111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.topbar-links {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
}

.topbar-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
}

.hamburger,
.mobile-nav {
  display: none;
}

.hamburger {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  padding: 0;
  background: rgba(var(--white-rgb), 0.78);
  border: 1px solid rgba(var(--blue-rgb), 0.14);
  box-shadow: 0 12px 24px rgba(var(--navy-rgb), 0.10);
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy);
  display: block;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 72px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  background: rgba(var(--cream-rgb), 0.96);
  backdrop-filter: blur(16px);
  padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-lang {
  padding-bottom: 12px;
  border-bottom: 0.5px solid var(--border);
}

.mobile-nav a {
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border);
  color: var(--navy);
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 600;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.15;
  text-decoration: none;
}

.mobile-nav a.active {
  color: var(--navy);
  font-weight: 600;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(var(--navy-rgb), 0.08);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  min-width: 38px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  font-family: "DM Sans", sans-serif;
}

.lang-btn:hover {
  transform: translateY(-1px);
}

.lang-btn.active {
  background: linear-gradient(135deg, #f1f1f1, #dddddd);
  color: #111111;
  box-shadow: none;
}

.topbar-links a {
  text-decoration: none;
  color: #111111;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding: 4px 3px;
  border-radius: 6px;
  transition: color 0.18s ease, background 0.18s ease;
}

html[lang="en"] .topbar-links {
  justify-content: space-between;
  gap: 12px;
}

html[lang="en"] .topbar-links a,
html[lang="ru"] .topbar-links a,
html[lang="fa"] .topbar-links a {
  font-size: 15px;
  letter-spacing: -0.03em;
}

.topbar-links a:hover,
.topbar-links a.active {
  color: #000000;
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  background: linear-gradient(135deg, #2a2a2a, #111111);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.22);
}

.topbar-cta:hover {
  background: linear-gradient(135deg, #101010, #1b1b1b);
}

main {
  padding: 40px 0 var(--section-space);
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.98fr);
  gap: var(--section-gap);
  align-items: stretch;
  min-height: var(--hero-height);
}

.hero.hero-single {
  grid-template-columns: minmax(0, 1fr);
  min-height: auto;
}

.hero-cover {
  position: relative;
  height: calc(100vh - 86px);
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #8b6a53 0%, #9c795f 100%);
}

.hero-cover-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-cover-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroCoverSlideCycle 12s ease-in-out infinite;
  will-change: opacity;
}

.hero-cover-slide-1 {
  animation-delay: 0s;
}

.hero-cover-slide-2 {
  animation-delay: 6s;
}

@keyframes heroCoverSlideCycle {
  0% {
    opacity: 0;
  }

  8%,
  42% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

.hero-cover-backdrop,
.hero-cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-cover-backdrop {
  z-index: 0;
  object-fit: cover;
  object-position: center center;
  filter: blur(16px) brightness(1.02) saturate(1.08);
  transform: scale(1.08);
}

.hero-cover-photo {
  z-index: 1;
  object-fit: contain;
  object-position: center center;
}

.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(74, 54, 38, 0.02) 60%, rgba(74, 54, 38, 0.05) 100%);
}

.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(circle at center, transparent 0%, transparent 84%, rgba(90, 66, 46, 0.03) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero-cover-slide {
    animation: none;
    opacity: 0;
  }

  .hero-cover-slide-1 {
    opacity: 1;
  }
}

.hero-copy,
.hero-media,
.section-card,
.cta-band,
.quote-card,
.table-wrap {
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-height: var(--hero-panel-height);
  padding: var(--card-padding);
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}

.hero-copy-top {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
}

.hero-brand-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: clamp(220px, 26vw, 330px);
  padding: 0;
  margin: 4px 0 8px;
  border-radius: 32px;
  background: linear-gradient(135deg, #040404 0%, #16110c 100%);
  border: 1px solid rgba(28, 94, 140, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 22px 46px rgba(17, 17, 17, 0.12);
  overflow: hidden;
}

.hero-brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: scale(1.02);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(243, 248, 253, 0.92);
  border: 1px solid rgba(28, 94, 140, 0.18);
  color: #1c5e8c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6eb0e0, #1c5e8c);
  box-shadow: 0 0 0 4px rgba(28, 94, 140, 0.12);
}

.hero-copy h1 {
  font-size: clamp(40px, 4vw, 60px);
  color: var(--gold-pale);
  line-height: 1.08;
}

.hero-copy .lead,
.section-intro,
.muted {
  color: var(--ink-soft);
  font-weight: 500;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.fact-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(242, 247, 252, 0.94) 100%);
  border: 1px solid rgba(28, 94, 140, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.fact-label {
  color: #1c5e8c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.fact-card strong {
  display: block;
  color: var(--gold-pale);
  font-size: 16px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-rich), var(--gold-deep));
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(28, 94, 140, 0.16);
  color: var(--gold-pale);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: var(--hero-panel-height);
}

.hero-service-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(28, 94, 140, 0.2) 0%, transparent 28%),
    linear-gradient(135deg, #14110d 0%, #090807 100%);
}

.hero-service-stage::after {
  display: none;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.84);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.08) 0%, rgba(17, 17, 17, 0.26) 45%, rgba(17, 17, 17, 0.7) 100%),
    radial-gradient(circle at 80% 20%, rgba(28, 94, 140, 0.18), transparent 24%);
}

.hero-media-badge {
  position: absolute;
  right: 20px;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(24, 20, 17, 0.8);
  border: 1px solid rgba(28, 94, 140, 0.18);
  backdrop-filter: blur(8px);
}

.hero-media-badge strong {
  display: block;
  color: var(--gold-pale);
  font-size: 18px;
  margin-bottom: 6px;
}

.hero-media-badge span {
  color: rgba(42, 120, 176, 0.84);
  font-size: 14px;
  line-height: 1.65;
}

.service-stage-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.service-stage-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.service-stage-tag,
.service-stage-note,
.service-stage-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.service-stage-tag {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(42, 120, 176, 0.18);
  color: var(--gold-pale);
}

.service-stage-note {
  background: rgba(248, 248, 248, 0.88);
  border: 1px solid rgba(184, 184, 184, 0.28);
  color: #444444;
}

.service-stage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 14px;
}

.service-stage-card {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 247, 247, 0.92) 100%);
  border: 1px solid rgba(42, 120, 176, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.service-stage-card-primary {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 232px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(160deg, rgba(16, 16, 16, 0.88) 0%, rgba(36, 36, 36, 0.92) 100%);
}

.service-stage-step {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(12, 10, 8, 0.7);
  border: 1px solid rgba(42, 120, 176, 0.16);
  color: var(--gold-pale);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-stage-card strong {
  display: block;
  color: var(--gold-pale);
  font-size: 22px;
  line-height: 1.2;
}

.service-stage-card p {
  margin-top: 10px;
  color: rgba(66, 56, 43, 0.86);
  line-height: 1.65;
}

.service-stage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-stage-pills span {
  background: rgba(12, 10, 8, 0.44);
  border: 1px solid rgba(42, 120, 176, 0.14);
  color: rgba(246, 238, 220, 0.86);
}

.hero-service-stage .hero-media-badge {
  position: relative;
  inset: auto;
  margin-top: auto;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(42, 120, 176, 0.18);
}

.hero-service-stage .hero-media-badge strong {
  color: var(--navy);
}

.hero-service-stage .hero-media-badge span {
  color: var(--ink-soft);
}

.section {
  margin-top: 0;
}

.section-card {
  padding: var(--card-padding);
}

.value-card {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 4.6vw, 52px);
  background: linear-gradient(180deg, #ffffff 0%, rgba(248, 248, 248, 0.99) 100%);
}

.value-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.66) 0%, transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 46%);
  pointer-events: none;
}

.value-card::after {
  display: none;
}

.value-card > * {
  position: relative;
  z-index: 1;
}

.value-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(310px, 0.86fr);
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}

.value-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(28, 94, 140, 0.18);
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.78) 34%, rgba(247, 247, 247, 0.92) 100%);
  color: var(--navy);
  box-shadow: 0 14px 26px rgba(26, 20, 15, 0.08);
}

.value-icon-badge svg {
  width: 24px;
  height: 24px;
  display: block;
}

.value-icon-badge-compact {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.value-panel-top,
.value-section-head,
.value-belief-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.value-card-kicker,
.value-flow-kicker,
.value-story-kicker,
.value-outcome-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 94, 140, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(26, 20, 15, 0.05);
}

.value-card-intro {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.value-card-intro h2 {
  margin-top: 18px;
  max-width: 11ch;
  font-size: clamp(36px, 4.4vw, 58px);
  color: var(--navy);
  line-height: 0.98;
  text-wrap: balance;
}

.value-card-lead {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.84;
  font-weight: 500;
}

.value-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.value-tag-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 94, 140, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(26, 20, 15, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.value-tag-row span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(28, 94, 140, 1) 0%, rgba(20, 72, 120, 0.9) 100%);
  box-shadow: 0 0 0 4px rgba(28, 94, 140, 0.12);
}

.value-tag-row-compact {
  margin-top: 16px;
}

.value-tag-row-compact span {
  padding: 8px 12px;
  font-size: 12px;
}

.value-card-outcome {
  position: relative;
  align-self: end;
  max-width: none;
  padding: 28px clamp(22px, 3vw, 28px);
  border: 1px solid rgba(28, 94, 140, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 247, 247, 0.94) 100%);
  box-shadow: 0 24px 56px rgba(38, 29, 17, 0.1);
}

.value-card-outcome .value-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 17px;
}

.value-card-outcome::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  border-radius: 28px 28px 0 0;
  background: linear-gradient(90deg, rgba(28, 94, 140, 0.82) 0%, rgba(20, 72, 120, 0.44) 58%, rgba(20, 72, 120, 0) 100%);
}

.value-card-outcome strong {
  display: block;
  margin-top: 16px;
  color: var(--navy);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.value-card-outcome p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.82;
}

.value-feature-row {
  margin-top: 34px;
  padding-top: 0;
  border-top: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.value-glance-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.value-glance-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 22px 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(28, 94, 140, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 248, 248, 0.92) 100%);
  box-shadow: 0 16px 34px rgba(26, 20, 15, 0.05);
}

.value-glance-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, rgba(28, 94, 140, 0.88) 0%, rgba(20, 72, 120, 0.18) 100%);
}

.value-glance-label {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(28, 94, 140, 0.14);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-glance-card strong {
  display: block;
  margin-top: 14px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.34;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.03em;
}

.value-feature {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 24px 24px;
  border-radius: 24px;
  border: 1px solid rgba(28, 94, 140, 0.14);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(26, 20, 15, 0.06);
  backdrop-filter: blur(10px);
}

.value-feature .value-icon-badge {
  margin-bottom: 18px;
}

.value-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, rgba(28, 94, 140, 0.86) 0%, rgba(20, 72, 120, 0.18) 100%);
}

.value-feature:nth-child(1)::after,
.value-feature:nth-child(2)::after,
.value-feature:nth-child(3)::after {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(20, 72, 120, 0.52);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.value-feature:nth-child(1)::after {
  content: "01";
}

.value-feature:nth-child(2)::after {
  content: "02";
}

.value-feature:nth-child(3)::after {
  content: "03";
}

.value-feature strong {
  display: block;
  color: var(--navy);
  max-width: 12ch;
  font-size: 23px;
  line-height: 1.18;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.03em;
}

.value-feature p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.value-story {
  margin-top: 34px;
  padding-top: 0;
  border-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.value-about {
  position: relative;
  max-width: none;
  min-height: 100%;
  padding: clamp(26px, 3vw, 34px);
  border-radius: 30px;
  border: 1px solid rgba(28, 94, 140, 0.14);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 252, 252, 0.96) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 18px 40px rgba(26, 20, 15, 0.05);
}

.value-about::before {
  content: "";
  position: absolute;
  inset: 22px auto 22px 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(28, 94, 140, 0.92) 0%, rgba(20, 72, 120, 0.22) 100%);
}

.value-about h3 {
  margin-top: 16px;
  color: var(--navy);
  max-width: 14ch;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.04;
  text-wrap: balance;
}

.value-about p {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.9;
}

.value-quote {
  position: relative;
  margin: 22px 0 0;
  padding: 26px 26px 22px 32px;
  border-radius: 24px;
  border: 1px solid rgba(28, 94, 140, 0.14);
  background: linear-gradient(135deg, rgba(253, 253, 253, 0.98) 0%, rgba(248, 248, 248, 0.94) 100%);
  box-shadow: 0 16px 34px rgba(26, 20, 15, 0.04);
}

.value-quote::before {
  content: "“";
  position: absolute;
  top: 8px;
  left: 20px;
  color: rgba(28, 94, 140, 0.3);
  font-family: "Playfair Display", serif;
  font-size: 68px;
  line-height: 1;
}

.value-quote p {
  position: relative;
  z-index: 1;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.8;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
}

.value-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.value-about p + p {
  margin-top: 18px;
}

.value-beliefs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-top: 0;
  align-self: start;
  align-content: start;
}

.value-belief {
  position: relative;
  padding: 24px;
  border: 1px solid rgba(28, 94, 140, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(246, 246, 246, 0.92) 100%);
  box-shadow: 0 18px 40px rgba(26, 20, 15, 0.05);
}

.value-belief-head .value-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 17px;
}

.value-belief::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 24px 0 0 24px;
  background: linear-gradient(180deg, rgba(28, 94, 140, 0.92) 0%, rgba(20, 72, 120, 0.24) 100%);
}

.value-belief strong {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.24;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.value-belief p {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.8;
}

.value-flow {
  margin-top: 34px;
  padding: clamp(28px, 3.8vw, 38px);
  border: 1px solid rgba(28, 94, 140, 0.16);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(251, 251, 251, 0.95) 0%, rgba(245, 245, 245, 0.95) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.value-flow-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 26px;
  align-items: end;
}

.value-flow-head h3 {
  margin-top: 16px;
  color: var(--navy);
  max-width: 14ch;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.05;
  text-wrap: balance;
}

.value-flow-head p {
  color: var(--ink-soft);
  max-width: 34ch;
  justify-self: end;
  font-size: 16px;
  line-height: 1.84;
  font-weight: 500;
}

.value-steps {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.value-step {
  position: relative;
  min-height: 100%;
  padding: 26px 24px 24px;
  border: 1px solid rgba(28, 94, 140, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 32px rgba(26, 20, 15, 0.06);
}

.value-step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.value-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  left: calc(100% - 10px);
  width: 40px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(28, 94, 140, 0.8) 0%, rgba(28, 94, 140, 0.08) 100%);
}

.value-step .timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  border-radius: 20px;
  border: 1px solid rgba(28, 94, 140, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, rgba(250, 250, 250, 0.92) 100%);
  box-shadow: 0 12px 28px rgba(26, 20, 15, 0.08);
  font-size: 24px;
}

.value-step strong {
  display: block;
  color: var(--navy);
  max-width: 10ch;
  font-size: 22px;
  line-height: 1.22;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.03em;
}

.value-step p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.82;
}

.value-card-footer {
  margin-top: 34px;
  padding: clamp(24px, 3vw, 30px);
  border: 1px solid rgba(28, 94, 140, 0.18);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(247, 247, 247, 0.96) 100%);
  box-shadow: 0 18px 36px rgba(26, 20, 15, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.value-card-cta-copy h3 {
  color: var(--navy);
  max-width: 14ch;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.05;
  text-wrap: balance;
}

.value-card-cta-copy p {
  margin-top: 10px;
  max-width: 48ch;
  color: var(--ink-soft);
  line-height: 1.8;
}

.value-card-footer .btn-primary {
  flex-shrink: 0;
  min-width: 220px;
  padding-inline: 28px;
}

.value-icon-badge,
.value-card-outcome,
.value-feature,
.value-glance-card,
.value-about,
.value-belief,
.value-step,
.value-card-footer {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.value-tag-row span:hover,
.value-feature:hover,
.value-glance-card:hover,
.value-about:hover,
.value-belief:hover,
.value-step:hover,
.value-card-outcome:hover,
.value-card-footer:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(26, 20, 15, 0.1);
  border-color: rgba(28, 94, 140, 0.22);
}

.value-tag-row span:hover,
:is(.value-feature, .value-glance-card, .value-about, .value-belief, .value-step, .value-card-outcome):hover .value-icon-badge {
  box-shadow: 0 18px 30px rgba(26, 20, 15, 0.12);
}

:is(.value-feature, .value-glance-card, .value-about, .value-belief, .value-step, .value-card-outcome):hover .value-icon-badge {
  transform: translateY(-2px) scale(1.03);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(30px, 3vw, 42px);
  color: var(--gold-pale);
}

.grid-2,
.grid-3,
.grid-4,
.quote-grid {
  display: grid;
  gap: var(--section-gap);
}

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

.grid-3,
.quote-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-card,
.quote-card,
.role-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--panel-soft);
  border: 1px solid rgba(28, 94, 140, 0.14);
}

.mini-card h3,
.role-card h3 {
  font-size: 22px;
  color: var(--gold-pale);
  margin-bottom: 10px;
}

.mini-card p,
.role-card p,
.quote-card p {
  color: var(--ink-soft);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pill-row span,
.table-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(28, 94, 140, 0.14);
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
}

.list-check {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-check li {
  position: relative;
  padding-left: 22px;
  color: rgba(246, 238, 220, 0.88);
  line-height: 1.7;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
}

.split-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: var(--section-gap);
}

.media-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 24px;
  border: 1px solid rgba(28, 94, 140, 0.14);
}

.media-card-plain {
  margin: 0;
  height: 100%;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.88);
}

.media-card-plain img {
  min-height: 100%;
}

.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.06) 0%, rgba(17, 17, 17, 0.56) 100%);
}

.media-note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(24, 20, 17, 0.82);
  border: 1px solid rgba(28, 94, 140, 0.16);
}

.media-note strong {
  display: block;
  color: var(--gold-pale);
  margin-bottom: 6px;
}

.media-note span {
  color: rgba(42, 120, 176, 0.84);
  font-size: 14px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(28, 94, 140, 0.12);
}

.timeline-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(28, 94, 140, 0.18) 0%, rgba(20, 72, 120, 0.2) 100%);
  color: var(--gold-pale);
  font-size: 22px;
  font-weight: 700;
  font-family: "Playfair Display", serif;
}

.timeline-copy strong {
  display: block;
  color: var(--gold-pale);
  font-size: 18px;
  margin-bottom: 6px;
}

.timeline-copy span {
  color: var(--ink-soft);
  line-height: 1.7;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th {
  padding: 18px 20px;
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-pale);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

td {
  padding: 18px 20px;
  border-top: 1px solid rgba(28, 94, 140, 0.1);
  color: rgba(246, 238, 220, 0.88);
  vertical-align: top;
  line-height: 1.7;
}

.quote-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote-stars {
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.18em;
}

.quote-author strong {
  display: block;
  color: var(--gold-pale);
}

.quote-author span {
  color: rgba(42, 120, 176, 0.72);
  font-size: 13px;
}

.cta-band {
  padding: 28px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-band h3 {
  color: var(--gold-pale);
  font-size: 28px;
}

.cta-band p {
  color: var(--ink-soft);
  max-width: 700px;
  font-weight: 500;
}

.notice {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(28, 94, 140, 0.08);
  border: 1px solid rgba(28, 94, 140, 0.16);
  color: rgba(42, 120, 176, 0.88);
}

.page-footer {
  margin-top: 0;
  padding: 24px clamp(20px, 5vw, 64px);
  background: linear-gradient(180deg, #0D1B2E 0%, #0A1730 100%);
  border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}

.page-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero,
  .split-band,
  .grid-2,
  .grid-3,
  .grid-4,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-service-stage {
    padding: 20px;
  }

  .service-stage-grid {
    grid-template-columns: 1fr;
  }

  .service-stage-card-primary {
    min-height: auto;
  }

  .value-card-top,
  .value-glance-grid,
  .value-story,
  .value-beliefs,
  .value-flow-head,
  .value-feature-row,
  .value-steps {
    grid-template-columns: 1fr;
  }

  .value-feature {
    padding: 24px;
  }

  .value-feature:not(:first-child) {
    padding-left: 24px;
    padding-top: 24px;
    border-left: 1px solid rgba(28, 94, 140, 0.14);
    border-top: 1px solid rgba(28, 94, 140, 0.14);
  }

  .value-step {
    padding: 24px;
    border-bottom: 1px solid rgba(28, 94, 140, 0.14);
  }

  .value-step:last-child {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(28, 94, 140, 0.14);
  }

  .value-step::after {
    display: none;
  }

  .value-card-intro h2,
  .value-about h3,
  .value-flow-head h3,
  .value-card-cta-copy h3,
  .value-feature strong,
  .value-step strong {
    max-width: none;
  }

  .value-card-outcome {
    align-self: stretch;
  }

  .value-flow-head p {
    max-width: none;
    justify-self: start;
  }

  .value-glance-card strong {
    max-width: none;
  }

  .value-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1440px) {
  .topbar-inner {
    padding: 0 20px;
    min-height: 68px;
    gap: 14px;
  }

  .brand {
    width: clamp(210px, 19vw, 268px);
  }

  .topbar-links {
    gap: 4px;
  }

  .topbar-links a {
    font-size: 16px;
  }

  html[lang="en"] .topbar-links a,
  html[lang="ru"] .topbar-links a,
  html[lang="fa"] .topbar-links a {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .topbar-inner {
    padding: 0 16px;
    gap: 12px;
  }

  .brand {
    width: clamp(198px, 18vw, 244px);
  }

  .topbar-links {
    gap: 2px;
  }

  .topbar-links a {
    font-size: 15px;
    padding: 4px 6px;
  }

  html[lang="en"] .topbar-links a,
  html[lang="ru"] .topbar-links a,
  html[lang="fa"] .topbar-links a {
    font-size: 13px;
  }

  html[lang="en"] .topbar-links {
    gap: 8px;
  }
}

@media (max-width: 1024px) {
  .hero-cover {
    height: calc(100vh - 82px);
    min-height: 620px;
  }

  .topbar-inner {
    padding: 0 24px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 96px;
  }

  html.mobile-nav-open,
  body.mobile-nav-open {
    overflow: hidden;
  }

  .topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: #000000;
    border-bottom: 0;
    box-shadow: none;
  }

  main {
    padding-top: 0;
  }

  .page-shell {
    width: min(var(--layout-max), calc(100% - 18px));
  }

  main > .hero:first-child,
  main > .media-hero:first-child {
    width: 100vw;
    margin-top: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  main > .hero:first-child > *,
  main > .media-hero:first-child {
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }

  main > .hero-contact:first-child {
    margin-top: 80px;
  }

  .topbar-inner {
    min-height: 80px;
    padding: 0 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: normal;
    gap: 6px;
    max-width: 100%;
    overflow-x: clip;
  }

  .hero-cover {
    height: auto;
    min-height: 560px;
  }

  .hero-cover-backdrop {
    filter: blur(14px) brightness(0.98) saturate(1.04);
  }

  .brand {
    flex: 0 0 auto;
    width: clamp(248px, 72vw, 340px);
    aspect-ratio: 1437 / 309;
    max-width: calc(100vw - 66px);
    min-width: 0;
    background-image: url("./kaya-logo-black-bg.png");
    background-size: 100% auto;
  }

  .topbar-links,
  .topbar-actions {
    display: none;
  }

  .hamburger {
    display: flex;
    justify-self: end;
  }

  .hero-copy,
  .section-card {
    padding: 22px;
  }

  .value-card {
    padding: 22px;
  }

  .value-tag-row {
    gap: 8px;
  }

  .value-tag-row span {
    font-size: 12px;
  }

  .value-card-outcome,
  .value-about,
  .value-belief,
  .value-glance-card,
  .value-flow,
  .value-step,
  .value-card-footer {
    border-radius: 22px;
  }

  .value-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .value-icon-badge svg {
    width: 22px;
    height: 22px;
  }

  .value-icon-badge-compact,
  .value-card-outcome .value-icon-badge,
  .value-belief-head .value-icon-badge {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .hero-copy-top {
    align-items: flex-start;
  }

  .hero-brand-panel {
    min-height: clamp(170px, 40vw, 230px);
    border-radius: 24px;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.02;
  }

  .hero-copy .lead,
  .section-intro,
  .muted {
    font-size: 15px;
    line-height: 1.72;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .value-card-intro h2 {
    font-size: clamp(32px, 11vw, 42px);
  }

  .value-about h3,
  .value-card-outcome strong,
  .value-card-cta-copy h3,
  .value-flow-head h3 {
    font-size: clamp(24px, 9vw, 32px);
  }

  .value-belief strong {
    font-size: 22px;
  }

  .value-quote {
    padding: 24px 20px 20px 24px;
  }

  .value-quote::before {
    left: 14px;
    font-size: 56px;
  }

  .value-quote p {
    font-size: 17px;
  }

  .value-step .timeline-num {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .value-card-footer .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .cta-band .btn-primary,
  .cta-band .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .page-footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .mobile-nav {
    padding: 20px 16px calc(28px + env(safe-area-inset-bottom));
  }

  .mobile-nav a {
    font-size: 19px;
  }

  .topbar-inner {
    padding: 0 8px;
    gap: 4px;
  }

  .brand {
    width: clamp(258px, 76vw, 344px);
    aspect-ratio: 1437 / 309;
    max-width: calc(100vw - 60px);
  }

  .hero-copy,
  .section-card {
    padding: 18px;
  }

  .value-card {
    padding: 0;
  }

  .cta-band {
    padding: 20px 18px;
  }

  .section-head h2 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .cta-band h3 {
    font-size: 22px;
  }

  .timeline-item {
    padding: 14px 16px;
  }

  .timeline-num {
    width: 48px;
    height: 48px;
    font-size: 18px;
    border-radius: 14px;
  }

  .value-step .timeline-num {
    width: 50px;
    height: 50px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 13px 18px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .mobile-nav a {
    font-size: 18px;
  }
}

/* Corporate white-black-gold refresh */
body {
  color: var(--ink);
  background: #ffffff;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .topbar-links,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .page-footer-row {
  justify-content: flex-start;
}

html[dir="rtl"] .value-about::before {
  inset: 22px 0 22px auto;
}

html[dir="rtl"] .value-belief::before {
  inset: 0 0 0 auto;
  border-radius: 0 24px 24px 0;
}

html[dir="rtl"] .value-feature:nth-child(1)::after,
html[dir="rtl"] .value-feature:nth-child(2)::after,
html[dir="rtl"] .value-feature:nth-child(3)::after {
  right: auto;
  left: 20px;
}

html[dir="rtl"] .value-panel-top,
html[dir="rtl"] .value-section-head,
html[dir="rtl"] .value-belief-head,
html[dir="rtl"] .value-step-top {
  flex-direction: row-reverse;
}

html[dir="rtl"] .value-quote {
  padding: 26px 32px 22px 26px;
}

html[dir="rtl"] .value-quote::before {
  left: auto;
  right: 20px;
}

.topbar-cta {
  background: linear-gradient(135deg, #2a78b0, #144878);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(20, 72, 120, 0.22);
}

.hero-copy,
.hero-media,
.section-card,
.cta-band,
.quote-card,
.table-wrap {
  background: var(--panel);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.eyebrow,
.pill-row span,
.table-tag {
  background: #ffffff;
  border-color: rgba(28, 94, 140, 0.12);
  color: var(--navy);
}

.fact-card,
.mini-card,
.role-card,
.timeline-item {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(28, 94, 140, 0.14);
}

.fact-label {
  color: var(--navy);
}

.quote-stars {
  color: var(--gold);
}

.hero-copy h1,
.section-head h2,
.mini-card h3,
.role-card h3,
.timeline-copy strong,
.cta-band h3,
.quote-author strong,
.fact-card strong,
th {
  color: var(--navy);
}

.hero-copy .lead,
.section-intro,
.muted,
.mini-card p,
.role-card p,
.quote-card p,
.timeline-copy span,
.cta-band p,
.list-check li,
td,
.quote-author span {
  color: var(--ink-soft);
}

th {
  background: #ffffff;
}

td {
  border-top-color: rgba(28, 94, 140, 0.12);
}

.hero-media img,
.media-card img {
  filter: saturate(0.92) brightness(0.9);
}

.hero-media::after,
.media-card::after {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.08) 0%, rgba(17, 17, 17, 0.18) 45%, rgba(17, 17, 17, 0.38) 100%);
}

.hero-media-badge,
.media-note {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(28, 94, 140, 0.18);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
}

.hero-media-badge strong,
.media-note strong {
  color: var(--navy);
}

.hero-media-badge span,
.media-note span {
  color: var(--ink-soft);
}

.timeline-num {
  background: #ffffff;
  border: 1px solid rgba(28, 94, 140, 0.14);
  color: var(--navy);
}

.btn-primary {
  background: linear-gradient(135deg, #2a78b0, #144878);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(20, 72, 120, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(28, 94, 140, 0.12);
  color: var(--navy);
}

.notice {
  background: #ffffff;
  border-color: rgba(28, 94, 140, 0.14);
  color: var(--navy);
}

.page-footer {
  border-top-color: rgba(28, 94, 140, 0.14);
}

.law-index-board {
  border-radius: 24px;
  border: 1px solid rgba(28, 94, 140, 0.14);
  background: rgba(255, 255, 255, 0.86);
  padding: clamp(20px, 3vw, 28px);
}

.law-index-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.law-index-list a {
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 16px 18px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--navy);
  background: #ffffff;
  border: 1px solid rgba(28, 94, 140, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.law-index-list a:hover {
  transform: translateY(-2px);
  border-color: rgba(28, 94, 140, 0.28);
}

.law-guide-shell {
  display: grid;
  gap: 14px;
}

.law-accordion-item {
  border-radius: 24px;
  border: 1px solid rgba(28, 94, 140, 0.14);
  background: rgba(255, 255, 255, 0.92);
  overflow: hidden;
}

.law-accordion-item[open] {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.law-accordion-head {
  list-style: none;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--navy);
  font-size: 22px;
  font-family: "Playfair Display", serif;
  line-height: 1.3;
}

.law-accordion-head::-webkit-details-marker {
  display: none;
}

.law-accordion-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-rich), var(--gold-deep));
  position: relative;
  flex-shrink: 0;
}

.law-accordion-icon::before,
.law-accordion-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.law-accordion-icon::before {
  width: 16px;
  height: 2px;
}

.law-accordion-icon::after {
  width: 2px;
  height: 16px;
}

.law-accordion-item[open] .law-accordion-icon::after {
  opacity: 0;
}

.law-accordion-body {
  padding: 0 20px 22px 74px;
  display: grid;
  gap: 14px;
}

.law-bullet-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--ink-soft);
}

.law-outcome {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(16, 16, 16, 0.05);
  color: var(--navy);
  font-weight: 500;
}

.compact-law-guide {
  gap: 10px;
}

.compact-law-guide .law-accordion-head {
  padding: 16px 18px;
  font-size: 18px;
}

.compact-law-guide .law-accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.compact-law-guide .law-accordion-icon::before {
  width: 14px;
}

.compact-law-guide .law-accordion-icon::after {
  height: 14px;
}

.compact-law-guide .law-accordion-body {
  padding: 0 18px 18px 18px;
}

.compact-law-guide .law-accordion-body p {
  color: var(--ink-soft);
}

.social-dock {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-link {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.22);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-link.instagram {
  background: linear-gradient(135deg, #f58529 0%, #dd2a7b 52%, #8134af 100%);
}

.social-link.facebook {
  background: linear-gradient(135deg, #1877f2 0%, #2851a3 100%);
}

.social-link.whatsapp {
  background: linear-gradient(135deg, #29d167 0%, #10b251 100%);
}

.social-link.mail {
  background: linear-gradient(135deg, #1c5e8c 0%, #144878 100%);
}

@media (max-width: 960px) {
  .law-index-list {
    grid-template-columns: 1fr;
  }

  .law-accordion-head {
    font-size: 19px;
  }

  .law-accordion-body {
    padding: 0 18px 20px 18px;
  }

  .social-dock {
    right: 16px;
    bottom: 16px;
  }

  .social-link {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }
}

@media (min-width: 761px) {
  .topbar-inner {
    padding: 0 24px;
    min-height: 72px;
    grid-template-columns: 284px minmax(0, 1fr) auto;
    gap: 16px;
  }

  .brand {
    width: 284px;
    min-width: 284px;
    max-width: none;
  }

  .topbar-links {
    justify-content: flex-start;
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .topbar-links::-webkit-scrollbar {
    display: none;
  }

  .topbar-links a {
    font-size: 17px;
    padding: 4px 3px;
    flex: 0 0 auto;
  }

  html[lang="en"] .topbar-links,
  html[lang="ru"] .topbar-links,
  html[lang="fa"] .topbar-links {
    justify-content: flex-start;
    gap: 12px;
  }

  html[lang="en"] .topbar-links a,
  html[lang="ru"] .topbar-links a,
  html[lang="fa"] .topbar-links a {
    font-size: 15px;
  }

  .topbar-actions,
  .lang-switcher {
    min-width: max-content;
  }
}

body.header-zoom-lock .topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  z-index: 10000;
  width: calc(100vw / var(--header-zoom-scale, 1));
  max-width: none;
  overflow-x: clip;
  background: #ffffff;
  border-bottom: 1px solid rgba(28, 94, 140, 0.16);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: scale(var(--header-zoom-scale, 1));
  transform-origin: top left;
  will-change: transform, width;
}

body.header-zoom-lock main {
  padding-top: calc(72px * var(--header-zoom-scale, 1));
}

body.header-zoom-lock .topbar-inner {
  display: grid;
  padding: 0 24px;
  min-height: 72px;
  grid-template-columns: 284px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  overflow-x: clip;
}

body.header-zoom-lock .brand {
  background-image: url("./kaya-logo-web-transparent-new.png");
  background-size: contain;
  aspect-ratio: 1345 / 350;
  width: 284px;
  min-width: 284px;
  max-width: none;
}

body.header-zoom-lock .topbar-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

body.header-zoom-lock .topbar-links::-webkit-scrollbar {
  display: none;
}

body.header-zoom-lock .topbar-links a {
  font-size: 17px;
  padding: 4px 3px;
  flex: 0 0 auto;
}

html[lang="en"] body.header-zoom-lock .topbar-links,
html[lang="ru"] body.header-zoom-lock .topbar-links,
html[lang="fa"] body.header-zoom-lock .topbar-links {
  justify-content: flex-start;
  gap: 12px;
}

html[lang="en"] body.header-zoom-lock .topbar-links a,
html[lang="ru"] body.header-zoom-lock .topbar-links a,
html[lang="fa"] body.header-zoom-lock .topbar-links a {
  font-size: 15px;
}

body.header-zoom-lock .topbar-actions {
  display: flex;
  justify-content: flex-end;
  min-width: max-content;
}

body.header-zoom-lock .lang-switcher {
  display: inline-flex;
  min-width: max-content;
}

body.header-zoom-lock .hamburger {
  display: none;
}

body.header-zoom-lock .mobile-nav {
  display: none !important;
}
