/* ============================================================
   أكاديمية الميثاق — المظهر العام للموقع
   ============================================================ */

:root {
  --green: #0e7a5f;
  --green-dark: #0a5c47;
  --green-deep: #073f31;
  --green-ink: #033529;
  --green-soft: #e8f4ef;
  --green-soft-2: #ddeadf;
  --gold: #d4af37;
  --gold-dark: #b89316;
  --gold-soft: #f6e7b4;
  --cream: #faf6ec;
  --cream-2: #f3ecda;
  --card: #ffffff;
  --text: #1e2a26;
  --muted: #5f6b66;
  --border: rgba(14, 122, 95, 0.14);
  --grad: linear-gradient(135deg, #073f31, #0a5c47 55%, #0e7a5f);
  --grad-bright: linear-gradient(135deg, #0a7a5c, #12a77e);
  --grad-gold: linear-gradient(135deg, #b89316, #e8c960);
  --shadow-sm: 0 4px 14px rgba(7, 63, 49, 0.08);
  --shadow-md: 0 12px 34px rgba(7, 63, 49, 0.12);
  --shadow-lg: 0 24px 60px rgba(7, 63, 49, 0.16);
  --radius: 20px;
  --radius-lg: 28px;
  --font-body: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
  --font-quran: "Amiri", "Traditional Arabic", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--green); color: #fff; }

::-webkit-scrollbar { width: 11px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 20px; border: 2px solid var(--cream-2); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- mini icons ---------- */
.mini-ico { display: inline-flex; align-items: center; justify-content: center; width: 1.25em; height: 1.25em; }
.mini-ico svg { width: 100%; height: 100%; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem; border-radius: 999px; border: 0;
  font-family: inherit; font-weight: 700; font-size: 1rem; line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-lg { padding: 0.95rem 2.2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; margin-top: 0.4rem; }
.btn-arrow { display: inline-block; transition: transform 0.2s ease; }
.btn:hover .btn-arrow:has(~ *) { }
.btn:hover { }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(14, 122, 95, 0.35); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(14, 122, 95, 0.42); }
.btn-gold { background: var(--grad-gold); color: #3a2c00; box-shadow: 0 10px 24px rgba(212, 175, 55, 0.4); }
.btn-gold:hover { box-shadow: 0 14px 32px rgba(212, 175, 55, 0.5); }
.btn-ghost { background: transparent; color: var(--green-dark); border: 2px solid rgba(14, 122, 95, 0.35); }
.btn-ghost:hover { border-color: var(--green); background: var(--green-soft); }
.btn-light-outline { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, 0.6); }
.btn-light-outline:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; }
.topbar {
  background: var(--green-ink); color: #dff0e9; font-size: 0.82rem;
  transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
  overflow: hidden;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 0.45rem; }
.topbar a { display: inline-flex; align-items: center; gap: 0.35rem; color: inherit; }
.topbar-contacts, .topbar-social { display: flex; align-items: center; gap: 1rem; }
.topbar-divider { width: 1px; height: 14px; background: rgba(255, 255, 255, 0.25); }
.site-header.scrolled .topbar { max-height: 0; padding-block: 0; opacity: 0; }

.nav-wrap { background: rgba(250, 246, 236, 0.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); transition: box-shadow 0.3s ease; }
.site-header.scrolled .nav-wrap { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.7rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark { display: inline-flex; width: 46px; height: 46px; color: var(--gold); background: var(--grad); border-radius: 14px; padding: 8px; box-shadow: var(--shadow-sm); flex-shrink: 0; }
.brand-mark-sm { width: 40px; height: 40px; padding: 7px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-logo { background: #fff; border: 1px solid var(--border); padding: 4px; }
.brand-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.4; }
.brand-text strong { font-size: 1.15rem; font-weight: 900; color: var(--green-deep); }
.brand-text small { font-size: 0.72rem; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 0.35rem; }
.nav-mobile, .nav-drawer-top, .nav-drawer-cta, .nav-scrim { display: none; }
.main-nav a {
  position: relative; padding: 0.55rem 1.05rem; border-radius: 999px;
  font-weight: 700; color: var(--text); font-size: 0.95rem; transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover { color: var(--green); background: var(--green-soft); }
.main-nav a.active { color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(14, 122, 95, 0.3); }
.main-nav .nav-dash-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--green-dark); border: 1.5px dashed rgba(14, 122, 95, 0.4); }
.nav-actions { display: flex; align-items: center; gap: 0.7rem; }
.btn-nav-cta { font-size: 0.9rem; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 8px;
}
.hamburger span { width: 26px; height: 3px; background: var(--green-deep); border-radius: 3px; transition: transform 0.3s ease, opacity 0.2s ease; }
.nav-open .hamburger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-open .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4.5rem, 8vw, 7rem);
  overflow: hidden; background: linear-gradient(180deg, #fdfbf3 0%, var(--cream) 60%, var(--cream-2) 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.blob-1 { width: 520px; height: 520px; background: #cdeee0; top: -160px; right: -120px; }
.blob-2 { width: 420px; height: 420px; background: #f2dfae; bottom: -140px; left: -110px; }
.blob-3 { width: 300px; height: 300px; background: #d8f1e9; top: 30%; left: 30%; opacity: 0.35; }
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.55;
  background-image: url("../img/pattern.701ded4e9b27.svg");
  background-size: 320px auto;
}
.hero-pattern-lg { opacity: 0.35; background-size: 420px auto; }

.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero-content { max-width: 620px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: #fff; border: 1px solid var(--border); color: var(--green-dark);
  padding: 0.45rem 1rem; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 900; line-height: 1.35; color: var(--green-deep);
  margin: 1.1rem 0 0.9rem;
}
.hero-title em {
  font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; display: inline-block;
}
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 55ch; }

.hero-verse {
  margin: 1.6rem 0 1.8rem; padding: 1.2rem 1.6rem; position: relative;
  background: linear-gradient(135deg, #fff, #fbf6e7); border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center;
}
.verse-ornament { color: var(--gold); font-size: 1.1rem; display: block; margin-bottom: 0.4rem; }
.verse-text { font-family: var(--font-quran); font-size: clamp(1.3rem, 2.6vw, 1.75rem); color: var(--green-deep); line-height: 2; }
.verse-ref { display: block; margin-top: 0.35rem; font-size: 0.82rem; color: var(--gold-dark); font-weight: 700; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.5rem; color: var(--green-dark); font-weight: 700; font-size: 0.9rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust .mini-ico { color: var(--green); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.arch-frame { position: relative; width: min(400px, 82vw); }
.arch-inner {
  position: relative; aspect-ratio: 4/5; border-radius: 210px 210px 18px 18px;
  background: var(--grad); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--gold-soft);
}
.arch-inner::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("../img/pattern.701ded4e9b27.svg"); background-size: 220px auto; opacity: 0.22;
}
.arch-inner::after {
  content: ""; position: absolute; inset: 10px; border: 1.5px solid rgba(246, 231, 180, 0.35); border-radius: 190px 190px 10px 10px;
}
.arch-calligraphy { position: relative; text-align: center; color: #fff; padding: 3rem 1.5rem; z-index: 1; }
.bismillah { display: block; font-family: var(--font-quran); font-size: 1.25rem; line-height: 2.1; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25); }
.arch-divider { color: var(--gold-soft); font-size: 1.4rem; margin-block: 0.6rem; display: block; }
.arch-quote { display: block; font-family: var(--font-quran); font-size: 1.5rem; line-height: 2.1; }
.arch-ref { display: block; margin-top: 0.6rem; font-size: 0.8rem; opacity: 0.85; }
.arch-top {
  position: absolute; top: -26px; right: 50%; transform: translateX(50%);
  width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent;
  border-bottom: 34px solid var(--gold-soft); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.25));
}
.arch-top::after {
  content: ""; position: absolute; top: -34px; left: -8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--gold); border: 3px solid #fff5cf;
}
.arch-base {
  width: 62%; height: 24px; margin: -2px auto 0; background: var(--grad-gold);
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); border-radius: 4px 4px 10px 10px;
}

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 0.6rem;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(6px);
  border: 1px solid rgba(14, 122, 95, 0.18); border-radius: 16px;
  padding: 0.7rem 1rem; box-shadow: var(--shadow-md);
  animation: floatY 5s ease-in-out infinite;
}
.float-chip .mini-ico { color: var(--green); font-size: 1.5rem; }
.float-chip strong { display: block; color: var(--green-deep); font-size: 0.92rem; line-height: 1.3; }
.float-chip small { color: var(--muted); font-size: 0.75rem; }
.float-chip-1 { top: 12%; right: -6%; }
.float-chip-2 { bottom: 20%; left: -8%; animation-delay: 1.6s; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; }

