/* Professor Magic — site styles (laborya house look: dark brand header, round menu button, circle menu,
   footer band in the header colour, phone bottom bar, Control Z line). Brand: indigo + gold + ivory. */
:root {
  --indigo: #1C1747;
  --indigo-2: #2A2468;
  --indigo-deep: #120E33;
  --gold: #F0B648;
  --gold-2: #F8D488;
  --ivory: #F8F4EC;
  --paper: #FFFFFF;
  --ink: #17142F;
  --muted: #5E5A78;
  --line: rgba(28, 23, 71, .12);
  --line-w: rgba(255, 255, 255, .16);
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: 20px;
  --max: 1180px;
  --head-h: 68px;
  --ar: "Alexandria", system-ui, sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ar); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.en-word, .wm { font-family: var(--display); font-style: italic; font-weight: 700; letter-spacing: .01em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; top: -60px; left: 12px; z-index: 100; background: var(--gold); color: var(--indigo); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-gold { background: var(--gold); color: var(--indigo); box-shadow: 0 10px 30px -12px rgba(240, 182, 72, .7); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-w); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-ink { background: var(--indigo); color: #fff; }
.btn-ink:hover { background: var(--indigo-2); transform: translateY(-2px); }
.btn-line { border-color: var(--line); color: var(--indigo); background: #fff; }
.btn { max-width: 100%; }
.btn span { overflow: hidden; text-overflow: ellipsis; }
.btn-line:hover { border-color: var(--indigo); }

/* ---------- header (row keeps the English order in both languages, nothing moves on a language switch) ---------- */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--head-h); background: rgba(28, 23, 71, .0);
  color: #fff; transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-head.solid, body:not([data-page="home"]) .site-head { background: rgba(28, 23, 71, .94); box-shadow: 0 1px 0 var(--line-w); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); }
.head-row { direction: ltr; height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(240, 182, 72, .55); }
.brand .wm { font-size: 21px; color: #fff; line-height: 1; white-space: nowrap; }
.head-wa { display: none; }
.menu-btn {
  position: relative; z-index: 60; width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7);
  background: transparent; display: grid; place-items: center; transition: border-color .3s, background .3s;
}
.menu-btn:hover { background: rgba(255, 255, 255, .08); }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-btn i:nth-child(1) { transform: translateY(-5px); }
.menu-btn i:nth-child(3) { transform: translateY(5px); }
body.menu-open .menu-btn i:nth-child(1) { transform: rotate(45deg); }
body.menu-open .menu-btn i:nth-child(2) { opacity: 0; }
body.menu-open .menu-btn i:nth-child(3) { transform: rotate(-45deg); }
body.menu-open .menu-btn { border-color: var(--gold); }

/* ---------- full-screen menu, grows as a circle from the button ---------- */
.site-menu {
  position: fixed; inset: 0; z-index: 50; background: var(--indigo-deep); color: #fff; overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0px at var(--mx, calc(100% - 42px)) var(--my, 34px)); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s linear .7s;
}
body.menu-open .site-menu { clip-path: circle(150% at var(--mx, calc(100% - 42px)) var(--my, 34px)); visibility: visible; transition: clip-path .75s var(--ease), visibility 0s; }
body.menu-open { overflow: hidden; }
.sm-inner { min-height: 100%; padding: calc(var(--head-h) + 28px) var(--gutter) 40px; max-width: var(--max); margin: 0 auto; display: grid; gap: 34px; align-content: start; }
.sm-links { display: grid; gap: 4px; }
.sm-links a { font-size: clamp(30px, 8vw, 54px); font-weight: 700; line-height: 1.3; width: fit-content; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s var(--ease), color .2s; }
.sm-links a:hover, .sm-links a[aria-current="page"] { color: var(--gold); }
.sm-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; }
body.menu-open .sm-links a { opacity: 1; transform: none; }
body.menu-open .sm-links a:nth-child(2) { transition-delay: .05s; } body.menu-open .sm-links a:nth-child(3) { transition-delay: .1s; }
body.menu-open .sm-links a:nth-child(4) { transition-delay: .15s; } body.menu-open .sm-links a:nth-child(5) { transition-delay: .2s; }
body.menu-open .sm-links a:nth-child(6) { transition-delay: .25s; }
.sm-label { font-size: 13px; letter-spacing: .08em; color: rgba(255, 255, 255, .55); margin-bottom: 12px; }
.sm-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.sm-pills a { min-height: 40px; padding: 7px 16px; border: 1px solid var(--line-w); border-radius: 999px; font-size: 14px; transition: border-color .2s, background .2s; }
.sm-pills a:hover { border-color: var(--gold); background: rgba(240, 182, 72, .1); }
.sm-foot { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sm-lang { min-height: 50px; padding: 0 28px; border-radius: 999px; background: #fff; color: var(--indigo); font-weight: 700; display: inline-flex; align-items: center; }
.sm-lang:hover { background: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--indigo); color: #fff; isolation: isolate;
  padding: calc(var(--head-h) + 36px) 0 64px;
}
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1;
  background: radial-gradient(60% 55% at 78% 35%, rgba(240, 182, 72, .16), transparent 70%), radial-gradient(50% 50% at 10% 90%, rgba(120, 104, 255, .22), transparent 70%); }
.stars { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stars i { position: absolute; width: var(--s, 10px); height: var(--s, 10px); background: var(--gold); opacity: .0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle var(--d, 4s) ease-in-out var(--dl, 0s) infinite; }
.stars i.sw { background: #fff; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: var(--o, .9); transform: scale(1) rotate(45deg); } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-w); border-radius: 999px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.kicker b { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(240, 182, 72, .25); }
.hero h1 { margin-top: 18px; font-size: clamp(31px, 7.8vw, 68px); font-weight: 800; line-height: 1.18; }
.hero h1 .l1 { display: block; }
.hero h1 .l2 { display: block; color: var(--gold); }
.hero h1::after { content: ""; display: block; width: 0; height: 3px; margin-top: 18px; background: var(--gold); border-radius: 3px; transition: width .9s var(--ease) .9s; }
.hero h1.go::after { width: 72px; }
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--i) * 70ms + 120ms); }
.go .w > span { transform: none; }
.hero p.lead { margin-top: 20px; font-size: clamp(17px, 2.2vw, 20px); color: rgba(255, 255, 255, .82); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 30px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags svg { width: 18px; height: 18px; stroke: var(--gold); fill: none; stroke-width: 1.8; }

/* the professor, in his circle, with a turning ring */
.orb { position: relative; width: min(78vw, 400px); aspect-ratio: 1; margin: 0 auto; }
.orb .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed rgba(240, 182, 72, .55); animation: spin 38s linear infinite; }
.orb .ring2 { position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); }
.orb .ring::after { content: ""; position: absolute; top: 50%; left: -7px; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 18px 4px rgba(240, 182, 72, .7); }
.orb .face { position: absolute; inset: 15%; border-radius: 50%; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55), 0 0 0 10px rgba(255, 255, 255, .06); overflow: hidden; animation: float 6s ease-in-out infinite; }
.orb .face img { width: 100%; height: 100%; }
.orb .chip { position: absolute; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .96); color: var(--indigo); font-size: 13px; font-weight: 700; box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); white-space: nowrap; animation: float 7s ease-in-out infinite; direction: ltr; }
.orb .chip.c1 { top: 8%; left: -2%; animation-delay: -1s; }
.orb .chip.c2 { bottom: 14%; left: -6%; animation-delay: -3s; }
.orb .chip.c3 { top: 30%; right: -6%; animation-delay: -5s; background: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

/* ---------- marquee band ---------- */
.band { background: var(--gold); color: var(--indigo); overflow: hidden; padding: 16px 0; direction: ltr; }
.band-track > div { display: flex; }
.band-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.band-track span { display: inline-flex; align-items: center; gap: 22px; padding-inline-end: 22px; font-weight: 800; font-size: 19px; white-space: nowrap; }
.band-track span::after { content: ""; width: 12px; height: 12px; background: var(--indigo); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding: 80px 0; }
.sec.ivory { background: var(--ivory); }
.sec.dark { background: var(--indigo); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.sec-head { max-width: 680px; margin-bottom: 38px; }
.sec-head .eyebrow { font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px; }
.sec-head .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.sec.ivory .eyebrow, .sec:not(.dark) .eyebrow { color: #B7801C; }
.sec-head h2 { margin-top: 10px; font-size: clamp(28px, 5vw, 44px); font-weight: 800; }
.sec-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }
.sec.dark .sec-head p { color: rgba(255, 255, 255, .75); }

/* services grid */
.svc-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.svc {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; overflow: hidden;
}
.svc::before { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
html[dir="ltr"] .svc::before { transform-origin: left; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(28, 23, 71, .45); border-color: transparent; }
.svc:hover::before { transform: scaleX(1); }
.svc .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--indigo); display: grid; place-items: center; transition: background .3s; }
.svc .ic svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .ic { background: var(--gold); } .svc:hover .ic svg { stroke: var(--indigo); }
.svc h3 { font-size: 19px; font-weight: 700; color: var(--indigo); }
.svc p { font-size: 15px; color: var(--muted); line-height: 1.6; margin-top: 2px; }
.svc .go { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.svc .go svg { width: 18px; height: 18px; stroke: var(--indigo); fill: none; stroke-width: 2; }
html[dir="rtl"] .svc .go svg { transform: scaleX(-1); }
.svc:hover .go { background: var(--indigo); border-color: var(--indigo); } .svc:hover .go svg { stroke: #fff; }

/* why us */
.why-grid { display: grid; gap: 14px; }
.why { padding: 26px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid var(--line-w); transition: background .3s, transform .35s var(--ease); }
.why:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.why .n { font-family: var(--display); font-style: italic; font-size: 40px; color: var(--gold); line-height: 1; }
.why h3 { margin-top: 14px; font-size: 20px; }
.why p { margin-top: 8px; color: rgba(255, 255, 255, .75); font-size: 15.5px; line-height: 1.7; }

/* steps */
.steps { display: grid; gap: 14px; counter-reset: st; }
.step { position: relative; padding: 24px 24px 24px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--indigo); font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.step h3 { font-size: 19px; color: var(--indigo); }
.step p { margin-top: 6px; color: var(--muted); font-size: 15.5px; line-height: 1.7; }

/* universities */
.uni-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.uni { display: grid; gap: 6px; padding: 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, background .3s; }
.uni b { font-family: var(--display); font-style: italic; font-size: 30px; color: var(--indigo); line-height: 1.1; }
.uni span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.uni:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(28, 23, 71, .45); }
.uni.more { background: var(--indigo); border-color: var(--indigo); }
.uni.more b, .uni.more span { color: #fff; } .uni.more b { color: var(--gold); }

/* formats */
.formats { display: flex; flex-wrap: wrap; gap: 12px; direction: ltr; }
.fmt { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-weight: 700; color: var(--indigo); }
.fmt i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; letter-spacing: .02em; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(28, 23, 71, .3); box-shadow: 0 16px 40px -28px rgba(28, 23, 71, .5); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; font-size: 17px; color: var(--indigo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231C1747' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.faq .a { padding: 0 20px 20px; color: var(--muted); line-height: 1.8; }
.sec.dark .faq details { background: rgba(255, 255, 255, .05); border-color: var(--line-w); }
.sec.dark .faq summary { color: #fff; } .sec.dark .faq .a { color: rgba(255, 255, 255, .78); }

/* final call */
.cta-card { position: relative; overflow: hidden; border-radius: 30px; background: var(--indigo); color: #fff; padding: 48px 26px; text-align: center; isolation: isolate; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 80% at 50% 0%, rgba(240, 182, 72, .22), transparent 70%); }
.cta-card img { width: 86px; height: 86px; margin: 0 auto 18px; border-radius: 50%; box-shadow: 0 0 0 6px rgba(240, 182, 72, .25); }
.cta-card h2 { font-size: clamp(26px, 5vw, 42px); font-weight: 800; }
.cta-card p { margin: 12px auto 0; max-width: 560px; color: rgba(255, 255, 255, .8); }
.cta-card .btn { margin-top: 26px; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--indigo); color: #fff; padding: calc(var(--head-h) + 34px) 0 56px; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 70% at 85% 20%, rgba(240, 182, 72, .15), transparent 70%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .65); }
.crumbs a:hover { color: var(--gold); }
.crumbs li { list-style: none; display: inline-flex; gap: 6px; } .crumbs ol { display: contents; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; opacity: .5; }
.page-hero .ph-grid { display: grid; gap: 26px; align-items: center; margin-top: 22px; }
.page-hero .ph-ic { width: 76px; height: 76px; border-radius: 22px; background: var(--gold); display: grid; place-items: center; }
.page-hero .ph-ic svg { width: 38px; height: 38px; stroke: var(--indigo); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.page-hero .ph-code { font-family: var(--display); font-style: italic; font-weight: 700; font-size: 64px; line-height: 1; color: var(--gold); }
.page-hero h1 { font-size: clamp(30px, 6.4vw, 54px); font-weight: 800; line-height: 1.25; margin-top: 16px; }
.page-hero .lead { margin-top: 16px; font-size: 18px; color: rgba(255, 255, 255, .82); max-width: 720px; }
.page-hero .hero-cta { margin-top: 26px; }
.two { display: grid; gap: 26px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; font-weight: 500; }
.checks li svg { flex: none; width: 24px; height: 24px; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--gold); stroke: var(--indigo); fill: none; stroke-width: 3; }
.info-card { padding: 24px; border-radius: var(--radius); background: var(--indigo); color: #fff; }
.info-card + .info-card { margin-top: 14px; }
.info-card h3 { font-size: 18px; color: var(--gold); }
.info-card p { margin-top: 8px; color: rgba(255, 255, 255, .85); line-height: 1.8; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips span, .chips a { padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--indigo); font-size: 15px; }
.chips a:hover { border-color: var(--indigo); }
.prose { max-width: 780px; display: grid; gap: 18px; font-size: 17.5px; line-height: 1.95; }
.prose h2 { font-size: 24px; color: var(--indigo); margin-top: 10px; }
.note { margin-top: 26px; font-size: 14px; color: var(--muted); }
.related { display: grid; gap: 12px; }

/* ---------- footer band ---------- */
.site-foot { background: var(--indigo-deep); color: #fff; padding: 64px 0 calc(28px + 72px); position: relative; overflow: hidden; }
.foot-top { display: grid; gap: 34px; }
.foot-brand img { width: 64px; height: 64px; border-radius: 50%; }
.foot-brand p { margin-top: 14px; color: rgba(255, 255, 255, .7); max-width: 360px; font-size: 15.5px; }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.foot-cols h3 { font-size: 14px; color: var(--gold); letter-spacing: .05em; margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot-cols a { color: rgba(255, 255, 255, .82); } .foot-cols a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 20px; direction: ltr; }
.socials a { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.socials a:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.socials svg { width: 20px; height: 20px; fill: #fff; }
.giant { margin-top: 48px; font-family: var(--display); font-style: italic; font-weight: 700; font-size: min(11vw, 140px); line-height: 1.1; padding-bottom: .08em; font-weight: 900; color: var(--gold); background: linear-gradient(180deg, #FFE7A8, #F0B648 55%, #D9952A); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 6px 24px rgba(240, 182, 72, .25)); white-space: nowrap; direction: ltr; text-align: center; user-select: none; }
.foot-bottom { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-w); display: grid; gap: 12px; font-size: 13.5px; color: rgba(255, 255, 255, .7); }
.powered { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 14px; }
.powered img { width: 22px; height: 22px; border-radius: 50%; }
html[dir="rtl"] .powered { flex-direction: row-reverse; justify-content: flex-end; }

/* ---------- phone bottom bar ---------- */
.tabbar { position: fixed; z-index: 35; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 62px; border-radius: 22px; direction: ltr;
  background: rgba(18, 14, 51, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .55);
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding: 6px; border: 1px solid var(--line-w); }
.tabbar a { height: 100%; border-radius: 16px; display: grid; place-items: center; align-content: center; gap: 2px; color: rgba(255, 255, 255, .8); font-size: 11.5px; font-weight: 600; }
.tabbar a svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.tabbar a[aria-current="page"] { color: var(--gold); }
.tabbar a.wa { background: var(--gold); color: var(--indigo); }
.tabbar a.wa svg { fill: var(--indigo); stroke: none; }

/* ---------- reveal on scroll ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; } .rv-d2 { transition-delay: .16s; } .rv-d3 { transition-delay: .24s; }

/* ---------- larger screens ---------- */
@media (min-width: 700px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .uni-grid { grid-template-columns: repeat(4, 1fr); }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .related { grid-template-columns: repeat(3, 1fr); }
  .related .svc { grid-template-columns: auto 1fr; } .related .svc .go { display: none; }
  .cta-card { padding: 64px 40px; }
}
@media (min-width: 980px) {
  :root { --gutter: 32px; --head-h: 76px; }
  .head-wa { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: 14.5px; }
  .hero { padding-bottom: 90px; min-height: 92vh; display: flex; align-items: center; }
  .hero-grid { grid-template-columns: 1.4fr .8fr; gap: 56px; }
  .hero h1 { font-size: clamp(44px, 4.6vw, 64px); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .sec { padding: 110px 0; }
  .two { grid-template-columns: 1.25fr .75fr; align-items: start; }
  .page-hero .ph-grid { grid-template-columns: auto 1fr; }
  .foot-top { grid-template-columns: 1fr 1.6fr; }
  .tabbar { display: none; }
  .site-foot { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv, .w > span, .sm-links a { opacity: 1 !important; transform: none !important; }
  .hero h1::after { width: 72px; }
}

/* ===== 2026-11-22 redesign: green WhatsApp, social bottom bar, centred phone hero, tile services, social cards ===== */
:root { --wa: #1DA851; --wa-2: #25D366; --tg: #229ED9; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 12px 30px -12px rgba(29, 168, 81, .8); }
.btn-wa svg { fill: #fff; }
.btn-wa:hover { background: #17924A; transform: translateY(-2px); }
.head-wa.btn-wa { color: #fff; }

/* bottom bar: Instagram, TikTok, Telegram, WhatsApp */
.tabbar { grid-template-columns: repeat(4, 1fr); gap: 4px; height: 66px; }
.tabbar a { gap: 3px; font-size: 11px; }
.tabbar a .ti { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.tabbar a .ti svg { width: 18px; height: 18px; fill: #fff; stroke: none; }
.tabbar a.ig .ti { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.tabbar a.tt .ti { background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.tabbar a.tg .ti { background: var(--tg); }
.tabbar a.wa { background: var(--wa); color: #fff; }
.tabbar a.wa .ti { background: transparent; width: 26px; height: 26px; }
.tabbar a.wa .ti svg { width: 24px; height: 24px; }

/* phone hero: centred, the professor first */
@media (max-width: 979px) {
  .hero { padding-top: calc(var(--head-h) + 22px); padding-bottom: 54px; text-align: center; }
  .hero-grid { gap: 22px; }
  .hero-grid > .orb { order: -1; width: min(62vw, 250px); }
  .orb .chip { font-size: 11.5px; padding: 6px 11px; }
  .orb .chip.c1 { left: -14%; } .orb .chip.c2 { left: -16%; } .orb .chip.c3 { right: -16%; }
  .hero .kicker { margin-inline: auto; }
  .hero h1 { margin-top: 14px; }
  .hero h1::after { margin-inline: auto; }
  .hero p.lead { margin-inline: auto; }
  .hero-cta { justify-content: center; flex-direction: column; align-items: stretch; max-width: 420px; margin-inline: auto; }
  .hero-tags { justify-content: center; }
}

/* services as tiles (2 per row on phones) */
.svc-grid.tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.svc-grid.tiles .svc { grid-template-columns: 1fr; align-content: start; gap: 12px; padding: 18px 16px 20px; min-height: 186px; }
.svc-grid.tiles .svc .go { position: absolute; top: 16px; inset-inline-end: 14px; width: 32px; height: 32px; }
.svc-grid.tiles .svc h3 { font-size: 16.5px; line-height: 1.35; }
.svc-grid.tiles .svc p { font-size: 13.5px; }
.svc-grid.tiles .svc .ic { width: 50px; height: 50px; border-radius: 15px; }
@media (min-width: 700px) { .svc-grid.tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; } .svc-grid.tiles .svc { padding: 26px 24px; min-height: 210px; } .svc-grid.tiles .svc h3 { font-size: 19px; } .svc-grid.tiles .svc p { font-size: 15px; } }

/* social cards */
.soc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.soc { position: relative; overflow: hidden; display: grid; gap: 10px; padding: 20px 18px; border-radius: var(--radius); color: #fff; min-height: 150px; align-content: space-between; transition: transform .35s var(--ease), box-shadow .35s; }
.soc:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .45); }
.soc svg { width: 34px; height: 34px; fill: #fff; }
.soc b { font-size: 18px; } .soc span { font-size: 13.5px; opacity: .9; direction: ltr; text-align: start; }
html[dir="rtl"] .soc span { text-align: right; }
.soc.ig { background: radial-gradient(circle at 20% 120%, #fdf497 0%, #fd5949 40%, #d6249f 60%, #285AEB 100%); }
.soc.tt { background: #0b0b0f; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.soc.tt::after { content: ""; position: absolute; inset: auto -30px -30px auto; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(37, 244, 238, .35), transparent 60%); }
.soc.tt::before { content: ""; position: absolute; inset: -30px auto auto -30px; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle, rgba(254, 44, 85, .35), transparent 60%); }
.soc.tg { background: linear-gradient(135deg, #2AABEE, #1E88C9); }
.soc.wa { background: linear-gradient(135deg, #25D366, #128C4A); }
@media (min-width: 700px) { .soc-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } .soc { min-height: 180px; padding: 26px 22px; } }

/* universities as a moving strip */
.uni-strip { overflow: hidden; direction: ltr; margin-top: 8px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.uni-strip .track { display: flex; gap: 12px; width: max-content; animation: marquee 30s linear infinite; }
.uni-strip:hover .track { animation-play-state: paused; }
.uni-strip .uni { min-width: 200px; }
@media (min-width: 980px) {
  .tabbar { display: grid; left: 50%; right: auto; width: 420px; transform: translateX(-50%); bottom: 18px; }
  .site-foot { padding-bottom: 110px; }
}
/* compact phone sections */
.hero h1 .l1, .hero h1 .l2 { text-wrap: balance; }
.svc-grid.tiles .svc:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 0; }
.soc span { unicode-bidi: isolate; display: inline-block; }
@media (max-width: 699px) {
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .step::before { grid-row: span 2; margin: 0; width: 42px; height: 42px; font-size: 18px; }
  .step p { grid-column: 2; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .why { padding: 18px 16px; } .why .n { font-size: 30px; } .why h3 { font-size: 16.5px; margin-top: 10px; } .why p { font-size: 13.5px; line-height: 1.65; }
}

/* ===== 0% AI + free Turnitin check ===== */
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tb { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 8px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.tb.ai { background: var(--gold); color: var(--indigo); }
.tb.ai b { font-family: var(--display); font-style: italic; font-size: 18px; background: var(--indigo); color: var(--gold); border-radius: 999px; padding: 2px 9px; direction: ltr; }
.tb.tn { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid var(--line-w); }
.tb.tn svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--wa); stroke: #fff; fill: none; stroke-width: 3; }
@media (max-width: 979px) { .hero .trust { justify-content: center; } }
.promo { padding: 56px 0 0; }
.promo-card { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 24px; align-items: center; padding: 34px 24px; border-radius: 30px;
  background: linear-gradient(135deg, #120E33, #2A2468); color: #fff; box-shadow: 0 30px 70px -40px rgba(28, 23, 71, .8); }
.promo-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 15% 50%, rgba(240, 182, 72, .25), transparent 70%); }
.promo-big { display: flex; align-items: baseline; justify-content: center; gap: 6px; direction: ltr; line-height: .9; }
.promo-big b { font-family: var(--display); font-style: italic; font-size: clamp(96px, 26vw, 170px); color: var(--gold); text-shadow: 0 0 60px rgba(240, 182, 72, .35); }
.promo-big span { font-family: var(--display); font-style: italic; font-weight: 700; font-size: clamp(34px, 8vw, 56px); color: #fff; }
.promo-txt { text-align: center; }
.promo-txt h2 { font-size: clamp(26px, 5.4vw, 40px); font-weight: 800; margin-top: 12px; }
.promo-txt p { margin: 10px auto 0; color: rgba(255, 255, 255, .82); max-width: 560px; }
.promo-txt .hero-cta { justify-content: center; margin-top: 22px; }
.tn-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 999px; background: #fff; color: #111; font-weight: 800; font-size: 14px; direction: ltr; }
.tn-pill svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--wa); stroke: #fff; fill: none; stroke-width: 3; }
@media (min-width: 980px) {
  .promo { padding-top: 80px; }
  .promo-card { grid-template-columns: .8fr 1.2fr; padding: 48px 56px; gap: 40px; }
  .promo-txt { text-align: start; } .promo-txt p { margin-inline: 0; } .promo-txt .hero-cta { justify-content: flex-start; }
}
@media (max-width: 979px) { .promo-txt .hero-cta { flex-direction: column; align-items: stretch; } }
.band-track span { unicode-bidi: isolate; }
/* real product icons in the formats row */
.fmt img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.fmt { padding: 12px 22px 12px 14px; gap: 14px; box-shadow: 0 10px 26px -18px rgba(28, 23, 71, .35); }

/* ===== software we work with: real logos, name under ===== */
.sw-group + .sw-group { margin-top: 30px; }
.sw-group h3 { font-size: 15px; font-weight: 700; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.sw-group h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sw { margin: 0; display: grid; justify-items: center; align-content: start; gap: 10px; padding: 16px 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; text-align: center; transition: transform .3s var(--ease), box-shadow .3s; }
.sw:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(28, 23, 71, .45); }
.sw-logo { width: 64px; height: 64px; display: grid; place-items: center; }
.sw-logo img { width: 64px; height: 64px; object-fit: contain; }
.sw figcaption { font-size: 13px; font-weight: 700; color: var(--indigo); line-height: 1.35; direction: ltr; unicode-bidi: isolate; }
@media (min-width: 700px) { .sw-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
@media (min-width: 980px) { .sw-grid { grid-template-columns: repeat(6, 1fr); } .sw { padding: 20px 10px 16px; } .sw figcaption { font-size: 14px; } }
.sw-logo.dk { width: 64px; height: 64px; border-radius: 16px; background: var(--indigo); padding: 8px; } .sw-logo.dk img { width: 100%; height: 100%; }
/* wide wordmark logos fill the tile width; square icons stay 64 px tall */
.sw-logo { width: 100%; max-width: 150px; height: 64px; }
.sw-logo img { width: 100%; height: 100%; object-fit: contain; }
.sw-logo.dk { width: 64px; height: 64px; }
@media (max-width: 699px) { .sw-logo { height: 54px; } .sw-logo.dk { width: 54px; height: 54px; } }
/* fixed logo box: every logo is contained inside it, whatever its own size */
.sw-logo { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sw-logo img { display: block; width: 100%; height: 64px; max-height: 64px; object-fit: contain; }
.sw-logo.dk img { width: 48px; height: 48px; }
@media (max-width: 699px) { .sw-logo img { height: 54px; max-height: 54px; } .sw-logo.dk img { width: 40px; height: 40px; } }

/* university cards with the official logo, name under */
.uni.lg { justify-items: center; text-align: center; gap: 10px; padding: 18px 14px; align-content: start; }
.uni.lg .ulogo { width: 100%; height: 64px; display: flex; align-items: center; justify-content: center; }
.uni.lg .ulogo img { width: 100%; height: 64px; object-fit: contain; }
.uni.lg > span:last-child { font-size: 13.5px; font-weight: 600; color: var(--indigo); line-height: 1.45; }
.uni-strip .uni.lg { width: 190px; min-width: 190px; }

/* menu open: the round button (and the logo) stay above the menu so it can be closed again */
body.menu-open .site-head { z-index: 60; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
body.menu-open .head-wa { visibility: hidden; }

/* a short lightning strike behind the professor, every 10 seconds */
.orb .face { z-index: 2; }
.orb .chip { z-index: 3; }
.orb .glow { position: absolute; inset: -22%; border-radius: 50%; z-index: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(255, 238, 196, .55) 0%, rgba(240, 182, 72, .22) 35%, transparent 62%);
  animation: strike 10s linear -7s infinite; }
.orb .bolts { position: absolute; inset: -14%; z-index: 1; pointer-events: none; }
.bolt { position: absolute; width: 22%; height: auto; fill: #FFF1C9; opacity: 0;
  filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 14px #F0B648) drop-shadow(0 0 34px rgba(240, 182, 72, .9));
  animation: strike 10s linear -7s infinite; }
.bolt.b1 { top: 2%; right: 4%; transform: rotate(16deg); }
.bolt.b2 { bottom: 4%; left: 2%; transform: rotate(196deg); animation-delay: -6.9s; }
.bolt.b3 { top: 30%; left: -4%; width: 14%; transform: rotate(-24deg); animation-delay: -6.95s; }
@keyframes strike {
  0%, 88% { opacity: 0; }
  88.6% { opacity: 1; }
  89.3% { opacity: .15; }
  90% { opacity: 1; }
  92.5% { opacity: 0; }
  100% { opacity: 0; }
}

/* ===== 3D icons (Microsoft Fluent 3D) instead of line icons ===== */
.i3d { display: block; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(28, 23, 71, .22)); }
.svc .ic3 { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: linear-gradient(145deg, #F4F0FF, #FFF8EA); box-shadow: inset 0 0 0 1px rgba(28, 23, 71, .06); transition: transform .35s var(--ease); }
.svc .ic3 .i3d { width: 46px; height: 46px; }
.svc:hover .ic3 { transform: translateY(-3px) rotate(-4deg) scale(1.06); }
.svc-grid.tiles .svc .ic3 { width: 60px; height: 60px; }
.why .i3d { width: 58px; height: 58px; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .35)); }
.why h3 { margin-top: 12px; }
.step { position: relative; }
.step::before { display: none !important; content: none !important; }
.step .i3d { width: 58px; height: 58px; margin-bottom: 10px; }
.step .snum { position: absolute; top: 14px; inset-inline-end: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--indigo); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
@media (max-width: 699px) {
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .step .i3d { grid-row: span 2; margin: 0; width: 52px; height: 52px; }
  .step p { grid-column: 2; }
}
.page-hero .ph-ic.ph3 { width: 96px; height: 96px; border-radius: 26px; background: linear-gradient(145deg, #FFFFFF, #F4F0FF); }
.page-hero .ph-ic.ph3 .i3d { width: 72px; height: 72px; }
@media (min-width: 980px) { .svc-grid.tiles { grid-template-columns: repeat(5, 1fr); gap: 14px; } .svc-grid.tiles .svc { padding: 22px 18px; min-height: 200px; } .svc-grid.tiles .svc h3 { font-size: 17.5px; } .svc-grid.tiles .svc p { font-size: 14px; } }
