/* ==========================================================================
   OnlineModares — shared styles for index.html and pricing.html
   Brand colours, fonts and spacing live in :root. Change them once here.
   ========================================================================== */

:root {
  /* Colour */
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --sand: #F4EEE4;
  --sand-deep: #EADFCB;
  --ink: #1F2B33;
  --ink-hover: #2E3D48;
  --ink-soft: #45515B;
  --muted: #616B74;
  --line: #E6DDCE;
  --line-strong: #D6C8B0;
  --gold: #B8945A;
  --gold-deep: #7F6030;
  --gold-soft: #F3E9D7;
  --gold-on-ink: #D9BC86;
  --sage: #4F7266;
  --sage-soft: #E4EDE8;
  --on-ink: #FBF8F3;
  --on-ink-muted: #C4CBD1;
  --ink-raised: #283843;
  --ink-line: #3A4A55;
  --live: #2F7D5B;
  --save: #2F7D5B;
  --save-soft: #DDEFE6;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-arabic: "Amiri", "Noto Naskh Arabic", "Traditional Arabic", serif;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --shadow-soft: 0 12px 32px rgba(31, 43, 51, 0.07);
  --shadow-lift: 0 22px 48px rgba(31, 43, 51, 0.13);
  --ring: 0 0 0 3px rgba(184, 148, 90, 0.45);

  /* Layout */
  --content: 1200px;
  --gutter: clamp(16px, 5vw, 64px);
  --section-y: clamp(72px, 10vw, 128px);
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --fast: 200ms;
  --slow: 800ms;

  /* Subtle 8-point star pattern used behind hero and CTA sections */
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23B8945A' stroke-width='1'%3E%3Cpath d='M40 18l6.4 15.6L62 40l-15.6 6.4L40 62l-6.4-15.6L18 40l15.6-6.4z'/%3E%3Cpath d='M24.4 24.4h31.2v31.2H24.4z' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 0l8 8M80 0l-8 8M0 80l8-8M80 80l-8-8'/%3E%3C/g%3E%3C/svg%3E");
  --pattern-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23D9BC86' stroke-width='1'%3E%3Cpath d='M40 18l6.4 15.6L62 40l-15.6 6.4L40 62l-6.4-15.6L18 40l15.6-6.4z'/%3E%3Cpath d='M24.4 24.4h31.2v31.2H24.4z' transform='rotate(45 40 40)'/%3E%3Cpath d='M0 0l8 8M80 0l-8 8M0 80l8-8M80 80l-8-8'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-to-content {
  position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--ink); color: var(--on-ink); border-radius: var(--radius-sm); text-decoration: none;
}
.skip-to-content:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; position: relative; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--on-ink); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section-ink .eyebrow { color: var(--gold-on-ink); }
.arabic { font-family: var(--font-arabic); line-height: 1.5; }
.arabic-label { font-family: var(--font-arabic); font-size: 26px; line-height: 1.4; color: var(--gold-deep); }
.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; color: inherit; }
.h1 { font-size: clamp(40px, 6.2vw, 68px); line-height: 1.06; }
.h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.1; }
.h3 { font-size: clamp(21px, 2vw, 25px); line-height: 1.25; font-weight: 500; letter-spacing: -0.01em; }
.h1 em, .h2 em { font-style: italic; color: var(--gold-deep); }
.section-ink .h2 em { color: var(--gold-on-ink); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); }
.section-ink .lead { color: var(--on-ink-muted); }
.muted { color: var(--muted); }

.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 720px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section-head.is-left { align-items: flex-start; text-align: left; margin-left: 0; }

