:root {
  --ink: #10213c;
  --ink-2: #182e50;
  --ink-3: #294260;
  --cream: #f5f1e9;
  --paper: #fbfaf7;
  --white: #ffffff;
  --orange: #ef784b;
  --orange-dark: #d95d31;
  --teal: #5fc3ae;
  --blue-pale: #dce8f1;
  --line: rgba(16, 33, 60, .13);
  --muted: #667285;
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --shadow: 0 30px 80px rgba(16, 33, 60, .12);
  --radius: 22px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }

::selection { background: var(--orange); color: var(--white); }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--ink);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.topbar {
  position: relative;
  z-index: 51;
  color: #dce4ef;
  background: #0b192f;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar p { margin: 0; }
.topbar__meta { display: flex; align-items: center; gap: 28px; }
.topbar__meta span { display: flex; align-items: center; gap: 8px; }

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(95, 195, 174, .12);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(16, 33, 60, .06);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 50% 10px;
  color: var(--white);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.05em;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 15px; letter-spacing: .03em; }
.brand__text small { margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a:not(.button) { position: relative; padding: 8px 0; color: #43526a; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.main-nav > a:not(.button):hover::after,
.main-nav > a:not(.button).is-active::after { transform: scaleX(1); transform-origin: left; }

.language-link {
  min-height: 40px;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 8px 13px !important;
  border-radius: 11px;
  color: #172236 !important;
  background: #eceef2;
  direction: ltr;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1;
  white-space: nowrap;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}

.language-link::after { display: none !important; }
.language-link:hover { color: var(--ink) !important; background: #e1e4ea; transform: translateY(-1px); }
.language-link__icon { width: 19px; height: 19px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; }

.menu-toggle { display: none; }

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.button svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .menu-toggle:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(239, 120, 75, .35); outline-offset: 3px; }
.button--primary { color: var(--white); background: var(--orange); box-shadow: 0 14px 28px rgba(239, 120, 75, .25); }
.button--primary:hover { background: var(--orange-dark); box-shadow: 0 18px 34px rgba(239, 120, 75, .32); }
.button--ghost { color: var(--ink); border-color: rgba(16, 33, 60, .25); background: rgba(255, 255, 255, .42); }
.button--ghost:hover { border-color: var(--ink); background: var(--white); }
.button--small { min-height: 42px; padding-inline: 18px; border-radius: 9px; font-size: 13px; }
.button--nav { color: var(--white); background: var(--ink); box-shadow: 0 10px 22px rgba(16, 33, 60, .14); }
.button--nav:hover { background: var(--ink-2); }
.button--accent { color: var(--ink); background: var(--teal); }
.button--accent:hover { background: #73d0bd; box-shadow: 0 16px 30px rgba(95, 195, 174, .19); }

.hero {
  position: relative;
  min-height: calc(100vh - 114px);
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 12%, rgba(80, 128, 169, .2), transparent 28%),
    linear-gradient(135deg, #13233f 0%, #0e1c34 64%, #0b192f 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  right: -320px;
  bottom: -310px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, .018), 0 0 0 160px rgba(255, 255, 255, .014);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to right, black, transparent 73%);
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  align-items: center;
  gap: 64px;
  padding-block: 86px 112px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow > span { width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--teal); }

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(62px, 6.5vw, 96px);
  font-weight: 500;
  line-height: .87;
  letter-spacing: -.055em;
}

.hero h1 em { display: block; color: var(--orange); font-weight: 500; }
.hero__role { max-width: 640px; margin: 26px 0 18px; color: #d9e2ed; font-size: 17px; font-weight: 600; line-height: 1.5; }
.hero__lead { max-width: 620px; margin: 0; color: #aebcd0; font-size: 16px; line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .button--ghost { color: var(--white); border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); }
.hero .button--ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 610px;
  margin-top: 48px;
  padding-top: 23px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.hero__proof > div { padding: 0 20px; border-left: 1px solid rgba(255,255,255,.11); }
.hero__proof > div:first-child { padding-left: 0; border-left: 0; }
.hero__proof strong { display: block; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1; }
.hero__proof span { display: block; margin-top: 7px; color: #94a7bf; font-size: 11px; line-height: 1.35; }

.hero__visual { position: relative; min-height: 585px; }

.profile-card {
  position: absolute;
  top: 22px;
  right: 24px;
  width: min(100%, 405px);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px 80px 5px 5px;
  background: rgba(255,255,255,.075);
  box-shadow: 0 30px 80px rgba(0,0,0,.2);
  backdrop-filter: blur(16px);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 3px 70px 3px 3px;
}

.profile-card__head { display: flex; align-items: center; justify-content: flex-start; padding: 0 4px 16px; }
.profile-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(95,195,174,.32);
  border-radius: 999px;
  color: #dff8f1;
  background: rgba(95,195,174,.11);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
}
.profile-card__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(95,195,174,.12);
}

.profile-card__portrait {
  position: relative;
  height: 350px;
  display: grid;
  place-items: center;
  border-radius: 3px 64px 3px 3px;
  background:
    radial-gradient(circle at 50% 54%, rgba(255,255,255,.13), transparent 34%),
    linear-gradient(150deg, #28496d 0%, #1b3455 48%, #112642 100%);
  overflow: hidden;
}

.profile-card__portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 26px 26px;
}

.profile-card__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 54%, rgba(7, 18, 36, .38) 100%);
}

.profile-card__image {
  position: relative;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scale(1.05);
}

.profile-card__portrait > span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: #f5f1e9;
  font-family: var(--serif);
  font-size: 63px;
  font-weight: 500;
  letter-spacing: -.08em;
  background: rgba(16,33,60,.22);
  box-shadow: inset 0 0 0 14px rgba(255,255,255,.025), 0 25px 55px rgba(0,0,0,.16);
}

.portrait__orbit { position: absolute; border: 1px solid rgba(95,195,174,.24); border-radius: 50%; }
.orbit--one { width: 270px; height: 130px; transform: rotate(-24deg); }
.orbit--two { width: 130px; height: 270px; transform: rotate(46deg); }
.portrait__curve { position: absolute; inset: auto 0 0; width: 100%; fill: none; stroke: rgba(239,120,75,.7); stroke-width: 1.5; }
.portrait__curve circle { fill: var(--orange); stroke: none; }

