/* AegisCore Cyber Defense — local stylesheet, no external dependencies */

:root {
  --obsidian: #0B0F19;
  --cyan: #06B6D4;
  --cyan-bright: #22D3EE;
  --slate: #1E293B;
  --font-sans: "Segoe UI", "Helvetica Neue", Arial, system-ui, -apple-system, sans-serif;
  --font-arabic: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
  --radius: 18px;
}

:root[data-theme="dark"] {
  --bg: #0B0F19;
  --bg-alt: #0E1524;
  --surface: #111B2E;
  --surface-2: #162137;
  --header-bg: rgba(11, 15, 25, .82);
  --border: rgba(148, 163, 184, .16);
  --text: #DCE6F5;
  --muted: #94A5BE;
  --heading: #F8FAFC;
  --accent: #06B6D4;
  --accent-2: #22D3EE;
  --accent-contrast: #04141B;
  --accent-soft: rgba(6, 182, 212, .11);
  --shadow: 0 22px 55px rgba(0, 0, 0, .38);
  --grid-line: rgba(6, 182, 212, .05);
}

:root[data-theme="light"] {
  --bg: #F5F8FC;
  --bg-alt: #EDF3FA;
  --surface: #FFFFFF;
  --surface-2: #F1F6FB;
  --header-bg: rgba(245, 248, 252, .88);
  --border: rgba(30, 41, 59, .13);
  --text: #334155;
  --muted: #64748B;
  --heading: #0B0F19;
  --accent: #0891B2;
  --accent-2: #06B6D4;
  --accent-contrast: #FFFFFF;
  --accent-soft: rgba(8, 145, 178, .10);
  --shadow: 0 20px 45px rgba(15, 23, 42, .10);
  --grid-line: rgba(8, 145, 178, .05);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

[dir="rtl"] body { font-family: var(--font-arabic); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin-top: 0; }

::selection { background: var(--accent); color: var(--accent-contrast); }

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: -100px;
  inset-inline-start: 16px;
  z-index: 300;
  background: var(--accent);
  color: var(--accent-contrast);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { inset-block-start: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-block-end: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-height: 78px;
  flex-wrap: nowrap;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(6, 182, 212, .35);
}
.brand-mark svg { width: 24px; height: 24px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong {
  font-size: 1.02rem;
  letter-spacing: .05em;
  color: var(--heading);
  white-space: nowrap;
}
.brand-text small {
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
[dir="rtl"] .brand-text small { letter-spacing: 0; text-transform: none; font-size: .72rem; }

.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); margin-inline-start: auto; }
.nav-link {
  position: relative;
  font-size: .88rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  padding-block: 8px;
  transition: color .2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  inset-block-end: 2px;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--heading); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }

.theme-toggle .icon-moon { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon { display: block; }

.lang-switch { display: flex; align-items: center; gap: 2px; border: 1px solid var(--border); border-radius: 10px; padding: 3px; background: var(--surface-2); }
.lang-option {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 7px;
  border-radius: 7px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.lang-option:hover { color: var(--heading); }
.lang-option.is-active { background: var(--accent-soft); color: var(--accent); }
.lang-option .flag { font-size: 1rem; line-height: 1; }

.menu-toggle { display: none; }
.menu-toggle .menu-bar { width: 17px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle .menu-bar + .menu-bar { margin-top: 4px; }
.site-header.nav-open .menu-toggle .menu-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header.nav-open .menu-toggle .menu-bar:nth-child(2) { opacity: 0; }
.site-header.nav-open .menu-toggle .menu-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 25px;
  border-radius: 11px;
  border: 1px solid transparent;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease, color .22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-arrow { font-size: 1.1em; line-height: 1; transition: transform .22s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }
[dir="rtl"] .btn-arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn-arrow { transform: scaleX(-1) translateX(4px); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 10px 26px rgba(6, 182, 212, .20);
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 14px 32px rgba(6, 182, 212, .32); }
[data-theme="light"] .btn-primary:hover { background: #0E7490; }

.btn-ghost { background: transparent; border-color: var(--border); color: var(--heading); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline { background: var(--accent-soft); border-color: rgba(6, 182, 212, .45); color: var(--accent); }
.btn-outline:hover { background: rgba(6, 182, 212, .2); }

.btn-sm { padding: 9px 16px; font-size: .8rem; border-radius: 9px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: clamp(560px, 78vh, 760px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-block-end: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 54px 54px;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  inset-block-start: -180px;
  inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(6, 182, 212, .16), transparent 68%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding-block: 90px; }
.hero-content { max-width: 730px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(6, 182, 212, .4);
  border-radius: 999px;
  background: rgba(6, 182, 212, .08);
  color: var(--accent-2);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
}
[data-theme="light"] .eyebrow { color: var(--accent); }
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .78rem; }

.hero h1 {
  margin: 26px 0 20px;
  font-size: clamp(2.7rem, 6vw, 4.9rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  color: var(--heading);
  font-weight: 800;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }

.hero-lead {
  max-width: 640px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note {
  margin: 38px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: inline-block;
  font-size: .82rem;
  color: var(--muted);
}
.hero-bottom-line { position: absolute; inset-block-end: 0; inset-inline: 0; height: 2px; background: linear-gradient(90deg, var(--accent), transparent 70%); }

/* ---------- Stats ---------- */

.stats-section { background: var(--bg-alt); border-block-end: 1px solid var(--border); padding-block: 44px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { text-align: center; padding: 4px 12px; }
.stat + .stat { border-inline-start: 1px solid var(--border); }
.stat-value {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
[dir="rtl"] .stat-value, [dir="rtl"] .badge-value { direction: ltr; unicode-bidi: isolate; }
.stat-label { margin: 8px 0 0; color: var(--muted); font-size: .9rem; }

/* ---------- Sections ---------- */

.section { padding-block: 100px; }
.services-section { background: var(--bg); }
.about-section { background: var(--bg-alt); border-block: 1px solid var(--border); }
.coverage-section { background: var(--bg); }

.section-head { max-width: 760px; margin-inline: auto; text-align: center; margin-bottom: 52px; }
.section-head-left { text-align: start; margin-inline: 0; }
.section-head h2, .facts-title {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 3.7vw, 3rem);
  line-height: 1.14;
  letter-spacing: -.03em;
  color: var(--heading);
}
.section-head p { color: var(--muted); line-height: 1.8; margin-bottom: 0; }

/* ---------- Service cards ---------- */

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(6, 182, 212, .55); box-shadow: var(--shadow); }
.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, .25);
}
.service-icon svg { width: 28px; height: 28px; transition: transform .3s ease; }
.service-card:hover .service-icon svg { transform: scale(1.14); }
.service-card h3 { margin: 22px 0 10px; font-size: 1.1rem; line-height: 1.38; color: var(--heading); }
.service-card > p { font-size: .9rem; color: var(--muted); line-height: 1.72; margin-bottom: 0; }

.mini-list { margin-top: 18px; }
.mini-list li { position: relative; padding-inline-start: 16px; font-size: .82rem; line-height: 1.65; color: var(--muted); }
.mini-list li + li { margin-top: 6px; }
.mini-list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .65em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

.card-link { margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; font-size: .85rem; }
.card-link span { transition: transform .2s ease; }
.card-link:hover span { transform: translateX(4px); }
[dir="rtl"] .card-link span { transform: scaleX(-1); }
[dir="rtl"] .card-link:hover span { transform: scaleX(-1) translateX(4px); }

/* ---------- About ---------- */

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; padding-inline-end: 24px; padding-block-end: 36px; }
.about-media > img:first-child { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); }
.about-media-small {
  position: absolute;
  inset-inline-end: -18px;
  inset-block-end: -10px;
  width: 38%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
  border: 5px solid var(--bg-alt);
  box-shadow: var(--shadow);
}
.about-media-badge {
  position: absolute;
  inset-block-start: 22px;
  inset-inline-start: -18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(6, 182, 212, .35);
  box-shadow: var(--shadow);
}
.badge-value { font-size: 1.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.badge-label { font-size: .72rem; color: var(--muted); max-width: 150px; line-height: 1.4; }

.about-copy .section-head { margin-bottom: 30px; }
.check-list { display: grid; gap: 14px; margin-bottom: 34px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; color: var(--text); }
.check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  border: 1px solid rgba(6, 182, 212, .35);
}

/* ---------- Coverage ---------- */

.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.coverage-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.coverage-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.coverage-shot:hover img { transform: scale(1.045); }
.audience-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.audience-chips li { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: .86rem; }

/* ---------- CTA band ---------- */

.cta-band {
  padding-block: 70px;
  background: linear-gradient(115deg, rgba(6, 182, 212, .13), transparent 60%), var(--bg-alt);
  border-block-start: 1px solid var(--border);
}
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); line-height: 1.2; color: var(--heading); margin-bottom: 8px; }
.cta-band p { color: var(--muted); margin-bottom: 0; }

/* ---------- Inner page heroes ---------- */

.inner-hero {
  position: relative;
  overflow: hidden;
  padding-block: 110px 72px;
  border-block-end: 1px solid var(--border);
  background: radial-gradient(circle at 82% 20%, rgba(6, 182, 212, .13), transparent 45%), var(--bg-alt);
}
[dir="rtl"] .inner-hero { background: radial-gradient(circle at 18% 20%, rgba(6, 182, 212, .13), transparent 45%), var(--bg-alt); }
.inner-hero-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.inner-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.1; letter-spacing: -.035em; color: var(--heading); margin: 24px 0 18px; }
.inner-hero-lead { max-width: 660px; font-size: 1.08rem; line-height: 1.8; color: var(--muted); margin-bottom: 0; }
.inner-hero-visual { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.ring { position: absolute; border: 1px solid rgba(6, 182, 212, .28); border-radius: 50%; }
.ring-one { width: 220px; height: 220px; }
.ring-two { width: 158px; height: 158px; border-style: dashed; }
.shield-mark {
  width: 92px; height: 92px; display: grid; place-items: center;
  border-radius: 26px; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(6, 182, 212, .4);
}
.shield-mark svg { width: 52px; height: 52px; }

/* ---------- About page ---------- */

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story-copy h2, .region-copy h2, .engagement-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.18; color: var(--heading); margin: 18px 0 20px; }
.story-copy p, .region-copy p, .engagement-copy p { color: var(--muted); line-height: 1.9; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); }
.about-facts { padding-block: 60px; }
.facts-title { text-align: center; margin-bottom: 40px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.region-section { background: var(--bg-alt); }
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.region-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); }