/* ---------- Icons ---------- */
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.star8 { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: var(--radius-pill); border: 1px solid transparent;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform var(--fast) var(--ease), background var(--fast) var(--ease), box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease), color var(--fast) var(--ease);
}
.btn .icon { transition: transform var(--fast) var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-hover); box-shadow: var(--shadow-soft); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); box-shadow: 0 12px 28px rgba(127, 96, 48, 0.28); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--gold-soft); border-color: var(--gold); }
.btn-light { background: var(--on-ink); color: var(--ink); }
.btn-light:hover { background: var(--gold-soft); }
.btn-ghost-light { background: transparent; color: var(--on-ink); border-color: var(--ink-line); }
.btn-ghost-light:hover { border-color: var(--gold-on-ink); color: var(--gold-on-ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.9); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(31, 43, 51, 0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.brand-arabic { font-family: var(--font-arabic); font-size: 14px; color: var(--gold-deep); }

.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  position: relative; display: flex; align-items: center; min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none; transition: color var(--fast) var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform var(--fast) var(--ease);
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--ink); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(31, 43, 51, 0.08);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--fast) var(--ease), transform var(--fast) var(--ease), visibility var(--fast); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { min-height: 54px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 80px 80px; opacity: 0.12;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 85% 40%, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 80% at 85% 40%, #000 20%, transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(40px, 6vw, 80px); }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-brand { display: flex; align-items: center; gap: 16px; }
.hero-brand img { width: 68px; height: 68px; border-radius: 14px; box-shadow: var(--shadow-soft); }
.hero-brand-name { font-family: var(--font-display); font-size: 22px; line-height: 1.2; }
.hero-brand-sub { font-size: 13px; color: var(--muted); }
.hero .lead { max-width: 540px; }
.hero-text .arabic-label, .page-hero .arabic-label { align-self: flex-start; }
.page-hero .arabic-label { align-self: center; }
@media (max-width: 960px) { .hero-text { align-items: flex-start; } }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill);
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink-soft);
}
.pill .icon { width: 16px; height: 16px; color: var(--gold); }

.hero-visual { position: relative; }
.hero-frame {
  position: relative; overflow: hidden; aspect-ratio: 4 / 4.6;
  border-radius: 400px 400px var(--radius-xl) var(--radius-xl);
  box-shadow: var(--shadow-lift); background: var(--sand-deep);
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(31, 43, 51, 0.45)); }
.hero-arch-line { position: absolute; inset: -14px; border: 1px solid var(--gold); opacity: 0.5; border-radius: 420px 420px 36px 36px; pointer-events: none; }
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-lift); font-size: 13px; color: var(--ink-soft);
  animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: 14px; }
.float-live { top: 18%; left: -28px; }
.float-word { bottom: 16%; right: -24px; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -3s; }
.float-word .arabic { font-size: 30px; color: var(--ink); line-height: 1.3; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(47, 125, 91, 0.5); animation: pulse 2s infinite; }
.zoom-bar {
  position: absolute; z-index: 2; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; gap: 8px; padding: 8px; border-radius: var(--radius-pill); background: rgba(31, 43, 51, 0.72); backdrop-filter: blur(8px);
}
.zoom-bar span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; }
.zoom-bar span.is-end { background: #C8553D; }
.zoom-bar .icon { width: 18px; height: 18px; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47, 125, 91, 0.5); } 70% { box-shadow: 0 0 0 10px rgba(47, 125, 91, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 125, 91, 0); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .float-live { left: -8px; }
  .float-word { right: -8px; }
}
@media (max-width: 560px) {
  .hero-brand img { width: 54px; height: 54px; }
  .hero .btn-row .btn { width: 100%; }
  .float-live { top: 8%; left: 8px; }
  .float-word { right: 8px; bottom: 90px; }
  .hero-arch-line { inset: -8px; }
}

