/* =========================================================
   Emotional Boundaries Diagnostic Quiz — style.css
   Mobile-first, RTL. Palette is fixed by the client.
   ========================================================= */

:root {
  --sage: #99B4AA;
  --olive: #6B6D43;
  --khaki: #ABA66F;
  --terra: #CF7D65;
  --peach: #E1B8A2;
  --cream: #F2DEC7;

  /* derived tints/shades of the palette (readable text + soft backgrounds) */
  --paper: #FBF6EE;
  --ink: #2F3120;
  --ink-soft: #4E5033;
  --line: rgba(107, 109, 67, .28);

  --radius: 18px;
  --shadow: 0 12px 32px rgba(47, 49, 32, .10);
  --maxw: 1120px;
  --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.95;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }

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

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

h1, h2, h3 { line-height: 1.5; font-weight: 800; letter-spacing: 0; }
h1 { font-size: clamp(1.75rem, 5.6vw, 3rem); }
h2 { font-size: clamp(1.45rem, 4.2vw, 2.15rem); }
h3 { font-size: clamp(1.15rem, 3vw, 1.4rem); }
p + p { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 54px; padding: .5rem 2rem;
  background: var(--terra); color: var(--ink);
  border: 0; border-radius: 999px; cursor: pointer;
  font-weight: 800; font-size: 1.1rem; text-decoration: none;
  box-shadow: 0 8px 20px rgba(207, 125, 101, .35);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(207, 125, 101, .42); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent; box-shadow: none; border: 2px solid var(--olive); color: var(--olive);
}
.btn--ghost:hover { background: rgba(107, 109, 67, .08); box-shadow: none; }

.price {
  display: inline-flex; align-items: baseline; gap: .35rem;
  font-weight: 800; color: var(--olive);
}
.price b { font-size: 2.4rem; line-height: 1; direction: ltr; }

