/* =========================================================================
   الرُّقي للخدمات التعليمية — Public stylesheet (RTL)
   ========================================================================= */

:root {
  --navy: #1d4e79;
  --navy-600: #1a4569;
  --navy-700: #163a59;
  --navy-900: #0d2440;
  --navy-50: #eef4fa;
  --navy-100: #dbe7f3;
  --gold: #c6a052;
  --gold-600: #a9843d;
  --gold-100: #f8f1df;
  --gold-50: #fcf8ee;
  --wa: #25d366;
  --wa-700: #1aa851;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #1e293b;
  --text-light: #475569;
  --muted: #64748b;
  --border: #e2e8f0;
  --danger: #dc2626;
  --success: #16a34a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 36, 64, 0.06), 0 1px 3px rgba(13, 36, 64, 0.08);
  --shadow: 0 10px 30px -12px rgba(13, 36, 64, 0.22);
  --shadow-lg: 0 25px 60px -20px rgba(13, 36, 64, 0.35);
  --font: 'Cairo', system-ui, -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  --container: 1160px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-700); }
button { font-family: inherit; font-size: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 800; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 820px; }
.text-gold { color: var(--gold); }

.skip-link { position: absolute; top: -100px; right: 1rem; background: var(--navy); color: #fff; padding: .5rem 1rem; border-radius: 8px; z-index: 1000; }
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .7rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; line-height: 1.4; transition: all .2s ease; white-space: nowrap;
}
.btn svg { width: 1.2em; height: 1.2em; }
.btn--lg { padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn--sm { padding: .45rem 1rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--gold { background: linear-gradient(135deg, #d4b366, var(--gold) 55%, var(--gold-600)); color: var(--navy-900); box-shadow: 0 8px 20px -8px rgba(198, 160, 82, .7); }
.btn--gold:hover { color: var(--navy-900); transform: translateY(-1px); box-shadow: 0 12px 24px -8px rgba(198, 160, 82, .8); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy-50); }
.btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy-50); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -10px rgba(37, 211, 102, .8); }
.btn--wa:hover { background: var(--wa-700); color: #fff; transform: translateY(-1px); }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .9rem; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: #f3e4bd; font-weight: 700; font-size: .9rem; margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
}
.eyebrow svg { width: 1em; height: 1em; color: var(--gold); }
.eyebrow--dark { background: var(--gold-100); color: var(--gold-600); border-color: #efe1bb; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 2px var(--gold-100); }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.brand__sub { font-size: .62rem; letter-spacing: .12em; color: var(--gold-600); font-weight: 700; direction: ltr; text-align: right; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav__list { display: flex; align-items: center; gap: .25rem; }
.site-nav__list a {
  display: block; padding: .5rem .9rem; border-radius: 999px; font-weight: 700; color: var(--text-light); transition: all .2s;
}
.site-nav__list a:hover { color: var(--navy); background: var(--navy-50); }
.site-nav__list a[aria-current="page"] { color: var(--navy); background: var(--navy-50); }
.site-nav__actions { display: flex; gap: .5rem; }
.site-nav__actions .btn--outline-light { border-color: var(--navy); color: var(--navy); background: transparent; }
.site-nav__actions .btn--outline-light:hover { background: var(--navy-50); }
.site-nav__actions .btn { padding: .55rem 1.15rem; font-size: .95rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .brand__sub { display: none; }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; padding: 1rem 1rem 1.5rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s ease; max-height: calc(100vh - var(--header-h)); overflow: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__list a { padding: .8rem 1rem; border-radius: 10px; }
  .site-nav__actions { flex-direction: column; }
  .site-nav__actions .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% -10%, #2b6aa0 0%, transparent 60%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 55%, #27608f 100%);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 26px 26px; opacity: .5;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .8), transparent 80%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__glow--1 { width: 420px; height: 420px; background: var(--gold); top: -140px; left: -100px; opacity: .22; }
.hero__glow--2 { width: 520px; height: 520px; background: #3c86c4; bottom: -260px; right: 10%; opacity: .35; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero__lead { font-size: 1.1rem; color: rgba(255, 255, 255, .86); max-width: 58ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: rgba(255, 255, 255, .9); font-weight: 600; }
.hero__points li { display: flex; align-items: center; gap: .4rem; }
.hero__points svg { color: var(--gold); width: 1.1em; height: 1.1em; }

.hero__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 420px; }
.hero__ring {
  width: 340px; height: 340px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .25), rgba(255, 255, 255, .05) 60%);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, .06), 0 0 0 30px rgba(255, 255, 255, .03), var(--shadow-lg);
  animation: float 7s ease-in-out infinite;
}
.hero__ring img { width: 300px; height: 300px; border-radius: 50%; }
.hero__card {
  position: absolute; display: flex; align-items: center; gap: .7rem; padding: .7rem 1rem; border-radius: 14px;
  background: #fff; color: var(--text); box-shadow: var(--shadow-lg); min-width: 220px; animation: float 6s ease-in-out infinite;
}
.hero__card strong { display: block; font-size: .95rem; color: var(--navy-900); line-height: 1.3; }
.hero__card small { color: var(--muted); font-size: .8rem; }
.hero__card-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); }
.hero__card-icon--gold { background: var(--gold-100); color: var(--gold-600); }
.hero__card-icon--green { background: #dcfce7; color: var(--success); }
.hero__score { font-size: 1.55rem; font-weight: 900; color: var(--gold-600); line-height: 1; letter-spacing: -0.03em; min-width: 3.2rem; text-align: center; }
.hero__card--1 { top: 6%; right: -4%; animation-delay: -1s; }
.hero__card--2 { bottom: 10%; right: -2%; animation-delay: -3s; }
.hero__card--3 { bottom: 26%; left: -6%; animation-delay: -5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .hero__points { justify-content: center; }
  .hero__visual { min-height: 380px; margin-top: 1rem; }
  .hero__ring { width: 260px; height: 260px; }
  .hero__ring img { width: 230px; height: 230px; }
  .hero__card { min-width: 190px; padding: .55rem .8rem; }
  .hero__card--1 { right: 0; top: 0; }
  .hero__card--2 { right: 0; bottom: 4%; }
  .hero__card--3 { left: 0; bottom: 30%; }
}
@media (max-width: 520px) {
  .hero__actions .btn { width: 100%; }
  .hero__card { position: static; margin-top: .75rem; width: 100%; animation: none; }
  .hero__visual { flex-direction: column; min-height: 0; }
  .hero__ring { margin-bottom: .75rem; }
}

/* ---------- Highlights ---------- */
.highlights { margin-top: -2.5rem; position: relative; z-index: 2; }
.highlights__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.highlight {
  display: flex; align-items: center; gap: .9rem; background: #fff; padding: 1.1rem 1.25rem; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.highlight__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); flex-shrink: 0; }
.highlight strong { display: block; color: var(--navy-900); }
.highlight span:not(.highlight__icon) { color: var(--muted); font-size: .9rem; }
@media (max-width: 960px) { .highlights__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .highlights__grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.section--alt { background: linear-gradient(180deg, #fff 0%, var(--navy-50) 100%); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section__head p { color: var(--text-light); font-size: 1.05rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step__num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; font-weight: 900; font-size: 1.3rem;
  background: linear-gradient(135deg, var(--navy), #2b6aa0); color: #fff; margin-bottom: 1rem; box-shadow: var(--shadow);
}
.step p { color: var(--text-light); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Cards */
.cards { display: grid; gap: 1.25rem; }
.cards--5 { grid-template-columns: repeat(5, 1fr); }
.cards--curricula { grid-template-columns: repeat(4, 1fr); }
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.compare__card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.2rem; box-shadow: var(--shadow-sm); }
.compare__card h3 { font-size: 1.05rem; }
.compare__card p { margin: 0; color: var(--text-light); }
.curriculum-heading { margin: 2rem 0 .8rem; font-size: 1.25rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: 1rem; }
.card__icon svg { width: 1.6em; height: 1.6em; }
.card--stage h3 { font-size: 1.05rem; }
.card--stage p { color: var(--muted); font-size: .9rem; flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.card__tags li { font-size: .75rem; background: var(--gold-50); color: var(--gold-600); border: 1px solid #efe1bb; padding: .1rem .55rem; border-radius: 999px; font-weight: 700; }
.card__link { background: none; border: 0; padding: 0; color: var(--navy); font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; font-size: .92rem; }
.card__link svg { transition: transform .2s; }
.card__link:hover svg { transform: translateX(-4px); }
.card--value { text-align: center; align-items: center; }
.card--value .card__icon { background: var(--gold-100); color: var(--gold-600); }
.card--value p { color: var(--text-light); }
@media (max-width: 1100px) { .cards--5, .cards--curricula { grid-template-columns: repeat(3, 1fr); } .compare { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cards--5, .cards--3, .cards--curricula { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cards--5, .cards--3, .cards--curricula { grid-template-columns: 1fr; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--gold-100); color: var(--gold-600); margin-bottom: 1rem; }
.feature__icon svg { width: 1.6em; height: 1.6em; }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--text-light); margin: 0; font-size: .97rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Band */
.band { background: linear-gradient(135deg, var(--navy-900), var(--navy) 60%, #27608f); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; }
.band::before { content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .04); top: -300px; left: -200px; }
.band__inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: center; }
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.band__list { display: grid; gap: .75rem; }
.band__list li { display: flex; align-items: center; gap: .6rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); padding: .8rem 1rem; border-radius: 12px; font-weight: 600; }
.band__list svg { color: var(--gold); }
@media (max-width: 860px) { .band__inner { grid-template-columns: 1fr; } }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.chip {
  border: 1px solid var(--border); background: #fff; color: var(--navy-900); padding: .5rem 1.1rem; border-radius: 999px; font-weight: 700;
  transition: all .2s; box-shadow: var(--shadow-sm);
}
.chip:hover { border-color: var(--gold); background: var(--gold-50); color: var(--gold-600); transform: translateY(-2px); }
.chip--outline { background: transparent; border-style: dashed; color: var(--muted); }
.chips--lg .chip { padding: .65rem 1.3rem; font-size: 1.02rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 1.25rem; box-shadow: var(--shadow-sm); }
.faq__item summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 700; color: var(--navy-900); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 1.4rem; color: var(--gold-600); font-weight: 700; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--text-light); padding-bottom: 1rem; margin: 0; }

/* CTA */
.cta { padding: clamp(3rem, 6vw, 4.5rem) 0; background: linear-gradient(135deg, var(--gold-600), var(--gold) 50%, #dcc083); position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1px); background-size: 22px 22px; opacity: .6; pointer-events: none; }
.cta__inner { position: relative; z-index: 1; text-align: center; }
.cta h2 { color: var(--navy-900); }
.cta p { color: var(--navy-900); opacity: .85; font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.cta .btn--gold { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.cta .btn--gold:hover { background: var(--navy-700); }
.cta .btn--outline-light { border-color: var(--navy-900); color: var(--navy-900); }
.cta .btn--outline-light:hover { background: rgba(255, 255, 255, .25); }

/* Page hero */
.page-hero { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy) 60%, #27608f 100%); color: #fff; padding: clamp(3rem, 6vw, 5rem) 0; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 26px 26px; opacity: .5; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 64ch; margin: 0 auto 1rem; }
.page-hero .hero__actions { justify-content: center; margin-top: 1.5rem; margin-bottom: 0; }

/* Stage rows (services) */
.stage-list { display: grid; gap: 1rem; }
.stage-row {
  display: grid; grid-template-columns: 1.1fr 1.5fr auto; gap: 1.5rem; align-items: center; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-sm);
}
.stage-row__head { display: flex; align-items: center; gap: 1rem; }
.stage-row__head h3 { margin-bottom: .1rem; font-size: 1.1rem; }
.stage-row__head p { margin: 0; color: var(--muted); font-size: .9rem; }
.stage-row__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); flex-shrink: 0; }
.stage-row__icon svg { width: 1.6em; height: 1.6em; }
.stage-row__grades { display: flex; flex-wrap: wrap; gap: .4rem; }
.stage-row__grades li { font-size: .8rem; background: var(--navy-50); color: var(--navy); padding: .15rem .65rem; border-radius: 999px; font-weight: 700; }
.stage-row__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
@media (max-width: 960px) { .stage-row { grid-template-columns: 1fr; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split__content p { color: var(--text-light); }
.split__visual { display: grid; place-items: center; }
.split__visual--logo img { border-radius: 50%; box-shadow: var(--shadow-lg); }
.check-list { display: grid; gap: .6rem; margin-bottom: 1.5rem; }
.check-list li { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; color: var(--text); }
.check-list svg { color: var(--success); margin-top: .3em; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: 100%; max-width: 440px; }
.duo__card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1rem; text-align: center; box-shadow: var(--shadow); display: grid; justify-items: center; gap: .25rem; }
.duo__card--alt { transform: translateY(1.5rem); }
.duo__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: .5rem; }
.duo__card--alt .duo__icon { background: var(--gold-100); color: var(--gold-600); }
.duo__card small { color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__visual { order: -1; } }

/* Two col panels */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.panel h2, .panel h3 { font-size: 1.35rem; }
.panel--primary { background: linear-gradient(160deg, var(--navy-900), var(--navy)); color: #fff; border: 0; }
.panel--primary h2 { color: #fff; }
.panel__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: 1rem; }
.panel__icon--gold { background: var(--gold-100); color: var(--gold-600); }
.panel__icon svg { width: 1.6em; height: 1.6em; }
.num-list { padding-inline-start: 1.25rem; display: grid; gap: .75rem; margin: 0 0 1.5rem; color: rgba(255, 255, 255, .9); }
.num-list li::marker { color: var(--gold); font-weight: 800; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 340px 1fr; gap: 2rem; align-items: start; }
.contact-cards { display: grid; gap: .9rem; }
.contact-card {
  display: flex; align-items: center; gap: .9rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm); color: var(--text); transition: transform .2s, box-shadow .2s;
}
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--text); }
.contact-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); flex-shrink: 0; }
.contact-card--wa .contact-card__icon { background: #dcfce7; color: var(--wa-700); }
.contact-card strong { display: block; color: var(--navy-900); }
.contact-card span { display: block; color: var(--text-light); }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; }
.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* Not found */
.not-found { text-align: center; }
.not-found img { margin: 0 auto 1rem; border-radius: 50%; }
.not-found h1 { font-size: 5rem; color: var(--gold); line-height: 1; }
.not-found .cta__actions { margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .8); padding-top: 3.5rem; margin-top: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.site-footer__brand img { border-radius: 50%; margin-bottom: 1rem; box-shadow: 0 0 0 3px rgba(255, 255, 255, .08); }
.site-footer h3 { color: #fff; font-size: 1.2rem; }
.site-footer h4 { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.site-footer__brand p { font-size: .95rem; }
.site-footer__col ul { display: grid; gap: .5rem; }
.site-footer__col a { color: rgba(255, 255, 255, .8); transition: color .2s; }
.site-footer__col a:hover { color: var(--gold); }
.site-footer__contact li { display: flex; align-items: center; gap: .5rem; }
.site-footer__contact li a { display: inline-flex; align-items: center; gap: .5rem; }
.site-footer__contact svg { color: var(--gold); }
.site-footer__cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 1.1rem 0; font-size: .9rem; }
.site-footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__en { letter-spacing: .14em; font-size: .75rem; color: var(--gold); direction: ltr; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 1.25rem; left: 1.25rem; z-index: 90; display: inline-flex; align-items: center; gap: .5rem;
  background: var(--wa); color: #fff; padding: .7rem 1.1rem .7rem .9rem; border-radius: 999px; font-weight: 700; box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .9);
  transition: transform .2s, background .2s;
}
.wa-float svg { width: 1.6em; height: 1.6em; }
.wa-float:hover { background: var(--wa-700); color: #fff; transform: translateY(-2px); }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: .8rem; } }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(13, 36, 64, .6); backdrop-filter: blur(4px); animation: fadeIn .25s ease; }
.modal__dialog {
  position: relative; width: min(100% - 1.5rem, 820px); max-height: calc(100dvh - 2rem); overflow: auto; margin: 1rem auto;
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); padding: clamp(1.25rem, 3vw, 2.25rem); outline: none;
  animation: slideUp .3s cubic-bezier(.2, .8, .2, 1);
}
.modal__close {
  position: absolute; top: .9rem; left: .9rem; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  font-size: 1.6rem; line-height: 1; color: var(--muted); display: grid; place-items: center; transition: all .2s; z-index: 2;
}
.modal__close:hover { background: var(--navy-50); color: var(--navy); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } }
@media (max-width: 600px) {
  .modal__dialog { width: 100%; margin: 0; max-height: 100dvh; border-radius: 0; min-height: 100dvh; }
}

/* ---------- Request wizard (two independent flows) ---------- */
.rq { position: relative; }
.rq__bar { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem; margin-bottom: 1.25rem; padding-left: 2.75rem; min-height: 40px; }
.rq__bar-center { text-align: center; display: grid; line-height: 1.3; }
.rq__flow-title { font-size: .8rem; color: var(--gold-600); font-weight: 700; }
.rq__flow-title:empty { display: none; }
.rq__step-label { font-size: .9rem; font-weight: 700; color: var(--navy-900); }
.rq__progress { grid-column: 1 / -1; height: 6px; background: var(--border); border-radius: 999px; overflow: hidden; }
.rq__progress-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--navy)); border-radius: 999px; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.rq__back { background: none; border: 1px solid var(--border); border-radius: 999px; color: var(--text-light); font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .9rem .35rem .75rem; font-size: .88rem; transition: all .2s; justify-self: start; }
.rq__back svg { transform: rotate(180deg); width: 1em; height: 1em; }
.rq__back:hover { color: var(--navy); border-color: var(--navy); background: var(--navy-50); }
.rq__back[hidden] + .rq__bar-center { grid-column: 1 / 3; }
.rq[data-variant="inline"] .rq__bar { padding-left: 0; }

