:root {
  --navy: #071525;
  --navy-2: #10243f;
  --navy-3: #1a3658;
  --ink: #121a24;
  --muted: #5c6773;
  --ivory: #f3efe7;
  --paper: #fbf9f5;
  --white: #ffffff;
  --gold: #b8892e;
  --gold-2: #e4c57a;
  --gold-deep: #7d5c1c;
  --line: rgba(18, 26, 36, 0.1);
  --shadow: 0 18px 50px rgba(7, 21, 37, 0.08);
  --radius: 22px;
  --header: 78px;
  --max: 1140px;
  --font: "Cairo", "Segoe UI", sans-serif;
  --display: "Cairo", "Segoe UI", sans-serif;
}

html[lang="en"] {
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Fraunces", "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 1.02rem;
}

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

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  line-height: 1.2;
  font-weight: 650;
  margin: 0 0 0.6rem;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .kicker {
  letter-spacing: 0;
}

html[lang="en"] h1,
html[lang="en"] h2 {
  letter-spacing: -0.03em;
}

p { margin: 0 0 0.9rem; }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  position: fixed;
  z-index: 100;
  top: 0.7rem;
  inset-inline-start: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.55rem 0.9rem;
  overflow: visible;
  clip: auto;
  background: var(--navy);
  color: white;
  border-radius: 999px;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  overflow: visible;
}

body.nav-open { overflow: hidden; }

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(7, 21, 37, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-inline-end: auto;
}

.brand img { width: 42px; height: 58px; object-fit: contain; }

.brand strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.25rem;
  color: var(--gold-deep);
  letter-spacing: 0.16em;
  font-size: 0.62rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: var(--navy-2);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(7, 21, 37, 0.06);
  color: var(--navy);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.lang {
  display: flex;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.lang a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
}

.lang a.is-current {
  background: var(--navy);
  color: white;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: white;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.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); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-gold {
  background: linear-gradient(180deg, #f0d59a, #c4963a);
  color: #241806;
  box-shadow: 0 8px 20px rgba(184, 137, 46, 0.25);
}

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

.btn-line {
  background: transparent;
  border-color: rgba(7, 21, 37, 0.2);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
}

.header-cta { min-height: 42px; padding-inline: 1rem; }
.menu-cta { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.6rem 0 3.4rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
}

html[lang="en"] .kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: var(--font);
  font-size: 0.75rem;
}

.kicker i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  display: inline-block;
  transform: rotate(45deg);
  flex: 0 0 auto;
}

h1 { font-size: clamp(2.3rem, 5vw, 4.15rem); }

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 40rem;
}

.hero-actions, .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 18% 12%, rgba(228, 197, 122, 0.28), transparent 36%),
    linear-gradient(165deg, #14345c, #071525 58%);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -18%;
  right: 16%;
  width: 12px;
  height: 52%;
  background: linear-gradient(#f3d7a1, #b8892e);
  transform: rotate(28deg);
  pointer-events: none;
  animation: gleam 7s ease-in-out infinite alternate;
}

.hero-panel > * { position: relative; z-index: 1; }

.hero-panel img {
  width: min(180px, 42%);
  height: auto;
  margin-top: 0.4rem;
}

.tagline {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.15;
  margin: 0;
  direction: ltr;
}

html[lang="ar"] .tagline { text-align: right; }

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.hero-meta div {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 0.7rem;
}

.hero-meta strong { display: block; font-size: 0.98rem; }
.hero-meta span { color: rgba(255, 255, 255, 0.72); font-size: 0.88rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: white;
}

.stats article {
  padding: 1.15rem 1.2rem;
  border-inline-start: 1px solid var(--line);
}

.stats article:first-child { border-inline-start: 0; }

.stats strong {
  display: block;
  font-size: 1.45rem;
  color: var(--navy);
  font-family: var(--display);
}

.stats span { color: var(--muted); font-size: 0.92rem; }

.section { padding: 4.5rem 0; }

.section-alt { background: var(--ivory); }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
  margin-bottom: 1.8rem;
}

