/* ─── Skip Link (A11y) ─── */
.skip-link {
  position: absolute;
  inset-inline-start: -999px;
  top: 8px;
  z-index: 9999;
  background: var(--brown-900);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.skip-link:focus {
  inset-inline-start: 8px;
}

/* ─── Focus Visible (A11y) ─── */
:focus-visible {
  outline: 3px solid var(--brown-500);
  outline-offset: 3px;
  border-radius: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--brown-500);
  outline-offset: 3px;
}

/* ─── SVG Icons (بديل Font Awesome) ─── */
svg.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

:root {
  --brown-900: #2a1b12;
  --brown-800: #3e2918;
  --brown-700: #5a3a23;
  --brown-600: #7a4e2d;
  --brown-500: #9b6b45;
  --brown-400: #b8865e;
  --brown-300: #d4b391;
  --cream-50: #fbf7f0;
  --cream-100: #f5ecdc;
  --cream-200: #efe3ce;
  --cream-300: #e4d3b5;
  --ink-900: #2a1b12;
  --ink-700: #5a4632;
  --ink-500: #87715a;
  --ink-400: #a89379;
  --warm-white: #faf6ef;
  --radius-card: 16px;
  --radius-pill: 999px;
  --radius-btn: 14px;
  --shadow-card:
    0 1px 2px rgba(60, 40, 20, 0.04), 0 8px 24px rgba(60, 40, 20, 0.06);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(122, 78, 45, 0.35) transparent;
  overflow-x: hidden;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(122, 78, 45, 0.35);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(122, 78, 45, 0.55);
}
body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  background: var(--warm-white);
  color: var(--ink-700);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.svg-defs-only {
  display: none !important;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  padding: 18px 28px;
  border-radius: var(--radius-btn);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    letter-spacing 0.28s ease;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-3px);
  letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--brown-700);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brown-800);
  box-shadow: 0 12px 32px rgba(42, 27, 18, 0.38);
}
.btn-secondary {
  background: var(--brown-500);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--brown-600);
  box-shadow: 0 12px 32px rgba(42, 27, 18, 0.38);
}
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warm-white);
  color: var(--brown-700);
  border-radius: var(--radius-pill);
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--cream-300);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 40, 20, 0.08);
}
.btn .icon,
.btn-pill .icon {
  font-size: 15px;
  line-height: 1;
}

/* ============ Section 1 — Navbar ============ */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  overflow: visible;
}
.nav.scrolled {
  position: fixed;
  background: rgba(42, 27, 18, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  animation: slideDown 0.25s ease;
}
.nav.scrolled .nav-links a {
  color: rgba(255, 255, 255, 0.82);
}
.nav.scrolled .nav-links a:hover {
  color: var(--cream-300);
}
.nav.scrolled .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.nav.scrolled .btn-pill {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.22);
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.nav-inner {
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img {
  height: 80px;
  width: auto;
  display: block;
  filter: brightness(0) sepia(1) saturate(2) hue-rotate(5deg) brightness(0.45);
}
.nav.on-hero .logo {
  align-self: flex-start;
}
.nav.on-hero .logo img {
  height: 150px;
  margin-top: 8px;
  filter: brightness(0) invert(1);
  text-shadow: none;
}
.nav.on-hero .nav-links a {
  color: rgba(255, 255, 255, 0.9);
}
.nav.on-hero .nav-links a:hover {
  color: var(--cream-200);
  text-shadow: 0 0 18px rgba(255, 220, 160, 0.5);
}
.nav.on-hero .btn-pill {
  background: rgba(255, 255, 255, 0.92);
  color: var(--brown-800);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--brown-700);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--brown-500);
}

