/* ═══════════════════════════════════════════════════════════════
   Rehan — unified design system (investment company)
   Mobile-first · navy #383f82 · blue #4a7eff · site.css only
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Design tokens ── */
:root {
  --main-color: #4a7eff;
  --second-main-color: #4a7eff;
  --third-main-color: #4a7eff;
  --primary-btn: #4a7eff;
  --dark-blue: #383f82;
  --font-color: #3a3d56;
  --background-color: #f6f7fb;
  --white: #ffffff;

  --rehan-navy: #383f82;
  --rehan-blue: #4a7eff;
  --rehan-blue-dark: #3562d4;
  --rehan-navy-deep: #2e3468;
  --rehan-surface: #ffffff;
  --rehan-muted: #6b7089;
  --rehan-border: rgba(56, 63, 130, 0.12);
  --rehan-shadow: 0 8px 32px rgba(56, 63, 130, 0.1);
  --rehan-shadow-lg: 0 12px 36px rgba(56, 63, 130, 0.12);
  --rehan-radius: 1rem;
  --rehan-radius-sm: 0.625rem;

  /* Single brand gradient — CTA band only */
  --gradiant-color: linear-gradient(135deg, #383f82 0%, #4a7eff 100%);
  --gradiant-color-reverse: linear-gradient(135deg, #383f82 0%, #4a7eff 100%);
  --box-shadow: var(--rehan-shadow);

  --header-height: 3.75rem;
  --touch-min: 2.75rem; /* 44px */
  --section-gap: 3rem;
  --container-pad: 1.25rem;

  --lh-body: 1.65;
  --lh-heading: 1.2;
  --lh-ar-body: 1.75;
  --lh-ar-heading: 1.35;
}

/* ── 2. Typography ── */
@font-face {
  font-family: Somar;
  src: url("../fonts/alfont_com_SomarGX.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  font-family: "Somar", "Segoe UI", Tahoma, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  background-color: var(--background-color);
  color: var(--font-color);
  line-height: var(--lh-body);
}

html[lang="ar"] body {
  font-family: "Somar", "Segoe UI", "Geeza Pro", sans-serif !important;
  line-height: var(--lh-ar-body);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .landing__title,
html[lang="ar"] .section-title {
  line-height: var(--lh-ar-heading);
}

.btn,
.form-control,
.form-select,
.dropdown-menu,
.modal-content,
.nav-link,
.accordion-button {
  font-family: inherit;
}

.landing__title {
  font-size: clamp(1.75rem, 5.5vw, 2.25rem) !important;
  line-height: var(--lh-heading) !important;
  color: var(--rehan-navy) !important;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-block: 0 1.25rem;
}

.landing__subtitle {
  font-size: clamp(1.0625rem, 2.8vw, 1.25rem) !important;
  color: var(--rehan-muted) !important;
  font-weight: 600;
  line-height: 1.45;
  margin-block-end: 0.75rem;
}

.landing__body {
  color: var(--font-color);
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem) !important;
  line-height: var(--lh-body);
  margin-block-end: 1.25rem;
}

html[lang="ar"] .landing__body,
html[lang="ar"] .services__body,
html[lang="ar"] .box__body,
html[lang="ar"] .about__text,
html[lang="ar"] .content__copy {
  line-height: var(--lh-ar-body);
}

.section-title {
  font-size: clamp(1.375rem, 3.2vw, 1.625rem) !important;
  color: var(--rehan-navy) !important;
  font-weight: 700;
  line-height: var(--lh-heading);
}

/* ── 3. Page shell & preloader ── */
body.page-load {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rehan-surface);
  transition: opacity 0.22s ease;
}

.preloader img {
  display: none !important;
}

.preloader__spinner {
  width: var(--touch-min);
  height: var(--touch-min);
  border: 3px solid rgba(56, 63, 130, 0.12);
  border-top-color: var(--rehan-blue);
  border-radius: 50%;
  animation: preloader-spin 0.65s linear infinite;
}

.preloader--hide,
.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
  top: 0 !important;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── 4. Header (sticky) ── */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  inline-size: 100%;
  background: rgba(246, 247, 251, 0.95);
  backdrop-filter: blur(8px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

header::after {
  display: none !important;
  content: none !important;
  background: none !important;
}

header.header--scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 20px rgba(56, 63, 130, 0.08);
}

header .header__container {
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  min-block-size: var(--header-height);
  padding-inline: var(--container-pad);
}

.logo-container {
  display: flex;
  align-items: center;
  min-block-size: var(--touch-min);
}

.logo__img {
  max-block-size: 2.25rem;
  width: auto;
}

.logo__img--ar {
  max-height: 2.5rem;
}

html[lang="ar"] header .logo__img--en,
html[lang="ar"] .footer .logo__img--en {
  display: none !important;
}

html[lang="ar"] header .logo__img--ar,
html[lang="ar"] .footer .logo__img--ar {
  display: inline-block !important;
}

html[lang="en"] .logo__img--ar {
  display: none !important;
}

/* Mobile nav toggle */
.hamburger,
.times {
  display: flex;
  align-items: center;
  justify-content: center;
  min-inline-size: var(--touch-min);
  min-block-size: var(--touch-min);
  cursor: pointer;
  color: var(--rehan-navy);
  font-size: 1.25rem;
  border-radius: var(--rehan-radius-sm);
  transition: background 0.2s ease;
}

.hamburger:active,
.times:active {
  background: rgba(56, 63, 130, 0.06);
}

.main-nav {
  position: fixed;
  inset-block: 0;
  inset-inline-start: -110%;
  inline-size: 100%;
  block-size: 100%;
  background: var(--rehan-surface);
  transition: inset-inline-start 0.35s ease;
  z-index: 2000;
  overflow-y: auto;
}

.main-nav.active {
  inset-inline-start: 0;
}

.main-nav .main-nav__list {
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.main-nav .main-nav__item {
  display: block;
  margin: 0;
  padding: 0;
  inline-size: 100%;
}

.main-nav__link {
  display: flex;
  align-items: center;
  min-block-size: var(--touch-min);
  padding: 0.625rem 1.5rem;
  color: var(--rehan-navy) !important;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav__link:hover,
.main-nav__link.bold {
  color: var(--rehan-blue) !important;
}

.top-sm-nav {
  inline-size: 100%;
  padding-block-start: 0.75rem;
}

.top-sm-nav::after {
  display: none !important;
  background: none !important;
}

.times {
  justify-content: space-between;
  padding-inline: 1rem;
  margin-block-end: 0.5rem;
}

.sm-logo img {
  max-inline-size: 8rem;
}

.nav-items__container {
  background: var(--rehan-surface);
  border-radius: var(--rehan-radius);
  margin-inline: 0.75rem;
  overflow: hidden;
}

.know-dropdown {
  display: none;
}

.main-nav__item.sm-menuItem {
  display: block;
}

.lang-avatar {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.more-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: var(--touch-min);
  min-block-size: var(--touch-min);
  padding: 0 0.5rem;
  color: var(--rehan-blue) !important;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.05em;
}

.lang.active-lang {
  font-weight: 700;
  color: var(--rehan-navy) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Override main.css mobile lang hiding — show both toggles */
.more-info .lang.en,
.more-info .lang.ar {
  display: inline-flex !important;
}

.dropdown-menu {
  border: 1px solid var(--rehan-border);
  border-radius: var(--rehan-radius-sm);
  box-shadow: var(--rehan-shadow);
}

.dropdown-item:active,
.dropdown-item:focus {
  background: rgba(74, 126, 255, 0.08);
  color: var(--rehan-navy);
}

/* ── 5. Trust strip ── */
.trust-strip {
  background: var(--rehan-surface);
  border-block-end: 1px solid var(--rehan-border);
  padding-block: 0.75rem;
}

.trust-strip__inner,
.trust-strip__list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-inline: var(--container-pad);
  max-inline-size: 72rem;
  margin-inline: auto;
  list-style: none;
  margin-block: 0;
  padding-block: 0;
}

.trust-strip__item a {
  color: var(--rehan-blue);
  text-decoration: none;
  font-weight: 600;
}

.trust-strip__item a:hover {
  text-decoration: underline;
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--rehan-muted);
  line-height: 1.5;
}

.trust-strip__icon {
  flex-shrink: 0;
  inline-size: 1.25rem;
  block-size: 1.25rem;
  color: var(--rehan-navy);
}

.trust-strip__label {
  font-weight: 600;
  color: var(--rehan-navy);
}

/* ── 6. Hero (text-first) ── */
.landing {
  padding-block: 1.5rem var(--section-gap);
}

.landing__pattern {
  display: none !important;
}

.landing-content__container--modern {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: stretch;
}

.landing__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: start;
  inline-size: 100%;
}

.landing__visual {
  display: none;
  order: 2;
}

.landing__cta-modern {
  margin-top: 0.25rem;
}

.landing__hero-img {
  width: 100%;
  max-width: 100%;
  border-radius: var(--rehan-radius);
  box-shadow: var(--rehan-shadow);
  border: 1px solid var(--rehan-border);
}

/* ── 7. Buttons ── */
.btn--brand,
.btn--brand-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-block-size: var(--touch-min);
  padding: 0.75rem 1.5rem;
  border-radius: var(--rehan-radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--brand {
  background: var(--rehan-blue);
  color: #fff !important;
}

.btn--brand:hover,
.btn--brand:focus-visible {
  background: var(--rehan-blue-dark);
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74, 126, 255, 0.35);
}

.btn--brand-light {
  background: var(--rehan-surface);
  color: var(--rehan-navy) !important;
}

.btn--brand-light:hover,
.btn--brand-light:focus-visible {
  background: #f0f3ff;
  color: var(--rehan-navy) !important;
}

/* ── 8. Services band ── */
.services {
  margin-block: var(--section-gap);
  padding-inline: var(--container-pad);
}

.services__inner {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
  padding: 1.75rem 1.25rem;
  background: var(--rehan-surface);
  border-radius: var(--rehan-radius);
  border: 1px solid var(--rehan-border);
  box-shadow: var(--rehan-shadow);
}

.services__body {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: var(--lh-body);
  color: var(--rehan-muted);
}

/* ── 9. Focus cards ── */
.focus-section {
  margin-block: var(--section-gap);
  padding-inline: var(--container-pad);
}

.focus-section .section-title {
  margin-bottom: 1.5rem;
  text-align: center;
}

.boxes-container--modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.boxes-container--modern .box {
  background: var(--rehan-surface);
  border: 1px solid var(--rehan-border);
  border-radius: var(--rehan-radius);
  padding: 1.5rem 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.boxes-container--modern .box:hover {
  transform: translateY(-3px);
  box-shadow: var(--rehan-shadow-lg);
}

.box__icon {
  inline-size: 3.5rem;
  block-size: 3.5rem;
  background: var(--rehan-navy) !important;
  border-radius: 0.75rem !important;
  justify-content: center;
  margin-block-end: 1.25rem;
}

.box__icon img {
  inline-size: 45%;
  filter: brightness(0) invert(1);
}

.how .box__icon {
  background: var(--rehan-navy) !important;
}

.how .box__icon::after {
  display: none !important;
}

.box__title {
  color: var(--rehan-navy);
  font-size: 1.125rem;
  font-weight: 700;
  margin-block-end: 0.5rem;
  line-height: 1.4;
}

.box__body {
  color: var(--rehan-muted);
  font-size: 0.9375rem;
  line-height: var(--lh-body);
  inline-size: 100%;
}

/* ── 10. About (clean white) ── */
.about {
  background: var(--rehan-surface) !important;
  background-image: none !important;
  border-block: 1px solid var(--rehan-border);
  margin-block: 0;
  padding-block: var(--section-gap);
  padding-inline: var(--container-pad);
}

.about .container {
  flex-direction: column;
  gap: 1.75rem;
}

.about__image {
  inline-size: 100%;
  margin-block-end: 0;
}

.about__image img {
  max-inline-size: 100%;
  border-radius: var(--rehan-radius);
}

.about__content {
  inline-size: 100%;
}

.about__header {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-block-end: 1.25rem;
}

.about__more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-block-size: var(--touch-min);
  color: var(--rehan-blue) !important;
  font-weight: 600;
  text-decoration: none;
}

.about__more:hover {
  color: var(--rehan-blue-dark) !important;
}

.about__body {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.about__text {
  color: var(--font-color);
  line-height: var(--lh-body);
  margin: 0;
  font-size: 0.9375rem;
}

/* ── 11. CTA band (gradient) ── */
.cta-modern {
  padding: var(--section-gap) var(--container-pad);
}

.cta-modern__inner {
  text-align: center;
  padding: 2rem 1.25rem;
  border-radius: var(--rehan-radius);
  background: var(--gradiant-color);
  border: none;
  color: #fff;
}

.cta-modern__inner .section-title {
  color: #fff !important;
  margin-bottom: 0.625rem;
}

.cta-modern__inner .benefits__body {
  max-width: 42rem;
  margin: 0 auto 1.25rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  line-height: var(--lh-body);
}

/* ── 12. Footer ── */
.footer--modern .container,
.footer > .container {
  background-color: var(--rehan-navy) !important;
  border-radius: var(--rehan-radius) var(--rehan-radius) 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  padding: 2rem var(--container-pad);
  color: #fff;
}

.footer .logo-container {
  margin-block: 0 1rem;
  inline-size: auto;
  block-size: auto;
}

.footer__description {
  font-size: 0.9375rem;
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.85);
  margin-block-end: 0;
}

.footer__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-block-end: 1rem;
}

.navigation__list {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navigation__item:not(:last-of-type) {
  padding-block-end: 0.625rem;
}

.navigation__link {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--touch-min);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.navigation__link:hover {
  color: #fff;
}

.footer__email {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
}

.footer__email a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  min-block-size: var(--touch-min);
  display: inline-flex;
  align-items: center;
}

.footer__email a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer--modern .footer__partener:empty,
.footer--modern .footer__partener:last-of-type {
  display: none;
}

.copywrite {
  background-color: var(--rehan-navy-deep) !important;
  padding-block: 1rem;
}

.copywrite .container {
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.copywrite__content {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.social {
  gap: 0.75rem;
}

.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: var(--touch-min);
  min-block-size: var(--touch-min);
  border-radius: 50%;
  transition: background 0.2s ease;
}

.social__link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.social__icon {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.125rem;
}

.social__link:hover .social__icon {
  color: #fff !important;
}

/* ── 13. Contact page ── */
.contacts__pattern,
.questions__pattern,
.privacy__pattern {
  display: none !important;
}

.contacts {
  padding-block: 1.5rem var(--section-gap);
  padding-inline: var(--container-pad);
}

.contacts .container {
  padding-inline: 0 !important;
}

.contacts .content-container {
  flex-direction: column;
  gap: 2rem;
  align-items: stretch;
}

.contact-form-wrap {
  flex: 1;
  inline-size: 100%;
  max-width: 100%;
}

.contact-form__heading {
  font-size: 1.25rem !important;
  margin-bottom: 1rem;
}

.contact-form .form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rehan-navy);
  margin-block-end: 0.375rem;
}