/* ---------- Trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 24px 20px; font-size: 14px; color: var(--ink-soft); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item strong { display: block; font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--ink); line-height: 1.3; }
.trust-item .icon { color: var(--gold); width: 26px; height: 26px; }
@media (max-width: 900px) {
  .trust-list { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .trust-item { padding: 18px 12px; gap: 10px; } }

/* ---------- Service cards ---------- */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  transition: transform 500ms var(--ease), box-shadow 500ms var(--ease), border-color 500ms var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.service-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand-deep); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(31, 43, 51, 0.55)); }
.service-ar {
  position: absolute; z-index: 1; right: 20px; bottom: 10px; font-family: var(--font-arabic);
  font-size: 34px; color: #fff; line-height: 1.4; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.service-body { display: flex; flex-direction: column; gap: 12px; padding: 28px; flex-grow: 1; }
.service-body p { color: var(--ink-soft); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag { padding: 4px 12px; border-radius: var(--radius-pill); background: var(--sand); font-size: 12px; font-weight: 500; color: var(--ink-soft); }
.card-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; min-height: 44px;
  font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; padding-left: 0;
}
.card-link:hover { color: var(--gold-deep); }
.card-link .icon { transition: transform var(--fast) var(--ease); }
.card-link:hover .icon { transform: translateX(4px); }
@media (max-width: 960px) { .card-grid-3 { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(40px, 7vw, 96px); }
.about-media { position: relative; }
.about-photo { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lift); background: var(--sand-deep); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 88% center; }
.about-inset {
  position: absolute; right: -24px; bottom: -28px; width: 46%; aspect-ratio: 4 / 3; border-radius: var(--radius-lg);
  overflow: hidden; border: 6px solid var(--sand); box-shadow: var(--shadow-lift); background: var(--ink);
}
.about-inset img { width: 100%; height: 100%; object-fit: cover; }
.about-inset-tag {
  position: absolute; left: 8px; bottom: 8px; padding: 3px 10px; border-radius: var(--radius-pill);
  background: rgba(31, 43, 51, 0.75); color: #fff; font-size: 11px; font-weight: 500;
}
.about-badge {
  position: absolute; left: -20px; top: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 118px; height: 118px; border-radius: 50%; background: var(--ink); color: var(--on-ink); text-align: center;
  box-shadow: var(--shadow-lift); font-size: 12px; line-height: 1.3;
}
.about-badge .arabic { font-size: 28px; color: var(--gold-on-ink); line-height: 1.2; }
.about-text { display: flex; flex-direction: column; gap: 22px; }
.about-text p { color: var(--ink-soft); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 6px; }
.check-grid li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 15px; }
.check-grid .check { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); }
.check-grid .check .icon { width: 13px; height: 13px; stroke-width: 2.4; }
@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin: 0 auto 28px; width: 100%; }
  .about-inset { right: -8px; }
  .about-badge { left: -8px; }
}
@media (max-width: 560px) {
  .check-grid { grid-template-columns: 1fr; }
  .about-badge { width: 96px; height: 96px; font-size: 11px; }
  .about-badge .arabic { font-size: 22px; }
}

/* ---------- Benefits ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.benefit-card {
  display: flex; flex-direction: column; gap: 14px; padding: 30px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform 400ms var(--ease), border-color 400ms var(--ease), box-shadow 400ms var(--ease);
}
.benefit-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow-soft); }
.benefit-icon {
  position: relative; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px;
  border-radius: var(--radius-md); background: var(--gold-soft); color: var(--gold-deep);
  transition: background 400ms var(--ease), color 400ms var(--ease);
}
.benefit-card:hover .benefit-icon { background: var(--ink); color: var(--gold-on-ink); }
.benefit-icon .icon { width: 26px; height: 26px; }
.benefit-card p { color: var(--ink-soft); font-size: 15px; }
@media (max-width: 960px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .benefit-grid { grid-template-columns: 1fr; gap: 12px; }
  .benefit-card { flex-direction: row; align-items: flex-start; padding: 20px; gap: 16px; }
  .benefit-icon { width: 48px; height: 48px; }
}

/* ---------- Steps (how it works) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; margin-top: clamp(48px, 7vw, 72px); }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-lg); background: var(--ink-raised); border: 1px solid var(--ink-line); color: var(--on-ink); }
.step-num { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--gold-on-ink); }
.step p { color: var(--on-ink-muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.stars { display: flex; gap: 2px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; fill: currentColor; }
.testimonial blockquote { margin: 0; font-family: var(--font-display); font-size: 18px; line-height: 1.55; color: var(--ink); flex-grow: 1; }
.testimonial blockquote::before { content: "\201C"; display: block; font-size: 56px; line-height: 0.6; color: var(--gold); margin-bottom: 8px; }
.person { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar {
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%;
  background: var(--sand-deep); color: var(--gold-deep); font-weight: 600; font-size: 16px; overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-name { font-weight: 600; font-size: 15px; line-height: 1.3; }
.person-meta { font-size: 13px; color: var(--muted); }
.course-chip { margin-left: auto; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--sage-soft); color: var(--sage); font-size: 12px; font-weight: 600; white-space: nowrap; }
@media (max-width: 960px) {
  .testimonial-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(300px, 80%); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
  .testimonial-grid::-webkit-scrollbar { display: none; }
  .testimonial { scroll-snap-align: center; }
}
.swipe-hint { display: none; justify-content: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 960px) { .swipe-hint { display: flex; } }

/* ---------- Videos ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { display: flex; flex-direction: column; gap: 16px; }
.video-player {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink) var(--pattern-light) center / 64px 64px; box-shadow: var(--shadow-soft);
}
.video-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster {
  position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 0; border: 0; cursor: pointer; color: #fff; background: transparent;
}
.video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.video-poster::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(31, 43, 51, 0.15), rgba(31, 43, 51, 0.6)); }
.video-poster .poster-ar { position: absolute; z-index: 1; top: 14px; right: 18px; font-family: var(--font-arabic); font-size: 26px; color: var(--gold-on-ink); line-height: 1.3; }
.video-poster .poster-len { position: absolute; z-index: 1; left: 14px; bottom: 12px; padding: 2px 10px; border-radius: var(--radius-pill); background: rgba(0, 0, 0, 0.5); font-size: 12px; }
/* Play button: gold-ringed disc with two soft ripples; grows and turns gold on hover */
.play {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.22), 0 14px 34px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  transition: transform 450ms var(--ease), background 450ms var(--ease), color 450ms var(--ease), box-shadow 450ms var(--ease), border-color 450ms var(--ease);
}
.play svg { position: relative; z-index: 1; width: 28px; height: 28px; fill: currentColor; margin-left: 5px; transition: transform 450ms var(--ease); }
.play-ring {
  position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold-on-ink); pointer-events: none;
  animation: play-ripple 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}