.rq__head { text-align: center; margin-bottom: 1.5rem; }
.rq__logo { margin: 0 auto .75rem; border-radius: 50%; box-shadow: 0 0 0 4px var(--gold-100); }
.rq__title { font-size: 1.5rem; margin-bottom: .35rem; }
.rq__subtitle { color: var(--text-light); margin: 0 auto; max-width: 56ch; }
.rq__time { text-align: center; color: var(--muted); font-size: .85rem; margin: 1.25rem 0 0; font-weight: 600; }

.rq__paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.rq-path {
  display: grid; gap: .35rem; text-align: right; background: #fff; border: 2px solid var(--border); border-radius: var(--radius); padding: 1.5rem 1.25rem;
  transition: all .2s; position: relative; overflow: hidden;
}
.rq-path:hover, .rq-path:focus-visible { border-color: var(--navy); box-shadow: var(--shadow); transform: translateY(-3px); outline: none; }
.rq-path--teacher:hover, .rq-path--teacher:focus-visible { border-color: var(--gold); }
.rq-path__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: .5rem; }
.rq-path__icon svg { width: 1.7em; height: 1.7em; }
.rq-path--teacher .rq-path__icon { background: var(--gold-100); color: var(--gold-600); }
.rq-path__title { font-weight: 800; font-size: 1.15rem; color: var(--navy-900); }
.rq-path__desc { color: var(--muted); font-size: .92rem; }
.rq-path__cta { margin-top: .5rem; color: var(--navy); font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; font-size: .92rem; }
.rq-path__cta svg { transform: rotate(0); }
.rq-path--teacher .rq-path__cta { color: var(--gold-600); }
@media (max-width: 560px) { .rq__paths { grid-template-columns: 1fr; } }