/* ---------- Services page ---------- */

.intro-section { background: var(--bg-alt); border-block-end: 1px solid var(--border); padding-block: 70px; }
.intro-grid { max-width: 820px; text-align: center; margin-inline: auto; }
.intro-grid h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); color: var(--heading); margin: 16px 0; }
.intro-grid p { color: var(--muted); line-height: 1.85; margin-bottom: 0; }

.service-row { display: grid; grid-template-columns: 68px 1fr; gap: 28px; padding-block: 38px; border-block-end: 1px solid var(--border); }
.service-row:first-child { padding-top: 0; }
.service-row-icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: 18px; background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(6, 182, 212, .3); }
.service-row-icon svg { width: 34px; height: 34px; }
.service-row-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); color: var(--heading); margin: 4px 0 12px; }
.service-row-body > p { color: var(--muted); line-height: 1.85; max-width: 820px; margin-bottom: 0; }
.check-list-inline { grid-template-columns: repeat(2, 1fr); gap: 12px 26px; margin: 22px 0 0; }
.check-list-inline li { font-size: .9rem; }

.service-engagement { background: var(--bg-alt); }
.engagement-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.engagement-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); }

/* ---------- Contact page ---------- */

.contact-section { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 70px; align-items: start; }
.contact-details > h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); color: var(--heading); margin-bottom: 12px; }
.contact-details > p { color: var(--muted); line-height: 1.8; }
.contact-list { margin-top: 26px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; padding-block: 18px; border-block-end: 1px solid var(--border); }
.contact-icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(6, 182, 212, .28); }
.contact-icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
[dir="rtl"] .contact-list small { letter-spacing: 0; text-transform: none; font-size: .78rem; }
.contact-list a { color: var(--heading); font-weight: 700; }
.contact-list a:hover { color: var(--accent); }
.contact-hours { color: var(--text); font-size: .92rem; }
.contact-photo img { width: 100%; height: 190px; object-fit: cover; border-radius: 16px; border: 1px solid var(--border); margin-top: 28px; }

.contact-form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow); }
.contact-form-card > h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--heading); margin-bottom: 8px; }
.contact-form-card > p { color: var(--muted); font-size: .92rem; line-height: 1.7; margin-bottom: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--heading); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6, 182, 212, .16); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { margin: 16px 0 0; font-size: .78rem; line-height: 1.65; color: var(--muted); }