/* ---------- stats ---------- */
.stats-bar { position: relative; z-index: 2; margin-top: clamp(-2rem, -4vw, 0); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: #fff; border-radius: var(--radius-lg); padding: 1.6rem;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.stat-item { text-align: center; padding: 0.7rem 0.4rem; position: relative; }
.stat-item:not(:last-child)::after { content: ""; position: absolute; left: -0.5rem; top: 20%; bottom: 20%; width: 1px; background: var(--border); }
.stat-number {
  display: block; font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 900; line-height: 1.2;
  background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { color: var(--muted); font-weight: 700; font-size: 0.92rem; }

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section-soft { background: linear-gradient(180deg, var(--green-soft), #f3fbf7); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.section-badge {
  display: inline-flex; align-items: center; padding: 0.35rem 1.05rem; border-radius: 999px;
  background: var(--grad-gold); color: #3a2c00; font-weight: 800; font-size: 0.8rem;
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}
.section-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 900; color: var(--green-deep); margin: 1rem 0 0.6rem; line-height: 1.4; }
.section-text { color: var(--muted); font-size: 1.02rem; }

/* ---------- about preview ---------- */
.about-preview { background: #fff; }
.about-preview-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about-visual { position: relative; display: flex; justify-content: center; }
.about-frame { position: relative; width: min(380px, 82vw); }
.about-arch {
  position: absolute; inset: 0; border-radius: 200px 200px 20px 20px;
  background: var(--green-soft); border: 2px dashed rgba(14, 122, 95, 0.35);
  transform: rotate(-3deg);
}
.about-codex {
  position: relative; aspect-ratio: 4/5; border-radius: 200px 200px 20px 20px;
  background: var(--grad); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.8rem; color: #fff; text-align: center; padding: 2rem;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.about-codex::before { content: ""; position: absolute; inset: 0; background-image: url("../img/pattern.701ded4e9b27.svg"); background-size: 200px auto; opacity: 0.2; }
.about-codex .mini-ico { font-size: 3rem; color: var(--gold-soft); position: relative; z-index: 1; }
.about-codex strong { font-family: var(--font-quran); font-size: 1.9rem; position: relative; z-index: 1; }
.about-codex p { font-size: 0.9rem; opacity: 0.85; position: relative; z-index: 1; }
.about-orbit { position: absolute; border: 1.5px dashed rgba(14, 122, 95, 0.3); border-radius: 50%; }
.orbit-1 { width: 120%; height: 40%; top: -12%; right: -10%; }
.orbit-2 { width: 40%; height: 120%; bottom: -12%; left: -7%; }
.about-copy { }
.about-points { margin: 1.2rem 0 1.5rem; display: grid; gap: 0.7rem; }
.about-points li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--text); font-weight: 600; }
.about-points .mini-ico { color: var(--green); margin-top: 0.35rem; font-size: 1.05rem; }

/* ---------- features ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.6rem;
  position: relative; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card::before {
  content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px;
  background: var(--grad-gold); opacity: 0; transition: opacity 0.25s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  display: inline-flex; width: 62px; height: 62px; border-radius: 18px;
  background: var(--grad); color: var(--gold-soft); align-items: center; justify-content: center;
  font-size: 1.7rem; box-shadow: 0 10px 24px rgba(14, 122, 95, 0.3); margin-bottom: 1.1rem;
}
.feature-card h3 { font-size: 1.15rem; font-weight: 800; color: var(--green-deep); margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- courses ---------- */
.courses-section { background: #fff; }
.courses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.course-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; display: flex; flex-direction: column; gap: 0.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(14, 122, 95, 0.35); }
.course-top { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.course-icon {
  display: inline-flex; width: 54px; height: 54px; border-radius: 16px;
  background: var(--green-soft); color: var(--green); align-items: center; justify-content: center; font-size: 1.5rem;
}
.course-badge {
  padding: 0.28rem 0.9rem; border-radius: 999px; background: var(--grad-gold); color: #3a2c00;
  font-weight: 800; font-size: 0.72rem; box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}
.course-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--green-deep); }
.course-card > p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.course-meta { display: grid; gap: 0.45rem; margin-top: 0.3rem; }
.course-meta li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.course-meta .mini-ico { color: var(--green); }
.course-link { margin-top: 0.8rem; font-weight: 800; color: var(--green); display: inline-flex; align-items: center; gap: 0.5rem; }
.course-link:hover { color: var(--green-dark); }
.course-link:hover .btn-arrow { transform: translateX(-4px); }

/* ---------- steps ---------- */
.steps-section { background: linear-gradient(180deg, var(--green-soft), #fff); }
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 1rem; }
.step { text-align: center; padding: 1.5rem 1rem; position: relative; }
.step-num {
  position: absolute; top: 0; right: 50%; transform: translate(50%, -50%); width: 44px; height: 44px;
  background: var(--grad-gold); color: #3a2c00; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.1rem; box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45); border: 3px solid #fff;
}
.step-icon {
  display: inline-flex; width: 74px; height: 74px; margin-top: 1.6rem; border-radius: 22px;
  background: var(--grad); color: var(--gold-soft); align-items: center; justify-content: center;
  font-size: 2rem; box-shadow: var(--shadow-md);
}
.step h3 { font-size: 1.18rem; font-weight: 800; color: var(--green-deep); margin: 1rem 0 0.4rem; }
.step p { color: var(--muted); font-size: 0.95rem; max-width: 30ch; margin-inline: auto; }
.step-line { width: 90px; height: 2px; border-top: 3px dashed rgba(14, 122, 95, 0.4); }
.steps-cta { text-align: center; margin-top: 2.4rem; }

/* ---------- testimonials ---------- */
.testimonials-section { }
.t-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(360px, 86vw);
  gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.6rem 0.4rem 1.8rem;
  scrollbar-width: thin;
}
.t-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.8rem; scroll-snap-align: start; position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex; flex-direction: column;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.t-quote {
  position: absolute; top: 0.6rem; left: 1.2rem; font-family: var(--font-quran);
  font-size: 4rem; color: rgba(14, 122, 95, 0.12); line-height: 1;
}
.t-stars { display: inline-flex; gap: 0.2rem; color: var(--gold); }
.t-stars .star-off { color: #cfd6d2; }
.t-text { color: var(--muted); font-size: 0.98rem; margin: 0.9rem 0 1.2rem; flex: 1; }
.t-author { display: flex; align-items: center; gap: 0.8rem; }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.15rem;
  box-shadow: 0 6px 14px rgba(14, 122, 95, 0.3); flex-shrink: 0;
}
.t-author strong { display: block; color: var(--green-deep); line-height: 1.3; }
.t-author span { color: var(--muted); font-size: 0.82rem; }
.t-nav { display: flex; justify-content: center; gap: 0.8rem; margin-top: 1rem; }
.t-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border);
  background: #fff; color: var(--green); display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.1rem; box-shadow: var(--shadow-sm); transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.t-btn:hover { background: var(--grad); color: #fff; transform: translateY(-2px); }