.contact-form .form-control {
  min-block-size: var(--touch-min);
  border-radius: var(--rehan-radius-sm);
  border: 1px solid var(--rehan-border);
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea.form-control {
  min-block-size: 7rem;
}

.contact-form .form-control:focus {
  border-color: var(--rehan-blue);
  box-shadow: 0 0 0 0.2rem rgba(74, 126, 255, 0.15);
}

.location-container {
  inline-size: 100%;
}

.location-container .map iframe {
  inline-size: 100%;
  block-size: 14rem;
  border-radius: var(--rehan-radius-sm);
  border: 1px solid var(--rehan-border);
}

.info__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--rehan-navy);
  margin-block-end: 0.25rem;
}

.info__copy {
  font-size: 0.9375rem;
  color: var(--rehan-muted);
  line-height: var(--lh-body);
}

.info__copy a {
  color: var(--rehan-blue);
  word-break: break-word;
}

/* ── 14. FAQ (accordion + tabs) ── */
.questions {
  padding-block: 1.5rem var(--section-gap);
  padding-inline: var(--container-pad);
}

.questions .container {
  position: relative;
}

.questions .content-container {
  display: none;
}

.questions .content-container-responsive {
  display: block;
}

.questions .accordion-item {
  background: var(--rehan-surface);
  border: 1px solid var(--rehan-border);
  border-radius: var(--rehan-radius) !important;
  margin-block-end: 0.75rem;
  overflow: hidden;
  box-shadow: none;
}