.play-ring-2 { animation-delay: 1.3s; }
@keyframes play-ripple {
  0% { transform: scale(1); opacity: 0.85; }
  80%, 100% { transform: scale(1.8); opacity: 0; }
}
.video-poster:hover .play, .video-poster:focus-visible .play {
  transform: scale(1.1); background: var(--gold); color: #fff; border-color: #fff;
  box-shadow: 0 0 0 8px rgba(184, 148, 90, 0.28), 0 18px 40px rgba(0, 0, 0, 0.35);
}
.video-poster:hover .play svg, .video-poster:focus-visible .play svg { transform: scale(1.08); }
.video-poster:focus-visible { box-shadow: none; }
.video-poster:hover img { transform: scale(1.04); }
.video-poster::before { transition: opacity 450ms var(--ease); }
.video-poster:hover::before { opacity: 0.7; }
.video-card .h3 { font-size: clamp(19px, 1.8vw, 22px); }
.video-grid.video-count-1 { grid-template-columns: minmax(0, 760px); justify-content: center; }
.video-grid.video-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1000px; margin: 0 auto; }
.video-card p { color: var(--ink-soft); font-size: 15px; }
.video-more { display: flex; justify-content: center; margin-top: 40px; }
@media (max-width: 960px) { .video-grid, .video-grid.video-count-2 { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern-light); background-size: 80px 80px; opacity: 0.1;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse at center, #000 10%, transparent 75%);
}
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 720px; margin: 0 auto; }
.cta-inner .arabic { font-size: clamp(34px, 5vw, 52px); color: var(--gold-on-ink); line-height: 1.2; }
.cta-note { font-size: 14px; color: var(--on-ink-muted); display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.cta-note span { display: inline-flex; align-items: center; gap: 6px; }
.cta-note .icon { width: 16px; height: 16px; color: var(--gold-on-ink); }
@media (max-width: 560px) { .cta-inner .btn-row { width: 100%; } .cta-inner .btn { width: 100%; } }

/* ---------- Page hero (pricing) ---------- */
.page-hero { position: relative; padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); text-align: center; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 80px 80px; opacity: 0.12;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 10%, transparent 70%);
}
.page-hero .container { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-hero .lead { max-width: 640px; }
.breadcrumb { font-size: 13px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-deep); }
.included { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }

/* ---------- Pricing tables ---------- */
.pricing-section { padding: clamp(32px, 4vw, 48px) 0; }
.price-table {
  position: relative; padding: clamp(24px, 4vw, 48px); border-radius: 32px; border: 1px solid var(--line); background: var(--sand);
}
.price-table.is-three { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.price-table.is-three::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: var(--pattern-light); background-size: 80px 80px; opacity: 0.06; pointer-events: none;
}
.table-head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.table-head-text { display: flex; flex-direction: column; gap: 8px; }
.table-head .arabic { align-self: flex-start; font-size: 22px; color: var(--gold-deep); line-height: 1.2; }
.is-three .table-head .arabic { color: var(--gold-on-ink); }
.table-head p { color: var(--ink-soft); max-width: 460px; }
.is-three .table-head p { color: var(--on-ink-muted); }
.freq { display: flex; align-items: center; gap: 6px; }
.freq span { width: 34px; height: 8px; border-radius: 4px; background: var(--line-strong); }
.freq span.on { background: var(--gold); }
.is-three .freq span { background: var(--ink-line); }
.is-three .freq span.on { background: var(--gold-on-ink); }
.freq-label { font-size: 13px; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.is-three .freq-label { color: var(--on-ink-muted); }

.plan-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 36px);
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-xl);
  transition: transform 400ms var(--ease), box-shadow 400ms var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.plan.is-bundle { border: 2px solid var(--gold); }
