/* ═══════════════════════════════════════
   عقود إيجار — Landing polish
   ═══════════════════════════════════════ */

.ejar-page {
  --ejar-olive: #3d5244;
  --ejar-olive-soft: rgba(61, 82, 68, 0.08);
  --ejar-olive-border: rgba(61, 82, 68, 0.18);
  --ejar-container: 1320px;
  --ejar-section-y: clamp(2.25rem, 5vw, 4rem);
  --ejar-sticky-h: 60px;
  --ejar-card-shadow: 0 8px 32px rgba(30, 42, 56, 0.06);
  --ejar-card-hover-border: var(--gold-border);
  --ejar-card-hover-shadow: 0 14px 32px rgba(30, 42, 56, 0.1);
  --ejar-card-lift: -5px;
  --ejar-card-active-lift: -2px;

  /* Typography — Cairo scale */
  --ejar-fw-normal: 400;
  --ejar-fw-medium: 500;
  --ejar-fw-semibold: 600;
  --ejar-fw-bold: 700;
  --ejar-fw-heavy: 800;
  --ejar-lh-tight: 1.05;
  --ejar-lh-heading: 1.3;
  --ejar-lh-section: 1.35;
  --ejar-lh-body: 1.8;
  --ejar-lh-relaxed: 1.85;
  --ejar-lh-small: 1.7;
  --ejar-fs-xs: clamp(0.78125rem, 0.2vw + 0.72rem, 0.84375rem);
  --ejar-fs-sm: clamp(0.8125rem, 0.25vw + 0.74rem, 0.875rem);
  --ejar-fs-body: clamp(0.9375rem, 0.2vw + 0.88rem, 1rem);
  --ejar-fs-label: clamp(0.875rem, 0.15vw + 0.82rem, 0.9375rem);
  --ejar-fs-input: 1rem;
  --ejar-fs-h3: clamp(1rem, 0.25vw + 0.94rem, 1.125rem);
  --ejar-fs-card-title: clamp(1rem, 0.35vw + 0.92rem, 1.1875rem);
  --ejar-fs-btn: clamp(0.9375rem, 0.12vw + 0.9rem, 1rem);
  --ejar-fs-section: clamp(1.45rem, 0.55rem + 2.2vw, 1.95rem);
  --ejar-fs-hero: clamp(1.8rem, 0.6rem + 3.2vw, 2.85rem);
  --ejar-fs-price: clamp(2.2rem, 1rem + 4vw, 3rem);
  --ejar-fs-cred-title: clamp(0.875rem, 0.3vw + 0.8rem, 1rem);
  --ejar-fs-cred-num: clamp(1.1875rem, 0.65vw + 0.95rem, 1.5rem);
  --ejar-fs-step-num: clamp(1.0625rem, 0.35vw + 0.95rem, 1.375rem);
  --ejar-fs-faq-q: clamp(0.96875rem, 0.25vw + 0.9rem, 1.0625rem);
  --ejar-fs-faq-a: clamp(0.90625rem, 0.15vw + 0.86rem, 1rem);
  --ejar-fs-footer-heading: clamp(0.875rem, 0.2vw + 0.82rem, 1rem);
  --ejar-fs-footer-link: clamp(0.84375rem, 0.15vw + 0.8rem, 0.90625rem);
  --ejar-fs-footer-legal: clamp(0.78125rem, 0.12vw + 0.74rem, 0.84375rem);

  font-weight: var(--ejar-fw-normal);
  line-height: var(--ejar-lh-body);
  padding-top: calc(var(--header-h) + var(--ejar-ticker-h));
}

.ejar-page [id] {
  scroll-margin-top: calc(var(--header-h) + var(--ejar-ticker-h) + 0.75rem);
}

.ejar-container {
  width: 100%;
  max-width: var(--ejar-container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.5rem);
}

.ejar-hero__stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.ejar-hero__stack > * {
  width: 100%;
}

.ejar-hero__stack .ejar-hero__brand,
.ejar-hero__stack .ejar-hero__title,
.ejar-hero__stack .ejar-hero__desc,
.ejar-hero__stack .ejar-hero__footnote {
  width: auto;
  max-width: 100%;
}

/* Desktop-only blocks — hidden on phone/tablet */
.ejar-desktop-only {
  display: none !important;
}

.ejar-mobile-only {
  display: block;
}

@media (min-width: 1024px) {
  .ejar-desktop-only {
    display: block !important;
  }

  .ejar-mobile-only {
    display: none !important;
  }

  .ejar-form-intro.ejar-desktop-only {
    display: block !important;
  }
}

/* Page-level CTA typography (Sticky Bar unchanged) */
.ejar-page .btn {
  font-size: var(--ejar-fs-btn);
  font-weight: var(--ejar-fw-semibold);
  letter-spacing: normal;
}

/* ─── Header (landing) ─── */
.ejar-page .header--ejar .nav__link {
  font-size: clamp(0.875rem, 0.2vw + 0.82rem, 0.9375rem);
  font-weight: var(--ejar-fw-semibold);
  letter-spacing: normal;
}

.ejar-page .header--ejar .nav__link:hover {
  font-weight: var(--ejar-fw-bold);
}

.ejar-page .header--ejar {
  overflow: visible;
  border-bottom-color: rgba(197, 164, 109, 0.45);
}

.ejar-page .header--ejar.scrolled {
  border-bottom-color: var(--gold);
}

.ejar-page .header--ejar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, #e8d5a3 50%, var(--gold) 100%);
  pointer-events: none;
  z-index: 4;
}

.ejar-page .header--ejar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 38%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #fff6dc, var(--gold-light), transparent);
  pointer-events: none;
  z-index: 5;
  animation: ejar-header-gold 2.8s linear infinite;
}

@keyframes ejar-header-gold {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(280%); }
}

.ejar-page .header--ejar .header__inner {
  gap: 0.75rem;
  overflow: visible;
}

.ejar-page .logo--ejar {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.ejar-page .header--ejar .nav__link--active {
  color: var(--ejar-olive);
}

.ejar-page .header--ejar__call {
  min-height: 44px;
  white-space: nowrap;
  font-size: clamp(0.875rem, 0.2vw + 0.82rem, 0.9375rem);
  font-weight: var(--ejar-fw-bold);
  letter-spacing: normal;
}

@media (max-width: 767px) {
  .ejar-page {
    padding-bottom: calc(var(--ejar-sticky-h) + env(safe-area-inset-bottom, 0px) + 0.75rem);
  }

  .ejar-page .header--ejar__call {
    display: none;
  }

  .ejar-page .header--ejar .header__inner {
    gap: 0.35rem;
  }

  .ejar-page .logo--ejar .logo__img {
    height: 34px;
    max-width: min(200px, 50vw);
  }

  .ejar-hero__office {
    display: none;
  }

  .ejar-hero {
    padding-block: 1rem 1.2rem;
  }

  .ejar-hero__brand {
    margin-bottom: 0.5rem;
    padding-inline: 0.15rem;
  }

  .ejar-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: clamp(0.72rem, 3.2vw, 0.95rem);
    font-weight: var(--ejar-fw-heavy);
    line-height: 1.35;
    padding: 0.4rem 0.55rem;
    border-radius: 999px;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    text-wrap: nowrap;
  }

  .ejar-hero__title {
    font-size: clamp(1.2rem, 5vw, 1.48rem);
    line-height: 1.5;
    margin: 0.3rem auto 0.6rem;
    padding-inline: 0.1rem;
    max-width: 19rem;
    text-wrap: balance;
  }

  .ejar-hero__desc {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 0.9rem;
    padding-inline: 0.15rem;
    text-wrap: pretty;
  }

  .ejar-section__header {
    margin-bottom: 1rem;
    padding-inline: 0.15rem;
  }

  .ejar-section__title {
    font-size: clamp(1.18rem, 4.5vw, 1.38rem);
    line-height: 1.45;
    text-wrap: balance;
  }

  .ejar-price-card__type {
    font-size: 1.05rem;
    line-height: 1.4;
  }

  .ejar-cred-card__title {
    font-size: 0.82rem;
    line-height: 1.45;
    text-wrap: balance;
  }

  .ejar-faq__question {
    align-items: flex-start;
    padding: 0.8rem 0.85rem;
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: right;
  }

  .ejar-faq__question::after {
    margin-top: 0.05em;
  }

  .ejar-official-note,
  .ejar-creds__footnote,
  .ejar-form-note {
    text-wrap: pretty;
  }

  .ejar-footer__logo {
    height: 44px;
    max-width: 220px;
  }
}

/* ─── Hero ─── */
.ejar-hero {
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 100%);
  padding-block: clamp(1.25rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid var(--navy-border);
}

.ejar-hero__brand {
  text-align: center;
  margin-bottom: clamp(0.65rem, 2vw, 1rem);
}

.ejar-hero__office {
  font-size: clamp(1.05rem, 0.45vw + 0.95rem, 1.4rem);
  font-weight: var(--ejar-fw-heavy);
  color: var(--navy);
  margin-bottom: 0.45rem;
  line-height: var(--ejar-lh-small);
}

.ejar-hero__badge {
  display: inline-block;
  font-size: clamp(1.05rem, 0.45vw + 0.95rem, 1.4rem);
  font-weight: var(--ejar-fw-heavy);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ejar-olive);
  background: var(--ejar-olive-soft);
  border: 1px solid var(--ejar-olive-border);
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  line-height: var(--ejar-lh-small);
  width: max-content;
  max-width: 100%;
}

@media (max-width: 767px) {
  .ejar-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.74rem, 3.4vw, 0.92rem);
    line-height: 1.3;
    padding: 0.38rem 0.5rem;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

.ejar-hero__title {
  font-size: var(--ejar-fs-hero);
  font-weight: var(--ejar-fw-bold);
  text-align: center;
  color: var(--navy);
  margin: 0.65rem auto 0.5rem;
  max-width: 22em;
  line-height: var(--ejar-lh-heading);
  letter-spacing: normal;
}

.ejar-hero__desc {
  text-align: center;
  font-size: var(--ejar-fs-body);
  font-weight: var(--ejar-fw-normal);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto clamp(1rem, 2.5vw, 1.5rem);
  line-height: var(--ejar-lh-body);
}

@media (max-width: 374px) {
  .ejar-hero__desc {
    display: none;
  }
}

.ejar-pricing {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  max-width: 22.5rem;
  margin: 0 auto clamp(0.95rem, 2vw, 1.25rem);
  width: 100%;
  align-items: stretch;
}

.ejar-price-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  min-width: 0;
  height: 100%;
  min-height: 100%;
  padding: 1.1rem 1.05rem 1.05rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
  border: 1px solid rgba(61, 82, 68, 0.16);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(22, 32, 43, 0.06);
  position: relative;
  overflow: hidden;
}

.ejar-price-card::after {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(197, 164, 109, 0.85), transparent);
}

