/* ═══════════════════════════════════════════════
   QFA — BRCGS Lead Auditor Issue 9
   style.css — Premium Executive Design
   RTL Arabic | White-dominant layout
═══════════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --red:        #ED1C24;
  --red-light:  #fdf2f2;
  --red-mid:    rgba(237,28,36,.12);
  --red-border: rgba(237,28,36,.2);

  --black:      #111113;
  --dark:       #1c1c1e;
  --t1:         #111113;
  --t2:         #3a3a3c;
  --t3:         #6c6c70;
  --t4:         #9a9a9e;

  --white:      #ffffff;
  --gray-50:    #f7f8fa;
  --gray-100:   #f0f1f4;
  --gray-200:   #e4e5ea;
  --gray-300:   #c8cad2;

  --shadow-xs:  0 1px 3px rgba(0,0,0,.06);
  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 4px 18px rgba(0,0,0,.1);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  22px;
  --r-pill: 100px;

  --trans:  .2s ease;
  --ease:   cubic-bezier(.4,0,.2,1);

  --sec-pad: 88px;
  --container: 1120px;
  --content-narrow: 720px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: 'Cairo', sans-serif;
  background: var(--white);
  color: var(--t1);
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: clip;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--sec-pad) 0; }
.section-white { background: var(--white); }
.section-gray  { background: var(--gray-50); }

/* ── TYPOGRAPHY ── */
.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: var(--t1);
  line-height: 1.3;
  margin-bottom: 18px;
}
.section-desc {
  font-size: 1rem;
  color: var(--t3);
  line-height: 1.85;
  max-width: var(--content-narrow);
}
.section-header {
  max-width: var(--content-narrow);
  margin: 0 auto 52px;
  text-align: center;
}
.section-header--compact { margin-bottom: 24px; }
.section-header .section-desc,
.section-header.centered .section-desc {
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: var(--r-md);
  transition: all var(--trans);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: #c91019; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(237,28,36,.3); }
.btn-outline {
  background: transparent;
  color: var(--t2);
  border-color: var(--gray-300);
}
.btn-outline:hover { border-color: var(--t2); color: var(--t1); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 9px 20px; font-size: .85rem; }
.btn-disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════ */
#site-header {
  position: sticky; top: 0; z-index: 900;
  height: 66px;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--trans);
}
#site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.07); }
.header-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.5px;
}
.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name { font-size: .9rem; font-weight: 900; color: var(--t1); letter-spacing: .02em; }
.logo-tagline { font-size: .65rem; font-weight: 600; color: var(--t4); }

.nav-links {
  display: flex; align-items: center; gap: 6px; list-style: none;
}
.nav-link {
  font-size: .88rem; font-weight: 600; color: var(--t3);
  padding: 6px 12px; border-radius: var(--r-sm);
  transition: color var(--trans), background var(--trans);
}
.nav-link:hover, .nav-link.active { color: var(--t1); background: var(--gray-100); }
.nav-link.nav-cta {
  background: var(--red); color: #fff;
  padding: 8px 18px;
}
.nav-link.nav-cta:hover { background: #c91019; }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  border-radius: var(--r-sm);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--t2); border-radius: 2px;
  transition: all var(--trans);
}

/* ═══════════════════════════════════════════
   SECTION 1 — HERO
═══════════════════════════════════════════ */
#hero {
  padding: 80px 0 100px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: relative;
  overflow: hidden;
}
/* Subtle precision grid — food safety / audit feel */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--gray-100) 1px, transparent 1px),
    linear-gradient(90deg, var(--gray-100) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.55;
  pointer-events: none;
}
/* Fade the grid out on the text side */
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 90% at 65% 50%, var(--white) 30%, transparent 75%);
  pointer-events: none;
}
/* Two-column layout: text left (RTL start = right), visual panel */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.hero-text { /* natural flow */ }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  color: var(--red);
  font-size: .82rem; font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 28px;
}
.hero-eyebrow i { font-size: .75rem; }
.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--t1);
  line-height: 1.2;
  margin-bottom: 10px;
}
.hero-title-sub {
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 700;
  color: var(--t3);
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--t2);
  line-height: 1.9;
  max-width: 640px;
  margin-bottom: 36px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-bottom: 36px;
}
.hero-meta-item {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-pill);
  padding: 7px 14px;
  font-size: .85rem; font-weight: 600; color: var(--t2);
}
.hero-meta-item i { color: var(--red); font-size: .8rem; }
.hero-meta-item.highlighted { background: var(--red-light); border-color: var(--red-border); color: var(--red); }

/* Hero platform trust note */
.hero-platform-note {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 11px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-right: 3px solid var(--red);
  border-radius: var(--r-md);
  font-size: .84rem; font-weight: 500; color: var(--t3); line-height: 1.65;
  margin-bottom: 28px;
  max-width: 600px;
}
.hero-platform-note i { color: var(--red); margin-top: 2px; min-width: 14px; font-size: .8rem; }

/* Hero credential bar (replaces meta pills) */
.hero-creds {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin-bottom: 36px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 14px 20px;
  width: fit-content;
}
.hero-cred-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .88rem; font-weight: 600; color: var(--t2);
  padding: 0 14px;
}
.hero-cred-item:first-child { padding-right: 0; }
.hero-cred-item i { color: var(--red); font-size: .8rem; }
.hero-cred-sep {
  color: var(--gray-300);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1;
  user-select: none;
}

/* Seats counter */
.seats-counter {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 14px 20px;
  margin-bottom: 36px;
}
.seats-counter.seats-unavailable {
  border-color: rgba(237,28,36,.25);
  background: var(--red-light);
}
.pricing-unavailable-note {
  margin-top: 12px;
  font-size: .82rem; color: var(--t3); line-height: 1.65;
  text-align: center;
}
.seats-icon {
  width: 40px; height: 40px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--red);
}
.seats-info { display: flex; flex-direction: column; }
.seats-number {
  font-size: 1.4rem; font-weight: 900; color: var(--red); line-height: 1;
}
.seats-label { font-size: .78rem; font-weight: 600; color: var(--t3); margin-top: 2px; }
.seats-bar-wrap { flex: 1; max-width: 120px; }
.seats-bar {
  height: 5px; background: var(--gray-200);
  border-radius: 100px; overflow: hidden;
}
.seats-fill {
  height: 100%; background: var(--red);
  border-radius: 100px;
  transition: width 1.2s var(--ease);
}
.seats-fill.urgent { background: var(--red); }
.seats-sold-out { color: var(--red); font-weight: 700; font-size: .88rem; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   SECTION 2 — WHAT YOU GET
═══════════════════════════════════════════ */
#what-you-get { background: var(--gray-50); }
.wyg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
/* 2×2 variant for 4 cards */
.wyg-grid--2x2 {
  grid-template-columns: 1fr 1fr;
}
.wyg-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.wyg-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--gray-300); }
.wyg-card.wyg-main {
  border-color: var(--red-border);
  background: var(--white);
}
.wyg-card.wyg-main::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 3px; background: var(--red);
}
.wyg-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--red);
  margin-bottom: 18px;
}
.wyg-card:not(.wyg-main) .wyg-icon {
  background: var(--gray-100); border-color: var(--gray-200); color: var(--t3);
}
.wyg-card-title {
  font-size: 1rem; font-weight: 800; color: var(--t1);
  margin-bottom: 6px; line-height: 1.4;
}
.wyg-card-en {
  display: block;
  font-size: .72rem; font-weight: 600; color: var(--t4);
  margin-bottom: 10px; line-height: 1.4;
}
.wyg-card-desc {
  font-size: .88rem; color: var(--t3); line-height: 1.8;
}
/* QFA Platform card variant */
.wyg-icon--platform {
  background: var(--red-light) !important;
  border-color: var(--red-border) !important;
  color: var(--red) !important;
}

