:root {
  --green-950: #04241c;
  --green-900: #07352a;
  --green-800: #0b4f3a;
  --green-700: #116348;
  --green-600: #187a58;
  --green-100: #e6f2ed;
  --green-50: #f3f8f6;
  --gold-700: #9a7a1c;
  --gold-600: #b8942a;
  --gold-500: #c9a227;
  --gold-200: #ead9a0;
  --gold-100: #f8f1dc;
  --ink: #17211e;
  --ink-muted: #4a5550;
  --line: #d7e3dd;
  --white: #fff;
  --bg: #f6f8f6;
  --danger: #7a2a2a;
  --danger-bg: #f8eeee;
  --radius: 16px;
  --shadow: 0 12px 36px rgba(11, 79, 58, 0.1);
  --header-h: 4.5rem;
  --font: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --focus: 0 0 0 3px var(--gold-200);
  --max: 72rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(201, 162, 39, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at -10% 20%, rgba(11, 79, 58, 0.06), transparent);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--green-900); }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; }
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--gold-500);
  color: var(--green-950);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; color: var(--green-950); }
.container { width: min(100% - 1.5rem, var(--max)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Top bar */
.topbar {
  background: var(--green-950);
  color: #e8efe9;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  align-items: center;
  justify-content: space-between;
  min-height: 2.15rem;
  padding-block: 0.35rem;
}
.topbar-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.topbar .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-500); display: inline-block;
}
.lang-switch { display: flex; gap: 0.35rem; }
.lang-switch a {
  color: #d5e0d9;
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
}
.lang-switch a[aria-current="page"],
.lang-switch a.is-active {
  color: var(--green-950);
  background: var(--gold-500);
  font-weight: 700;
}
.lang-switch a:hover { border-color: var(--gold-500); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--green-900);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}
.logo img { width: 40px; height: 40px; flex-shrink: 0; }
.logo small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.nav-list {
  display: flex;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  color: var(--ink);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-list a:hover { background: var(--green-50); color: var(--green-800); }
.nav-list a[aria-current="page"] {
  color: var(--green-800);
  background: var(--gold-100);
}
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--green-800);
  border-radius: 2px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle span { transition: transform 0.2s, opacity 0.2s; }

.disclaimer-strip {
  background: var(--gold-100);
  color: var(--green-950);
  border-bottom: 1px solid var(--gold-200);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  padding: 0.55rem 1rem;
  line-height: 1.55;
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, var(--green-800) 0%, var(--green-900) 100%);
  color: #f4f7f5;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 162, 39, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 162, 39, 0.07) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.8rem, 4vw, 3.6rem) 0;
}
.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.65rem);
  line-height: 1.35;
  color: #fff;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-200);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}