/* Steps */
.wz { min-height: 340px; }
.wz__alert { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: .75rem 1rem; margin-bottom: 1rem; font-weight: 600; }
.wz__step { animation: stepIn .32s cubic-bezier(.2, .8, .2, 1) both; }
.wz__step.is-enter-back { animation-name: stepInBack; }
.wz__step.is-shake { animation: shake .4s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.wz__q { font-size: clamp(1.25rem, 2.4vw, 1.6rem); text-align: center; margin-bottom: .25rem; }
.wz__q--sm { font-size: 1.05rem; margin: 1.25rem 0 .6rem; text-align: right; }
.wz__hint { text-align: center; color: var(--muted); margin: 0 0 1.25rem; font-size: .95rem; }
.wz__sub { margin-top: .5rem; animation: stepIn .3s ease both; }
.wz__sub .field__label { display: block; margin: .9rem 0 .4rem; }
.wz__sub input[type="text"] { width: 100%; padding: .75rem .9rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); min-height: 48px; }
.wz__sub input[type="text"]:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(29, 78, 121, .12); }
.wz__error { color: var(--danger); font-weight: 700; font-size: .9rem; text-align: center; margin: .75rem 0 0; display: none; }
.wz__error.is-visible { display: block; }
.wz__nav { display: flex; justify-content: center; margin-top: 1.25rem; }
.wz__nav .btn { min-width: 160px; }