.plan.is-best { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.plan-type { font-size: 13px; color: var(--muted); }
.best-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: var(--radius-pill); background: var(--gold); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 8px 20px rgba(127, 96, 48, 0.35);
}
.best-badge svg { width: 14px; height: 14px; fill: currentColor; }
.save-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-pill);
  background: var(--save-soft); color: var(--save); font-size: 13px; font-weight: 700; white-space: nowrap;
}
.save-badge .icon { width: 15px; height: 15px; stroke-width: 2.2; }

.price { display: flex; flex-direction: column; gap: 4px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.price-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-amount { font-family: var(--font-display); font-size: clamp(48px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; }
.price-amount sup { font-size: 0.45em; vertical-align: 0.9em; margin-right: 2px; letter-spacing: 0; }
.price-period { font-size: 15px; color: var(--muted); }
.price-was { font-size: 22px; color: var(--muted); text-decoration: line-through; text-decoration-color: #C8553D; text-decoration-thickness: 2px; }
.price-note { font-size: 14px; color: var(--muted); }
.price-note strong { color: var(--gold-deep); font-weight: 600; }

.plan-features { display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.plan-features li strong { color: var(--ink); }
.plan-features .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 2px; stroke-width: 2; }
@media (max-width: 800px) {
  .plan-grid { grid-template-columns: 1fr; gap: 28px; }
  .table-head { align-items: flex-start; flex-direction: column; }
}

.compare-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; font-size: 14px; color: var(--muted); text-align: center; }
.compare-note .icon { color: var(--gold); }

/* ---------- Trial section ---------- */
.trial-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 32px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  position: relative; overflow: hidden;
}
.trial-card::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; background-image: var(--pattern); background-size: 52px 52px; opacity: 0.18; border-radius: 50%;
}
.trial-text { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }
.trial-text p { color: var(--ink-soft); }
.trial-list { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: var(--sand); }
.trial-list li { display: flex; gap: 14px; align-items: flex-start; }
.trial-list .num { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--gold-on-ink); font-size: 14px; font-weight: 600; }
.trial-list strong { display: block; font-size: 15px; }
.trial-list span { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .trial-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .trial-text .btn { width: 100%; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease); }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow-soft); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(17px, 1.8vw, 19px); font-weight: 500; border-radius: var(--radius-lg);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sand); color: var(--gold-deep); transition: transform 300ms var(--ease), background 300ms var(--ease);
}
.faq-item[open] summary .plus { transform: rotate(45deg); background: var(--ink); color: var(--gold-on-ink); }
.faq-answer { padding: 0 26px 24px; color: var(--ink-soft); }
.faq-answer p + p { margin-top: 10px; }
.faq-more { text-align: center; margin-top: 32px; color: var(--muted); }
.faq-more a { color: var(--gold-deep); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand .brand { color: var(--on-ink); }
.footer-brand .brand img { box-shadow: 0 0 0 1px var(--ink-line); }
.footer-brand .brand-arabic { color: var(--gold-on-ink); }
.footer-slogan { font-family: var(--font-display); font-size: 20px; color: var(--on-ink); line-height: 1.35; max-width: 320px; }
.footer-col h3 { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-on-ink); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--on-ink-muted); text-decoration: none; transition: color var(--fast) var(--ease); }
.footer-col a:hover { color: var(--on-ink); }
.socials { display: flex; gap: 10px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ink-line); color: var(--on-ink); transition: border-color var(--fast), color var(--fast), background var(--fast); }
.socials a:hover { border-color: var(--gold-on-ink); color: var(--gold-on-ink); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ink-line); font-size: 13px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none;
  transform: translateY(140%); transition: transform 400ms var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { width: 100%; box-shadow: 0 14px 34px rgba(31, 43, 51, 0.28); }
@media (max-width: 720px) { .mobile-cta { display: block; } .site-footer { padding-bottom: 96px; } }