/* ═══════════════════════════════════════════
   SECTION 3 — REALITY GAP
═══════════════════════════════════════════ */
#reality { background: var(--white); }
.reality-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.reality-text .section-desc { margin-bottom: 28px; }
.reality-points {
  display: flex; flex-direction: column; gap: 12px;
}
.reality-point {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: .9rem; font-weight: 600; color: var(--t2);
  transition: all var(--trans);
}
.reality-point:hover { border-color: var(--red-border); background: var(--red-light); }
.reality-point i { color: var(--red); margin-top: 3px; min-width: 14px; }
.reality-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.reality-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 24px 22px;
  transition: all var(--trans);
}
.reality-card:hover { box-shadow: var(--shadow-sm); border-color: var(--gray-300); }
.rc-number {
  font-size: 2.2rem; font-weight: 900;
  color: var(--red);
  line-height: 1; margin-bottom: 10px;
}
.rc-title { font-size: .9rem; font-weight: 800; color: var(--t1); margin-bottom: 6px; }
.rc-desc { font-size: .82rem; color: var(--t3); line-height: 1.7; }

/* ═══════════════════════════════════════════
   SECTION 4 — WHY DIFFERENT
═══════════════════════════════════════════ */
#why-different { background: var(--gray-50); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
/* 5-card compact variant: 3+2 layout */
.why-grid--compact {
  grid-template-columns: repeat(3, 1fr);
}
.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  transition: all var(--trans);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 3px; background: transparent;
  transition: background var(--trans);
}
.why-card:hover::before { background: var(--red); }
.why-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--gray-300); }
.why-card-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: var(--t3);
  margin-bottom: 14px;
  transition: all var(--trans);
}
.why-card:hover .why-card-icon { background: var(--red-light); border-color: var(--red-border); color: var(--red); }
.why-card-title { font-size: .88rem; font-weight: 800; color: var(--t1); margin-bottom: 6px; line-height: 1.4; }
.why-card-desc { font-size: .8rem; color: var(--t3); line-height: 1.75; }

/* ═══════════════════════════════════════════
   SECTION 5 — TRAINING FORMAT
═══════════════════════════════════════════ */
#training-format { background: var(--white); }
.tf-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
.tf-dates-label {
  font-size: .78rem; font-weight: 700; color: var(--t4);
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 20px;
}
.tf-date-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 28px;
}
.tf-date-pill {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 10px 18px;
  text-align: center;
  transition: all var(--trans);
}
.tf-date-pill .day-num { font-size: 1.4rem; font-weight: 900; color: var(--t1); line-height: 1; }
.tf-date-pill .day-month { font-size: .7rem; font-weight: 700; color: var(--t4); margin-top: 3px; }
.tf-date-pill:hover { border-color: var(--red-border); background: var(--red-light); }
.tf-date-pill:hover .day-num { color: var(--red); }

.tf-timing {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 600; color: var(--t2);
  margin-bottom: 28px;
}
.tf-timing i { color: var(--red); }

.tf-features {
  display: flex; flex-direction: column; gap: 10px;
}
.tf-feature {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: .88rem; font-weight: 600; color: var(--t2);
}
.tf-feature i { color: var(--red); min-width: 14px; }

.tf-sidebar-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 30px;
}
.tf-sidebar-title { font-size: .88rem; font-weight: 800; color: var(--t1); margin-bottom: 18px; }
.tf-sidebar-rows { display: flex; flex-direction: column; gap: 14px; }
.tf-sidebar-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
  font-size: .88rem;
}
.tf-sidebar-row:last-child { border-bottom: none; padding-bottom: 0; }
.tsr-label { color: var(--t3); font-weight: 600; }
.tsr-value { color: var(--t1); font-weight: 700; }

/* ═══════════════════════════════════════════
   SECTION 6 — VIDEO
═══════════════════════════════════════════ */
#video-section {
  background: var(--gray-50);
  padding: 52px 0;           /* tighter than default --sec-pad */
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

/* Section heading — layout + typography overrides for this section only */
/* NOTE: section ID was renamed from video-section to vi-section during restructure */
#vi-section .section-header,
#video-section .section-header {
  max-width: var(--content-narrow);
  margin: 0 auto 32px;
  text-align: center;
}
#vi-section .section-header .section-title,
#video-section .section-header .section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  line-height: 1.25;
}
#vi-section .section-header .section-desc,
#video-section .section-header .section-desc {
  display: block;
  max-width: var(--content-narrow);
  width: 100%;
  margin-inline: auto;
  text-align: center; /* explicit — not relying solely on parent inheritance */
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.9;
}

/* Premium card frame */
.video-card {
  max-width: var(--content-narrow);
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Red accent line at the top of the card */
.video-card::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--red);
}

/* Card header row */
.vc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px 16px;
  border-bottom: 1px solid var(--gray-100);
}
.vc-play-badge {
  width: 36px; height: 36px;
  flex-shrink: 0;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--red);
}
.vc-header-text { display: flex; flex-direction: column; gap: 2px; }
.vc-label {
  font-size: .88rem; font-weight: 800; color: var(--t1); line-height: 1.3;
}
.vc-sub {
  font-size: .78rem; color: var(--t3); line-height: 1.55; margin: 0;
}

/* Video wrapper inside card */
.video-wrap { padding: 18px; }
.video-container {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-sm);
}
.video-element { width: 100%; height: 100%; object-fit: contain; display: block; }

@media (max-width: 768px) {
  #video-section { padding: 40px 0; }
  .vc-header { padding: 14px 16px 12px; gap: 10px; }
  .video-wrap  { padding: 12px; }
}
.video-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35);
  cursor: pointer;
  transition: background var(--trans);
}
.video-play-overlay:hover { background: rgba(0,0,0,.45); }
.video-play-btn {
  width: 72px; height: 72px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--red);
  box-shadow: var(--shadow-lg);
  transition: transform var(--trans), box-shadow var(--trans);
}
.video-play-overlay:hover .video-play-btn { transform: scale(1.08); box-shadow: 0 12px 40px rgba(0,0,0,.3); }
.video-pending {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: var(--dark);
  color: #fff; gap: 12px;
}
.video-pending-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: rgba(255,255,255,.5);
  margin-bottom: 4px;
}
.video-pending-text { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.85); }
.video-pending-sub { font-size: .82rem; color: rgba(255,255,255,.45); max-width: 320px; text-align: center; line-height: 1.7; }

/* ═══════════════════════════════════════════
   SECTION 7 — EDUCATIONAL PACKAGE
═══════════════════════════════════════════ */
#educational { background: var(--white); }
.edu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.edu-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition: all var(--trans);
}
.edu-card:hover { border-color: var(--gray-300); transform: translateY(-1px); }
.edu-file-icon {
  width: 42px; height: 50px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 8px 8px 3px 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--red);
  margin-bottom: 14px;
  position: relative;
}
.edu-file-icon::after {
  content: 'PDF';
  position: absolute; bottom: -9px; right: 4px;
  background: var(--red); color: #fff;
  font-size: .45rem; font-weight: 900;
  padding: 2px 5px; border-radius: 3px;
  letter-spacing: .06em;
}
.edu-card-title { font-size: .88rem; font-weight: 800; color: var(--t1); margin-bottom: 6px; line-height: 1.4; }
.edu-card-desc { font-size: .78rem; color: var(--t3); line-height: 1.7; }
.edu-note {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: .85rem; color: var(--t3); line-height: 1.7;
}
.edu-note i { color: var(--red); margin-left: 8px; }

