:root {
  --blue: #0b1f4d;
  --blue-deep: #071532;
  --gold: #d7a73f;
  --gold-deep: #9d6f1d;
  --red: #8e111d;
  --ink: #121722;
  --muted: #626b79;
  --faint: #edf0f5;
  --line: rgba(11, 31, 77, 0.13);
  --paper: #fbfbf8;
  --surface: #f2f0ea;
  --surface-strong: #ffffff;
  --inverse: #10131a;
  --inverse-text: #ffffff;
  --shadow: 0 28px 90px rgba(16, 24, 40, 0.16);
  --soft-shadow: 0 16px 48px rgba(16, 24, 40, 0.1);
  --radius: 8px;
  --max: 1440px;
}

body[data-theme="dark"] {
  --ink: #f5f7fb;
  --muted: #a8b2c1;
  --faint: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.14);
  --paper: #06080d;
  --surface: #0c111b;
  --surface-strong: #121824;
  --inverse: #ffffff;
  --inverse-text: #11151c;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --soft-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 0%, rgba(11, 31, 77, 0.12), transparent 32rem),
    radial-gradient(circle at 92% 6%, rgba(215, 167, 63, 0.16), transparent 28rem),
    var(--paper);
  line-height: 1.6;
  transition: background-color 180ms ease, color 180ms ease;
}

body[dir="rtl"] {
  font-family: "Noto Naskh Arabic", "Noto Kufi Arabic", Arial, sans-serif;
}

body[data-lang="ku"] h1,
body[data-lang="ku"] h2,
body[data-lang="ku"] h3,
body[data-lang="ku"] .brand-text,
body[data-lang="ku"] .main-nav,
body[data-lang="ku"] .btn,
body[data-lang="ku"] .eyebrow {
  font-family: "Noto Kufi Arabic", "Noto Naskh Arabic", Arial, sans-serif;
}

body[data-lang="ku"] h1 {
  max-width: 900px;
  font-size: clamp(2.15rem, 4.7vw, 4.7rem);
  line-height: 1.28;
  word-spacing: 0.08em;
}

body[data-lang="ku"] h2 {
  font-size: clamp(1.65rem, 3.2vw, 3.05rem);
  line-height: 1.34;
  word-spacing: 0.06em;
}

body[data-lang="ku"] h3 {
  line-height: 1.55;
}

body[data-lang="ku"] .eyebrow {
  font-size: 0.72rem;
  line-height: 1.9;
  word-spacing: 0.12em;
}

body[data-lang="ku"] .hero-lede,
body[data-lang="ku"] .section-lede,
body[data-lang="ku"] p,
body[data-lang="ku"] span {
  line-height: 1.9;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) auto auto auto;
  gap: 24px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px clamp(18px, 4vw, 56px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.menu-toggle {
  display: none;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

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

.mobile-brand-intro {
  display: none !important;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-text {
  display: grid;
  line-height: 1.08;
}

.brand-text strong {
  font-size: 0.98rem;
  font-weight: 800;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

body[dir="rtl"] .brand-text small {
  text-transform: none;
}

.main-nav {
  display: flex;
  gap: 25px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  position: absolute;
  inset: auto 0 4px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--blue));
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 160ms ease, transform 160ms ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.main-nav a.is-current {
  color: var(--ink);
}

.main-nav a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.language-switcher,
.theme-switcher {
  display: inline-grid;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--faint);
}

.language-switcher {
  grid-template-columns: repeat(3, 1fr);
}

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

.lang-btn,
.theme-btn {
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 900;
}

.lang-btn {
  min-width: 40px;
}

.theme-btn {
  min-width: 52px;
}

.lang-btn.is-active,
.theme-btn.is-active {
  background: var(--inverse);
  color: var(--inverse-text);
}

.hero,
.section,
.trust-band,
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: min(760px, calc(100vh - 79px));
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 4.6vw, 68px);
  align-items: center;
  padding: clamp(46px, 6vw, 78px) clamp(18px, 4vw, 56px) 42px;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.82), rgba(6, 8, 13, 0.58) 48%, rgba(6, 8, 13, 0.2)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: #fff;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: var(--gold);
}

