/* ============================================================
   JamDiag Academy — Production Stylesheet (Clean Glass theme)
   Light, professional, glassmorphism. RTL-aware (logical props).
   ============================================================ */

:root {
  /* Palette — light glass */
  --bg:           #eaeef7;
  --bg-tint:      #f4f7fc;

  --glass:        rgba(255,255,255,.72);
  --glass-2:      rgba(255,255,255,.55);
  --glass-brd:    rgba(255,255,255,.85);
  --solid:        #ffffff;

  --ink:          #0e1a33;   /* headings */
  --text:         #3c4a66;   /* body */
  --muted:        #6b7790;
  --muted-2:      #8a96ad;

  --line:         rgba(14,26,51,.09);
  --line-strong:  rgba(14,26,51,.16);

  --primary:      #2f6bff;
  --primary-700:  #1d50e0;
  --primary-50:   rgba(47,107,255,.10);
  --primary-glow: rgba(47,107,255,.28);

  --accent:       #ff8413;
  --accent-700:   #ec6a04;

  --green:        #16a34a;
  --green-50:     rgba(22,163,74,.12);
  --red:          #dc2626;

  --radius:       20px;
  --radius-sm:    14px;
  --radius-lg:    28px;

  --shadow:       0 28px 60px -28px rgba(20,40,90,.35);
  --shadow-soft:  0 16px 38px -22px rgba(20,40,90,.28);
  --glass-shadow: 0 20px 46px -24px rgba(20,40,90,.30), inset 0 1px 0 rgba(255,255,255,.85);

  --maxw:         1180px;
  --gutter:       clamp(16px, 4vw, 28px);

  --font:         "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar:      "Cairo", "Tajawal", system-ui, sans-serif;
}