/* ═══════════════════════════════════════════
   SECTION 8 — PROFESSIONAL PACKAGE
═══════════════════════════════════════════ */
#professional { background: var(--gray-50); }
.pro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pro-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition: all var(--trans);
}
.pro-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--gray-300); }
.pro-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.pro-card-icon {
  width: 32px; height: 32px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
}
.pro-card-icon.excel { background: rgba(16,124,65,.1); color: #107c41; }
.pro-card-icon.word  { background: rgba(40,86,166,.1);  color: #2856a6; }
.pro-card-icon.pdf   { background: var(--red-light);    color: var(--red); }
.pro-format-badge {
  font-size: .55rem; font-weight: 900;
  padding: 2px 8px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: .05em;
}
.pro-format-badge.excel { background: rgba(16,124,65,.1); color: #107c41; }
.pro-format-badge.word  { background: rgba(40,86,166,.1); color: #2856a6; }
.pro-format-badge.pdf   { background: var(--red-light);   color: var(--red); }
.pro-card-title { font-size: .88rem; font-weight: 800; color: var(--t1); margin-bottom: 4px; line-height: 1.4; }
.pro-card-en    { font-size: .72rem; font-weight: 700; color: var(--t4); margin-bottom: 8px; }
.pro-card-desc  { font-size: .78rem; color: var(--t3); line-height: 1.7; }

.pro-cert-note {
  margin-top: 32px;
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  font-size: .88rem; color: var(--t2); line-height: 1.75;
}
.pro-cert-note i { color: var(--red); font-size: 1.1rem; margin-top: 2px; min-width: 18px; }

/* ═══════════════════════════════════════════
   SECTION 6 — COMBINED PACKAGES
═══════════════════════════════════════════ */
#packages { background: var(--gray-50); }

/* Package tab switcher */
.pkg-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
}
.pkg-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: .92rem;
  font-weight: 700;
  border: 2px solid var(--gray-200);
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--t3);
  cursor: pointer;
  transition: all var(--trans);
}
.pkg-tab:hover {
  border-color: var(--gray-300);
  color: var(--t1);
}
.pkg-tab.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 4px 14px rgba(237,28,36,.25);
}
.pkg-tab i { font-size: .85rem; }

.pkg-panel { display: block; }

/* ═══════════════════════════════════════════
   SECTION 7 — TARGET AUDIENCE
═══════════════════════════════════════════ */
#who { background: var(--white); }
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* 4-card compact: 2-col */
.who-grid--compact {
  grid-template-columns: repeat(2, 1fr);
}
.who-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px 26px;
  transition: all var(--trans);
  position: relative; overflow: hidden;
}
.who-card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 3px; background: transparent;
  transition: background var(--trans);
}
.who-card:hover::before { background: var(--red); }
.who-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: var(--gray-300); }
.who-card-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--t3);
  margin-bottom: 16px;
  transition: all var(--trans);
}
.who-card:hover .who-card-icon { background: var(--red-light); border-color: var(--red-border); color: var(--red); }
.who-card-title { font-size: .95rem; font-weight: 800; color: var(--t1); margin-bottom: 8px; line-height: 1.4; }
.who-card-desc  { font-size: .83rem; color: var(--t3); line-height: 1.8; }

.who-note {
  margin-top: 32px;
  padding: 16px 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-right: 3px solid var(--red);
  border-radius: var(--r-md);
  font-size: .9rem; color: var(--t2);
  display: flex; gap: 10px; align-items: flex-start;
}
.who-note i { color: var(--red); margin-top: 2px; }

/* ═══════════════════════════════════════════
   SECTION 10 — INSTRUCTOR
═══════════════════════════════════════════ */
#instructor { background: var(--white); }
.instructor-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
.instructor-photo-wrap { position: relative; }
.instructor-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}
.instructor-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.instructor-photo-placeholder {
  display: flex; flex-direction: column; gap: 10px;
  align-items: center; justify-content: center;
  color: var(--t4);
}
.instructor-photo-placeholder i { font-size: 3rem; }
.instructor-photo-placeholder span { font-size: .75rem; font-weight: 600; }

.instructor-badge {
  position: absolute; bottom: -14px; right: -14px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 8px;
}
.ib-icon {
  width: 28px; height: 28px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: var(--red);
}
.ib-text { font-size: .72rem; font-weight: 700; color: var(--t2); line-height: 1.3; }

.instructor-name  { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 900; color: var(--t1); margin-bottom: 6px; }
.instructor-role  { font-size: .95rem; font-weight: 600; color: var(--t3); margin-bottom: 24px; }
.instructor-bio   { font-size: .95rem; color: var(--t2); line-height: 1.9; margin-bottom: 28px; max-width: 520px; }

.instructor-creds { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.cred-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: .88rem; font-weight: 600; color: var(--t2);
  transition: all var(--trans);
}
.cred-row:hover { border-color: var(--gray-300); box-shadow: var(--shadow-xs); }
.cred-row i { color: var(--red); margin-top: 2px; min-width: 14px; }

/* ═══════════════════════════════════════════
   SECTION 11 — FEES
═══════════════════════════════════════════ */
#pricing { background: var(--gray-50); }
.pricing-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 56px;
  align-items: start;
}
.pricing-panel {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  gap: 16px;
}
.pricing-row + .pricing-row { border-top: 1px solid var(--gray-200); }
.pricing-row-info { display: flex; align-items: center; gap: 14px; }
.pricing-flag { font-size: 1.6rem; line-height: 1; }
.pricing-row-label { font-size: .92rem; font-weight: 700; color: var(--t1); }
.pricing-row-sub   { font-size: .78rem; color: var(--t3); margin-top: 3px; }
.pricing-amount {
  display: flex; align-items: baseline; gap: 6px;
}
.pricing-num  { font-size: 1.8rem; font-weight: 900; color: var(--t1); line-height: 1; }
.pricing-cur  { font-size: .85rem; font-weight: 700; color: var(--t3); }
.pricing-note {
  padding: 16px 28px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  font-size: .82rem; color: var(--t3); line-height: 1.7;
}
.pricing-note i { color: var(--red); margin-left: 6px; }

.pricing-includes { margin-top: 28px; }
.pricing-includes-title { font-size: .88rem; font-weight: 800; color: var(--t1); margin-bottom: 14px; }
.pricing-includes-list {
  display: flex; flex-direction: column; gap: 10px;
}
.pil-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--t2);
}
.pil-item i { color: var(--red); margin-top: 3px; min-width: 14px; }

.pricing-cert-note {
  margin-top: 24px;
  padding: 16px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-right: 3px solid var(--red);
  border-radius: var(--r-md);
  font-size: .83rem; color: var(--t3); line-height: 1.75;
}

.pricing-seats { margin-top: 32px; }
.pricing-seats-label { font-size: .82rem; font-weight: 700; color: var(--t4); margin-bottom: 10px; }
.pricing-seats-count {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px;
}
.psn { font-size: 2rem; font-weight: 900; color: var(--red); line-height: 1; }
.pso { font-size: .88rem; color: var(--t4); }
.pricing-cta { margin-top: 28px; }

/* ═══════════════════════════════════════════
   SECTION 12 — REGISTRATION FORM
═══════════════════════════════════════════ */
#booking { background: var(--white); }
.booking-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 52px;
  align-items: start;
}
.booking-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 0; }
.form-row-single { margin-bottom: 18px; }
.form-row + .form-row, .form-row-single + .form-row, .form-row + .form-row-single { margin-top: 18px; }
.form-row-spaced { margin-top: 18px; }
.form-group-spaced { margin-top: 14px; }
.form-label {
  font-size: .83rem; font-weight: 700; color: var(--t2);
}
.req { color: var(--red); }
.form-control {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Cairo', sans-serif;
  font-size: .9rem; font-weight: 500;
  color: var(--t1);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  direction: rtl;
}
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(237,28,36,.08); }
.form-control::placeholder { color: var(--t4); font-size: .85rem; }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 90px; }
.form-hint { font-size: .75rem; color: var(--t4); margin-top: 4px; }