.questions .accordion-button {
  min-block-size: var(--touch-min);
  padding: 1rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--rehan-navy);
  background: var(--rehan-surface);
  box-shadow: none;
  line-height: 1.45;
}

.questions .accordion-button:not(.collapsed) {
  color: var(--rehan-navy);
  background: rgba(74, 126, 255, 0.06);
}

.questions .accordion-button:focus {
  border: none;
  box-shadow: 0 0 0 0.15rem rgba(74, 126, 255, 0.2);
}

.questions .accordion-body {
  padding: 0 1.125rem 1rem;
  font-size: 0.9375rem;
  color: var(--rehan-muted);
  line-height: var(--lh-body);
}

.questions .nav-tabs .nav-link.active,
.contacts .nav-link.active {
  color: var(--rehan-blue) !important;
}

.accordion-button:not(.collapsed) {
  color: var(--rehan-navy);
  background-color: rgba(74, 126, 255, 0.06);
}

.content__title {
  color: var(--rehan-navy);
  font-size: 1.25rem;
  margin-block-end: 0.75rem;
}

.content__copy {
  color: var(--rehan-muted);
  line-height: var(--lh-body);
}

/* ── 15. Legacy overrides (main.css bleed) ── */
.partener__btn {
  display: none !important;
}

.partener__content {
  background: var(--gradiant-color) !important;
}