/* ---------- cta ---------- */
.cta-section { background: #fff; }
.cta-banner {
  position: relative; overflow: hidden; background: var(--grad);
  border-radius: 34px; padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-pattern { position: absolute; inset: 0; background-image: url("../img/pattern.701ded4e9b27.svg"); background-size: 300px auto; opacity: 0.16; }
.cta-content { position: relative; z-index: 1; max-width: 700px; margin-inline: auto; color: #fff; }
.cta-content h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); font-weight: 900; line-height: 1.45; margin-bottom: 0.8rem; }
.cta-content p { opacity: 0.92; font-size: 1.05rem; margin-bottom: 1.6rem; }
.cta-content .btn-row { justify-content: center; }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative; padding: clamp(3rem, 6vw, 4.5rem) 0; overflow: hidden;
  background: var(--grad); color: #fff; text-align: center;
}
.page-hero-bg { position: absolute; inset: 0; opacity: 0.5; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 10%, rgba(246, 231, 180, 0.25), transparent 45%); }
.page-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.page-hero .section-badge { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2); }
.page-hero-inner h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 900; margin: 1.1rem 0 0.8rem; line-height: 1.4; }
.page-hero-inner p { font-size: 1.05rem; opacity: 0.92; }

.inner-section { background: #fff; }

/* ---------- split layout (forms pages) ---------- */
.split-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.split-grid--form-end { grid-template-columns: 0.8fr 1.5fr; }
.split-grid--form-start { grid-template-columns: 1.5fr 0.8fr; }
.split-side { position: sticky; top: 110px; }
.split-main { }

.perks-card, .info-card, .form-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: clamp(1.5rem, 3.5vw, 2.4rem);
}
.perks-list { display: grid; gap: 0.95rem; margin: 1.2rem 0 1.4rem; }
.perks-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; color: var(--text); }
.perks-list .mini-ico { color: var(--green); font-size: 1.1rem; border-radius: 50%; background: var(--green-soft); padding: 0.3rem; width: 1.8em; height: 1.8em; }
.perks-note {
  display: flex; align-items: flex-start; gap: 0.8rem; background: var(--gold-soft);
  border: 1px dashed var(--gold); border-radius: 16px; padding: 1rem 1.1rem; font-size: 0.9rem;
}
.perks-note .mini-ico { color: var(--gold-dark); font-size: 1.4rem; flex-shrink: 0; }
.perks-note p strong { color: #6b5300; display: block; }

.info-steps { display: grid; gap: 1rem; margin-top: 1.3rem; }
.info-steps li { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-step-num {
  width: 40px; height: 40px; border-radius: 14px; background: var(--grad); color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center; font-weight: 900; flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(14, 122, 95, 0.28);
}
.info-steps strong { color: var(--green-deep); font-size: 1rem; }
.info-steps p { color: var(--muted); font-size: 0.9rem; }

.form-card-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--border); }
.form-card-icon {
  width: 58px; height: 58px; flex-shrink: 0; border-radius: 18px; background: var(--grad);
  color: var(--gold-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem;
  box-shadow: 0 10px 22px rgba(14, 122, 95, 0.3);
}
.form-card-head h3 { font-size: 1.25rem; font-weight: 800; color: var(--green-deep); }
.form-card-head p { color: var(--muted); font-size: 0.9rem; }

/* ---------- forms ---------- */
.styled-form { display: grid; gap: 1.1rem; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 1.05rem; }
.form-grid-2 { grid-template-columns: 1fr 1fr; }
.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-weight: 700; font-size: 0.9rem; color: var(--green-deep); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border);
  border-radius: 12px; background: #fdfdf8; color: var(--text); font-family: inherit; font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 0; border-color: var(--green); background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 122, 95, 0.14);
}
.form-field select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230e7a5f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 1rem center; padding-inline-end: 1rem;
}
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field ::placeholder { color: #9aa7a1; }
.field-help { color: var(--muted); font-size: 0.78rem; }
.field-error { color: #c0392b; font-size: 0.8rem; font-weight: 700; }

.checkbox-field { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; position: relative; }
.checkbox-field input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkmark {
  width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--border);
  background: #fdfdf8; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: transparent; transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.checkmark .mini-ico { font-size: 0.85rem; }
.checkbox-field input:checked + .checkmark { background: var(--green); border-color: var(--green); color: #fff; }
.checkbox-field input:focus-visible + .checkmark { box-shadow: 0 0 0 4px rgba(14, 122, 95, 0.2); }
.checkbox-label { font-weight: 700; font-size: 0.92rem; color: var(--text); }

.form-alert { padding: 0.9rem 1.1rem; border-radius: 12px; font-weight: 700; font-size: 0.92rem; }
.form-alert-error { background: #fdecea; color: #a93226; border: 1px solid #f5c6c0; }
.form-alert--top { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.2rem; }
.form-alert--top .mini-ico { flex-shrink: 0; }

/* ---------- enhanced forms ---------- */
.form-progress { display: flex; align-items: center; gap: 0; margin: -0.3rem 0 1.35rem; }
.fp-step { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.fp-step i {
  width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #eef2ef; color: #8aa093; font-style: normal; font-weight: 800; font-size: 0.9rem;
  border: 1.5px solid var(--border); transition: all 0.3s ease;
}
.fp-step b { font-size: 0.85rem; font-weight: 700; white-space: nowrap; }
.fp-step--on { color: var(--green-dark); }
.fp-step--on i { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 6px 14px rgba(14, 122, 95, 0.3); }
.fp-line { flex: 1; height: 2px; min-width: 16px; margin: 0 0.7rem; border-radius: 2px; background: linear-gradient(90deg, var(--green) 40%, var(--border) 40%); }

.form-section {
  background: linear-gradient(180deg, #fbfdfb, #f6faf7);
  border: 1px solid rgba(14, 122, 95, 0.14);
  border-radius: 18px; padding: 1.3rem 1.35rem 1.5rem;
}
.form-section-head { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1.15rem; }
.form-section-num {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; background: var(--grad);
  color: var(--gold-soft); display: inline-flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.15rem; box-shadow: 0 8px 18px rgba(14, 122, 95, 0.26);
}
.form-section-head h4 { font-size: 1.05rem; font-weight: 800; color: var(--green-deep); }
.form-section-head p { font-size: 0.82rem; color: var(--muted); }

.input-wrap { position: relative; }
.input-ico {
  position: absolute; inset-inline-start: 0.85rem; top: 50%; transform: translateY(-50%);
  width: 1.15em; height: 1.15em; display: inline-flex; align-items: center; justify-content: center;
  color: #93a89f; pointer-events: none; font-size: 1.05rem; transition: color 0.2s ease;
}
.input-ico svg { width: 100%; height: 100%; }
.input-wrap:focus-within .input-ico { color: var(--green); }
.input-wrap input, .input-wrap select, .input-wrap textarea { padding-inline-start: 2.6rem; }
.input-wrap--area .input-ico { top: 1rem; transform: none; }

.field-error { display: flex; align-items: center; gap: 0.45rem; }
.field-error svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.checkbox-card {
  display: flex; align-items: center; gap: 0.7rem; cursor: pointer; position: relative;
  background: #fdfdf8; border: 1.5px solid var(--border); border-radius: 14px; padding: 0.95rem 1.05rem;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.checkbox-card:hover { border-color: rgba(14, 122, 95, 0.45); transform: translateY(-1px); }
.checkbox-card:has(input:checked) { border-color: var(--green); background: #edf8f2; }
.checkbox-card:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(14, 122, 95, 0.16); }
.checkbox-card input { position: absolute; opacity: 0; width: 0; height: 0; }

.btn-submit { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 0.6rem; }
.btn-submit > svg { width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn-spinner {
  display: none; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  border: 2.5px solid currentColor; border-top-color: transparent; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-submit.is-loading { pointer-events: none; opacity: 0.85; }
.btn-submit.is-loading > svg { display: none; }
.btn-submit.is-loading .btn-spinner { display: inline-block; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: var(--green-ink); color: #cfe6dc; overflow: hidden; }
.footer-pattern { position: absolute; inset: 0; background-image: url("../img/pattern.701ded4e9b27.svg"); background-size: 320px auto; opacity: 0.08; }
.site-footer .container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; }
.footer-logo { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-logo strong { display: block; color: #fff; font-size: 1.15rem; font-weight: 900; line-height: 1.4; }
.footer-logo span { display: block; color: #9fc3b6; font-size: 0.78rem; }
.footer-brand .brand-mark { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(246, 231, 180, 0.35); }
.footer-brand p { color: #a9c6bb; font-size: 0.92rem; margin-bottom: 1.2rem; max-width: 40ch; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18);
  color: #dff0e9; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--grad-gold); color: #3a2c00; transform: translateY(-3px); }
.footer-col h4 { color: var(--gold-soft); font-size: 1rem; font-weight: 800; margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col ul a { color: #c5dcd3; transition: color 0.2s ease, padding-inline-start 0.2s ease; }
.footer-col ul a:hover { color: #fff; padding-inline-start: 4px; }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; }
.footer-contact a { color: inherit; }
.footer-contact .mini-ico { color: var(--gold); flex-shrink: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 1.4rem 0 2rem; font-size: 0.85rem; color: #8fb2a4;
}
.footer-made {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid rgba(212, 175, 55, 0.5); border-radius: 999px;
  padding: 0.45rem 1.1rem; color: var(--gold-soft); font-weight: 700;
  font-size: 0.85rem; transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.footer-made .mini-ico { color: var(--gold); transition: color 0.25s ease; }
.footer-made:hover { background: var(--grad-gold); color: #3a2c00; border-color: var(--gold); transform: translateY(-2px); }
.footer-made:hover .mini-ico { color: #3a2c00; }

/* ---------- toasts / back-top ---------- */
.toasts { position: fixed; top: 20px; left: 20px; z-index: 120; display: grid; gap: 0.7rem; max-width: min(360px, 90vw); }
.toast {
  background: #fff; border-inline-start: 5px solid var(--green); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 0.9rem 1.1rem; font-weight: 700; font-size: 0.92rem; color: var(--text);
  animation: toastIn 0.4s ease both; display: flex; align-items: center; gap: 0.6rem;
}
.toast-error { border-color: #c0392b; }
.toast-warning { border-color: var(--gold); }
@keyframes toastIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }

.back-top {
  position: fixed; bottom: 26px; left: 26px; z-index: 90; width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top .mini-ico { font-size: 1.2rem; transform: rotate(180deg); }
.back-top:hover { transform: translateY(-4px); }

/* ---------- reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- about page extras ---------- */
.story-section { background: #fff; }
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.story-visual { display: flex; justify-content: center; }
.story-card {
  position: relative; width: min(360px, 82vw); padding: 3.2rem 2rem; text-align: center;
  background: var(--grad); border-radius: 200px 200px 24px 24px; box-shadow: var(--shadow-lg);
  overflow: hidden; color: #fff;
}
.story-card::before { content: ""; position: absolute; inset: 0; background-image: url("../img/pattern.701ded4e9b27.svg"); background-size: 200px auto; opacity: 0.22; }
.story-card .mini-ico { font-size: 3rem; color: var(--gold-soft); margin-bottom: 1rem; }
.story-card h3 { font-family: var(--font-quran); font-size: 2rem; margin-bottom: 0.7rem; position: relative; z-index: 1; }
.story-card p { font-size: 0.92rem; opacity: 0.9; position: relative; z-index: 1; }
.story-stamp {
  position: absolute; width: 64px; height: 64px; border: 2.5px solid var(--gold-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.9rem; font-weight: 900;
  color: var(--gold-soft); bottom: 18px; left: 18px; transform: rotate(-14deg); opacity: 0.9;
}
.mv-section { background: linear-gradient(180deg, #fff, var(--green-soft)); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv-card {
  display: flex; gap: 1.2rem; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.mv-card-gold { border-color: rgba(212, 175, 55, 0.4); }
.mv-icon {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: 18px; background: var(--grad);
  color: var(--gold-soft); display: inline-flex; align-items: center; justify-content: center; font-size: 1.7rem;
  box-shadow: 0 10px 22px rgba(14, 122, 95, 0.28);
}
.mv-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--green-deep); margin-bottom: 0.4rem; }
.mv-card p { color: var(--muted); font-size: 0.96rem; }

.values-section { background: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value-card {
  background: var(--green-soft); border: 1px solid rgba(14, 122, 95, 0.15); border-radius: var(--radius);
  padding: 1.8rem; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.value-card:hover { background: #fff; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-icon {
  width: 60px; height: 60px; margin-inline: auto; border-radius: 50%; background: #fff;
  color: var(--green); border: 1px solid rgba(14, 122, 95, 0.2); display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm);
}
.value-card h3 { color: var(--green-deep); font-size: 1.12rem; font-weight: 800; margin-bottom: 0.4rem; }
.value-card p { color: var(--muted); font-size: 0.93rem; }

.team-section { }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.team-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; text-align: center; transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 74px; height: 74px; margin-inline: auto; border-radius: 24px; background: var(--grad);
  color: var(--gold-soft); display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
  box-shadow: 0 12px 24px rgba(14, 122, 95, 0.3); margin-bottom: 1rem;
}
.team-card h3 { color: var(--green-deep); font-size: 1.05rem; font-weight: 800; }
.team-specialty { display: inline-block; margin-top: 0.3rem; color: var(--gold-dark); font-weight: 700; font-size: 0.85rem; background: var(--gold-soft); padding: 0.2rem 0.8rem; border-radius: 999px; }
.team-card p { color: var(--muted); font-size: 0.86rem; margin-top: 0.7rem; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { max-width: none; text-align: center; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .hero-verse { margin-inline: auto; max-width: 560px; }
  .split-grid { grid-template-columns: 1fr; }
  .split-side { position: static; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .features-grid, .courses-grid, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview-grid, .story-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .step-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  body.nav-open { overflow: hidden; }
  body.nav-open .nav-actions { opacity: 0; pointer-events: none; }
  .nav-wrap { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-desktop { display: none; }
  .nav-scrim {
    display: block; position: fixed; inset: 0; z-index: 85;
    background: rgba(3, 53, 41, 0.55); backdrop-filter: blur(3px);
    opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s ease;
  }
  body.nav-open .nav-scrim { opacity: 1; visibility: visible; }

  .nav-mobile {
    display: flex; position: fixed; top: 0; bottom: 0; right: 0; left: auto; width: min(340px, 86vw);
    background: #fff; z-index: 90; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0.2rem;
    padding: 1rem 1.1rem 1.6rem; overflow-y: auto;
    box-shadow: -18px 0 50px rgba(7, 63, 49, 0.3);
    transform: translateX(115%); transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  }
  body.nav-open .nav-mobile { transform: translateX(0); }

  .nav-drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.4rem 0.2rem 1rem; margin-bottom: 0.7rem; border-bottom: 1px solid var(--border); }
  .nav-drawer-top,
  .nav-mobile .nav-drawer-top { opacity: 1; transform: none; }
  .nav-drawer-brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
  .nav-drawer-brand strong { display: block; font-size: 0.95rem; font-weight: 900; color: var(--green-deep); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .nav-drawer-brand small { display: block; font-size: 0.7rem; color: var(--muted); }
  .nav-close {
    width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
    border: 1.5px solid var(--border); background: var(--cream); color: var(--green-deep);
    display: inline-flex; align-items: center; justify-content: center; padding: 10px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
  }
  .nav-close svg { width: 100%; height: 100%; }
  .nav-close:hover { background: #fdecea; border-color: #f5c6c0; color: #b03a2a; transform: rotate(90deg); }

  .nav-mobile > a {
    display: flex; align-items: center; gap: 0.7rem; text-align: start;
    padding: 0.85rem 1rem; border-radius: 14px; font-size: 1rem;
    opacity: 0; transform: translateX(24px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }
  body.nav-open .nav-mobile > a { opacity: 1; transform: translateX(0); }
  body.nav-open .nav-mobile > a:nth-of-type(1) { transition-delay: 0.05s; }
  body.nav-open .nav-mobile > a:nth-of-type(2) { transition-delay: 0.1s; }
  body.nav-open .nav-mobile > a:nth-of-type(3) { transition-delay: 0.15s; }
  body.nav-open .nav-mobile > a:nth-of-type(4) { transition-delay: 0.2s; }
  body.nav-open .nav-mobile > a:nth-of-type(5) { transition-delay: 0.25s; }
  .nav-mobile > a:hover { background: var(--green-soft); color: var(--green-dark); }
  .nav-mobile > a.active { background: var(--grad); color: #fff; box-shadow: 0 8px 18px rgba(14, 122, 95, 0.3); }
  .nav-mobile .nav-dash-link { margin-top: 0.4rem; }

  .nav-drawer-cta { display: grid; gap: 0.6rem; margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px dashed var(--border); }
  .nav-mobile .nav-drawer-cta .btn { justify-content: center; padding: 0.8rem; border-radius: 14px; font-size: 1rem; }
  .nav-drawer-cta .nav-drawer-wa {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.7rem; border-radius: 14px; border: 1.5px solid rgba(14, 122, 95, 0.25);
    color: var(--green-dark); font-weight: 800; font-size: 0.95rem; background: var(--green-soft);
    transition: all 0.2s ease;
  }
  .nav-drawer-cta .nav-drawer-wa:hover { background: var(--grad); color: #fff; border-color: transparent; }

  .hamburger { display: inline-flex; }
}

@media (max-width: 700px) {
  .topbar-social { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .stat-item:nth-child(2)::after { display: none; }
  .features-grid, .courses-grid, .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom { justify-content: center; text-align: center; }
  .float-chip-1 { right: 0; }
  .float-chip-2 { left: 0; }
  .mv-grid { grid-template-columns: 1fr; }
  .btn-nav-cta { display: none; }
  .toasts { left: 12px; right: 12px; }
  .back-top { left: 16px; bottom: 16px; }
}