/* ── Phone / WhatsApp field ─────────────────────────────────
   Root cause: html[dir="rtl"] makes intl-tel-input v17 believe
   the input is RTL and set padding-RIGHT instead of padding-LEFT.
   Our flag container is positioned left:0, so text is typed
   directly behind the flag and becomes invisible.
   Fix layer 1 (CSS): force correct padding via !important so it
   overrides ITI's inline style before JS recalculates it.
   Fix layer 2 (JS): applyPadding() in initPhone() recalculates
   the exact flag width and applies it on init + every countrychange.
──────────────────────────────────────────────────────────── */
.form-group--phone .iti            { width: 100%; direction: ltr; }
.form-group--phone .iti input      { direction: ltr; text-align: left; }

/* Flag container always on the left (LTR layout inside RTL page) */
.iti__flag-container               { right: auto !important; left: 0 !important; }

/* Override ITI's inline padding-right with correct padding-left.
   96px safely covers any country dial code (+XX to +XXXX + flag).
   JS will recalculate the exact value on first render. */
.form-group--phone .iti--separate-dial-code input[type="tel"],
.iti--separate-dial-code input[type="tel"]#phone {
  padding-left:  96px !important;   /* clear the flag+dialcode on the left  */
  padding-right: 14px !important;   /* reset the incorrect RTL padding-right */
}

/* Ensure text and background are always visible */
.form-group--phone .iti input[type="tel"],
#phone {
  color: var(--t1) !important;
  background: var(--white) !important;
  -webkit-text-fill-color: var(--t1) !important;
  opacity: 1 !important;
}
.form-group--phone .iti input[type="tel"]::placeholder,
#phone::placeholder {
  color: var(--t4) !important;
  -webkit-text-fill-color: var(--t4) !important;
}

/* Harden all form-controls against browser autofill color override */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--t1) !important;
  -webkit-box-shadow: 0 0 0 1000px var(--white) inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* Auto fee display */
.fee-auto-box {
  display: none;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 18px 20px;
  margin-top: 18px;
}
.fee-auto-box.show { display: block; }
.fee-auto-box.show.egypt { border-color: var(--red-border); background: var(--red-light); }
.fab-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fab-label { font-size: .82rem; font-weight: 700; color: var(--t3); }
.fab-amount { font-size: 1.35rem; font-weight: 900; color: var(--t1); }
.fab-note { font-size: .78rem; color: var(--t3); line-height: 1.65; }

/* Payment panel */
.payment-panel {
  margin-top: 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 20px;
}
.payment-panel-title {
  font-size: .88rem; font-weight: 800; color: var(--t1);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.payment-panel-title i { color: var(--red); }
.payment-panel p { font-size: .85rem; color: var(--t3); line-height: 1.75; }
.file-input { padding: 8px 0; }

/* Payment method cards */
.pay-methods { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.pay-method-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 14px 16px;
}
.pay-method-label {
  font-size: .82rem; font-weight: 700; color: var(--t1);
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-100);
}
.pay-method-label i { color: var(--red); font-size: .78rem; }
.pay-method-rows { display: flex; flex-direction: column; gap: 6px; }
.pay-row { display: flex; align-items: baseline; gap: 10px; font-size: .82rem; }
.pay-key { color: var(--t3); min-width: 90px; flex-shrink: 0; font-size: .78rem; }
.pay-val { color: var(--t1); font-weight: 600; word-break: break-all; }
.pay-val.ltr { direction: ltr; unicode-bidi: embed; font-size: .78rem; letter-spacing: .02em; }
.pay-confirm-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 14px;
  font-size: .79rem; color: var(--t2); line-height: 1.65;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 8px; padding: 10px 12px;
}
.pay-confirm-note i { color: #d97706; margin-top: 2px; flex-shrink: 0; font-size: .8rem; }
.pay-intl-note {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 8px;
  font-size: .79rem; color: var(--t2); line-height: 1.65;
  background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: 8px; padding: 10px 12px;
}
.pay-intl-note i { color: var(--red); margin-top: 2px; flex-shrink: 0; font-size: .8rem; }
.pay-method-note {
  font-size: .78rem; color: #b45309; line-height: 1.6;
  margin-top: 10px;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 7px;
  padding: 8px 11px;
}

/* Form feedback */
.form-success {
  display: none;
  flex-direction: column; align-items: center;
  text-align: center; gap: 14px;
  padding: 40px 32px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
}
.form-success.visible { display: flex; }
.form-success-icon { font-size: 2.8rem; color: var(--red); }
.form-success h3 { font-size: 1.25rem; font-weight: 900; color: var(--t1); }
.form-success p { font-size: .9rem; color: var(--t3); line-height: 1.8; max-width: 440px; }
.form-error {
  display: none;
  align-items: center; gap: 10px;
  background: #fff5f5;
  border: 1px solid var(--red-border);
  border-radius: var(--r-md);
  padding: 13px 18px;
  font-size: .88rem; font-weight: 600; color: var(--red);
  margin-bottom: 18px;
}
.form-error.visible { display: flex; }
.field-error { font-size: .75rem; color: var(--red); margin-top: 4px; display: block; }
.input-error { border-color: var(--red) !important; }
.sold-out { color: var(--red) !important; font-weight: 700; }

.form-submit-area { margin-top: 24px; }
.form-legal {
  margin-top: 12px; font-size: .77rem; color: var(--t4);
  display: flex; align-items: center; gap: 6px; justify-content: center;
}
.form-legal i { color: var(--t4); }

/* Booking sidebar */
.booking-sidebar { display: flex; flex-direction: column; gap: 20px; }
.bs-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 24px 22px;
}
.bs-card-title { font-size: .85rem; font-weight: 800; color: var(--t1); margin-bottom: 14px; }
.bs-seats-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.bs-seats-label {
  font-size: .82rem;
  color: var(--t3);
}
.bs-seats-bar { margin-top: 12px; }
.bs-contact-link { color: var(--t2); }
.bs-list { display: flex; flex-direction: column; gap: 10px; }
.bs-list-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .84rem; color: var(--t2); line-height: 1.6;
}
.bs-list-item i { color: var(--red); margin-top: 3px; min-width: 14px; }

/* ═══════════════════════════════════════════
   SECTION 13 — FINAL CTA / CONTACT
═══════════════════════════════════════════ */
/* Final CTA — light executive redesign */
#final-cta {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 80px 0 96px;
  text-align: center;
  position: relative;
}
#final-cta::before { display: none; }

.fc-platform {
  font-size: .72rem; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 8px;
}
.fc-label {
  color: var(--t4); font-size: .8rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; margin-bottom: 14px;
}
.fc-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 900; color: var(--t1); margin-bottom: 16px; line-height: 1.3; }
.fc-desc { font-size: .97rem; color: var(--t3); line-height: 1.85; max-width: 520px; margin: 0 auto 32px; }
.fc-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.btn-white { background: #fff; color: var(--t1); border: 2px solid var(--gray-200); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); }
.fc-contact {
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}
.fc-contact-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 600;
  color: var(--t3);
  transition: color var(--trans);
}
.fc-contact-item:hover { color: var(--t1); }
.fc-contact-item i { font-size: .88rem; }
.fc-sold-out { color: var(--t3); font-size: .95rem; font-weight: 600; }

