:root {
  --orange: #f06827;
  --orange-dark: #d4551a;
  --navy: #0e2c43;
  --navy-soft: #1a3d59;
  --gray: #4a5057;
  --muted: #6b7280;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 8px 30px rgba(14, 44, 67, 0.08);
  --shadow-lg: 0 18px 50px rgba(14, 44, 67, 0.14);
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--gray);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--navy); line-height: 1.35; margin: 0 0 .6rem; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; display: block; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { width: min(760px, 100% - 2.5rem); }
.sr-only, .skip-link {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; inset-inline-start: 1rem; top: 1rem; width: auto; height: auto;
  clip: auto; background: var(--navy); color: #fff; padding: .6rem 1rem;
  border-radius: var(--radius-sm); z-index: 100;
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .68rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: .18s ease;
  font-family: inherit; white-space: nowrap;
}
.btn-lg { padding: .85rem 1.9rem; font-size: 1rem; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #f2f4f7; color: var(--navy); }

/* ------------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--navy); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { font-weight: 700; font-size: 1.3rem; line-height: 1.1; display: flex; flex-direction: column; }
.brand-text em { font-style: normal; font-size: .62rem; letter-spacing: .16em; color: var(--muted); font-weight: 500; }

.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--navy); font-weight: 500; font-size: .95rem; position: relative; }
.site-nav a:hover { color: var(--orange); }
.site-nav a.is-active { color: var(--orange); }
.site-nav a.is-active::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px;
  background: var(--orange); border-radius: 2px;
}
.nav-cta { color: #fff !important; }
.nav-cta::after { display: none !important; }

.nav-toggle {
  margin-inline-start: auto; display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* --------------------------------------------------------------------- hero */
.hero {
  background: linear-gradient(160deg, #0e2c43 0%, #17415f 55%, #1d5075 100%);
  color: #e8eef4; padding: clamp(3rem, 7vw, 5.5rem) 0; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero h1 .accent { color: var(--orange); }
.hero p { color: #c8d6e2; font-size: 1.05rem; max-width: 52ch; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  color: var(--orange); background: rgba(240, 104, 39, .14);
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }

.hero-art { position: relative; min-height: 260px; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.blob-1 { width: 230px; height: 230px; background: radial-gradient(circle at 30% 30%, #f06827, #d4551a); top: 0; inset-inline-end: 10%; }
.blob-2 { width: 160px; height: 160px; background: radial-gradient(circle at 40% 40%, #58a6d8, #1d5075); bottom: 0; inset-inline-start: 8%; }
.hero-card {
  position: absolute; bottom: 22%; inset-inline-end: 4%; background: #fff; color: var(--navy);
  border-radius: var(--radius); padding: .9rem 1.15rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .75rem;
}
.hero-card strong { display: block; font-size: .95rem; }
.hero-card small { color: var(--muted); font-size: .8rem; }
.hero-card-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; flex: none; }

/* -------------------------------------------------------------------- stats */
.stats { background: var(--bg-soft); padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.stats-title { text-align: center; margin-bottom: 2rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.3rem; text-align: center; box-shadow: var(--shadow);
}
.stat strong { display: block; font-size: 2.3rem; font-weight: 700; color: var(--orange); line-height: 1.2; }
.stat span { color: var(--gray); font-size: .95rem; }

/* ----------------------------------------------------------------- sections */
.section { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.section-head { margin-bottom: 2rem; position: relative; }
.section-head p { color: var(--muted); margin: 0; }
.head-link { position: absolute; inset-inline-end: 0; top: .4rem; font-weight: 600; font-size: .92rem; }
.link-more { font-weight: 600; font-size: .92rem; }
.empty { color: var(--muted); background: var(--bg-soft); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 2rem; text-align: center; }

.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* -------------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d8dde3; }
.card-media { display: block; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-fallback {
  width: 100%; height: 100%; display: grid; place-items: center; font-weight: 700; font-size: 1.6rem;
  color: #fff; background: linear-gradient(135deg, #17415f, #f06827);
}
.card-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body h3 a { color: var(--navy); }
.card-body h3 a:hover { color: var(--orange); }
.card-body p { color: var(--muted); font-size: .93rem; margin: 0; }
.card-meta {
  margin-top: auto; padding-top: .8rem; display: flex; align-items: center;
  justify-content: space-between; gap: .5rem; font-size: .85rem; color: var(--muted);
  border-top: 1px solid var(--line);
}
.tag {
  display: inline-block; font-size: .75rem; font-weight: 600; padding: .22rem .7rem;
  border-radius: 999px; background: rgba(240, 104, 39, .12); color: var(--orange-dark);
}
.tag-muted { background: #eef1f5; color: var(--navy-soft); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .3rem 0; }

.facts { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .45rem; font-size: .9rem; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-bottom: .35rem; }
.facts li:last-child { border-bottom: 0; }
.facts strong { color: var(--navy); font-weight: 600; }
.facts span { color: var(--muted); text-align: end; }

/* -------------------------------------------------------------------- steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.step { background: var(--bg-soft); border-radius: var(--radius); padding: 1.7rem 1.4rem; border: 1px solid var(--line); }
.step-num {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: .9rem;
}
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------------------------------------------------------------------- cta */
.cta { background: var(--navy); color: #dce6ef; padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta h2 { color: #fff; }
.cta p { color: #b6c7d6; margin: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }

/* -------------------------------------------------------------- page pieces */
.page-hero { background: var(--bg-soft); padding: clamp(2.2rem, 5vw, 3.5rem) 0; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); margin: .3rem 0 0; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs span { margin: 0 .35rem; }
.post-meta { display: flex; align-items: center; gap: .8rem; color: var(--muted); font-size: .88rem; margin-bottom: 1.2rem; }
.detail-media { border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; background: var(--bg-soft); aspect-ratio: 16/9; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: 2rem; align-items: start; }
.detail-side { position: sticky; top: 100px; }
.side-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .9rem; }
.side-card h2 { font-size: 1.15rem; margin: 0; }
.side-card .btn { width: 100%; }
.packages { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-bottom: 1.5rem; }
.package { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem; }
.package h3 { font-size: 1rem; }
.price { color: var(--orange); font-size: 1.15rem; }

.rich { color: var(--gray); }
.rich :is(h1,h2,h3,h4) { margin-top: 1.6rem; }
.rich p { margin: 0 0 1rem; }
.rich ul, .rich ol { padding-inline-start: 1.4rem; margin: 0 0 1rem; }
.rich li { margin-bottom: .4rem; }
.rich img { border-radius: var(--radius-sm); margin: 1rem 0; }
.rich a { text-decoration: underline; }
.cms-block { margin-bottom: 2.2rem; }
.cms-block h2 { margin-bottom: 1rem; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-inline-start: 1.7rem; font-size: .95rem; }
.ticks li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--orange); font-weight: 700;
}

.state-page { text-align: center; padding-block: 5rem; }
.state-page h1 { font-size: 3rem; }

/* ------------------------------------------------------------------- forms */
.filters {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: end; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; margin-bottom: 2rem;
}
.filters label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--navy); }
.filters input, .filters select { min-width: 190px; }

input, select, textarea {
  font-family: inherit; font-size: .95rem; padding: .65rem .9rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff; color: var(--gray); width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--orange); outline: none; }
textarea { resize: vertical; }

.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem; align-items: start; }
.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; font-size: .9rem; font-weight: 600; color: var(--navy); }
.contact-form .btn { justify-self: start; }
.alert { border-radius: var(--radius-sm); padding: .85rem 1.1rem; font-size: .93rem; margin: 0; font-weight: 500; }
.alert-ok { background: #e8f8ee; color: #17663a; border: 1px solid #b7e6c9; }
.alert-error { background: #fdecec; color: #9b2626; border: 1px solid #f5c2c2; }

/* ------------------------------------------------------------------ footer */
.site-footer { background: var(--navy); color: #b6c7d6; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.site-footer .brand { color: #fff; margin-bottom: .8rem; }
.site-footer .brand-text em { color: #8ba5bb; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer p { font-size: .92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer a { color: #b6c7d6; font-size: .92rem; }
.site-footer a:hover { color: var(--orange); }
.subscribe-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.subscribe-form input { flex: 1; min-width: 170px; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: #fff; }
.subscribe-form input::placeholder { color: #8ba5bb; }
.form-status { font-size: .88rem; margin: .6rem 0 0; min-height: 1.2em; }
.form-status.ok { color: #7ee2a8; }
.form-status.error { color: #ffb4a8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.2rem; }
.footer-bottom p { margin: 0; font-size: .85rem; color: #8ba5bb; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .hero-inner, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-side { position: static; }
}

@media (max-width: 780px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute; top: 100%; inset-inline: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a.is-active::after { display: none; }
  .nav-cta { margin-top: .8rem; border-bottom: 0 !important; }
  .header-inner { position: relative; }
  .head-link { position: static; display: inline-block; margin-top: .5rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .filters label, .filters input, .filters select { width: 100%; min-width: 0; }
}