.ejar-price-card--featured {
  border-color: rgba(197, 164, 109, 0.55);
  background: linear-gradient(180deg, #fffdf8 0%, #f4ecda 100%);
  box-shadow: 0 14px 36px rgba(197, 164, 109, 0.18);
}

.ejar-price-card--sublease {
  border-color: rgba(30, 42, 56, 0.28);
}

.ejar-price-card__tag {
  display: inline-flex;
  align-self: center;
  margin: 0 0 0.55rem;
  padding: 0.22rem 0.72rem;
  border-radius: 999px;
  background: rgba(197, 164, 109, 0.16);
  color: #8a6b32;
  font-size: 0.72rem;
  font-weight: var(--ejar-fw-bold);
  letter-spacing: 0.03em;
  line-height: 1.4;
  white-space: nowrap;
}

.ejar-price-card--featured .ejar-price-card__tag {
  background: rgba(197, 164, 109, 0.28);
  color: #6f5526;
}

.ejar-price-card--sublease .ejar-price-card__tag {
  background: rgba(30, 42, 56, 0.08);
  color: var(--navy, #1E2A38);
}

.ejar-price-card__type {
  font-size: clamp(1.08rem, 0.4vw + 1rem, 1.28rem);
  font-weight: var(--ejar-fw-bold);
  color: var(--ejar-olive);
  margin: 0 0 0.2rem;
  line-height: 1.35;
}

.ejar-price-card__amount {
  font-size: clamp(1.7rem, 4.5vw, 2.15rem);
  font-weight: var(--ejar-fw-heavy);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.35rem;
  letter-spacing: normal;
  white-space: nowrap;
}

.ejar-price-card__amount small {
  font-size: 0.48em;
  font-weight: var(--ejar-fw-medium);
}

.ejar-price-card__note {
  font-size: 0.86rem;
  font-weight: var(--ejar-fw-normal);
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 0.9rem;
  flex: 1 1 auto;
  min-height: 3.3em;
  overflow-wrap: anywhere;
}

.ejar-price-card .btn {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  justify-content: center;
  border-radius: 12px;
  font-size: var(--ejar-fs-btn);
  font-weight: var(--ejar-fw-semibold);
  padding-inline: 0.75rem;
  letter-spacing: normal;
  white-space: normal;
  text-wrap: balance;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(30, 42, 56, 0.08);
}

.ejar-wizard__kind.is-active[data-kind="sublease"] {
  background: var(--navy, #1E2A38);
  border-color: var(--navy, #1E2A38);
  color: #fff;
}

@media (min-width: 700px) {
  .ejar-pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 920px;
    gap: 0.75rem;
  }

  .ejar-price-card {
    padding: 1.1rem 0.7rem 1rem;
  }

  .ejar-price-card__tag {
    font-size: 0.66rem;
    padding: 0.18rem 0.5rem;
  }

  .ejar-price-card__amount {
    font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  }

  .ejar-price-card__note {
    font-size: 0.78rem;
    min-height: 4.5em;
    margin-bottom: 0.75rem;
  }

  .ejar-price-card .btn {
    font-size: 0.86rem;
    min-height: 46px;
    padding-inline: 0.4rem;
  }
}

.ejar-hero__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 767px) {
  .ejar-hero__actions {
    display: none;
  }
}

@media (min-width: 480px) {
  .ejar-hero__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }
}

.ejar-hero__actions .btn {
  min-height: 48px;
  justify-content: center;
  gap: 0.4rem;
  font-size: var(--ejar-fs-btn);
  font-weight: var(--ejar-fw-semibold);
  letter-spacing: normal;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
  padding-block: 0.55rem;
}

.ejar-hero__actions .btn-call {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}

@media (hover: hover) {
  .ejar-hero__actions .btn-call:hover {
    background: var(--navy-2);
    border-color: var(--navy-2);
  }
}

.ejar-btn-icon {
  flex-shrink: 0;
}

.ejar-hero__footnote {
  text-align: center;
  font-size: var(--ejar-fs-xs);
  font-weight: var(--ejar-fw-normal);
  color: var(--stone);
  max-width: 480px;
  margin: clamp(0.75rem, 2vw, 1rem) auto 0;
  line-height: var(--ejar-lh-small);
}

/* ─── Credentials / trust badges ─── */
.ejar-creds {
  padding-block: clamp(1.25rem, 3vw, 2rem);
  background: var(--ivory);
  border-bottom: 1px solid var(--navy-border);
}

.ejar-creds__label {
  text-align: center;
  font-size: var(--ejar-fs-section);
  font-weight: var(--ejar-fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(0.85rem, 2vw, 1.15rem);
  line-height: var(--ejar-lh-section);
}

.ejar-creds__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.65rem, 2vw, 1rem);
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 359px) {
  .ejar-creds__grid {
    grid-template-columns: 1fr;
  }
}

.ejar-cred-card {
  background: var(--white);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: clamp(0.85rem, 2.5vw, 1.15rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.ejar-cred-card__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  margin-bottom: 0.15rem;
}

.ejar-cred-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--ejar-olive-soft);
  color: var(--ejar-olive);
}

.ejar-cred-card__title {
  font-size: var(--ejar-fs-cred-title);
  font-weight: var(--ejar-fw-semibold);
  color: var(--navy);
  line-height: var(--ejar-lh-section);
}

.ejar-cred-card__number {
  font-size: var(--ejar-fs-cred-num);
  font-weight: var(--ejar-fw-bold);
  color: var(--ejar-olive);
  letter-spacing: normal;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  -webkit-text-decoration: none;
}

/* iOS Safari may auto-link long digit strings as phone numbers */
.ejar-cred-card__number a {
  color: inherit;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  pointer-events: none;
}

.ejar-cred-card__verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin-top: 0.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: var(--fw-subheading);
  color: var(--navy);
  background: var(--ivory);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}

@media (hover: hover) {
  .ejar-cred-card__verify:hover {
    border-color: var(--gold-border);
    background: var(--gold-subtle);
  }
}

.ejar-cred-card__verify:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.ejar-creds__footnote {
  text-align: center;
  font-size: var(--ejar-fs-xs);
  font-weight: var(--ejar-fw-normal);
  color: var(--stone);
  line-height: var(--ejar-lh-small);
  max-width: 520px;
  margin: clamp(0.85rem, 2vw, 1.1rem) auto 0;
}

.ejar-official-note {
  text-align: center;
  font-size: var(--ejar-fs-xs);
  font-weight: var(--ejar-fw-medium);
  color: var(--ejar-olive);
  line-height: 1.7;
  max-width: 40rem;
  margin: 0.85rem auto 0;
  padding: 0.7rem 1rem;
  background: var(--ejar-olive-soft);
  border: 1px solid var(--ejar-olive-border);
  border-radius: var(--radius);
}

/* ─── Trust bar ─── */
.ejar-trust {
  background: var(--ejar-olive);
  color: var(--white);
  padding: clamp(0.85rem, 2vw, 1.15rem) 0;
}

.ejar-trust__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

@media (min-width: 768px) {
  .ejar-trust__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 1rem;
  }
}

.ejar-trust__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(0.75rem, 1.6vw, 0.875rem);
  font-weight: var(--fw-subheading);
  line-height: 1.35;
}

@media (max-width: 767px) {
  .ejar-trust {
    padding-block: 0.75rem;
  }

  .ejar-trust__list {
    gap: 0.45rem 0.35rem;
  }

  .ejar-trust__item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.3rem;
    min-height: 3.5rem;
    padding: 0.4rem 0.25rem;
    font-size: 0.6875rem;
    line-height: 1.4;
  }
}

@media (max-width: 374px) {
  .ejar-trust__item {
    min-height: 3.75rem;
    font-size: 0.625rem;
  }
}

.ejar-trust__icon {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  opacity: 0.9;
}

@media (max-width: 767px) {
  .ejar-trust__icon {
    width: 1rem;
    height: 1rem;
    margin-top: 0;
  }
}

/* ─── Sections ─── */
.ejar-section {
  padding-block: var(--ejar-section-y);
}

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

.ejar-section__header {
  text-align: center;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.ejar-section__title {
  font-size: var(--ejar-fs-section);
  font-weight: var(--ejar-fw-bold);
  color: var(--navy);
  line-height: var(--ejar-lh-section);
  letter-spacing: normal;
}

/* ─── Steps ─── */
.ejar-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  padding-inline-start: 0;
  counter-reset: ejar-step;
}

@media (min-width: 640px) {
  .ejar-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ejar-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ejar-step {
  background: var(--white);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.25rem);
  text-align: center;
  list-style: none;
}

.ejar-step::marker {
  content: none;
}

.ejar-step::before {
  content: counter(ejar-step);
  counter-increment: ejar-step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 50%;
  background: var(--ejar-olive-soft);
  color: var(--ejar-olive);
  font-weight: var(--ejar-fw-heavy);
  font-size: var(--ejar-fs-step-num);
  margin-bottom: 0.65rem;
  line-height: 1;
}

.ejar-step__title {
  font-size: var(--ejar-fs-h3);
  font-weight: var(--ejar-fw-bold);
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: var(--ejar-lh-section);
}

.ejar-step__desc {
  font-size: clamp(0.875rem, 0.15vw + 0.84rem, 0.9375rem);
  font-weight: var(--ejar-fw-normal);
  color: var(--text-muted);
  line-height: var(--ejar-lh-relaxed);
}

/* ─── Purpose cards ─── */
.ejar-purposes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .ejar-purposes {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .ejar-purposes {
    grid-template-columns: 1fr;
  }
}

.ejar-purpose {
  background: var(--white);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: clamp(0.85rem, 2vw, 1.15rem);
}

.ejar-purpose__title {
  font-size: var(--ejar-fs-h3);
  font-weight: var(--ejar-fw-semibold);
  color: var(--ejar-olive);
  margin-bottom: 0.4rem;
  line-height: var(--ejar-lh-section);
}

.ejar-purpose__desc {
  font-size: clamp(0.875rem, 0.15vw + 0.84rem, 0.9375rem);
  font-weight: var(--ejar-fw-normal);
  color: var(--text-muted);
  line-height: var(--ejar-lh-relaxed);
}

.ejar-disclaimer {
  margin-top: clamp(0.85rem, 2vw, 1.15rem);
  padding: 0.75rem 1rem;
  background: rgba(197, 164, 109, 0.06);
  border: 1px solid rgba(197, 164, 109, 0.2);
  border-radius: var(--radius);
  font-size: var(--ejar-fs-xs);
  font-weight: var(--ejar-fw-normal);
  color: var(--stone);
  line-height: var(--ejar-lh-small);
  text-align: center;
}

/* ─── Contact buttons (CTA + form intro + shared) ─── */
.ejar-contact-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.65rem 0.85rem;
  background: var(--ivory);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

@media (hover: hover) {
  .ejar-contact-btn:hover {
    border-color: var(--gold-border);
    box-shadow: var(--shadow-sm);
    background: var(--white);
  }
}

.ejar-contact-btn--call {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

@media (hover: hover) {
  .ejar-contact-btn--call:hover {
    background: var(--navy-2);
    border-color: var(--navy-2);
  }
}

.ejar-contact-btn--call .ejar-contact-btn__icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.ejar-contact-btn--call .ejar-contact-btn__label,
.ejar-contact-btn--call .ejar-contact-btn__value {
  color: var(--white);
}

.ejar-contact-btn--wa {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.28);
}

@media (hover: hover) {
  .ejar-contact-btn--wa:hover {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.45);
  }
}

.ejar-contact-btn--wa .ejar-contact-btn__icon {
  color: #128c7e;
  border-color: rgba(37, 211, 102, 0.35);
}

.ejar-contact-btn--wa .ejar-contact-btn__value {
  color: var(--ejar-olive);
}

.ejar-contact-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--navy-border);
}

.ejar-contact-btn__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.ejar-contact-btn__label {
  font-size: var(--ejar-fs-xs);
  font-weight: var(--ejar-fw-medium);
  color: var(--stone);
  line-height: 1.3;
}

.ejar-contact-btn__value {
  font-size: clamp(0.875rem, 0.2vw + 0.82rem, 1rem);
  font-weight: var(--ejar-fw-bold);
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: normal;
}

.ejar-contact-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ─── Compact CTA bar ─── */
.ejar-cta-bar {
  padding-block: clamp(1.25rem, 3vw, 1.75rem);
  background: var(--white);
  border-block: 1px solid var(--navy-border);
}

.ejar-cta-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .ejar-cta-bar__inner {
    justify-content: space-between;
    text-align: right;
  }
}

.ejar-cta-bar__title {
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: var(--fw-heading);
  color: var(--navy);
  margin: 0;
  flex: 1 1 auto;
}

.ejar-cta-bar__actions {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 768px) {
  .ejar-cta-bar__actions {
    flex-shrink: 0;
    justify-content: flex-end;
  }
}

