:root {
  --bg: #0f1720;
  --bg-alt: #151f2b;
  --card: #1b2836;
  --text: #eef3f8;
  --muted: #9fb0c1;
  --blue: #55a3df;
  --blue-dark: #3b86c3;
  --wa: #25d366;
  --line: #263547;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
html[lang="ar"] body { font-family: "Noto Sans Arabic", Tahoma, "Segoe UI", system-ui, sans-serif; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 23, 32, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; margin-inline-end: auto; }
.brand img { border-radius: 50%; }
.brand-name { font-size: 1rem; line-height: 1.2; }
.nav { display: none; gap: 20px; font-size: .95rem; color: var(--muted); }
.nav a:hover { color: var(--text); }

.lang-toggle {
  font: inherit; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue); border-radius: 999px;
  padding: 6px 16px; min-height: 40px;
}
.lang-toggle:hover { background: var(--blue); color: #0b1118; }
.lang-toggle.small { min-height: 36px; padding: 4px 14px; }

/* Buttons */
.btn {
  display: inline-block; font-weight: 700; text-align: center;
  padding: 13px 24px; border-radius: 999px; min-height: 48px;
  border: 2px solid transparent;
}
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #0b1118; }

/* Hero */
.hero { padding: 40px 0 48px; background: radial-gradient(900px 400px at 80% 0%, rgba(85,163,223,.18), transparent 60%); }
.hero-inner { display: grid; gap: 28px; align-items: center; }
.hero-logo { justify-self: center; width: min(62vw, 320px); height: auto; order: -1; }
.eyebrow { margin: 0 0 6px; color: var(--blue); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
html[lang="ar"] .eyebrow { letter-spacing: 0; }
h1 { margin: 0 0 12px; font-size: clamp(2rem, 7vw, 3.2rem); line-height: 1.12; }
.lead { margin: 0 0 24px; color: var(--muted); font-size: 1.08rem; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.center-cta { justify-content: center; margin-top: 28px; text-align: center; }

/* Pillars */
.pillars { border-block: 1px solid var(--line); background: var(--bg-alt); }
.pillars-grid { display: grid; gap: 4px; padding-block: 12px; }
.pillar { display: flex; align-items: center; gap: 12px; padding: 10px 4px; }
.pillar h2 { margin: 0; font-size: 1.05rem; }
.ico { font-size: 1.6rem; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { margin: 0 0 24px; font-size: 1.7rem; }
.section-title::after { content: ""; display: block; width: 48px; height: 4px; border-radius: 2px; background: var(--blue); margin-top: 8px; }
.note { color: var(--muted); margin: 18px 0 0; }
.note.center { text-align: start; }

.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
.services li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; font-weight: 600;
  border-inline-start: 4px solid var(--blue);
}

.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

.hours-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); max-width: 560px; }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; align-items: flex-start; }
.hours-row + .hours-row { border-top: 1px solid var(--line); }
.hours-row > span:first-child { font-weight: 700; }
.hours-row > span:last-child { text-align: end; }
html[dir="rtl"] .hours-row .ltr { text-align: left; }
.hours-row.closed { color: var(--muted); }

.contacts { display: grid; gap: 12px; grid-template-columns: 1fr; }
.contact {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px;
}
.contact:hover { border-color: var(--blue); }
.email-link { color: var(--blue); font-weight: 700; }
.note.center-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
.contact .role { color: var(--muted); font-size: .9rem; }
.contact .num { color: var(--blue); font-weight: 700; font-size: 1.1rem; margin-top: 4px; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; max-height: 460px; width: 100%; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 100px; color: var(--muted); font-size: .92rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.social { display: flex; gap: 16px; }
.social a:hover { color: var(--blue); }

/* Floating buttons */
.float-actions {
  position: fixed; inset-block-end: 16px; inset-inline-end: 16px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}
.fab-wa { background: var(--wa); color: #fff; width: 64px; height: 64px; }
.fab-call { background: var(--blue); color: #0b1118; }
.fab:hover { transform: scale(1.06); }

@media (min-width: 720px) {
  .nav { display: flex; }
  .hero { padding: 64px 0; }
  .hero-inner { grid-template-columns: 1.3fr 1fr; }
  .hero-logo { order: 0; width: 100%; max-width: 360px; }
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .contacts { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 72px 0; }
}
@media (min-width: 1000px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fab:hover { transform: none; }
}
