:root {
  --accent: #0f6b6b;
  --accent-dark: #0a4f4f;
  --accent-soft: #2b8a8a;
  --coral: #e8735a;
  --sun: #f4b942;
  --text: #1c2327;
  --muted: #52606a;
  --line: #d9e1e5;
  --bg: #ffffff;
  --peach: #fff1ea;
  --mint: #eaf7f3;
  --sky: #eef6fc;
  --butter: #fff6d6;
  --footer-bg: #0d3f3f;
  --alert-bg: #fdf1ef;
  --alert: #b3261e;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

:lang(ar) {
  --font: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", "Geeza Pro", "Droid Arabic Naskh", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
}

:lang(ar) body { line-height: 1.95; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

img { max-width: 100%; height: auto; }

.wrap { width: min(100% - 2rem, 62rem); margin-inline: auto; }
.narrow { width: min(100% - 2rem, 62rem); margin-inline: auto; }
.narrow > * { max-width: 46rem; }

.skip {
  position: absolute; inset-inline-start: 0.5rem; top: -4rem;
  background: var(--accent); color: #fff; padding: 0.5rem 1rem; border-radius: 4px; z-index: 50;
}
.skip:focus { top: 0.5rem; color: #fff; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft) 35%, var(--coral) 70%, var(--sun));
}
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.25rem; padding-block: 0.6rem; }
.brand { margin-inline-end: auto; display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 700; font-size: 1.1rem; color: var(--accent-dark); text-decoration: none; line-height: 1.3; }
.brand small { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted); }
.logo { flex: none; width: 40px; height: 40px; border-radius: 10px; }
.logo-foot { display: block; width: 44px; height: 44px; margin-bottom: 0.7rem; }
@media (max-width: 30rem) { .logo { width: 34px; height: 34px; } .logo-foot { width: 44px; height: 44px; } .brand { gap: 0.5rem; font-size: 1rem; } }
.menu { order: 3; width: 100%; display: flex; gap: 1.1rem; overflow-x: auto; white-space: nowrap; padding-bottom: 0.2rem; }
.menu a { color: var(--text); text-decoration: none; font-size: 0.95rem; padding-block: 0.25rem; border-bottom: 2px solid transparent; }
.menu a:hover { color: var(--accent); border-bottom-color: var(--coral); }
.lang { font-size: 0.95rem; white-space: nowrap; }
.lang [aria-current] { font-weight: 700; }
.lang a { text-decoration: none; }

@media (min-width: 56rem) {
  .menu { order: 0; width: auto; overflow: visible; }
}

/* Sections */
section { padding-block: 3rem; scroll-margin-top: 6.5rem; }
h1, h2, h3 { line-height: 1.3; margin: 0 0 0.75rem; }
h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); color: var(--accent-dark); }
h2 { font-size: 1.55rem; color: var(--accent-dark); }
h2::after { content: ""; display: block; width: 3rem; height: 4px; border-radius: 4px; margin-top: 0.45rem; background: linear-gradient(90deg, var(--coral), var(--sun)); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1rem; }

.tint-mint { background: var(--mint); }
.tint-peach { background: var(--peach); }
.tint-sky { background: var(--sky); }

/* Hero */
.hero { padding-block: 3rem; background: linear-gradient(135deg, #fff1ea 0%, #f3f8ef 55%, #e6f6f1 100%); }
.hero-grid, .about-grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .about-grid { grid-template-columns: 1.3fr 0.7fr; }
}
.hero-art img, .about-art img { display: block; width: min(100%, 26rem); margin-inline: auto; }
.about-art img { width: min(100%, 20rem); }
.name-en { display: block; margin-top: 0.15rem; font-size: 0.55em; font-weight: 400; color: var(--muted); }
.hero p.lead { font-size: 1.25rem; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0.6rem 1.4rem; border-radius: 999px;
  border: 2px solid var(--accent); font: inherit; font-weight: 600; text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(15, 107, 107, 0.25); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--accent); }
.btn-secondary:hover { background: var(--mint); }

/* Services */
.services { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) { .services { grid-template-columns: 1fr 1fr; } }
.services li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 1rem; align-items: start;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c-line, var(--accent-soft));
  border-radius: 12px; padding: 1.1rem 1.2rem;
}
.services h3 { margin-bottom: 0.3rem; }
.services p { margin: 0; color: var(--muted); }
.ico {
  width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--c-bg, var(--mint)); color: var(--c-fg, var(--accent));
}
.ico svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.s1 { --c-bg: #ffe3d6; --c-fg: #b84a31; --c-line: #f4a98c; }
.s2 { --c-bg: #dcecf9; --c-fg: #1f5f9a; --c-line: #8dbbe3; }
.s3 { --c-bg: #d5efe8; --c-fg: #0f6b6b; --c-line: #7fcbbb; }
.s4 { --c-bg: #fff0b8; --c-fg: #7a5200; --c-line: #f1cd5a; }
.s5 { --c-bg: #fbe0e8; --c-fg: #a8324f; --c-line: #eea1b7; }

/* Hours */
.hours-card { background: var(--butter); border: 1px solid #f1e2a6; border-radius: 14px; padding: 1.25rem 1.5rem 0.6rem; margin-bottom: 1rem; }
.hours { margin: 0; display: grid; gap: 0.25rem 1.5rem; }
@media (min-width: 40rem) { .hours { grid-template-columns: 14rem 1fr; } }
.hours dt { font-weight: 700; color: var(--accent-dark); }
.hours dd { margin: 0 0 0.75rem; }
@media (min-width: 40rem) { .hours dd { margin: 0 0 0.6rem; } }

address { font-style: normal; }

/* Emergency */
.emergency { background: var(--alert-bg); border-block: 3px solid var(--alert); }
.emergency .box { max-width: 46rem; }
.emergency h2 { color: var(--alert); }
.emergency h2::after { background: var(--alert); }
.emergency p { margin: 0; font-weight: 600; }

/* Contact */
.contact-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.contact-list li { padding-block: 0.5rem; border-bottom: 1px solid #cfe0ee; display: grid; gap: 0.1rem 1.25rem; }
.contact-list strong { font-weight: 700; color: var(--accent-dark); }
@media (min-width: 40rem) { .contact-list li { grid-template-columns: 11rem 1fr; } }
.note { color: var(--muted); font-size: 0.95rem; }

/* Legal pages */
.legal { padding-block: 2.5rem 3.5rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal h2::after { display: none; }
.legal ul { padding-inline-start: 1.4rem; }
.legal li { margin-bottom: 0.35rem; }
.legal .meta { color: var(--muted); }

/* Footer */
.site-footer { background: var(--footer-bg); color: #e3f0ef; padding-block: 2.5rem; font-size: 0.97rem; }
.site-footer a { color: #ffffff; }
.site-footer a:hover { color: var(--sun); }
.site-footer .foot-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.4rem; color: #fff; }
.site-footer p { margin-bottom: 0.6rem; }
.site-footer .links a + a { margin-inline-start: 1.25rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