/* Option cards */
.opts { display: grid; gap: .75rem; }
.opts--cards { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.opts--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; margin-inline: auto; }
.opts--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__body {
  position: relative; display: grid; justify-items: center; text-align: center; gap: .25rem; padding: 1.1rem .9rem; background: #fff; border: 2px solid var(--border);
  border-radius: var(--radius); transition: all .18s ease; min-height: 100%;
}
.opt__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--navy-50); color: var(--navy); margin-bottom: .25rem; transition: all .18s; }
.opt__icon svg { width: 1.5em; height: 1.5em; }
.opt__label, .opt__desc, .opt--chip .opt__body { unicode-bidi: isolate; }
.opt__label { font-weight: 800; color: var(--navy-900); font-size: 1rem; line-height: 1.3; }
.opt__desc { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.opt__check { position: absolute; top: .55rem; left: .55rem; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; opacity: 0; transform: scale(.5); transition: all .18s; }
.opt__check svg { width: .8em; height: .8em; }
.opt:hover .opt__body { border-color: #b9cde0; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.opt input:checked + .opt__body { border-color: var(--navy); background: var(--navy-50); box-shadow: 0 0 0 4px rgba(29, 78, 121, .1); }
.opt input:checked + .opt__body .opt__icon { background: var(--navy); color: #fff; }
.opt input:checked + .opt__body .opt__check { opacity: 1; transform: scale(1); }
.opt input:focus-visible + .opt__body { box-shadow: 0 0 0 4px rgba(29, 78, 121, .25); border-color: var(--navy); }

/* Chips */
.opts--chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.opt--chip .opt__body { padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; color: var(--text-light); border-width: 1.5px; min-height: 46px; display: inline-flex; align-items: center; }
.opt--chip:hover .opt__body { transform: none; border-color: var(--gold); color: var(--gold-600); background: var(--gold-50); }
.opt--chip input:checked + .opt__body { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }

/* Contact step */
.wz__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; margin-bottom: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { font-weight: 700; color: var(--navy-900); font-size: .95rem; padding: 0; }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left .9rem center; padding-left: 2.4rem; }
.field input:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(29, 78, 121, .12); }
.field.has-error input, .field.has-error select { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .82rem; margin: 0; display: none; font-weight: 600; }
.field.has-error .field__error { display: block; }
.field input::placeholder { color: #a0aec0; }
.field input[dir="ltr"] { text-align: right; }
.rq__consent { font-size: .85rem; color: var(--muted); text-align: center; margin-bottom: 1rem; }
.pledge { max-height: 240px; overflow: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.05rem; margin: 0 0 1rem; text-align: right; }
.pledge h3, .pledge h4 { margin: .85rem 0 .35rem; }
.pledge h3 { margin-top: 0; font-size: 1.05rem; }
.pledge h4 { font-size: .95rem; }
.pledge p, .pledge li { font-size: .88rem; line-height: 1.75; color: var(--text); }
.pledge ol { margin: 0; padding-inline-start: 1.15rem; }
.pledge li + li { margin-top: .55rem; }
.pledge__org, .pledge__sign { text-align: center; font-weight: 800; color: var(--navy); }
.pledge__agree { display: grid; grid-template-columns: auto 1fr; gap: .35rem .6rem; align-items: start; margin: .9rem 0 1rem; font-weight: 700; }
.pledge__agree input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; }
.pledge__agree .field__error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success */
.rq__success { text-align: center; max-width: 560px; margin: 0 auto; }
.rq__success-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1rem; background: #dcfce7; color: var(--success); animation: pop .4s cubic-bezier(.2, .8, .2, 1); }
.rq__success-icon svg { width: 2.4em; height: 2.4em; }
.rq__id { color: var(--navy); }
.rq__hint { font-size: .85rem; color: var(--muted); margin-top: .75rem; }
.rq__details { text-align: right; margin: 1rem 0; background: var(--bg); border-radius: var(--radius-sm); padding: .75rem 1rem; }
.rq__details summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.rq__message { white-space: pre-wrap; font-family: inherit; font-size: .9rem; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: .75rem; margin: .75rem 0 .5rem; color: var(--text); }
.rq__success .btn--outline { margin-top: .5rem; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

@media (max-width: 640px) {
  .wz__fields { grid-template-columns: 1fr; }
  .opts--cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opts--cols-3 .opt:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .opt__body { padding: .9rem .6rem; }
  .opt__icon { width: 42px; height: 42px; }
  .rq__bar { padding-left: 2.5rem; }
}

/* Footer social links */
.social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.social__link { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .12); transition: all .2s; }
.social__link svg { width: 1.3em; height: 1.3em; }
.social__link:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); transform: translateY(-2px); }
.social__link--fb:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.social__link--tt:hover, .social__link--x:hover { background: #111; color: #fff; border-color: #111; }
.social__link--ig:hover { background: #e1306c; color: #fff; border-color: #e1306c; }
.social__link--sc:hover { background: #fffc00; color: #111; border-color: #fffc00; }
.social__link--tg:hover { background: #229ed9; color: #fff; border-color: #229ed9; }
.social__link--wa:hover { background: var(--wa); color: #fff; border-color: var(--wa); }
.contact-card--fb .contact-card__icon { background: #e7f0fd; color: #1877f2; }
.contact-card--tt .contact-card__icon, .contact-card--x .contact-card__icon { background: #f2f2f2; color: #111; }
.contact-card--ig .contact-card__icon { background: #fde8ef; color: #e1306c; }
.contact-card--sc .contact-card__icon { background: #fff8c4; color: #111; }
.contact-card--tg .contact-card__icon { background: #e7f6fd; color: #229ed9; }

/* ---------- Results & reviews ---------- */
.section__head--sub { margin-top: 3.5rem; }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.result {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.35rem 1.25rem 1.15rem;
  box-shadow: var(--shadow-sm); display: grid; gap: .15rem; position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.result:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.result::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--navy)); }
.result__score { font-size: 2.4rem; font-weight: 900; line-height: 1.1; color: var(--navy); letter-spacing: -0.03em; }
.result h3 { font-size: 1.05rem; margin: .35rem 0 0; }
.result p { margin: 0; color: var(--text-light); font-weight: 600; font-size: .95rem; }
.result__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.result__meta li { font-size: .78rem; font-weight: 700; color: var(--gold-600); background: var(--gold-50); border: 1px solid #efe1bb; padding: .1rem .6rem; border-radius: 999px; }

.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.review {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem 1.35rem 1.2rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .75rem;
}
.review__stars { display: flex; gap: .15rem; color: var(--gold); }
.review__stars svg { width: 1.05rem; height: 1.05rem; }
.review blockquote { margin: 0; color: var(--text); font-weight: 600; line-height: 1.8; flex: 1; }
.review footer { display: flex; flex-direction: column; line-height: 1.35; padding-top: .75rem; border-top: 1px solid var(--border); }
.review footer strong { color: var(--navy-900); }
.review footer span { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .results { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .results, .reviews { grid-template-columns: 1fr; } }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