.partener__content::after {
  opacity: 0.15;
}

.landing-content__container {
  align-items: stretch;
}

.landing__content {
  inline-size: 100% !important;
}

/* ═══════════════════════════════════════════════════════════════
   Tablet — min-width: 768px
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
  :root {
    --section-gap: 3.5rem;
    --container-pad: 1.5rem;
  }

  .landing__title {
    font-size: clamp(2rem, 4.5vw, 2.75rem) !important;
    margin-block-end: 1.75rem;
  }

  .landing__subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem) !important;
  }

  .section-title {
    font-size: clamp(1.5rem, 2.8vw, 2rem) !important;
  }

  .trust-strip__inner,
  .trust-strip__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
  }

  .landing-content__container--modern {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .landing__content {
    flex: 1;
    max-inline-size: 55%;
    inline-size: auto !important;
  }

  .landing__visual {
    display: flex;
    justify-content: center;
    flex: 1;
    max-inline-size: 45%;
  }

  .services__inner {
    padding: 2.25rem 2rem;
  }

  .boxes-container--modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .about .container {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }

  .about__image {
    inline-size: 46%;
  }

  .about__content {
    inline-size: 54%;
  }

  .about__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cta-modern__inner {
    padding: 2.5rem 2rem;
  }

  .footer--modern .container,
  .footer > .container {
    grid-template-columns: 1.4fr 1fr;
    padding: 2.5rem var(--container-pad);
  }

  .copywrite .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: start;
  }

  .contacts .content-container {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }

  .contact-form-wrap {
    max-width: 36rem;
  }

  .location-container {
    inline-size: 48%;
  }

  .location-container .map iframe {
    block-size: 18rem;
  }

  .questions .content-container {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
  }

  .questions .content-container-responsive {
    display: none;
  }

  .questions .nav-tabs {
    inline-size: 42%;
    flex-direction: column;
    border-bottom: none;
  }

  .questions .tab-content {
    inline-size: 55%;
  }

  .questions .nav-tabs .nav-link {
    text-align: start;
    min-block-size: var(--touch-min);
    padding: 0.875rem 1rem;
    color: var(--rehan-muted);
    border: none;
    border-radius: var(--rehan-radius-sm);
    margin-block-end: 0.375rem;
    transition: background 0.2s ease, color 0.2s ease;
  }

  .questions .nav-tabs .nav-link:hover {
    color: var(--rehan-navy);
    background: rgba(74, 126, 255, 0.05);
  }

  .questions .nav-tabs .nav-link.active {
    color: var(--rehan-blue) !important;
    background: rgba(74, 126, 255, 0.08);
    font-weight: 700;
  }

  .questions .nav-tabs .nav-link::after {
    display: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Desktop — min-width: 992px
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 992px) {
  :root {
    --section-gap: 4rem;
    --header-height: 4rem;
  }

  .hamburger,
  .times {
    display: none;
  }

  .main-nav {
    position: static;
    inline-size: auto;
    block-size: auto;
    background: transparent;
    overflow: visible;
    inset-inline-start: 0;
  }

  .main-nav .main-nav__list {
    flex-direction: row;
    align-items: center;
  }

  .main-nav .main-nav__item {
    display: inline-block;
    inline-size: auto;
  }

  .main-nav__link {
    padding: 0.5rem 0.75rem;
    min-block-size: auto;
  }

  .top-sm-nav {
    display: none;
  }

  .nav-items__container {
    display: flex;
    align-items: center;
    margin: 0;
    background: transparent;
    border-radius: 0;
  }

  .know-dropdown {
    display: inline-block;
  }

  .main-nav__item.sm-menuItem {
    display: none;
  }

  .landing {
    padding-block-start: 2rem;
  }

  .landing__title {
    font-size: clamp(2.25rem, 3.8vw, 3.5rem) !important;
    margin-block-end: 2.5rem;
  }

  .landing__subtitle {
    font-size: clamp(1.25rem, 2vw, 1.625rem) !important;
  }

  .landing__body {
    font-size: 1.0625rem !important;
  }

  .landing-content__container--modern {
    gap: 3rem;
  }

  .landing__hero-img {
    max-width: 28rem;
  }

  .boxes-container--modern {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .boxes-container--modern .box {
    padding: 2rem 1.5rem;
  }

  .box__icon {
    inline-size: 4rem;
    block-size: 4rem;
  }

  .box__title {
    font-size: 1.25rem;
  }

  .about {
    padding-block: 4rem;
  }

  .about__image {
    margin-block-end: 0;
  }

  .cta-modern {
    padding-block: 4rem 5rem;
  }

  .cta-modern__inner {
    padding: 3rem 2.5rem;
  }

  .footer--modern .container,
  .footer > .container {
    padding-block: 3.5rem;
    gap: 2.5rem;
  }

  .footer__title {
    font-size: 1.375rem;
  }

  .navigation__link {
    font-size: 1rem;
  }

  .location-container .map iframe {
    block-size: 22rem;
  }

  .questions .nav-tabs .nav-link {
    font-size: 1rem;
  }

  .content__title {
    font-size: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   Home — Al Jazira-style blue hero + open discover rows
   Ref: aljaziracapital.com.sa hero + "اكتشف الجزيرة كابيتال"
   Static hero · no carousel · no card boxes
   ═══════════════════════════════════════════════════════════════ */

