/* Dev Dex · Ready-made websites for Dubai brokerages (layout approved 25 Oct 2026).
   Mobile-first. Logical properties throughout so the Arabic page mirrors without overrides. */
:root {
  --navy: #0B1533; --navy-2: #101D44; --ink: #0B1533; --text: #2B3247; --muted: #555D72;
  --line: #E4E7EF; --tint: #F5F7FC; --accent: #2E48F0; --accent-d: #2238C7; --accent-soft: #ECEFFE;
  --green: #1FA855; --white: #fff;
  --f-head: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --f-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --r-lg: 20px;
  --shadow: 0 1px 2px rgba(11, 21, 51, .05), 0 18px 40px -22px rgba(11, 21, 51, .28);
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body.re { margin: 0; font: 400 1rem/1.6 var(--f-body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
.re--ar { --f-head: "IBM Plex Sans Arabic", var(--f-body); --f-body: "IBM Plex Sans Arabic", Inter, system-ui, sans-serif; }
:where(.re) img { max-width: 100%; height: auto; display: block; }
:where(.re) :is(h1, h2, h3, p, ul, ol) { margin: 0; }
:where(.re) :is(ul, ol) { padding: 0; list-style: none; }
:where(.re) a { color: inherit; }
:where(.re) :is(h1, h2, h3) { font-family: var(--f-head); color: var(--ink); letter-spacing: -.02em; }
:where(.re--ar) :is(h1, h2, h3) { letter-spacing: 0; }
.re :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.re-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.re-skip:focus { top: 12px; }
.re-wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.re-i { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.re-wa { width: 1.25em; height: 1.25em; flex: none; }
.re--ar .re-flip { transform: scaleX(-1); }

/* Type helpers */
.re-kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 .72rem/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.re-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.re--ar .re-kicker { letter-spacing: 0; font-size: .85rem; }
.re-kicker--light { color: #9FB0FF; }
.re-accent { color: var(--accent); }
.re-lede { font-size: 1.06rem; color: var(--muted); margin-top: 18px; max-width: 540px; }
.re-sec { padding-block: 64px; }
.re-sec--tint { background: var(--tint); }
.re-sec--tight { padding-block: 56px 24px; }
.re-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 32px; }
.re-head__sub { color: var(--muted); margin-top: 8px; }
.re-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--accent); text-decoration: none; }
.re-link:hover { color: var(--accent-d); }

/* Buttons */
.re-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 10px; border: 1px solid transparent;
  font: 600 .98rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.re-btn--sm { min-height: 44px; padding: 0 16px; font-size: .92rem; }
.re-btn--dark { background: var(--navy); color: #fff; }
.re-btn--dark:hover { background: #18265A; }
.re-btn--primary { background: var(--accent); color: #fff; }
.re-btn--primary:hover { background: var(--accent-d); }
.re-btn--line { background: #fff; color: var(--ink); border-color: #CDD2DE; }
.re-btn--line:hover { border-color: var(--ink); }
.re-btn--line .re-wa { color: var(--green); }
.re-short { display: none; }

/* Header */
.re-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.re-header__in { display: flex; align-items: center; gap: 14px; min-height: 68px; }
.re-logo img { height: 30px; width: auto; }
.re-tag { font-size: .82rem; color: var(--muted); padding-inline-start: 14px; border-inline-start: 1px solid var(--line); white-space: nowrap; }
.re-nav { display: none; }
.re-lang { margin-inline-start: auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); }
.re-lang:hover { border-color: var(--ink); }
.re-lang:lang(ar) { font-family: "IBM Plex Sans Arabic", sans-serif; }

/* Hero */
.re-hero { position: relative; background: linear-gradient(180deg, #fff 0%, #F2F5FC 100%); overflow: hidden; }
.re-hero__in { padding-block: 48px 28px; }
.re-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); line-height: 1.08; margin-top: 16px; font-weight: 800; letter-spacing: -.03em; }
.re--ar .re-hero h1 { line-height: 1.3; letter-spacing: 0; }
.re-hero h1 .re-accent { display: inline; }
.re-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.re-ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: .9rem; color: var(--muted); }
.re-ticks li { display: flex; align-items: center; gap: 8px; }
.re-ticks .re-i { color: var(--accent); }
.re-hero__frame { position: relative; container-type: inline-size; direction: ltr; }
.re-hero__frame > img { width: 100%; height: auto; }
.re-float { position: absolute; display: flex; align-items: center; gap: 1.6cqi; padding: 1.5cqi 2cqi; border-radius: 1.6cqi; background: rgba(255, 255, 255, .97);
  box-shadow: 0 1.5cqi 4cqi -1.5cqi rgba(11, 21, 51, .28); font-size: max(9px, 1.55cqi); line-height: 1.35; color: var(--muted); }
.re-float strong { display: block; color: var(--ink); font-size: 1.15em; font-weight: 600; }
.re-float span > span, .re-float small { display: block; }
.re-float small { font-size: .9em; color: #7A8296; }
.re-float__ic { display: grid; place-items: center; flex: none; width: 3.6cqi; height: 3.6cqi; min-width: 26px; min-height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.re-float__ic .re-i { width: 55%; height: 55%; }
.re-float__ic--wa { background: #25D366; color: #fff; }
.re-float__ic--wa .re-wa { width: 62%; height: 62%; }
.re-float--enq { left: 8%; top: 6%; }
.re-float--live { left: 16%; bottom: 5%; }
@media (max-width: 599px) { .re-float { display: none; } }
.re--ar .re-float { direction: rtl; }

/* Benefit strip */
.re-strip { border-block: 1px solid var(--line); background: #FAFBFE; }
.re-strip__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-block: 22px; }
.re-strip li { display: flex; align-items: center; gap: 12px; font-size: .86rem; color: var(--muted); }
.re-strip strong { display: block; color: var(--ink); font-weight: 600; font-size: .92rem; }
.re-strip__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; }

/* Problem / solution */
.re-xlist, .re-clist { display: grid; gap: 14px; margin-top: 24px; font-size: .96rem; }
.re-xlist li, .re-clist li { display: flex; align-items: center; gap: 12px; }
.re-xlist .re-i { width: 22px; height: 22px; padding: 5px; border-radius: 50%; background: #EEF0F4; color: #6A7183; stroke-width: 2.4; }
.re-clist .re-i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; stroke-width: 2.6; }

/* Themes */
.re-themes { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.re-tcard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; }
.re-tcard img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.re-tcard__body { padding: 16px 18px 20px; flex: 1; }
.re-tcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.re-tcard h3 { font-size: 1.02rem; }
.re-tcard p { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.re-round { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin: -4px -4px -4px 0; border-radius: 50%; border: 1px solid var(--line); color: var(--accent); text-decoration: none; }
.re-round:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Features */
.re-feats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.re-feat { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: #fff; }
.re-feat__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.25rem; }
.re-feat__ic--wa { background: #E3F6EA; color: #13853F; }
.re-feat h3 { font-size: 1.05rem; margin-top: 16px; }
.re-feat p { color: var(--muted); font-size: .93rem; margin-top: 6px; }

/* Steps */
.re-steps { display: grid; gap: 24px; margin-top: 32px; }
.re-step { position: relative; display: flex; align-items: flex-start; gap: 16px; }
.re-step__n { position: absolute; top: -10px; inset-inline-start: -6px; z-index: 1; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: .8rem; font-weight: 700; color: var(--accent); }
.re-step__ic { display: grid; place-items: center; flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.6rem; }
.re-step h3 { font-size: 1.05rem; }
.re-step p { color: var(--muted); font-size: .93rem; margin-top: 4px; }

/* Pricing */
.re-bill { display: inline-flex; padding: 4px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.re-bill button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: transparent; font: 600 .9rem var(--f-body); color: var(--ink); cursor: pointer; }
.re-bill button span { font-weight: 500; color: var(--muted); margin-inline-start: 6px; font-size: .8rem; }
.re-bill button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.re-bill button[aria-pressed="true"] span { color: #DDE3FF; }
.re-pricing { display: grid; gap: 20px; }
.re-plans { display: grid; gap: 20px; }
.re-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px 24px; }
.re-plan--pop { border: 2px solid var(--accent); box-shadow: 0 24px 50px -28px rgba(46, 72, 240, .5); }
.re-plan__badge { position: absolute; top: -13px; inset-inline-end: 20px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .76rem; font-weight: 700; }
.re-plan h3 { font-size: 1.15rem; }
.re-plan__for { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.re-plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 18px; }
.re-plan__price strong { font-family: var(--f-head); font-size: 2.2rem; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.re-plan__cur { font-weight: 700; color: var(--ink); }
.re-plan__per { color: var(--muted); font-size: .9rem; }
.re-plan ul { display: grid; gap: 10px; margin: 22px 0 24px; font-size: .92rem; }
.re-plan li { display: flex; align-items: flex-start; gap: 10px; }
.re-plan li .re-i { color: var(--green); margin-top: 3px; stroke-width: 2.4; }
.re-plan .re-btn { margin-top: auto; width: 100%; white-space: normal; text-align: center; padding-block: 10px; }
.re-assure { position: relative; min-height: 280px; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center; padding: 22px; }
.re-assure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.re-assure ul { position: relative; display: grid; gap: 12px; width: 100%; max-width: 280px; padding: 18px; border-radius: var(--r); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow); font-size: .9rem; font-weight: 500; color: var(--ink); }
.re-assure li { display: flex; align-items: center; gap: 10px; }
.re-assure .re-i { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }

/* FAQ */
.re-faq { display: grid; gap: 28px; }
.re-faq__more { margin-top: 24px; padding: 20px; border-radius: var(--r); background: var(--tint); }
.re-faq__more strong { display: block; color: var(--ink); }
.re-faq__more a { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-weight: 600; text-underline-offset: 4px; }
.re-faq__more .re-wa { color: var(--green); }
.re-faq__list { border-top: 1px solid var(--line); }
.re-faq__item { border-bottom: 1px solid var(--line); }
.re-faq__item summary { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font: 700 1.02rem/1.4 var(--f-head); color: var(--ink); }
.re-faq__item summary::-webkit-details-marker { display: none; }
.re-faq__plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); }
.re-faq__plus::before, .re-faq__plus::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 2px; background: var(--ink); border-radius: 2px; }
.re-faq__plus::after { transform: rotate(90deg); transition: transform .2s; }
.re-faq__item[open] .re-faq__plus::after { transform: rotate(0); }
.re-faq__item p { padding-bottom: 20px; color: var(--muted); max-width: 640px; }

/* Final call to action */
.re-final { padding-block: 16px 64px; }
.re-final__panel { position: relative; display: grid; gap: 24px; padding: 32px 20px; border-radius: var(--r-lg); background: var(--navy); color: #fff; overflow: hidden; }
.re-final__img { position: absolute; z-index: 0; inset-block: 0; inset-inline-end: 0; width: 62%; height: 100%; object-fit: cover; object-position: 70% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 30%, #000 70%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.35) 30%, #000 70%); }
.re--ar .re-final__img { -webkit-mask-image: linear-gradient(270deg, transparent 0, rgba(0,0,0,.35) 30%, #000 70%); mask-image: linear-gradient(270deg, transparent 0, rgba(0,0,0,.35) 30%, #000 70%); }
.re-final__copy, .re-form { position: relative; z-index: 1; }
.re-final h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.15; margin-top: 12px; }
.re-form { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.re-final__copy > p { color: #C9D1E6; margin-top: 12px; max-width: 480px; }
.re-final__wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; color: #fff; text-underline-offset: 5px; }
.re-final__wa .re-wa { color: #4ADE80; }
.re-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px; border-radius: var(--r); background: #fff; color: var(--text); }
.re-field { display: grid; gap: 6px; }
.re-field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.re-field input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid #C5CBD8; border-radius: 10px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.re-field input::placeholder { color: #6E7689; }
.re-field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.re--ar .re-field input[dir="ltr"] { text-align: right; }
.was-validated .re-field input:invalid { border-color: #C0362C; }
.re-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.re-form .re-btn { width: 100%; margin-top: 4px; }
.re-form__status:empty { display: none; }
.re-form__status { padding: 12px 14px; border-radius: 10px; font-size: .92rem; font-weight: 600; }
.re-form__status.is-ok { background: #E6F6EC; color: #0F5A2D; }
.re-form__status.is-error { background: #FDECEA; color: #8F2219; }
.re-form__priv { font-size: .8rem; color: var(--muted); }
.re-form__priv a { color: var(--ink); }

/* Footer */
.re-footer { background: var(--navy); color: #B9C2DA; font-size: .9rem; padding-block: 44px 88px; }
.re-footer__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.re-footer__brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.re-footer__brand p { flex-basis: 100%; max-width: 420px; }
.re-logo--light img { height: 30px; }
.re-tag--light { color: #B9C2DA; border-color: rgba(255, 255, 255, .2); }
.re-footer h2 { font: 600 .92rem var(--f-head); color: #fff; margin-bottom: 12px; }
.re-footer li + li { margin-top: 8px; }
.re-footer a { text-decoration: none; }
.re-footer a:hover { color: #fff; text-decoration: underline; }
.re-footer__end { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.re-lang--light { margin-inline-start: 0; color: #fff; border-color: rgba(255, 255, 255, .3); }
.re-lang--light:hover { border-color: #fff; }
.re-footer__mail { color: #fff; }

/* Floating WhatsApp */
.re-fab { position: fixed; bottom: 16px; inset-inline-end: 16px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1FA855; color: #fff; box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4); }
.re-fab:hover { background: #17914A; }
.re-fab .re-wa { width: 30px; height: 30px; }

/* ---------- Larger screens ---------- */
@media (min-width: 600px) {
  .re-wrap { padding-inline: 28px; }
  .re-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .re-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 26px; }
  .re-field--full, .re-form .re-btn, .re-form__status, .re-form__priv { grid-column: 1 / -1; }
  .re-footer__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .re-strip__in { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .re-strip li + li { border-inline-start: 1px solid var(--line); padding-inline-start: 16px; }
  .re-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .re-step:not(:last-child)::after { content: ""; position: absolute; top: 32px; inset-inline-end: -14px; width: 10px; height: 10px; border-top: 1.5px solid #B7BED0; border-right: 1.5px solid #B7BED0; transform: rotate(45deg); }
  .re--ar .re-step:not(:last-child)::after { transform: rotate(-135deg); }
  .re-plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .re-faq { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 56px; }
  .re-sec { padding-block: 80px; }
}
@media (min-width: 900px) {
  .re-nav { display: flex; gap: 26px; margin-inline-start: auto; }
  .re-nav a { font-size: .92rem; font-weight: 500; color: var(--ink); text-decoration: none; }
  .re-nav a:hover { color: var(--accent); }
  .re-lang { margin-inline-start: 8px; }
  .re-feats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .re-final__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: center; gap: 56px; padding: 56px; }
  .re-footer__in { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .re-footer__brand { grid-column: auto; align-content: flex-start; }
  .re-footer { padding-bottom: 44px; }
}
@media (min-width: 1000px) {
  .re-hero__in { padding-block: 72px 88px; }
  .re-hero__copy { max-width: 44%; }
  .re-hero__art { position: absolute; inset-block: 0; inset-inline-end: 0; width: 55%; display: flex; align-items: center; }
  .re-hero__frame { width: 100%; }
  .re-hero__frame > img { --fx: linear-gradient(90deg, transparent 0, #000 7%); --fy: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: var(--fx), var(--fy); -webkit-mask-composite: source-in; mask-image: var(--fx), var(--fy); mask-composite: intersect; }
  .re--ar .re-hero__frame > img { --fx: linear-gradient(270deg, transparent 0, #000 7%); }
  .re-themes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .re-pricing { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
}
@media (max-width: 999px) {
  .re-hero__art { padding: 0 0 8px; }
  .re-hero__frame { max-width: 760px; margin-inline: auto; }
}
@media (max-width: 520px) {
  .re-tag { display: none; }
  .re-long { display: none; }
  .re-short { display: inline; }
  .re-ctas .re-btn { width: 100%; }
  .re-plan__price strong { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .re * { transition: none !important; } }
@media (max-width: 899px) { .re-final__img { display: none; } }

/* ---------- Problem | solution: one continuous band ---------- */
.re-ps h2 { font-size: clamp(1.7rem, 3.2vw, 2.25rem); line-height: 1.15; margin-top: 12px; }
.re-ps__prob { padding: 56px 20px 40px; }
.re-ps__sub { color: var(--muted); margin-top: 14px; }
.re-xlist { display: grid; gap: 14px; margin-top: 24px; }
.re-xlist li { display: flex; align-items: center; gap: 12px; color: var(--text); }
.re-xlist .re-i { width: 24px; height: 24px; padding: 6px; border-radius: 50%; background: #EEF0F4; color: #6A7183; stroke-width: 2.4; }
.re-ps__sol { position: relative; overflow: hidden; background: #0D1838; color: #fff; }
.re-ps__img { display: block; width: 100%; height: 230px; object-fit: cover; object-position: 88% center; }
.re-ps__copy { padding: 32px 20px 40px; }
.re-ps__sol h2 { color: #fff; }
.re-ps__sol .re-ps__sub { color: #D3DAEC; }
.re-clist { display: grid; gap: 14px; margin-top: 24px; color: #E9EDF7; }
.re-clist li { display: flex; align-items: center; gap: 12px; }
.re-clist .re-i { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: #22C55E; color: #fff; stroke-width: 2.8; }
.re-ps__fade, .re-ps__rail, .re-ps__note { display: none; }
@media (min-width: 700px) and (max-width: 1199px) {
  .re-ps__prob { max-width: 760px; margin-inline: auto; padding: 72px 28px 48px; }
  .re-ps__img { height: 300px; }
  .re-ps__copy { max-width: 760px; margin-inline: auto; padding: 40px 28px 56px; }
}
@media (min-width: 1200px) {
  .re-ps { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); align-items: stretch;
    min-height: 470px; padding-inline: max(28px, calc((100vw - 1200px) / 2 + 28px)); background: linear-gradient(90deg, #FBFCFE, #F5F7FC 40%); }
  .re-ps__prob { align-self: center; padding: 64px 190px 64px 0; }
  .re--ar .re-ps__prob { padding: 64px 0 64px 190px; }
  .re-ps__sub { max-width: 46ch; }
  .re-ps__sol { position: relative; overflow: visible; background: none; display: flex; align-items: center; padding: 64px 0 64px 76px; }
  .re--ar .re-ps__sol { padding: 64px 76px 64px 0; }
  .re-ps__img { position: absolute; z-index: -2; inset-block: 0; inset-inline-start: -170px; width: calc(100% + 170px + max(28px, calc((100vw - 1200px) / 2 + 28px))); max-width: none; height: 100%; object-fit: cover; object-position: 30% center; }
  .re--ar .re-ps__img { transform: scaleX(-1); }
  .re-ps__fade { display: block; position: absolute; z-index: -1; inset-block: 0; inset-inline-start: -171px; width: 172px;
    background: linear-gradient(90deg, #F5F7FC 0%, rgba(236, 240, 252, .9) 18%, rgba(160, 174, 230, .6) 50%, rgba(56, 72, 150, .25) 80%, rgba(13, 24, 56, 0) 100%); }
  .re--ar .re-ps__fade { background: linear-gradient(270deg, #F5F7FC 0%, rgba(236, 240, 252, .9) 18%, rgba(160, 174, 230, .6) 50%, rgba(56, 72, 150, .25) 80%, rgba(13, 24, 56, 0) 100%); }
  .re-ps__copy { padding: 0; max-width: 420px; }
  .re-ps__sol h2 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); max-width: 9.2em; }
  .re-ps__sol .re-ps__sub { max-width: 37ch; }
  .re--ar .re-ps__sol h2 { max-width: none; }
  .re-ps__rail { display: block; position: absolute; top: 12%; bottom: 12%; inset-inline-start: -15px; width: 30px; }
  .re-ps__rail > svg { display: block; width: 100%; height: 100%; fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1.5; }
  .re--ar .re-ps__rail > svg { transform: scaleX(-1); }
  .re-ps__arrow { position: absolute; top: 50%; left: 15px; display: grid; place-items: center; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--accent); box-shadow: 0 12px 30px -8px rgba(11, 21, 51, .45); font-size: 1.35rem; }
  .re--ar .re-ps__arrow { left: auto; right: 15px; transform: translate(50%, -50%); }
  .re-ps__note { display: block; position: absolute; top: 11%; inset-inline-end: calc(40px - max(28px, calc((100vw - 1200px) / 2 + 28px))); transform: rotate(-11deg); font: 500 clamp(1.4rem, 1.9vw, 1.8rem)/1.1 Caveat, "Segoe Print", cursive; color: #fff; }
  .re-ps__note span { display: block; }
  .re-ps__note span + span { padding-inline-start: .8em; }
  .re-ps__note svg { display: block; width: 2.4em; height: 1.3em; margin: .2em 0 0 .1em; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .re--ar .re-ps__note { transform: rotate(9deg); font: 400 clamp(1.2rem, 1.6vw, 1.5rem)/1.4 "Aref Ruqaa", serif; }
  .re--ar .re-ps__note svg { transform: scaleX(-1); margin: .1em .1em 0 0; }
}
@media (max-width: 599px) {
  .re-themes { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -20px; padding: 4px 20px 18px; scrollbar-width: none; }
  .re-themes::-webkit-scrollbar { display: none; }
  .re-tcard { flex: 0 0 78%; scroll-snap-align: start; }
}

/* =====================================================================
   Template fidelity pass (26 Oct 2026): tighter rhythm, compact cards,
   hero image shown whole, single-row footer. Overrides the rules above.
   ===================================================================== */
.re-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.re-sec h2, .re-ps h2, .re-final h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); line-height: 1.18; margin-top: 10px; }
.re-head { margin-bottom: 24px; }
.re-head__sub { font-size: .95rem; }

/* Hero: image shown at its natural shape, never cropped */
.re-btn { min-height: 46px; padding: 0 18px; font-size: .93rem; }
.re-btn--sm { min-height: 40px; font-size: .88rem; }

/* Problem | solution */
.re-ps h2 { font-size: clamp(1.55rem, 2.3vw, 2.05rem); }
.re-xlist, .re-clist { gap: 11px; margin-top: 20px; font-size: .93rem; }
.re-ps__sub { font-size: .95rem; }

/* Themes */
.re-tcard__body { padding: 12px 14px 14px; }
.re-tcard h3 { font-size: .95rem; }
.re-tcard p { font-size: .8rem; line-height: 1.45; }
.re-round { width: 30px; height: 30px; }

/* Features */
.re-feat { padding: 18px; }
.re-feat__ic { width: 40px; height: 40px; font-size: 1.1rem; }
.re-feat h3 { font-size: .95rem; margin-top: 12px; }
.re-feat p { font-size: .84rem; line-height: 1.5; margin-top: 4px; }

/* Steps */
.re-steps { margin-top: 24px; }
.re-step__ic { width: 56px; height: 56px; font-size: 1.4rem; }
.re-step h3 { font-size: .98rem; }
.re-step p { font-size: .86rem; line-height: 1.5; }

/* Pricing */
.re-plan { padding: 22px 20px 20px; border-radius: 16px; }
.re-plan h3 { font-size: 1.05rem; }
.re-plan__for { font-size: .84rem; }
.re-plan__price { margin-top: 14px; }
.re-plan__price strong { font-size: 1.9rem; }
.re-plan ul { gap: 8px; margin: 16px 0 20px; font-size: .88rem; }
.re-plan .re-btn { min-height: 42px; font-size: .86rem; padding-inline: 12px; white-space: nowrap; }
.re-assure { min-height: 240px; border-radius: 16px; padding: 18px; align-items: flex-end; }
.re-assure ul { max-width: 230px; gap: 10px; padding: 14px; font-size: .84rem; }
.re-assure .re-i { width: 24px; height: 24px; padding: 5px; }

/* FAQ */
.re-faq__item summary { padding: 15px 0; font-size: .96rem; }
.re-faq__item p { padding-bottom: 15px; font-size: .93rem; }
.re-faq__more { margin-top: 18px; padding: 16px; }

/* Final call to action */
.re-final { padding-block: 8px 56px; }
.re-final__panel { gap: 22px; }
.re-final__copy > p:not(.re-kicker) { font-size: .98rem; }
.re-form { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; }
.re-field input { min-height: 44px; font-size: .95rem; }
.re-form .re-btn { margin-top: 2px; min-height: 46px; }
.re-form__priv { font-size: .74rem; line-height: 1.45; }

/* Footer */
.re-footer { padding-block: 36px 84px; font-size: .86rem; }
.re-footer h2 { font-size: .86rem; margin-bottom: 10px; }
.re-footer li + li { margin-top: 6px; }

@media (min-width: 600px) {
  .re-form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}
@media (min-width: 760px) {
  .re-sec { padding-block: 56px; }
  .re-sec--tight { padding-block: 48px 16px; }
  .re-faq { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 48px; }
}
@media (min-width: 900px) {
  .re-footer { padding-block: 40px; }
  .re-footer__in { grid-template-columns: 1.4fr .7fr .7fr .7fr 1.6fr; align-items: start; gap: 24px; }
  .re-footer__brand { grid-column: auto; }
  .re-footer__end { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 10px; padding-top: 0; border-top: 0; text-align: end; }
  .re-final__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 310px) minmax(0, 15%); gap: 36px; padding: 36px 44px; }
  .re-final__img { width: 40%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 45%); mask-image: linear-gradient(90deg, transparent 0, #000 45%); }
  .re--ar .re-final__img { -webkit-mask-image: linear-gradient(270deg, transparent 0, #000 45%); mask-image: linear-gradient(270deg, transparent 0, #000 45%); }
  .re-final h2 { font-size: clamp(1.6rem, 2.3vw, 2.05rem); }
}
@media (min-width: 1000px) {
  .re-hero { min-height: calc(58vw * 941 / 1672); display: flex; align-items: center; }
  .re-hero__in { padding-block: 48px 56px; }
  .re-hero__copy { max-width: 540px; position: relative; z-index: 1; }
  .re-hero h1 { font-size: clamp(2.2rem, 3.05vw, 2.8rem); line-height: 1.1; }
  .re-lede { font-size: .98rem; max-width: 470px; }
  .re-ctas { flex-wrap: nowrap; }
  .re-hero__art { position: absolute; top: 0; bottom: auto; inset-inline-end: 0; width: 58%; display: block; }
  .re-hero__frame { width: 100%; }
  .re-hero__frame > img { width: 100%; height: auto; --fx: linear-gradient(90deg, transparent 0, #000 18%); --fy: linear-gradient(180deg, #000 85%, transparent 100%); }
  .re--ar .re-hero__frame > img { --fx: linear-gradient(270deg, transparent 0, #000 18%); }
}
@media (min-width: 1100px) {
  .re-feats { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
}
@media (min-width: 1200px) {
  .re-ps { min-height: 0; }
  .re-ps__prob { padding: 36px 150px 36px 0; }
  .re--ar .re-ps__prob { padding: 36px 0 36px 150px; }
  .re-ps__sol { padding: 36px 0 36px 70px; }
  .re--ar .re-ps__sol { padding: 36px 70px 36px 0; }
  .re-ps__img { object-position: 100% center; }
  .re-ps__copy { max-width: 430px; }
  .re-ps__sol h2 { font-size: clamp(1.55rem, 2.3vw, 2.05rem); max-width: 9.6em; }
  .re-ps__sol .re-ps__sub { max-width: 40ch; }
  .re-ps__arrow { width: 46px; height: 46px; font-size: 1.15rem; }
}
@media (min-width: 1200px) { .re-ps__prob .re-line { display: block; } }
@media (max-width: 599px) {
  .re-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .re-feat { padding: 14px; }
}
@media (min-width: 1200px) {
  .re-ps__img { inset-inline-start: -260px; width: calc(100% + 260px + max(28px, calc((100vw - 1200px) / 2 + 28px))); object-position: 100% center; }
  .re-ps__fade { inset-inline-start: -261px; width: 262px;
    background: linear-gradient(90deg, #F5F7FC 0%, #F5F7FC 34%, rgba(236, 240, 252, .9) 46%, rgba(160, 174, 230, .6) 67%, rgba(56, 72, 150, .25) 87%, rgba(13, 24, 56, 0) 100%); }
  .re--ar .re-ps__fade { background: linear-gradient(270deg, #F5F7FC 0%, #F5F7FC 34%, rgba(236, 240, 252, .9) 46%, rgba(160, 174, 230, .6) 67%, rgba(56, 72, 150, .25) 87%, rgba(13, 24, 56, 0) 100%); }
}
