/* Aws Umrah website — one stylesheet for AR (rtl) and FR/EN (ltr): logical properties only. */
:root {
  --blue: #0065af; --blue-deep: #00528f; --blue-50: #eef6fc; --blue-100: #dbeaf7;
  --night: #0b2236; --night-2: #12304b; --gold: #c9a24b; --gold-light: #e6c879; --paper: #f6f3ec;
  --ink: #0b2236; --ink-2: #33475a; --muted: #5d6f80; --line: #e2e8ee; --bg: #ffffff; --bg-soft: #f5f8fb;
  --radius: 18px; --shadow: 0 1px 2px rgba(11, 34, 54, .06), 0 12px 32px -12px rgba(11, 34, 54, .18);
  --font: "Readex Pro", "Segoe UI", Tahoma, sans-serif; --display-ar: "Reem Kufi", "Readex Pro", sans-serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.ic { flex: none; }
h1, h2, h3 { line-height: 1.2; text-wrap: balance; margin: 0; }
[lang="ar"] h1, [lang="ar"] h2 { font-family: var(--display-ar); font-weight: 700; letter-spacing: 0; }
[lang="fr"] h1, [lang="en"] h1, [lang="fr"] h2, [lang="en"] h2 { font-weight: 600; letter-spacing: -.015em; }
p { margin: 0; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; background: var(--night); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { inset-inline-start: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .6rem 1.35rem; border-radius: 12px; font: 600 1rem/1 var(--font); border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s, border-color .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px -8px rgba(0, 101, 175, .65); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--light { background: #fff; color: var(--night); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { border-color: #fff; }
[dir="rtl"] .btn .ic--dir { transform: scaleX(-1); }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand img { height: 38px; width: auto; }
.nav { display: flex; gap: .25rem; margin-inline-start: auto; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .96rem; padding: .45rem .75rem; border-radius: 10px; }
.nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang a { padding: .35rem .6rem; font: 600 .82rem/1.4 var(--font); color: var(--muted); }
.lang a[aria-current="page"] { background: var(--night); color: #fff; }
.lang a:hover { text-decoration: none; color: var(--ink); }
.lang a[aria-current="page"]:hover { color: #fff; }
.header-actions .btn { min-height: 42px; padding: .5rem 1rem; font-size: .93rem; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) 0; background:
  radial-gradient(900px 420px at 85% -10%, rgba(0, 101, 175, .10), transparent 70%),
  radial-gradient(700px 380px at 0% 10%, rgba(201, 162, 75, .10), transparent 70%), var(--bg); }
[dir="rtl"] .hero { background:
  radial-gradient(900px 420px at 15% -10%, rgba(0, 101, 175, .10), transparent 70%),
  radial-gradient(700px 380px at 100% 10%, rgba(201, 162, 75, .10), transparent 70%), var(--bg); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; text-align: center; justify-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 .78rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .92rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-top: 1rem; max-width: 18ch; }
[lang="ar"] .hero h1 { line-height: 1.3; max-width: 22ch; }
.hero__lead { margin-top: 1.25rem; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--ink-2); max-width: 62ch; }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin: 1.4rem 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .93rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust .ic { color: var(--blue); }
.hero__visual { position: relative; width: 100%; max-width: 1060px; margin-top: .5rem; }
.browser { background: #fff; border-radius: 16px 16px 0 0; border: 1px solid var(--line); border-bottom: 0; box-shadow: 0 30px 80px -30px rgba(11, 34, 54, .45); overflow: hidden; }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding-inline: 14px; background: #f1f4f7; border-bottom: 1px solid var(--line); direction: ltr; }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dde4; }
.browser__bar span { margin-inline: auto; font: 500 .75rem/1 var(--font); color: var(--muted); background: #fff; padding: 5px 14px; border-radius: 6px; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.float-card { position: absolute; inset-inline-end: -18px; bottom: 56px; display: flex; align-items: center; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow); text-align: start; }
.float-card .ic-wrap { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.float-card strong { display: block; font-size: .95rem; }
.float-card span { font-size: .85rem; color: var(--muted); }
.float-card .bar { height: 6px; border-radius: 3px; background: var(--blue-100); margin-top: 6px; overflow: hidden; }
.float-card .bar i { display: block; height: 100%; width: 81%; background: var(--blue); }

/* numbers */
.numbers { background: var(--night); color: #fff; }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.numbers div { padding: 1.8rem 1rem; text-align: center; border-inline-start: 1px solid rgba(255, 255, 255, .08); }
.numbers div:first-child { border-inline-start: 0; }
.numbers strong { display: block; font-size: 2.1rem; font-weight: 600; color: var(--gold-light); font-variant-numeric: tabular-nums; line-height: 1.1; }
.numbers span { color: #b6c6d6; font-size: .92rem; }

/* sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { text-align: center; margin-inline: auto; }
.section__head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: .8rem; }
.section__head p { margin-top: 1rem; color: var(--ink-2); font-size: 1.08rem; }

/* flow (tabs) */
.flow { display: grid; grid-template-columns: minmax(280px, 400px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.flow__steps { display: grid; gap: .5rem; counter-reset: step; }
.flow__step { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: .3rem 1rem; padding: 1rem 1.1rem; border-radius: var(--radius); border: 1px solid transparent; background: transparent; text-align: start; font: inherit; color: inherit; cursor: pointer; transition: background .2s, border-color .2s; }
.flow__step:hover { background: #fff; }
.flow__step[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.flow__num { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.flow__step[aria-selected="true"] .flow__num { background: var(--blue); color: #fff; }
.flow__step h3 { font-size: 1.08rem; font-weight: 600; display: flex; align-items: baseline; gap: .5rem; }
.flow__step h3 small { font: 600 .75rem/1 var(--font); color: var(--gold); }
.flow__step p { color: var(--muted); font-size: .95rem; display: none; }
.flow__step[aria-selected="true"] p { display: block; }
.flow__panel { position: sticky; top: 96px; }
.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.shot-note { margin-top: .7rem; font-size: .82rem; color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .6rem; align-content: start; }
.feature .ic-wrap { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.feature h3 { font-size: 1.08rem; font-weight: 600; }
.feature p { color: var(--muted); font-size: .95rem; }

/* housing spotlight */
.spot { background: linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; overflow: hidden; }
.spot .grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
.spot .eyebrow { color: var(--gold-light); }
.spot h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-top: .8rem; color: #fff; }
.spot__lead { margin-top: 1rem; color: #c3d2e0; font-size: 1.08rem; }
.checks { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .8rem; }
.checks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: .7rem; color: #e6edf4; }
.checks .ic { color: var(--gold-light); margin-top: .25rem; }
.spot .shot { border-color: rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 2rem 1.6rem 1.6rem; display: flex; flex-direction: column; gap: 1.1rem; }
.plan--featured { border: 2px solid var(--blue); box-shadow: 0 30px 60px -30px rgba(0, 101, 175, .45); }
.plan__badge { position: absolute; top: -14px; inset-inline-start: 1.6rem; background: var(--gold); color: var(--night); font: 600 .78rem/1 var(--font); padding: .45rem .8rem; border-radius: 999px; }
.plan h3 { font-size: 1.25rem; font-weight: 600; }
.plan__price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.plan__price strong { font-size: 2.5rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--muted); }
.plan__limits { display: grid; gap: .35rem; padding: 1rem 0; border-block: 1px solid var(--line); font-size: .95rem; }
.plan__limits b { font-variant-numeric: tabular-nums; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; align-content: start; font-size: .95rem; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: .55rem; }
.plan li .ic { color: var(--blue); margin-top: .3rem; }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }
.plan__price--ask span { color: var(--gold-deep, #9a7a2f); font-weight: 600; font-size: 1.15rem; }
.pricing-quote { text-align: center; margin-top: 1rem; }

/* faq */
.faq { display: grid; gap: .75rem; max-width: 860px; margin-inline: auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 1.3rem; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.15rem 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; color: var(--ink-2); }

/* cta */
.cta { background: var(--blue); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; inset-inline-end: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .07); }
.cta h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: #fff; }
.cta p { margin-top: .7rem; color: #d7e7f6; font-size: 1.08rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }

/* footer */
.site-footer { background: var(--night); color: #b6c6d6; padding-block: 56px 28px; margin-top: clamp(64px, 9vw, 112px); }
.site-footer .grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 2rem; }
.site-footer h4 { color: #fff; margin: 0 0 .9rem; font-size: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d6e2ee; }
.site-footer .contact li { display: flex; gap: .55rem; align-items: center; }
.site-footer .contact bdi { direction: ltr; }
.site-footer__brand img { height: 40px; width: auto; margin-bottom: 1rem; }
.site-footer__bottom { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }

/* guide */
.guide-hero { padding-block: 56px 32px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.guide-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); margin-top: .8rem; }
.guide-hero p { margin-top: .9rem; color: var(--ink-2); max-width: 62ch; font-size: 1.08rem; }
.guide { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 3rem; padding-block: 48px; }
.toc { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; }
.toc h2 { font: 600 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
[lang="ar"] .toc h2 { letter-spacing: 0; font-size: .9rem; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; padding: .45rem .6rem; border-radius: 10px; color: var(--ink-2); font-size: .95rem; counter-increment: toc; }
.toc a::before { content: counter(toc); font: 600 .78rem/1 var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }
.toc a:hover, .toc a.is-active { background: var(--blue-50); color: var(--blue); text-decoration: none; }
.gsec { padding-block: 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); scroll-margin-top: 92px; }
.gsec:last-child { border-bottom: 0; }
.gsec__head { display: flex; align-items: center; gap: .9rem; }
.gsec__head .ic-wrap { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.gsec h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); }
.gsec__intro { margin-top: .8rem; color: var(--ink-2); }
.gsec__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem; margin-top: 1.6rem; align-items: start; }
.gsteps { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; counter-reset: s; }
.gsteps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: .8rem; counter-increment: s; }
.gsteps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: #fff; font: 600 .85rem/1 var(--font); margin-top: .1rem; }
.tip { margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: 14px; background: #fbf6e9; border: 1px solid #efdfb3; color: #5b4615; font-size: .95rem; }
.tip b { color: #8a6410; }
.gsec .shot img { aspect-ratio: auto; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(5, 14, 24, .85); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; width: auto; border-radius: 12px; }
.shot--zoom { cursor: zoom-in; }

/* language chooser (root) */
.chooser { min-height: 100vh; display: grid; place-items: center; background: var(--night); color: #fff; text-align: center; padding: 24px; }
.chooser img { height: 64px; width: auto; margin: 0 auto 2rem; }
.chooser nav { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* responsive */
@media (max-width: 1080px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .flow__panel { position: static; order: -1; }
  .spot .grid { grid-template-columns: minmax(0, 1fr); }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; max-height: none; }
  .gsec__body { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; inset-inline: 0; top: 72px; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: .5rem max(20px, env(safe-area-inset-left, 0px)) 1rem; }
  .nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; margin-inline-start: auto; }
  .header-actions .btn--ghost { display: none; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .numbers .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numbers div:nth-child(3) { border-inline-start: 0; }
  .cta { grid-template-columns: minmax(0, 1fr); }
  .site-footer .grid { grid-template-columns: minmax(0, 1fr); }
  .float-card { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .header-actions .btn--primary { display: none; }
  .brand img { height: 32px; }
}

/* hero title tuning per script */
[lang="fr"] .hero h1, [lang="en"] .hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); max-width: 24ch; }
[lang="ar"] .hero h1 { line-height: 1.45; }
@media (max-width: 560px) { .hero h1 br { display: none; } [lang="ar"] .hero h1 { font-size: 2rem; } }