/* ============ Section 2 — Hero ============ */
.hero {
  position: relative;
  min-height: 760px;
  background: #2a1b12;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 18% 55%, #4a3220 0%, #2a1b12 82%);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 32% 14%;
  display: block;
  max-width: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      270deg,
      rgba(239, 227, 206, 0.96) 0%,
      rgba(239, 227, 206, 0.8) 28%,
      rgba(239, 227, 206, 0.28) 54%,
      rgba(239, 227, 206, 0) 78%
    ),
    linear-gradient(
      to left,
      transparent 32%,
      rgba(12, 6, 2, 0.3) 80%,
      rgba(8, 4, 1, 0.48) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(8, 4, 2, 0.38) 0%,
      transparent 22%,
      transparent 80%,
      rgba(8, 4, 2, 0.24) 100%
    );
}
.hero-wrap {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 170px 32px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-inline-start: 24px;
}
.hero-content::before {
  content: "";
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  height: 680px;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 218, 160, 0.7) 0%,
    rgba(255, 205, 145, 0.42) 22%,
    rgba(255, 195, 130, 0.18) 46%,
    rgba(255, 190, 120, 0) 68%
  );
  filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.hero-content > * {
  position: relative;
  z-index: 1;
}
.hero-logo {
  width: 280px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.18));
}
.hero h1 {
  font-size: 84px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--brown-700);
  margin-bottom: 14px;
  letter-spacing: -1px;
  white-space: nowrap;
}
.hero-subtitle {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brown-600);
  margin-bottom: 24px;
}
.hero-tagline {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--brown-700);
  margin-bottom: 14px;
}
.hero-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink-500);
  max-width: 420px;
  margin: 0 auto 32px;
}
.hero-stats {
  display: flex;
  gap: 38px;
  margin-bottom: 30px;
  justify-content: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 90px;
}
.stat .stat-icon {
  font-size: 28px;
  color: var(--brown-600);
}
.stat span {
  font-size: 13px;
  font-weight: 500;
  color: var(--brown-700);
  text-align: center;
  line-height: 1.45;
}

.price-chip {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #bf7a1e 0%, #e8a830 60%, #c4821f 100%);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  padding: 18px 52px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  /* static shadow — لا تحريك هنا لتفادي non-composited repaint */
  box-shadow:
    0 4px 24px rgba(191, 122, 30, 0.5),
    0 0 0 3px rgba(232, 168, 48, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  position: relative;
  isolation: isolate;
}
/* طبقة التوهّج — تحرّك opacity فقط (GPU-composited، بدون repaint) */
.price-chip::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: var(--radius-pill);
  box-shadow: 0 0 32px 10px rgba(232, 168, 48, 0.55);
  opacity: 0.4;
  animation: price-glow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  will-change: opacity;
}
.price-chip::after {
  content: " ر.س";
  font-size: 16px;
  font-weight: 600;
  opacity: 0.88;
  align-self: center;
}
/* opacity فقط — composited animation لا يسبب repaint */
@keyframes price-glow {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
}
.hero-cta {
  width: 360px;
  max-width: 100%;
}

/* ============ Section 3 — Learn ============ */
.learn {
  background: var(--cream-100);
  padding: 96px 0;
}
.sec-h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--brown-700);
  text-align: center;
  margin-bottom: 48px;
}
.learn-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.lcard {
  background: var(--warm-white);
  border-radius: var(--radius-card);
  padding: 32px 20px 28px;
  box-shadow:
    0 2px 8px rgba(60, 40, 20, 0.07),
    0 12px 32px rgba(60, 40, 20, 0.1);
  border-top: 4px solid var(--brown-500);
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.lcard:hover {
  box-shadow:
    0 4px 12px rgba(60, 40, 20, 0.1),
    0 20px 48px rgba(60, 40, 20, 0.14);
  transform: translateY(-3px);
}
.lcard .lcard-icon {
  color: var(--brown-600);
  margin-bottom: 18px;
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 auto 18px;
}
.lcard h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--brown-700);
  margin-bottom: 10px;
}
.lcard p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-500);
}