.ejar-cta-bar__actions .ejar-contact-btn {
  min-width: 11rem;
}

.ejar-cta-bar__actions .ejar-contact-btn__label,
.ejar-cta-bar__actions .ejar-contact-btn__value,
.ejar-cta-bar__actions .ejar-contact-btn__icon {
  color: #fff;
}

.ejar-cta-bar__actions .ejar-contact-btn--wa {
  background: #128c7e;
  border-color: #128c7e;
  color: #fff;
}

.ejar-cta-bar__actions .ejar-contact-btn--wa .ejar-contact-btn__icon {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

@media (hover: hover) {
  .ejar-cta-bar__actions .ejar-contact-btn--wa:hover {
    background: #0f7a6e;
    border-color: #0f7a6e;
  }
}

@media (max-width: 479px) {
  .ejar-cta-bar__actions {
    width: 100%;
  }

  .ejar-cta-bar__actions .ejar-contact-btn {
    flex: 1 1 calc(50% - 0.35rem);
    min-width: 0;
  }
}

/* ─── Form ─── */
.ejar-form-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

.ejar-form-intro.form-card {
  border-color: var(--ejar-olive-border);
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: right;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.ejar-form-section__lead {
  font-size: var(--ejar-fs-body);
  color: var(--text-secondary);
  line-height: var(--ejar-lh-body);
  margin: 0.35rem auto 0;
  max-width: 560px;
  text-align: center;
}

.ejar-form-intro__title {
  font-size: var(--ejar-fs-section);
  font-weight: var(--ejar-fw-bold);
  color: var(--navy);
  margin: 0 0 0.65rem;
  line-height: var(--ejar-lh-section);
}

.ejar-form-intro__lead {
  font-size: var(--ejar-fs-body);
  color: var(--text-secondary);
  line-height: var(--ejar-lh-body);
  margin: 0 0 1rem;
}

.ejar-form-intro__contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.ejar-form-intro__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: var(--ejar-fs-sm);
  color: var(--text-muted);
  line-height: var(--ejar-lh-small);
}

.ejar-form-intro__points li {
  position: relative;
  padding-inline-start: 1.1rem;
}

.ejar-form-intro__points li::before {
  content: '•';
  position: absolute;
  inset-inline-start: 0;
  color: var(--gold);
  font-weight: var(--ejar-fw-bold);
}

@media (max-width: 1023px) {
  .ejar-form-layout {
    display: block;
  }

  .ejar-form-wrap {
    max-width: 560px;
    margin: 0 auto;
  }
}

.ejar-form-wrap {
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

.ejar-form-wrap .form-card {
  border-color: var(--ejar-olive-border);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.ejar-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 640px) {
  .ejar-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1rem;
  }

  .ejar-form-grid__full {
    grid-column: 1 / -1;
  }
}

.ejar-form-wrap .btn[type="submit"] {
  width: 100%;
  min-height: 52px;
  font-size: var(--ejar-fs-btn);
  font-weight: var(--ejar-fw-semibold);
  margin-top: 0.25rem;
  letter-spacing: normal;
  white-space: normal;
  line-height: 1.35;
  padding-block: 0.75rem;
}

.ejar-form-note {
  margin: 0 0 0.9rem;
  padding: 0.7rem 0.9rem;
  font-size: var(--ejar-fs-sm);
  font-weight: var(--ejar-fw-medium);
  color: var(--ejar-olive);
  background: var(--ejar-olive-soft);
  border: 1px solid var(--ejar-olive-border);
  border-radius: var(--radius);
  line-height: 1.7;
  text-align: center;
}

.ejar-page .ejar-form-wrap .form-group label {
  font-size: var(--ejar-fs-label);
  font-weight: var(--ejar-fw-semibold);
  line-height: var(--ejar-lh-section);
}

.ejar-page .ejar-form-wrap .form-group input,
.ejar-page .ejar-form-wrap .form-group select,
.ejar-page .ejar-form-wrap .form-group textarea {
  font-size: var(--ejar-fs-input);
  font-weight: var(--ejar-fw-normal);
  line-height: 1.5;
}

.ejar-page .ejar-form-wrap .form-group input::placeholder,
.ejar-page .ejar-form-wrap .form-group textarea::placeholder {
  font-size: clamp(0.9375rem, 0.1vw + 0.92rem, 1rem);
  font-weight: var(--ejar-fw-normal);
  color: var(--text-muted);
}

.ejar-page .ejar-form-wrap .form-group textarea {
  display: block;
  width: 100%;
  min-height: 7.25rem;
  margin-top: 0.35rem;
  padding: 0.75rem 0.9rem;
  font-family: inherit;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  resize: vertical;
  box-sizing: border-box;
}

.ejar-form-wrap .btn-whatsapp {
  width: 100%;
  min-height: 52px;
}

/* ─── FAQ ─── */
.ejar-faq {
  max-width: 680px;
  margin: 0 auto;
}

.ejar-faq__item {
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  margin-bottom: 0.45rem;
  background: var(--white);
  overflow: hidden;
}

.ejar-faq__item[open] {
  border-color: var(--ejar-olive-border);
}

.ejar-faq__question {
  padding: 0.85rem 1rem;
  font-weight: var(--ejar-fw-semibold);
  font-size: var(--ejar-fs-faq-q);
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 48px;
  line-height: var(--ejar-lh-body);
  letter-spacing: normal;
}

.ejar-faq__question::-webkit-details-marker {
  display: none;
}

.ejar-faq__question::after {
  content: '+';
  font-size: 1.125rem;
  color: var(--gold);
  flex-shrink: 0;
}

.ejar-faq__item[open] .ejar-faq__question::after {
  content: '−';
}

.ejar-faq__answer {
  padding: 0 1rem 0.85rem;
  font-size: var(--ejar-fs-faq-a);
  font-weight: var(--ejar-fw-normal);
  color: var(--text-muted);
  line-height: var(--ejar-lh-body);
}

/* ─── Footer card ─── */
.ejar-footer {
  padding-block: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(180deg, var(--ivory-dark) 0%, var(--ivory) 100%);
  border-top: 1px solid var(--navy-border);
}

.ejar-footer__card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  box-shadow: var(--ejar-card-shadow);
  overflow: hidden;
}

.ejar-footer__brand {
  text-align: center;
  padding: clamp(1.35rem, 3.5vw, 1.85rem) clamp(1rem, 4vw, 2rem) clamp(1.1rem, 2.5vw, 1.35rem);
  border-bottom: 1px solid var(--navy-border);
}

.ejar-footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.ejar-footer__logo {
  width: auto;
  height: 56px;
  max-width: 280px;
  object-fit: contain;
  object-position: right center;
}

.ejar-footer__name {
  font-size: clamp(0.9375rem, 0.25vw + 0.88rem, 1.0625rem);
  font-weight: var(--ejar-fw-bold);
  color: var(--navy);
  line-height: var(--ejar-lh-section);
  margin: 0 0 0.35rem;
}

.ejar-footer__about {
  font-size: var(--ejar-fs-sm);
  font-weight: var(--ejar-fw-normal);
  color: var(--stone);
  line-height: var(--ejar-lh-small);
  max-width: 36ch;
  margin: 0 auto;
}

.ejar-footer__panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 0;
}

@media (max-width: 479px) {
  .ejar-footer__panels {
    grid-template-columns: 1fr;
  }
}

.ejar-footer__panel {
  padding: clamp(1rem, 2.5vw, 1.35rem) clamp(1rem, 3vw, 1.5rem);
}

.ejar-footer__panel:first-child {
  border-inline-end: 1px solid var(--navy-border);
}

@media (max-width: 479px) {
  .ejar-footer__panel:first-child {
    border-inline-end: none;
    border-bottom: 1px solid var(--navy-border);
  }
}

.ejar-footer__panel-title {
  font-size: var(--ejar-fs-footer-heading);
  font-weight: var(--ejar-fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
  text-align: center;
  line-height: var(--ejar-lh-section);
}

.ejar-footer__panel-title::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  margin: 0.4rem auto 0;
  background: var(--gold);
  border-radius: 2px;
  opacity: 0.7;
}

@media (min-width: 768px) {
  .ejar-footer__panel-title {
    text-align: start;
  }

  .ejar-footer__panel-title::after {
    margin-inline: 0;
  }
}

.ejar-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.ejar-footer__links li {
  min-width: 0;
}

.ejar-footer__links a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  width: 100%;
  min-height: 52px;
  padding: 0.65rem 0.85rem;
  font-size: var(--ejar-fs-footer-link);
  font-weight: var(--ejar-fw-semibold);
  color: var(--navy);
  text-align: start;
  text-decoration: none;
  background: var(--ivory);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  line-height: 1.35;
  letter-spacing: normal;
  box-sizing: border-box;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.ejar-footer__link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--ejar-olive);
  border: 1px solid var(--navy-border);
  flex-shrink: 0;
}

.ejar-footer__link-label {
  display: block;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (hover: hover) {
  .ejar-footer__links a:hover {
    background: var(--white);
    border-color: var(--gold-border);
    color: var(--ejar-olive);
  }
}

.ejar-footer__contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.ejar-footer__contact-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  padding: 0.65rem 0.85rem;
  background: var(--ivory);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

@media (hover: hover) {
  .ejar-footer__contact-btn:hover {
    border-color: var(--gold-border);
    box-shadow: var(--shadow-sm);
    background: var(--white);
  }
}

.ejar-footer__contact-btn--wa {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.28);
}

@media (hover: hover) {
  .ejar-footer__contact-btn--wa:hover {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.45);
  }
}

.ejar-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--navy-border);
}

.ejar-footer__contact-btn--wa .ejar-footer__contact-icon {
  color: #128c7e;
  border-color: rgba(37, 211, 102, 0.35);
}

.ejar-footer__contact-btn--map .ejar-footer__contact-icon {
  color: var(--gold);
  border-color: rgba(197, 164, 109, 0.4);
  background: rgba(197, 164, 109, 0.1);
}

.ejar-footer__contact-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-width: 0;
  flex: 1;
}

.ejar-footer__contact-label {
  font-size: var(--ejar-fs-xs);
  font-weight: var(--ejar-fw-medium);
  color: var(--stone);
  line-height: 1.3;
}

.ejar-footer__contact-value {
  font-size: clamp(0.875rem, 0.2vw + 0.82rem, 1rem);
  font-weight: var(--ejar-fw-bold);
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: normal;
}

.ejar-footer__contact-btn--wa .ejar-footer__contact-value {
  color: var(--ejar-olive);
}

.ejar-footer__contact-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (min-width: 768px) and (max-width: 1099px) {
  .ejar-footer__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .ejar-footer__brand {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--navy-border);
    border-inline-end: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-block: 1.5rem;
  }

  .ejar-footer__logo-link {
    justify-content: center;
  }

  .ejar-footer__about {
    margin-inline: auto;
    max-width: 42ch;
    text-align: center;
  }

  .ejar-footer__panels {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .ejar-footer__panel {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.4rem 1.45rem;
  }

  .ejar-footer__panel:first-child {
    border-inline-end: 1px solid var(--navy-border);
    border-bottom: none;
  }

  .ejar-footer__panel-title {
    text-align: start;
    margin-bottom: 0.85rem;
  }

  .ejar-footer__panel-title::after {
    margin-inline: 0;
  }

  .ejar-footer__links,
  .ejar-footer__contact {
    flex: 1;
  }
}