/* ---------- Header ---------- */
.site-header { padding: 18px 0; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.brand { font-weight: 800; font-size: 1.15rem; color: var(--olive); text-decoration: none; }

/* ---------- Hero / landing ---------- */
.hero { position: relative; overflow: hidden; padding: 12px 0 64px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.hero::before { width: 380px; height: 380px; background: var(--sage); opacity: .45; top: -120px; left: -140px; }
.hero::after { width: 300px; height: 300px; border: 3px solid var(--terra); opacity: .5; bottom: -110px; right: -90px; }
.hero .container { position: relative; z-index: 1; display: grid; gap: 34px; }

.hero__text h1 { color: var(--ink); max-width: 24ch; }
.hero__text h1::after {
  content: ""; display: block; width: 84px; height: 5px; border-radius: 4px;
  background: var(--terra); margin-top: 18px;
}
.hero__text p { color: var(--ink-soft); max-width: 60ch; margin-top: 1.1rem; }
.hero__text .hero__lead { font-weight: 700; color: var(--ink); }

/* start card (email + relationship) */
.start-card {
  background: #fff; border-radius: 24px; padding: 26px 22px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.start-card h2 { font-size: 1.3rem; margin-bottom: 4px; }
.start-card .muted { font-size: .95rem; color: var(--ink-soft); line-height: 1.8; }

.field { margin-top: 20px; }
.field > label, .field > legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.input {
  width: 100%; min-height: 54px; padding: .5rem 1rem;
  border: 2px solid var(--line); border-radius: 14px; background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(153, 180, 170, .5); }
.input[dir="ltr"] { text-align: left; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 46px; padding: .2rem 1.1rem;
  border: 2px solid var(--line); border-radius: 999px; background: var(--paper);
  font-weight: 600; transition: background .15s, border-color .15s;
}
.chip:hover span { border-color: var(--olive); }
.chip input:checked + span { background: var(--sage); border-color: var(--olive); font-weight: 800; }
.chip input:focus-visible + span { outline: 3px solid var(--olive); outline-offset: 3px; }

.form-error { min-height: 1.6em; margin-top: 12px; color: #9a3b24; font-weight: 700; font-size: .95rem; }
.start-card .btn { margin-top: 6px; }
.start-card__price { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.start-card__note { margin-top: 14px; font-size: .88rem; color: var(--ink-soft); line-height: 1.8; }

/* ---------- Content sections ---------- */
.section { padding: 64px 0; }
.section--sage { background: var(--sage); }
.section--cream { background: var(--cream); }
.section--peach { background: var(--peach); }
.section .narrow { max-width: 720px; }
.section h2 { margin-bottom: 1.2rem; }
.section__cta { margin-top: 2rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 14px; }
.check-list li {
  position: relative; padding: 16px 52px 16px 18px;
  background: rgba(255, 255, 255, .72); border-radius: 14px; font-weight: 600;
}
.check-list li::before {
  content: ""; position: absolute; right: 18px; top: 24px;
  width: 16px; height: 16px; border-radius: 50%; background: var(--terra);
}

/* about */
.about { display: grid; gap: 28px; align-items: center; }
.portrait {
  width: 190px; height: 190px; border-radius: 50%; overflow: hidden; margin-inline: auto;
  background: var(--cream); border: 6px solid var(--paper); box-shadow: var(--shadow);
  display: grid; place-items: center; font-size: 3.4rem; font-weight: 800; color: var(--olive);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about__name { font-weight: 800; margin-top: 1.4rem; font-size: 1.2rem; }
.about__role { color: var(--ink-soft); }

.site-footer { padding: 28px 0; text-align: center; font-size: .92rem; color: var(--ink-soft); }

/* ---------- Checkout ---------- */
.page-center { min-height: 100svh; display: flex; flex-direction: column; }
.page-center main { flex: 1; display: grid; place-items: center; padding: 20px 0 48px; }
.checkout {
  width: min(100% - 32px, 520px); background: #fff; border-radius: 24px;
  padding: 30px 24px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.checkout h1 { font-size: 1.6rem; }
.summary { margin-top: 20px; border-top: 1px solid var(--line); }
.summary__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.summary__row span:first-child { color: var(--ink-soft); }
.summary__row span:last-child { font-weight: 700; text-align: left; word-break: break-all; }
.summary__row--total span { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.demo-badge {
  display: inline-block; margin-top: 18px; padding: 6px 14px; border-radius: 999px;
  background: var(--cream); color: var(--ink-soft); font-size: .88rem; font-weight: 700;
}
.checkout .btn { margin-top: 22px; }
.checkout .back-link { display: block; text-align: center; margin-top: 16px; color: var(--olive); font-weight: 700; }

/* ---------- Quiz ---------- */
.quiz-page { min-height: 100svh; display: flex; flex-direction: column; background: var(--cream); }
.quiz-top { padding: 18px 0 8px; }
.quiz-main { flex: 1; display: flex; align-items: flex-start; padding: 12px 0 40px; }
.quiz-wrap { width: min(100% - 32px, 720px); margin-inline: auto; }

.q-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.q-count { font-weight: 800; color: var(--olive); white-space: nowrap; }
.progress { flex: 1; height: 10px; background: rgba(107, 109, 67, .18); border-radius: 999px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--terra); border-radius: 999px; transition: width .5s ease; }

.q-card {
  margin-top: 18px; background: #fff; border-radius: 24px; padding: 26px 20px 24px;
  box-shadow: var(--shadow);
}
.q-text { font-size: clamp(1.2rem, 3.6vw, 1.55rem); line-height: 1.8; font-weight: 800; margin-bottom: 22px; }

.options { display: grid; gap: 12px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.option__body {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-height: 64px;
  border: 2px solid var(--line); border-radius: 16px; background: var(--paper);
  transition: background .18s, border-color .18s, transform .18s;
  line-height: 1.8;
}
.option:hover .option__body { border-color: var(--olive); }
.option__mark {
  flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--olive);
  display: grid; place-items: center; background: #fff;
}
.option__mark::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--terra); transform: scale(0); transition: transform .18s; }
.option input:checked + .option__body { background: var(--sage); border-color: var(--olive); font-weight: 700; }
.option input:checked + .option__body .option__mark::after { transform: scale(1); }
.option input:focus-visible + .option__body { outline: 3px solid var(--olive); outline-offset: 3px; }

.q-nav { display: flex; gap: 12px; margin-top: 22px; }
.q-nav .btn { flex: 1; }
.q-nav .btn--ghost { flex: 0 0 auto; padding-inline: 1.4rem; }

/* intro card */
.intro-card h1 { font-size: 1.6rem; margin-bottom: 14px; }
.intro-card p { color: var(--ink-soft); }
.intro-card .rel {
  margin: 18px 0; padding: 12px 16px; background: var(--cream); border-radius: 12px; font-weight: 700; color: var(--ink);
}
.intro-card .note {
  margin-top: 18px; padding-inline-start: 14px; border-inline-start: 4px solid var(--terra);
  font-weight: 700; color: var(--ink);
}
.intro-card .btn { margin-top: 24px; }

/* question transitions */
.q-card.enter-forward { animation: slideInForward .38s ease both; }
.q-card.enter-back { animation: slideInBack .38s ease both; }
.q-card.leave { opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease; }
@keyframes slideInForward { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes slideInBack { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }

/* ---------- Result ---------- */
.result-hero { padding: 34px 0 52px; background: var(--peach); }
.result-hero[data-pattern="motamassika"] { background: var(--peach); }
.result-hero[data-pattern="modahhiya"] { background: var(--sage); }
.result-hero[data-pattern="mokabbala"] { background: var(--khaki); }
.result-hero .container { max-width: 820px; }
.result-label {
  display: inline-block; padding: 6px 18px; border-radius: 999px; background: var(--paper);
  font-weight: 800; color: var(--olive); margin-bottom: 18px;
}
.result-hero h1 { font-size: clamp(1.55rem, 5vw, 2.4rem); }

.result-body { padding: 42px 0 20px; }
.result-body .container { max-width: 760px; }
.r-section { margin-top: 44px; }
.r-section:first-child { margin-top: 0; }
.r-section h2 { font-size: clamp(1.3rem, 3.8vw, 1.7rem); margin-bottom: 14px; color: var(--olive); }
.r-section p { color: var(--ink-soft); }
.r-section p.strong { color: var(--ink); font-weight: 700; }
.r-lines { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: 8px; }
.r-lines li { padding: 10px 16px; background: #fff; border-radius: 12px; border-inline-start: 4px solid var(--sage); color: var(--ink); font-weight: 600; }
.r-quote {
  margin: 1.4rem 0; padding: 18px 20px; background: var(--cream); border-radius: 14px;
  border-inline-start: 5px solid var(--terra); font-weight: 800; font-size: 1.12rem; color: var(--ink); line-height: 1.9;
}
.r-secondary { margin-top: 44px; padding: 18px 20px; border: 2px dashed var(--khaki); border-radius: 16px; }
.r-secondary p { color: var(--ink); }
.r-disclaimer { margin-top: 44px; padding: 16px 0; border-top: 1px solid var(--line); font-size: .95rem; color: var(--ink-soft); }
.result-actions { margin: 10px 0 40px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Tablet & up ---------- */
@media (min-width: 720px) {
  body { font-size: 18px; }
  .hero { padding: 24px 0 90px; }
  .section { padding: 90px 0; }
  .q-card { padding: 38px 36px 34px; }
  .checkout { padding: 40px 38px; }
  .about { grid-template-columns: 220px 1fr; gap: 48px; }
  .about .portrait { width: 220px; height: 220px; margin: 0; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
  .hero .container { grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
  .start-card { padding: 34px 30px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}



/* =========================================================
   Result page v2 — بطاقة النتيجة، الأقسام، قسم الحجز
   ========================================================= */
.res-wrap { width: min(100% - 36px, 820px); margin-inline: auto; }

/* ---------- Hero ---------- */
.res-hero {
  --ring: var(--terra);
  position: relative; overflow: hidden; padding: 34px 0 80px;
  background: var(--peach); border-radius: 0 0 44px 44px;
}
.res-hero[data-pattern="modahhiya"] { background: var(--sage); --ring: var(--olive); }
.res-hero[data-pattern="mokabbala"] { background: var(--khaki); --ring: var(--cream); }

.res-hero__art span { position: absolute; border-radius: 50%; pointer-events: none; }
.res-hero__art span:nth-child(1) { width: 230px; height: 230px; left: -80px; bottom: -80px; border: 3px solid var(--ring); opacity: .55; }
.res-hero__art span:nth-child(2) { width: 370px; height: 370px; left: -150px; bottom: -150px; border: 3px solid var(--ring); opacity: .35; }
.res-hero__art span:nth-child(3) { width: 78px; height: 78px; left: 11%; top: 34px; background: var(--ring); opacity: .85; }

.res-hero__inner { position: relative; z-index: 1; }
.res-kicker {
  display: inline-block; padding: 6px 22px; border-radius: 999px;
  background: var(--paper); color: var(--olive); font-weight: 800; font-size: 1.05rem;
}
.res-name {
  margin-top: 20px; font-size: clamp(3.6rem, 16vw, 7.4rem); line-height: 1.2;
  font-weight: 800; color: var(--ink);
}
.res-name::after {
  content: ""; display: block; width: 120px; height: 8px; border-radius: 6px;
  background: var(--ring); margin-top: 8px;
}
.res-hero[data-pattern="mokabbala"] .res-name::after { background: var(--ink); }
.res-headline {
  margin-top: 26px; max-width: 34ch; font-weight: 700; color: var(--ink);
  font-size: clamp(1.3rem, 4.4vw, 2.05rem); line-height: 1.75;
}

/* ---------- Main ---------- */
.res-main { padding: 46px 0 30px; font-size: 1.15rem; }
.res-main p { color: var(--ink-soft); line-height: 2.1; }
.res-main p + p { margin-top: 1.1rem; }
.res-strong { color: var(--ink) !important; font-weight: 800; }

.res-intro > p:first-child { font-size: 1.3em; font-weight: 700; color: var(--ink); line-height: 1.95; }

.res-quote {
  margin: 1.6rem 0; padding: 22px 24px; background: var(--cream); border-radius: 20px;
  border-inline-start: 7px solid var(--terra); font-weight: 800; color: var(--ink);
  font-size: clamp(1.3rem, 4.2vw, 1.85rem); line-height: 1.85;
}
.res-lines { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; gap: 10px; }
.res-lines li {
  padding: 12px 18px; background: var(--paper); border-radius: 14px;
  border-inline-start: 5px solid var(--sage); font-weight: 700; color: var(--ink);
}

/* ---------- Cards ---------- */
.res-card {
  position: relative; margin-top: 30px; padding: 34px 22px 26px; background: #fff;
  border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.res-card h2 { font-size: clamp(1.5rem, 4.6vw, 2.1rem); color: var(--olive); margin: 6px 0 16px; }
.res-num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--sage); color: var(--ink); font-weight: 800; font-size: 1.5rem; line-height: 1;
}

.res-card--step { background: var(--ink-soft); border-color: transparent; color: var(--cream); }
.res-card--step .res-num { background: var(--terra); }
.res-main .res-card--step h2 { color: var(--peach); }
.res-main .res-card--step p { color: var(--cream); }
.res-main .res-card--step .res-quote { background: rgba(255, 255, 255, .12); color: var(--paper); }
.res-main .res-card--step .res-lines li { background: rgba(255, 255, 255, .1); color: var(--cream); border-inline-start-color: var(--peach); }

.res-card--change { background: var(--cream); border-color: transparent; }
.res-card--change .res-quote { background: #fff; }
.res-card--change .res-num { background: var(--khaki); }

/* ---------- نمط ثانٍ + جملة ثابتة ---------- */
.res-second { margin-top: 30px; padding: 24px 22px; border: 2px dashed var(--khaki); border-radius: 24px; }
.res-second__label {
  display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--cream);
  font-weight: 800; font-size: .9rem; color: var(--olive); margin-bottom: 8px;
}
.res-second h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }
.res-main .res-disclaimer { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .95rem; line-height: 1.9; }

/* ---------- قسم الحجز ---------- */
.res-cta {
  position: relative; overflow: hidden; margin-top: 40px; padding: 38px 24px 34px;
  background: var(--ink-soft); color: var(--cream); border-radius: 34px;
}
.res-cta::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%;
  border: 3px solid var(--terra); opacity: .5; left: -90px; top: -90px;
}
.res-cta::after {
  content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%;
  background: var(--sage); opacity: .25; right: -40px; bottom: -40px;
}
.res-cta > * { position: relative; z-index: 1; }
.res-cta__kicker {
  display: inline-block; padding: 5px 18px; border-radius: 999px; background: var(--peach);
  color: var(--ink); font-weight: 800; margin-bottom: 14px;
}
.res-cta h2 { font-size: clamp(1.7rem, 5.6vw, 2.5rem); color: var(--paper); margin-bottom: 16px; line-height: 1.5; }
.res-main .res-cta p { color: var(--cream); }
.res-cta__list { list-style: none; padding: 0; margin: 1.4rem 0; display: grid; gap: 12px; }
.res-cta__list li { position: relative; padding-inline-start: 34px; font-weight: 700; color: var(--paper); }
.res-cta__list li::before {
  content: ""; position: absolute; right: 0; top: .6em; width: 14px; height: 14px; border-radius: 50%; background: var(--terra);
}
.res-cta__shift { margin: 1.6rem 0; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .1); border-inline-start: 6px solid var(--peach); }
.res-cta__shift span { display: block; font-size: .92rem; font-weight: 800; color: var(--peach); }
.res-main .res-cta__shift p { margin-top: 4px; font-weight: 800; color: var(--paper); font-size: 1.15rem; line-height: 1.9; }
.res-cta__btn { width: 100%; min-height: 62px; font-size: 1.25rem; margin-top: 8px; }
.res-main .res-cta__note { margin-top: 14px; font-size: .95rem; text-align: center; color: var(--peach); }

/* ---------- ظهور تدريجي ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 720px) {
  .res-hero { padding: 54px 0 100px; border-radius: 0 0 64px 64px; }
  .res-hero__art span:nth-child(1) { width: 330px; height: 330px; left: -60px; bottom: -110px; }
  .res-hero__art span:nth-child(2) { width: 520px; height: 520px; left: -150px; bottom: -220px; }
  .res-main { font-size: 1.25rem; padding-top: 64px; }
  .res-card { padding: 42px 40px 34px; }
  .res-card--step, .res-card--change { padding: 46px 42px 38px; }
  .res-cta { padding: 54px 52px 48px; }
  .res-cta__btn { width: auto; min-width: 340px; }
  .res-main .res-cta__note { text-align: start; }
}



/* =========================================================
   قسم تنزيل النتيجة + تنسيق الطباعة (PDF)
   ========================================================= */
.res-download {
  margin-top: 34px; padding: 24px 22px; background: #fff; border-radius: 24px;
  border: 2px solid var(--sage); display: grid; gap: 14px;
}
.res-download h3 { font-size: 1.35rem; color: var(--olive); }
.res-main .res-download p { margin: 0; }
.res-download__btn {
  width: 100%; gap: .7rem; background: var(--olive); color: var(--paper);
  box-shadow: 0 8px 20px rgba(107, 109, 67, .3);
}
.res-download__btn:hover { box-shadow: 0 12px 26px rgba(107, 109, 67, .4); }
.res-main .res-download__hint { font-size: .9rem; color: var(--ink-soft); }

@media (min-width: 720px) {
  .res-download { grid-template-columns: 1fr auto; align-items: center; padding: 28px 34px; column-gap: 28px; }
  .res-download__btn { width: auto; min-width: 280px; }
  .res-download__hint { grid-column: 1 / -1; }
}

@media print {
  @page { size: A4; margin: 12mm; }

  html, body { background: #fff !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* لا يظهر الزر ولا قسم الحجز في الملف */
  .res-download, .res-cta { display: none !important; }

  /* العناصر المتدرجة قد تكون مخفية قبل التمرير، فنظهرها كلها */
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

  .res-hero { padding: 20px 0 36px; border-radius: 24px; }
  .res-hero__art span:nth-child(2) { display: none; }
  .res-name { font-size: 54pt; }
  .res-headline { font-size: 17pt; }

  .res-main { font-size: 11.5pt; padding: 24px 0 0; }
  .res-main p { line-height: 1.9; }
  .res-card { box-shadow: none; margin-top: 18px; padding: 22px 22px 18px; }
  .res-card h2, .res-second h3 { break-after: avoid; page-break-after: avoid; }
  .res-quote, .res-lines li, .res-second { break-inside: avoid; page-break-inside: avoid; }

  /* بطاقة الخطوة الأولى بخلفية فاتحة لتوفير الحبر ووضوح القراءة */
  .res-card--step { background: var(--cream); color: var(--ink); border: 1px solid var(--line); }
  .res-main .res-card--step h2 { color: var(--olive); }
  .res-main .res-card--step p { color: var(--ink-soft); }
  .res-main .res-card--step .res-quote { background: #fff; color: var(--ink); }
  .res-main .res-card--step .res-lines li { background: #fff; color: var(--ink); }

  .site-footer { padding: 12px 0; }
}




/* =========================================================
   Landing v2 — أنيق + حركات
   ========================================================= */

/* ---------- حركات عامة ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.rise { animation: rise .9s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: var(--d, 0s); }

.js .lp-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s);
}
.js .lp-reveal.is-visible { opacity: 1; transform: none; }

@keyframes drift { to { transform: translate(34px, 26px) scale(1.06); } }
@keyframes bob { 50% { transform: translateY(-16px); } }
@keyframes grow { from { width: 0; } }
@keyframes shine { 0% { left: -90px; } 40%, 100% { left: 130%; } }

.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -90px;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg); animation: shine 4.5s ease-in-out 1.8s infinite; pointer-events: none;
}

/* ---------- Hero ---------- */
.lp-hero { position: relative; overflow: hidden; padding: 52px 0 72px; background: var(--paper); }
.lp-hero__art { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; }
.orb--sage { width: 420px; height: 420px; background: var(--sage); opacity: .4; top: -160px; left: -160px; animation: drift 14s ease-in-out infinite alternate; }
.orb--ring { width: 320px; height: 320px; border: 3px solid var(--terra); opacity: .45; bottom: -130px; right: -110px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.orb--dot { width: 46px; height: 46px; background: var(--terra); top: 28px; right: 7%; opacity: .9; animation: bob 6s ease-in-out infinite; }

.lp-hero__grid { position: relative; z-index: 1; display: grid; gap: 38px; }

.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 20px;
  border-radius: 999px; background: var(--cream); color: var(--olive); font-weight: 800; font-size: .98rem;
}
.lp-eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--terra); }

.lp-title {
  margin-top: 18px; font-size: clamp(2rem, 7.2vw, 3.7rem); line-height: 1.45; font-weight: 800; max-width: 20ch;
}
.lp-title::after {
  content: ""; display: block; height: 6px; width: 96px; border-radius: 6px; background: var(--terra);
  margin-top: 20px; animation: grow 1s .9s ease backwards;
}
.lp-hero__text p { color: var(--ink-soft); max-width: 58ch; margin-top: 1.15rem; font-size: 1.08rem; }
.lp-hero__text .lp-lead {
  color: var(--ink); font-weight: 800; font-size: 1.2rem; padding-inline-start: 16px;
  border-inline-start: 5px solid var(--sage);
}

.lp-card { position: relative; overflow: hidden; border-radius: 30px; padding: 32px 22px 26px; box-shadow: 0 24px 60px rgba(47, 49, 32, .14); }
.lp-card::before {
  content: ""; position: absolute; top: 0; right: 0; left: 0; height: 7px;
  background: linear-gradient(90deg, var(--terra), var(--peach), var(--sage));
}
.lp-card h2 { font-size: 1.5rem; }

/* ---------- Sections ---------- */
.lp-section { position: relative; overflow: hidden; padding: 72px 0; }
.lp-section h2 { font-size: clamp(1.7rem, 5.6vw, 2.7rem); line-height: 1.5; }
.lp-section p { font-size: 1.12rem; }
.lp-section p + p { margin-top: 1.1rem; }

.lp-section--sage { background: var(--sage); }
.lp-section--sage::before {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  border: 3px solid var(--paper); opacity: .5; left: -110px; bottom: -120px;
}
.lp-section--cream { background: var(--cream); }
.lp-section--peach { background: var(--peach); }

.lp-split { position: relative; display: grid; gap: 26px; }
.lp-callout {
  margin-top: 1.6rem !important; padding: 18px 22px; background: var(--paper); border-radius: 18px;
  font-weight: 800; border-inline-start: 6px solid var(--terra);
}

.lp-narrow { max-width: 760px; }
.lp-narrow h2 { margin-bottom: 1rem; }
.lp-bold { font-weight: 800; color: var(--ink); }

.discover { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 14px; counter-reset: d; }
.discover li {
  counter-increment: d; position: relative; padding: 18px 70px 18px 20px; background: rgba(255, 255, 255, .78);
  border-radius: 18px; font-weight: 600; line-height: 1.9;
}
.discover li::before {
  content: counter(d, arabic-indic); position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.discover li.is-visible:hover { transform: translateX(-6px); box-shadow: var(--shadow); }

.lp-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 2rem 0 1.2rem; font-weight: 700; }

/* ---------- عن الأخصائية ---------- */
.lp-about { position: relative; display: grid; gap: 44px; align-items: center; }
.about-photo { position: relative; width: min(76%, 300px); margin-inline: auto; }
.about-photo::before {
  content: ""; position: absolute; inset: 0; border: 3px solid var(--olive); border-radius: 30px;
  transform: translate(-16px, 16px);
}
.about-photo__img {
  position: relative; z-index: 1; aspect-ratio: 4 / 5; border-radius: 30px; overflow: hidden;
  background: var(--cream); box-shadow: 0 22px 50px rgba(47, 49, 32, .22);
}
.about-photo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.about-photo:hover img { transform: scale(1.05); }
.about-photo__img.is-empty { display: grid; place-items: center; font-size: 6rem; font-weight: 800; color: var(--olive); }

.lp-sign { margin: 1.6rem 0 1.4rem; }
.lp-sign .about__name { margin: 0; }

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 720px) {
  .lp-hero { padding: 72px 0 96px; }
  .lp-card { padding: 38px 32px 30px; }
  .lp-section { padding: 100px 0; }
  .lp-hero__text p { font-size: 1.15rem; }
}

@media (min-width: 1000px) {
  .lp-hero { min-height: 92svh; display: flex; align-items: center; }
  .lp-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; width: min(100% - 40px, var(--maxw)); }
  .orb--dot { top: 12%; right: 46%; }
  .lp-split { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
  .lp-about { grid-template-columns: 340px 1fr; gap: 80px; }
  .about-photo { width: 340px; margin: 0; }
}