:root {
  --blue: #0E70B7;
  --blue-dark: #0B5C96;
  --blue-deep: #084A7A;
  --green: #029640;
  --green-dark: #017A34;
  --ink: #1C2A33;
  --muted: #5A6B75;
  --bg: #F5F9FC;
  --bg-2: #E8F3F9;
  --line: #D3E3EE;
  --white: #fff;
  --whatsapp: #128c7e;
  --radius: 18px;
  --shadow: 0 10px 28px rgba(14, 112, 183, 0.10);
  --max: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Noto Sans Arabic", "Cairo", system-ui, sans-serif;
  line-height: 1.7;
  text-align: right;
}

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

a { color: inherit; }

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  background: var(--green);
  color: var(--white);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 100;
  font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.brand-name {
  font-family: "Cairo", sans-serif;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.2;
  color: var(--blue);
}
.brand-en {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-dark); }

.btn-green {
  background: var(--green);
  color: var(--white);
}
.btn-green:hover { background: var(--green-dark); }

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

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost-light:hover { border-color: var(--white); }

.btn-outline {
  background: var(--white);
  color: var(--blue);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--blue); }

.btn-wa {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-wa:hover { background: #0e7a6e; }

/* Hero */
.hero {
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(2, 150, 64, 0.16), transparent 50%),
    linear-gradient(165deg, #0E70B7 0%, #0B5C96 55%, #084A7A 100%);
  color: var(--white);
  padding: 2.6rem 0 3.2rem;
  text-align: center;
}

.hero-logo {
  width: 148px;
  height: 148px;
  margin: 0 auto 1.15rem;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
}

.kicker {
  color: #D4F5E2;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.hero h1 {
  font-family: "Cairo", sans-serif;
  font-size: clamp(2rem, 6vw, 3.3rem);
  line-height: 1.25;
  margin: 0 0 0.25rem;
  font-weight: 800;
}

.hero .en {
  margin: 0 0 1rem;
  color: #E8F3F9;
  font-size: 1.12rem;
}

.hero .lead {
  max-width: 36rem;
  margin: 0 auto 1.6rem;
  font-size: 1.12rem;
  color: #F4FAFD;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.hero-actions .btn-primary,
.hero-actions .btn-green {
  background: var(--white);
  color: var(--blue);
}
.hero-actions .btn-green {
  color: var(--green-dark);
}
.hero-actions .btn-primary:hover,
.hero-actions .btn-green:hover {
  background: #F5F9FC;
}

/* Sections */
section { padding: 3.2rem 0; }

.section-head { margin-bottom: 1.6rem; }
.section-head h2 {
  font-family: "Cairo", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--blue);
  margin: 0 0 0.35rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--green);
  display: inline-block;
}
.section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

/* Branches */
.branches { background: var(--bg-2); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem 1.3rem 1.3rem;
}

.card h3 {
  font-family: "Cairo", sans-serif;
  font-size: 1.35rem;
  margin: 0 0 0.15rem;
  color: var(--blue);
}
.card .en-small {
  color: var(--muted);
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
}
.card address {
  font-style: normal;
  margin: 0 0 1.1rem;
  color: var(--ink);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Services */
.services { background: var(--bg); }

.grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1rem 1.05rem;
  text-align: center;
}
.service .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.7rem;
  color: var(--blue);
}
.service h3 {
  font-family: "Cairo", sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.15rem;
  color: var(--blue);
}
.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Contact */
.contact { background: var(--white); }
.contact .section-head h2 { color: var(--blue); }

.contact-list {
  display: grid;
  gap: 0.8rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  text-decoration: none;
  color: var(--ink);
}
.contact-item:hover { border-color: var(--blue); }
.contact-item .icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: var(--blue);
}
.contact-item.social-ig .icon { color: #C13584; }
.contact-item.social-fb .icon { color: #1877F2; }
.contact-item.social-tt .icon { color: #111111; }
.contact-item strong {
  display: block;
  font-family: "Cairo", sans-serif;
  color: var(--blue-deep);
}
.contact-item span span { color: var(--muted); font-size: 0.92rem; }

/* Footer */
footer {
  background: var(--blue-deep);
  color: #D7E8F4;
  padding: 1.5rem 0;
  font-size: 0.92rem;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}
footer strong { color: var(--white); font-family: "Cairo", sans-serif; }
.socials {
  display: flex;
  gap: 0.6rem;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.socials a:hover { background: var(--green); }
.socials svg { width: 18px; height: 18px; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 3.4rem 0 4rem; }
  .hero-logo { width: 176px; height: 176px; }
  .hero { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}