.profile-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 4px 2px; }
.profile-card__footer > div:first-child { display: flex; flex-direction: column; }
.profile-card__footer small { color: #869bb5; font-size: 8px; letter-spacing: .16em; }
.profile-card__footer strong { margin-top: 2px; font-family: var(--serif); font-size: 20px; font-weight: 500; }

.formula { position: absolute; z-index: 3; color: rgba(255,255,255,.4); font-family: var(--serif); font-size: 15px; font-style: italic; }
.formula--one { top: 6px; left: 2px; transform: rotate(-7deg); }
.formula--two { right: -15px; bottom: 110px; transform: rotate(7deg); }

.subject-tag {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  color: #dde5ef;
  background: rgba(9, 25, 47, .82);
  box-shadow: 0 14px 30px rgba(0,0,0,.18);
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.subject-tag span { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 7px; color: var(--ink); background: var(--teal); font-family: var(--serif); font-size: 17px; }
.subject-tag--math { top: 150px; left: -18px; }
.subject-tag--physics { top: 240px; right: -25px; }
.subject-tag--physics span { background: var(--orange); }
.subject-tag--chemistry { top: 330px; left: -34px; }
.subject-tag--chemistry span { background: #d8b4a0; }
.subject-tag--orientation { top: 365px; right: -34px; }
.subject-tag--orientation span { background: #a7c8e4; }
.subject-tag--contest { right: 18px; bottom: 120px; }
.subject-tag--contest span { background: #f0ca6b; }

.hero__note {
  position: absolute;
  z-index: 4;
  left: 5px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 260px;
  padding: 16px;
  border-radius: 14px;
  color: var(--ink);
  background: var(--cream);
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}

.hero__note-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--orange); font-size: 14px; }
.hero__note p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.hero__note strong { color: var(--ink); font-size: 13px; }

.scroll-cue { position: absolute; z-index: 4; bottom: 20px; left: 50%; display: flex; align-items: center; gap: 11px; color: #8498b2; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue i { position: relative; width: 26px; height: 38px; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; }
.scroll-cue i::after { content: ""; position: absolute; top: 8px; left: 50%; width: 3px; height: 7px; border-radius: 5px; background: var(--orange); transform: translateX(-50%); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { transform: translate(-50%, 0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, 12px); opacity: 0; } }

.section { padding-block: 120px; }
.section-heading { margin-bottom: 58px; }
.section-heading h2, .values__intro h2, .contact__copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.section-heading h2 em, .values__intro h2 em, .contact__copy h2 em { color: var(--orange-dark); font-weight: 500; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .72fr); align-items: end; gap: 80px; }
.section-heading--split > p { margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.section-heading--center { max-width: 760px; margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center > p:last-child { max-width: 620px; margin: 22px auto 0; color: #aab8ca; }
.section-heading--left { max-width: 760px; margin-inline-end: auto; text-align: left; }
.section-heading--left .eyebrow { justify-content: flex-start; }
.section-heading--left h2 { text-align: left; }
.section-heading--left > p:last-child { max-width: 620px; margin: 22px 0 0; color: var(--muted); }

.intro { padding-bottom: 60px; background: var(--paper); }
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.journey-card, .method-card { border: 1px solid var(--line); border-radius: var(--radius); }
.journey-card { padding: 38px 42px 34px; background: var(--white); box-shadow: 0 24px 60px rgba(16,33,60,.06); }
.method-card { padding: 38px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.card-kicker { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }

.journey-list { margin: 27px 0 0; padding: 0; list-style: none; }
.journey-list li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.journey-list__index { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--orange-dark); font-family: var(--serif); font-size: 13px; }
.journey-list small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.journey-list strong { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; line-height: 1.2; }
.journey-list p { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.method-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.method-card .card-kicker { color: var(--teal); }
.method-card__symbol { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: var(--orange); font-family: var(--serif); font-size: 27px; }
.method-card h3 { margin: 30px 0 18px; font-family: var(--serif); font-size: 37px; font-weight: 500; line-height: 1.05; letter-spacing: -.03em; }
.method-card > p { margin: 0; color: #a9b6c9; font-size: 14px; }
.method-pillars { margin-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.method-pillars > div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.method-pillars span { color: var(--orange); font-family: var(--serif); }
.method-pillars p { margin: 0; color: #e5ebf2; font-size: 13px; }
.method-card blockquote { margin: 28px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--teal); color: #c8d3e0; font-family: var(--serif); font-size: 18px; font-style: italic; line-height: 1.45; }

.specialties { color: var(--white); background: #13233f; }
.specialties .section-heading h2 em { color: var(--orange); }
.specialties .section-heading--left > p:last-child { color: #aab8ca; }
.specialty-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.specialty-card { position: relative; grid-column: span 2; min-height: 330px; padding: 29px 28px 25px; border: 1px solid rgba(255,255,255,.11); border-radius: 17px; background: rgba(255,255,255,.035); overflow: hidden; transition: transform .3s ease, background .3s ease, border-color .3s ease; }
.specialty-card:hover { transform: translateY(-7px); border-color: rgba(95,195,174,.4); background: rgba(255,255,255,.065); }
.specialty-card--wide { grid-column: 2 / span 4; min-height: 250px; }
.specialty-card__icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; color: var(--ink); background: var(--teal); font-family: var(--serif); font-size: 28px; }
.specialty-card:nth-child(2) .specialty-card__icon,
.specialty-card:nth-child(5) .specialty-card__icon { background: var(--orange); }
.specialty-card__number { position: absolute; top: 30px; right: 28px; color: #647994; font-family: var(--serif); font-size: 14px; }
.specialty-card h3 { margin: 34px 0 12px; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.specialty-card p { margin: 0; color: #a7b6c8; font-size: 13px; line-height: 1.7; }
.specialty-card__line { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: linear-gradient(to right, var(--teal) 0 30%, transparent 30%); transition: background .3s ease; }
.specialty-card:hover .specialty-card__line { background: linear-gradient(to right, var(--orange) 0 70%, transparent 70%); }

.levels { background: var(--cream); }
.level-path { position: relative; max-width: 980px; margin: 0 auto; }
.level-path::before { content: ""; position: absolute; top: 0; bottom: 0; left: 32px; width: 1px; background: #c8c1b5; }
.level-card { position: relative; display: grid; grid-template-columns: 66px 1fr auto; align-items: center; gap: 28px; margin-bottom: 15px; padding: 28px 28px 28px 0; border: 1px solid rgba(16,33,60,.1); border-radius: 18px; background: rgba(255,255,255,.7); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.level-card:hover { transform: translateX(6px); background: var(--white); box-shadow: 0 16px 45px rgba(16,33,60,.07); }
.level-card__marker { position: relative; z-index: 2; width: 66px; display: grid; place-items: center; }
.level-card__marker span { width: 42px; height: 42px; display: grid; place-items: center; border: 6px solid var(--cream); border-radius: 50%; color: var(--white); background: var(--ink); font-family: var(--serif); font-size: 11px; box-shadow: 0 0 0 1px #c8c1b5; }
.level-card__stage { margin: 0 0 2px !important; color: var(--orange-dark) !important; font-size: 9px !important; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.level-card h3 { margin: 0; font-family: var(--serif); font-size: 26px; font-weight: 600; }
.level-card h3 sup { font-size: .5em; }
.level-card__content > p { max-width: 720px; margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.level-card__label { padding: 7px 12px; border: 1px solid var(--line); border-radius: 50px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.level-card--featured { align-items: start; padding-block: 34px; color: var(--white); background: var(--ink); }
.level-card--featured:hover { background: var(--ink-2); }
.level-card--featured .level-card__marker span { color: var(--ink); background: var(--orange); }
.level-card--featured .level-card__content > p { color: #aebace; }
.level-card--featured .level-card__label { color: var(--teal); border-color: rgba(95,195,174,.35); }
.track-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.track-list span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.11); border-radius: 7px; color: #c3cfdd; background: rgba(255,255,255,.04); font-size: 10px; }

.values { background: var(--paper); }
.values__layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.values__intro { position: sticky; top: 130px; }
.values__intro > p { margin: 24px 0 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.values__graphic { position: relative; height: 210px; margin-top: 42px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.values__graphic svg { position: absolute; inset: 16px 0 0 10px; overflow: visible; fill: none; stroke: var(--orange); stroke-width: 2; }
.values__graphic circle { fill: var(--paper); stroke: var(--orange); stroke-width: 2; }
.graphic-label { position: absolute; right: 6px; top: -2px; color: var(--orange-dark); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.value-list { border-top: 1px solid var(--line); }
.value-item { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 37px 8px; border-bottom: 1px solid var(--line); }
.value-item__number { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50% 50% 50% 12px; color: var(--orange-dark); background: #f0e9dd; font-family: var(--serif); font-size: 15px; }
.value-item h3 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 600; }
.value-item p { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.contact { position: relative; color: var(--white); background: #0d1b32; overflow: hidden; }
.contact__pattern { position: absolute; inset: 0; opacity: .34; background-image: radial-gradient(circle at 20% 30%, rgba(95,195,174,.16), transparent 28%), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: auto, 54px 54px, 54px 54px; }
.contact::after { content: ""; position: absolute; left: -240px; bottom: -370px; width: 720px; height: 720px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.016), 0 0 0 160px rgba(255,255,255,.012); }
.contact__layout { position: relative; z-index: 2; display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: 80px; }
.contact__copy h2 { max-width: 540px; font-size: clamp(46px, 5vw, 68px); }
.contact__copy h2 em { color: var(--orange); }
.contact__copy > p:not(.eyebrow) { max-width: 520px; margin: 25px 0 0; color: #a9b7c9; font-size: 15px; line-height: 1.75; }
.contact__benefits { display: grid; gap: 11px; margin: 30px 0 0; padding: 0; list-style: none; color: #d4ddea; font-size: 13px; }
.contact__benefits li { display: flex; align-items: center; gap: 11px; }
.contact__benefits span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--teal); font-size: 10px; font-weight: 700; }

.contact-form { padding: 34px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; color: var(--ink); background: var(--paper); box-shadow: 0 40px 100px rgba(0,0,0,.28); }
.contact-form__header { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.contact-form__header span { color: var(--orange-dark); font-size: 9px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.contact-form__header h3 { margin: 5px 0 0; font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.1; }
.contact-form__header .contact-form__step { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { color: var(--ink-3); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.field small { color: var(--muted); font-size: 9px; font-weight: 500; text-transform: none; }
.field--full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(16,33,60,.16); border-radius: 9px; color: var(--ink); background: var(--white); font-size: 13px; transition: border-color .2s ease, box-shadow .2s ease; }
.field input, .field select { height: 46px; padding: 0 13px; }
.field textarea { min-height: 78px; padding: 11px 13px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9ca6b3; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(239,120,75,.1); outline: none; }
.honeypot { position: absolute !important; left: -9999px !important; }
.contact-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 22px; }
.contact-form__footer > p { max-width: 245px; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.contact-form__footer .button { flex: 0 0 auto; min-height: 47px; }
.form-status { display: none; margin: 16px 0 0; padding: 10px 12px; border-radius: 8px; font-size: 12px; }
.form-status.is-visible { display: block; }
.form-status.is-success { color: #125748; background: #dff4ee; }
.form-status.is-error { color: #8a2e20; background: #fce7e2; }

.site-footer { color: #b5c1d1; background: #081427; }
.footer__main { display: grid; grid-template-columns: .8fr 1.2fr .8fr; align-items: center; gap: 60px; padding-block: 54px; }
.brand--footer .brand__mark { color: var(--ink); background: var(--teal); }
.brand--footer .brand__text strong { color: var(--white); }
.brand--footer .brand__text small { color: #8193ab; }
.footer__main > p { margin: 0; font-size: 12px; line-height: 1.7; }
.footer__main nav { display: flex; justify-content: flex-end; gap: 21px; }
.footer__main nav a { color: #d5deea; font-size: 12px; }
.footer__main nav a:hover { color: var(--teal); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 18px 25px; border-top: 1px solid rgba(255,255,255,.08); color: #71839b; font-size: 10px; }
.footer__bottom p { margin: 0; }
.footer__bottom a { display: flex; align-items: center; gap: 7px; }
.footer__bottom a span { color: var(--orange); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-nav { gap: 20px; }
  .hero__layout { grid-template-columns: 1fr .82fr; gap: 30px; }
  .hero__visual { transform: scale(.92); transform-origin: center right; }
  .profile-card { right: 0; }
  .story-grid { grid-template-columns: 1fr; }
  .contact__layout { gap: 48px; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__main nav { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 900px) {
  .topbar__meta span:last-child { display: none; }
  .menu-toggle { position: relative; z-index: 60; width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 78px 0 auto; display: grid; gap: 0; padding: 26px 24px 30px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: 0 24px 60px rgba(16,33,60,.14); transform: translateY(-135%); opacity: 0; pointer-events: none; transition: transform .28s ease, opacity .2s ease; }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav > a:not(.button) { padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .main-nav > .language-link { justify-self: start; margin-top: 10px; border-bottom: 0; }
  .main-nav .button { margin-top: 18px; }
  .hero { min-height: auto; }
  .hero__layout { grid-template-columns: 1fr; padding-top: 78px; }
  .hero__content { max-width: 720px; }
  .hero__visual { width: min(100%, 520px); min-height: 590px; margin: 0 auto; transform: none; }
  .section-heading--split { grid-template-columns: 1fr; gap: 26px; }
  .specialty-card { grid-column: span 3; }
  .specialty-card:last-child { grid-column: span 6; }
  .values__layout { grid-template-columns: 1fr; gap: 60px; }
  .values__intro { position: static; }
  .values__graphic { max-width: 560px; }
  .contact__layout { grid-template-columns: 1fr; }
  .contact__copy { max-width: 650px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .topbar__inner { justify-content: center; }
  .topbar__meta { display: none; }
  .header__inner { min-height: 70px; }
  .brand__mark { width: 42px; height: 42px; }
  .brand__text small { display: none; }
  .main-nav { inset: 70px 0 auto; }
  .hero__layout { padding-block: 66px 90px; }
  .hero h1 { font-size: clamp(54px, 17vw, 76px); }
  .hero__role { font-size: 15px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero__proof { gap: 10px; }
  .hero__proof > div { padding-inline: 10px; }
  .hero__proof span { font-size: 9px; }
  .hero__visual { min-height: 520px; }
  .profile-card { width: calc(100% - 24px); right: 12px; }
  .profile-card__portrait { height: 300px; }
  .subject-tag--math { left: -4px; }
  .subject-tag--physics { right: -4px; }
  .subject-tag--chemistry { top: 320px; left: -4px; }
  .subject-tag--orientation { top: 350px; right: -4px; }
  .subject-tag--contest { right: 18px; bottom: 110px; }
  .hero__note { bottom: 3px; left: 0; }
  .formula { display: none; }
  .section { padding-block: 85px; }
  .section-heading { margin-bottom: 42px; }
  .section-heading h2, .values__intro h2, .contact__copy h2 { font-size: 43px; }
  .journey-card, .method-card { padding: 28px 23px; }
  .journey-list li { grid-template-columns: 38px 1fr; gap: 14px; }
  .journey-list strong { font-size: 20px; }
  .method-card h3 { font-size: 32px; }
  .specialty-grid { grid-template-columns: 1fr; }
  .specialty-card, .specialty-card:last-child { grid-column: auto; min-height: 285px; }
  .level-path::before { left: 24px; }
  .level-card { grid-template-columns: 49px 1fr; gap: 14px; padding: 23px 18px 23px 0; }
  .level-card__marker { width: 49px; }
  .level-card__marker span { width: 36px; height: 36px; border-width: 5px; }
  .level-card__label { display: none; }
  .level-card h3 { font-size: 23px; }
  .value-item { grid-template-columns: 48px 1fr; gap: 15px; padding-block: 29px; }
  .value-item__number { width: 43px; height: 43px; }
  .contact-form { padding: 25px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .contact-form__footer { align-items: stretch; flex-direction: column; }
  .contact-form__footer > p { max-width: none; }
  .contact-form__footer .button { width: 100%; }
  .footer__main { grid-template-columns: 1fr; gap: 30px; }
  .footer__main nav { grid-column: auto; flex-wrap: wrap; }
  .footer__bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 420px) {
  .hero__proof { grid-template-columns: 1fr 1fr; }
  .hero__proof > div:nth-child(3) { display: none; }
  .profile-card__portrait { height: 265px; }
  .profile-card__portrait > span { width: 125px; height: 125px; font-size: 52px; }
  .subject-tag { font-size: 9px; }
  .subject-tag--physics { top: 215px; }
  .subject-tag--chemistry { top: 270px; }
  .subject-tag--orientation { top: 315px; }
  .subject-tag--contest { right: 10px; bottom: 95px; }
  .hero__note { width: 235px; }
}

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

/* Arabic / RTL presentation */
html[dir="rtl"] {
  --serif: "Noto Serif Arabic", "Times New Roman", serif;
  --sans: "Cairo", "Tahoma", sans-serif;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .topbar,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .main-nav,
html[dir="rtl"] .button,
html[dir="rtl"] .specialty-card__number,
html[dir="rtl"] .level-card__stage,
html[dir="rtl"] .level-card__label,
html[dir="rtl"] .card-kicker,
html[dir="rtl"] .contact-form__header > div > span,
html[dir="rtl"] .contact-form__step,
html[dir="rtl"] .field > span,
html[dir="rtl"] .scroll-cue {
  letter-spacing: 0;
}

html[dir="rtl"] .brand__text,
html[dir="rtl"] .hero__content,
html[dir="rtl"] .section-heading--split > p,
html[dir="rtl"] .journey-list,
html[dir="rtl"] .method-card,
html[dir="rtl"] .specialty-card,
html[dir="rtl"] .level-card,
html[dir="rtl"] .values__intro,
html[dir="rtl"] .value-item,
html[dir="rtl"] .contact__copy,
html[dir="rtl"] .contact-form,
html[dir="rtl"] .site-footer {
  text-align: right;
}

html[dir="rtl"] .hero__proof > div {
  padding-right: 20px;
  padding-left: 0;
  border-right: 1px solid rgba(255,255,255,.11);
  border-left: 0;
}

html[dir="rtl"] .hero__proof > div:first-child {
  padding-right: 0;
  border-right: 0;
}

html[dir="rtl"] .journey-list__index { font-family: var(--serif); }
html[dir="rtl"] .method-card blockquote { padding-right: 18px; padding-left: 0; border-right: 2px solid var(--teal); border-left: 0; }
html[dir="rtl"] .level-path::before { right: 32px; left: auto; }
html[dir="rtl"] .values__graphic { border-right: 1px solid var(--line); border-left: 0; }
html[dir="rtl"] .values__graphic svg { right: 10px; left: auto; }
html[dir="rtl"] .graphic-label { right: auto; left: 6px; }
html[dir="rtl"] .contact__benefits li { flex-direction: row; }
html[dir="rtl"] .language-link { color: #172236 !important; font-weight: 600 !important; }
html[dir="rtl"] .footer__main nav { justify-content: flex-start; }

@media (max-width: 680px) {
  html[dir="rtl"] .hero__proof > div { padding-right: 10px; }
  html[dir="rtl"] .hero__proof > div:first-child { padding-right: 0; }
  html[dir="rtl"] .level-path::before { right: 24px; left: auto; }
}

/* Contact page */
.contact-page-hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, #13233f 0%, #0b192f 100%);
  overflow: hidden;
}

.contact-page-hero::after {
  content: "";
  position: absolute;
  right: -240px;
  bottom: -390px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 160px rgba(255,255,255,.013);
}

.contact-page-hero__grid {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, black, transparent 80%);
}

.contact-page-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .75fr);
  align-items: center;
  gap: 86px;
  min-height: 690px;
  padding-block: 92px 110px;
}

.contact-page-hero__copy h1 {
  max-width: 620px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 7vw, 104px);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.06em;
}

.contact-page-hero__copy h1 em { display: block; color: var(--orange); font-weight: 500; }
.contact-page-hero__copy > p:not(.eyebrow) { max-width: 590px; margin: 26px 0 0; color: #b9c6d5; font-size: 17px; line-height: 1.75; }
.contact-page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button--whatsapp { color: #0b4037; border-color: rgba(95,195,174,.25); background: #d8f1e8; }
.button--whatsapp:hover { background: #bce8dc; box-shadow: 0 16px 30px rgba(95,195,174,.16); }
.whatsapp-mark { width: 24px; height: 24px; display: grid; place-items: center; line-height: 1; }
.whatsapp-mark svg { width: 24px; height: 24px; display: block; }
.contact-page-hero__sign { display: flex; align-items: center; gap: 12px; margin-top: 46px; color: #7f93ac; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.contact-page-hero__line { width: 38px; height: 1px; background: var(--orange); }

.contact-info-card {
  padding: 36px 34px 32px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 5px 54px 5px 5px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(0,0,0,.24);
}

.contact-info-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.contact-info-card__label { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-info-card__symbol { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--orange-dark); font-size: 20px; }
.contact-info-card h2 { margin: 28px 0 24px; font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -.04em; }
.contact-details { border-top: 1px solid var(--line); }
.contact-detail { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.contact-detail__icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--ink); background: #e5f2ee; font-size: 15px; }
.contact-detail small { display: block; margin-bottom: 2px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.contact-detail a, .contact-detail strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.3; }
.contact-detail a:hover { color: var(--orange-dark); }
.availability { margin-top: 24px; padding: 18px; border-radius: 12px; background: var(--cream); }
.availability__heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; color: var(--ink-3); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.availability__heading i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(95,195,174,.15); }
.availability__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 9px; color: var(--muted); font-size: 11px; }
.availability__row strong { color: var(--ink); font-size: 12px; }

.faq-section { background: var(--paper); }
.faq-list { max-width: 930px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 25px 5px; color: var(--ink); font-family: var(--serif); font-size: clamp(21px, 2.1vw, 28px); font-weight: 600; line-height: 1.25; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 33px; height: 33px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; transition: transform .25s ease, background .25s ease; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 1px; background: var(--orange-dark); transform: translate(-50%, -50%); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { background: #f0e9dd; transform: rotate(45deg); }
.faq-item p { max-width: 760px; margin: -5px 70px 25px 5px; color: var(--muted); font-size: 14px; line-height: 1.8; }

.contact-page-cta { color: var(--white); background: var(--ink); }
.contact-page-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 76px; }
.contact-page-cta h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 56px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.contact-page-cta h2 em { color: var(--orange); font-weight: 500; }
.contact-page-cta .eyebrow { margin-bottom: 15px; }

html[dir="rtl"] .contact-page-hero__grid { background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); mask-image: linear-gradient(to left, black, transparent 80%); }
html[dir="rtl"] .contact-page-hero::after { right: auto; left: -240px; }
html[dir="rtl"] .contact-page-hero__sign { letter-spacing: 0; }
html[dir="rtl"] .faq-item p { margin-right: 5px; margin-left: 70px; }

@media (max-width: 900px) {
  .contact-page-hero__layout { grid-template-columns: 1fr; gap: 48px; min-height: auto; padding-block: 78px 100px; }
  .contact-page-hero__copy { max-width: 680px; }
  .contact-info-card { width: min(100%, 560px); }
  .contact-page-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .contact-page-hero__layout { padding-block: 66px 92px; }
  .contact-page-hero__copy h1 { font-size: 58px; }
  .contact-page-hero__copy > p:not(.eyebrow) { font-size: 15px; }
  .contact-page-hero__actions { display: grid; grid-template-columns: 1fr; }
  .contact-page-hero__actions .button { width: 100%; }
  .contact-page-hero__sign { align-items: flex-start; font-size: 9px; line-height: 1.4; }
  .contact-info-card { padding: 28px 22px 24px; border-radius: 5px 34px 5px 5px; }
  .contact-info-card h2 { font-size: 35px; }
  .availability__row { align-items: flex-start; flex-direction: column; gap: 3px; }
  .faq-item summary { padding-block: 20px; font-size: 22px; }
  .faq-item p, html[dir="rtl"] .faq-item p { margin: -1px 5px 22px; font-size: 13px; }
  .contact-page-cta__inner { padding-block: 62px; }
  .contact-page-cta .button { width: 100%; }
}

/* Registration page */
.registration-hero {
  position: relative;
  color: var(--white);
  background: linear-gradient(135deg, #13233f 0%, #0b192f 100%);
  overflow: hidden;
}
.registration-hero::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -460px;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.018), 0 0 0 160px rgba(255,255,255,.013);
}
.registration-hero__grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, black, transparent 82%);
}
.registration-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 70px 86px;
}
.registration-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 96px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.06em;
}
.registration-hero h1 em { color: var(--orange); font-weight: 500; }
.registration-hero__inner > p:not(.eyebrow) { max-width: 680px; margin: 24px 0 0; color: #b9c6d5; font-size: 17px; line-height: 1.75; }
.registration-section { position: relative; padding-top: 0; background: var(--paper); }
.registration-layout { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr); align-items: start; gap: 54px; margin-top: -56px; padding-bottom: 110px; }
.registration-form { padding: 34px; border: 1px solid var(--line); border-radius: 5px 48px 5px 5px; color: var(--ink); background: var(--white); box-shadow: 0 30px 80px rgba(16,33,60,.12); }
.registration-form__header { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.registration-form__header > div > span { color: var(--orange-dark); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.registration-form__header h2 { margin: 5px 0 0; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1.1; letter-spacing: -.03em; }
.registration-form__step { color: var(--muted); font-size: 11px; }
.registration-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 25px; }
.registration-form__footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 23px; }
.registration-form__footer > p { max-width: 240px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.registration-form__submit { min-height: 51px; flex: 0 0 auto; color: #0b4037; font-weight: 700; }
.registration-form__submit:hover { color: #08352e; }
.registration-form .form-status { margin-top: 16px; }
.registration-contact-card { padding: 35px 32px 31px; border: 1px solid rgba(255,255,255,.12); border-radius: 48px 5px 5px 5px; color: #edf3f7; background: var(--ink); box-shadow: 0 30px 80px rgba(16,33,60,.2); }
.registration-contact-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.registration-contact-card .contact-info-card__label { color: var(--teal); }
.registration-contact-card .contact-info-card__symbol { border-color: rgba(255,255,255,.16); color: var(--teal); }
.registration-contact-card h2 { margin: 28px 0 27px; color: var(--white); font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.registration-contact-card__details { border-top: 1px solid rgba(255,255,255,.13); }
.registration-contact-card__detail { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: center; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.registration-contact-card__detail .contact-detail__icon { color: var(--ink); background: #d8f1e8; }
.registration-contact-card__detail small { display: block; margin-bottom: 2px; color: #9eafc1; font-size: 9px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.registration-contact-card__detail a { display: block; color: var(--white); font-family: var(--serif); font-size: 17px; font-weight: 600; line-height: 1.35; }
.registration-contact-card__detail a:hover { color: var(--teal); }
.registration-contact-card__divider { height: 1px; margin: 27px 0 0; background: rgba(255,255,255,.13); }
.availability--light { margin-top: 20px; color: #dce6ee; background: rgba(255,255,255,.08); }
.availability--light .availability__heading { color: #dce6ee; }
.availability--light .availability__row { color: #aebdca; }
.availability--light .availability__row strong { color: var(--white); }
.registration-contact-card__note { margin: 22px 0 0; color: #9eafc1; font-size: 12px; line-height: 1.6; }
html[dir="rtl"] .registration-hero__grid { mask-image: linear-gradient(to left, black, transparent 82%); }
html[dir="rtl"] .registration-hero::after { right: auto; left: -180px; }
html[dir="rtl"] .registration-form,
html[dir="rtl"] .registration-contact-card { text-align: right; }
html[dir="rtl"] .registration-form__header > div > span,
html[dir="rtl"] .registration-form__step { letter-spacing: 0; }

@media (max-width: 900px) {
  .registration-layout { grid-template-columns: 1fr; gap: 40px; margin-top: -44px; }
  .registration-form, .registration-contact-card { width: min(100%, 700px); }
  .registration-contact-card { justify-self: start; }
}

@media (max-width: 680px) {
  .registration-hero__inner { min-height: 350px; padding-block: 62px 78px; }
  .registration-hero h1 { font-size: 56px; }
  .registration-hero__inner > p:not(.eyebrow) { font-size: 15px; }
  .registration-layout { gap: 28px; margin-top: -32px; padding-bottom: 72px; }
  .registration-form { padding: 25px 20px; border-radius: 5px 32px 5px 5px; }
  .registration-form__header h2 { font-size: 28px; }
  .registration-form__grid { grid-template-columns: 1fr; }
  .registration-form__footer { align-items: stretch; flex-direction: column; }
  .registration-form__footer > p { max-width: none; }
  .registration-form__submit { width: 100%; }
  .registration-contact-card { padding: 28px 22px 24px; border-radius: 32px 5px 5px 5px; }
  .registration-contact-card h2 { font-size: 35px; }
  .registration-contact-card .availability__row { align-items: flex-start; flex-direction: column; gap: 3px; }
}

/* Footer columns */
.footer__main { grid-template-columns: minmax(270px, 1.35fr) minmax(145px, .8fr) minmax(145px, .8fr) minmax(220px, 1fr); align-items: start; gap: 42px; padding-block: 66px 58px; }
.footer-column { min-width: 0; }
.footer-column h2 { margin: 2px 0 20px; color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer-column--brand .brand { margin-bottom: 22px; }
.footer-column--brand .brand__mark { width: 48px; height: 48px; }
.footer__description { max-width: 300px; margin: 0; color: #9eafc1; font-size: 13px; line-height: 1.8; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: #b8c5d3; font-size: 13px; line-height: 1.45; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--teal); }
.footer__actions { display: flex; align-items: center; gap: 10px; margin-top: 25px; }
.footer-icon-button { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(95,195,174,.55); border-radius: 50%; color: var(--teal); background: rgba(95,195,174,.08); transition: transform .2s ease, background .2s ease, color .2s ease; }
.footer-icon-button:hover { color: var(--ink); background: var(--teal); transform: translateY(-2px); }
.footer-icon-button .whatsapp-mark { width: 24px; height: 24px; }
.footer-language { min-height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; color: #dce6ee; background: rgba(255,255,255,.06); direction: ltr; font-size: 12px; font-weight: 600; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.footer-language:hover { border-color: rgba(95,195,174,.6); background: rgba(95,195,174,.1); transform: translateY(-1px); }
.footer-language .language-link__icon { width: 18px; height: 18px; }
.footer-contact { display: grid; gap: 15px; margin: 0; font-style: normal; }
.footer-contact__item { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.footer-contact__item > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--ink); background: var(--teal); font-size: 13px; }
.footer-contact__item small { display: block; margin-bottom: 3px; color: #8193ab; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-contact__item a { color: #ecf2f7; font-size: 13px; line-height: 1.45; }
.footer-contact__item a:hover { color: var(--teal); }
.footer-hours { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-hours__title { display: block; margin-bottom: 10px; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer-hours p { display: flex; justify-content: space-between; gap: 14px; margin: 7px 0 0; color: #9eafc1; font-size: 11px; line-height: 1.45; }
.footer-hours strong { color: #dbe5ee; font-weight: 500; }
.footer__bottom { align-items: center; font-size: 11px; }
.footer-legal { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.footer-legal a { color: #b8c5d3; font-size: 11px; }
.footer-legal a:hover { color: var(--teal); }
.footer-legal span { color: #566a82; font-size: 10px; }
.brand__mark { width: 52px; height: 52px; color: transparent; background-color: var(--white); background-image: url('/assets/prof-bourkab-logo.png'); background-position: center; background-repeat: no-repeat; background-size: 112%; font-size: 0; }
.brand--footer .brand__mark, .footer-column--brand .brand__mark { width: 52px; height: 52px; color: transparent; background-color: var(--white); background-image: url('/assets/prof-bourkab-logo.png'); background-position: center; background-repeat: no-repeat; background-size: 112%; font-size: 0; }
html[dir="rtl"] .footer-column,
html[dir="rtl"] .footer__description,
html[dir="rtl"] .footer-contact,
html[dir="rtl"] .footer-hours { text-align: right; }
html[dir="rtl"] .footer-language { direction: ltr; }
html[dir="rtl"] .footer-contact__item { grid-template-columns: 1fr 28px; }
html[dir="rtl"] .footer-contact__item > span { grid-column: 2; grid-row: 1; }
html[dir="rtl"] .footer-contact__item > div { grid-column: 1; grid-row: 1; }
html[dir="rtl"] .footer-legal { justify-content: flex-start; }
@media (max-width: 1050px) {
  .footer__main { grid-template-columns: minmax(250px, 1.25fr) 1fr 1fr; }
  .footer-column--contact { grid-column: 1 / -1; max-width: 430px; }
  .footer-column--contact .footer-contact { grid-template-columns: 1fr 1fr; }
  .footer-column--contact .footer-hours { margin-top: 18px; }
}
@media (max-width: 680px) {
  .footer__main { grid-template-columns: 1fr; gap: 34px; padding-block: 48px 42px; }
  .footer-column--contact { grid-column: auto; max-width: none; }
  .footer-column--contact .footer-contact { grid-template-columns: 1fr; }
  .footer-hours p { justify-content: flex-start; flex-wrap: wrap; gap: 5px 16px; }
  .footer__bottom { align-items: flex-start; flex-direction: column; gap: 14px; }
  .footer-legal { justify-content: flex-start; flex-wrap: wrap; }
}

/* Legal pages */
.legal-hero { color: var(--white); background: linear-gradient(135deg, #13233f 0%, #0b192f 100%); }
.legal-hero .container { padding-block: 82px 88px; }
.legal-hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 6vw, 82px); font-weight: 500; line-height: .95; letter-spacing: -.05em; }
.legal-hero h1 em { color: var(--orange); font-weight: 500; }
.legal-hero p:not(.eyebrow) { max-width: 640px; margin: 22px 0 0; color: #b9c6d5; font-size: 16px; }
.legal-section { background: var(--paper); }
.legal-card { max-width: 850px; padding-block: 76px 110px; }
.legal-card h2 { margin: 0 0 12px; color: var(--ink); font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.15; }
.legal-card h2:not(:first-child) { margin-top: 42px; }
.legal-card p { max-width: 740px; margin: 0 0 12px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.legal-card a { color: var(--orange-dark); font-weight: 600; }
.legal-card a:hover { color: var(--ink); }
.legal-list { display: grid; gap: 8px; margin: 0 0 12px; padding: 0; color: var(--muted); font-size: 15px; line-height: 1.7; list-style: none; }
.legal-list strong { color: var(--ink); }
.legal-footer .footer__bottom { min-height: 88px; }
html[dir="rtl"] .legal-card { text-align: right; }
html[dir="rtl"] .legal-hero h1 { letter-spacing: 0; }
@media (max-width: 680px) {
  .legal-hero .container { padding-block: 62px 70px; }
  .legal-hero h1 { font-size: 42px; overflow-wrap: anywhere; }
  .legal-hero h1 em { overflow-wrap: anywhere; }
  .legal-card { padding-block: 54px 72px; }
  .legal-card h2 { font-size: 27px; }
  .legal-card p { font-size: 14px; }
}

/* Site-wide contact actions */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 10px 25px rgba(6, 55, 48, .25);
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}
.whatsapp-float__pulse { position: absolute; inset: 0; border-radius: 50%; background: #25d366; animation: whatsapp-ping 2s cubic-bezier(0, 0, .2, 1) infinite; opacity: .3; }
.whatsapp-float__icon { position: relative; z-index: 1; width: 28px; height: 28px; display: grid; place-items: center; }
.whatsapp-float__icon svg { width: 28px; height: 28px; display: block; }
.whatsapp-float__label { position: absolute; right: 64px; top: 50%; display: grid; gap: 2px; min-width: max-content; padding: 8px 16px; border: 1px solid rgba(207, 216, 226, .8); border-radius: 12px; color: var(--ink); background: #fff; box-shadow: 0 10px 25px rgba(16, 33, 60, .14); font-size: 13px; line-height: 1.35; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateY(-50%) translateX(5px); transition: opacity .2s ease, transform .2s ease; }
.whatsapp-float__label strong { font-size: 13px; font-weight: 700; }
.whatsapp-float__label small { color: #66758a; font-size: 11px; }
.whatsapp-float__arrow { position: absolute; right: 0; top: 50%; width: 12px; height: 12px; border-right: 1px solid rgba(207, 216, 226, .8); border-bottom: 1px solid rgba(207, 216, 226, .8); background: #fff; transform: translate(50%, -50%) rotate(-45deg); }
.whatsapp-float:hover, .whatsapp-float:focus-visible { color: #fff; background: #25d366; box-shadow: 0 14px 30px rgba(6, 55, 48, .3); transform: scale(1.1); }
.whatsapp-float:active { transform: scale(.95); }
.whatsapp-float:hover .whatsapp-float__label, .whatsapp-float:focus-visible .whatsapp-float__label { opacity: 1; transform: translateY(-50%) translateX(0); }
@keyframes whatsapp-ping { 75%, 100% { transform: scale(1.7); opacity: 0; } }
.footer-linkedin { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; color: #dce6ee; background: rgba(255,255,255,.06); transition: transform .2s ease, background .2s ease, color .2s ease; }
.footer-linkedin svg { width: 19px; height: 19px; fill: currentColor; }
.footer-linkedin:hover, .footer-linkedin:focus-visible { color: var(--ink); background: #fff; transform: translateY(-2px); }
.footer-linkedin--legal { margin-inline-start: 8px; vertical-align: middle; }

/* About page */
.about-hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, #13233f 0%, #0b192f 72%, #0d3e42 100%); }
.about-hero::after { content: ""; position: absolute; right: -180px; bottom: -360px; width: 650px; height: 650px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; box-shadow: 0 0 0 72px rgba(255,255,255,.02), 0 0 0 144px rgba(255,255,255,.018); }
.about-hero__grid { position: absolute; inset: 0; opacity: .23; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to right, black, transparent 80%); }
.about-hero__layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); align-items: center; gap: 70px; min-height: 520px; padding-block: 78px 96px; }
.about-hero h1 { max-width: 700px; margin: 0; font-family: var(--serif); font-size: clamp(54px, 7vw, 92px); font-weight: 500; line-height: .96; letter-spacing: -.055em; }
.about-hero h1 em { color: var(--orange); font-weight: 500; }
.about-hero__copy > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 0; color: #c1ceda; font-size: 17px; line-height: 1.8; }
.about-hero__photo { position: relative; justify-self: end; width: min(100%, 390px); aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(255,255,255,.22); border-radius: 6px 76px 6px 6px; background: #0b192f; box-shadow: 18px 24px 0 rgba(89,208,181,.18), 0 30px 70px rgba(0,0,0,.28); }
.about-hero__photo::after { content: ""; position: absolute; inset: 15px; border: 1px solid rgba(255,255,255,.25); border-radius: 3px 58px 3px 3px; pointer-events: none; }
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(.95) contrast(1.02); }
.about-hero__badge { position: absolute; right: 0; bottom: 36px; z-index: 2; box-sizing: border-box; max-width: calc(100% - 18px); padding: 10px 15px; color: #0a3e37; background: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .09em; line-height: 1.35; overflow-wrap: anywhere; text-transform: uppercase; }
.about-section { background: var(--paper); }
.about-intro { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 72px; align-items: start; padding-block: 86px 92px; }
.about-intro__label { color: var(--orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.about-intro h2 { margin: 9px 0 0; color: var(--ink); font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 600; line-height: 1.02; letter-spacing: -.04em; }
.about-intro h2 em { color: var(--orange-dark); font-weight: 600; }
.about-intro__text { color: var(--muted); font-size: 16px; line-height: 1.9; }
.about-intro__text p { margin: 0 0 15px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; border: 1px solid var(--line); background: var(--line); }
.about-stat { min-height: 112px; padding: 20px; background: var(--white); }
.about-stat strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.about-stat span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.about-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; padding-bottom: 100px; }
.about-detail-card { padding: 31px; border: 1px solid var(--line); border-radius: 5px 34px 5px 5px; background: var(--white); box-shadow: 0 18px 45px rgba(16,33,60,.06); }
.about-detail-card--dark { color: #edf3f7; border-color: transparent; background: var(--ink); }
.about-detail-card h3 { margin: 0 0 20px; color: inherit; font-family: var(--serif); font-size: 29px; font-weight: 600; line-height: 1.1; }
.about-detail-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.about-detail-card--dark p { color: #b8c6d4; }
.about-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.about-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 14px; line-height: 1.55; }
.about-detail-card--dark .about-list li { color: #dce6ee; }
.about-list li::before { content: "✓"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #073b31; background: var(--teal); font-size: 12px; font-weight: 700; }
.about-cta { color: var(--white); background: var(--ink); }
.about-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 54px; }
.about-cta h2 { max-width: 660px; margin: 0; font-family: var(--serif); font-size: clamp(31px, 4vw, 48px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; }
.about-cta h2 em { color: var(--teal); font-weight: 500; }
html[dir="rtl"] .about-hero__grid { mask-image: linear-gradient(to left, black, transparent 80%); }
html[dir="rtl"] .about-hero::after { right: auto; left: -180px; }
html[dir="rtl"] .about-hero__badge { right: auto; left: 0; letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .about-intro, html[dir="rtl"] .about-details { text-align: right; }
@media (max-width: 850px) {
  .about-hero__layout { grid-template-columns: 1fr; gap: 44px; }
  .about-hero__photo { justify-self: start; width: min(100%, 360px); }
  .about-intro { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 680px) {
  .whatsapp-float { right: 24px; bottom: 24px; width: 56px; height: 56px; }
  .whatsapp-float__label { display: none; }
  .about-hero__layout { min-height: 0; padding-block: 62px 80px; }
  .about-hero h1 { font-size: 54px; }
  .about-hero__copy > p:not(.eyebrow) { font-size: 15px; }
  .about-hero__photo { width: min(100%, 320px); border-radius: 5px 54px 5px 5px; }
  .about-hero__badge { right: 12px; bottom: 24px; max-width: calc(100% - 24px); padding: 9px 12px; font-size: 10px; letter-spacing: .06em; }
  html[dir="rtl"] .about-hero__badge { right: auto; left: 12px; letter-spacing: 0; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stat { min-height: 0; }
  .about-details { grid-template-columns: 1fr; padding-bottom: 72px; }
  .about-detail-card { padding: 25px 21px; }
  .about-cta__inner { align-items: flex-start; flex-direction: column; padding-block: 44px; }
  .about-cta__inner .button { width: 100%; }
}
html[dir="rtl"] .whatsapp-float__label { right: 64px; left: auto; }

/* Homepage brief sections */
.hero__social-proof { display: flex; align-items: center; gap: 13px; margin-top: 30px; color: #9eafc1; font-size: 11px; line-height: 1.35; }
.hero__avatars { display: flex; align-items: center; direction: ltr; }
.hero__avatars span { width: 28px; height: 28px; display: grid; place-items: center; margin-left: -7px; border: 2px solid var(--ink); border-radius: 50%; color: var(--ink); background: var(--teal); font-size: 10px; font-weight: 700; }
.hero__avatars span:first-child { margin-left: 0; background: #f4b184; }
.hero__avatars span:nth-child(3) { background: #e7e1cf; }
.hero__avatars span:nth-child(4) { background: #abc8db; }
.hero__stars { margin-bottom: 3px; color: var(--orange); font-size: 12px; letter-spacing: .12em; }
.learning-section { padding-top: 70px; background: #f7f3ec; }
.learning-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.learning-card { min-height: 220px; padding: 31px; border: 1px solid var(--line); border-radius: 5px 38px 5px 5px; background: var(--white); box-shadow: 0 18px 45px rgba(16,33,60,.05); }
.learning-card--accent { color: #eaf7f3; border-color: transparent; background: var(--ink); }
.learning-card__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 28px; border: 1px solid rgba(204,117,68,.28); border-radius: 12px; color: var(--orange-dark); font-size: 21px; }
.learning-card--accent .learning-card__icon { border-color: rgba(95,195,174,.3); color: var(--teal); }
.learning-card h3 { margin: 0 0 11px; color: var(--ink); font-family: var(--serif); font-size: 29px; font-weight: 600; line-height: 1.1; }
.learning-card--accent h3 { color: var(--white); }
.learning-card p { max-width: 430px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.learning-card--accent p { color: #b9c6d5; }
.join-section { background: var(--paper); }
.join-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 42px; align-items: start; }
.join-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin: 0; padding: 0; list-style: none; counter-reset: join; }
.join-list li { display: grid; grid-template-columns: 36px 1fr; gap: 13px; min-height: 82px; padding: 18px 0; border-top: 1px solid var(--line); }
.join-list li span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--teal); font-size: 10px; font-weight: 700; }
.join-list li p { margin: 2px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.diagnostic-card { padding: 33px 30px; border-radius: 5px 44px 5px 5px; color: #edf3f7; background: var(--ink); box-shadow: 0 25px 60px rgba(16,33,60,.16); }
.diagnostic-card .card-kicker { margin: 0 0 17px; color: var(--teal); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.diagnostic-card h3 { max-width: 360px; margin: 0; color: var(--white); font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.1; }
.diagnostic-card ul { display: grid; gap: 12px; margin: 25px 0 30px; padding: 20px 0 0; border-top: 1px solid rgba(255,255,255,.14); list-style: none; }
.diagnostic-card li { color: #c1ceda; font-size: 13px; }
.diagnostic-card li::before { content: "✓"; margin-inline-end: 9px; color: var(--teal); font-weight: 700; }
.why-section { background: #f7f3ec; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.why-card { min-height: 225px; padding: 25px 21px; border: 1px solid var(--line); border-radius: 5px 28px 5px 5px; background: var(--white); }
.why-card > span { display: block; margin-bottom: 32px; color: var(--orange-dark); font-size: 27px; line-height: 1; }
.why-card h3 { margin: 0 0 10px; color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.1; }
.why-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.frame-section { color: var(--white); background: var(--paper); }
.frame-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 50px; align-items: center; padding: 58px 60px; border-radius: 5px 58px 5px 5px; background: var(--ink); }
.frame-panel h2 { max-width: 560px; margin: 0; color: var(--white); font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.frame-panel > div:first-child > p:last-child { max-width: 560px; margin: 22px 0 0; color: #b9c6d5; font-size: 15px; line-height: 1.8; }
.frame-points { display: grid; gap: 1px; background: rgba(255,255,255,.12); }
.frame-points div { display: flex; align-items: center; gap: 15px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.frame-points div:last-child { border-bottom: 0; }
.frame-points strong { color: var(--teal); font-family: var(--serif); font-size: 20px; font-weight: 500; }
.frame-points span { color: #dce6ee; font-size: 13px; }
.resources { background: var(--paper); }
.resource-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.resource-card { min-height: 190px; padding: 21px 19px; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 4px 26px 4px 4px; background: var(--white); }
.resource-card--video { border-top-color: var(--teal); }
.resource-card__type { display: inline-block; margin-bottom: 25px; color: var(--orange-dark); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.resource-card--video .resource-card__type { color: #0a8470; }
.resource-card h3 { margin: 0 0 8px; color: var(--ink); font-family: var(--serif); font-size: 21px; font-weight: 600; line-height: 1.12; }
.resource-card p { margin: 0; color: var(--muted); font-size: 12px; }
.resource-card__link { display: block; margin-top: 26px; color: #8292a4; font-size: 11px; }
html[dir="rtl"] .hero__social-proof { flex-direction: row-reverse; }
html[dir="rtl"] .profile-card__badge { font-size: 11px; letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .hero__avatars span { margin-right: -7px; margin-left: 0; }
html[dir="rtl"] .hero__avatars span:first-child { margin-right: 0; }
html[dir="rtl"] .join-list, html[dir="rtl"] .learning-card, html[dir="rtl"] .why-card, html[dir="rtl"] .diagnostic-card, html[dir="rtl"] .frame-panel, html[dir="rtl"] .resource-card { text-align: right; }
html[dir="rtl"] .join-list li { grid-template-columns: 1fr 36px; }
html[dir="rtl"] .join-list li span { grid-column: 2; grid-row: 1; }
html[dir="rtl"] .join-list li p { grid-column: 1; grid-row: 1; }
@media (max-width: 1000px) {
  .why-grid, .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame-panel { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .learning-grid, .join-layout { grid-template-columns: 1fr; }
  .join-list { grid-template-columns: 1fr; }
  .diagnostic-card { width: min(100%, 520px); }
}
@media (max-width: 680px) {
  .intro { padding-bottom: 48px; }
  .learning-section { padding-top: 58px; }
  .hero__social-proof { align-items: flex-start; font-size: 10px; }
  .learning-card { min-height: 0; padding: 25px 21px; }
  .why-grid, .resource-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
  .frame-panel { padding: 38px 24px; border-radius: 5px 34px 5px 5px; }
  .resource-card { min-height: 0; }
}

/* Cahier des charges - homepage completion */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  margin: 0 0 20px;
  padding: 9px 14px;
  border: 1px solid rgba(95, 195, 174, .25);
  border-radius: 999px;
  color: #dff8f1;
  background: rgba(95, 195, 174, .1);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.availability-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(95, 195, 174, .12);
}
.hero__proof > div:nth-child(2) strong { font-size: clamp(14px, 1.25vw, 18px); letter-spacing: -.02em; }

.teacher-showcase {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(360px, 1.28fr);
  gap: 44px 54px;
  align-items: center;
  margin-top: 60px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 6px 48px 6px 6px;
  background: #f7f3ec;
}
.teacher-showcase__portrait {
  align-self: stretch;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border-radius: 4px 34px 4px 4px;
  background: #e8ecef;
}
.teacher-showcase__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.teacher-showcase__content h2 { margin: 0 0 17px; color: var(--ink); font-family: var(--serif); font-size: clamp(38px, 5vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.teacher-showcase__content > p:not(.eyebrow) { max-width: 690px; margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.teacher-credentials { display: grid; gap: 10px; margin: 0 0 27px; padding: 0; list-style: none; }
.teacher-credentials li { position: relative; padding-inline-start: 25px; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
.teacher-credentials li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--orange-dark); }
.teacher-showcase__stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.teacher-showcase__stats div { display: grid; gap: 5px; padding: 25px 20px 4px; border-inline-end: 1px solid var(--line); }
.teacher-showcase__stats div:last-child { border-inline-end: 0; }
.teacher-showcase__stats strong { color: var(--ink); font-family: var(--serif); font-size: clamp(22px, 3vw, 35px); font-weight: 600; }
.teacher-showcase__stats span { color: var(--muted); font-size: 11px; line-height: 1.4; }

.spec-gallery { overflow: hidden; }
.spec-gallery--intro { padding-top: 30px; background: #f7f3ec; }
.spec-gallery--experience { background: var(--paper); }
.spec-gallery__grid { display: grid; gap: 16px; }
.spec-gallery__grid--three { grid-template-columns: 1.25fr .75fr; }
.spec-gallery__grid--mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 170px; }
.spec-gallery__item { position: relative; min-height: 260px; margin: 0; overflow: hidden; border-radius: 4px 24px 4px 4px; background: #dfe5e9; }
.spec-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.spec-gallery__item:hover img { transform: scale(1.025); }
.spec-gallery__grid--three .spec-gallery__item--wide { grid-row: span 2; min-height: 536px; }
.spec-gallery__grid--mosaic .spec-gallery__item { grid-column: span 4; min-height: 0; }
.spec-gallery__grid--mosaic .spec-gallery__item--tall { grid-row: span 2; }
.spec-gallery__grid--mosaic .spec-gallery__item--wide { grid-column: span 8; }

.resource-library { display: grid; gap: 22px; }
.resource-level { display: grid; grid-template-columns: minmax(180px, .26fr) minmax(0, 1fr); gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 5px 30px 5px 5px; background: var(--white); }
.resource-level__header { display: flex; gap: 17px; align-items: flex-start; padding: 10px 8px; }
.resource-level__header > span { display: grid; place-items: center; flex: 0 0 39px; width: 39px; height: 39px; border-radius: 50%; color: var(--ink); background: var(--teal); font-size: 11px; font-weight: 700; }
.resource-level__header small { display: block; margin-bottom: 8px; color: var(--orange-dark); font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.resource-level__header h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.12; }
.resource-level__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.resource-level .resource-card { min-height: 168px; padding: 17px 15px; box-shadow: none; }
.resource-level .resource-card__type { margin-bottom: 18px; }
.resource-card h4 { margin: 0 0 7px; color: var(--ink); font-family: var(--serif); font-size: 18px; font-weight: 600; line-height: 1.15; }
.resource-level .resource-card__link { margin-top: 20px; }
.video-resources { margin-top: 58px; }
.video-resources__heading { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 22px; }
.video-resources__heading span { padding: 7px 10px; border-radius: 999px; color: var(--ink); background: var(--teal); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.video-resources__heading h3 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: clamp(25px, 3vw, 36px); font-weight: 600; }
.video-resources__heading > div { display: grid; gap: 6px; }
.video-resources__heading p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

.academic-cta { padding-top: 54px; padding-bottom: 54px; color: var(--white); background: var(--ink); }
.academic-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 45px; align-items: center; }
.academic-cta h2 { margin: 0; color: var(--white); font-family: var(--serif); font-size: clamp(36px, 5vw, 62px); font-weight: 500; line-height: 1.02; letter-spacing: -.04em; }
.academic-cta h2 em { color: var(--teal); font-style: italic; }
.academic-cta p:not(.eyebrow) { max-width: 710px; margin: 20px 0 0; color: #b9c6d5; font-size: 14px; line-height: 1.75; }
.academic-cta__actions { display: grid; gap: 12px; min-width: 220px; }
.button--ghost-light { justify-content: center; color: var(--white); border: 1px solid rgba(255, 255, 255, .28); background: transparent; }
.button--ghost-light:hover { color: var(--ink); background: var(--white); }

.faq-contact { display: flex; justify-content: space-between; gap: 28px; align-items: center; margin-top: 34px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 4px 28px 4px 4px; background: #f7f3ec; }
.faq-contact > div:first-child { display: grid; gap: 6px; }
.faq-contact strong { color: var(--ink); font-family: var(--serif); font-size: 23px; }
.faq-contact span { color: var(--muted); font-size: 12px; }
.faq-contact > div:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.button--outline { color: var(--ink); border: 1px solid var(--line); background: var(--white); }
.button--outline:hover { border-color: var(--ink); }

html[dir="rtl"] .availability-badge { letter-spacing: 0; text-transform: none; }
html[dir="rtl"] .teacher-showcase__content,
html[dir="rtl"] .teacher-showcase__stats,
html[dir="rtl"] .resource-level,
html[dir="rtl"] .video-resources__heading,
html[dir="rtl"] .academic-cta,
html[dir="rtl"] .faq-contact { text-align: right; }

@media (max-width: 1120px) {
  .resource-level { grid-template-columns: 1fr; }
  .resource-level__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-gallery__grid--mosaic { grid-auto-rows: 145px; }
}
@media (max-width: 860px) {
  .teacher-showcase { grid-template-columns: 1fr; }
  .teacher-showcase__portrait { min-height: 520px; }
  .academic-cta__inner { grid-template-columns: 1fr; }
  .academic-cta__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
  .faq-contact { align-items: flex-start; flex-direction: column; }
  .spec-gallery__grid--mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; }
  .spec-gallery__grid--mosaic .spec-gallery__item,
  .spec-gallery__grid--mosaic .spec-gallery__item--wide { grid-column: span 1; grid-row: span 1; }
}
@media (max-width: 680px) {
  .teacher-showcase { margin-top: 36px; padding: 17px; border-radius: 5px 28px 5px 5px; }
  .teacher-showcase__portrait { min-height: 380px; }
  .teacher-showcase__stats { grid-template-columns: 1fr; }
  .teacher-showcase__stats div { padding: 17px 4px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .teacher-showcase__stats div:last-child { border-bottom: 0; }
  .spec-gallery__grid--three,
  .spec-gallery__grid--mosaic { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .spec-gallery__item,
  .spec-gallery__grid--three .spec-gallery__item--wide,
  .spec-gallery__grid--mosaic .spec-gallery__item,
  .spec-gallery__grid--mosaic .spec-gallery__item--wide { grid-column: auto; grid-row: auto; min-height: 265px; }
  .resource-level { padding: 13px; }
  .resource-level__grid { grid-template-columns: 1fr; }
  .academic-cta__actions { grid-template-columns: 1fr; }
  .faq-contact > div:last-child { width: 100%; }
  .faq-contact .button { width: 100%; justify-content: center; }
}