/* ── Instructor credentials grid ── */
.instructor-creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.icg-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 15px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color var(--trans);
}
.icg-item:hover { border-color: var(--gray-300); }
.icg-icon {
  width: 30px; height: 30px; min-width: 30px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--red);
}
.icg-text { font-size: .84rem; font-weight: 700; color: var(--t1); line-height: 1.35; }
.icg-text span { display: block; font-size: .74rem; font-weight: 500; color: var(--t3); margin-top: 3px; }

/* ── Packages QFA value note ── */
.pkg-value-note {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  margin-bottom: 28px;
}
.pvn-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--red-light); border: 1px solid var(--red-border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; color: var(--red);
}
.pvn-text strong { display: block; font-size: .88rem; font-weight: 800; color: var(--t1); margin-bottom: 4px; }
.pvn-text span   { font-size: .8rem; color: var(--t3); line-height: 1.65; }

/* ── Form section grouping labels ── */
.form-section-label {
  font-size: .73rem; font-weight: 800; color: var(--t4);
  text-transform: uppercase; letter-spacing: .07em;
  padding: 20px 0 10px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.form-section-label--spaced { margin-top: 8px; }
.form-section-opt {
  font-size: .7rem; font-weight: 600; color: var(--t4);
  background: var(--gray-100); border-radius: var(--r-pill);
  padding: 2px 9px; text-transform: none; letter-spacing: 0;
}
.form-opt-tag {
  font-size: .72rem; font-weight: 500; color: var(--t4);
  background: var(--gray-100); border-radius: var(--r-pill);
  padding: 1px 8px; margin-right: 6px;
}

/* ── PIL QFA items (packages included from QFA) ── */
.pil-item.pil-qfa { font-weight: 600; color: var(--t2); }
.pil-item.pil-qfa i { color: var(--red); }

/* ── Refund policy note ── */
.refund-policy-note {
  margin-top: 20px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-right: 3px solid var(--t4);
  border-radius: var(--r-md);
  font-size: .83rem; color: var(--t3); line-height: 1.75;
}
.refund-policy-note i { color: var(--t4); margin-top: 3px; min-width: 14px; }
.refund-policy-note strong { color: var(--t2); }

/* ── Hero visual card ── */
.hero-visual { align-self: start; }
.hv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 88px;
}
.hv-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red-light); border: 1px solid var(--red-border);
  color: var(--red); font-size: .73rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.hv-badge i { font-size: .7rem; }
.hv-stats-row {
  display: flex; align-items: center;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 18px 14px;
  margin-bottom: 20px;
}
.hv-stat { flex: 1; text-align: center; }
.hv-stat-num { display: block; font-size: 1.75rem; font-weight: 900; color: var(--t1); line-height: 1; }
.hv-stat-lbl { display: block; font-size: .7rem; font-weight: 600; color: var(--t4); margin-top: 4px; }
.hv-stat-sep { width: 1px; height: 38px; background: var(--gray-200); flex-shrink: 0; }
.hv-checklist { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.hv-check {
  display: flex; align-items: center; gap: 9px;
  font-size: .83rem; font-weight: 600; color: var(--t2);
}
.hv-check i { color: var(--red); font-size: .77rem; min-width: 14px; }
.hv-platform {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  border-right: 3px solid var(--red);
}
.hv-platform-icon {
  width: 30px; height: 30px; min-width: 30px;
  background: var(--red-light); border: 1px solid var(--red-border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--red);
}
.hv-platform-text span   { display: block; font-size: .67rem; color: var(--t4); font-weight: 600; margin-bottom: 1px; }
.hv-platform-text strong { display: block; font-size: .76rem; color: var(--t1); font-weight: 800; }

/* ── Floating WhatsApp Button ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 850;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,211,102,.40), 0 1px 4px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 8px 28px rgba(37,211,102,.50), 0 2px 8px rgba(0,0,0,.10);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --sec-pad: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; }
  .hv-card { position: static; }
  .wyg-grid, .wyg-grid--2x2 { grid-template-columns: 1fr 1fr; }
  .why-grid, .why-grid--compact  { grid-template-columns: repeat(2, 1fr); }
  .edu-grid  { grid-template-columns: repeat(3, 1fr); }
  .pro-grid  { grid-template-columns: repeat(3, 1fr); }
  .who-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .tf-layout, .pricing-layout, .booking-layout { grid-template-columns: 1fr; gap: 40px; }
  .instructor-layout { grid-template-columns: 260px 1fr; gap: 44px; }
}
@media (max-width: 768px) {
  :root { --sec-pad: 56px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 66px; right: 0; left: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    padding: 12px 16px; gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: flex; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-creds { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
  .hero-cred-sep { display: none; }
  .hero-cred-item { padding: 0; }
  .hero-visual { display: none; }
  .wyg-grid, .wyg-grid--2x2 { grid-template-columns: 1fr; }
  .why-grid, .why-grid--compact { grid-template-columns: 1fr 1fr; }
  .edu-grid   { grid-template-columns: 1fr 1fr; }
  .pro-grid   { grid-template-columns: 1fr 1fr; }
  .who-grid, .who-grid--compact { grid-template-columns: 1fr 1fr; }
  .instructor-layout { grid-template-columns: 1fr; }
  .instructor-photo { max-width: 260px; }
  .instructor-creds-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .fc-actions { flex-direction: column; align-items: center; }
  #sticky-cta.show { display: flex; }
  .pkg-tabs { flex-wrap: wrap; }
  .pkg-tab { padding: 10px 18px; font-size: .85rem; }
  .wa-float { bottom: 76px; left: 20px; width: 50px; height: 50px; font-size: 1.35rem; }
}
@media (max-width: 480px) {
  :root { --sec-pad: 48px; }
  .why-grid, .why-grid--compact,
  .edu-grid, .pro-grid,
  .who-grid, .who-grid--compact { grid-template-columns: 1fr; }
  .hero-meta { gap: 8px; }
}rid ── */
.instructor-creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.icg-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 15px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color var(--trans);
}
.icg-item:hover { border-color: var(--gray-300); }
.icg-icon {
  width: 30px; height: 30px; min-width: 30px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--red);
}
.icg-text { font-size: .84rem; font-weight: 700; color: var(--t1); line-height: 1.35; }
.icg-text span { display: block; font-size: .74rem; font-weight: 500; color: var(--t3); margin-top: 3px; }

/* ── Packages QFA value note ── */
.pkg-value-note {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  margin-bottom: 28px;
}
.pvn-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; color: var(--red);
}
.pvn-text strong { display: block; font-size: .88rem; font-weight: 800; color: var(--t1); margin-bottom: 4px; }
.pvn-text span { font-size: .8rem; color: var(--t3); line-height: 1.65; }

/* ── Pricing policy note ── */
.pricing-policy-note {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: .85rem; font-weight: 600; color: var(--t2);
  margin-bottom: 24px;
}
.pricing-policy-note i { color: var(--red); min-width: 14px; }

/* ── Form section grouping labels ── */
.form-section-label {
  font-size: .73rem; font-weight: 800; color: var(--t4);
  text-transform: uppercase; letter-spacing: .07em;
  padding: 20px 0 10px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.form-section-opt {
  font-size: .7rem; font-weight: 600; color: var(--t4);
  background: var(--gray-100); border-radius: var(--r-pill);
  padding: 2px 9px; text-transform: none; letter-spacing: 0;
}
.form-opt-tag {
  font-size: .72rem; font-weight: 500; color: var(--t4);
  background: var(--gray-100); border-radius: var(--r-pill);
  padding: 1px 8px; margin-right: 6px;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#footer {
  background: var(--black);
  padding: 40px 0 28px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-logo-mark {
  width: 30px; height: 30px;
  background: var(--red);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 900; color: #fff;
}
.footer-logo-text { font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.6); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { font-size: .82rem; color: rgba(255,255,255,.4); transition: color var(--trans); }
.footer-links a:hover { color: rgba(255,255,255,.75); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.25); }

/* ═══════════════════════════════════════════
   STICKY MOBILE CTA
═══════════════════════════════════════════ */
#sticky-cta {
  position: fixed; bottom: 0; right: 0; left: 0;
  z-index: 800;
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 12px 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  align-items: center; justify-content: center; gap: 12px;
}
#sticky-cta.show { display: flex; }
.sticky-cta-text { font-size: .85rem; font-weight: 600; color: var(--t3); }