.hero-lead a { color: var(--gold-200); font-weight: 700; }
.hero-lead a:hover { color: #fff; }
.page-hero a { color: var(--gold-200); }
.page-hero a:hover { color: #fff; }
.page-hero .breadcrumb { color: #c5d4cc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.hero-figure { justify-self: center; }
.hero-figure img {
  width: min(100%, 460px);
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.28));
}
.hero-meta {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  font-size: 0.85rem;
  color: #c5d4cc;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}
.btn-gold {
  background: var(--gold-500);
  color: var(--green-950);
}
.btn-gold:hover { background: #d4b13a; color: var(--green-950); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn-outline {
  background: var(--white);
  color: var(--green-800);
  border-color: var(--green-800);
}
.btn-outline:hover { background: var(--green-50); color: var(--green-900); }
.btn-solid {
  background: var(--green-800);
  color: #fff;
}
.btn-solid:hover { background: var(--green-900); color: #fff; }

/* Summary + TOC */
.summary-box, .toc, .alert, .trust-card, .city-card, .prose, .faq-item, .form-card, .legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.summary-box {
  padding: 1.15rem 1.25rem;
  border-inline-start: 4px solid var(--gold-500);
  margin: -1.6rem auto 1.6rem;
  position: relative;
  z-index: 2;
}
.summary-box h2 { margin: 0 0 0.5rem; font-size: 1.1rem; color: var(--green-800); }
.summary-box ul { margin: 0; padding-inline-start: 1.2rem; }
.summary-box li { margin-bottom: 0.25rem; }
.toc { padding: 1.1rem 1.25rem; margin-bottom: 1.75rem; }
.toc h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.toc ol { margin: 0; padding-inline-start: 1.2rem; columns: 1; }
@media (min-width: 720px) { .toc ol { columns: 2; } }
.toc a { text-decoration: none; }
.toc li { break-inside: avoid; margin-bottom: 0.35rem; }

/* Layout sections */
.section { padding: 0.5rem 0 2.4rem; }
.section h2 {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem);
  color: var(--green-900);
  margin: 0 0 0.8rem;
  line-height: 1.4;
}
.section h3 {
  font-size: 1.12rem;
  color: var(--green-800);
  margin: 1.4rem 0 0.5rem;
}
.prose { padding: 1.25rem 1.35rem 1.5rem; margin-bottom: 1.25rem; }
.prose p { margin: 0 0 0.9rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-inline-start: 1.25rem; }
.prose li { margin-bottom: 0.35rem; }
.kicker {
  color: var(--gold-700);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}
.update-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--ink-muted);
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0 1.4rem;
}
.city-card {
  padding: 1.2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  transition: transform 0.18s, box-shadow 0.18s;
  min-height: 100%;
}
.city-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(11, 79, 58, 0.14);
  color: inherit;
}
.city-card h3 { margin: 0; color: var(--green-800); font-size: 1.2rem; }
.city-card p { margin: 0; color: var(--ink-muted); flex: 1; }
.city-card .more { color: var(--gold-700); font-weight: 700; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 1rem 0;
}
.trust-card { padding: 1rem 1.1rem; }
.trust-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.trust-card p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Table */
.table-wrap { overflow-x: auto; margin: 1rem 0; border-radius: 12px; border: 1px solid var(--line); }
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 32rem;
  background: var(--white);
}
th, td {
  padding: 0.7rem 0.85rem;
  text-align: start;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: var(--green-800); color: #fff; font-weight: 700; }
tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--green-50); }