@media (min-width: 1100px) {
  .ejar-footer__card {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1.15fr;
    align-items: stretch;
  }

  .ejar-footer__brand {
    border-bottom: none;
    border-inline-end: 1px solid var(--navy-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
    padding-block: clamp(1.5rem, 3vw, 2rem);
  }

  .ejar-footer__logo-link {
    justify-content: flex-start;
  }

  .ejar-footer__about {
    margin-inline: 0;
    max-width: none;
  }

  .ejar-footer__panels {
    grid-column: 2 / -1;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .ejar-footer__panel-title {
    text-align: start;
  }

  .ejar-footer__links a {
    text-align: start;
  }
}

.ejar-footer__meta {
  margin-top: clamp(1rem, 2.5vw, 1.35rem);
  text-align: center;
}

.ejar-footer__copy,
.ejar-footer__legal {
  font-size: var(--ejar-fs-footer-legal);
  font-weight: var(--ejar-fw-normal);
  color: var(--stone);
  line-height: var(--ejar-lh-small);
  margin: 0 0 0.35rem;
}

.ejar-footer__note {
  font-size: var(--ejar-fs-footer-legal);
  font-weight: var(--ejar-fw-normal);
  color: var(--stone-light);
  line-height: var(--ejar-lh-small);
  max-width: 52ch;
  margin: 0.75rem auto 0;
  padding-top: 0.75rem;
  border-top: 1px solid var(--navy-border);
}

/* ─── Sticky mobile bar (phones only) ─── */
.ejar-sticky-bar {
  display: none;
}

@media (max-width: 767px) {
  .ejar-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: var(--white);
    border-top: 1px solid var(--navy-border);
    box-shadow: 0 -4px 16px rgba(30, 42, 56, 0.08);
    padding: 0.45rem clamp(0.65rem, 3vw, 1rem);
    padding-bottom: calc(0.45rem + env(safe-area-inset-bottom, 0px));
    min-height: var(--ejar-sticky-h);
    align-items: stretch;
    gap: 0.4rem;
  }

  .ejar-sticky-bar__btn {
    flex: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.2rem;
    font-family: var(--font);
    font-size: 0.625rem;
    font-weight: var(--fw-subheading);
    color: var(--navy);
    background: var(--ivory);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius);
    min-height: 44px;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), border-color var(--transition);
  }

  .ejar-sticky-bar__btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
  }

  .ejar-sticky-bar__btn--call {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
  }

  .ejar-sticky-bar__btn--wa {
    background: #25d366;
    color: var(--white);
    border-color: #25d366;
  }

  .ejar-sticky-bar__btn--start {
    background: var(--ejar-olive);
    color: var(--white);
    border-color: var(--ejar-olive);
  }
}

/* ─── Review page ─── */
.ejar-review-page.ejar-page {
  --ejar-ticker-h: 0px;
  padding-top: var(--header-h);
  padding-bottom: 0;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(197, 164, 109, 0.22), transparent 58%),
    #f7f3ea;
}

.ejar-review-main {
  padding: 1.25rem 0 3rem;
  min-height: calc(100dvh - var(--header-h));
}

.ejar-review-kicker {
  display: inline-block;
  margin: 0 0 0.55rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--gold-subtle, #f4ead4);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}

.ejar-review-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--ejar-olive-border, rgba(61, 82, 68, 0.18));
  border-radius: 18px;
  padding: clamp(1.15rem, 4vw, 2rem);
  box-shadow: 0 10px 32px rgba(30, 42, 56, 0.08);
}

.ejar-review-loading-text {
  margin: 0;
  text-align: center;
  color: var(--text-secondary, #5b6570);
}

.ejar-review-card__head h1 {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.ejar-review-card__head p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.ejar-review-form .form-group {
  margin-bottom: 1rem;
}

.ejar-review-form input,
.ejar-review-form select,
.ejar-review-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--ejar-olive-border, rgba(61, 82, 68, 0.18));
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  background: #fbfaf6;
}

.ejar-review-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ejar-stars {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ejar-review-form__rating {
  padding: 0.85rem 0.75rem 1rem;
  border-radius: 16px;
  background: #fffdf8;
  border: 1px solid var(--ejar-olive-border, rgba(61, 82, 68, 0.18));
}

.ejar-star {
  font-size: 2.4rem;
  line-height: 1;
  border: none;
  background: transparent;
  color: #d1d5db;
  cursor: pointer;
  padding: 0.15rem;
  min-width: 48px;
  min-height: 48px;
}

.ejar-star.is-active,
.ejar-star:hover {
  color: var(--gold);
}

.ejar-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 1rem 0 1.25rem;
  font-size: 0.9rem;
}

.ejar-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.ejar-review-state {
  text-align: center;
  padding: 1rem 0;
}

.ejar-review-state h1 {
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.ejar-review-state p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.ejar-reviews-jump {
  display: none;
}

#ejar-reviews[hidden],
#ejar-reviews-jump[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .ejar-review-page.ejar-page {
    --ejar-ticker-h: 0px;
    padding-top: var(--header-h);
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  .ejar-review-page .ejar-review-main {
    padding: 0.85rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
    min-height: calc(100dvh - var(--header-h));
  }

  .ejar-review-page .ejar-container {
    padding-inline: 0.85rem;
    width: 100%;
  }

  .ejar-review-page .ejar-review-card {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 1.1rem 0.95rem 1.35rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ejar-olive-border, rgba(61, 82, 68, 0.22));
    box-shadow: 0 8px 24px rgba(30, 42, 56, 0.1);
  }

  .ejar-review-page .ejar-review-card__head h1 {
    font-size: 1.2rem;
    line-height: 1.45;
  }

  .ejar-review-page .ejar-star {
    font-size: 2.55rem;
  }

  .ejar-review-page .btn {
    width: 100%;
    min-height: 48px;
  }

  .ejar-reviews-jump:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0.35rem auto 0;
    min-height: 44px;
    padding: 0.45rem 1rem;
    border: 1px solid var(--gold-border);
    border-radius: 999px;
    background: var(--gold-subtle);
    color: var(--navy);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
  }
}

/* ─── Public reviews section ─── */
.ejar-section.ejar-reviews-section {
  padding-block: 1.15rem;
  scroll-margin-top: calc(var(--header-h, 64px) + 12px);
}

.ejar-reviews-drop {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.ejar-reviews-drop[open] {
  border-color: var(--ejar-olive-border);
}

.ejar-reviews-drop__summary {
  padding: 0.9rem 1.1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 52px;
}

.ejar-reviews-drop__summary::-webkit-details-marker,
.ejar-reviews-drop__summary::marker {
  display: none;
  content: none;
}

.ejar-reviews-drop__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  text-align: right;
}

.ejar-reviews-drop__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: var(--ejar-fw-bold);
  color: var(--navy);
  line-height: 1.4;
}

.ejar-reviews-drop__meta {
  font-size: 0.82rem;
  font-weight: var(--ejar-fw-normal);
  color: var(--text-muted);
}

.ejar-reviews-drop__summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--gold);
  flex-shrink: 0;
}

.ejar-reviews-drop[open] .ejar-reviews-drop__summary::after {
  content: '−';
}

.ejar-reviews-drop__body {
  padding: 0 1rem 1rem;
}

.ejar-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.ejar-review-item {
  background: var(--white);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}

.ejar-review-item__stars {
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.ejar-review-item__text {
  margin: 0 0 0.75rem;
  color: var(--navy);
  line-height: 1.7;
}

.ejar-review-item--new {
  border-color: rgba(197, 164, 109, 0.55);
  box-shadow: 0 10px 24px rgba(197, 164, 109, 0.12);
}

.ejar-review-item__new {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  background: var(--gold-subtle, #f4ead4);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
}

.ejar-review-item__meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Trust numbers ─── */
.ejar-proof {
  background: var(--ivory);
  border-top: 1px solid var(--navy-border);
}

.ejar-proof__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ejar-proof__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.65rem, 1.6vw, 1rem);
  }
}

.ejar-proof-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.28rem;
  background: var(--white);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius);
  padding: clamp(1rem, 2.4vw, 1.45rem) clamp(0.75rem, 2vw, 1.15rem);
  box-shadow: var(--shadow-sm);
  min-height: 100%;
  color: inherit;
  text-decoration: none;
}

.ejar-proof-card--link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ejar-proof-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--ejar-olive-soft);
  color: var(--ejar-olive);
  margin-bottom: 0.2rem;
}

.ejar-proof-card__value {
  font-size: clamp(1.85rem, 0.7rem + 3.2vw, 2.65rem);
  font-weight: var(--ejar-fw-heavy);
  color: var(--ejar-olive);
  letter-spacing: normal;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  margin: 0.15rem 0 0.1rem;
}

.ejar-proof-card__title {
  font-size: var(--ejar-fs-label);
  font-weight: var(--ejar-fw-semibold);
  color: var(--navy);
  line-height: var(--ejar-lh-section);
  margin: 0;
}

.ejar-proof-card__desc {
  font-size: var(--ejar-fs-xs);
  font-weight: var(--ejar-fw-normal);
  color: var(--stone);
  line-height: var(--ejar-lh-small);
  margin: 0;
}

.ejar-proof__footnote {
  text-align: center;
  font-size: var(--ejar-fs-sm);
  font-weight: var(--ejar-fw-medium);
  color: var(--navy);
  line-height: var(--ejar-lh-small);
  margin: clamp(1rem, 2.4vw, 1.35rem) 0 0;
}

@media (max-width: 639px) {
  .ejar-proof-card {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0.65rem;
    row-gap: 0.15rem;
    padding: 0.85rem 0.9rem;
    text-align: start;
  }

  .ejar-proof-card__icon {
    width: 2.1rem;
    height: 2.1rem;
    margin-bottom: 0;
  }

  .ejar-proof-card__value {
    font-size: clamp(1.45rem, 5vw, 1.85rem);
    margin: 0;
  }

  .ejar-proof-card__title,
  .ejar-proof-card__desc {
    width: 100%;
    text-align: center;
  }
}

