:root {
  --ink: #10211f;
  --muted: #5b6865;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --soft: #eef5ef;
  --green: #0a6b4b;
  --teal: #0d8a94;
  --amber: #e1a33b;
  --coral: #d7604c;
  --line: #d9e2dd;
  --shadow: 0 22px 60px rgba(11, 40, 36, 0.16);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

body.nav-open {
  overflow: hidden;
}

body.inner-page {
  background: #ffffff;
}

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

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

button,
input,
select {
  font: inherit;
}

html[dir="rtl"] body {
  direction: rtl;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.scrolled,
.site-header.menu-active,
.inner-page .site-header {
  background: rgba(251, 250, 246, 0.94);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(16, 33, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  opacity: 0.74;
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-compact {
  min-width: 0;
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  color: currentColor;
  font-size: 0.88rem;
  font-weight: 700;
}

.primary-nav a {
  opacity: 0.86;
}

.primary-nav a:hover {
  opacity: 1;
}

.primary-nav a[aria-current="page"] {
  color: var(--green);
  opacity: 1;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: currentColor;
  font-weight: 800;
  cursor: pointer;
}

.header-tools {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: currentColor;
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 110px clamp(20px, 5vw, 72px) 88px;
  overflow: hidden;
  color: #ffffff;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 26, 24, 0.92) 0%, rgba(9, 26, 24, 0.72) 34%, rgba(9, 26, 24, 0.24) 72%),
    linear-gradient(180deg, rgba(9, 26, 24, 0.2) 0%, rgba(9, 26, 24, 0.56) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  width: 100%;
  max-width: 1240px;
}

.hero-main {
  max-width: 760px;
}

.hero-service-focus {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  max-width: min(100%, 680px);
  margin-bottom: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-left: 6px solid var(--amber);
  border-radius: 8px;
  background: rgba(10, 42, 37, 0.8);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

html[dir="rtl"] .hero-service-focus {
  border-right: 6px solid var(--amber);
  border-left-width: 1px;
}

.hero-service-focus span {
  flex: 0 0 auto;
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-service-focus strong {
  color: #ffffff;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.35;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 730px;
  font-size: clamp(3.3rem, 9vw, 7.6rem);
  line-height: 0.94;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.04rem, 2vw, 1.32rem);
  line-height: 1.65;
}

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

.hero-ceo-message {
  margin: 0;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-left: 6px solid var(--amber);
  border-radius: 8px;
  background: rgba(10, 42, 37, 0.82);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

html[dir="rtl"] .hero-ceo-message {
  border-right: 6px solid var(--amber);
  border-left-width: 1px;
}

.hero-ceo-message blockquote {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  line-height: 1.62;
}

.hero-ceo-message figcaption {
  display: grid;
  gap: 3px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-ceo-message figcaption strong {
  color: #ffffff;
  font-size: 1rem;
}

.hero-ceo-message figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: var(--amber);
  color: #1f2117;
}

.hero-actions .button-primary {
  min-height: 58px;
  padding: 0 28px;
  font-size: 1.06rem;
}

.button-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: clamp(64px, 9vw, 116px) clamp(20px, 5vw, 72px);
}

.inner-main {
  padding-top: 76px;
}

.section-tight {
  padding-top: clamp(54px, 7vw, 84px);
}

.section-heading {
  max-width: 770px;
  margin: 0 auto 36px;
  text-align: center;
}

.wide-heading {
  max-width: 880px;
}

.section h1,
.section h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
}

.section-heading p:not(.eyebrow),
.split-layout p,
.action-layout p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.metric-card,
.initiative-card,
.benefit-grid article,
.ai-grid article,
.process-grid article,
.action-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.metric-card {
  min-height: 230px;
  padding: 24px;
}

.metric-value {
  display: inline-block;
  color: var(--green);
  font-size: clamp(2.35rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 800;
}

.metric-unit {
  margin-left: 4px;
  color: var(--teal);
  font-weight: 800;
}

.metric-card h3,
.initiative-card h3,
.process-grid h3,
.action-list h3 {
  margin: 18px 0 8px;
  font-size: 1.08rem;
}

.metric-card p,
.initiative-card p,
.process-grid p,
.action-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.source-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.source-strip a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
}

.contrast-band {
  background: #142d2a;
  color: #ffffff;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.contrast-band .split-layout p {
  color: rgba(255, 255, 255, 0.78);
}

.organization-band {
  background: #ffffff;
}

.organization-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.organization-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 36px rgba(13, 44, 39, 0.06);
}

.org-role {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.organization-grid h3 {
  margin: 18px 0 8px;
  font-size: 1.12rem;
}

.organization-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.benefits-band {
  background: #f5f2e8;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.benefit-grid article {
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(13, 44, 39, 0.06);
}

.benefit-grid span {
  color: var(--coral);
  font-size: 0.8rem;
  font-weight: 800;
}

.benefit-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
}

.benefit-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter-button.active {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.initiative-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.initiative-card {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  padding: 22px;
  box-shadow: 0 16px 36px rgba(13, 44, 39, 0.06);
  transition: transform 180ms ease, opacity 180ms ease;
}

.initiative-card.is-hidden {
  display: none;
}

.initiative-card:hover {
  transform: translateY(-4px);
}

.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--soft);
  color: var(--green);
  font-weight: 800;
}

.card-topline a {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.app-visual {
  margin: 0 0 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  aspect-ratio: 16 / 9;
}

.app-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.initiative-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.initiative-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.app-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.app-detail-grid article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(238, 245, 239, 0.58);
}

.app-detail-grid h4 {
  margin: 0 0 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.app-detail-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.58;
}

.initiative-card ul {
  margin: 18px 0 0;
  padding: 20px 0 0 18px;
  color: var(--muted);
  line-height: 1.8;
}

html[dir="rtl"] .initiative-card ul {
  padding: 20px 18px 0 0;
}

.initiative-impact {
  margin-top: auto;
  padding-top: 18px;
  color: var(--green);
  font-weight: 800;
}

.app-link-button {
  width: fit-content;
  margin-top: 18px;
}

.ai-band {
  background: #f7fbf8;
}

.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: clamp(24px, 5vw, 64px);
  align-items: stretch;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.ai-layout .section-heading {
  max-width: none;
  margin: 0;
  text-align: left;
}

html[dir="rtl"] .ai-layout .section-heading {
  text-align: right;
}

.ai-callout {
  display: grid;
  align-content: end;
  min-height: 260px;
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(16, 33, 31, 0.84), rgba(10, 107, 75, 0.92)),
    var(--green);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(13, 44, 39, 0.13);
}

.ai-callout span {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ai-callout strong {
  font-size: 1.42rem;
  line-height: 1.34;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.ai-grid article {
  padding: 24px;
  box-shadow: 0 16px 36px rgba(13, 44, 39, 0.06);
}

.ai-grid span {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
}

.ai-grid h3 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
}

.ai-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.principle-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 980px;
  margin: 24px auto 0;
}

.principle-strip span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
}

.process-band {
  background:
    linear-gradient(135deg, rgba(10, 107, 75, 0.09), rgba(225, 163, 59, 0.14)),
    var(--soft);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.process-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.86);
}

