/* Lightweight premium LP — IBM Plex Sans Arabic only */

:root {
  --ivory: #f7f2ea;
  --cream: #fbf7f2;
  --beige: #efe6da;
  --mocha: #3b2d25;
  --espresso: #2a201b;
  --muted: #746356;
  --accent: #a85d42;
  --accent-deep: #8f4c35;
  --gold: #b9945c;
  --white: #fffcf8;
  --line: rgba(42, 32, 27, 0.1);
  --radius: 16px;
  --shadow: 0 8px 24px rgba(42, 32, 27, 0.06);
  --font: "IBM Plex Sans Arabic", Tahoma, "Segoe UI", sans-serif;
  --container: 1080px;
  --space: clamp(1rem, 4vw, 1.5rem);
  --header-h: 60px;
  --sticky-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 10px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* ~16–18px */
  line-height: 1.85;
  color: var(--mocha);
  background: var(--ivory);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  color: var(--espresso);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.75rem); /* ~34–60px */
  line-height: 1.3;
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.8vw, 2.5rem); /* ~28–40px */
  line-height: 1.4;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem); /* ~19–24px */
  line-height: 1.45;
  font-weight: 600;
}

p {
  margin: 0;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: absolute;
  right: 1rem;
  top: -100px;
  background: var(--espresso);
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  top: 0.75rem;
}

.container {
  width: min(100% - (var(--space) * 2), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(100% - (var(--space) * 2), 680px);
}

.accent {
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--accent);
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.lead,
.section-sub {
  color: var(--muted);
  font-weight: 400;
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.9;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-deep);
}

.btn:focus-visible {
  outline: 3px solid rgba(168, 93, 66, 0.35);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-lg {
  min-height: 52px;
  padding: 0.95rem 1.6rem;
  font-size: 1.05rem;
}

.btn-sm {
  min-height: 40px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn-wa {
  background: #1fa855;
  color: #fff;
}

.btn-wa:hover {
  background: #188a45;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 234, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  margin-left: auto;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--espresso);
}

.nav-desktop {
  display: none;
  gap: 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
}

.header-cta {
  display: none;
}

.nav-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--mocha);
}