/* ─── Interactive cards — hover + touch lift ─── */
.ejar-price-card,
.ejar-cred-card,
.ejar-step,
.ejar-purpose,
.ejar-page .form-card,
.ejar-faq__item,
.ejar-reviews-drop,
.ejar-review-item,
.ejar-proof-card,
.ejar-contact-btn,
.ejar-footer__card {
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

@media (hover: hover) {
  .ejar-price-card:hover,
  .ejar-cred-card:hover,
  .ejar-step:hover,
  .ejar-purpose:hover,
  .ejar-page .form-card:hover,
  .ejar-faq__item:hover,
  .ejar-reviews-drop:hover,
  .ejar-review-item:hover,
  .ejar-proof-card:hover,
  .ejar-contact-btn:hover,
  .ejar-footer__card:hover {
    transform: translateY(var(--ejar-card-lift));
    border-color: var(--ejar-card-hover-border);
    box-shadow: var(--ejar-card-hover-shadow);
  }

  .ejar-price-card--featured:hover {
    border-color: var(--ejar-olive);
  }

  .ejar-faq__item[open]:hover,
  .ejar-reviews-drop[open]:hover {
    border-color: var(--gold);
  }

  .ejar-contact-btn--call:hover {
    border-color: var(--gold-border);
  }
}

.ejar-price-card:active,
.ejar-cred-card:active,
.ejar-step:active,
.ejar-purpose:active,
.ejar-page .form-card:active,
.ejar-faq__item:active,
.ejar-reviews-drop:active,
.ejar-review-item:active,
.ejar-proof-card:active,
.ejar-contact-btn:active,
.ejar-footer__card:active {
  transform: translateY(var(--ejar-card-active-lift));
  border-color: var(--ejar-card-hover-border);
  box-shadow: var(--ejar-card-hover-shadow);
}

@media (prefers-reduced-motion: reduce) {
  .ejar-page .header--ejar::before {
    animation: none;
  }

  .ejar-price-card,
  .ejar-cred-card,
  .ejar-step,
  .ejar-purpose,
  .ejar-page .form-card,
  .ejar-faq__item,
  .ejar-reviews-drop,
  .ejar-review-item,
  .ejar-proof-card,
  .ejar-contact-btn,
  .ejar-footer__card {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }

  .ejar-price-card:hover,
  .ejar-cred-card:hover,
  .ejar-step:hover,
  .ejar-purpose:hover,
  .ejar-page .form-card:hover,
  .ejar-faq__item:hover,
  .ejar-reviews-drop:hover,
  .ejar-review-item:hover,
  .ejar-proof-card:hover,
  .ejar-contact-btn:hover,
  .ejar-footer__card:hover,
  .ejar-price-card:active,
  .ejar-cred-card:active,
  .ejar-step:active,
  .ejar-purpose:active,
  .ejar-page .form-card:active,
  .ejar-faq__item:active,
  .ejar-reviews-drop:active,
  .ejar-review-item:active,
  .ejar-proof-card:active,
  .ejar-contact-btn:active,
  .ejar-footer__card:active {
    transform: none;
  }
}

/* ═══════════════════════════════════════
   Desktop & Laptop Layout Polish
   Mobile-first — changes from 1024px+
   ═══════════════════════════════════════ */

@media (min-width: 1024px) {
  .ejar-container {
    padding-inline: clamp(24px, 3vw, 48px);
  }

  .ejar-hero {
    padding-block: clamp(1.5rem, 2.5vw, 2.25rem) clamp(1.25rem, 2vw, 2rem);
  }

  .ejar-hero__stack {
    gap: clamp(1.15rem, 2vw, 1.65rem);
  }

  .ejar-hero__brand {
    margin-bottom: 0;
  }

  .ejar-hero__office {
    display: none;
  }

  .ejar-hero__title {
    margin: 0;
  }

  .ejar-hero__desc {
    margin: 0;
  }

  .ejar-pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1040px;
    gap: clamp(1rem, 1.8vw, 1.4rem);
    margin-bottom: clamp(1rem, 2.5vw, 1.4rem);
  }

  .ejar-price-card {
    padding: 1.45rem 1.2rem 1.25rem;
  }

  .ejar-price-card__tag {
    font-size: 0.72rem;
    padding: 0.22rem 0.72rem;
  }

  .ejar-price-card__type {
    font-size: 1.28rem;
  }

  .ejar-price-card__amount {
    font-size: 2.15rem;
  }

  .ejar-price-card__note {
    font-size: 0.9rem;
    min-height: 3.6em;
    margin-bottom: 0.9rem;
  }

  .ejar-price-card .btn {
    min-height: 52px;
    font-size: var(--ejar-fs-btn);
    padding-inline: 0.75rem;
  }

  .ejar-hero__footnote {
    margin: 0;
  }

  .ejar-hero__actions {
    max-width: 816px;
    gap: 0.66rem;
  }

  .ejar-hero__actions .btn {
    min-height: 58px;
    font-size: calc(var(--ejar-fs-btn) * 1.2);
    gap: 0.48rem;
  }

  .ejar-hero__actions .ejar-btn-icon {
    width: 22px;
    height: 22px;
  }

  .ejar-creds__grid {
    max-width: none;
    gap: 1rem;
  }

  .ejar-creds__footnote {
    max-width: 720px;
  }

  .ejar-trust__list {
    gap: 1rem 1.5rem;
  }

  .ejar-steps {
    gap: 20px;
  }

  .ejar-purposes {
    gap: 1rem;
  }

  .ejar-cta-bar {
    padding-block: clamp(1.15rem, 2vw, 1.5rem);
  }

  .ejar-cta-bar__inner {
    gap: 1rem 2rem;
  }

  .ejar-cta-bar__actions {
    flex-shrink: 0;
    justify-content: flex-end;
  }

  .ejar-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(1.75rem, 3vw, 2.75rem);
    align-items: stretch;
  }

  .ejar-form-wrap {
    max-width: none;
    margin: 0;
  }

  .ejar-form-wrap .form-card {
    height: 100%;
  }

  .ejar-faq {
    max-width: 820px;
  }

  .ejar-reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1280px) {
  .ejar-section {
    padding-block: clamp(2.5rem, 3.5vw, 3.25rem);
  }

  .ejar-section.ejar-reviews-section {
    padding-block: 1.15rem;
  }

  .ejar-form-layout {
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  }
}

@media (min-width: 1600px) {
  .ejar-container {
    max-width: var(--ejar-container);
  }
}

/* Tablet header through 1099 — matches hamburger range */
@media (min-width: 768px) and (max-width: 1099px) {
  .ejar-container {
    padding-inline: clamp(1.5rem, 4vw, 2.25rem);
  }
}

/* Tablet content (portrait / small landscape) — desktop form layout stays from 1024 */
@media (min-width: 768px) and (max-width: 1023px) {
  .ejar-hero {
    padding-block: 1.75rem 2rem;
  }

  .ejar-hero__brand {
    margin-bottom: 0.75rem;
  }

  .ejar-hero__office {
    display: none;
  }

  .ejar-hero__badge {
    font-size: clamp(1.05rem, 0.45vw + 0.95rem, 1.4rem);
    font-weight: var(--ejar-fw-heavy);
    line-height: var(--ejar-lh-small);
    width: max-content;
    max-width: 100%;
    padding: 0.5rem 1.05rem;
    border-radius: 14px;
    text-wrap: balance;
  }

  .ejar-hero__title {
    max-width: 28rem;
    font-size: clamp(1.48rem, 3.2vw, 1.85rem);
    line-height: 1.45;
    text-wrap: balance;
  }

  .ejar-hero__desc {
    max-width: 36rem;
    font-size: 1.02rem;
    text-wrap: pretty;
  }

  .ejar-section__title {
    font-size: clamp(1.35rem, 2.6vw, 1.65rem);
    line-height: 1.4;
    text-wrap: balance;
  }

  .ejar-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 640px;
    gap: 0.75rem;
  }

  .ejar-pricing {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    gap: 0.85rem;
  }

  .ejar-price-card {
    padding: 1.2rem 0.85rem 1.1rem;
  }

  .ejar-price-card__note {
    font-size: 0.8rem;
  }

  .ejar-price-card .btn {
    min-height: 48px;
    font-size: 0.9rem;
  }

  .ejar-creds__grid {
    max-width: 720px;
  }

  .ejar-form-wrap {
    max-width: 680px;
  }

  .ejar-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.15rem;
  }

  .ejar-form-grid__full {
    grid-column: 1 / -1;
  }

  .ejar-reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ejar-cta-bar__inner {
    justify-content: space-between;
    text-align: right;
    gap: 1rem 1.5rem;
  }
}

/* ─── معالج إنشاء العقد ─── */
body.ejar-wizard-open {
  overflow: hidden;
}

body.ejar-wizard-open .ejar-sticky-bar {
  display: none !important;
}

.ejar-wizard {
  --ejar-vv-top: 0px;
  --ejar-vv-height: 100dvh;
  position: fixed;
  inset: 0;
  z-index: 1400;
}

.ejar-wizard[hidden] {
  display: none !important;
}

.ejar-wizard:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.5rem, env(safe-area-inset-top, 0px)) 0.75rem max(0.5rem, env(safe-area-inset-bottom, 0px));
}

.ejar-wizard__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 42, 56, 0.55);
}

.ejar-wizard__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(760px, 100%);
  max-height: min(92vh, 92dvh, 900px);
  margin: 0;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(30, 42, 56, 0.22);
  overflow: hidden;
}

.ejar-wizard__close {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: var(--ejar-olive-soft);
  color: var(--ejar-olive);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
}

.ejar-wizard.has-intro .ejar-wizard__panel {
  display: none !important;
}

.ejar-wizard__intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: min(26.5rem, 100%);
  max-height: min(88vh, 88dvh, var(--ejar-vv-height, 88dvh));
  background: var(--white);
  border: 1px solid var(--ejar-olive-border, rgba(61, 82, 68, 0.22));
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(30, 42, 56, 0.22);
  overflow: hidden;
}

.ejar-wizard__intro-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 3.1rem 1.25rem 0.35rem;
  text-align: right;
}