/* FAQ */
.faq-list { display: grid; gap: 0.65rem; }
.faq-item { overflow: hidden; }
.faq-item button {
  width: 100%;
  text-align: start;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: var(--green-900);
  padding: 0.95rem 1.1rem;
  min-height: 48px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item button::after {
  content: "";
  width: 10px; height: 10px;
  border-inline-end: 2px solid var(--gold-600);
  border-bottom: 2px solid var(--gold-600);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item button[aria-expanded="true"]::after { transform: rotate(225deg); }
.faq-item .faq-panel {
  display: none;
  padding: 0 1.1rem 1rem;
  color: var(--ink-muted);
}
.faq-item .faq-panel[data-open="true"] { display: block; }
.search-box {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.search-box input {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem 0.9rem;
  font: inherit;
  background: var(--white);
}
.search-box button { min-width: 5.5rem; }

/* Breadcrumb */
.breadcrumb {
  padding: 0.9rem 0 0;
  font-size: 0.9rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  color: var(--ink-muted);
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-inline-start: 0.5rem;
  color: var(--line);
}
.breadcrumb a { text-decoration: none; }

/* Alerts */
.alert { padding: 1rem 1.1rem; margin: 1rem 0; }
.alert-warn {
  background: var(--danger-bg);
  border-color: #e3c4c4;
}
.alert strong { color: var(--danger); }

/* Forms */
.form-card { padding: 1.25rem; }
label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  font: inherit;
  margin-bottom: 0.9rem;
  background: var(--white);
}
textarea { min-height: 8rem; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--ink-muted); margin-bottom: 0.9rem; }
.form-success {
  display: none;
  padding: 0.9rem 1rem;
  background: var(--green-100);
  border-radius: 12px;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--green-900);
}
.checkbox-row {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.checkbox-row input { margin-top: 0.35rem; width: auto; min-height: auto; }

/* Footer */
.site-footer {
  background: var(--green-950);
  color: #d5e0d9;
  margin-top: 1rem;
  padding: 2.2rem 0 1.2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.site-footer h2 {
  color: var(--gold-200);
  font-size: 0.95rem;
  margin: 0 0 0.7rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: #e8efe9; text-decoration: none; }
.site-footer a:hover { color: var(--gold-200); }
.footer-brand { font-weight: 700; color: #fff; font-size: 1.05rem; }
.footer-disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #b7c6be;
}
.footer-copy { margin-top: 0.7rem; font-size: 0.82rem; color: #8fa099; }

/* Back to top */
.back-top {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 0;
  background: var(--green-800);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-size: 1.2rem;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; }
.back-top:hover { background: var(--green-700); }

/* Page hero compact */
.page-hero {
  background: linear-gradient(180deg, var(--green-800), var(--green-900));
  color: #fff;
  padding: 1.4rem 0 1.8rem;
}
.page-hero h1 {
  margin: 0.2rem 0 0.55rem;
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.2rem);
  line-height: 1.35;
}
.page-hero p { margin: 0; color: #dce8e2; max-width: 44rem; }

/* 404 */
.error-wrap { text-align: center; padding: 3rem 1rem 4rem; }
.error-wrap h1 { font-size: clamp(2rem, 6vw, 4rem); color: var(--green-800); margin: 0; }
.error-wrap p { max-width: 36rem; margin: 0.8rem auto 1.2rem; }

body.nav-open { overflow: hidden; }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 36, 28, 0.45);
  z-index: 70;
}

@media (max-width: 900px) {
  .hero-inner, .footer-grid, .trust-grid { grid-template-columns: 1fr; }
  .hero-figure { order: -1; }
  .header-inner { gap: 0.5rem; }
  .logo { min-width: 0; }
  .logo span { white-space: normal; line-height: 1.25; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: auto;
    width: min(86vw, 22rem);
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 120;
    transform: translate3d(110%, 0, 0);
    transition: transform 0.25s ease;
    padding: 4.5rem 1.1rem 1.5rem;
    box-shadow: var(--shadow);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  html[dir="ltr"] .site-nav {
    right: auto;
    left: 0;
    transform: translate3d(-110%, 0, 0);
  }
  .site-nav.is-open,
  [dir="rtl"] .site-nav.is-open,
  html[dir="ltr"] .site-nav.is-open {
    transform: translate3d(0, 0, 0);
  }
  .nav-list { flex-direction: column; }
  .nav-list a { width: 100%; }
  .nav-overlay.is-open { display: block; }
  .cards { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .nav-close { display: none; }
}

.nav-close {
  position: absolute;
  top: 0.8rem;
  inset-inline-end: 0.8rem;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  font-size: 1.4rem;
  cursor: pointer;
}

.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}
@media (max-width: 640px) { .related { grid-template-columns: 1fr; } }
.chip {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: 999px;
  padding: 0.15rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
}
.inline-links a { font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.figure-caption { color: var(--ink-muted); font-size: 0.85rem; margin-top: 0.4rem; }

.topbar-wa {
  color: var(--gold-200);
  text-decoration: none;
  font-weight: 700;
  unicode-bidi: isolate;
}
.topbar-wa:hover { color: #fff; }
.wa-link {
  color: var(--gold-200);
  font-weight: 700;
  text-decoration: none;
}
.wa-link:hover { color: #fff; }
.wa-card {
  border-color: #9ad4c4;
  background: linear-gradient(180deg, #f3fbf8, #fff);
}
.wa-float {
  position: fixed;
  inset-inline-start: 1rem;
  bottom: 1rem;
  z-index: 41;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: #0e7a67;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(14, 122, 103, 0.35);
}
.wa-float:hover { background: #0b6858; color: #fff; }
.wa-float svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 640px) {
  .wa-float .wa-float-label { display: none; }
  .wa-float { width: 48px; padding: 0; }
}