:root {
  --ajc-blue-deep: #0a1e3d;
  --ajc-blue-mid: #134a8e;
}

/* Transparent header over blue hero */
body.home-hero header:not(.header--scrolled) {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

body.home-hero header:not(.header--scrolled) .main-nav__link {
  color: rgba(255, 255, 255, 0.92) !important;
}

body.home-hero header:not(.header--scrolled) .main-nav__link:hover,
body.home-hero header:not(.header--scrolled) .main-nav__link.bold {
  color: #fff !important;
}

body.home-hero header:not(.header--scrolled) .hamburger,
body.home-hero header:not(.header--scrolled) .times {
  color: #fff;
}

body.home-hero header:not(.header--scrolled) .lang {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.home-hero header:not(.header--scrolled) .lang.active-lang {
  color: #fff !important;
}

body.home-hero header:not(.header--scrolled) .logo__img--en {
  filter: brightness(0) invert(1);
}

body.home-hero header.header--scrolled .logo__img--en {
  filter: none;
}

/* Full-bleed blue hero (single slide, manual only) */
.landing.landing--blue {
  position: relative;
  min-block-size: calc(100svh - var(--header-height));
  min-block-size: calc(100vh - var(--header-height));
  margin-block-start: calc(-1 * var(--header-height));
  padding-block: calc(var(--header-height) + 2.5rem) 3.5rem;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: none;
}

.landing--blue__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--ajc-blue-deep) 0%, var(--ajc-blue-mid) 48%, #1a3f7a 100%);
  z-index: 0;
}