.hero .hero-lede,
.hero .hero-metrics span {
  color: rgba(255, 255, 255, 0.78);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero .hero-metrics {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
}

.hero .hero-metrics div {
  background: rgba(10, 15, 24, 0.56);
  backdrop-filter: blur(12px);
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

body[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.1vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.25;
}

.hero-lede,
.section-lede,
.contact-copy p:not(.eyebrow),
.command-copy p {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.hero-lede {
  max-width: 690px;
}

.section-lede {
  max-width: 560px;
}

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

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 19px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

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

.btn-primary {
  background: var(--inverse);
  color: var(--inverse-text);
}

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

.btn-secondary {
  border-color: var(--line);
  background: var(--faint);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-whatsapp {
  background: #1f8f4d;
  color: #fff;
}

.btn-whatsapp:hover {
  background: #176f3b;
  color: #fff;
}

.btn-danger {
  border-color: rgba(142, 17, 29, 0.22);
  background: rgba(142, 17, 29, 0.08);
  color: var(--red);
}

.btn-danger:hover {
  background: var(--red);
  color: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 640px;
  margin-top: 42px;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-metrics div {
  min-height: 94px;
  padding: 18px;
  background: color-mix(in srgb, var(--surface-strong) 88%, transparent);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  margin-bottom: 5px;
  font-size: 1rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  align-items: center;
  justify-items: center;
}

.visual-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: min(100%, 420px);
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-ops-card {
  width: min(100%, 450px);
  background: rgba(255, 255, 255, 0.94);
}

.visual-frame::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 31, 77, 0.18), transparent 32%),
    linear-gradient(180deg, transparent 58%, rgba(215, 167, 63, 0.12));
  content: "";
  pointer-events: none;
}

.visual-frame img {
  position: relative;
  z-index: 2;
  width: min(100%, 300px);
  height: auto;
  margin: 22px auto 6px;
  border-radius: 50%;
  filter: drop-shadow(0 24px 34px rgba(11, 31, 77, 0.18));
}

.hero-ops-card img {
  width: min(100%, 220px);
  margin-bottom: 18px;
}

.ops-list {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.ops-list div {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(11, 31, 77, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
}

.ops-list span {
  color: var(--red);
  font-weight: 900;
}

.ops-list strong {
  color: var(--blue);
  font-size: 0.92rem;
  line-height: 1.35;
}

body[data-theme="dark"] .visual-frame img {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  padding: 14px;
}

.visual-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

body[dir="rtl"] .visual-status {
  text-transform: none;
}

.visual-status strong {
  color: var(--gold);
}

.visual-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 0.72fr 1.2fr 0.6fr;
  gap: 8px;
  margin-top: 28px;
}

.visual-grid span {
  height: 8px;
  background: var(--line);
}

.visual-grid span:nth-child(1) {
  background: var(--gold-deep);
}

.visual-grid span:nth-child(2) {
  background: var(--gold);
}

.visual-grid span:nth-child(3) {
  background: var(--blue);
}

.identity-bars {
  position: absolute;
  inset: auto 4% 0 11%;
  height: 58%;
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1.8fr;
  gap: 8px;
  align-items: end;
  opacity: 0.16;
}

body[dir="rtl"] .identity-bars {
  inset: auto 11% 0 4%;
}

.identity-bars span {
  display: block;
  height: 100%;
  border-radius: 0 78% 0 0;
}

.identity-bars .blue,
.card-mark.blue {
  background: var(--blue);
}

.identity-bars .gold,
.card-mark.gold {
  background: var(--gold);
}

.identity-bars .red,
.card-mark.red {
  background: var(--red);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 clamp(18px, 4vw, 56px);
  transform: translateY(-1px);
}

.trust-band div {
  padding: 28px 24px;
  border-block: 1px solid var(--line);
  border-inline-end: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-strong) 76%, transparent);
}

.trust-band div:first-child {
  border-inline-start: 1px solid var(--line);
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  font-size: 1.08rem;
}

.trust-band span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: clamp(62px, 9vw, 124px) clamp(18px, 4vw, 56px);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--surface);
}

.proof-grid,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.proof-grid article,
.method-grid article,
.mission-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--soft-shadow);
}

.proof-grid article,
.method-grid article {
  min-height: 190px;
  padding: 24px;
}

.proof-grid strong,
.method-grid h3 {
  display: block;
  color: var(--ink);
  font-size: 1.08rem;
}

.proof-grid p,
.method-grid p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: start;
}

.section-heading {
  max-width: 710px;
}