/* ---------- Booking modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(31, 43, 51, 0.55); backdrop-filter: blur(4px); animation: fade 300ms var(--ease); }
.modal-dialog {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-xl); background: var(--bg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  animation: rise-in 400ms var(--ease);
}
.modal-close { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); }
.modal-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; padding-right: 40px; }
.modal-head .h3 { font-size: 26px; }
.modal-head p { color: var(--ink-soft); font-size: 15px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.is-full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field .req { color: #B3261E; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--radius-md); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 15px; transition: border-color var(--fast), box-shadow var(--fast);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: var(--radius-pill); background: var(--sand); margin-bottom: 18px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: background var(--fast), color var(--fast); }
.segmented input:checked + span { background: var(--ink); color: var(--on-ink); }
.segmented input:focus-visible + span { box-shadow: var(--ring); }
.form-foot { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.form-foot small { color: var(--muted); font-size: 13px; text-align: center; }
.form-success { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 20px 0; }
.form-success .arabic { font-size: 40px; color: var(--gold-deep); line-height: 1.2; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }
/* WhatsApp field: country code + number */
.phone-row { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: 8px; }
.field small.muted { font-size: 12px; }
@media (max-width: 420px) { .phone-row { grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); } }

/* Preferred lesson time chips */
.time-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.time-field legend { padding: 0; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.time-field legend .muted { font-weight: 400; font-size: 12.5px; }
.time-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.time-chip { position: relative; cursor: pointer; }
.time-chip input { position: absolute; opacity: 0; pointer-events: none; }
.time-chip span {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; text-align: center;
  border: 1px solid var(--line-strong); border-radius: var(--radius-md); background: var(--surface);
  font-size: 13px; color: var(--muted); transition: border-color var(--fast), background var(--fast), color var(--fast), box-shadow var(--fast);
}
.time-chip strong { font-size: 14px; color: var(--ink); }
.time-chip:hover span { border-color: var(--gold); }
.time-chip input:checked + span { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-deep); box-shadow: inset 0 0 0 1px var(--gold); }
.time-chip input:focus-visible + span { box-shadow: var(--ring); }
.time-error { display: block; margin-top: 6px; font-size: 13px; color: #B3261E; font-weight: 600; }
@media (max-width: 420px) { .time-options { grid-template-columns: 1fr; } .time-chip span { flex-direction: row; justify-content: space-between; padding: 12px 14px; } }

/* Lesson time picker: Time → Review → Payment */
.modal-dialog.is-booking { max-width: 780px; }
.book-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: -6px 0 22px; padding: 0; list-style: none; }
.book-steps li { display: flex; align-items: center; gap: 6px; padding-top: 10px; border-top: 3px solid var(--line); font-size: 13px; color: var(--muted); }
.book-steps li span { font-variant-numeric: tabular-nums; }
.book-steps li.is-done { border-color: var(--gold); }
.book-steps li.is-current { border-color: var(--ink); color: var(--ink); font-weight: 700; }
.slot-picker { display: flex; flex-direction: column; gap: 16px; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.modal-dialog [hidden] { display: none !important; }
.slot-tz { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.slot-tz label { font-size: 14px; font-weight: 600; }
.slot-tz select {
  flex: 1 1 220px; min-width: 0; width: 100%; max-width: 360px; min-height: 44px; padding: 8px 12px; border-radius: var(--radius-md); border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 14px;
}
.slot-tz select:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); }
.week-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.week-nav .btn { min-width: 96px; }
.week-nav .btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; background: transparent; border-color: var(--line-strong); }
.week-label { flex: 1; text-align: center; font-weight: 700; font-size: 15px; }
.week-short { display: none; }
.slot-days { display: flex; flex-direction: column; gap: 18px; min-height: 120px; }
.slot-day h4 { margin-bottom: 8px; font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--ink); }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot {
  min-height: 46px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--bg);
  color: var(--ink); font: inherit; font-size: 15px; font-variant-numeric: tabular-nums; cursor: pointer;
  transition: border-color var(--fast), background var(--fast), box-shadow var(--fast);
}
.slot:hover { border-color: var(--gold); background: var(--gold-soft); }
.slot:focus-visible { outline: none; box-shadow: var(--ring); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.slot-note, .slot-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 120px; text-align: center; color: var(--muted); font-size: 15px; }
.slot-days[aria-busy="true"] { opacity: 0.7; }
.book-summary {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px; padding: 14px 16px;
  border: 1px solid var(--gold); border-radius: var(--radius-md); background: var(--gold-soft);
}
.book-summary .icon { color: var(--gold-deep); }
.book-summary div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.book-summary strong { font-size: 15px; }
.book-summary span { font-size: 13px; color: var(--ink-soft); }
.link-btn { margin-left: auto; padding: 8px 4px; border: 0; background: none; color: var(--gold-deep); font: inherit; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.book-review { display: flex; flex-direction: column; gap: 18px; }
.book-review .h3:focus { outline: none; box-shadow: none; }
.review-list { display: grid; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.review-list > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 14px 18px; border-top: 1px solid var(--line); }
.review-list > div:first-child { border-top: 0; }
.review-list dt { font-size: 13px; color: var(--muted); }
.review-list dd { margin: 0; font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.review-price {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px;
  border: 2px solid var(--gold); border-radius: var(--radius-lg); background: var(--surface); font-weight: 600;
}
.review-price .offer-badge { position: static; transform: none; margin-left: 8px; vertical-align: middle; }
.review-price strong { font-family: var(--font-display); font-size: 30px; font-weight: 500; color: var(--save); }
.review-price del { color: var(--muted); text-decoration-color: #C8553D; text-decoration-thickness: 2px; margin-right: 6px; }
.review-pay { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.paypal-buttons { width: 100%; max-width: 420px; min-height: 52px; color: var(--muted); font-size: 14px; text-align: center; }
.review-change { margin: 0 auto; }
.success-actions { justify-content: center; }
@media (max-width: 520px) {
  .review-list > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 14px; }
  .review-price { flex-wrap: wrap; }
  .week-nav .btn { min-width: 0; padding: 0 14px; }
  .week-label { font-size: 14px; }
  .week-long { display: none; }
  .week-short { display: inline; }
  .slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slot { font-size: 14px; }
}

body.modal-open { overflow: hidden; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: var(--radius-pill); background: var(--ink); color: var(--on-ink); font-size: 14px; box-shadow: var(--shadow-lift);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal (only when JS is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Hero photo: static, no blur or motion ---------- */
.zoom-bar { z-index: 3; }
.hero-still .live-dot { animation: none; }
.hero-still .hero-frame img { object-position: 45% center; }
/* The two text boxes keep floating: gentle drift up/down with a slight sway, out of sync */
.hero-still .float-live { animation: om-drift-a 8s ease-in-out infinite; }
.hero-still .float-word { animation: om-drift-b 9s ease-in-out infinite; animation-delay: -3s; }
@keyframes om-drift-a {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(14px, -16px) rotate(-1.5deg); }
  50% { transform: translate(24px, 4px) rotate(0deg); }
  75% { transform: translate(8px, 14px) rotate(1.5deg); }
}
@keyframes om-drift-b {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-16px, -14px) rotate(1.5deg); }
  50% { transform: translate(-26px, 6px) rotate(0deg); }
  75% { transform: translate(-8px, 16px) rotate(-1.5deg); }
}

/* ---------- PayPal checkout ---------- */
.pay-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: -8px; font-size: 12.5px; color: var(--muted); }
.pay-note .icon { width: 14px; height: 14px; color: var(--gold-deep); }
/* Payment options revealed under the chosen plan */
.plan.is-selected { box-shadow: var(--shadow-lift), 0 0 0 2px var(--gold); }
.plan.is-selected:hover { transform: none; }
.plan-pay {
  display: flex; flex-direction: column; gap: 10px; margin-top: -8px; padding: 16px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg);
  animation: rise-in 350ms var(--ease);
}
.plan-pay[hidden] { display: none; }
.plan-pay-title { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: center; }
.plan-pay-btn { width: 100%; min-width: 0; }
.plan-pay-status { font-size: 14px; color: var(--muted); text-align: center; }
.plan-pay-status:empty { display: none; }
.plan-pay.is-paid { flex-direction: row; align-items: flex-start; gap: 12px; background: var(--save-soft); border-color: rgba(47, 125, 91, 0.35); }
.plan-pay.is-paid:focus { outline: none; }
.plan-pay.is-paid .icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; color: var(--save); stroke-width: 2; }
.plan-pay.is-paid div { display: flex; flex-direction: column; gap: 6px; }
.plan-pay.is-paid strong { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--save); }
.plan-pay.is-paid p { font-size: 14px; color: var(--ink-soft); }
.plan-paid-wa { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--save); text-underline-offset: 3px; }
@media (max-width: 420px) { .plan-pay { padding: 12px; } }
.pay-thanks {
  display: flex; align-items: flex-start; gap: 14px; max-width: 760px; margin: 24px auto 0; padding: 18px 20px;
  border-radius: var(--radius-lg); background: var(--save-soft); border: 1px solid rgba(47, 125, 91, 0.35); color: var(--ink);
  animation: rise-in 500ms var(--ease);
}
.pay-thanks strong { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--save); }
.pay-thanks p { font-size: 15px; color: var(--ink-soft); }
.pay-thanks .icon { width: 26px; height: 26px; color: var(--save); flex-shrink: 0; margin-top: 2px; stroke-width: 2; }
.pay-thanks button { margin-left: auto; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 22px; line-height: 1; }
.pay-thanks button:hover { background: rgba(47, 125, 91, 0.12); }