/* ============ Section 4 — Journey ============ */
.journey {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.journey-bg {
  position: absolute;
  inset: 0;
  background: url("../images/journey.jpg") center 50% / cover;
  background-image: image-set(
    url("../images/journey.webp") type("image/webp"),
    url("../images/journey.jpg") type("image/jpeg")
  );
}
.journey-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 27, 18, 0.78);
}
.journey .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}
.journey h2 {
  color: #fff;
  margin-bottom: 56px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 60px;
  inset-inline-start: 12.5%;
  inset-inline-end: 12.5%;
  height: 2px;
  background-image: linear-gradient(
    to right,
    var(--cream-300) 50%,
    transparent 50%
  );
  background-size: 14px 2px;
  background-repeat: repeat-x;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--cream-50);
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.step-circle .s-icon {
  font-size: 34px;
  color: var(--brown-600);
}
.step-badge {
  position: absolute;
  top: -4px;
  inset-inline-end: -4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brown-600);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--brown-900);
}
.step h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}
.step p {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.55;
  max-width: 180px;
  margin: 0 auto;
  text-align: center;
}

/* ============ Section 5 — Split ============ */
.split {
  background: var(--cream-100);
  padding: 96px 0;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  max-width: 860px;
  margin-inline: auto;
}
.tc-card {
  background: var(--warm-white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.tc-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--brown-700);
  margin-bottom: 24px;
}
.tc-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  flex: 1;
}
.tc-image {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  background: #7a4e2d;
  background-size: cover;
  background-position: center;
}
.tc-image-child {
  background-image: url("../images/who.jpg");
  background-image: image-set(
    url("../images/who.webp") type("image/webp"),
    url("../images/who.jpg") type("image/jpeg")
  );
  background-position: center top;
}
.tc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tc-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--ink-700);
  font-weight: 500;
}
.tc-list .row-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--brown-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown-600);
  flex-shrink: 0;
}
.tc-list .row-icon i {
  font-size: 16px;
}
.tc-list .price-row {
  font-size: 18px;
  font-weight: 700;
  color: var(--brown-700);
}

/* ============ Section 6 — Final CTA ============ */
.final {
  background: var(--brown-900);
  padding: 80px 0;
}
.final-grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 48px;
  align-items: center;
}
.final-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.qr-row {
  display: flex;
  align-items: center;
  gap: 20px;
}
.qr-box {
  width: 160px;
  height: 160px;
  background: #fff;
  padding: 10px;
  border-radius: 12px;
  flex-shrink: 0;
}
.qr-box svg {
  width: 100%;
  height: 100%;
}
.qr-label {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  max-width: 140px;
  line-height: 1.6;
}
.final h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.final-body {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
}
.final-cta {
  align-self: flex-start;
  width: 240px;
}
.final-image {
  height: 360px;
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  background: url("../images/final.jpg") center / cover;
  background-image: image-set(
    url("../images/final.webp") type("image/webp"),
    url("../images/final.jpg") type("image/jpeg")
  );
}