.section-head p { color: var(--muted); max-width: 38rem; margin: 0; }

h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); }

.grid-4, .grid-3, .grid-2 { display: grid; gap: 1rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }

.card, .svc, .value, .price, .step, .faq, .contact-card, .quote, .info-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem 1.3rem;
}

.svc, .value, .step, .price, .card, .channel {
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.svc:hover, .value:hover, .step:hover, .card:hover, .channel:hover, .price:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(7, 21, 37, 0.1);
  border-color: rgba(184, 137, 46, 0.45);
}

.price.is-featured:hover { transform: translateY(-14px); }

.svc-no, .step-no {
  display: inline-flex;
  color: var(--gold-deep);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.7rem;
}

.svc h3, .value h3, .price h3, .step h3 { font-size: 1.15rem; }

.svc p, .value p, .step p, .card p { color: var(--muted); }

.text-link {
  color: var(--gold-deep);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

.dark-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(228, 197, 122, 0.2), transparent 40%),
    var(--navy);
  color: white;
  border-radius: 28px;
  padding: 2rem;
}

.dark-panel p { color: rgba(255, 255, 255, 0.78); }
.dark-panel .amount { color: var(--gold-2); }
.dark-panel .amount small { color: rgba(255, 255, 255, 0.72); }
[id] { scroll-margin-top: 96px; }

.check-list, .plain-list { margin: 0; padding: 0; list-style: none; }

.check-list li, .plain-list li {
  position: relative;
  padding-inline-start: 1.4rem;
  margin: 0.45rem 0;
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold);
}

.price {
  display: flex;
  flex-direction: column;
  position: relative;
}

.price.is-featured {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  transform: translateY(-8px);
}

.price.is-featured p,
.price.is-featured li { color: rgba(255, 255, 255, 0.8); }

.price.is-featured .amount { color: var(--gold-2); }

.badge {
  align-self: flex-start;
  background: var(--gold);
  color: #241806;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.6rem;
}

.amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.45rem;
  font-size: 2rem;
  color: var(--navy);
  font-family: var(--display);
  line-height: 1.15;
  margin: 0.3rem 0;
}

.amount small { font-size: 0.95rem; font-weight: 600; color: var(--muted); white-space: nowrap; }

.price.is-featured .amount small { color: rgba(255, 255, 255, 0.7); }

.year-price { color: var(--gold-deep); font-weight: 700; margin-bottom: 0.8rem; }

.price.is-featured .year-price { color: var(--gold-2); }

.price .btn { margin-top: auto; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }

.quote {
  background: white;
  border-inline-start: 4px solid var(--gold);
}

.quote p { font-size: 1.15rem; color: var(--ink); }