.section-heading.compact {
  max-width: 900px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 292px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, border-color 180ms ease;
}

.service-card h3,
.service-detail-list h2 {
  color: var(--ink);
}

.service-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), var(--blue));
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover {
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  transform: translateY(-4px);
}

.service-card:hover::after {
  opacity: 1;
}

.service-card p {
  color: var(--muted);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

.service-icon.blue {
  background: var(--blue);
}

.service-icon.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
}

.service-icon.red {
  background: var(--red);
}

.card-mark {
  display: block;
  width: 44px;
  height: 7px;
  margin-bottom: 34px;
}

.example-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.example-list li {
  position: relative;
  padding-inline-start: 20px;
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 800;
}

.example-list li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.sectors {
  background:
    linear-gradient(135deg, rgba(215, 167, 63, 0.2), transparent 42%),
    linear-gradient(315deg, rgba(142, 17, 29, 0.18), transparent 36%),
    #10131a;
  color: #fff;
}

.sectors .eyebrow,
.command-section .eyebrow {
  color: var(--gold);
}

.sector-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 38px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.18);
}

.sector-list span {
  min-height: 108px;
  display: flex;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  color: #f7f9fd;
  font-weight: 900;
}

.command-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  background: var(--surface);
}

.why-section {
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}

.why-grid article {
  min-height: 236px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  background: var(--surface-strong);
}

.why-grid span {
  color: var(--red);
  font-weight: 900;
}

.why-grid h3 {
  margin-bottom: 10px;
}

.why-grid p {
  margin: 0;
  color: var(--muted);
}

.command-copy p {
  max-width: 620px;
}

.command-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.command-grid div {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  background: var(--surface-strong);
}

.command-grid span {
  color: var(--red);
  font-weight: 900;
}

.command-grid strong {
  font-size: 1.1rem;
}

.approach {
  background: color-mix(in srgb, var(--surface) 78%, var(--paper));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
}

.timeline span {
  display: inline-flex;
  margin-bottom: 38px;
  color: var(--red);
  font-weight: 900;
}

.timeline p {
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: start;
}

.contact-copy p:not(.eyebrow) {
  max-width: 600px;
}

.contact-lines {
  display: grid;
  gap: 8px;
  margin-top: 30px;
  font-weight: 900;
}

.contact-lines a:hover {
  color: var(--blue);
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 18px;
  background: #1f8f4d;
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  font-weight: 900;
}

body[dir="rtl"] .floating-whatsapp {
  right: auto;
  left: 22px;
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(62px, 9vw, 126px) clamp(18px, 4vw, 56px) clamp(34px, 5vw, 70px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.posts-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.post-feature,
.post-card,
.archive-panel,
.archive-list a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--soft-shadow);
}

.post-feature {
  min-height: 430px;
  display: grid;
  align-content: end;
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgba(215, 167, 63, 0.16), transparent 44%),
    linear-gradient(315deg, rgba(11, 31, 77, 0.12), transparent 38%),
    var(--surface-strong);
}

.post-feature p,
.post-card p,
.archive-panel p {
  color: var(--muted);
}

.post-date {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[dir="rtl"] .post-date {
  letter-spacing: 0;
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.post-grid {
  display: grid;
  gap: 16px;
}

.post-card {
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.post-card:hover,
.archive-list a:hover {
  border-color: color-mix(in srgb, var(--blue) 42%, var(--line));
  transform: translateY(-3px);
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(24px, 4vw, 56px);
}

.archive-panel {
  padding: 30px;
}

.archive-list {
  display: grid;
  gap: 14px;
}

.archive-list a {
  display: grid;
  gap: 6px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.archive-list span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.archive-list strong {
  font-size: 1.12rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.detail-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

.value-grid,
.project-grid,
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.value-grid article,
.project-grid article,
.equipment-grid article,
.service-detail-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--soft-shadow);
}

.value-grid article,
.project-grid article,
.equipment-grid article {
  min-height: 210px;
  display: grid;
  align-content: space-between;
  padding: 26px;
}

.value-grid span,
.equipment-grid span {
  color: var(--red);
  font-weight: 900;
}

.value-grid p,
.project-grid p,
.equipment-grid p,
.service-detail-list p {
  color: var(--muted);
}

.service-detail-list {
  display: grid;
  gap: 18px;
}

.service-detail-list article {
  display: grid;
  grid-template-columns: 72px minmax(180px, 0.42fr) minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
}

.service-detail-list .card-mark,
.service-detail-list .service-icon {
  margin: 0;
}

.service-detail-list h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.3vw, 2.2rem);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.response-panel {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--soft-shadow);
}

.response-panel strong {
  display: block;
  margin-bottom: 12px;
}

.response-panel ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-inline-start: 20px;
  color: var(--muted);
}