.response-band { background: var(--bg-alt); border-block-start: 1px solid var(--border); padding-block: 42px; }
.response-band-inner { display: flex; align-items: center; gap: 22px; }
.response-pulse { flex: 0 0 14px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 7px rgba(6, 182, 212, .14); }
.response-band h2 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--heading); margin-bottom: 4px; }
.response-band p { color: var(--muted); margin-bottom: 0; }

/* ---------- 404 ---------- */

.notfound { min-height: 68vh; display: grid; place-items: center; text-align: center; padding-block: 100px; }
.notfound-inner { max-width: 720px; }
.notfound-code { display: block; font-size: clamp(4rem, 10vw, 7rem); font-weight: 800; line-height: 1; color: var(--accent); }
.notfound h1 { font-size: clamp(1.8rem, 4vw, 3rem); color: var(--heading); margin: 18px 0 12px; }
.notfound p { color: var(--muted); line-height: 1.8; margin-bottom: 30px; }
.notfound .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer { background: var(--bg-alt); border-block-start: 1px solid var(--border); padding-block: 74px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; }
.footer-brand p { color: var(--muted); font-size: .9rem; line-height: 1.75; margin: 20px 0 8px; max-width: 320px; }
.footer-region { color: var(--accent) !important; font-size: .8rem !important; }
.footer-col h3 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--heading); margin-bottom: 20px; }
[dir="rtl"] .footer-col h3 { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.footer-list li { margin-bottom: 11px; }
.footer-list a, .footer-hours { color: var(--muted); font-size: .88rem; }
.footer-list a:hover { color: var(--accent); }
.footer-hours { display: block; line-height: 1.6; }
.footer-cta-col .btn { margin-bottom: 14px; }
.footer-coverage { display: block; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; border-block-start: 1px solid var(--border); margin-top: 54px; padding-top: 22px; color: var(--muted); font-size: .8rem; }

/* ---------- Scroll reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in-view { opacity: 1; transform: none; }
.card-grid .reveal:nth-child(2) { transition-delay: .08s; }
.card-grid .reveal:nth-child(3) { transition-delay: .16s; }
.card-grid .reveal:nth-child(4) { transition-delay: .24s; }
.coverage-grid .reveal:nth-child(2) { transition-delay: .1s; }
.coverage-grid .reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .main-nav {
    display: none;
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .site-header.nav-open .main-nav { display: flex; }
  .nav-link { padding: 13px 14px; border-radius: 9px; }
  .nav-link::after { display: none; }
  .nav-link:hover, .nav-link.is-active { background: var(--accent-soft); color: var(--accent); }
  .menu-toggle { display: grid; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .story-grid, .region-grid, .engagement-grid, .contact-grid { gap: 48px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 38px; }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .about-grid, .story-grid, .region-grid, .engagement-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; }
  .inner-hero-visual { display: none; }
  .inner-hero-inner { grid-template-columns: 1fr; }
  .contact-photo { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(1180px, calc(100% - 32px)); }
  .section { padding-block: 72px; }
  .hero { min-height: 620px; }
  .hero-inner { padding-block: 72px; }
  .stats-grid { grid-template-columns: 1fr; gap: 0; }
  .stat { padding-block: 20px; }
  .stat + .stat { border-inline-start: 0; border-block-start: 1px solid var(--border); }
  .coverage-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .check-list-inline { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 54px 1fr; gap: 18px; }
  .service-row-icon { width: 54px; height: 54px; border-radius: 14px; }
  .service-row-icon svg { width: 28px; height: 28px; }
}

@media (max-width: 560px) {
  .header-inner { min-height: 66px; gap: 8px; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: .92rem; }
  .brand-mark { width: 34px; height: 34px; flex-basis: 34px; }
  .brand-mark svg { width: 21px; height: 21px; }
  .lang-code { display: none; }
  .lang-option { padding: 5px; }
  .icon-btn, .menu-toggle { width: 34px; height: 34px; }
  .card-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-media-small { inset-inline-end: -6px; width: 42%; }
  .about-media-badge { inset-inline-start: -6px; padding: 10px 13px; }
  .section-head { margin-bottom: 38px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 24px); }
  .hero h1 { font-size: 2.35rem; }
  .btn { padding: 12px 18px; font-size: .86rem; }
  .header-actions { gap: 5px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