/* ============ Section 7 — Footer ============ */
footer {
  background: var(--brown-900);
  padding: 56px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
}
.foot-col {
  padding-inline: 32px;
}
.foot-col + .foot-col {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--brown-400);
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.foot-col p:not(.foot-tag),
.foot-col a {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 2;
}
.foot-col i {
  font-size: 14px;
  color: var(--brown-400);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.foot-logo {
  padding-inline-start: 0;
}
.foot-logo img {
  height: 72px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.foot-tag {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  max-width: 220px;
}
.copy {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ============ Reveal animation ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ============ .foot-subloc (replaces inline style) ============ */
.foot-subloc {
  padding-inline-start: 26px;
}

/* ============ Section 6 — FAQ ============ */
.faq {
  background: var(--warm-white);
  padding: 96px 0;
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] {
  border-color: var(--brown-300);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brown-700);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.2s;
}
.faq-q::-webkit-details-marker {
  display: none;
}
.faq-q:hover {
  background: var(--cream-100);
}
.faq-icon {
  font-size: 13px;
  color: var(--brown-500);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-500);
}

/* ============ Floating WhatsApp ============ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42);
  z-index: 999;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

/* ============ Print / noscript fallback ============ */
@media print {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============ Responsive — Tablet (769px – 1100px) ============ */
@media (min-width: 769px) and (max-width: 1100px) {
  /* Nav */
  .nav-links {
    gap: 18px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .nav-inner {
    padding-inline: 20px;
  }
  .nav.on-hero .logo img {
    height: 100px;
  }

  /* Hero */
  .hero {
    min-height: 640px;
  }
  .hero-wrap {
    padding: 130px 24px 60px;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .hero-tagline {
    font-size: 18px;
  }
  .hero-body {
    font-size: 15px;
    margin-bottom: 24px;
  }
  .hero-stats {
    gap: 24px;
    margin-bottom: 22px;
  }
  .hero-content::before {
    width: 540px;
    height: 480px;
  }
  .price-chip {
    padding: 14px 40px;
    font-size: 18px;
  }
  .hero-cta {
    width: 300px;
  }

  /* Learn */
  .learn {
    padding: 72px 0;
  }
  .sec-h2 {
    font-size: 32px;
    margin-bottom: 36px;
  }
  .learn-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  .lcard {
    padding: 22px 14px;
  }
  .lcard .lcard-icon {
    font-size: 30px;
    margin-bottom: 14px;
  }
  .lcard h3 {
    font-size: 14px;
  }
  .lcard p {
    font-size: 12px;
  }

  /* Journey */
  .journey {
    padding: 64px 0;
  }
  .step-circle {
    width: 96px;
    height: 96px;
  }
  .step-circle .s-icon {
    font-size: 28px;
  }
  .step-badge {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .step h4 {
    font-size: 14px;
  }
  .step p {
    font-size: 12px;
  }
  .steps::before {
    top: 48px;
  }

  /* Split */
  .split {
    padding: 72px 0;
  }
  .tc-card {
    padding: 24px 20px;
  }
  .tc-card h3 {
    font-size: 18px;
  }
  .tc-inner {
    grid-template-columns: 160px 1fr;
    gap: 16px;
  }
  .tc-image {
    height: 220px;
  }
  .tc-list li {
    font-size: 13px;
    gap: 10px;
  }
  .tc-list .row-icon {
    width: 34px;
    height: 34px;
  }

  /* Final */
  .final {
    padding: 64px 0;
  }
  .final-grid {
    gap: 32px;
  }
  .final h2 {
    font-size: 28px;
  }
  .final-body {
    font-size: 15px;
  }
  .final-image {
    height: 280px;
  }
  .qr-box {
    width: 130px;
    height: 130px;
  }
  .final-cta {
    width: 200px;
    font-size: 16px;
  }

  /* Footer */
  .foot-col {
    padding-inline: 20px;
  }
  .foot-logo img {
    height: 60px;
  }
  .foot-tag {
    font-size: 12px;
  }
  .foot-col p:not(.foot-tag),
  .foot-col a {
    font-size: 13px;
  }

  /* ── توسيط الكلام والبطاقات في التابلت ── */
  .lcard,
  .lcard h3,
  .lcard p,
  .tc-card,
  .tc-card h3,
  .final-content,
  .final h2,
  .final-body {
    text-align: center;
  }
  .lcard {
    align-items: center;
  }
  .final-content {
    align-items: center;
  }
  .qr-row {
    justify-content: center;
  }
}

/* ============ Responsive (<768px) ============ */
@media (max-width: 768px) {
  .nav {
    height: 64px;
  }
  .nav-inner {
    padding-inline: 16px;
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .logo img {
    height: 48px;
  }
  .btn-pill {
    padding: 9px 14px;
    font-size: 13px;
  }

  .hero {
    min-height: auto;
  }
  .hero-wrap {
    grid-template-columns: 1fr;
    padding: 90px 20px 60px;
  }
  .hero-img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 35% center;
  }
  .hero-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(239, 227, 206, 0.96) 0%,
        rgba(239, 227, 206, 0.78) 45%,
        rgba(239, 227, 206, 0.5) 100%
      ),
      linear-gradient(to bottom, rgba(20, 10, 4, 0.45) 0%, transparent 50%);
  }
  .hero-content {
    padding-inline-start: 0;
    text-align: center;
  }
  .hero-content::before {
    width: 460px;
    height: 460px;
  }
  .nav.on-hero .logo img {
    height: 70px;
    margin-top: 0;
  }
  .hero h1 {
    font-size: 52px;
    white-space: normal;
  }
  .hero-subtitle {
    font-size: 20px;
  }
  .hero-tagline {
    font-size: 18px;
  }
  .hero-body {
    max-width: none;
    text-align: center;
    margin-inline: auto;
  }
  .hero-stats {
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .stat {
    min-width: 80px;
  }
  .price-chip {
    padding: 14px 40px;
    font-size: 17px;
  }
  .hero-cta {
    width: 100%;
  }

  .learn {
    padding: 64px 0;
  }

  .split,
  .final {
    padding: 64px 0 0;
  }
  .sec-h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }
  .learn-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .lcard {
    padding: 22px 16px;
  }

  .journey {
    padding: 56px 0;
    display: block; /* يمنع الـ flex من أكل المحتوى */
  }
  .steps {
    grid-template-columns: repeat(2, 1fr); /* عمودين في الجوال */
    gap: 28px 16px;
    padding: 0 4px; /* مساحة للبادج */
  }
  .steps::before {
    display: none;
  }
  .step {
    padding-top: 8px; /* مساحة للبادج العلوي */
  }
  .step-circle {
    width: 110px;
    height: 110px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }
  .step-circle .s-icon {
    font-size: 30px;
  }
  .step-badge {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .step h4 {
    font-size: 14px;
  }
  .step p {
    font-size: 12px;
    max-width: 140px;
  }

  .split-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .tc-inner {
    grid-template-columns: 1fr;
  }
  .tc-image {
    display: none;
  }

  .final-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .final h2 {
    font-size: 26px;
  }
  .qr-row {
    display: none;
  }
  .final-image {
    height: 220px;
  }
  .final-cta {
    width: 100%;
    align-self: stretch;
  }

  .foot-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  .foot-col {
    padding: 28px 24px;
    border-inline-start: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
  .foot-col:first-child {
    border-top: none;
  }
  .foot-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline-start: 24px;
  }
  .foot-col p:not(.foot-tag),
  .foot-col a {
    justify-content: center;
  }
  .foot-tag {
    max-width: 100%;
    text-align: center;
  }
  .copy {
    margin-top: 0;
    padding: 20px 16px 0;
  }

  /* FAQ mobile */
  .faq {
    padding: 64px 0;
  }
  .faq-q {
    font-size: 14px;
    padding: 16px 18px;
  }
  .faq-a {
    padding: 0 18px 16px;
    font-size: 14px;
  }

  /* Floating WhatsApp mobile */
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  /* ── توسيط الكلام والبطاقات في الجوال ── */
  .lcard,
  .lcard h3,
  .lcard p,
  .tc-card,
  .tc-card h3,
  .final-content,
  .final h2,
  .final-body,
  .step,
  .step h4,
  .step p {
    text-align: center;
  }
  .lcard {
    align-items: center;
  }
  .tc-list {
    padding: 0;
  }
  .tc-list li {
    gap: 10px;
  }
  .final-content {
    align-items: center;
  }
  .final-cta {
    margin-inline: auto;
  }
}

/* ============ Responsive (≤ 400px — الجوال الصغير) ============ */
@media (max-width: 400px) {
  .hero h1 {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 17px;
  }
  .hero-tagline {
    font-size: 15px;
  }
  .hero-body {
    font-size: 14px;
  }
  .price-chip {
    font-size: 15px;
    padding: 12px 28px;
  }
  .hero-content::before {
    width: 300px;
    height: 300px;
  }

  .sec-h2 {
    font-size: 24px;
  }
  .learn-grid {
    grid-template-columns: 1fr;
  }
  .lcard {
    padding: 18px 14px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .final h2 {
    font-size: 22px;
  }
  .final-cta {
    font-size: 15px;
  }

  .wrap {
    padding-inline: 16px;
  }
}

/* ─── Reduced Motion (A11y) ─── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---- Flaticon custom horse icons ---- */
img.fi-icon {
  filter: url(#brand-brown);
  object-fit: contain;
  display: block;
}
.stat img.fi-icon {
  width: 28px;
  height: 28px;
  margin: 0 auto;
}
.lcard img.fi-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 18px;
}
.step-circle img.fi-icon {
  width: 34px;
  height: 34px;
}