html[lang="ar"] { font-family: var(--font-ar); }
/* Keep inherently-LTR content (phone numbers, latin) readable inside the RTL layout */
.ltr, .topbar__contact { direction: ltr; unicode-bidi: isolate; }
html[dir="rtl"] .topbar__contact { justify-content: flex-end; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(48% 38% at 84% -6%, rgba(47,107,255,.20), transparent 62%),
    radial-gradient(42% 40% at 2% 8%, rgba(124,92,255,.14), transparent 60%),
    radial-gradient(50% 42% at 50% 116%, rgba(255,132,19,.12), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(60px, 8vw, 110px); position: relative; }
.section--alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.25));
  backdrop-filter: blur(2px);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary-700);
  background: var(--primary-50); padding: 7px 14px; border-radius: 999px;
  border: 1px solid rgba(47,107,255,.22);
}
.section__head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(36px, 5vw, 58px); }
.section__head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; color: var(--ink); margin-block: 18px 14px; }
.section__head p { color: var(--muted); font-size: 1.06rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; padding: 14px 26px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn--primary { background: linear-gradient(135deg, var(--accent), var(--accent-700)); color: #fff; box-shadow: 0 14px 30px -10px rgba(255,132,19,.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 42px -12px rgba(255,132,19,.65); }
.btn--blue { background: linear-gradient(135deg, var(--primary), var(--primary-700)); color: #fff; box-shadow: 0 14px 30px -12px var(--primary-glow); }
.btn--blue:hover { transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,.6); color: var(--ink); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1.04rem; }

/* ---------- Top bar ---------- */
.topbar { background: rgba(14,26,51,.96); color: #c6d0e4; font-size: .85rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 9px; flex-wrap: wrap; }
.topbar__contact { display: inline-flex; align-items: center; gap: 18px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar__contact a:hover { color: #fff; }
.topbar__contact svg { width: 16px; height: 16px; color: #6ea0ff; }
.lang { display: inline-flex; align-items: center; gap: 4px; background: rgba(255,255,255,.1); border-radius: 999px; padding: 3px; border: 1px solid rgba(255,255,255,.14); }
.lang button { color: #c6d0e4; font-weight: 700; font-size: .8rem; padding: 5px 12px; border-radius: 999px; transition: all .2s; }
.lang button.is-active { background: var(--primary); color: #fff; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,247,252,.72); backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s;
}
.header.is-stuck { border-color: var(--line); background: rgba(244,247,252,.9); box-shadow: 0 10px 30px -22px rgba(20,40,90,.4); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 13px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand b { color: var(--primary); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: var(--muted); font-weight: 600; font-size: .95rem; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); color: var(--ink); align-items: center; justify-content: center; background: rgba(255,255,255,.6); }
.nav__toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(14,26,51,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(14,26,51,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(75% 60% at 50% 0%, #000, transparent 78%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 60px); align-items: center; }
.hero__title { font-size: clamp(2.2rem, 5.2vw, 3.7rem); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; color: var(--ink); margin-block: 20px 18px; }
.hero__title span { background: linear-gradient(110deg, var(--primary), #7c5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { font-size: 1.16rem; color: var(--muted); max-width: 560px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-block: 26px; }
.hero__points li { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: .96rem; color: var(--ink); }
.hero__points svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: .9rem; }
.hero__note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-50); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(22,163,74,0); } }

.hero__art { position: relative; }
.hero__card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--glass-brd); box-shadow: var(--shadow); background: var(--solid);
  aspect-ratio: 4 / 3.4;
}
.hero__card img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; inset-block-end: 16px; inset-inline-start: 16px;
  background: var(--glass); backdrop-filter: blur(12px); border: 1px solid var(--glass-brd);
  border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px;
  box-shadow: var(--glass-shadow);
}
.hero__badge .ring { width: 42px; height: 42px; border-radius: 50%; background: conic-gradient(var(--green) 88%, rgba(14,26,51,.12) 0); display: grid; place-items: center; }
.hero__badge .ring span { width: 32px; height: 32px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-weight: 800; font-size: .72rem; color: var(--ink); }
.hero__badge b { display: block; font-size: .95rem; color: var(--ink); }
.hero__badge small { color: var(--muted); font-size: .78rem; }
.hero__float {
  position: absolute; inset-block-start: -12px; inset-inline-end: -8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-700)); color: #fff; font-weight: 800; font-size: .8rem;
  padding: 10px 16px; border-radius: 14px; box-shadow: 0 14px 30px -10px rgba(255,132,19,.6); transform: rotate(4deg);
}

/* ---------- Glass card base ---------- */
.glass, .card, .course, .formcard, .fact, .review, .faq__item, .curr li {
  background: linear-gradient(180deg, var(--glass), var(--glass-2));
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--glass-shadow);
}

/* ---------- Trust bar ---------- */
.trust { position: relative; }
.trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center;
  background: linear-gradient(180deg, var(--glass), var(--glass-2));
  backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--glass-brd);
  border-radius: var(--radius); box-shadow: var(--glass-shadow); padding: 30px 18px;
  margin-top: -36px;
}
.trust__num { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.trust__num b { color: var(--accent); }
.trust__lbl { color: var(--muted); font-size: .9rem; margin-top: 4px; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { border-radius: var(--radius); padding: 26px; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(135deg, var(--primary), var(--primary-700)); color: #fff; box-shadow: 0 12px 24px -10px var(--primary-glow); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .96rem; }

/* ---------- Program — custom roadmap timeline ---------- */
.roadmap { position: relative; max-width: 840px; margin-inline: auto; display: grid; gap: 20px; }
.roadmap::before {
  content: ""; position: absolute; inset-block: 22px 22px; inset-inline-start: 31px; width: 3px;
  background: linear-gradient(180deg, var(--primary), #7c5cff 55%, var(--accent)); border-radius: 999px; opacity: .55;
}
.roadmap__step { position: relative; display: grid; grid-template-columns: 66px 1fr; gap: 22px; align-items: stretch; }
.roadmap__node {
  position: relative; z-index: 2; width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center;
  font-weight: 800; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-700));
  box-shadow: 0 0 0 6px var(--bg), 0 16px 30px -12px var(--primary-glow);
}
.roadmap__step:nth-child(2) .roadmap__node { background: linear-gradient(135deg, #4f7bff, #6d5cff); }
.roadmap__step:nth-child(3) .roadmap__node { background: linear-gradient(135deg, #6d5cff, #9b59ff); }
.roadmap__step:nth-child(4) .roadmap__node { background: linear-gradient(135deg, #9b59ff, #ff7a3d); box-shadow: 0 0 0 6px var(--bg), 0 16px 30px -12px rgba(255,122,24,.45); }
.roadmap__step:last-child .roadmap__node { background: linear-gradient(135deg, var(--accent), var(--accent-700)); box-shadow: 0 0 0 6px var(--bg), 0 16px 30px -12px rgba(255,132,19,.5); }
.roadmap__card {
  position: relative; border-radius: var(--radius); padding: 22px 24px;
  background: linear-gradient(180deg, var(--glass), var(--glass-2));
  backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--glass-brd); box-shadow: var(--glass-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.roadmap__card::before {
  content: ""; position: absolute; inset-block-start: 26px; inset-inline-start: -7px; width: 14px; height: 14px;
  background: var(--glass); border-inline-start: 1px solid var(--glass-brd); border-block-end: 1px solid var(--glass-brd);
  transform: rotate(45deg); backdrop-filter: blur(16px);
}
html[dir="rtl"] .roadmap__card::before { transform: rotate(-135deg); }
.roadmap__step:hover .roadmap__card { transform: translateY(-4px); box-shadow: var(--shadow); }
.roadmap__head { display: flex; align-items: center; gap: 13px; margin-bottom: 10px; }
.roadmap__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary-700); border: 1px solid rgba(47,107,255,.2); flex: none; }
.roadmap__icon svg { width: 22px; height: 22px; }
.roadmap__day { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--accent-700); }
.roadmap__card h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; line-height: 1.2; }
.roadmap__card p { color: var(--muted); font-size: .97rem; margin-top: 4px; }

/* ---------- Equipment — 3D coverflow ---------- */
.cover { position: relative; margin-top: 22px; overflow-x: clip; }
.cover__stage { position: relative; height: 540px; perspective: 2000px; display: flex; align-items: center; justify-content: center; transform-style: preserve-3d; touch-action: pan-y; }
.cover__card {
  position: absolute; top: 50%; left: 50%;
  width: clamp(300px, 82vw, 500px); height: 440px;
  margin-top: -220px; margin-left: calc(clamp(300px, 82vw, 500px) / -2);
  background: linear-gradient(180deg, #ffffff, #eef2f8); border-radius: 22px; border: 1px solid #fff;
  box-shadow: 0 34px 70px -26px rgba(20,40,90,.55), 0 14px 28px -16px rgba(20,40,90,.4);
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .55s ease, box-shadow .45s ease;
  transform-style: preserve-3d; will-change: transform; cursor: pointer;
  display: flex; flex-direction: column; padding: 22px 22px 16px; backface-visibility: hidden;
}
.cover__card::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -24px; height: 24px; background: radial-gradient(50% 100% at 50% 0%, rgba(20,40,90,.45), transparent 75%); filter: blur(4px); opacity: .5; transform: translateZ(-1px); }
.cover__card img { width: 100%; flex: 1; min-height: 0; object-fit: contain; }
.cover__card figcaption { text-align: center; margin-top: 14px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.01em; }
.cover__card.is-active { box-shadow: 0 46px 92px -26px var(--primary-glow), 0 24px 46px -18px rgba(20,40,90,.5); }
.cover__card.is-active figcaption { color: var(--primary-700); }
.cover__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 200; width: 52px; height: 52px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-brd); color: var(--ink); display: grid; place-items: center; backdrop-filter: blur(10px); box-shadow: var(--shadow-soft); transition: background .2s, transform .2s, color .2s; }
.cover__nav:hover { background: var(--primary); color: #fff; transform: translateY(-50%) scale(1.08); }
.cover__nav svg { width: 24px; height: 24px; }
.cover__nav--prev { left: 4px; } .cover__nav--next { right: 4px; }
html[dir="rtl"] .cover__nav--prev { left: auto; right: 4px; } html[dir="rtl"] .cover__nav--next { right: auto; left: 4px; }
.cover__dots { display: flex; gap: 9px; justify-content: center; margin-top: 40px; }
.cover__dots button { width: 9px; height: 9px; border-radius: 999px; background: var(--line-strong); transition: all .3s ease; }
.cover__dots button.is-active { background: var(--accent); width: 28px; }

/* ---------- Format / 70-30 ---------- */
.format__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 56px); align-items: center; }
.split { display: grid; gap: 18px; }
.split__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 7px; }
.split__row b { font-weight: 700; color: var(--ink); } .split__row span { color: var(--muted); font-weight: 700; }
.bar { height: 14px; border-radius: 999px; background: rgba(14,26,51,.07); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; width: 0; transition: width 1.1s cubic-bezier(.2,.7,.2,1); }
.bar--practical > i { background: linear-gradient(90deg, var(--accent), var(--accent-700)); }
.bar--theory > i { background: linear-gradient(90deg, var(--primary), var(--primary-700)); }
.facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.fact { border-radius: var(--radius-sm); padding: 22px; text-align: center; }
.fact b { display: block; font-size: 2rem; font-weight: 800; color: var(--primary-700); }
.fact span { color: var(--muted); font-size: .88rem; }

/* ---------- Courses ---------- */
.course { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.course:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.course__city { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.08rem; color: var(--ink); }
.course__city svg { width: 20px; height: 20px; color: var(--accent); flex: none; }
.tag { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.tag--open { background: var(--green-50); color: #15803d; border: 1px solid rgba(22,163,74,.28); }
.tag--few { background: rgba(255,132,19,.14); color: #c2570a; border: 1px solid rgba(255,132,19,.3); }
.tag--soon { background: var(--primary-50); color: var(--primary-700); border: 1px solid rgba(47,107,255,.28); }
.course__body { padding: 22px; display: grid; gap: 13px; flex: 1; }
.course__meta { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: .95rem; font-weight: 600; }
.course__meta svg { width: 18px; height: 18px; color: var(--primary); flex: none; }
.course__seats { font-size: .85rem; color: var(--muted); }
.course__seats i { color: var(--accent-700); font-style: normal; font-weight: 800; }
.course__foot { padding: 0 22px 22px; }

/* ---------- Certificate ---------- */
.cert__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px,5vw,56px); align-items: center; }
.cert__visual { position: relative; }
.cert__paper { background: linear-gradient(160deg, #ffffff, #eef1f7); color: var(--ink); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--glass-brd); transform: rotate(-2deg); }
.cert__paper .seal { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-700)); margin-inline-start: auto; display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: 0 8px 18px -6px rgba(255,132,19,.6); }
.cert__paper h4 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.cert__paper .big { font-size: 1.5rem; font-weight: 800; margin-block: 6px 4px; }
.cert__paper .name { font-size: 1.7rem; font-weight: 800; color: var(--primary-700); border-bottom: 2px dashed #c7cede; padding-bottom: 8px; margin-bottom: 14px; }
.cert__paper .row { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; color: var(--muted); }
.cert h2 { color: var(--ink); }
.cert ul { display: grid; gap: 14px; margin-block: 22px; }
.cert ul li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 600; }
.cert ul li svg { width: 24px; height: 24px; color: var(--green); flex: none; }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.review { border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: transform .25s, box-shadow .25s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review__stars { display: flex; gap: 2px; color: var(--accent); font-size: 1.05rem; letter-spacing: 2px; }
.review p { color: var(--text); font-size: .98rem; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__av { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1rem; }
.review__who b { display: block; font-size: .96rem; color: var(--ink); }
.review__who span { color: var(--muted); font-size: .82rem; }

/* ---------- Register ---------- */
.register__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px,5vw,52px); align-items: start; }
.register__pitch h2 { font-size: clamp(1.7rem,4vw,2.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; color: var(--ink); margin-bottom: 16px; }
.register__pitch p { color: var(--muted); margin-bottom: 22px; }
.register__pitch ul { display: grid; gap: 13px; }
.register__pitch li { display: flex; gap: 11px; align-items: center; font-weight: 600; color: var(--text); }
.register__pitch li svg { width: 22px; height: 22px; color: var(--accent); flex: none; }

.formcard { border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--accent-700); }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,.85); border: 1px solid var(--line-strong); color: var(--ink);
  border-radius: 12px; padding: 13px 15px; font-size: 1rem; font-family: inherit; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px var(--primary-glow); }
.field textarea { resize: vertical; min-height: 90px; }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__note { font-size: .8rem; color: var(--muted-2); text-align: center; margin-top: 12px; }
.form__msg { border-radius: 12px; padding: 13px 16px; font-weight: 600; font-size: .92rem; margin-bottom: 16px; display: none; }
.form__msg.is-ok { display: block; background: var(--green-50); color: #15803d; border: 1px solid rgba(22,163,74,.35); }
.form__msg.is-err { display: block; background: rgba(220,38,38,.1); color: #b91c1c; border: 1px solid rgba(220,38,38,.3); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq__item { border-radius: var(--radius-sm); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 1.02rem; text-align: start; color: var(--ink); }
.faq__q svg { width: 22px; height: 22px; flex: none; color: var(--primary); transition: transform .25s; }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 20px 20px; color: var(--muted); }

/* ---------- Final CTA ---------- */
.finalcta { text-align: center; }
.finalcta__box {
  background: linear-gradient(135deg, var(--primary), #5b3df0); border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px); position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(47,107,255,.55);
}
.finalcta__box::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 90% at 85% 0%, rgba(255,132,19,.45), transparent 60%); }
.finalcta__box > * { position: relative; }
.finalcta h2 { font-size: clamp(1.8rem,4.5vw,3rem); font-weight: 800; letter-spacing: -.02em; color: #fff; margin-bottom: 14px; }
.finalcta p { color: #e6ecff; max-width: 600px; margin-inline: auto; margin-bottom: 28px; font-size: 1.08rem; }

/* ---------- Footer ---------- */
.footer { background: #0c1730; color: #c6d0e4; padding-block: 54px 26px; margin-top: clamp(20px,4vw,40px); }
.footer .brand { color: #fff; }
.footer p { color: #93a1be; font-size: .92rem; margin-top: 14px; max-width: 280px; }
.footer h5 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #6f7e9c; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a { color: #c6d0e4; font-size: .94rem; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 6px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: #c6d0e4; transition: all .2s; }
.footer__social a:hover { color: #fff; border-color: var(--primary); background: var(--primary); }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 38px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: #6f7e9c; font-size: .85rem; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; bottom: 18px; left: 18px; right: auto; z-index: 65; display: inline-flex; align-items: center; gap: 11px; background: #25d366; color: #fff; font-weight: 800; padding: 13px 18px; border-radius: 999px; box-shadow: 0 16px 36px -10px rgba(37,211,102,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.05); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float .wa-float__txt { font-size: .95rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.mobilemenu { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin-inline: auto; width: 100%; }
  .format__grid, .cert__grid, .register__grid { grid-template-columns: 1fr; }
  .reviews__grid, .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: inline-flex; }

  .mobilemenu { display: block; position: fixed; inset: 0; z-index: 70; background: rgba(14,26,51,.45); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s, visibility .25s; }
  .mobilemenu.is-open { opacity: 1; visibility: visible; pointer-events: auto; backdrop-filter: blur(6px); }
  .mobilemenu__panel { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(86%, 360px); background: rgba(244,247,252,.96); backdrop-filter: blur(18px); border-inline-start: 1px solid var(--glass-brd); padding: 24px; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; gap: 8px; }
  html[dir="rtl"] .mobilemenu__panel { transform: translateX(-100%); }
  .mobilemenu.is-open .mobilemenu__panel { transform: none; }
  .mobilemenu__panel a { padding: 14px 12px; border-radius: 12px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
  .mobilemenu__panel a:hover { background: rgba(255,255,255,.7); }
  .mobilemenu__close { align-self: flex-end; width: 44px; height: 44px; color: var(--ink); }
  .mobilemenu__close svg { width: 26px; height: 26px; }
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }

@media (max-width: 600px) {
  .trust__grid { grid-template-columns: 1fr 1fr; gap: 24px 12px; }
  .grid--3, .grid--2, .reviews__grid, .facts, .field--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { width: 100%; } .hero__cta .btn { flex: 1; }
  .wa-float .wa-float__txt { display: none; } .wa-float { padding: 14px; }
  .topbar__contact a span { display: none; }
  .roadmap__step { grid-template-columns: 52px 1fr; gap: 16px; }
  .roadmap__node { width: 52px; height: 52px; border-radius: 16px; font-size: 1.2rem; }
  .roadmap::before { inset-inline-start: 25px; }
  .cover__stage { height: 400px; perspective: 1200px; } .cover__card { height: 330px; } .cover__nav { width: 44px; height: 44px; }
}
