:root {
  --navy: #0f1b2d;
  --navy-2: #1d2f4a;
  --ink: #1d1d1f;
  --muted: #5c5a56;
  --gold: #d9b45a;
  --gold-2: #c49a3c;
  --cream: #faf7f0;
  --cream-2: #f6f1e3;
  --line: #e3ddcf;
  --white: #fff;
  --whatsapp: #128c7e;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
  --max: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  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(--gold);
  color: var(--navy);
  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(15, 27, 45, 0.94);
  backdrop-filter: blur(12px);
  color: var(--white);
  border-bottom: 1px solid rgba(217, 180, 90, 0.25);
}

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

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

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

.brand-name {
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.2;
}
.brand-en {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: #e8e1cf;
  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(--gold);
  outline-offset: 2px;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: #e6c56e; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(232, 225, 207, 0.35);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-2); }

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

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

/* Hero */
.hero {
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(217, 180, 90, 0.18), transparent 50%),
    linear-gradient(160deg, #0f1b2d 0%, #1d2f4a 58%, #3a2c0f 140%);
  color: var(--white);
  padding: 3.2rem 0 3.6rem;
}

.kicker {
  color: var(--gold);
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.8rem;
}

.hero h1 {
  font-family: "Cairo", "Noto Kufi Arabic", sans-serif;
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.25;
  margin: 0 0 0.4rem;
  font-weight: 800;
}

.hero .en {
  margin: 0 0 1.2rem;
  color: #e8e1cf;
  font-size: 1.15rem;
}

.hero .lead {
  max-width: 34rem;
  margin: 0 0 1.8rem;
  font-size: 1.15rem;
  color: #f3eee3;
}

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

/* 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(--navy);
  margin: 0 0 0.35rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}
.section-head p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

/* Branches */
.branches { background: var(--cream-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(--navy);
}
.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(--cream); }

.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(--navy);
}
.service h3 {
  font-family: "Cairo", sans-serif;
  font-size: 1.05rem;
  margin: 0 0 0.15rem;
  color: var(--navy);
}
.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

/* Contact */
.contact { background: var(--navy); color: var(--white); }
.contact .section-head h2 {
  color: var(--white);
  border-bottom-color: var(--gold);
}
.contact .section-head p { color: #e8e1cf; }

.contact-list {
  display: grid;
  gap: 0.8rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(217, 180, 90, 0.22);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  text-decoration: none;
  color: var(--white);
}
.contact-item:hover { border-color: var(--gold); }
.contact-item .icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: var(--gold);
}
.contact-item strong {
  display: block;
  font-family: "Cairo", sans-serif;
}
.contact-item span { color: #e8e1cf; font-size: 0.92rem; }

/* Footer */
footer {
  background: #0b1422;
  color: #cfc8b8;
  padding: 1.4rem 0;
  font-size: 0.92rem;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
}
footer strong { color: var(--gold); font-family: "Cairo", sans-serif; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 4.6rem 0 5rem; }
}

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