.mission-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  background: var(--surface);
}

.mission-panel {
  padding: clamp(26px, 4vw, 42px);
}

.mission-panel.inverse {
  background: #10131a;
  color: #fff;
}

.mission-panel.inverse p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.values-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.values-strip span {
  min-height: 112px;
  display: flex;
  align-items: center;
  padding: 24px;
  background: var(--surface-strong);
  color: var(--blue);
  font-weight: 900;
}

.service-method {
  background: var(--surface);
}

.service-fit {
  background: #10131a;
  color: #fff;
}

.service-fit .eyebrow {
  color: var(--gold);
}

.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.form-heading strong {
  font-size: 1rem;
}

.form-heading span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-status[data-state="success"] {
  color: #1f8f4d;
}

.form-status[data-state="error"] {
  color: var(--red);
}

.admin-shell {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 56px);
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.admin-top-actions,
.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.admin-header h1 {
  margin-bottom: 12px;
}

.admin-header p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.admin-stats article,
.admin-panel,
.admin-message,
.admin-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--soft-shadow);
}

.admin-stats article {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.admin-stats span,
.admin-message span,
.admin-message dt,
.admin-row small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-stats strong {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 18px;
}

.admin-panel {
  padding: 22px;
}

.admin-notice {
  margin-top: 18px;
  border-color: rgba(31, 143, 77, 0.28);
  background: rgba(31, 143, 77, 0.08);
  color: var(--ink);
}

.admin-settings {
  margin-bottom: 18px;
}

.panic-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  border-color: rgba(142, 17, 29, 0.24);
}

.panic-panel h2 {
  color: var(--red);
}

.maintenance-preview {
  flex-basis: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.maintenance-preview p {
  margin: 8px 0 0;
  color: var(--muted);
}

.admin-security-grid {
  margin-bottom: 18px;
}

.settings-grid.single {
  grid-template-columns: 1fr;
  margin-bottom: 14px;
}

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

.settings-wide {
  grid-column: span 3;
}

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

.admin-health-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.admin-health-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-health-grid strong {
  font-size: 1rem;
}

.admin-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-panel h2 {
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

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

.admin-list.compact {
  margin-bottom: 28px;
}

.admin-message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr) minmax(160px, auto);
  gap: 18px;
  align-items: start;
  padding: 18px;
}

.admin-message h3 {
  margin: 4px 0 8px;
}

.admin-message p {
  margin: 0;
  color: var(--muted);
}

.admin-note {
  margin-top: 14px;
}

.admin-message dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.admin-message dd {
  margin: 0;
  font-weight: 800;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions .btn {
  min-height: 42px;
  padding: 10px 14px;
}

.inline-admin-form {
  display: inline-flex;
  margin: 0;
}

.inline-admin-form .btn {
  width: auto;
}

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

.admin-message-topline span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--faint);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  flex-wrap: wrap;
}

.admin-row span {
  color: var(--red);
  font-weight: 900;
}

.admin-row .btn {
  min-height: 38px;
  padding: 8px 12px;
}

.admin-empty {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(11, 31, 77, 0.35), transparent 44%),
    linear-gradient(315deg, rgba(215, 167, 63, 0.2), transparent 38%),
    var(--paper);
}

.login-panel {
  width: min(100%, 440px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.login-panel img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #fff;
}

.login-panel h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem);
}

.login-panel p:not(.eyebrow) {
  color: var(--muted);
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.maintenance-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.78), rgba(6, 8, 13, 0.52)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.maintenance-panel {
  width: min(100%, 760px);
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.maintenance-panel img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin-bottom: 24px;
  border-radius: 50%;
  background: #fff;
}

.maintenance-panel h1 {
  max-width: 680px;
}

.maintenance-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.maintenance-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.maintenance-lines span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--blue);
  background: var(--surface);
  font-weight: 900;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid rgba(215, 167, 63, 0.24);
  border-color: var(--blue);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.35fr) repeat(3, minmax(150px, 0.55fr));
  gap: clamp(24px, 4vw, 54px);
  padding: 42px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}

