:root {
  --ink: #071a17;
  --muted: #52645d;
  --emerald: #0b6b4f;
  --emerald-dark: #074533;
  --gold: #c8a45d;
  --paper: #f7fbf8;
  --line: #dce7e1;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(7, 26, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(11, 107, 79, 0.12), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, "Noto Sans Arabic", sans-serif;
  line-height: 1.6;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 238px;
  max-width: 58vw;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--emerald);
  box-shadow: 0 10px 30px rgba(11, 107, 79, 0.24);
}

.brand-mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand-text {
  display: grid;
  gap: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.brand-text [lang="ar"] {
  color: var(--emerald-dark);
  font-weight: 700;
}

.header-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--muted);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.78);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
  gap: 2rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 5.5rem 1.5rem 4rem;
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.93;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 690px;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.layer-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.layer-summary span {
  border: 1px solid rgba(11, 107, 79, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--emerald-dark);
  padding: 0.45rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 0.72rem 1rem;
  font-weight: 800;
}

.button.primary {
  background: var(--emerald);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(11, 107, 79, 0.25);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--emerald-dark);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 2rem;
  min-height: 420px;
}

.panel-orbit {
  position: absolute;
  inset: 1rem;
  opacity: 0.58;
  pointer-events: none;
}

.panel-orbit span {
  position: absolute;
  border: 1px solid rgba(11, 107, 79, 0.2);
  border-radius: 50%;
}

.panel-orbit span:nth-child(1) {
  inset: 0.25rem;
}

.panel-orbit span:nth-child(2) {
  inset: 3rem 2rem 2rem 4rem;
}

.panel-orbit span:nth-child(3) {
  right: 2rem;
  bottom: 3rem;
  width: 9rem;
  height: 9rem;
  border-color: rgba(200, 164, 93, 0.42);
}

.panel-label {
  position: relative;
  display: inline-flex;
  border: 1px solid rgba(11, 107, 79, 0.2);
  border-radius: 999px;
  margin: 0;
  padding: 0.42rem 0.7rem;
  color: var(--emerald-dark);
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(247, 251, 248, 0.88);
}

.arabic-name {
  position: relative;
  margin: 4.25rem 0 1.2rem;
  color: var(--emerald-dark);
  font-size: clamp(3rem, 8vw, 5.8rem);
  font-weight: 900;
  line-height: 1;
}

.panel-copy {
  position: relative;
  margin: 0;
  color: var(--muted);
  font-size: 1.18rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.trust-strip span {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.84);
  color: var(--emerald-dark);
  font-weight: 800;
  text-align: center;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

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

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
}

.section-heading p:not(.eyebrow),
.split-section > p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 1.35rem;
}

.service-number {
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
}

.service-card h3 {
  margin: 1.25rem 0 0.75rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.layer-section {
  border-top: 1px solid var(--line);
}

.layer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.layer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 248, 0.92));
  padding: 1.5rem;
}

.layer-card span {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.layer-card h3 {
  margin: 0.9rem 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.layer-card p {
  margin: 0;
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.5rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3.25rem;
  }

  .service-grid,
  .trust-strip,
  .layer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-link {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.6rem, 16vw, 4.3rem);
  }

  .service-grid,
  .trust-strip,
  .layer-grid {
    grid-template-columns: 1fr;
  }

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