.landing--blue__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 85%);
  pointer-events: none;
}

.landing--blue__inner {
  position: relative;
  z-index: 1;
  max-inline-size: 40rem;
}

.landing--blue__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.75rem;
}

.landing--blue__title {
  font-size: clamp(2rem, 7vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  color: #fff !important;
  letter-spacing: -0.02em;
  margin: 0 0 1rem !important;
}

.landing--blue__lead {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.75rem;
  max-inline-size: 34rem;
}

.landing--blue__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--ghost-on-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: var(--touch-min);
  padding: 0.75rem 1.35rem;
  border-radius: var(--rehan-radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn--ghost-on-blue:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
}

/* Discover section — typography + dividers, no cards */
.discover {
  padding-block: var(--section-gap);
  padding-inline: var(--container-pad);
  background: var(--rehan-surface);
}

.discover__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rehan-blue);
  margin: 0 0 0.5rem;
}

.discover__title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--rehan-navy);
  line-height: 1.15;
  margin: 0 0 1rem;
}

.discover__lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--rehan-muted);
  max-inline-size: 40rem;
  margin: 0 0 2rem;
}

.discover__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.discover__row {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem 1.25rem;
  padding-block: 1.75rem;
  border-block-start: 1px solid var(--rehan-border);
}

.discover__row:last-child {
  border-block-end: 1px solid var(--rehan-border);
}

.discover__num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--rehan-blue);
  font-variant-numeric: tabular-nums;
  padding-block-start: 0.2rem;
}

.discover__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--rehan-navy);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.discover__desc {
  font-size: 0.9375rem;
  line-height: var(--lh-body);
  color: var(--rehan-muted);
  margin: 0;
}

/* CTA — full bleed band, no inner card box on home */
body.home-hero .cta-modern {
  padding: 0;
}

body.home-hero .cta-modern__inner {
  border-radius: 0;
  padding: var(--section-gap) var(--container-pad);
  max-inline-size: none;
}

@media (min-width: 768px) {
  .discover__row {
    grid-template-columns: 3.5rem 1fr;
    gap: 1rem 2rem;
    padding-block: 2rem;
  }

  .discover__name {
    font-size: 1.25rem;
  }

  .landing.landing--blue {
    padding-block: calc(var(--header-height) + 3rem) 4rem;
  }
}

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

  .preloader {
    display: none !important;
  }

  body.page-load {
    overflow: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