/* ---------- Trial lesson offer (shown after a trial request) ---------- */
.trial-offer {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%;
  margin-top: 8px; padding: 24px 20px 18px; border-radius: var(--radius-lg); background: var(--surface); border: 2px solid var(--gold);
  box-shadow: var(--shadow-soft); animation: rise-in 500ms var(--ease);
}
.trial-offer[hidden] { display: none; }
.offer-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: var(--radius-pill);
  background: #C8553D; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.offer-price { font-family: var(--font-display); font-size: 22px; line-height: 1.3; color: var(--ink); }
.offer-price strong { font-size: 38px; font-weight: 500; color: var(--save); margin: 0 4px; }
.offer-price del { font-size: 20px; color: var(--muted); text-decoration-color: #C8553D; text-decoration-thickness: 2px; }
.offer-text { font-size: 14px; color: var(--ink-soft); max-width: 360px; }
.offer-secure { font-size: 12px; color: var(--muted); }
/* "Free Call" pop-up that leads to WhatsApp */
.call-dialog { max-width: 440px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding-top: 40px; }
.call-wa-icon {
  display: flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 0 0 8px rgba(37, 211, 102, 0.15), 0 12px 28px rgba(18, 140, 126, 0.3);
  animation: rise-in 500ms var(--ease);
}
.call-wa-icon svg { width: 40px; height: 40px; fill: currentColor; }
.call-badge { padding: 4px 14px; border-radius: var(--radius-pill); background: var(--sage-soft); color: var(--sage); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.call-dialog .h3 { font-size: clamp(22px, 2.4vw, 26px); max-width: 340px; }
.call-text { font-size: 15px; color: var(--ink-soft); max-width: 340px; }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1EBE5A; box-shadow: 0 12px 28px rgba(18, 140, 126, 0.3); }
.call-note { font-size: 12px; color: var(--muted); }

/* Hero opens with the headline (brand block removed) */
.hero-text { gap: 26px; }
.hero .lead { font-size: clamp(18px, 1.7vw, 20px); }

/* Arabic headline above the English one: same size, always one line */
.hero-arabic {
  align-self: flex-start; margin-bottom: -10px;
  font-family: var(--font-arabic); font-weight: 400; font-size: min(clamp(40px, 6.2vw, 68px), 11.3vw); line-height: 1.35;
  color: var(--ink); white-space: nowrap;
}
.hero-arabic-accent { color: var(--gold-deep); }

/* Red hand-drawn underline: draws itself right to left (the Arabic reading direction) */
.hero-arabic-text { position: relative; display: inline-block; }
.hand-underline {
  position: absolute; left: 0; bottom: 0.02em; width: 100%; height: 0.32em;
  overflow: visible; pointer-events: none;
}
.hand-underline path {
  fill: none; stroke: #D93B2B; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hand-draw 1.3s cubic-bezier(0.65, 0, 0.35, 1) 0.7s forwards;
}
@keyframes hand-draw { to { stroke-dashoffset: 0; } }
@media (max-width: 560px) { .hand-underline path { stroke-width: 3.5; } }
@media (prefers-reduced-motion: reduce) { .hand-underline path { animation: none; stroke-dashoffset: 0; } }

/* About photo: still pictures, only the Zoom timer counts up */
.meet-time { margin-left: 4px; font-variant-numeric: tabular-nums; color: #9FE3BF; }