.process-grid span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--coral);
  color: #ffffff;
  font-weight: 800;
}

.action-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  max-width: 1180px;
  margin: 0 auto;
  align-items: start;
}

.action-list {
  display: grid;
  gap: 12px;
}

.action-list article {
  padding: 22px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  background: #10211f;
  color: #ffffff;
}

.contact-copy {
  max-width: 760px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  padding: 0 12px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: #f0d9a6;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(20px, 5vw, 72px);
  background: #071411;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: #ffffff;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .metric-grid,
  .initiative-grid,
  .organization-grid,
  .benefit-grid,
  .ai-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .initiative-card {
    min-height: 330px;
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    min-width: 0;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav,
  .header-action {
    display: none;
  }

  .header-tools {
    justify-self: end;
  }

  .primary-nav.open {
    position: absolute;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .primary-nav.open a {
    padding: 12px;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(9, 26, 24, 0.34) 0%, rgba(9, 26, 24, 0.9) 62%, rgba(9, 26, 24, 0.96) 100%);
  }

  .split-layout,
  .action-layout,
  .hero-content,
  .ai-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero-ceo-message {
    max-width: 640px;
  }

  .ai-callout {
    min-height: 190px;
  }
}

@media (max-width: 640px) {
  .hero-service-focus {
    display: grid;
    gap: 6px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 18vw, 4.9rem);
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .metric-grid,
  .initiative-grid,
  .organization-grid,
  .benefit-grid,
  .ai-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .app-detail-grid {
    grid-template-columns: 1fr;
  }

  .metric-card {
    min-height: auto;
  }

  .initiative-card {
    min-height: auto;
  }

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

  .app-link-button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }
}
