:root {
  --navy: #163d77;
  --navy-700: #10315f;
  --navy-900: #0a2145;
  --navy-50: #f4f7fb;
  --red: #ee0d1b;
  --red-700: #c40b16;
  --white: #ffffff;
  --black: #0a0a0a;
  --muted: #5b6780;
  --line: #e4e8ef;
  --soft: #f7f8fb;
  --sans: "Montserrat", system-ui, sans-serif;
  --sans-ar: "Cairo", "Montserrat", sans-serif;
  --max: 1080px;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body,
html[lang="ar"] { font-family: var(--sans-ar); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] .kicker, html[lang="ar"] .hero-eyebrow { font-family: var(--sans-ar); }

h1, h2, h3 { margin: 0 0 .35em; letter-spacing: -0.02em; color: var(--black); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); line-height: 1.2; font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--muted); max-width: 62ch; }
a { color: inherit; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.wordmark { margin-inline-end: auto; display: flex; align-items: center; text-decoration: none; }
.wordmark img { height: 42px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 22px; list-style: none; margin: 0; padding: 0;
  font-size: .92rem; font-weight: 500;
}
.nav-links a {
  text-decoration: none; color: var(--muted);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--navy); border-color: var(--red);
}
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle, .nav-toggle {
  font-family: inherit; font-weight: 700; font-size: .8rem;
  background: #fff; border: 1px solid var(--line); color: var(--navy);
  padding: 8px 12px; border-radius: 999px; cursor: pointer;
}
.nav-toggle { display: none; }
.nav-cta {
  text-decoration: none; font-size: .84rem; font-weight: 700;
  padding: 9px 16px; border-radius: 999px;
  background: var(--navy); color: #fff !important;
}
.nav-cta:hover { background: var(--navy-700); }
.nav-links-mobile { display: none; list-style: none; margin: 0; padding: 0 16px 16px; }
.nav-links-mobile.open { display: flex; flex-direction: column; }
.nav-links-mobile a {
  display: block; padding: 12px 4px; text-decoration: none;
  border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 600;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .wordmark img { height: 36px; }
  .nav-row { min-height: 64px; }
}

/* Hero */
.hero {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 56px;
}
.hero h1, .hero p { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 40px; align-items: end; }
.hero-eyebrow {
  display: block; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  color: #c5d2e8; margin-bottom: 14px;
}
.hero-lede { color: #d5deee; font-size: 1.05rem; margin-top: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats {
  display: grid; gap: 16px;
  padding: 8px 0 8px 24px;
  border-inline-start: 1px solid rgba(255,255,255,.18);
}
.stat-num { display: block; font-size: 1.6rem; font-weight: 800; color: #fff; }
.stat-label { font-size: .86rem; color: #c5d2e8; }
@media (max-width: 760px) {
  .hero { padding: 44px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { border: 0; padding: 0; grid-template-columns: 1fr 1fr; }
}

/* Sections */
section { padding: 56px 0; }
.section-tight { padding: 40px 0; }
.kicker { display: block; color: var(--red); font-size: .8rem; font-weight: 700; margin-bottom: 8px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; gap: 16px; } }

.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li {
  display: flex; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid var(--line); color: var(--muted);
}
.note-list li:first-child { padding-top: 0; }
.note-list li::before {
  content: ""; width: 7px; height: 7px; margin-top: 8px; flex: 0 0 7px;
  border-radius: 50%; background: var(--red);
}

.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 180px 1fr auto; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.service-row h3 { margin: 0; color: var(--navy); }
.service-row p { margin: 0; }
.service-tag { font-size: .8rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
.service-tag.accent { color: var(--red); }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 6px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700; font-size: .94rem;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--navy);
  color: var(--navy); background: transparent; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn-solid { background: var(--red); border-color: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }

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

/* Forms / calc */
.calc-wrap {
  display: grid; grid-template-columns: 1.15fr .85fr;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff;
}
.calc-form { padding: 28px; }
.calc-result {
  background: var(--navy); color: #fff; padding: 28px;
  display: flex; flex-direction: column; justify-content: center;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--soft);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: #fff;
  box-shadow: 0 0 0 3px rgba(22,61,119,.12);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice {
  border: 1px solid var(--line); background: #fff; color: var(--navy);
  border-radius: 999px; padding: 8px 14px; font-size: .88rem; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.choice.selected, .choice[aria-pressed="true"] {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.choice:disabled, .choice.is-disabled {
  opacity: .4; cursor: not-allowed; pointer-events: none;
}

.result-label { font-size: .8rem; font-weight: 600; color: #c5d2e8; }
.result-figure { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; margin: 8px 0; line-height: 1.1; }
.result-figure .cur { color: var(--red); }
.result-sub { color: #c5d2e8; font-size: .9rem; }
.result-breakdown { margin-top: 22px; border-top: 1px solid rgba(255,255,255,.18); padding-top: 16px; }
.result-breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; color: #c5d2e8; font-size: .88rem; }
.result-breakdown span:last-child { color: #fff; font-weight: 700; }
@media (max-width: 800px) { .calc-wrap { grid-template-columns: 1fr; } }

.channel-list { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.channel-item { padding: 22px; background: #fff; border-inline-end: 1px solid var(--line); }
.channel-item:last-child { border-inline-end: 0; }
.channel-kind { display: block; color: var(--red); font-size: .75rem; font-weight: 700; margin-bottom: 8px; }
.channel-item a { font-weight: 700; text-decoration: none; color: var(--navy); }
@media (max-width: 700px) {
  .channel-list { grid-template-columns: 1fr; }
  .channel-item { border-inline-end: 0; border-bottom: 1px solid var(--line); }
}

.status-note {
  display: none; margin-top: 14px; font-size: .88rem; color: var(--muted);
  border-inline-start: 3px solid var(--red); padding-inline-start: 12px;
}
.status-note.visible { display: block; }
.hidden { display: none !important; }

footer { border-top: 1px solid var(--line); padding: 28px 0 36px; margin-top: 20px; }
.footer-row { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .86rem; }
.footer-channels { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.footer-channels a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--red); }