/* ═══════════════════════════════════════════
   POLISH ROUND — NEW COMPONENTS
═══════════════════════════════════════════ */

/* ── Instructor credentials grid ── */
.instructor-creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.icg-item {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 13px 15px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color var(--trans);
}
.icg-item:hover { border-color: var(--gray-300); }
.icg-icon {
  width: 30px; height: 30px; min-width: 30px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--red);
}
.icg-text {
  font-size: .84rem; font-weight: 700; color: var(--t1); line-height: 1.35;
}
.icg-text span {
  display: block; font-size: .74rem; font-weight: 500; color: var(--t3); margin-top: 3px;
}

/* ── Packages QFA value note ── */
.pkg-value-note {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  margin-bottom: 28px;
}
.pvn-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; color: var(--red);
}
.pvn-text strong {
  display: block; font-size: .88rem; font-weight: 800; color: var(--t1); margin-bottom: 4px;
}
.pvn-text span { font-size: .8rem; color: var(--t3); line-height: 1.65; }

/* ── Pricing policy note ── */
.pricing-policy-note {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: .85rem; font-weight: 600; color: var(--t2);
  margin-bottom: 24px;
}
.pricing-policy-note i { color: var(--red); min-width: 14px; }

/* ── Form section grouping ── */
.form-section-label {
  font-size: .73rem; font-weight: 800; color: var(--t4);
  text-transform: uppercase; letter-spacing: .07em;
  padding: 20px 0 10px;
  border-bottom: 1px solid var(--gray-100);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.form-section-opt {
  font-size: .7rem; font-weight: 600; color: var(--t4);
  background: var(--gray-100); border-radius: var(--r-pill);
  padding: 2px 9px; text-transform: none; letter-spacing: 0;
}
.form-opt-tag {
  font-size: .72rem; font-weight: 500; color: var(--t4);
  background: var(--gray-100); border-radius: var(--r-pill);
  padding: 1px 8px; margin-right: 6px;
}

/* ── Final CTA — Light redesign ── */
#final-cta {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 80px 0 96px;
  text-align: center;
  position: relative;
}
/* Remove the dark gradient overlay */
#final-cta::before { display: none; }

.fc-platform {
  font-size: .72rem; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 8px;
}
/* Override previously dark-themed text to light */
.fc-label  { color: var(--t4); font-size: .82rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 12px; }
.fc-title  { color: var(--t1); }
.fc-desc   { color: var(--t3); }
.fc-contact-item { color: var(--t3); }
.fc-contact-item:hover { color: var(--t1); }
.fc-sold-out { color: var(--t3); font-size: .95rem; font-weight: 600; }
/* Divider between contact links and footer */
.fc-contact { border-top: 1px solid var(--gray-200); padding-top: 28px; margin-top: 0; }

/* ── PIL QFA items (packages included from QFA) ── */
.pil-item.pil-qfa { font-weight: 600; color: var(--t2); }
.pil-item.pil-qfa i { color: var(--red); }

/* ── Refund policy note ── */
.refund-policy-note {
  margin-top: 20px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-right: 3px solid var(--t4);
  border-radius: var(--r-md);
  font-size: .83rem; color: var(--t3); line-height: 1.75;
}
.refund-policy-note i { color: var(--t4); margin-top: 3px; min-width: 14px; }
.refund-policy-note strong { color: var(--t2); }

/* ── Hero visual card ── */
.hero-visual { align-self: start; }
.hv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 88px;
}
.hv-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red-light); border: 1px solid var(--red-border);
  color: var(--red); font-size: .73rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.hv-badge i { font-size: .7rem; }
.hv-stats-row {
  display: flex; align-items: center;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 18px 14px;
  margin-bottom: 20px;
}
.hv-stat { flex: 1; text-align: center; }
.hv-stat-num { display: block; font-size: 1.75rem; font-weight: 900; color: var(--t1); line-height: 1; }
.hv-stat-lbl { display: block; font-size: .7rem; font-weight: 600; color: var(--t4); margin-top: 4px; }
.hv-stat-sep { width: 1px; height: 38px; background: var(--gray-200); flex-shrink: 0; }
.hv-checklist { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.hv-check {
  display: flex; align-items: center; gap: 9px;
  font-size: .83rem; font-weight: 600; color: var(--t2);
}
.hv-check i { color: var(--red); font-size: .77rem; min-width: 14px; }
.hv-platform {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  border-right: 3px solid var(--red);
}
.hv-platform-icon {
  width: 30px; height: 30px; min-width: 30px;
  background: var(--red-light); border: 1px solid var(--red-border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--red);
}
.hv-platform-text span  { display: block; font-size: .67rem; color: var(--t4); font-weight: 600; margin-bottom: 1px; }
.hv-platform-text strong { display: block; font-size: .76rem; color: var(--t1); font-weight: 800; }

/* ── Floating WhatsApp Button ── */


/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --sec-pad: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; }
  .hv-card { position: static; }
  .wyg-grid, .wyg-grid--2x2 { grid-template-columns: 1fr 1fr; }
  .why-grid, .why-grid--compact  { grid-template-columns: repeat(2, 1fr); }
  .edu-grid  { grid-template-columns: repeat(3, 1fr); }
  .pro-grid  { grid-template-columns: repeat(3, 1fr); }
  .who-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .tf-layout, .pricing-layout, .booking-layout { grid-template-columns: 1fr; gap: 40px; }
  .instructor-layout { grid-template-columns: 260px 1fr; gap: 44px; }
}
@media (max-width: 768px) {
  :root { --sec-pad: 56px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 66px; right: 0; left: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    padding: 12px 16px; gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: flex; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-creds { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
  .hero-cred-sep { display: none; }
  .hero-cred-item { padding: 0; }
  .hero-visual { display: none; } /* hide visual panel on mobile — hero stays clean */
  .wyg-grid, .wyg-grid--2x2 { grid-template-columns: 1fr; }
  .why-grid, .why-grid--compact { grid-template-columns: 1fr 1fr; }
  .edu-grid   { grid-template-columns: 1fr 1fr; }
  .pro-grid   { grid-template-columns: 1fr 1fr; }
  .who-grid, .who-grid--compact { grid-template-columns: 1fr 1fr; }
  .instructor-layout { grid-template-columns: 1fr; }
  .instructor-photo { max-width: 260px; }
  .instructor-creds-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .fc-actions { flex-direction: column; align-items: center; }
  #sticky-cta.show { display: flex; }
  .pkg-tabs { flex-wrap: wrap; }
  .pkg-tab { padding: 10px 18px; font-size: .85rem; }
}
@media (max-width: 480px) {
  :root { --sec-pad: 48px; }
  .why-grid, .why-grid--compact,
  .edu-grid, .pro-grid,
  .who-grid, .who-grid--compact { grid-template-columns: 1fr; }
  .hero-meta { gap: 8px; }
}

/* ── PIL QFA items (packages included from QFA) ── */
.pil-item.pil-qfa { font-weight: 600; color: var(--t2); }
.pil-item.pil-qfa i { color: var(--red); }

/* ── Refund policy note ── */
.refund-policy-note {
  margin-top: 20px;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-right: 3px solid var(--t4);
  border-radius: var(--r-md);
  font-size: .83rem; color: var(--t3); line-height: 1.75;
}
.refund-policy-note i { color: var(--t4); margin-top: 3px; min-width: 14px; }
.refund-policy-note strong { color: var(--t2); }

/* ── Hero visual card ── */
.hero-visual { align-self: start; }
.hv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 88px;
}
.hv-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red-light); border: 1px solid var(--red-border);
  color: var(--red); font-size: .73rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.hv-badge i { font-size: .7rem; }