.quote footer { color: var(--muted); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

table { width: 100%; border-collapse: collapse; min-width: 760px; }

th, td {
  text-align: start;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

thead th {
  background: var(--navy);
  color: white;
  font-weight: 700;
}

tbody tr:last-child td { border-bottom: 0; }

tbody tr:nth-child(even) { background: #faf7f2; }

.yes { color: #1e7a45; font-weight: 800; }
.muted-cell { color: var(--muted); }

.note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 0.8rem;
}

.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.pillars li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.channels { display: grid; gap: 0.7rem; margin: 0.8rem 0 1rem; }

.channel {
  display: grid;
  gap: 0.1rem;
  text-decoration: none;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ivory);
}

.channel small { color: var(--gold-deep); font-weight: 800; }
.channel strong { color: var(--navy); }
.channel span { color: var(--muted); font-size: 0.9rem; }

.reveal {
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0ms);
}

.reveal.wait {
  opacity: 0;
  transform: translateY(46px) scale(0.98);
  filter: blur(5px);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.svc.reveal.is-in:hover,
.value.reveal.is-in:hover,
.step.reveal.is-in:hover,
.card.reveal.is-in:hover,
.channel.reveal.is-in:hover,
.price.reveal.is-in:hover {
  transform: translateY(-6px) scale(1);
  filter: none;
  transition-delay: 0s;
}

.price.is-featured.reveal.is-in { transform: translateY(-8px); }
.price.is-featured.reveal.is-in:hover { transform: translateY(-14px); }

@keyframes gleam {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: inline-end;
  color: var(--gold-deep);
  font-size: 1.3rem;
  line-height: 1;
}

.faq[open] summary::after { content: "–"; }

.faq p { margin-top: 0.7rem; color: var(--muted); }

.cta-band {
  background:
    linear-gradient(110deg, transparent 0 72%, rgba(196, 150, 58, 0.9) 72.2% 74%, transparent 74.2%),
    var(--navy);
  color: white;
  border-radius: 30px;
  padding: 2.4rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.cta-band p { color: rgba(255, 255, 255, 0.78); margin: 0; max-width: 38rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1.2rem 0 0;
}

.crumbs a { color: var(--gold-deep); text-decoration: none; }

.page-hero { padding: 1.2rem 0 0.4rem; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 16ch; }

.service-block {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.service-block h2 { font-size: 1.55rem; }

.form {
  display: grid;
  gap: 0.8rem;
}

label { font-weight: 700; display: grid; gap: 0.35rem; }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  min-height: 48px;
}

textarea { min-height: 140px; resize: vertical; }

input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(184, 137, 46, 0.45);
  outline-offset: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.info-tile a { color: var(--gold-deep); font-weight: 700; }

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.3rem;
  margin-top: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.site-footer a { color: white; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer h3 { font-size: 1rem; color: white; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-brand { width: 150px; margin-bottom: 0.8rem; }
.credit {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.55rem 0.28rem 0.75rem;
  border: 1px solid rgba(228, 197, 122, 0.4);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  line-height: 1;
}
.credit span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 600;
}
.credit strong {
  color: #f0d59a;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.credit:hover {
  border-color: #f0d59a;
  background: rgba(240, 213, 154, 0.12);
  color: white;
}
.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
}

.wa {
  position: fixed;
  inset-inline-end: 1rem;
  bottom: 1rem;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1f7a43;
  color: white;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(18, 80, 40, 0.28);
  text-decoration: none;
}

.wa svg { width: 28px; height: 28px; fill: white; }

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .site-nav { display: none; }
  .site-nav.is-open {
    display: flex;
    position: fixed;
    z-index: 45;
    top: var(--header);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    margin: 0;
    background: #fbf9f5;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.85rem 1rem calc(1.6rem + env(safe-area-inset-bottom));
    gap: 0.2rem;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0.85rem 0.9rem;
    font-size: 1.08rem;
    border-radius: 14px;
  }
  .site-nav .menu-cta {
    display: inline-flex;
    margin-top: 0.8rem;
    width: 100%;
    min-height: 52px;
  }
  .hero, .stats, .grid-4, .grid-3, .split, .steps, .contact-grid, .footer-grid, .cta-band {
    grid-template-columns: 1fr;
  }
  .stats article { border-inline-start: 0; border-top: 1px solid var(--line); }
  .stats article:first-child { border-top: 0; }
  .price.is-featured, .price.is-featured:hover { transform: none; }
  .service-block { grid-template-columns: 1fr; }
  .hero-panel { min-height: 420px; }
  .hero-meta { padding-inline-end: 4.8rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .grid-2 { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .hero { padding-top: 1.4rem; }
  .hero-actions .btn, .cta-row .btn, .cta-band .btn { width: 100%; }
  .section { padding: 3.2rem 0; }
  .page-hero h1 { max-width: none; }
  .legal { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .svc, .card, .value, .step, .price, .channel { transition: none; }
  .hero-panel::after { animation: none; }
  .reveal, .reveal.wait, .reveal.is-in {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media print {
  .site-header, .wa, .nav-toggle, .hero-actions, .cta-band, .site-footer { display: none; }
  body { background: white; }
  .card, .price, .svc { break-inside: avoid; }
}