.nav-mobile {
  display: none;
  gap: 0.25rem;
  padding: 0.4rem 1rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.nav-mobile.is-open {
  display: grid;
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile a {
  padding: 0.8rem 0.4rem;
  font-weight: 600;
}

.nav-mobile .btn {
  margin-top: 0.4rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 calc(2.75rem + var(--sticky-h));
  background: linear-gradient(180deg, var(--cream), var(--ivory));
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-shape-1 {
  width: 220px;
  height: 220px;
  top: -70px;
  left: -60px;
  background: radial-gradient(circle, rgba(168, 93, 66, 0.12), transparent 70%);
}

.hero-shape-2 {
  width: 180px;
  height: 180px;
  bottom: -40px;
  right: -40px;
  background: radial-gradient(circle, rgba(185, 148, 92, 0.16), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero .eyebrow {
  display: inline-block;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero .lead {
  max-width: 34em;
  margin: 0 auto 1.5rem;
}

.hero .btn {
  width: min(100%, 320px);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1.1rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  font-weight: 500;
}

.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-row li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
}

/* Sections */
.section {
  padding: clamp(3.2rem, 7vw, 5.5rem) 0;
}

.section-compact {
  padding: clamp(2.4rem, 5vw, 3.5rem) 0;
}

.section-alt {
  background: var(--beige);
}

.section-dark {
  background: var(--espresso);
  color: #f4ece3;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.section-head h2 {
  margin-bottom: 0.7rem;
}

.section-head .section-sub {
  max-width: 36em;
  margin-inline: auto;
}

.section-head-light .eyebrow {
  color: var(--gold);
}

.section-head-light h2 {
  color: #f7f0e8;
}

.section-head-light .section-sub {
  color: rgba(247, 240, 232, 0.75);
}

/* Cards / grids */
.grid-3,
.grid-4 {
  display: grid;
  gap: 0.9rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 700;
}

.card h3 {
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.card-num .num {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.card-center {
  text-align: center;
}

.mid-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.mid-cta .btn {
  width: min(100%, 300px);
}

/* Objection chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.chip-row li {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--mocha);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow);
}

/* Steps */
.steps {
  display: grid;
  gap: 0.85rem;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 1.1rem 1rem;
  border: 1px solid rgba(255, 252, 248, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 252, 248, 0.04);
}

.step-n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 148, 92, 0.45);
  color: #e6c892;
  font-weight: 700;
  font-size: 0.9rem;
}

.steps h3 {
  color: #f7f0e8;
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.steps p {
  color: rgba(247, 240, 232, 0.72);
  font-size: 0.95rem;
  line-height: 1.75;
}

.how-line {
  margin-top: 1.35rem;
  text-align: center;
  color: #e6c892;
  font-weight: 700;
  font-size: 1.05rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.15rem 1rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 0.95rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  color: var(--muted);
  padding-bottom: 0.95rem;
  line-height: 1.85;
}

/* Transparency */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem 1.2rem;
  box-shadow: var(--shadow);
}

.note {
  margin-top: 0.5rem;
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px dashed rgba(168, 93, 66, 0.35);
  background: #f4ebe1;
  text-align: center;
}

.note-label {
  margin-bottom: 0.45rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
}

.note h3 {
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

.note p {
  color: var(--muted);
}

/* Form */
.section-form {
  background:
    linear-gradient(180deg, rgba(168, 93, 66, 0.06), transparent 40%),
    var(--cream);
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
}

.form-wrap {
  max-width: 540px;
}

.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.15rem;
  box-shadow: var(--shadow);
}

.form-panel-featured {
  border: 1.5px solid rgba(168, 93, 66, 0.28);
  box-shadow: 0 14px 40px rgba(42, 32, 27, 0.1);
  padding: 1.65rem 1.25rem;
}

.form-panel .section-head {
  margin-bottom: 1.35rem;
}

.field {
  margin-bottom: 0.95rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--mocha);
  font-size: 16px;
}

.field input:focus {
  outline: none;
  border-color: rgba(168, 93, 66, 0.5);
  background: var(--white);
}

.field input.is-invalid {
  border-color: #b15a4a;
}

.error {
  display: block;
  margin-top: 0.3rem;
  color: #9a4638;
  font-size: 0.85rem;
  font-weight: 500;
}

.form-note {
  margin-top: 0.85rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--mocha);
}

.form-submit-error {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(177, 90, 74, 0.1);
  color: #9a4638;
  font-size: 0.92rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}

.form-submit-error[hidden] {
  display: none;
}

#form-submit:disabled {
  opacity: 0.75;
  cursor: wait;
}

.privacy {
  margin-top: 0.45rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.success {
  text-align: center;
  padding-top: 0.25rem;
}

.success[hidden] {
  display: none;
}

.success-mark {
  width: 64px;
  height: 64px;
  margin: 0.2rem auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(31, 168, 85, 0.12);
  color: #1fa855;
  font-size: 1.6rem;
  font-weight: 700;
}

.success h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.success > p {
  color: var(--muted);
  margin: 0 auto 1.2rem;
  max-width: 30em;
}

.form-panel.is-success .section-head,
.form-panel.is-success #lead-form {
  display: none;
}

/* Final */
.final {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  background: var(--espresso);
  color: #f4ece3;
  text-align: center;
}

.final-compact {
  padding: clamp(2.2rem, 5vw, 3rem) 0;
}

.final-mini {
  padding: 1.15rem 0;
  background: var(--espresso);
  text-align: center;
}

.final-inner {
  max-width: 560px;
}

.final h2 {
  color: #f7f0e8;
  margin-bottom: 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
}

.final-compact h2 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
}

.final p {
  color: rgba(247, 240, 232, 0.75);
  margin-bottom: 1.1rem;
  line-height: 1.75;
}

.final .btn {
  width: min(100%, 300px);
}

.final-mini-text {
  margin: 0;
  color: rgba(247, 240, 232, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
}

.final-mini-text a {
  color: #e6c892;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: 1.25rem 0 calc(1.25rem + var(--sticky-h));
  border-top: 1px solid var(--line);
  background: var(--ivory);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner a {
  font-weight: 600;
  color: var(--accent);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(247, 242, 234, 0.96);
  border-top: 1px solid var(--line);
}

.sticky-cta[hidden] {
  display: none;
}

/* Responsive */
@media (min-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-panel,
  .form-panel-featured,
  .panel {
    padding: 1.85rem 1.7rem;
  }
}

@media (min-width: 900px) {
  .hero {
    padding: 5.5rem 0 4.5rem;
  }

  .hero .btn,
  .mid-cta .btn,
  .final .btn {
    width: auto;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .mid-cta .btn,
  .final .btn {
    width: auto;
  }

  .nav-desktop {
    display: flex;
    margin-left: auto;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }

  .logo {
    margin-left: 0;
  }

  .site-footer {
    padding-bottom: 1.5rem;
  }

  .sticky-cta {
    display: none !important;
  }
}

@media (min-width: 1100px) {
  .steps:not(.steps-3) {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