.hv-stats-row {
  display: flex; align-items: center;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-lg); padding: 18px 14px;
  margin-bottom: 20px;
}
.hv-stat { flex: 1; text-align: center; }
.hv-stat-num { display: block; font-size: 1.75rem; font-weight: 900; color: var(--t1); line-height: 1; }
.hv-stat-lbl { display: block; font-size: .7rem; font-weight: 600; color: var(--t4); margin-top: 4px; }
.hv-stat-sep { width: 1px; height: 38px; background: var(--gray-200); flex-shrink: 0; }
.hv-checklist { display: flex; flex-direction: column; gap: 9px; margin-bottom: 20px; }
.hv-check {
  display: flex; align-items: center; gap: 9px;
  font-size: .83rem; font-weight: 600; color: var(--t2);
}
.hv-check i { color: var(--red); font-size: .77rem; min-width: 14px; }
.hv-platform {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  border-right: 3px solid var(--red);
}
.hv-platform-icon {
  width: 30px; height: 30px; min-width: 30px;
  background: var(--red-light); border: 1px solid var(--red-border);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; color: var(--red);
}
.hv-platform-text span   { display: block; font-size: .67rem; color: var(--t4); font-weight: 600; margin-bottom: 1px; }
.hv-platform-text strong { display: block; font-size: .76rem; color: var(--t1); font-weight: 800; }

/* ── Floating WhatsApp Button ── */


/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --sec-pad: 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 480px; }
  .hv-card { position: static; }
  .wyg-grid, .wyg-grid--2x2 { grid-template-columns: 1fr 1fr; }
  .why-grid, .why-grid--compact  { grid-template-columns: repeat(2, 1fr); }
  .edu-grid  { grid-template-columns: repeat(3, 1fr); }
  .pro-grid  { grid-template-columns: repeat(3, 1fr); }
  .who-grid--compact { grid-template-columns: repeat(2, 1fr); }
  .tf-layout, .pricing-layout, .booking-layout { grid-template-columns: 1fr; gap: 40px; }
  .instructor-layout { grid-template-columns: 260px 1fr; gap: 44px; }
}
@media (max-width: 768px) {
  :root { --sec-pad: 56px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 66px; right: 0; left: 0;
    background: #fff; border-bottom: 1px solid var(--gray-200);
    padding: 12px 16px; gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: flex; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-creds { flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; }
  .hero-cred-sep { display: none; }
  .hero-cred-item { padding: 0; }
  .hero-visual { display: none; }
  .wyg-grid, .wyg-grid--2x2 { grid-template-columns: 1fr; }
  .why-grid, .why-grid--compact { grid-template-columns: 1fr 1fr; }
  .edu-grid   { grid-template-columns: 1fr 1fr; }
  .pro-grid   { grid-template-columns: 1fr 1fr; }
  .who-grid, .who-grid--compact { grid-template-columns: 1fr 1fr; }
  .instructor-layout { grid-template-columns: 1fr; }
  .instructor-photo { max-width: 260px; }
  .instructor-creds-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .fc-actions { flex-direction: column; align-items: center; }
  #sticky-cta.show { display: flex; }
  .pkg-tabs { flex-wrap: wrap; }
  .pkg-tab { padding: 10px 18px; font-size: .85rem; }
}
@media (max-width: 480px) {
  :root { --sec-pad: 48px; }
  .why-grid, .why-grid--compact,
  .edu-grid, .pro-grid,
  .who-grid, .who-grid--compact { grid-template-columns: 1fr; }
  .hero-meta { gap: 8px; }
}

/* ═══════════════════════════════════════════
   CRO RESTRUCTURE — NEW COMPONENTS
   Added: WhatsApp CTAs, merged video+instructor,
   compact who-section, accordion, interest box
═══════════════════════════════════════════ */

/* ── WhatsApp secondary button (hero) ── */
.btn-wa-secondary {
  background: transparent;
  color: #15803d;
  border: 2px solid #86efac;
  font-weight: 700;
}
.btn-wa-secondary:hover {
  background: #f0fdf4;
  border-color: #4ade80;
  transform: translateY(-1px);
}
.btn-wa-secondary i { color: #15803d; }

/* ── WhatsApp solid button ── */
.btn-wa {
  background: #25d366;
  color: #fff;
  border: none;
  font-weight: 700;
}
.btn-wa:hover {
  background: #1db954;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,211,102,.35);
}
.btn-block-center {
  width: 100%;
  justify-content: center;
}

/* ── WhatsApp CTA strip (between sections) ── */
.wa-cta-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: var(--content-narrow);
  width: 100%;
  box-sizing: border-box;
  margin: 28px auto 0;
  padding: 14px 20px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--r-lg);
}
.wa-cta-strip--light {
  background: #fff;
  border-color: #d1fae5;
}
.wa-cta-icon { font-size: 1.35rem; color: #15803d; flex-shrink: 0; }
.wa-cta-text { flex: 1; font-size: .9rem; font-weight: 600; color: var(--t2); min-width: 160px; }

/* ── Video + Instructor merged layout ── */
.vi-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.vi-video-side { /* natural flow */ }
.vi-instructor-side { /* natural flow */ }
.vi-instructor-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.vi-photo-wrap {
  position: relative;
  max-width: 260px;
}
.vi-bio { flex: 1; }

/* ── WhatsApp interest box (between pricing and form) ── */
.wa-interest-box {
  background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #bbf7d0;
  padding: 28px 0;
}
.wa-interest-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: #fff;
  border: 1.5px solid #86efac;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
.wa-interest-icon {
  font-size: 2rem;
  color: #15803d;
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.wa-interest-content { flex: 1; min-width: 200px; }
.wa-interest-title {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--t1);
  margin-bottom: 4px;
}
.wa-interest-text {
  font-size: .88rem;
  color: var(--t3);
  line-height: 1.65;
  margin: 0;
}

/* ── Compact who-section grid (6 items, 3 cols) ── */
.who-compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.who-compact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: .88rem;
  font-weight: 600;
  color: var(--t2);
  transition: all var(--trans);
}
.who-compact-item:hover {
  border-color: var(--red-border);
  background: var(--red-light);
  color: var(--t1);
}
.who-compact-item i { color: var(--red); font-size: .85rem; min-width: 16px; }

/* ── Accordion ── */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.accordion-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  font-family: 'Cairo', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--t1);
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: right;
  transition: background var(--trans);
  gap: 12px;
}
.accordion-trigger:hover { background: var(--gray-50); }
.accordion-trigger[aria-expanded="true"] { background: var(--gray-50); }
.accordion-trigger span { display: flex; align-items: center; gap: 10px; }
.accordion-trigger span i { color: var(--red); font-size: .85rem; }
.accordion-chevron {
  font-size: .75rem;
  color: var(--t3);
  transition: transform var(--trans);
  flex-shrink: 0;
}
.accordion-trigger[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}
.accordion-body {
  display: none;
  padding: 0 20px 20px;
  border-top: 1px solid var(--gray-100);
}
.accordion-body.open { display: block; }