.ejar-wizard__intro-icon {
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 auto 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold-subtle, #f4ead4);
  color: var(--gold, #C5A46D);
}

.ejar-wizard__intro h2 {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: clamp(1.02rem, 0.9rem + 0.6vw, 1.18rem);
  font-weight: var(--ejar-fw-bold);
  color: var(--navy, #1E2A38);
  line-height: 1.45;
}

.ejar-wizard__intro-scroll p {
  margin: 0 0 0.7rem;
  font-size: 0.92rem;
  font-weight: var(--ejar-fw-normal);
  color: var(--navy, #1E2A38);
  line-height: 1.75;
  text-align: start;
}

.ejar-wizard__intro-note {
  margin-top: 0.15rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  background: #fbfaf6;
  border: 1px solid var(--ejar-olive-border, rgba(61, 82, 68, 0.22));
  color: var(--text-muted, #5b6570) !important;
  font-size: 0.8rem !important;
  line-height: 1.65 !important;
}

.ejar-wizard__intro-actions {
  flex-shrink: 0;
  padding: 0.85rem 1.15rem calc(1rem + env(safe-area-inset-bottom, 0px));
}

.ejar-wizard__intro-actions .btn {
  width: 100%;
  min-height: 48px;
}

.ejar-wizard.has-verify .ejar-wizard__panel {
  position: absolute;
  inset: 0.75rem;
  width: auto;
  max-height: none;
  margin: auto;
  filter: blur(8px);
  transform: scale(1.015);
  pointer-events: none;
  user-select: none;
}

.ejar-wizard__verify {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  width: min(26.5rem, 100%);
  max-height: min(88vh, 88dvh, var(--ejar-vv-height, 88dvh));
  background: var(--white);
  border: 1px solid var(--ejar-olive-border, rgba(61, 82, 68, 0.22));
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(30, 42, 56, 0.22);
  overflow: hidden;
}

.ejar-wizard__verify-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 3.1rem 1.25rem 1.15rem;
  text-align: right;
}

.ejar-wizard__verify h2 {
  margin: 0 0 0.55rem;
  text-align: center;
  font-size: clamp(1.02rem, 0.9rem + 0.6vw, 1.18rem);
  font-weight: var(--ejar-fw-bold);
  color: var(--navy, #1E2A38);
  line-height: 1.45;
}

.ejar-wizard__verify-lead,
.ejar-wizard__verify-note {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted, #5b6570);
  line-height: 1.7;
}

.ejar-wizard__verify-roles {
  border: 0;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.ejar-wizard__verify-roles legend {
  margin: 0 0 0.45rem;
  font-weight: var(--ejar-fw-bold);
  color: var(--navy, #1E2A38);
}

.ejar-wizard__verify-role {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--ejar-olive-border, rgba(61, 82, 68, 0.22));
  border-radius: 12px;
  background: #fbfaf6;
  cursor: pointer;
}

.ejar-wizard__verify-role.is-selected {
  border-color: var(--gold, #C5A46D);
  background: var(--gold-subtle, #f4ead4);
}

.ejar-wizard__verify-phone {
  display: block;
  margin: 0 0 0.35rem;
  font-weight: var(--ejar-fw-bold);
}

.ejar-wizard__verify .ejar-wizard__control {
  margin-bottom: 0.75rem;
}

.ejar-wizard__verify .btn {
  width: 100%;
  min-height: 48px;
  margin-bottom: 0.5rem;
}

.ejar-wizard__verify-otp {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--ejar-olive-border, rgba(61, 82, 68, 0.18));
}

.ejar-wizard__verify-otp label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: var(--ejar-fw-bold);
}

.ejar-wizard__verify-error {
  margin: 0.35rem 0 0;
  color: #9b2c2c;
  font-size: 0.88rem;
  line-height: 1.55;
}

.ejar-wizard__verify-ok {
  margin: 0.35rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #eef6ee;
  color: #1f6b3a;
  font-weight: var(--ejar-fw-bold);
}

.ejar-wizard__control[data-locked] {
  background: #f4f1ea;
  color: var(--navy, #1E2A38);
  cursor: not-allowed;
}

.ejar-wizard__head {
  padding: 1.15rem 1.5rem 0.35rem 3.6rem;
  text-align: center;
}

.ejar-wizard__kinds {
  display: inline-flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 0 auto 0.55rem;
  padding: 0.2rem;
  border: 1px solid var(--ejar-olive-border);
  border-radius: 999px;
  background: #fbfaf6;
}

.ejar-wizard__kind {
  min-height: 34px;
  padding: 0.2rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--navy, #1E2A38);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: var(--ejar-fw-bold);
  cursor: pointer;
}

.ejar-wizard__kind.is-active[data-kind="residential"] {
  background: var(--ejar-olive);
  border-color: var(--ejar-olive);
  color: #fff;
}

.ejar-wizard__kind.is-active[data-kind="commercial"] {
  background: var(--gold, #C5A46D);
  border-color: var(--gold, #C5A46D);
  color: var(--navy, #1E2A38);
}

.ejar-wizard__head h2 {
  margin: 0 0 0.2rem;
  font-size: clamp(1.05rem, 0.95rem + 0.8vw, 1.28rem);
  font-weight: var(--ejar-fw-bold);
  color: var(--navy, #1E2A38);
  line-height: 1.4;
}

.ejar-wizard__title-short {
  display: none;
}

.ejar-wizard__price {
  margin: 0;
  color: var(--ejar-olive);
  font-weight: var(--ejar-fw-bold);
  font-size: 0.98rem;
}

.ejar-wizard__lead {
  display: none;
}

.ejar-wizard__trust {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--ejar-olive);
  font-weight: 500;
}

.ejar-wizard__progress {
  padding: 0.55rem 1.5rem 0;
}

.ejar-wizard__stages {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.45rem;
  list-style: none;
  margin: 0 0 0.35rem;
  padding: 0;
}

.ejar-wizard__stage {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  color: var(--text-muted, #7a8490);
  font-size: 0.78rem;
  font-weight: var(--ejar-fw-semibold);
  white-space: nowrap;
}

.ejar-wizard__stage-mark {
  font-size: 0.62rem;
  line-height: 1;
  color: var(--ejar-olive-border);
}

.ejar-wizard__stage.is-current {
  color: var(--ejar-olive);
  font-weight: var(--ejar-fw-bold);
}

.ejar-wizard__stage.is-current .ejar-wizard__stage-mark,
.ejar-wizard__stage.is-done .ejar-wizard__stage-mark {
  color: var(--ejar-olive);
}

.ejar-wizard__progress-text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0.15rem 1.5rem 0.15rem;
  font-size: 0.92rem;
  font-weight: var(--ejar-fw-semibold);
  color: var(--ejar-olive);
}

.ejar-wizard__progress-text--mobile {
  display: none;
}

.ejar-wizard__progress-text strong {
  font-weight: var(--ejar-fw-bold);
  color: var(--navy, #1E2A38);
}

.ejar-wizard__bar {
  height: 6px;
  border-radius: 99px;
  background: var(--ejar-olive-soft);
  overflow: hidden;
}

.ejar-wizard__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--ejar-olive), var(--gold, #C5A46D));
  transition: width 0.25s ease;
}

.ejar-wizard__nav .ejar-wizard__prev[hidden] {
  display: none;
}

.ejar-wizard__question {
  animation: ejar-wizard-in 0.22s ease;
}

@keyframes ejar-wizard-in {
  from { opacity: 0.4; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ejar-wizard__question {
    animation: none;
  }
}

.ejar-wizard__form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  position: relative;
}

.ejar-wizard__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.15rem 1.35rem 0.5rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.ejar-wizard__question label,
.ejar-wizard__follow label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: var(--ejar-fw-bold);
  font-size: clamp(1.12rem, 1rem + 0.6vw, 1.35rem);
  color: var(--navy, #1E2A38);
  line-height: 1.45;
}

.ejar-wizard__follow label {
  font-size: 0.95rem;
  font-weight: var(--ejar-fw-semibold);
  margin-bottom: 0.4rem;
}

.ejar-choice {
  display: grid;
  gap: 0.55rem;
}

.ejar-choice--2 {
  grid-template-columns: 1fr 1fr;
}

.ejar-choice--4 {
  grid-template-columns: 1fr 1fr;
}

.ejar-choice--grid {
  grid-template-columns: 1fr 1fr;
}

.ejar-choice__card {
  min-height: 52px;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ejar-olive-border);
  border-radius: 14px;
  background: #fff;
  color: var(--navy, #1E2A38);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: var(--ejar-fw-bold);
  cursor: pointer;
  white-space: normal;
  text-wrap: balance;
  line-height: 1.35;
}

.ejar-choice__card.is-selected {
  background: var(--ejar-olive);
  border-color: var(--ejar-olive);
  color: #fff;
}

.ejar-wizard__screen-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: var(--navy, #1E2A38);
}

.ejar-wizard__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 0.75rem;
}

.ejar-wizard__grid--compact {
  gap: 0.55rem 0.65rem;
}

.ejar-wizard__grid--compact > .ejar-field,
.ejar-details__grid .ejar-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.ejar-details {
  grid-column: 1 / -1;
  margin-top: 0.1rem;
  padding: 0.7rem 0.75rem 0.6rem;
  border: 1px solid var(--ejar-olive-border);
  border-radius: 14px;
  background: #f7f5ee;
}

.ejar-details__title {
  margin: 0 0 0.55rem;
  font-size: 0.92rem;
  font-weight: var(--ejar-fw-bold);
  color: var(--navy, #1E2A38);
}

.ejar-details__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem 0.65rem;
}

.ejar-details .ejar-field label,
.ejar-wizard__grid--compact > .ejar-field label {
  margin-bottom: 0.28rem;
  font-size: 0.86rem;
  text-align: start;
  min-height: 2.35em;
  display: flex;
  align-items: flex-end;
  line-height: 1.25;
}

.ejar-wizard__grid--compact select.ejar-wizard__control,
.ejar-details select.ejar-wizard__control,
.ejar-wizard__grid--compact .ejar-wizard__control {
  min-height: 44px;
  padding: 0.55rem 0.7rem;
}

select.ejar-wizard__control {
  min-height: 44px;
}

.ejar-wizard__grid--compact .ejar-wizard__follow {
  margin-top: 0.45rem;
}

.ejar-meter {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.45rem;
  width: 100%;
}

.ejar-meter > select {
  flex: 1 1 11rem;
  min-width: 0;
}

.ejar-meter__edit {
  display: flex;
  flex: 1 1 12rem;
  align-items: stretch;
  gap: 0.4rem;
  min-width: 0;
}

.ejar-meter__edit[hidden],
.ejar-meter__saved[hidden] {
  display: none !important;
}

.ejar-meter__edit .ejar-wizard__control {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
}

.ejar-meter__edit .ejar-wizard__control::placeholder {
  color: transparent;
}

.ejar-meter__save {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 4.5rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 12px;
  background: var(--ejar-olive);
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.ejar-meter__save:hover,
.ejar-meter__save:focus {
  filter: brightness(0.96);
}

.ejar-meter__unit {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 0.7rem;
  min-height: 44px;
  border-radius: 12px;
  background: var(--ejar-olive-soft);
  color: var(--ejar-olive);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
}

.ejar-meter__saved .ejar-meter__unit {
  min-height: 0;
  padding: 0;
  background: transparent;
  color: inherit;
}

.ejar-meter__saved {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 0.7rem;
  border-radius: 12px;
  background: var(--ejar-olive-soft);
  color: var(--navy, #1E2A38);
  white-space: nowrap;
}

.ejar-meter__saved span {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ejar-meter__edit-btn {
  border: 0;
  background: transparent;
  color: var(--ejar-olive);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 44px;
  padding: 0 0.2rem;
}

@media (max-width: 559px) {
  .ejar-meter > select {
    flex: 1 1 100%;
  }

  .ejar-meter__edit,
  .ejar-meter__saved {
    flex: 1 1 100%;
  }

  .ejar-wizard__grid--compact > .ejar-field label,
  .ejar-details .ejar-field label {
    min-height: 0;
  }
}

.ejar-wizard__screen:has(.ejar-wizard__grid--compact) .ejar-wizard__screen-title {
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

@supports (grid-template-rows: subgrid) {
  .ejar-wizard__grid--compact,
  .ejar-details__grid {
    grid-auto-rows: auto;
  }

  .ejar-wizard__grid--compact > .ejar-field:not(.ejar-field--wide),
  .ejar-details__grid > .ejar-field {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }
}

@media (min-width: 560px) {
  .ejar-wizard__grid--compact,
  .ejar-details__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ejar-wizard__grid--compact > .ejar-field--wide,
  .ejar-wizard__grid--compact > .ejar-details {
    grid-column: 1 / -1;
  }
}

.ejar-wizard__grid--compact[data-screen="ownership"]:not([data-layout="property"]) {
  grid-template-columns: minmax(0, 28.5rem);
  justify-content: center;
  justify-items: stretch;
  gap: 0.85rem;
}

.ejar-wizard__grid--compact[data-screen="ownership"]:not([data-layout="property"]) > .ejar-field {
  width: 100%;
  max-width: 28.5rem;
}

.ejar-wizard__grid--compact[data-screen="ownership"]:not([data-layout="property"]) > .ejar-field label {
  min-height: 0;
  justify-content: center;
  text-align: center;
}

.ejar-wizard__grid--compact[data-screen="ownership"]:not([data-layout="property"]) .ejar-date-radios {
  max-width: none;
}

.ejar-wizard__grid--compact[data-screen="tenant"] > .ejar-field[data-field="tenantKind"] label,
.ejar-wizard__grid--compact[data-screen="sublease"] > .ejar-field[data-field="subleaseKind"] label,
.ejar-wizard__grid--compact[data-screen="subtenant"] > .ejar-field[data-field="subtenantKind"] label {
  min-height: 0;
}

.ejar-wizard__grid--compact[data-screen="tenant"] > .ejar-field[data-field="tenantKind"] .ejar-choice__card,
.ejar-wizard__grid--compact[data-screen="sublease"] > .ejar-field[data-field="subleaseKind"] .ejar-choice__card,
.ejar-wizard__grid--compact[data-screen="subtenant"] > .ejar-field[data-field="subtenantKind"] .ejar-choice__card {
  min-height: 46px;
}

.ejar-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: var(--ejar-fw-bold);
  font-size: 0.95rem;
  color: var(--navy, #1E2A38);
}

.ejar-field label small {
  font-weight: var(--ejar-fw-medium);
  color: var(--text-muted);
  font-size: 0.78rem;
}

.ejar-field__hint {
  margin: 0.4rem 0 0;
  color: #8a6b32;
  font-size: 0.82rem;
  line-height: 1.55;
  background: rgba(197, 164, 109, 0.12);
  border: 1px solid rgba(197, 164, 109, 0.28);
  border-radius: 10px;
  padding: 0.45rem 0.65rem;
}

.ejar-field__error {
  display: none;
}

.ejar-field.is-invalid .ejar-wizard__control,
.ejar-field.is-invalid .ejar-choice {
  box-shadow: 0 0 0 2px rgba(155, 28, 28, 0.18);
}

.ejar-stepper {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ejar-stepper__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ejar-olive-border);
  border-radius: 12px;
  background: #fff;
  color: var(--navy, #1E2A38);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.ejar-stepper__value {
  text-align: center;
  font-weight: 700;
}

.ejar-submitter-block {
  padding: 0.85rem 0 0.25rem;
}

.ejar-submitter-block h3 {
  margin: 0 0 0.65rem;
  font-size: 1.02rem;
}

.ejar-submitter-details {
  display: block;
  margin-top: 0.35rem;
}

.ejar-submitter-details[hidden] {
  display: none !important;
}

.ejar-submitter-details__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem 0.65rem;
}

@media (min-width: 380px) {
  .ejar-submitter-details__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .ejar-wizard__grid {
    grid-template-columns: 1fr 1fr;
  }

  .ejar-field--wide {
    grid-column: 1 / -1;
  }
}

.ejar-wizard__resume {
  padding: 2.4rem 1.5rem 1.75rem;
  text-align: center;
}

.ejar-wizard__resume h2 {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}

.ejar-wizard__resume p {
  margin: 0 0 1.25rem;
  color: var(--text-secondary, #5b6570);
  line-height: 1.7;
}

.ejar-wizard__resume-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ejar-wizard__resume-actions .btn {
  min-height: 48px;
}

.ejar-wizard__control {
  width: 100%;
  min-height: 48px;
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 16px;
  border: 1px solid var(--ejar-olive-border);
  border-radius: 12px;
  background: #fbfaf6;
}

.ejar-wizard__control:focus {
  outline: none;
  border-color: var(--gold, #C5A46D);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(197, 164, 109, 0.2);
}

.ejar-wizard__affix {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.ejar-wizard__affix .ejar-wizard__control {
  flex: 1;
}

.ejar-wizard__affix span {
  display: inline-flex;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 12px;
  background: var(--ejar-olive-soft);
  color: var(--ejar-olive);
  font-weight: var(--ejar-fw-semibold);
  white-space: nowrap;
}

.ejar-wizard__follow {
  margin-top: 0.9rem;
}

.ejar-wizard__follow textarea.ejar-wizard__control {
  min-height: 5.6rem;
  resize: vertical;
  line-height: 1.65;
  padding: 0.7rem 0.8rem;
}

.ejar-wizard__error {
  margin: 0 1.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: #fdecec;
  color: #9b1c1c;
  font-size: 0.88rem;
}

.ejar-wizard__nav {
  display: flex;
  gap: 0.65rem;
  flex-shrink: 0;
  padding: 0.9rem 1.35rem calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--ejar-olive-border);
  background: #fff;
}

.ejar-wizard__nav .btn {
  flex: 1;
  min-height: 48px;
}

.ejar-deed-upload {
  margin: 1.1rem 0 1rem;
  padding: 0.95rem;
  border: 1px dashed var(--ejar-olive-border);
  border-radius: 14px;
  background: #fbfaf6;
}

.ejar-deed-upload h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--ejar-olive);
}

.ejar-deed-upload h3 small {
  margin-inline-start: 0.35rem;
  font-weight: 500;
  color: var(--text-secondary, #5b6570);
}

.ejar-deed-upload p {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary, #5b6570);
}

.ejar-deed-upload__drop {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 108px;
  padding: 0.9rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ejar-olive-border);
  cursor: pointer;
  text-align: center;
}

.ejar-deed-upload__drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.ejar-deed-upload__cta {
  font-weight: var(--ejar-fw-bold);
  color: var(--navy, #1E2A38);
}

.ejar-deed-upload__hint {
  font-size: 0.78rem;
  color: var(--text-muted, #7a8490);
}

.ejar-deed-upload__preview {
  margin-top: 0.75rem;
  text-align: center;
}

.ejar-deed-upload__preview img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ejar-olive-border);
}

.ejar-deed-upload__preview img[hidden] {
  display: none;
}

.ejar-deed-upload__file {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ejar-olive-border);
  font-weight: var(--ejar-fw-bold);
  color: var(--ejar-olive);
}

.ejar-deed-upload__name {
  margin: 0.45rem 0;
  font-size: 0.8rem;
  color: var(--text-secondary, #5b6570);
  word-break: break-all;
}

.ejar-deed-upload__remove {
  min-height: 44px;
}

.ejar-wizard-review {
  margin-bottom: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--ejar-olive-border);
  border-radius: 14px;
  background: #fbfaf6;
}

.ejar-wizard-review header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.ejar-wizard-review__toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  color: inherit;
  cursor: default;
  text-align: start;
}

.ejar-wizard-review__check {
  color: var(--ejar-olive);
  font-weight: 700;
}

.ejar-wizard-review h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ejar-olive);
}

.ejar-wizard__edit {
  border: none;
  background: none;
  color: var(--gold, #C5A46D);
  font-weight: var(--ejar-fw-bold);
  cursor: pointer;
  font-family: inherit;
}

.ejar-wizard-review dl {
  margin: 0;
}

.ejar-wizard-review dl > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.28rem 0;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.ejar-wizard-review dt {
  color: var(--text-secondary, #5b6570);
}

.ejar-wizard-review dd {
  margin: 0;
  font-weight: var(--ejar-fw-semibold);
  text-align: start;
  flex: 1;
  min-width: 0;
}

.ejar-wizard-review .ejar-date-text {
  margin: 0;
  font: inherit;
  font-weight: inherit;
  line-height: 1.7;
}

.ejar-wizard__control--date {
  min-height: 52px;
  font-size: 1.05rem;
}

.ejar-date-picker {
  display: grid;
  gap: 1rem;
}

.ejar-date-chooser {
  display: grid;
  justify-items: stretch;
  gap: 0.65rem;
  padding: 0.15rem 0 0.1rem;
  text-align: start;
}

.ejar-date-chooser__bar {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  width: 100%;
}

.ejar-date-chooser__hint {
  margin: 0;
  font-size: 0.95rem;
  font-weight: var(--ejar-fw-bold);
  color: var(--ejar-olive);
}

.ejar-date-radios {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.ejar-date-radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: var(--ejar-fw-semibold);
  color: var(--navy, #1e2a38);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.ejar-date-radio input {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--ejar-olive);
}

.ejar-date-chooser__change {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.2rem 0;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: var(--ejar-fw-bold);
  color: var(--ejar-olive);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.ejar-date-chooser__change:hover,
.ejar-date-chooser__change:focus-visible {
  color: #2d3d33;
}

.ejar-date-radios[hidden],
.ejar-date-chooser__change[hidden],
.ejar-date-hijri[hidden],
.ejar-date-gregorian[hidden] {
  display: none !important;
}

.ejar-date-hijri,
.ejar-date-gregorian {
  animation: ejar-date-panel-in 0.22s ease;
}

@keyframes ejar-date-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ejar-date-hijri,
  .ejar-date-gregorian {
    animation: none;
  }
}

.ejar-date-hijri {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr 1fr;
  gap: 0.55rem;
}

.ejar-date-hijri__item,
.ejar-date-gregorian {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  margin: 0;
}

.ejar-date-hijri__item span,
.ejar-date-gregorian span {
  font-size: 0.82rem;
  font-weight: var(--ejar-fw-semibold);
  color: var(--text-secondary, #5b6570);
}

.ejar-date-hijri .ejar-wizard__control,
.ejar-date-gregorian .ejar-wizard__control--date {
  padding: 0.7rem 0.55rem;
  min-height: 48px;
  font-size: 1rem;
}

.ejar-wizard__grid--compact .ejar-date-picker,
.ejar-details .ejar-date-picker {
  gap: 0.45rem;
}

.ejar-wizard__grid--compact .ejar-date-chooser,
.ejar-details .ejar-date-chooser {
  gap: 0.45rem;
  padding: 0;
}

.ejar-wizard__grid--compact .ejar-date-chooser__hint,
.ejar-details .ejar-date-chooser__hint {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ejar-wizard__grid--compact .ejar-date-chooser__bar:not(:has(.ejar-date-chooser__change:not([hidden]))),
.ejar-details .ejar-date-chooser__bar:not(:has(.ejar-date-chooser__change:not([hidden]))) {
  display: none;
}

.ejar-wizard__grid--compact .ejar-date-radios,
.ejar-details .ejar-date-radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  width: 100%;
  max-width: 28.5rem;
}

.ejar-wizard__grid--compact .ejar-date-radio,
.ejar-details .ejar-date-radio {
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--ejar-olive-border);
  border-radius: 12px;
  background: #fbfaf6;
  box-sizing: border-box;
}

.ejar-wizard__grid--compact .ejar-date-radio:has(input:checked),
.ejar-details .ejar-date-radio:has(input:checked) {
  border-color: var(--ejar-olive);
  background: var(--ejar-olive-soft);
}

.ejar-wizard__grid--compact .ejar-date-hijri .ejar-wizard__control,
.ejar-wizard__grid--compact .ejar-date-gregorian .ejar-wizard__control--date,
.ejar-details .ejar-date-hijri .ejar-wizard__control,
.ejar-details .ejar-date-gregorian .ejar-wizard__control--date,
.ejar-wizard__grid--compact > .ejar-field[data-field="deedNumber"] .ejar-wizard__control {
  min-height: 44px;
  height: 44px;
  padding: 0.55rem 0.7rem;
  box-sizing: border-box;
}

.ejar-wizard .ejar-wizard__grid--compact input.ejar-wizard__control,
.ejar-wizard .ejar-wizard__grid--compact select.ejar-wizard__control,
.ejar-wizard .ejar-details input.ejar-wizard__control,
.ejar-wizard .ejar-details select.ejar-wizard__control {
  min-height: 44px;
  height: 44px;
  padding: 0.45rem 0.7rem;
  box-sizing: border-box;
}

.ejar-wizard .ejar-wizard__grid--compact .ejar-date-radio,
.ejar-wizard .ejar-details .ejar-date-radio {
  min-height: 44px;
  height: 44px;
  box-sizing: border-box;
}

@media (max-width: 559px) {
  .ejar-date-hijri,
  .ejar-wizard__grid--compact .ejar-date-hijri,
  .ejar-details .ejar-date-hijri {
    grid-template-columns: 1fr 1fr;
  }

  .ejar-date-hijri__item:last-child,
  .ejar-wizard__grid--compact .ejar-date-hijri__item:last-child,
  .ejar-details .ejar-date-hijri__item:last-child {
    grid-column: 1 / -1;
  }
}

.ejar-date-text {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
  font-weight: var(--ejar-fw-semibold);
  line-height: 1.75;
  color: var(--text, #1e2a38);
}

.ejar-date-text--empty {
  font-weight: 500;
  color: var(--text-muted, #7a8490);
  font-size: 0.85rem;
}

.ejar-wizard__check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1rem 0 0.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  cursor: pointer;
}

.ejar-wizard__check input {
  margin-top: 0.3rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
}

.ejar-wizard__disclaimer {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted, #7a8490);
  line-height: 1.7;
}

.ejar-wizard__success {
  padding: 2.4rem 1.5rem 1.75rem;
  text-align: center;
}

.ejar-wizard__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ejar-olive-soft);
  color: var(--ejar-olive);
  font-size: 2rem;
  font-weight: 700;
}

.ejar-wizard__success h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
}

.ejar-wizard__ref {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.ejar-wizard__success p {
  line-height: 1.8;
  color: var(--text-secondary, #5b6570);
}

.ejar-wizard__deed-note {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: #fff8e8;
  border: 1px solid rgba(197, 164, 109, 0.45);
  color: var(--navy);
  font-size: 0.9rem;
}

.ejar-wizard__done {
  margin-top: 1.25rem;
  min-width: 180px;
}

@media (max-width: 767px) {
  .ejar-wizard:not([hidden]) {
    padding: 0;
    align-items: stretch;
    inset: auto;
    left: 0;
    right: 0;
    top: var(--ejar-vv-top, 0px);
    height: var(--ejar-vv-height, 100dvh);
    max-height: var(--ejar-vv-height, 100dvh);
  }

  .ejar-wizard__backdrop {
    display: none;
  }

  .ejar-wizard__panel {
    width: 100%;
    max-height: none;
    height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .ejar-wizard.has-intro:not([hidden]),
  .ejar-wizard.has-verify:not([hidden]) {
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
  }

  .ejar-wizard.has-intro .ejar-wizard__backdrop,
  .ejar-wizard.has-verify .ejar-wizard__backdrop {
    display: block;
  }

  .ejar-wizard__intro,
  .ejar-wizard__verify {
    width: min(26.5rem, 100%);
    max-height: calc(var(--ejar-vv-height, 100dvh) - 1.5rem);
    border-radius: 18px;
  }

  .ejar-wizard.has-intro .ejar-wizard__intro .ejar-wizard__close,
  .ejar-wizard.has-verify .ejar-wizard__verify .ejar-wizard__close {
    top: 0.55rem;
    left: 0.55rem;
  }

  .ejar-wizard__head {
    padding: 0.55rem 1rem 0.25rem 3.4rem;
    text-align: start;
  }

  .ejar-wizard__close {
    top: max(0.35rem, env(safe-area-inset-top, 0px));
    left: max(0.45rem, env(safe-area-inset-left, 0px));
  }

  .ejar-wizard__title-full {
    display: none;
  }

  .ejar-wizard__title-short {
    display: inline;
  }

  .ejar-wizard__head h2 {
    font-size: 1.05rem;
  }

  .ejar-wizard__kinds {
    display: none;
  }

  .ejar-wizard__stages {
    display: none;
  }

  .ejar-wizard__progress-text--desktop {
    display: none;
  }

  .ejar-wizard__progress-text--mobile {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.92rem;
    color: var(--navy, #1E2A38);
  }

  .ejar-wizard__progress {
    padding: 0.35rem 1rem 0;
  }

  .ejar-wizard__bar {
    height: 4px;
  }

  .ejar-wizard__body {
    padding: 0.85rem 1rem 0.35rem;
  }

  .ejar-wizard__nav {
    flex-shrink: 0;
    padding: 0.7rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }

  .ejar-wizard.is-keyboard .ejar-wizard__nav {
    padding-bottom: 0.7rem;
  }

  .ejar-wizard__trust {
    font-size: 0.72rem;
    margin-top: 0.3rem;
  }

  .ejar-wizard-review header {
    margin-bottom: 0;
  }

  .ejar-wizard-review:not(.is-open) dl {
    display: none;
  }

  .ejar-wizard-review.is-open {
    padding-bottom: 0.75rem;
  }

  .ejar-wizard-review.is-open header {
    margin-bottom: 0.45rem;
  }

  .ejar-wizard-review__toggle {
    cursor: pointer;
    flex: 1;
    min-height: 44px;
  }

  .ejar-wizard__next {
    flex: 1.35;
  }
}

@media (min-width: 768px) {
  .ejar-wizard-review__toggle {
    pointer-events: none;
  }

  .ejar-wizard-review dl {
    display: block;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  .ejar-wizard:not([hidden]) {
    padding: 2.5vh 1.25rem;
  }

  .ejar-wizard__panel {
    width: min(760px, 100%);
    max-height: min(90vh, 90dvh);
  }
}

@media (min-width: 1100px) {
  .ejar-wizard__panel {
    width: min(760px, 92vw);
  }

  .ejar-wizard__head,
  .ejar-wizard__body,
  .ejar-wizard__nav,
  .ejar-wizard__progress {
    padding-inline: 1.75rem;
  }

  .ejar-wizard__progress-text--desktop {
    margin-inline: 1.75rem;
  }
}

@media (max-height: 540px) and (orientation: landscape) {
  .ejar-wizard:not([hidden]) {
    padding: 0;
    align-items: stretch;
    inset: auto;
    left: 0;
    right: 0;
    top: var(--ejar-vv-top, 0px);
    height: var(--ejar-vv-height, 100dvh);
    max-height: var(--ejar-vv-height, 100dvh);
  }

  .ejar-wizard__panel {
    width: 100%;
    max-height: none;
    height: 100%;
    border-radius: 0;
  }

  .ejar-wizard__head {
    padding-top: 0.7rem;
    padding-bottom: 0.25rem;
  }

  .ejar-wizard__lead {
    display: none;
  }

  .ejar-wizard.has-intro:not([hidden]),
  .ejar-wizard.has-verify:not([hidden]) {
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
  }

  .ejar-wizard.has-intro .ejar-wizard__backdrop,
  .ejar-wizard.has-verify .ejar-wizard__backdrop {
    display: block;
  }

  .ejar-wizard__intro,
  .ejar-wizard__verify {
    width: min(34rem, 100%);
    max-height: calc(var(--ejar-vv-height, 100dvh) - 0.9rem);
  }

  .ejar-wizard__intro-scroll {
    padding-top: 2.6rem;
  }

  .ejar-wizard__intro-actions {
    padding-top: 0.55rem;
    padding-bottom: 0.65rem;
  }
}

/* ═══════════════════════════════════════
   VIP surface — جميع الشاشات
   ═══════════════════════════════════════ */
.ejar-page {
  --ejar-gold: #c5a46d;
  --ejar-gold-2: #e8d5a3;
  --ejar-navy-deep: #16202b;
  --ejar-card-shadow: 0 12px 40px rgba(22, 32, 43, 0.08);
  --ejar-card-hover-shadow: 0 18px 44px rgba(197, 164, 109, 0.18);
  background:
    radial-gradient(1200px 480px at 100% -8%, rgba(197, 164, 109, 0.16), transparent 58%),
    var(--ivory);
}

.ejar-page .ejar-ticker {
  background: linear-gradient(90deg, #16202b 0%, #1e2a38 50%, #16202b 100%);
  color: #f4ead4;
  border-bottom: 1px solid rgba(197, 164, 109, 0.45);
}

.ejar-page .ejar-ticker__seq {
  color: #f7f1e4;
}

.ejar-page .ejar-ticker__seq strong {
  color: var(--ejar-gold-2);
}

.ejar-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(920px 380px at 85% -20%, rgba(197, 164, 109, 0.28), transparent 58%),
    radial-gradient(720px 320px at -10% 110%, rgba(61, 82, 68, 0.14), transparent 52%),
    linear-gradient(180deg, #fffdf8 0%, #f6f1e6 100%);
  border-bottom: 1px solid rgba(197, 164, 109, 0.28);
  padding-block: clamp(1.45rem, 3.4vw, 3.1rem) clamp(1.7rem, 3.4vw, 2.8rem);
}

.ejar-hero::after {
  content: '';
  position: absolute;
  inset-inline: 12%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  pointer-events: none;
}

.ejar-hero__badge {
  background: linear-gradient(180deg, rgba(255, 252, 246, 0.95), rgba(197, 164, 109, 0.12));
  border-color: rgba(197, 164, 109, 0.45);
  color: var(--ejar-olive);
  box-shadow: 0 6px 18px rgba(197, 164, 109, 0.12);
}

@media (max-width: 767px) {
  .ejar-hero__badge {
    font-size: clamp(0.74rem, 3.4vw, 0.92rem);
    line-height: 1.3;
    padding: 0.38rem 0.5rem;
    width: auto;
    max-width: 100%;
    white-space: nowrap;
    text-wrap: nowrap;
  }
}

.ejar-hero__title {
  max-width: 18em;
  text-wrap: balance;
}

.ejar-hero__desc {
  max-width: 38rem;
}

.ejar-price-card--featured {
  box-shadow: 0 16px 42px rgba(197, 164, 109, 0.2);
}

.ejar-creds {
  background: linear-gradient(180deg, #f7f3ea 0%, #fbfaf6 100%);
}

.ejar-creds__label,
.ejar-section__title {
  position: relative;
}

.ejar-creds__label::after,
.ejar-section__title::after {
  content: '';
  display: block;
  width: 3.4rem;
  height: 2px;
  margin: 0.7rem auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.ejar-cred-card,
.ejar-step,
.ejar-purpose,
.ejar-faq__item,
.ejar-reviews-drop,
.ejar-proof-card,
.ejar-review-item,
.ejar-page .form-card {
  border-radius: 16px;
  border-color: rgba(197, 164, 109, 0.22);
  box-shadow: 0 10px 28px rgba(22, 32, 43, 0.06);
}

.ejar-cred-card__icon,
.ejar-proof-card__icon,
.ejar-step::before {
  background: linear-gradient(180deg, rgba(197, 164, 109, 0.18), rgba(61, 82, 68, 0.1));
  color: var(--ejar-olive);
  border: 1px solid rgba(197, 164, 109, 0.28);
}

.ejar-step::before {
  width: 2.35rem;
  height: 2.35rem;
  box-sizing: border-box;
}

.ejar-trust {
  background: linear-gradient(90deg, #16202b, #3d5244 55%, #1e2a38);
}

.ejar-cta-bar {
  background: linear-gradient(180deg, #1e2a38, #16202b);
  border-block: 1px solid rgba(197, 164, 109, 0.35);
}

.ejar-cta-bar__title {
  color: #fff;
}

.ejar-official-note {
  border-radius: 14px;
  background: rgba(197, 164, 109, 0.1);
  border-color: rgba(197, 164, 109, 0.28);
}

.ejar-footer {
  background: #f7f3ea;
}

.ejar-footer__card {
  border: 1px solid rgba(197, 164, 109, 0.28);
  box-shadow: 0 16px 40px rgba(22, 32, 43, 0.08);
}

.ejar-wizard__panel {
  border: 1px solid rgba(197, 164, 109, 0.32);
  box-shadow: 0 28px 80px rgba(22, 32, 43, 0.28);
}

.ejar-wizard__kind.is-active {
  box-shadow: inset 0 -2px 0 var(--gold);
}

@media (max-width: 767px) {
  .ejar-sticky-bar {
    background: rgba(255, 253, 248, 0.96);
    border-top: 1px solid rgba(197, 164, 109, 0.38);
    box-shadow: 0 -10px 28px rgba(22, 32, 43, 0.12);
    backdrop-filter: blur(10px);
  }

  .ejar-sticky-bar__btn--start {
    background: linear-gradient(180deg, #4a6353, #3d5244);
    border-color: #3d5244;
  }

  .ejar-hero__title {
    font-size: clamp(1.28rem, 5.4vw, 1.58rem);
  }
}

@media (min-width: 768px) {
  .ejar-page .ejar-trust.ejar-desktop-only,
  .ejar-page .ejar-cta-bar.ejar-desktop-only {
    display: block !important;
  }

  .ejar-pricing {
    max-width: 900px;
    gap: 0.95rem;
  }

  .ejar-hero__title {
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
  }

  .ejar-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .ejar-purposes {
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .ejar-hero {
    padding-block: 2.4rem 2.2rem;
  }

  .ejar-pricing {
    max-width: 1040px;
    gap: 1.2rem;
  }

  .ejar-price-card {
    padding: 1.45rem 1.2rem 1.25rem;
  }

  .ejar-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ejar-footer__card {
  border-radius: 20px;
  border: 1px solid rgba(197, 164, 109, 0.32);
  background:
    radial-gradient(720px 220px at 100% 0%, rgba(197, 164, 109, 0.14), transparent 60%),
    #fffdf8;
  box-shadow: 0 18px 48px rgba(22, 32, 43, 0.08);
}

.ejar-footer__card::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

@media (max-width: 767px) {
  .ejar-footer {
    padding-block: 1.35rem 1.6rem;
  }

  .ejar-footer__panels {
    grid-template-columns: 1fr;
  }

  .ejar-footer__panel:first-child {
    border-inline-end: none;
    border-bottom: 1px solid rgba(197, 164, 109, 0.22);
  }

  .ejar-footer__contact-btn {
    min-height: 56px;
    border-radius: 14px;
    background: #fff;
    border-color: rgba(197, 164, 109, 0.28);
  }

  .ejar-footer__contact-value {
    font-size: 0.95rem;
    font-weight: 800;
  }
}

@media (min-width: 768px) {
  .ejar-footer__contact {
    grid-template-columns: 1fr 1fr;
  }

  .ejar-footer__contact-btn--map,
  .ejar-footer__contact-btn--wa,
  .ejar-footer__contact-btn--wide {
    grid-column: 1 / -1;
  }
}