.site-footer p,
.footer-column {
  display: grid;
  align-content: start;
  gap: 8px;
  margin: 0;
}

.site-footer strong,
.footer-column strong {
  color: var(--ink);
}

.site-footer small {
  color: color-mix(in srgb, var(--muted) 88%, transparent);
  font-size: 0.82rem;
  font-weight: 700;
}

.site-footer a,
.footer-column span {
  color: var(--blue);
  font-weight: 800;
}

body[data-theme="dark"] .site-footer a,
body[data-theme="dark"] .footer-column span {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    order: 3;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface-strong);
    box-shadow: var(--soft-shadow);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .hero,
  .split,
  .proof-section,
  .command-section,
  .contact-section,
  .why-grid,
  .mission-section,
  .posts-layout,
  .archive-layout,
  .detail-layout,
  .service-detail-list article {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-visual {
    min-height: auto;
  }

  .visual-frame {
    width: min(100%, 390px);
  }

  .service-detail-list article {
    align-items: start;
  }

  .service-grid,
  .proof-grid,
  .method-grid,
  .timeline,
  .value-grid,
  .values-strip,
  .project-grid,
  .equipment-grid,
  .site-footer,
  .admin-stats,
  .admin-grid,
  .admin-health-grid,
  .admin-message,
  .settings-grid,
  .settings-wide {
    grid-template-columns: 1fr;
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 12px 16px;
    gap: 12px;
  }

  .site-header .brand {
    display: none;
  }

  .section {
    padding: 54px 16px;
  }

  .page-hero {
    padding: 54px 16px 34px;
  }

  .brand img {
    width: 50px;
    height: 39px;
  }

  .brand-text strong {
    font-size: 0.86rem;
  }

  .header-actions {
    justify-content: end;
    flex-wrap: wrap;
  }

  .theme-btn {
    min-width: 45px;
  }

  .lang-btn {
    min-width: 34px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.75rem);
    line-height: 1.04;
  }

  body[data-lang="ku"] h1 {
    font-size: clamp(1.95rem, 9vw, 3.25rem);
    line-height: 1.34;
  }

  body[data-lang="ku"] h2 {
    font-size: clamp(1.55rem, 7vw, 2.55rem);
    line-height: 1.4;
  }

  .mobile-brand-intro {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 14px 16px 10px;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    border-bottom: 1px solid var(--line);
  }

  .mobile-brand-intro img {
    width: min(46vw, 172px);
    height: auto;
    border-radius: 50%;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.16));
  }

  .hero {
    gap: 26px;
    padding-top: 24px;
  }

  .hero-visual {
    display: none;
  }

  .hero-copy {
    order: 1;
  }

  .hero-ops-card {
    display: flex;
    width: min(100%, 320px);
    flex-direction: column;
    align-items: stretch;
    justify-self: center;
    padding: 18px;
  }

  .hero-ops-card img {
    order: -1;
    width: min(68vw, 220px);
    margin: 0 auto 14px;
  }

  .hero-ops-card .ops-list {
    display: none;
  }

  .hero-ops-card .visual-status {
    padding: 12px 0 0;
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  .hero-actions,
  .form-heading,
  .admin-header,
  .admin-panel-heading,
  .panic-panel,
  .admin-top-actions,
  .admin-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-metrics,
  .trust-band,
  .sector-list,
  .command-grid,
  .values-strip {
    grid-template-columns: 1fr;
  }

  .trust-band div,
  .trust-band div:first-child {
    border-inline: 1px solid var(--line);
    border-bottom: 0;
  }

  .trust-band div:last-child {
    border-bottom: 1px solid var(--line);
  }

  .visual-frame img {
    width: min(100%, 260px);
    margin-top: 22px;
  }

  .ops-list div {
    grid-template-columns: 28px 1fr;
  }

  .sector-list span {
    min-height: 78px;
  }

  .service-card,
  .timeline li,
  .contact-form,
  .why-grid article,
  .proof-grid article,
  .method-grid article,
  .mission-panel,
  .response-panel {
    padding: 22px;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    min-height: 44px;
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  body[dir="rtl"] .floating-whatsapp {
    right: auto;
    left: 16px;
  }
}