/* ── Responsive overrides ── */
@media (max-width: 768px) {
  .vi-layout { grid-template-columns: 1fr; gap: 28px; }
  .vi-photo-wrap { max-width: 200px; }
  .who-compact-grid { grid-template-columns: 1fr 1fr; }
  .wa-cta-strip { flex-direction: column; align-items: flex-start; gap: 10px; }
  .wa-interest-inner { flex-direction: column; align-items: flex-start; }
  .wa-interest-inner .btn-wa { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .who-compact-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   CRO REFINEMENTS ROUND 2
   instructor mini-card, benefit-grid-6,
   pkg-free-badge, stronger wa-interest-box
═══════════════════════════════════════════ */

/* ── vi-layout: 65/35 split ── */
.vi-layout {
  grid-template-columns: 65fr 35fr !important;
  align-items: start;
}

/* ── 6-card benefit grid (3 col × 2 row) ── */
.benefit-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: all var(--trans);
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute; top: 0; right: 0; left: 0;
  height: 3px;
  background: transparent;
  transition: background var(--trans);
}
.benefit-card:hover::before { background: var(--red); }
.benefit-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--gray-300);
}
.benefit-card--accent {
  border-color: var(--red-border);
  background: var(--red-light);
}
.benefit-card--accent::before { background: var(--red); }
.benefit-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--t3);
  margin-bottom: 16px;
  transition: all var(--trans);
}
.benefit-card--accent .benefit-icon,
.benefit-card:hover .benefit-icon {
  background: var(--red-light);
  border-color: var(--red-border);
  color: var(--red);
}
.benefit-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--t1);
  margin-bottom: 8px;
  line-height: 1.4;
}
.benefit-desc {
  font-size: .83rem;
  color: var(--t3);
  line-height: 1.75;
}

/* ── Package free badge ── */
.pkg-free-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #16a34a;
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  vertical-align: middle;
  margin-right: 10px;
  letter-spacing: .03em;
  text-transform: none;
}
.pkg-free-badge i { font-size: .62rem; }

/* ── Stronger wa-interest-box ── */
.wa-interest-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-top: 2px solid #86efac;
  border-bottom: 2px solid #86efac;
  padding: 32px 0;
}
.wa-interest-inner {
  border: 2px solid #4ade80 !important;
  box-shadow: 0 4px 20px rgba(37,211,102,.12) !important;
}
.wa-interest-title {
  font-size: 1.05rem !important;
  font-weight: 900 !important;
}
.wa-interest-text { font-size: .92rem !important; color: var(--t2) !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .benefit-grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .vi-layout { grid-template-columns: 1fr !important; }
  .benefit-grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .benefit-grid-6 { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   INSTRUCTOR MODAL REFACTOR
   vi-video-centered, instructor trigger btn,
   instructor modal
═══════════════════════════════════════════ */

/* ── Centered full-width video ── */
.vi-video-centered {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

/* ── Instructor trigger button ── */
.vi-instructor-trigger {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.btn-instructor-info {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-pill);
  font-family: 'Cairo', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--t2);
  cursor: pointer;
  transition: all var(--trans);
  box-shadow: var(--shadow-xs);
}
.btn-instructor-info:hover {
  border-color: var(--red-border);
  background: var(--red-light);
  color: var(--red);
  box-shadow: var(--shadow-sm);
}
.btn-instructor-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 1.5px solid var(--gray-200);
  flex-shrink: 0;
}
.btn-instructor-info:hover .btn-instructor-avatar {
  border-color: var(--red-border);
}
.btn-instructor-arrow {
  font-size: .72rem;
  color: var(--t4);
  transition: transform var(--trans);
}
.btn-instructor-info:hover .btn-instructor-arrow {
  color: var(--red);
  transform: translateX(-3px);
}

/* ── Instructor Modal ── */
.imodal {
  max-width: 540px;
  width: calc(100% - 32px);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;
}
.imodal-close {
  position: absolute;
  top: 14px;
  left: 14px;               /* left = start in RTL page */
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--gray-200);
  color: var(--t2);
  font-size: .9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--trans);
  z-index: 2;
  font-family: inherit;
}
.imodal-close:hover {
  background: var(--white);
  color: var(--red);
  border-color: var(--red-border);
}
.imodal-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
  flex-shrink: 0;
}
.imodal-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.imodal-cert-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}
.imodal-cert-badge i { color: #fbbf24; }

.imodal-body {
  padding: 24px 28px 28px;
  background: var(--white);
}
.imodal-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--t1);
  margin-bottom: 4px;
}
.imodal-role {
  font-size: .88rem;
  font-weight: 600;
  color: var(--t3);
  margin-bottom: 14px;
}
.imodal-bio {
  font-size: .9rem;
  color: var(--t2);
  line-height: 1.8;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--gray-100);
}
.imodal-creds {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.imodal-creds li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  color: var(--t2);
  line-height: 1.55;
}
.imc-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--red);
  margin-top: 1px;
}

/* ── Modal open state ── */
.modal-overlay.open {
  display: flex !important;
}

/* ── Mobile tweaks ── */
@media (max-width: 600px) {
  .imodal-body { padding: 18px 18px 22px; }
  .imodal-name { font-size: 1.1rem; }
  .imodal-photo-wrap { aspect-ratio: 3/2; }
  .vi-video-centered { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   INSTRUCTOR INFO CARD — compact block above video
═══════════════════════════════════════════════════════ */
.instructor-info-card {
  max-width: var(--content-narrow);
  margin: 0 auto 24px;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e4e5ea;
  border-radius: 14px;
  padding: 18px 20px 20px;
  box-shadow: 0 8px 26px rgba(17,17,19,.07);
}

.instructor-info-title {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  color: var(--t1);
}

.instructor-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}

.instructor-info-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  font-size: .86rem;
  font-weight: 650;
  line-height: 1.65;
  color: var(--t2);
}

.instructor-info-badge {
  width: 24px;
  height: 24px;
  margin-top: 1px;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff1f1;
  border: 1px solid rgba(237,28,36,.18);
  color: var(--red);
  font-size: .68rem;
}
.section-transition {
  margin: 0 auto 28px;
  text-align: center;
}

@media (max-width: 640px) {
  .instructor-info-card {
    padding: 16px;
    border-radius: 12px;
  }
  .instructor-info-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .instructor-info-item {
    font-size: .84rem;
    line-height: 1.6;
  }
}

/* ═══════════════════════════════════════════
   INSTRUCTOR SECTION (#instructor)
═══════════════════════════════════════════ */
#instructor.section { padding-top: 48px; padding-bottom: 48px; }

.ins-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-right: 4px solid var(--red);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}

/* Photo column */
.ins-photo-col { display: flex; flex-direction: column; align-items: center; }
.ins-photo-wrap {
  width: 160px;
  height: 200px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-xs);
  background: var(--gray-100);
}
.ins-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Content column */
.ins-name {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--t1);
  margin: 6px 0 4px;
  line-height: 1.3;
}
.ins-role {
  font-size: .88rem;
  font-weight: 600;
  color: var(--t3);
  margin-bottom: 18px;
}
.ins-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ins-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--t2);
  line-height: 1.6;
}
.ins-bullets li i { color: var(--red); font-size: .72rem; margin-top: 4px; flex-shrink: 0; }

/* Mobile */
@media (max-width: 640px) {
  .ins-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px 18px;
    border-right: none;
    border-top: 4px solid var(--red);
  }
  .ins-photo-wrap { width: 120px; height: 150px; }
}

/* Instructor intro wrapper removed; current video section uses .instructor-info-card. */
